[BUG] Compiled function can't be used with sicpy ode.

Describe the bug
Functions compiled with cython 3.0.0 cannot be used with the fortran solvers from scipy through the ode interface.
It seems the fortran don't detect the right number of argument.
It used to work with cython 0.29.X.
Could be related to #1232.
Code to reproduce the behaviour:
%%cython

def f(t, x):
    return x

import scipy.integrate
ode = scipy.integrate.ode(f)
ode.set_integrator('lsoda')
ode.set_initial_value([1], 0)
ode.integrate(1)

Output (truncated):
TypeError: f() takes exactly 2 positional arguments (1 given)

Expected behaviour
I expected to be able to use compiled functions with ode.
OS
Linux
Python version
3.10.0
Cython version
3.0.0
Additional context
No response

I'd try setting the compiler detective @cython.binding(False). It'd still be worth investigating but that might be a workaround

Thank you, it worked.

Any idea why this happens? Numpy is seeing an opposite problem with bindings and this signature. It fails on 0.29.36 and works on 3.0.0:
def poisson(self, lam=1.0, size=None):
    ...

xref numpy/numpy#24429

Any idea why this happens?

I had a brief go at trying to debug it but didn't get to far. My suspicion is that it's an issue with how f2py wraps callables, but I think I'd need to compile everything with debug flags to find out. I think we've also seen similar issues with PyQt and signals/slots.

Numpy is seeing an opposite problem with bindings and this signature. It fails on 0.29.36 and works on 3.0.0:
def poisson(self, lam=1.0, size=None):
    ...

xref numpy/numpy#24429

I don't think that's directly related to this. One of the key advantages with the binding feature is it exposes things like __defaults__ for better introspection, so it completely makes sense that you'd get better signature information with it.
binding isn't a new Cython 3 feature - it's just on by default in Cython 3. So potentially you could turn it on universally and get better introspection with 0.29.x.

Maybe I should open a separate issue. The problem is that when we turned bindings on universally, the error in introspection appeared in 0.29.36


Does UAA support Graph endpoints (Microsoft Overage claims)

What version of UAA are you running?
Predix UAA (uses CloudFoundry UAA, not sure exact version, believe it's up to date.)
What did you do?
Setup Azure AD SAML as an IDP with our UAA. Setup group mappings so that seamless SSO capabilities would be enabled so that users can login and be auto mapped to UAA groups based on their AD groups.
What did you expect to see? What goal are you trying to achieve with the UAA?
Users should seamlessly be able to sign in via their Azure AD SSO credentials regardless of how many AD groups they're a part of. Users who are a part of 150 or less groups can sign in and be auto mapped just fine.
What did you see instead?
Users that are a part of 150+ AD groups have their group claim information passed in the SAML token as a "graph endpoint" or as microsoft likes to call this feature "overage claim". These users do not get auto mapped, a shadow user profile is generated but no groups are auto mapped based on the fact that Microsoft does this "overage claim" graph endpoint conversion when it notices a user has 150+ AD groups.
See Microsoft posts:
https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-saml-tokens
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-fed-group-claims
https://azure.microsoft.com/it-it/resources/samples/active-directory-dotnet-webapp-groupclaims/
I'd like to know if graph endpoints are supported in UAA and if so, what needs to be done to enable support? I have tried adding the graph attribute to the IDP's config external_groups but that did not make it work.

Our Predix UAA development team reviewed the issue internally as well. They noted UAA does not support graph endpoints as of yet. They don't have a timeline as to when they'll be able to implement the feature - I'm guessing they will wait till CloudFoundry UAA integrates it first.
Any updates on this on the Pivotal side? The Pivotal tracker shows the PM has reviewed the ticket but no update as to when this will be worked on. Update would be greatly appreciated - we are currently looking to use the 'AD roles' implementation method as a workaround and hoping that works.

Any updates to this?..

Hi, if you have a commercial support for your CF, please ask here.
This is the community UAA where we can have improvements (if you see a gap in UAA features) via PR but we cannot provide support really


allows use of minikube config for cpus/memory

Signed-off-by: Paul S. Schweigert<EMAIL_ADDRESS>Fixes #248
Release Note
Quickstart will use system values for `memory` and `cpus` if specified in `minikube config`. If not specified, will default to 3GB / 3 cpus

/assign @csantanapr

/lgtm

Can we make a new release that contains this feature?
I'm trying to write a GitHub Actions for knative quickstart to help people setup knative in GitHub Actions Runner. So that we can have e2e test based on that.

v1.4 is scheduled to be out on April 19

@psschwei
Could we cherry pick this to the branch release-1.3?
So there are binaries available, other alternative is just compile it from main branch in the GitHub action or compile your own and saved it some where it can be fetched

/cherry-pick release-1.3

The 1.3.2 release (with this change in it) should come out on Tuesday

Great thanks @psschwei


Prod build warnings  with clr 0.12.4

Select one ... (check one with "x")
[x ] bug
[ ] feature request
[ ] enhancement

Expected behavior
prod build without the following warnings
Actual behavior
upgraded to clr 0.12.4 via
npm install --save @clr/angular@latest
npm install --save @clr/ui@latest
npm install --save @clr/icons@latest
Then do a ng build --prod to check form any warnings, etc and the following show up. The app still seems to run fine but unsure about these. I cannot find any of the actual referenced files - gather they may be part of the build process?
WARNING in<EMAIL_ADDRESS>1107:471-494 "export 'ClrTextareaContainer' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>1108:98-121 "export 'ClrTextareaContainer' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>47:69-89 "export 'ClrTextareaModule' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>47:877-897 "export 'ClrTextareaModule' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>47:899-919 "export 'ClrTextareaModule' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>49:1252-1272 "export 'ClrTextareaModule' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>49:1274-1294 "export 'ClrTextareaModule' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>830:253-271 "export 'ClrControlError' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>831:88-106 "export 'ClrControlError' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>837:257-276 "export 'ClrControlHelper' (imported as 'i1') was not found in '@clr/angular'
WARNING in<EMAIL_ADDRESS>838:90-109 "export 'ClrControlHelper' (imported as 'i1') was not found in '@clr/angular'
WARNING in Invalid font values at 1766:1. Ignoring.
Reproduction of behavior
Per above
Environment details

Angular version: 6.0.3

Clarity version: 0.12.4

OS and version: Win10

Browser: [Edge]

Can you reproduce this and share a github repo with it? Doing a fresh install doesn't have this error from my testing, unless there is something special you are doing. I presume you are trying to use the new textarea right?

Hmm.. Tried various step backs in versions. The "ng build --prod" errors above do not happen for 0.12.0, but happen for 0.12.4 and 0.12.3-patch.2. Can try other versions possibly if it would help to nail down but pretty hammered just now. Will hold off until 0.13 I figure and try again unless a good reason to update.
Appreciate the work you are doing people... Awesome product..  ;o)
Happy to close for now - will soon become apparent if others getting this.

New things have been introduced since 0.12.0, notably the textarea component. If you are having an issue, then I need more details about how to reproduce it so I can verify if it is an issue with Clarity or something else. I would expect that you'd see the same issues in 0.13 so if you are able to describe or demonstrate what you've done to cause it then I can debug from there.

Yeah - I kind of figured I would really need to get a reproducible example.
I will try two approaches

create new app from the seed and test prod build
clone my app, upgrade, cut it back to bare basics and see whether it persists.
Not writing off that it may be my relative newby status regarding npm/node and Ng.
Will block some time out towards end of this week.
I am really wanting to use the new forms stuff - validation/helper/error stuff look nice.

@GaryHyland
Any update on this issue?

Unfortunately not yet. Had some brutal deadlines dropped on us that have had me working pretty hard. I will get to it but prob not this or next week at this stage.

I still believe this is an issue that occurred in 0.12.3 release and has been resolved. I'm going to close this issue unless details for a reproduction of the issue can be provided.

Can confirm that update to 1.1.0 has no such issue.


timeouts do not propagate ECONNRESET

All the timeout handing logic is overridden with custom errors, making it unwieldy to catch 408 / client timeouts for retries since the ECONNRESET code is not propagated.

Thank you for the report @Fishrock123! Could you elaborate a bit more on what you're seeing and perhaps what you'd prefer?

Ideally there would be a .statusCode attached to the error which would be 408.
Or really, any property so that this is not necessary:
typeof err.message === 'string' &&
          err.message.toLowerCase().includes('timeout')


Improve bug template

Try to add more info in the bug report (node ID, farm ID, twin ID for example)

New template:


DPS Meter is not calculating damage

it knows what server I'm on, but when I attack mobs it wont calculate my dps or anything.
just says total time: 00:00   total damage: 0
do I need to restart my computer after installing? or could it be that I'm missing something?

Ima Go ahead and close this one too. My problem was resolved with the new release. Ty


Chef-client failure after changing it to run as a timer service.

Cookbook version
chef-client v11.5.0
Chef-client version
Chef Client, v14.13.11
Platform Details
redhat 7.7
Related Issue
https://getchef.zendesk.com/agent/tickets/24636
Scenario:
In our cookback we added this additionally in the default attributes.
[be1677@dk1lxjump01 attributes]$ more default.rb
if node['platform'] == 'redhat'
default['chef_client']['systemd']['timer'] = true
default['chef_client']['systemd']['timeout'] = '600'
default['chef_client']['log_rotation']['postrotate'] = ''
default['db_sensu']['enabled_checks']['rhel_chef_timer'] = true ===> this is for monitoring purpose of new timer
override['db_sensu']['enabled_checks']['rhel_chef_process'] = false ==> this is to disable monitoring of chef process
end

Steps to Reproduce:
Run chef-client cookbook as a service and then switch to timer
Expected Result:
It should disable the service and start running as a timer.
Actual Result:
Errors out on first run after switching from daemon to timer however on subsequent runs it is running fine.
 Please upgrade your cookbook or remove the cookbook from your run_list.
 [<IP_ADDRESS>] Converging 10 resources
Recipe: chef-client::systemd_service
  * directory[/var/run/chef] action create (up to date)
  * directory[/var/cache/chef] action create (up to date)
  * directory[/var/lib/chef] action create
 [<IP_ADDRESS>]  (up to date)
  * directory[/var/log/chef] action create
 [<IP_ADDRESS>]  (up to date)
  * directory[/etc/chef] action create (up to date)
  * template[/etc/sysconfig/chef-client] action create
 [<IP_ADDRESS>]  (up to date)
  * directory[/etc/systemd/system] action create (up to date)
  * systemd_unit[chef-client.service] action create
 [<IP_ADDRESS>]
  Recipe: <Dynamically Defined Resource>
    * file[/etc/systemd/system/chef-client.service] action create
 [<IP_ADDRESS>]
      - update content in file /etc/systemd/system/chef-client.service from 985a55 to ad293b
      --- /etc/systemd/system/chef-client.service	2020-03-31 10:54:38.612849841 +0000
      +++ /etc/systemd/system/.chef-chef-client20200331-30674-1q6mt8n.service	2020-03-31 11:34:48.664615682 +0000
      @@ -3,12 +3,12 @@
       After = network.target auditd.service

       [Service]
      -Type = simple
      +Type = oneshot
       EnvironmentFile = /etc/sysconfig/chef-client
      -ExecStart = /opt/chef/bin/chef-client -c $CONFIG -i $INTERVAL -s $SPLAY $OPTIONS
      +ExecStart = /opt/chef/bin/chef-client -c $CONFIG $OPTIONS
       ExecReload = /bin/kill -HUP $MAINPID
       SuccessExitStatus = 3
      -Restart = always
      +TimeoutSec = 600

       [Install]
       WantedBy = multi-user.target
 [<IP_ADDRESS>]
      - restore selinux security context

 [<IP_ADDRESS>]     - creating unit: chef-client.service
Recipe: chef-client::systemd_service
  * systemd_unit[chef-client.timer] action create
 [<IP_ADDRESS>]
  Recipe: <Dynamically Defined Resource>
    * file[/etc/systemd/system/chef-client.timer] action create
 [<IP_ADDRESS>]
      - create new file /etc/systemd/system/chef-client.timer
      - update content in file /etc/systemd/system/chef-client.timer from none to 45e7e8
      --- /etc/systemd/system/chef-client.timer	2020-03-31 11:34:48.953619851 +0000
      +++ /etc/systemd/system/.chef-chef-client20200331-30674-1gjugmd.timer	2020-03-31 11:34:48.922619404 +0000
      @@ -1 +1,11 @@
      +[Unit]
      +Description = chef-client periodic run
      +
      +[Install]
      +WantedBy = timers.target
      +
      +[Timer]
      +OnBootSec = 1min
      +OnUnitInactiveSec = 1800sec
      +RandomizedDelaySec = 300sec
      - change mode from '' to '0644'
      - change owner from '' to 'root'
      - change group from '' to 'root'
 [<IP_ADDRESS>]
      - restore selinux security context

 [<IP_ADDRESS>]     - creating unit: chef-client.timer
Recipe: chef-client::systemd_service
  * systemd_unit[chef-client.timer] action enable
 [<IP_ADDRESS>]
    - enabling unit: chef-client.timer
  * systemd_unit[chef-client.timer] action start
 [<IP_ADDRESS>]
    - starting unit: chef-client.timer
  * service[chef-client] action disable
 [<IP_ADDRESS>]  (up to date)
  * service[chef-client] action stop
 [<IP_ADDRESS>]  (up to date)
 [<IP_ADDRESS>]
Running handlers:
Running handlers complete
Chef Infra Client finished, 6/15 resources updated in 05 seconds

Closing the issue since it is working fine with latest cookbook. ZD ticket has already updated with findings and marked as solved.


Add option --rm to fig run

Most of the time, I clean up containers create with fig run.

why --rm is not default? I find containers created by run useless, maybe it could be some 'no-rm' flag instead of --rm ?.


Mekanism v9 crash on construction

After compiling Mekanism myself I'm getting this bug...
http://codepad.org/gfx6m4xu

Is this in a development environment? Client or server?

Client, not dev env. I'm guessing if I'm using correct file (it was called toObf[LongNumberCode].jar)...

Likely an issue with your obfuscation then when compiling.  I'm testing a build of v9 in a vanilla MC environment and everything works fine.

Yes this is because the same crash happens in vanilla. Also a strange crash appears when LiteLoader is used...
http://codepad.org/ZOXjWpju


Upgrade to grpc-labview <IP_ADDRESS>

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
This PR upgrades grpc-labview to <IP_ADDRESS>. Most of the changes are just regenerating the code, so you can ignore those. There are a few changes to our infrastructure that are required for this upgrade.

Modify Register Configuration and Results.vi to supply the enum metadata to grpc-labview.
Modify Validate Metadata.vi to make sure the enum strings are valid. Enum strings cannot use a ";" or a "=". This is because of how grpc-labview does tokenization of enum metadata. This isn't ideal, but also doesn't seem like too big of a restriction.

I wrote some tests for this change. We haven't written any tests for the Measurement Plugin Service class yet, but I followed the new organization paradigm that @jasonmreding established. I also created a fake measurement plugin that we can use to inject plugin VIs for writing more tests in the future.
There are other solutions to this problem, some of which I will detail below:

Have grpc-labview treat enums as integers. This would require a small modification to grpc-labview. I am not sure if the grpc-labview team would accept this change. It would be opt-in, of course. By default, grpc-labview would treat enums like enums.
Change the grpc-labview enum tokenization to use a standard format like json. This seems possible, but would require a lot more work.

I think the PR build will have lots of failures until we update the version of grpc-labview on spawningpool. Ignore the failures for now.

I made the changes Jason suggested and also wrote some tests. I am going to reset reviewers.


Ticks without svg

I'm attempting to use d3's time scale methods to do some date range calculations but I'm struggling to find any documentation past using it with svg.
Given a certain date range I'd like to output an array of intervals along that date range. From my cursory reading of the documentation I assumed something like this:
var ticks = d3.time.scale()
      .domain(["2015-05-07T02:22:29.000Z", "2015-05-21T12:38:57.000Z"])
      .ticks(d3.time.days, 1);

should work, but it only outputs an empty array. Is this possible with d3? If so how would I approach this problem?

If you just want an array of dates, you probably want to use the time intervals. For example:
var start = new Date("2015-05-07T02:22:29.000Z"),
    end = new Date("2015-05-21T12:38:57.000Z");
console.log(d3.time.days(start, end));

If you want a time scale (for visualization purposes—scales map data to visual encodings, such as dates to pixel positions), then you need to invoke scale.ticks with no arguments to have it compute the ticks. If you call scale.ticks with arguments, you’re telling it what type of ticks you want, but those ticks aren’t actually computed until you call scale.ticks without arguments. (And often the latter happens automatically when you use a scale in conjunction with an axis.)
If you want more help, I’d recommend Stack Overflow tag d3.js. I often don’t reply to support requests here, as these issues are intended for bug reports and feature requests.

@mbostock Thanks for your response. I would have normally, my intention was if this feature was missing I would have used this issue to reference a PR.
I'm still slightly confused though, what is scale equal to exactly? Is it not d3.time.scale() with domain values so ticks can be calculated across the domain as in my initial question?

The immediate problem is that you are using strings to represent dates when you need to be using Date objects. (You can also use UTC milliseconds since epoch, but Date objects are preferred.) The problem is easy to see if you look at the scale’s domain:
var scale =  d3.time.scale()
    .domain(["2015-05-07T02:22:29.000Z", "2015-05-21T12:38:57.000Z"]);

scale.domain(); // [Invalid Date, Invalid Date]

You can use the Date constructor to parse these dates:
var scale =  d3.time.scale()
    .domain([new Date("2015-05-07T02:22:29.000Z"), new Date("2015-05-21T12:38:57.000Z")]);

scale.ticks();

But slightly more reliable is to use d3.time.format.iso, since not all browsers support parsing ISO 8601 timestamps in the Date constructor:
var scale =  d3.time.scale()
    .domain([
      d3.time.format.iso.parse("2015-05-07T02:22:29.000Z"),
      d3.time.format.iso.parse("2015-05-21T12:38:57.000Z")
    ]);

scale.ticks(d3.time.days);

Using a scale just for the purpose of computing ticks is a bit overkill (scales are primarily intended for mapping data to visual encodings, such as dates to pixel positions in a time series chart). That’s especially true in this case because you are explicitly specifying the time interval you want: days.
So if you just want an array of dates, you probably want to use a time interval instead. For example:
var start = d3.time.format.iso.parse("2015-05-07T02:22:29.000Z"),
    end = d3.time.format.iso.parse("2015-05-21T12:38:57.000Z");

d3.time.days(start, end);

If you want more help, I’d recommend Stack Overflow tag d3.js. I often don’t reply to support requests here, as these issues are intended for bug reports and feature requests.

@mbostock Thank your for your help, and apologies for turning this into a support request. That response was extremely helpful.


Update test data

Successful test run completed.

Could you please explain why this change required?

Sorry for not including this in the original PR.
I pulled the repo and ran the tests. The Signer should digest and sign SOAP XML with security node and digested binary token test failed. Upon comparing the expected output with the actual output, there was a slight difference.
This commit brings the expected and actual into alignment. Tests now pass.
Thanks.

What Ruby version you're using?
I can see that last commit in master branch have passed the build, but a pretty long time ago.
Will investigate in a few days. Thank you for PR.

I am using ruby 2.1.5p273
Thank you for your work in this repo. I have been doing some WS-* work and having some code to look at has been great.

I updated travis yml in master to run against newer ruby versions, and the tests failed, don't know why the tests didn't fail previously, maybe this is due to some older dependencies (nokogiri maybe). Thanks.

Great. Thank you.


readme about FutureViewModel is outdated

https://github.com/FilledStacks/stacked/blob/master/packages/stacked/README.md#futureviewmodel
Still using deprecated get future in the example. It has been replaced by futureToRun().

We'll update the documentation in the next release.
Related to issue #415

@FilledStacks this is not related to #415, and it is still not fixed at master.


Compute argument possible values based on other arguments

 Issue by fbecart
Wednesday May 06, 2020 at 12:31 GMT
Originally opened as https://github.com/clap-rs/clap/issues/1910

I would like to be able to compute the possible values of an argument dynamically, based on the values provided for some other argument(s).
Use case
I'm working on a CLI which has a goal similar to make.
$ make --help
Usage: make [options] [target] ...
Options:
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.

The file lists the available targets. Given a value of FILE, I am able to load a list of available target names. I would like to use that list as the possible values for target.
This would affect the validation of target. Ideally, this would also affect its autocompletion.
Currently, possible_values is expected to be provided as an array slice (&[&str]) as the App is being built.
https://github.com/clap-rs/clap/blob/9d03c8497ce17486e31b19fecbe5bec97ac82d09/src/build/arg/mod.rs#L1712
At that time, the value of FILE is not available yet.
Wanted solution
I would like instead to be able to provide a closure that would compute the possible values for my argument. This closure would take the values of the other app arguments as a parameter.
Workaround
It is already possible to obtain this behavior by parsing the arguments twice (the second time with refined validation):
fn get_app(allowed_target_names: Option<Vec<&str>>) -> App {
    let target_arg = Arg::with_name("target");

    let target_arg = if let Some(allowed_target_names) = allowed_target_names {
        target_arg.possible_values(&allowed_target_names)
    } else {
        target_arg
    };

    App::new("make")
        .arg(target_arg)
        [...]
}

fn main() {
    let arg_matches = get_app(None).get_matches();

    let config = Config::load(arg_matches.value_of("config_file"));
    let all_target_names = config.list_target_names();

    let app_args = get_app(Some(all_target_names)).get_matches();

    [...]
}

However, this workaround doubles the overhead of parsing arguments. Also, this solution does not cover the autocompletion part.
Related issues

https://github.com/clap-rs/clap/issues/568
https://github.com/clap-rs/clap/pull/1793

 Comment by pksunkara
Wednesday May 06, 2020 at 15:11 GMT

I think this can be achieved by the hooks proposal mentioned in #1471.

 Comment by fbecart
Thursday May 07, 2020 at 06:55 GMT

Thanks @pksunkara for looking into it. I see how https://github.com/clap-rs/clap/issues/1471 is related, as it suggests to have a closure returning the default value of an argument.
This issue remains unique in the following ways:

It is about computing the possible values of an argument.
It requires access to the arguments that have already been provided.
It should influence auto-completion.
It is not related to prompting the user -- which is the primary motive for default value hooks.

 Comment by pksunkara
Thursday May 07, 2020 at 12:24 GMT

It is related because we can extend the hook proposal to allow defining possible values too. Prompts is a tangential issue.
Auto completion will probably be tied into the dynamic completion issue.

 Comment by fbecart
Friday May 08, 2020 at 20:27 GMT

To illustrate the issue, here's a link to the project I'm working on: https://github.com/fbecart/zinoma/blob/9d2ea034d566a92a7464a7ca58c0b75cb87d7072/src/main.rs#L32-L37

 Comment by kbknapp
Monday May 11, 2020 at 18:43 GMT

Also potentially related #1880

 Comment by fbecart
Wednesday Aug 05, 2020 at 17:19 GMT

Closely related to https://github.com/clap-rs/clap/issues/1232, if not duplicate.


Fix/psl

:tada: This PR is included in version 1.3.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


infinite months

Do you plan on support infinite scrolling? Since I see setup method does take in first month last month param, will you provide a method to setup the views without first month and last month? Thanks!

This is something that may be supported in the future. However, there are no immediate plans.

Closing this for now.


Add support for username/password credentials

This PR is a proposal to change the API of go-elastic, to support username/password-based authentication.
Before, authentication was only possible for AWS credentials, by adding them to the struct:
client.Credentials = awsauth.Credentials{
  AccessKeyID: "AccessKey",
  SecretAccessKey: "secret",
}

With this new PR, it is possible to authenticate by using the SetAWSCredentials and SetAuthCredentials methods. The Credentials property is not exported anymore:

With AWS credentials:

client.SetAWSCredentials(awsauth.Credentials{
  AccessKeyID:     "AccessKey",
  SecretAccessKey: "secret",
})

With a username and password:

username := os.Getenv("ELASTICSEARCH_USERNAME")
password := os.Getenv("ELASTICSEARCH_PASSWORD")
client.SetAuthCredentials(username, password)

⚠ This will however break dependents who don't rely on versioning (govendor/others) to download go-elastic.

Any news about this PR, whether the changes go in the right direction, or if we should respect the older API?

Hey sorry been busy, looks fine to me! Not too worried about small breakage. Maybe having an interface later for auth would make the most sense, something that just returns a new req, but LGTM for now!

Thank you for your review!


docs(faq): Add explanation on default filters

Following #1026 I also added an entry on how to set default filters on
the first loading of instantsearch. This question often pop ups in
support and we were never really explaining how to do it.
I tried to keep it as simple as possible for most cases when you
already have a widget in place on that specific attribute, and only
need to set default values.
I also explained how to do it on attributes on which you do not have
a widget, with a bit more config.
Let me know what you think

👍 👍

Looks good to me too :) Thanks @pixelastic :)

Sorry guys, I'm late on that.
I really think it's not a good idea to expose the facetRefinements and disjunctiveRefinements in the searchParameters options. Those are super internal values of the underlying AlgoliaSearch Helper and it's way too confusing for our users to deal with them mixed with the actual search parameters. (I'm not even speaking about hierarchical refinements & numerical refinements.)
The simple way to add initial refinements is to build a custom widget:
      var search = instantsearch({
        appId: 'YourApplicationID',
        apiKey: 'YourSearchOnlyAPIKey',
        indexName: 'YourIndexName'
      });

      search.addWidget({
        init: function(args) {
          args.helper. addFacetRefinement('category', 'phone');
        }
      });

It's documented, I don't need to think about internal naming & I can manipulate the state super easily.
What do you think?

I agree @redox and we should probably add a core widget for that so it's easier to reference. Created an issue for that #1031

It's true that it removes complexity from the user side.


Add WinCE file extractor plugin

Originally issued in #469, but was failing the CI because of the lack of Python 2.7 support. Shouldn't be an issue now, but I cant reopen the original issue.
Overview
The WinCE Extractor is a plugin that allows a user to extract compressed and uncompressed files from a Windows Compact Embedded ROM/firmware image. The plugin is built in pure multi-platform Python3 and requires no external dependencies to be installed (other than Python3 and binwalk of course).
Usage
binwalk <input_file> -D bin
or
binwalk <input_file> -e
Before
Using the latest version of ReFirmLabs/binwalk
total 122M
-rw-rw-r-- 1 artificial artificial   95 Jun 15 01:18 6CDDDF
-rw-rw-r-- 1 artificial artificial 122M Jun 15 01:18 6CDDDF.7z

After
Using the latest version of KodaSec/binwalk
total 280M
-rw-rw-r-- 1 artificial artificial    95 Jun 15 01:24 6CDDDF
-rw-rw-r-- 1 artificial artificial  122M Jun 15 01:24 6CDDDF.7z
-rw-rw-r-- 1 artificial artificial  100K Jun 15 01:23 afd.dll
-rw-rw-r-- 1 artificial artificial    69 Jun 15 01:23 appdata.ini
-rw-rw-r-- 1 artificial artificial  282K Jun 15 01:23 arialbd.ttf
-rw-rw-r-- 1 artificial artificial  222K Jun 15 01:23 arialbi.ttf
-rw-rw-r-- 1 artificial artificial  203K Jun 15 01:23 ariali.ttf
-rw-rw-r-- 1 artificial artificial  115K Jun 15 01:23 arialk.ttf
-rw-rw-r-- 1 artificial artificial  151K Jun 15 01:23 arial.ttf
-rw-rw-r-- 1 artificial artificial  4.1K Jun 15 01:23 arms_log.dll
-rw-rw-r-- 1 artificial artificial   70K Jun 15 01:23 arms_writer_drv.dll
-rw-rw-r-- 1 artificial artificial   12K Jun 15 01:23 arms_writer_sys.dll
-rw-rw-r-- 1 artificial artificial  3.1K Jun 15 01:23 asterisk.wav
-rw-rw-r-- 1 artificial artificial   15K Jun 15 01:23 asyncmac.dll
-rw-rw-r-- 1 artificial artificial   79K Jun 15 01:23 atlce400.dll
-rw-rw-r-- 1 artificial artificial  6.7K Jun 15 01:23 autoras.dll
-rw-rw-r-- 1 artificial artificial   10K Jun 15 01:23 battery.dll
-rw-rw-r-- 1 artificial artificial   13K Jun 15 01:23 binfs.dll
-rw-rw-r-- 1 artificial artificial   36K Jun 15 01:23 boot.hv
-rw-rw-r-- 1 artificial artificial   12K Jun 15 01:23 busenum.dll
-rw-rw-r-- 1 artificial artificial  5.9M Jun 15 01:24 Cardio.exe
-rw-rw-r-- 1 artificial artificial  9.5K Jun 15 01:23 ceconfig.h
-rw-rw-r-- 1 artificial artificial   13K Jun 15 01:23 ceddk.dll
-rw-rw-r-- 1 artificial artificial  270K Jun 15 01:23 ceshell.dll
-rw-rw-r-- 1 artificial artificial   134 Jun 15 01:23 close.2bp
-rw-rw-r-- 1 artificial artificial  3.4K Jun 15 01:23 close.wav
-rw-rw-r-- 1 artificial artificial  369K Jun 15 01:23 commctrl.dll
-rw-rw-r-- 1 artificial artificial   63K Jun 15 01:23 commdlg.dll
-rw-rw-r-- 1 artificial artificial  121K Jun 15 01:23 connmc.exe
-rw-rw-r-- 1 artificial artificial  8.2K Jun 15 01:23 connpnl.cpl
-rw-rw-r-- 1 artificial artificial  3.6K Jun 15 01:23 conshid.dll
-rw-rw-r-- 1 artificial artificial   16K Jun 15 01:23 control.exe
-rw-rw-r-- 1 artificial artificial    23 Jun 15 01:23 control.lnk
-rw-rw-r-- 1 artificial artificial   739 Jun 15 01:23 copyrts.txt
-rw-rw-r-- 1 artificial artificial  530K Jun 15 01:23 coredll.dll
-rw-rw-r-- 1 artificial artificial  178K Jun 15 01:23 cplmain.cpl
-rw-rw-r-- 1 artificial artificial  4.6K Jun 15 01:23 credprov.dll
-rw-rw-r-- 1 artificial artificial   45K Jun 15 01:23 credsvc.dll
-rw-rw-r-- 1 artificial artificial  3.0K Jun 15 01:23 critical.wav
-rw-rw-r-- 1 artificial artificial  445K Jun 15 01:23 crypt32.dll
-rw-rw-r-- 1 artificial artificial   27K Jun 15 01:23 cryptdll.dll
-rw-rw-r-- 1 artificial artificial  6.8K Jun 15 01:23 ctlpnl.exe
-rw-rw-r-- 1 artificial artificial   22K Jun 15 01:23 cxport.dll
-rw-rw-r-- 1 artificial artificial  160K Jun 15 01:23 default.hv
-rw-rw-r-- 1 artificial artificial  2.7K Jun 15 01:23 default.wav
-rw-rw-r-- 1 artificial artificial   144 Jun 15 01:23 desktopdirectory.ini
-rw-rw-r-- 1 artificial artificial  2.1K Jun 15 01:23 device.exe
-rw-rw-r-- 1 artificial artificial   34K Jun 15 01:23 devmgr.dll
-rw-rw-r-- 1 artificial artificial   26K Jun 15 01:23 dhcp.dll
-rw-rw-r-- 1 artificial artificial   40K Jun 15 01:24 dict_chn.dll
-rw-rw-r-- 1 artificial artificial   67K Jun 15 01:24 dict_cze.dll
-rw-rw-r-- 1 artificial artificial   67K Jun 15 01:24 dict_dan.dll
-rw-rw-r-- 1 artificial artificial   70K Jun 15 01:24 dict_dut.dll
-rw-rw-r-- 1 artificial artificial   65K Jun 15 01:24 dict_eng.dll
-rw-rw-r-- 1 artificial artificial   67K Jun 15 01:24 dict_fin.dll
-rw-rw-r-- 1 artificial artificial   72K Jun 15 01:24 dict_fra.dll
-rw-rw-r-- 1 artificial artificial   73K Jun 15 01:24 dict_ger.dll
-rw-rw-r-- 1 artificial artificial   70K Jun 15 01:24 dict_hun.dll
-rw-rw-r-- 1 artificial artificial   68K Jun 15 01:24 dict_ita.dll
-rw-rw-r-- 1 artificial artificial   46K Jun 15 01:24 dict_jpn.dll
-rw-rw-r-- 1 artificial artificial   46K Jun 15 01:24 dict_kor.dll
-rw-rw-r-- 1 artificial artificial   67K Jun 15 01:24 dict_nor.dll
-rw-rw-r-- 1 artificial artificial   67K Jun 15 01:24 dict_pol.dll
-rw-rw-r-- 1 artificial artificial   67K Jun 15 01:24 dict_por.dll
-rw-rw-r-- 1 artificial artificial   70K Jun 15 01:24 dict_rus.dll
-rw-rw-r-- 1 artificial artificial   68K Jun 15 01:24 dict_slo.dll
-rw-rw-r-- 1 artificial artificial   72K Jun 15 01:24 dict_spa.dll
-rw-rw-r-- 1 artificial artificial   66K Jun 15 01:24 dict_swe.dll
-rw-rw-r-- 1 artificial artificial  9.3K Jun 15 01:23 diskcache.dll
-rw-rw-r-- 1 artificial artificial   18K Jun 15 01:23 dm9isa.DLL
-rw-rw-r-- 1 artificial artificial  3.1K Jun 15 01:23 dnsapi.dll
-rw-rw-r-- 1 artificial artificial  112K Jun 15 01:23 dssdh.dll
-rw-rw-r-- 1 artificial artificial  128M Jun 15 01:23 E0000.bin
-rw-rw-r-- 1 artificial artificial  3.9K Jun 15 01:23 empty.wav
-rw-rw-r-- 1 artificial artificial  6.8K Jun 15 01:23 ethman.dll
-rw-rw-r-- 1 artificial artificial  9.0K Jun 15 01:23 exclam.wav
-rw-rw-r-- 1 artificial artificial    24 Jun 15 01:23 explore.lnk
-rw-rw-r-- 1 artificial artificial  259K Jun 15 01:23 explorer.exe
-rw-rw-r-- 1 artificial artificial   55K Jun 15 01:23 fatfsd.dll
-rw-rw-r-- 1 artificial artificial   35K Jun 15 01:23 fatutil.dll
-rw-rw-r-- 1 artificial artificial    69 Jun 15 01:23 favorites.ini
-rw-rw-r-- 1 artificial artificial  219K Jun 15 01:23 filesys.exe
-rw-rw-r-- 1 artificial artificial   27K Jun 15 01:23 FLASHDRV.DLL
-rw-rw-r-- 1 artificial artificial    69 Jun 15 01:23 fonts.ini
-rw-rw-r-- 1 artificial artificial   74K Jun 15 01:23 fsdmgr.dll
-rw-rw-r-- 1 artificial artificial  2.3M Jun 15 01:23 gulim.ac3
-rw-rw-r-- 1 artificial artificial  726K Jun 15 01:23 gwes.exe
-rw-rw-r-- 1 artificial artificial   12K Jun 15 01:23 hecspi_drv.dll
-rw-rw-r-- 1 artificial artificial   28K Jun 15 01:23 hidparse.dll
-rw-rw-r-- 1 artificial artificial   70K Jun 15 01:23 httplite.dll
-rw-rw-r-- 1 artificial artificial  7.2K Jun 15 01:23 I2CDrv.dll
-rw-rw-r-- 1 artificial artificial   27K Jun 15 01:23 IECEExt.dll
-rw-rw-r-- 1 artificial artificial  5.6K Jun 15 01:23 infbeg.wav
-rw-rw-r-- 1 artificial artificial  1.8K Jun 15 01:23 infend.wav
-rw-rw-r-- 1 artificial artificial  2.1K Jun 15 01:23 infintr.wav
-rw-rw-r-- 1 artificial artificial  7.2K Jun 15 01:23 initdb.ini
-rw-rw-r-- 1 artificial artificial   19K Jun 15 01:23 initobj.dat
-rw-rw-r-- 1 artificial artificial   48K Jun 15 01:23 intll.cpl
-rw-rw-r-- 1 artificial artificial   51K Jun 15 01:23 iphlpapi.dll
-rw-rw-r-- 1 artificial artificial  7.7K Jun 15 01:23 kbdhid.dll
-rw-rw-r-- 1 artificial artificial   28K Jun 15 01:23 kbdmouse.dll
-rw-rw-r-- 1 artificial artificial  183K Jun 15 01:23 kerberos.dll
-rw-rw-r-- 1 artificial artificial  9.1K Jun 15 01:23 lap_pw.dll
-rw-rw-r-- 1 artificial artificial   14K Jun 15 01:23 lassd.dll
-rw-rw-r-- 1 artificial artificial   834 Jun 15 01:23 menupop.wav
-rw-rw-r-- 1 artificial artificial   360 Jun 15 01:23 menusel.wav
-rw-rw-r-- 1 artificial artificial  403K Jun 15 01:23 mfcce400.dll
-rw-rw-r-- 1 artificial artificial  483K Jun 15 01:23 MiniWnnDLL.dll
-rw-rw-r-- 1 artificial artificial  5.7K Jun 15 01:23 mmtimer.dll
-rw-rw-r-- 1 artificial artificial   24K Jun 15 01:23 modemserial.dll
-rw-rw-r-- 1 artificial artificial  4.1K Jun 15 01:23 MouHid.dll
-rw-rw-r-- 1 artificial artificial   40K Jun 15 01:23 msasn1.dll
-rw-rw-r-- 1 artificial artificial  2.4M Jun 15 01:23 msgothic.ac3
-rw-rw-r-- 1 artificial artificial   19K Jun 15 01:23 mspart.dll
-rw-rw-r-- 1 artificial artificial  700K Jun 15 01:23 msxml3.dll
-rw-rw-r-- 1 artificial artificial    69 Jun 15 01:23 mydocuments.ini
-rw-rw-r-- 1 artificial artificial  127K Jun 15 01:23 ndis.dll
-rw-rw-r-- 1 artificial artificial  5.2K Jun 15 01:23 ndispwr.dll
-rw-rw-r-- 1 artificial artificial   22K Jun 15 01:23 ndisuio.dll
-rw-rw-r-- 1 artificial artificial   35K Jun 15 01:23 netbios.dll
-rw-rw-r-- 1 artificial artificial  3.5K Jun 15 01:23 netmui.dll
-rw-rw-r-- 1 artificial artificial  198K Jun 15 01:23 netui.dll
-rw-rw-r-- 1 artificial artificial 1014K Jun 15 01:23 nk.exe
-rw-rw-r-- 1 artificial artificial   34K Jun 15 01:23 notify.dll
-rw-rw-r-- 1 artificial artificial  8.7K Jun 15 01:23 nspm.dll
-rw-rw-r-- 1 artificial artificial   38K Jun 15 01:23 ntlmssp.dll
-rw-rw-r-- 1 artificial artificial   53K Jun 15 01:23 ohci.dll
-rw-rw-r-- 1 artificial artificial   134 Jun 15 01:23 ok.2bp
-rw-rw-r-- 1 artificial artificial  162K Jun 15 01:23 ole32.dll
-rw-rw-r-- 1 artificial artificial  172K Jun 15 01:23 oleaut32.dll
-rw-rw-r-- 1 artificial artificial  264K Jun 15 01:23 olece400.dll
-rw-rw-r-- 1 artificial artificial  3.4K Jun 15 01:23 openprog.wav
-rw-rw-r-- 1 artificial artificial  4.2K Jun 15 01:23 pbutton.dll
-rw-rw-r-- 1 artificial artificial   13K Jun 15 01:23 pcl.dll
-rw-rw-r-- 1 artificial artificial   74K Jun 15 01:23 pm.dll
-rw-rw-r-- 1 artificial artificial  108K Jun 15 01:23 ppp.dll
-rw-rw-r-- 1 artificial artificial  4.0K Jun 15 01:23 prnerr.dll
-rw-rw-r-- 1 artificial artificial  7.6K Jun 15 01:23 prnport.dll
-rw-rw-r-- 1 artificial artificial    69 Jun 15 01:23 programfiles.ini
-rw-rw-r-- 1 artificial artificial    69 Jun 15 01:23 programs.ini
-rw-rw-r-- 1 artificial artificial  1.8K Jun 15 01:23 question.wav
-rw-rw-r-- 1 artificial artificial  3.4K Jun 15 01:23 recend.wav
-rw-rw-r-- 1 artificial artificial    69 Jun 15 01:23 recent.ini
-rw-rw-r-- 1 artificial artificial  3.4K Jun 15 01:23 recstart.wav
-rw-rw-r-- 1 artificial artificial  128K Jun 15 01:23 redir.dll
-rw-rw-r-- 1 artificial artificial  5.1K Jun 15 01:23 regenum.dll
-rw-rw-r-- 1 artificial artificial   34K Jun 15 01:23 rnaapp.exe
-rw-rw-r-- 1 artificial artificial  167K Jun 15 01:23 rsaenh.dll
-rw-rw-r-- 1 artificial artificial  146K Jun 15 01:23 s3c2440disp.dll
-rw-rw-r-- 1 artificial artificial  109K Jun 15 01:23 schannel.dll
-rw-rw-r-- 1 artificial artificial   41K Jun 15 01:23 sdbus.dll
-rw-rw-r-- 1 artificial artificial   23K Jun 15 01:23 SDHC_SC2440.dll
-rw-rw-r-- 1 artificial artificial   12K Jun 15 01:23 sdmemory.dll
-rw-rw-r-- 1 artificial artificial   12K Jun 15 01:23 secur32.dll
-rw-rw-r-- 1 artificial artificial   30K Jun 15 01:23 ser2440.dll
-rw-rw-r-- 1 artificial artificial   26K Jun 15 01:23 serial.dll
-rw-rw-r-- 1 artificial artificial   30K Jun 15 01:23 services.exe
-rw-rw-r-- 1 artificial artificial  8.8K Jun 15 01:23 shcore.dll
-rw-rw-r-- 1 artificial artificial  180K Jun 15 01:23 shdocvw.dll
-rw-rw-r-- 1 artificial artificial  126K Jun 15 01:23 shlwapi.dll
-rw-rw-r-- 1 artificial artificial  5.3M Jun 15 01:23 simsun.ac3
-rw-rw-r-- 1 artificial artificial   38K Jun 15 01:23 spnego.dll
-rw-rw-r-- 1 artificial artificial  383K Jun 15 01:23 sqlcese30.sys.dll
-rw-rw-r-- 1 artificial artificial   29K Jun 15 01:23 ssllsp.dll
-rw-rw-r-- 1 artificial artificial    69 Jun 15 01:23 startup.ini
-rw-rw-r-- 1 artificial artificial  8.4K Jun 15 01:23 startup.wav
-rw-rw-r-- 1 artificial artificial  1.1K Jun 15 01:23 stdsm.2bp
-rw-rw-r-- 1 artificial artificial  2.0K Jun 15 01:23 stdsm.bmp
-rw-rw-r-- 1 artificial artificial  8.4K Jun 15 01:23 sysroots.p7b
-rw-rw-r-- 1 artificial artificial   16K Jun 15 01:23 system_drv.dll
-rw-rw-r-- 1 artificial artificial  532K Jun 15 01:23 t9jpn.dll
-rw-rw-r-- 1 artificial artificial  126K Jun 15 01:23 tahoma.ttf
-rw-rw-r-- 1 artificial artificial   61K Jun 15 01:23 tapi.dll
-rw-rw-r-- 1 artificial artificial  308K Jun 15 01:23 tcpstk.dll
-rw-rw-r-- 1 artificial artificial   25K Jun 15 01:23 timesvc.dll
-rw-rw-r-- 1 artificial artificial   43K Jun 15 01:23 unimodem.dll
-rw-rw-r-- 1 artificial artificial   19K Jun 15 01:23 usbd.dll
-rw-rw-r-- 1 artificial artificial   17K Jun 15 01:23 usbdisk6.dll
-rw-rw-r-- 1 artificial artificial   17K Jun 15 01:23 usbhid.dll
-rw-rw-r-- 1 artificial artificial   15K Jun 15 01:23 usbmsc.dll
-rw-rw-r-- 1 artificial artificial   13K Jun 15 01:23 usbprn.dll
-rw-rw-r-- 1 artificial artificial   36K Jun 15 01:23 user.hv
-rw-rw-r-- 1 artificial artificial   838 Jun 15 01:23 viewsm.2bp
-rw-rw-r-- 1 artificial artificial  1.7K Jun 15 01:23 viewsm.bmp
-rw-rw-r-- 1 artificial artificial  1.9M Jun 15 01:23 wince.nls
-rw-rw-r-- 1 artificial artificial  2.7K Jun 15 01:23 windmax.wav
-rw-rw-r-- 1 artificial artificial  2.8K Jun 15 01:23 windmin.wav
-rw-rw-r-- 1 artificial artificial   48K Jun 15 01:23 windowsce.bmp
-rw-rw-r-- 1 artificial artificial  4.8K Jun 15 01:23 winsock.dll
-rw-rw-r-- 1 artificial artificial   35K Jun 15 01:23 ws2.dll
-rw-rw-r-- 1 artificial artificial  7.3K Jun 15 01:23 ws2instl.dll
-rw-rw-r-- 1 artificial artificial  7.9K Jun 15 01:23 wspm.dll

And yes, it does produce readable files:

@devttys0 bump

@ArtificialAmateur @devttys0  This doesn't work for me. Is this completely merged or is something additional needed to work?

@ArtificialAmateur @devttys0 This doesn't work for me. Is this completely merged or is something additional needed to work?

This branch has not been merged into master, are you operating off of the Kodasec fork? If so, please test the independent tool wince-extractor.

@ArtificialAmateur @devttys0 This doesn't work for me. Is this completely merged or is something additional needed to work?

This branch has not been merged into master, are you operating off of the Kodasec fork? If so, please test the independent tool wince-extractor.

I tested and it failed. I opened an issue for it. Let me know if you can help please. @ArtificialAmateur

@ArtificialAmateur @devttys0 This doesn't work for me. Is this completely merged or is something additional needed to work?

This branch has not been merged into master, are you operating off of the Kodasec fork? If so, please test the independent tool wince-extractor.

I tested and it failed. I opened an issue for it. Let me know if you can help please. @ArtificialAmateur

The current version of the code only supports the x86 systems as those are the systems we had on hand when reverse engineering, the WinCE compression algorithm does e8 (x86 specific instruction) preprocessing.

Are you still interested in maintain this plugin and the wince-decompt python module?

Are you still interested in maintain this plugin and the wince-decompt python module?

Sorry I dont have the time anymore to maintain this code myself. Open to anyone else wanting to take it over.

Okay. I merged your PR to a fork of binwalk. I will be maintaing the plugin there to the best of my efforts.

WinCE extraction is supported as a built-in extractor in binwalk v3


Moved test requirements to separate file.

Signed-off-by: David Deal<EMAIL_ADDRESS>

Generated this PR as the lambda zip file was too big if we include all the test dependencies.


alter dependency trust local provider cache

alter providers based on local cache, no longer trust  sc

@lizihuai you misunderstood the place to add dependency.
to @humingcheng @lizihuai
the logic should like below:
go-chassis use FindMicroServiceInstance to get instances
that is the only entrance,  as you see there is code to fetch instance from remote, so I think you should add dependency in this part. that is accurate.
what you guys think


Is this a bug?

Is there a bug in function getOrInit in sassi_dictionary.hpp? I believe the line *metaPtr = VALID_ENTRY; should come after __threadfence() to guarantee that the threads that are waiting for the entry to become valid, see the correct value - the flag must be set after the new entry has been written.

Good find.  Yes, you are right.  I will change this in the next few days
and test it out to make sure it doesn't break existing code.
Thanks,
Mark
On Mon, Aug 21, 2017 at 11:38 PM, arishop<EMAIL_ADDRESS>wrote:

Is there a bug in function getOrInit in sassi_dictionary.hpp? I believe
the line *metaPtr = VALID_ENTRY; should come after __threadfence() to
guarantee that the threads that are waiting for the entry to become valid,
see the correct value - the flag must be set after the new entry has been
written.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NVlabs/SASSI/issues/16, or mute the thread
https://github.com/notifications/unsubscribe-auth/AMQRuZe8mqEnQs2oae5bI8TszJdPLhJAks5saltagaJpZM4O-Gvj
.


test(messaging-monitor): open signal manager

copilot:all

Current dependencies on/for this PR:

main

PR #2976   👈

This comment was auto-generated by Graphite.


GeoSuggestContextDescriptor's Precision-method accepts array instead of singular value

NEST/Elasticsearch.Net version: 6
Elasticsearch version: 6
Description of the problem including expected versus actual behavior:
When applying Mapping within client.CreateIndex, the GeoLocation Completion-descriptor takes a collection of Precision-values. However, ES only accepts a singular value. Even passing one-value to .Precision("25mi") results in the construction of an array. This eventually leads to an ES syntax-error when creating the index.
Steps to reproduce:
public class PlaceSearchDocument
{
    [GeoPoint]
    public Location Location { get; set; }
}

client.CreateIndex("places", (CreateIndexDescriptor createDescriptor) =>
    createDescriptor.Mappings(mappingDescriptor =>
        mappingDescriptor.Map<PlaceSearchDocument>(map => map
            .AllField(af => af.Enabled(false))
            .AutoMap()
            .Properties(property => property
                .Completion(completion => completion.Name("LocationSuggest").Contexts(context => context
                    .GeoLocation(geolocation => geolocation
                        .Name("Location")
                        .Path("Location")
                        .Precision("25mi"))
                ))))));

Provide DebugInformation (if relevant):
PUT places
{
  "mappings": {
    "place": {
      "_all": {
        "enabled": false
      },
      "properties": {
        "Location": {
          "type": "geo_point"
        },
        "LocationSuggest": {
          "type": "completion",
          "contexts": [
            {
              "type": "geo",
              "name": "Location",
              "path": "Location",
              "precision": ["25mi"]
            }
          ]
        }
      }
    }
  }
}

Expected value
PUT places
{
  "mappings": {
    "place": {
      "_all": {
        "enabled": false
      },
      "properties": {
        "Location": {
          "type": "geo_point"
        },
        "LocationSuggest": {
          "type": "completion",
          "contexts": [
            {
              "type": "geo",
              "name": "Location",
              "path": "Location",
              "precision": "25mi"
            }
          ]
        }
      }
    }
  }
}

Ref. https://github.com/elastic/elasticsearch-net/blob/c646b98c5e5278ad122cd686fa27c45cbb18b919/src/Nest/Search/Suggesters/ContextSuggester/GeoSuggestContext.cs#L35

Well actually... It seems like the problem is in the type definition.
https://github.com/elastic/elasticsearch-net/blob/c646b98c5e5278ad122cd686fa27c45cbb18b919/src/Nest/Search/Suggesters/ContextSuggester/GeoSuggestContext.cs#L7-L15
That type probably shouldn't be IEnumerable<string>


fix protocol nonce not found

Pull Request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing

What is the new behavior?

if nonce of sn protocol isnt found, return 0 nonce

Does this introduce a breaking change?

[ ] Yes
[x] No

CI is failing but should be fixed in https://github.com/kkrt-labs/kakarot-rpc/pull/1019, then we can merge


Main to 0.x

Replaced by this other PR to resolve the git conflict: https://github.com/elastic/apm-agent-android/pull/280


add two helper commits

(1) a helper code block to track whether the line number exceeds;
(2) a demo script to extract parameters from .dat files.

I am hesitant to merge these two commits since I am not sure about their benefit and I do not want to add additional clutter.
The first commit (1d0b5b9) does not change anything, but only introduces a comment code block that could be useful for debugging purposes. However, it is very limited in its scope, as it only targets the 'Lin' counter.
The second commit adds print_parameters.py, which prints some mostly multi-band related parameters from the protocol. While potentially useful, it has a very narrow focus and lacks an interface for broader applicability.
I would suggest revisiting these changes to expand their utility and clarify their purpose.


Implement DESCRIBE statement

Adds a DESCRIBE statement that works for sources and materialized views.
The command takes the name of a source/MV in the current scope and
returns a description of every column (its name, type, and whether it's
a PK or not).

This patch depends on the StaticRows fix here: #328


Reconsider use of Flux as a result of create/update/delete methods of ServiceInstanceWorkflow

(Create|Update|Delete)ServiceInstanceWorkflow classes define relevant methods with return type of Flux<Void> (see update example below) . If I understand correctly, the intention was to allow the method to yield in case of complex and long running actions (e.g. multiple HTTP calls, many apps to deploy etc.). However Flux<Void> doesn't quite follow this pattern, it basically has the same behaviour as Mono<Void> - only emits onComplete and onError ignoring onNext. Moreover, it is technically not possible to emit a value in Flux<Void> because the only value which can be casted to Void is null and Reactive Streams specification disallows null values in a sequence. So it feels like this API can be improved in two ways:

Change return type to Flux<Something> where Something can be a status or just an arbitrary object.
Change return type to Mono<Void> to avoid confusion and simplify API a little bit.

https://github.com/spring-cloud-incubator/spring-cloud-app-broker/blob/e93a0d0eb935746dc5a20ef28cecea232691b849/spring-cloud-app-broker-core/src/main/java/org/springframework/cloud/appbroker/service/UpdateServiceInstanceWorkflow.java#L25

We should consider this suggestion. Our goal is to complete one or more intermediate tasks, and perhaps returning a Flux doesn't imply that those have completed. My preference is option 2. Returning Mono<Void> is better, considering these injected event flows can vary greatly depending on the needs of implementing broker. Enforcing a return status may feel awkward for some of the flows or not apply altogether. As an implementer, I can complete a Flux and return a Mono on completion, so it shouldn't affect my ability to perform multiple tasks.


Note about rolloing out to Prod

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Access is denied

no little big planet updates will work

my bad i was having issues with my install location

Closing then


PEKKA's Playhouse Clan (ClashHeads)

name: PEKKA's Playhouse
key: pekka
color: purple
emblem: A_Char_Pekka_02
info:
  logo: https://ibb.co/SNPy3K3
  description: >
    PEKKA Players Unite! **PEKKA's Playhouse** is the best discord server for anyone interested in learning PEKKA Bridgespam. We have PEKKA Coaches, matchup guides, and Bi-Weekly tournaments, and a clan for PEKKA players or anyone who wants to join our community. We are also the
  social:
    - twitter: https://twitter.com/PEKKA_CRL
    - discord: https://discord.gg/kCFKAnC
clans:
  - name: ClashHeads
    tag: YYJU

If there is anything I need to add, lmk

Is there a way to add individual clans not part of a family config? I saw Beetroot juice has their own clan page. How would I get something like that?


[Enhancement] Return the error message of the publish version task to the FE

return the error message of the publish version task to the FE
Fixes #34768
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

LGTM, @wyb PTAL

@silly-carbon Thanks for your contribution!

@silly-carbon Thanks for your contribution!

You are welcome. Thanks for you guys' great work on reviewing this.


[GSSOC'23]- Improper Styling of Product Container

I wanted to bring to your attention an issue related to the styling of the product container on our website. Currently, the logos and overall design of the container are not visually appealing or catchy, which may impact the user experience.
As a team member with a keen eye for design and aesthetics, I would like to contribute by suggesting improvements to enhance the style of the product container. I believe that a visually appealing and attractive design can significantly impact the user's perception of our products and increase engagement. I would like to update the design of this section.

Please assign me this issue under GSSOC'23.

Please assign me this issue under GSSOC'23.

@codervivek5 Please look into it!!


v1.0.3

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/86419
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.3 -m "<description of version>" d9c935d2d90ac5668ba07cb340fc104f3872b652
git push origin v1.0.3


[FEATURE]Support of new k-NN query parameter, extend_nested_docs

Is your feature request related to a problem?
In https://github.com/opensearch-project/k-NN/pull/2283, a new parameter extend_nested_docs is added in k-nn query to support multi inner hits. I want it to be supported in neural search.
What solution would you like?
Support of extend_nested_docs parameter in neural search.
What alternatives have you considered?
Not supporting it.
Do you have any additional context?
Similar change has been made for a support of ef_search parameter. https://github.com/opensearch-project/neural-search/pull/814

I'll work on this item.

Hi @heemin32. I notice that in k-nn query the new field is called EXPAND_NESTED = "expand_nested_docs" but here you mention we want to add a new parameter extend_nested_docs. Wonder why we intend to use a different name? Should we also use expand_nested_docs in neural search for consistency?

Hi @heemin32. I notice that in k-nn query the new field is called EXPAND_NESTED = "expand_nested_docs" but here you mention we want to add a new parameter extend_nested_docs. Wonder why we intend to use a different name? Should we also use expand_nested_docs in neural search for consistency?

My bad. we will use same name. expand_nested_docs


fixes #3967

Reference Issue
fixes #3967
What does this implement/fix? Explain your changes.
Seems like the two reported smiles issues are caused by two different bugs.
For "C=c1s/c2n(c1=O)CCCCCCC\N=2" the bug seems like it's cause by the ring closure happening on the double bond. This condition is checked on line 384 in Canon.cpp
I struggled quite a bit figuring out exactly why "C1=C\C/C=C2C3=C/C/C=C\C=C/C\3C\2\C=C/1" isn't working. It seems like it's a similar issue to the first one, but only because "secondFromAtom1" is not aromatic and is closing the ring. The condition for checking this is on lines 385-387 in Canon.cpp
I wanted to refactor this line into an inline function since it is use many times, but I didn't want to make this PR too big.
atom2Dir = (atom2Dir == Bond::ENDUPRIGHT) ? Bond::ENDDOWNRIGHT
: Bond::ENDUPRIGHT;

@jfkonecn : thanks for tracking this one down and submitting a fix.
Your changes mostly look good. I submitted a PR against your branch to modernize the tests a bit.
You're right about that pattern occuring frequently. I'd be fine with that being refactored to be an inline function, but it would be better as a separate PR. That allows me to classify this one as a bug fix and us to get the change out in the next patch release.

Sounds good. I have a few questions

I'm not too experienced with c++..... What does this line do?
auto mol = "C=c1s/c2n(c1=O)CCCCCCC\N=2"_smiles;

Do I need to make an issue ticket for a refactor?

Thank you for reviewing this PR so quickly!

Sounds good. I have a few questions

I'm not too experienced with c++..... What does this line do?
auto mol = "C=c1s/c2n(c1=O)CCCCCCC\N=2"_smiles;

That's a user-defined literal (https://www.modernescpp.com/index.php/user-defined-literals) that we define in the RDKit. It tells the compiler to call SmilesToMol() and then return an std::unique_ptr to the resulting molecule. It's defined here:
https://github.com/rdkit/rdkit/blob/master/Code/GraphMol/SmilesParse/SmilesParse.h#L114

Do I need to make an issue ticket for a refactor?

No, don't worry about that. I will just tag the PR appropriately.

Thanks @jfkonecn for fixing the bug!


style(web/applications): add class to projects link

Describe your changes
https://pins-ds.atlassian.net/jira/software/c/projects/ASB/boards/166?selectedIssue=ASB-2165)
Added "govuk-link" class to projects link.
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[x] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.16.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.21.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Command line option

I often start vscode via the command line from wsl and sometimes I just want to start it in readonly mode. Can a command line flag be added so that when it's specified then no edits can be made?

There isn't an official extension API that supports this function, but you can use the profile feature of vscode to do this. Just create a profile with configuration:
{
  "reader-mode.auto.glob": ["**"]
}

And open vscode from the terminal by code --profile <profileName>.


Fix directory creation permissions.

Directories needs to have their executable bits set, so that files under them could be accessed.

Thanks!


[Bug] import backup data report sqlite error

What did I do
I got a new computer, so I clicked "Data Backup" and got a JSON file. However, when I tried to import the JSON file using "Data Recovery", I received an error message, indicating that only one MQTT connection was found. In fact, I have 11 connections.
What happened
Get an error.

Expected
transfer data between two computers
Environment

OS: OS version,Windows10/11
MQTTX version, e.g. v1.10.0

More detail
More detail include log information or screenshot

I have tried to backup and restore 11 connections on my side and encountered no issues. Could you please confirm if all your operations were performed within version 1.10.0? Also, the error message in your screenshot needs to be completed. Could you provide a full error message? This would help me understand the issue better and resolve it.
Thank you!

after“clear history data” ,data backup& data recovery was successful. i guess  too much data will caused this problem.

OK, this might be caused by message data. If you can, let us know how many messages you have pub/sub. We will use this data to reproduce the issue and improve this feature. Thanks!

it's not safe to upload data in public area, so please give me an email address to send.

@zhouding<EMAIL_ADDRESS>thank you for your support and contribution.
I will try to reproduce the issue on my end. Your data will be saved locally and will not be shared anywhere. Once the optimization is complete, I will delete it immediately. Thank you!

The issue has been fixed in https://github.com/emqx/MQTTX/releases/tag/v1.10.1. Please update and use it. Thank you.


Added quick fix for when flake8 triggers the "multiple spaces after keyword" warning

Closes https://github.com/microsoft/vscode-flake8/issues/38

@microsoft-github-policy-service agree

@satya-vinay please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

Contributor License Agreement
@microsoft-github-policy-service agree

@satya-vinay please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

Contributor License Agreement

@microsoft-github-policy-service agree

@luabud @karthiknadig, Could you please review my PR


Update free-programming-books-subjects.md

What does this PR do?
Add a book on Game design.
For resources
This book is great resource for learning game design which is very important element in planning the flow of development process and game architecture.
Why is this valuable (or not)?
This is valuable for beginners who want to learn game design.
How do we know it's really free?
I have hosted this book on a free pdf hosting website. You can find the link over here Link. Just don't remove the book from there.
For book lists, is it a book? For course lists, is it a course? etc.
It is a book.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

In general, we do not link to file sharing sites, or file hosting sites such as google docs. or dropbox.


Multiple swipe instances on one page?

How would one go about setting up multiple (10+) slideshows, each with controls, on the same page, in a dynamic way?
Something like this (nonworking) : http://jsfiddle.net/HEhQP/1/
I'm learning jquery and js, so the fiddle might be quite nonsensical but I thought this might be the best place to start (asking), please close/ignore if I am out of line!
edit:
Native support for multiple slideshows in swipe.js would be nice, but since my understanding of js and variable scope is still far too limited to see if this might even be possible with a few lines of code I shall ask about it when I understand it. :)
Cheers
Phil

Here's my example I got working (thanks to this thread) using index and native Javascript.
HTML (Laravel blade template in this case)

content->size }}">
    index}}">
    index}}">

index}}" data-delay="{{ $slider->content->delay }}" data-speed="{{ $slider->content->speed }}">

            @foreach($slider->content->items as $item)

                    @if($item->url)url }}">@endif
                        image }}')">
                        {{ $item->title }}
                    @if($item->url)@endif

            @endforeach

Here is the Javascript
const slider = document.getElementsByClassName('slider')
for (var i = 0; i < slider.length; i++) {

	// Match index count from $llop->index in HTML
	const prev = document.querySelector('.slider__prev-' + i)
	const next = document.querySelector('.slider__next-' + i)
	const swipe = document.querySelector('.swipe-' + i)

	// New up a Slider instance
	window.mySwipe = new Swipe(swipe, {
		startSlide: 0,
		speed: parseInt(swipe.dataset.speed),
		auto: parseInt(swipe.dataset.delay),
		draggable: true,
		continuous: true,
		disableScroll: false,
		stopPropagation: false,
		callback: function(index, elem, dir) {},
		transitionEnd: function(index, elem) {}
	})

	// Slider controls
	prev.onclick = mySwipe.prev
	next.onclick = mySwipe.next

	// Hide controls is only 1 slide
	if (mySwipe.getNumSlides() === 1) {
		prev.classList.add('hide')
		next.classList.add('hide')
	}
}


_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 24s
master passed

+1 :green_heart:
compile
2m 22s
master passed

+1 :green_heart:
checkstyle
0m 35s
master passed

+1 :green_heart:
spotless
0m 42s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 29s
master passed

_ Patch Compile Tests _

-1 :x:
mvninstall
1m 46s
root in the patch failed.

-1 :x:
compile
1m 37s
hbase-server in the patch failed.

-0 :warning:
javac
1m 37s
hbase-server in the patch failed.

-0 :warning:
checkstyle
0m 31s
hbase-server: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

-1 :x:
hadoopcheck
2m  6s
The patch causes 14 errors with Hadoop v3.2.4.

-1 :x:
hadoopcheck
4m 18s
The patch causes 14 errors with Hadoop v3.3.4.

+1 :green_heart:
spotless
0m 38s
patch has no errors when running spotless:check.

-1 :x:
spotbugs
0m 30s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
asflicense
0m 10s
The patch does not generate ASF License warnings.

20m 23s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5216

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux e3d63b0d0833 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 21d61cfa1c

Default Java
Eclipse Adoptium-11.0.17+8

mvninstall
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt

compile
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt

javac
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/artifact/yetus-general-check/output/patch-compile-hbase-server.txt

checkstyle
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

hadoopcheck
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/artifact/yetus-general-check/output/patch-javac-3.2.4.txt

hadoopcheck
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/artifact/yetus-general-check/output/patch-javac-3.3.4.txt

spotbugs
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/artifact/yetus-general-check/output/patch-spotbugs-hbase-server.txt

Max. process+thread count
78 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5216/1/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  3s
Docker mode activated.


unset environment variable, when #f is passed to 'setenv'

Looks good. You could also add the corresponding unsetenv.


Reset Wifi Hotspot if bad Wifi Credentials entered

I had an issues whilst playing last night. I have an obscure wifi password of which can't be seen during the initial setup due to the asterix covering the password text box.
I stupidly entered the wrong password and it locked the system as presumably, it couldnt connect to the wifi network. I had to erase the ESP8266's memory and reflash.
it would be great if the unit cant find / connect to the specified / input SSID after X seconds it reverts back to it's AP setup mode.
Regards
IamGPIO

I've just added this feature in v0.0.4, you can see the full changelog in #9
I tested for now just on a Lilygo-t-s3, feel free to open a new issue if you notice any issue with the SmallTv

Great stuff, thanks. I shall have a play and keep poking.


Add freqs and amps dialog

Clicking "Add frequencies and amplitudes"-dialog OK-button, even though not modifying values, seems to somehow increase amplitude, even though dialog shows no change in values.
How to reproduce: Go to the dialog and click OK few times. Then press "Generate Planet", mountains should be steeper now.

Fixed


Improve AIFlow documentation

What is the purpose of the change
Improve AIFlow documentation
Brief change log
(for example:)

Improve AIFlow documentation

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.

Codecov Report

Merging #299 (fa77bd1) into master (3743ca8) will increase coverage by 0.09%.
The diff coverage is n/a.

:exclamation: Current head fa77bd1 differs from pull request most recent head 345f291. Consider uploading reports for the commit 345f291 to get more accurate results

@@            Coverage Diff             @@
##           master     #299      +/-   ##
==========================================
+ Coverage   66.81%   66.90%   +0.09%
==========================================
  Files         206      207       +1
  Lines       15573    15604      +31
  Branches     2337     2342       +5
==========================================
+ Hits        10405    10440      +35
+ Misses       4601     4597       -4
  Partials      567      567

Impacted Files
Coverage Δ

ai_flow/store/sqlalchemy_store.py
75.32% <0.00%> (-0.08%)
:arrow_down:

ai_flow/metadata_store/utils/MetaToProto.py
100.00% <0.00%> (ø)

ai_flow/metadata_store/utils/ProtoToMeta.py
85.43% <0.00%> (ø)

...sions/3ba5526346e3_model_version_add_createtime.py
100.00% <0.00%> (ø)

ai_flow/store/mongo_store.py
14.14% <0.00%> (+0.02%)
:arrow_up:

ai_flow/api/ops.py
55.11% <0.00%> (+0.07%)
:arrow_up:

ai_flow/store/db/db_model.py
87.63% <0.00%> (+0.13%)
:arrow_up:

...i_flow/model_center/entity/model_version_detail.py
95.45% <0.00%> (+0.21%)
:arrow_up:

ai_flow/meta/model_meta.py
91.66% <0.00%> (+0.75%)
:arrow_up:

...w_plugins/blob_manager_plugins/oss_blob_manager.py
87.50% <0.00%> (+1.38%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


[zh] docs/setup/production-environment/container-runtimes.md

fix docs/setup/production-environment/container-runtimes.md
Modify translated sentences

Could you squash your commits? Refer to Squashing commits.

/approved

@tanjunchen

Thanks for your contribution, this PR is ready for merge! 🎉


Wallet getPrivateKeyForPublicKey

If the public key is unkown, but only one key is in Wallet.keys, it is still returned.
Is there a use case for this feature? It should be removed for security purposes

The "one" key that is returned comes from Wallet.keys and is meant to allow "overwriting" of keys to use for signing such as:
bts = BitShares(keys={"active": "5sfafasfassafssaf"})
bts.transfer(...)

This will sign with the provided key, no matter what's in the local wallet.

Yes, that is what I thought.
The issue is not to allow overwriting of keys with the constructor, but that any public key returns the private key from the constructor.
I think if one attempts to retrieve a key the proper public key should be passed to the method, otherwise consistency of the module is not ensured.


UI issues in Create Container panel

It says 'Workspaces' and 'Local'. The window already has 'Containers' title, so 'Workspaces' is not needed. 'Local' probably 'Local Docker'? Also, single letter name is not supported.
Entries to list of docker containers should have docker icon. Can we find small docker image or maybe just blue 'D' ? or boxes like in

Also, single letter name is not supported.

It isn't supported by docker: https://github.com/moby/moby/issues/3138

"Workspaces" button is removed
"Local" is renamed to "Local Docker Containers"
Single letter names aren't supported by docker (https://github.com/moby/moby/issues/3138 )
Docker brand guidelines (https://www.docker.com/brand-guidelines) do not allow us to use Docker logo without 'docker' letters. With them, it looks quite ugly:

Do we really need identical icon for every line in the list?

<EMAIL_ADDRESS>From: Alexander Sher<EMAIL_ADDRESS>Sent: Wednesday, September 20, 2017 12:34
To: Microsoft/RTVS<EMAIL_ADDRESS>Cc: Mikhail Arkhipov<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/RTVS] UI issues in Create Container panel (#3978)

"Workspaces" button is removed
"Local" is renamed to "Local Docker Containers"
Single letter names aren't supported by docker (moby/moby#3138https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmoby%2Fmoby%2Fissues%2F3138&data=02|01|mikhaila%40microsoft.com|942ea51144644eefd86d08d5005e8662|72f988bf86f141af91ab2d7cd011db47|1|0|636415328335572912&sdata=LfU9k9JoEUSXoG6%2BjphyiI5raDB1v79LDUpDNHjQTiI%3D&reserved=0 )
Docker brand guidelines (https://www.docker.com/brand-guidelineshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.docker.com%2Fbrand-guidelines&data=02|01|mikhaila%40microsoft.com|942ea51144644eefd86d08d5005e8662|72f988bf86f141af91ab2d7cd011db47|1|0|636415328335572912&sdata=1Z3XmiWElgZqKxBPb1W0peBpNAw4lj5vTvQgdKoxULo%3D&reserved=0) do not allow us to use Docker logo without 'docker' letters. With them, it looks quite ugly:
[image]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F8933858%2F30663548-9d169484-9e10-11e7-8a71-b06e794a9d62.png&data=02|01|mikhaila%40microsoft.com|942ea51144644eefd86d08d5005e8662|72f988bf86f141af91ab2d7cd011db47|1|0|636415328335572912&sdata=TYR%2BfmkEDjFaVefDWxa2lU87MmNLyOBm%2F8muLuaVNnU%3D&reserved=0
Do we really need identical icon for every line in the list?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FRTVS%2Fissues%2F3978%23issuecomment-330957219&data=02|01|mikhaila%40microsoft.com|942ea51144644eefd86d08d5005e8662|72f988bf86f141af91ab2d7cd011db47|1|0|636415328335572912&sdata=lO0eXpDxx2EWSKmaNW%2BzCkBEJgpboDgmYBbV%2BAn7v4I%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMOfhTzNDF3931bsNONoeTjgpEsrodsqks5skWiegaJpZM4PZiJB&data=02|01|mikhaila%40microsoft.com|942ea51144644eefd86d08d5005e8662|72f988bf86f141af91ab2d7cd011db47|1|0|636415328335572912&sdata=V9uXVOU6wyPxY7J0nbqmtAqQGc2y4klFOW8J9wzhMcs%3D&reserved=0.


configure step fails with   dateConfig.cmake not found

I'm trying to install libzeep, with gcc, cmake boost-1.83.0, mrc. The configure step
   mkdir build &&& cd build
   cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX  -DZEEP_BUILD_TESTS=ON

fails in my case with
-- The CXX compiler identification is GNU 10.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - found
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success
Using resources compiled with /mnt/nfs/clustersw/Debian/bullseye/alphafill/2.0.0/bin/mrc
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /mnt/nfs/clustersw/Debian/bullseye/boost/1.83.0/lib/cmake/Boost-1.83.0/BoostConfig.cmake (found suitable version "1.83.0", minimum required is "1.80") found components: headers
-- Using asio from boost
CMake Error at CMakeLists.txt:99 (find_package):
  By not providing "Finddate.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "date", but
  CMake did not find one.

  Could not find a package configuration file provided by "date" (requested
  version 3) with any of the following names:

    dateConfig.cmake
    date-config.cmake

  Add the installation prefix of "date" to CMAKE_PREFIX_PATH or set
  "date_DIR" to a directory containing one of the above files.  If "date"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
See also "/tmp/schloegl-src-alphafill-2.0.0-3Ypvh41M/libzeep-6.0.1/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/schloegl-src-alphafill-2.0.0-3Ypvh41M/libzeep-6.0.1/build/CMakeFiles/CMakeError.log".

That should have been in the documentation, I'll fix that asap.
What you need is Howard Hinnants Date library.

Yes, that fixed it. I'm compiling from the release version (without the option to download additional packages though git). Documententing this requirement would have helped.


2D || VPL-16 || w/o IMU || w/ odom

Hey,
i've got a bagfile containing odometry recorded by ZED camera and a velodyne pointcloud. I dont have any IMU data. So i need to use the 2D mapbuilder.
My question before i start to finetune for hours. Is it possible to configure cartographer with this setup to get satisfying results? Or is the only way to use 3D mapbuilder with IMU data? What data from the IMU will be used? only orientation? Why is it not using the data from odom? it should be precise enough.
until now i ve got everything running. but the output is not as expected. I cannot provide the bag files because of NDA :(

Right, if you don't have IMU data, you can only use the 2D pipeline.
Odometry input will be treated like wheel odometry, PoseExtrapolator expects odometry to be noisy because that is really the default case.
Sure it can give good results, but use mostly the VPL-16 data.

@gaschler
Thanks for your answer. What information do you use from the IMU? Just the Orientation? Then we can fake the IMU message. We are just missing the acceleration part.

You shouldn't fake the IMU message.
If you are willing to put some effort into this project, the best solution I see with 3D laser scans and good 6D odometry is to create a fork and

replace PoseExtrapolator by your good 6D odometry. As a side effect, you no longer need IMU data.
insert 6D odometry constraints into the global optimization problem in mapping_3d/pose_graph/optimization_problem.cc similar to fixed frame pose constraints.

Closing as answered, feel free to re-open as needed.


chore: bump to nightly-2022-11-21

@Ruben-VandeVelde, I think it's better to leave more verbose explanations when working around lean4 regressions. I've done that here.
bors merge


outer-loop-deploying-infrastructure-via-azure-devops fails becuase prod env is not available

These steps: https://github.com/Azure/mlops-v2/blob/main/QUICKSTART.md#outer-loop-deploying-infrastructure-via-azure-devops fail with the following error:

I had to manually create the prod env to get this pipeline to run

I am getting the same error. How did you create the prod env manually?

@BoskarimEid There are a couple of things to note:

Right now we support only single environment and the multi environment is still under development. We plan to release the version with Global Registries in the upcoming release. If you do multiple environments, then you will have to upload / download the model artifacts between the two workspaces that will break the lineage that you get with AML. Is this something that you want to work with? If so, just reply to this comment.

Since most of the pipelines are run via main, the best bet is to make sure that youy deploy the prod environment. See this code for the regular data science pipeline. https://github.com/Azure/mlops-project-template/blob/ec93bcf8d05fe7afb215e046a12ae394aa42ce98/classical/aml-cli-v2/mlops/devops-pipelines/deploy-model-training-pipeline.yml#L4-L12.

This a version of the repository already contains the sparse checkedout version.  https://github.com/setuc/Mlops-Test
Hope this helps resolve the issue.

@sdonohoo we should add this to the revised documentation, that Bicep requires the envs to be created manually in ADO

@cindyweng @setuc Creating prod env manually and documenting that works around the issue but why is the dev env created automatically but not prod?


Add fake storage in DEBUG=1 mode

This change causes DEBUG=1 OS builds to compile-in a "fake" RAM-based storage rather than using the MMC flash storage, and is completely transparent to the applet.
This allows us to run the OS+applet under qemu (which has no emulation of the MMC device) without needing to manually modify storage code in the applet, making debugging easier.

Doesn't this prevent testing real storage on real debug units? AFAIK the use case for fake storage is purely qemu so wouldn't make more sense to tie this to debug + != imx6ul.Native?

Doesn't this prevent testing real storage on real debug units? AFAIK the use case for fake storage is purely qemu so wouldn't make more sense to tie this to debug + != imx6ul.Native?

Yes, good call - I've been testing for a while with DEBUG=0 and a patch to re-enable h/w UART for logging, but we shouldn't break DEBUG=1 on h/w.
PTAL.


firefox-{beta,devedition}: Init at 112.0b5

Description of changes
Added Firefox beta and devedition to be build from source, this makes it so that they can also be used on architectures that do not have a bin version like aarch64-linux.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Do you intend to maintain these packages?

I think if we do it like this, it doesn't affect builds, that are fine with their default branding.

That would work, applied it to the pr.

Do you intend to maintain these packages?

Yes, I do intend to maintain them.

Do we really need both beta and dev edition? The changes between the two are very minimal, and the build time effectively doubles.

And changes to firefox/common.nix should go into a separate commit that is prefixed with buildMozillaMach: and a proper description of the change and its requirement.

Do we really need both beta and dev edition? The changes between the two are very minimal, and the build time effectively doubles.

The effective problem here is, that we expect to build the beta/devedition more often, than we have users consuming it.

Result of nixpkgs-review pr 222701 run on x86_64-linux 1

6 packages built:

firefox-beta-unwrapped (firefoxPackages.firefox-beta)
firefox-beta-unwrapped.debug (firefoxPackages.firefox-beta.debug)
firefox-beta-unwrapped.symbols (firefoxPackages.firefox-beta.symbols)
firefox-devedition-unwrapped (firefoxPackages.firefox-devedition)
firefox-devedition-unwrapped.debug (firefoxPackages.firefox-devedition.debug)
firefox-devedition-unwrapped.symbols (firefoxPackages.firefox-devedition.symbols)

Tested both packages on aarch64-linux and x86_64-linux.

The derivations are working. Tested installing uBlock Origin and checking if it works in some sites.
It worked nice on my i5 7200U laptop

The attribute name need to be firefox-beta-unwrapped and firefox-devedition-unwrapped, because that is where the passthru tests are also attached. Please update the commits and keep that in mind.
Also, 112.0b6 is out.

The attribute name need to be firefox-beta-unwrapped and firefox-devedition-unwrapped, because that is where the passthru tests are also attached. Please update the commits and keep that in mind.
Also, 112.0b6 is out.

Changed commit messages to include -unwrapped and updated the version to 112.0b6.


Fix timespec

This changes where necessary for me to compile my program with the new httpz using Zig 0.13.0.
https://ziglang.org/documentation/0.13.0/std/#std.os.linux.timespec

Have you tried the zig-0.13 branch ?

Thank you I did not notice this.
So master branch shouldn't be used at all?

Master branch follows Zig master (more or less)...a lot of people prefer using Zig master at this point.


Doesn't work after await code or Future.then

Response res = await Dio().post(BASEURL + submitFeedbackUrl, data: params);
    Fluttertoast.showToast(
      msg: 'Success',
      timeInSecForIos: 2,
      gravity: ToastGravity.CENTER,
    );

doesn't work!

it needs to wait until the await is completed
please check by adding a print statement between await and showing Toast

It still not work for me after  await already complete

have you added a print statement between await and Toast
please check whether the statement is printed


Fix SENTINEL cluster

We do not want to store cluster_id for sentinel point, since it is not in the current data to process

This should fix #249


KIE forms jBPM integration

Added FormProviding engine
Cleaned up unused modules.
Improved displayer APIs
Improved forms rendering engine
Fixing UI errors
Added KieWorkbench form displayers
Added generic start process UI

@Salaboy @cristianonicolai @nmirasch can you review it?

@cristianonicolai thanks! I'll take a look on Monday.

@cristianonicolai all changes done, can you take a look again?

@pefernan thanks, +1 (once build is successful)

I had to merge this without successful build as it requires different build order of some repositories. Due to the limitation of the Jenkins integration we use, it was not possible to easily run the build with the changed build order. The integration will be fixed to avoid this in the future.


Support tiny-devicons-auto-colors.nvim

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find a similar feature request

🏷 Feature Type
New Addon
🔖 Feature description
Support for https://github.com/rachartier/tiny-devicons-auto-colors.nvim built in, seeing as https://github.com/nvim-tree/nvim-web-devicons is already built in it would fit in well.
✔ Solution
Could be under settings.vim.visuals.tinyDeviconsAutoColors or could just be enabled by default through settings.vim.theme which would update the palette for the enabled theme.
❓ Alternatives
No response
📝 Additional Context
No response

This has been on my to-do list for a while now. Though, I'm currently on vacation and might not be able to take a look at the end of this week. If you'd like to make a PR, feel free. Otherwise I'll be working on this after thursday.

Sorry it took me this long, I have been constantly distracted by other things. Added in #451


Introduce intermediate module that re-exports GHC.Exts.IsList. Close #14.

Data.Bimap currently uses IsList, which is imported from GHC.Exts.
Because GHC.Exts is itself not safe, GHC infers that Data.Bimap isn't
safe either. This prevents other libraries from using Bimap from safe
modules unless they trust the bimap package completely.
This commit introduces an intermediate Data.BimapExt module that imports
and re-exports GHC.Exts.IsList. The new module is marked as trustworthy,
which is a reasonable assesment given that the class definition is safe
(only one method is pre-defined, and it is defined in a safe way).
Data.Bimap now imports that new, trustworthy module instead of importing
GHC.Exts directly, which allows GHC to infer that Data.Bimap is safe.

Looks good. Merged


new codes for METPS

French DOME data submitter needs new codes for METPS (https://vocab.ices.dk/?ref=198)
Gel permeation chromatography (GPC)/SiAl/HPLC
Gel permeation chromatography (GPC)/SiAl/Acid/ELL
Solid phase extraction (SPE) purification
Solid phase extraction (SPE) with methanol and dichloromethane
florisil acid silica column and Carbon-Celite and florisil column
florisil acid silica column and Carbon-Celite column

Code ‘CC’ to be used for both SPE references, and both column references
GPC-CC-HPLC to be used for Gel permeation chromatography (GPC)/SiAl/HPLC
GPC-CC-ACD to be used for Gel permeation chromatography (GPC)/SiAl/Acid/ELL
Use of more detailed codes for METPS to be checked with MCWG and MEME


Dependency walk failed with python-specific package versions

This may be related to some of the other 'Dependency walk failed' issues, but I am posting it as an additional test case.

Poetry version: tested with 1.3.2 and 1.4.0 (was working in 1.1.15)
Python version: 3.7.16
OS version and name: Debian GNU/Linux 10 (buster)
pyproject.toml:

[tool.poetry]
name = "test"
version = "1.0.0"
description = ""
authors = ["test"]

[tool.poetry.dependencies]
python = "^3.7"
arctic = "==1.70.0"
pandas = [
    { version = "==0.23.4", python = "<3.9" },
    { version = "~=1.0", python = ">=3.9" }
]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

With the above pyproject.toml, poetry export fails with
Dependency walk failed at pandas

Changing the arctic dependency (which also has a dependency on pandas) to
arctic = [
    { version = "==1.70.0", python = "<3.9" },
    { version = "==1.70.0", python = ">=3.9" }
]

resolves the issue as a workaround.

Duplicate of #183


add https://tally.wikinaut.de/

Einfaches, konfigurierbares Tool für Verkehrszählungen, das im Browser läuft.

Uhm.. What is this and why?

Uhm.. What is this and why?

"tally", engl. counter, list
The tool works in the browser (Desktop, Smartphone…) and you can count items (fpr example, when you count traffic this would be bicycles, cars, busses for example). The list and names of items can be easily configured and is save in the browser's local storage (no data on the server).

Why just not using regular text notes app?...
I don't think this will be added to README

added to the fork https://github.com/Wikinaut/awesome-bikeprojects

Source code is https://github.com/Wikinaut/tally

Bruh


Bulk Level Edit v0

Initial attempt at bulk level edit tool. Likely to add more editable fields later.

Coverage remained the same at 61.885% when pulling 84097cdd07f24e622f7d347e1272ecda46ee28a7 on bulkleveledit into f009c128abcb162c434a1adb0416f7c386610d4a on master.