Wide Configuration (Number of FM, Type of sampling)

Hello my dear Sir,
why do you use so much FM per layer?
numberFMsPerLayerNormal = [30, 40, 50, 60, 70, 80, 90, 100]
I wonder, if you change it like this, you will not have also good results?
numberFMsPerLayerNormal = [15, 15, 15, 15, 15, 15, 15]
Let s say, you have 100 flair and 50 t2 images of size 200x200x200 with 2 classes, and want to train a model for all images. You add each of the files in trainConfig.cfg trainGtLabels.cfg trainRoiMasks.cfg. e.g. in one trainRoiMasks, you have flair and t2 files, meaning each file has its own roi and label file. And you have trainChannels_t2_flair.cfg, where you added all the files.
What can be a good configuration for the model to get reasonable results?
Thanks
Sami

Hello again sir,
lets say you have a data set with 150 Images.
What would you recommand one? To use the set like this 50-30-20 or 60-20-20 (Train-Validate-Test)?
Why do yo use so many FM in layers [..., 90, 100] ? As i first asked , 15 FM per layers would not be sufficient ? If no, why?
Thanks Sir

About the type of sampling, if you just have 2 classes, class 0 = non tumor or background and class 1 = tumor or foreground (or 2 classes for tumor and non tumor), there would not be a difference between typeOfSamplingForTraining = 0 and typeOfSamplingForTraining = 3  or which type would be better in this case?
How can we process more the class1, by setting the value proportionOfSamplesToExtractPerCategoryTraining = [0.3, 0.7] like this, for type = 3 OR
proportionOfSamplesToExtractPerCategoryTraining = [0.7, 0.3] like this, for type = 1 ?
Because I have Flair and T1 modalities and for Flair, i have a score of 70% and for T1 50%.  I try now differents settings. Is it also possible that you integrate the mean accuracy over all epochs for the training ?
Thanks
Sami

Hello Samieti02,
First, regarding the issues, please try to keep create separate github issues for different problems (number of FMs and type of sampling are unrelated)
There are no rule of thumb for number of FMs. It's empyrical. There is some theory on this, but this issue tracker is not for this, sorry. For any task, you make the model bigger while performance increases, you stop when performance decreases/overfits. Lets say it's trial and error.
The defaults that I provide are not optimal on "any" task. I am running multiple experiments on various databases over the course of my PhD, and I simply try to provide defaults that are as good as possible "on average", so that DeepMedic gives in general good performance out of the box for a random user/task. But I cannot guarantee optimality. Users have to take care of that.


Add deploy app label to toolbar

This PR adds the deploy app label as indicated in the mockups.
I spent some time trying to find a way to dynamically update the label based on whether or not the toolbar was 'narrow'. (I defined narrow as whether or not popupOpener was visible on the toolbar.)
Unfortunately, there appears to be a bug in how the label is set for extensions to the toolbar - it seems to be required to set the label value in the JSON file inside /schema, and the value in index.ts appears to be consistently ignored. See the final comment in https://discourse.jupyter.org/t/jl-4-toolbar-button-with-icon-and-text/20519/2.
I couldn't find a way to update non properties attributes in the JSON file (see also https://github.com/jupyterlab/extension-examples/tree/main/settings) and so I have not included any dynamic update to the label in this PR.
Reference Issues or PRs
https://github.com/nebari-dev/jupyterlab-jhub-apps/issues/2

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[x] Did you test the pull request locally?
[ ] Did you add new tests?

Documentation

Access-centered content checklist
Text styling

[ ] The content is written with plain language (where relevant).
[ ] If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
[ ] All links describe where they link to (for example, check the Nebari website).
[ ] This content adheres to the Nebari style guides.

Non-text content

[ ] All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
[ ] If there are emojis, there are not more than three in a row.
[ ] Don't use flashing GIFs or videos.
[ ] If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

bot please update snapshots


Try to use airspeed velocity to track benchmarks of this project?

I just discovered this project: airspeed velocity, and it's quite impressive (see examples: for numpy and for scipy).
I would like to try to do the same, it's really impressive and can be a great asset!

[ ] Each algorithm could be benchmarked on random problems ?
@xuedong @yfletberliac @guilgautier Vous en pensez quoi, le module airspeed velocity vous semble intéressant ? Et pour vos propres projets ?

TODO

[ ] Try to install airspeed velocity, and use it on a toy project (with toy code), just to check
[ ] Try to use it for bandit algorithm, and for instance our GLR-klUCB, with different (increasing) values of $\Delta n$, $\Delta t$, in different commits, to observe a decreasing time complexity ?
[ ] Try to use it for all the bandit algorithms in SMPyBandits (an obvious idea could be to write a Python or Bash script that will generate benchmarks for all of them, automatically, instead of writing test/benchmark scripts manually).

See https://github.com/Naereen/test-of-airspeed-velocity.git
Work in progress...

It's a powerful framework…
See for instance this:

That looks very good yes...

@guilgautier Benchmarks can be anything, from tracking average/sum rewards of different algorithms against different bandit problems (with varying nb of arms, difficulty, or horizon), to tracking the time or memory complexities of various algorithms, to anything I could think of.
@yfletberliac This module is very powerful indeed, but the most impressive features are the visualization interface, which basically solves #133 (way better than I could have ever dreamed of doing by myself).
Here are some screenshots from quick simulations I ran last night:
Rewards for different algorithms
As function of nb of arms (for fixed horizon T)

As a function of horizon (for fixed nb of arms K)

Memory consumption of different algorithms
(not sure yet if I wrote this one correctly, I don't understand the plot)

Time complexity of different algorithms

Best arm selection rate of different algorithms
For three different values of K

(I also don't understand the results, I need to check what I wrote quickly yesterday, klUCB should be very good, BESA is usually awesome)
It's all very impressive, right?
Bonus
And the bonus is that the HTML files generated by asv can be simply hosted online, and anyone can then browse through the web interface… Incredible :boom:!

So I decided to move all this on a separate repo: https://github.com/Naereen/SMPyBandits-benchmarks#about-the-benchmarks

https://perso.crans.org/besson/phd/SMPyBandits-benchmarks/


Description of PushedFilters is not completely correct

In the text & screenshot it's written about pushed filters, but it's not completely correct - execution plan always includes this field, and put there filters that could be potentially used, but actually pushed filters are marked with *.  And this is clearly seen in the execution plan, when there is an additional filtering happens in Spark.  If filter is pushed down, then filtering happens inside Cassandra, and this Filter step is not required.

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

ID: ec620c4b-721e-12ae-58d9-da9045aa788b
Version Independent ID: cbdba380-08cc-62d3-a154-cbeb94179fc2
Content: Read Cassandra API table data using Spark
Content Source: articles/cosmos-db/cassandra-spark-read-ops.md
Service: cosmos-db
Sub-service: cosmosdb-cassandra
GitHub Login: @TheovanKraay
Microsoft Alias: thvankra

@alexott Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

@alexott This is being assigned to the content author to evaluate and update as appropriate.

@alexott thank you for your suggestion, would you be interested in updating the doc? We encourage community contributions. you can click on the edit button on the page and submit a PR. Let me know in case you can't I can handle it at my end.

let me try to write it, maybe over the weekend...

Thanks, @TheovanKraay for addressing this issue.
#please-close


Rewrite website gist page

@pwin has pointed out, and I agree, that the gist page on the website is inadequate: it should contain an overview of gist and what it's good for, a visualization. Should be in a less chatty style. The detailed release notes don't belong there, rather there should be a pointer to the release notes, as well as individual pointers to the other documentation in the repository (contributions, release management, style guide). Ditto for a handbook/cookbook type of document as envisioned in issue #286.
This could be the same or similar to the repository readme in issue #87. We may want to assign both issues to a couple of people to collaborate on.
This is not tied to a particular release, but I'll add it to the next release project so we can keep an eye on it.

Provisionally assigning this issue to @pwin and myself, at least to organize it.

@rjyounes
What is the status of this?

Done.


Send a confirmation email

Hello,
I would like to send a confirmation email to the people that use the contact form to say thank you and that I'll contact them back asap.
How hard would it be to implement that?
Anyone can help me with that?
Thanks in advance for the help.

@Bawbd  you can use an autoresponder to achieve that, I believe it should come with your mail client, or your host provider.
If not, you can open a ticket with your host provider, and ask them how to go about it.


chore: Docker SDK minimum version should be 3.7.0

To support Docker Proxy Config (https://github.com/awslabs/aws-sam-cli/pull/1196)
Issue #, if available:
Description of changes:
Checklist:

[ ] Write Design Document (Do I need to write a design document?)
[ ] Write unit tests
[ ] Write/update functional tests
[ ] Write/update integration tests
[ ] make pr passes
[ ] Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I reviewed the changelog of Docker-Py library (https://github.com/docker/docker-py/releases) since v3.3.0. No breaking changes and no warnings or anything. The list of features & bug fixes look benign to me.


Crashing on a struct that gets persisted as JSON

Hi there, I add Ecto.DevLogger.install(Brybags.Repo) to my Application.start/2 callback, and start the application.
The following crash is logged to the terminal.
10:46:32.388 [error] Handler [:ecto_dev_logger, :brybags, :repo] has failed and has been detached. Class=:error
Reason=%Protocol.UndefinedError{
  protocol: Ecto.DevLogger.PrintableParameter,
  value: %Cheese.Assignments{
    members: [%Cheese.Member{node: :"brybags@catah", can_provide: []}],
    assignments: [
      %Cheese.Assignment{
        service: Ingest.Providers.GoatsSupervisor,
        shard_id: 0,
        owning_node: nil
      },
      %Cheese.Assignment{
        service: Cheese.Registration.ButterSupervisor,
        shard_id: 1,
        owning_node: nil
      }
    ]
  },
  description: ""
}
Stacktrace=[
  {Ecto.DevLogger.PrintableParameter, :impl_for!, 1,
   [file: 'lib/ecto/dev_logger/printable_parameter.ex', line: 1]},
  {Ecto.DevLogger.PrintableParameter, :to_expression, 1,
   [file: 'lib/ecto/dev_logger/printable_parameter.ex', line: 31]},
  {Ecto.DevLogger, :"-inline_params/4-fun-1-", 3,
   [file: 'lib/ecto/dev_logger.ex', line: 109]},
  {Regex, :apply_list, 5, [file: 'lib/regex.ex', line: 756]},
  {Regex, :apply_list, 5, [file: 'lib/regex.ex', line: 751]},
  {Regex, :replace, 4, [file: 'lib/regex.ex', line: 686]},
  {Ecto.DevLogger, :"-telemetry_handler/4-fun-0-", 6,
   [file: 'lib/ecto/dev_logger.ex', line: 82]},
  {Logger, :__do_log__, 4, [file: 'lib/logger.ex', line: 884]},
  {:telemetry, :"-execute/3-fun-0-", 4,
   [
     file: '/Users/Bryan.Hunt/repos/brybags/devlogger_experiment/deps/telemetry/src/telemetry.erl',
     line: 135
   ]},
  {:lists, :foreach, 2, [file: 'lists.erl', line: 1342]},
  {Ecto.Adapters.SQL, :log, 4, [file: 'lib/ecto/adapters/sql.ex', line: 1078]},
  {DBConnection, :log, 5, [file: 'lib/db_connection.ex', line: 1559]},
  {Postgrex, :query_prepare_execute, 4, [file: 'lib/postgrex.ex', line: 361]},
  {Ecto.Adapters.SQL, :query!, 4, [file: 'lib/ecto/adapters/sql.ex', line: 438]},
  {Cheese.Adapters.Postgres.Server, :handle_call, 3,
   [file: 'lib/cheese/adapters/postgres/server.ex', line: 107]},
  {:gen_server, :try_handle_call, 4, [file: 'gen_server.erl', line: 721]},
  {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 750]},
  {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}
]

I then install the handler manually, Ecto.DevLogger.install(Brybags.Repo) and everything works fine.
I was thinking, perhaps I should implement a PrintableParameter like such, but doesn't seem to have taken effect (I did edit the dep source code directly, but in any event, I'm not sure what approach I should take).
  defimpl Ecto.DevLogger.PrintableParameter, for: Any do # or maybe
    # test
    def to_expression(x) when is_map(x) , do: to_string_literal( Map.from_struct(x))
    def to_string_literal(x), do: Jason.encode!(Map.from_struct(x))
  end

Or would I have to do something like this?
  defimpl Ecto.DevLogger.PrintableParameter, for: Cheese.Assignments..
  defimpl Ecto.DevLogger.PrintableParameter, for: Cheese.Assignment..
  defimpl Ecto.DevLogger.PrintableParameter, for: Cheese.Member..

I'm asking because I'm wondering if I can add something to improve first-time user experience, it works fine by manually running Ecto.DevLogger.install(Brybags.Repo) -  but I'm thinking of the next person.

Some names have been changed to protect the guilty.

Thanks for the help @fuelen !

@bhuntpenn I just want to add, that there was one small bug with map representation, the end result has to be wrapped in quotes https://github.com/fuelen/ecto_dev_logger/commit/486c2bba192524049f09b9a4794c04be224bbde9
also, the changes you're doing are a result of updating from Ecto 3.9.0 to 3.9.1.
Ideally, you wouldn't have to manually convert your structs to JSON. Here is a corresponding issue I raised today https://github.com/elixir-ecto/ecto_sql/issues/463

Hey @bhuntpenn
The fix is already in the main ecto_sql branch https://github.com/elixir-ecto/ecto_sql/pull/464


HTMLEditorField Formats Feature Request/Bug Report

Affected Version
Silverstripe 4.4
Description
Don't know if this is a Bug or a Feature request but..
When adding Formats to the HTMLEditorField (editor.css etc) I can't select i.e. the "ul" tag and add a Format Class. It automatically adds the Format Class to all of the "li" tags inside the "ul" tag. Even if I use the "Tag Selector" bottom left on the Editor to specifically select the "ul" tag it still adds the Format Class to the "li".
Steps to Reproduce
Simply add a List of Elements inside the HTMLEditorField and select the "ul" tag with enabled Formats/editor.css and try to add the Format Class to the "ul" tag. (without manually editing the sourcecode)

I think you can in _config.php - see below, or just targeting more specific (element) with CSS. ATM working with 3.x, so it has to be adapted. Would that fit the bill?
$styles = array(
	array(
		'title' => 'Special-List',
		'attributes' => array('class'=>'special-list'),
		'selector' => 'ul'
	),
);

$cms = HtmlEditorConfig::get('cms');
$cms->setOptions(array(
	'style_formats' => $styles
));```

does not even need to be adapted (apart from use statement and HTML in caps) but works.
Though in general I think it's be more intuitive if you select a tag bottom left that formats should be added to that tag.

Hey @chromos33, unfortunately this behaviour is not within the control of the CMS, as it is a function of the TinyMCE editor. @lerni's suggestion seems like the best solution for your particular use-case, and since there's no further 'fix' to be made in the framework, I'm going to consider this resolved and close it.


screenshot missing expected text in page

Which version of PhantomJS are you using? Tip: run phantomjs --version.
2.1.1

What steps will reproduce the problem?

npm install phantomjs-prebuilt

cp node_modules/phantomjs-prebuilt/lib/phantom/examples/rasterize.js .

./node_modules/phantomjs-prebuilt/bin/phantomjs --debug=yes --ignore-ssl-errors=true --ssl-protocol=any --web-security=true --local-to-remote-url-access=true rasterize.js "https://console.ng.bluemix.net/docs/services/NaturalLanguageClassifier/index.html#gettingstarted" test.png

open test.png and notice missing text.

Which operating system are you using?
Mac OSX v 10.11.5

Did you use binary PhantomJS or did you compile it from source?
Install via the prebuilt binary using npm install of the phantomjs-prebuilt package.

Please provide any additional information below.
For some reason, unknown to me, the pages I'm trying to load with phantomjs don't load as expected.  When I load the url seen in steps to reproduce via phanomjs the screenshot looks like below.  It's missing the main text on the page compared to when the same URL is loaded in the browser.  I've googled and gone through several issues in this repo, trying different suggestions, but none seem to work for me. Thx in advance !

It looks like the content is loaded dynamically with a XMLHttpRequest, so you'll have to wait for the request to finish before you take the screenshot.

The rasterize.js example already waits 200ms before rendering the page, in the page.open call back.  I changed it to 20 seconds as seen here, but it didn't help.  The text on the page is still missing:
        window.setTimeout(function () {
            page.render(output);
            phantom.exit();
        }, 20000);

I don't know then. Try running the script with the command-line option debug set to true, and check for any errors.

When I run with --debug=true the only errors that show in the output are below.  However I see the same three 404 responses in Safari's network console, yet Safari renders the page as expected.
2016-06-27T09:39:38 [DEBUG] Network - Resource request error: QNetworkReply::NetworkError(ContentNotFoundError) ( "Error downloading https://ace-docs-test-20160620-091553.ng.bluemix.net/assets/fonts/helvetica-neue-light.woff - server replied: Not Found" ) URL: "https://ace-docs-test-20160620-091553.ng.bluemix.net/assets/fonts/helvetica-neue-light.woff"
2016-06-27T09:39:38 [DEBUG] Network - Resource request error: QNetworkReply::NetworkError(ContentNotFoundError) ( "Error downloading https://ace-docs-test-20160620-091553.ng.bluemix.net/assets/fonts/helvetica-neue-roman.woff - server replied: Not Found" ) URL: "https://ace-docs-test-20160620-091553.ng.bluemix.net/assets/fonts/helvetica-neue-roman.woff"
2016-06-27T09:39:38 [DEBUG] Network - Resource request error: QNetworkReply::NetworkError(ContentNotFoundError) ( "Error downloading https://ace-docs-test-20160620-091553.ng.bluemix.net/assets/fonts/helvetica-neue-bold.woff - server replied: Not Found" ) URL: "https://ace-docs-test-20160620-091553.ng.bluemix.net/assets/fonts/helvetica-neue-bold.woff"

I found another issue, that feels similar:
https://github.com/ariya/phantomjs/issues/14341
In that issue, it suggest slimerjs as an alternative to phantomjs.  I gave slimerjs a shot and it's able to correctly render the page I filed this issue for.  I subscribed to that issue, if it ever gets fixed I'll retry this issue.


Component does not re-render when changing a value

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

React: 18.2.0
ReactDOM: 18.2.0
Redux Toolkit: 1.9.6
React Redux: 8.1.2

What is the current behavior?
I have a value in my redux store and a component subscribed to that value via useSelector. I have encountered a scenario where changing the value does not re-render my component: https://codesandbox.io/s/react-redux-not-re-rendering-on-value-change-rzf3n4?file=/src/App.js
What is the expected behavior?
Changing the value should re-render my component
Which browser and OS are affected by this issue?
No response
Did this work in previous versions of React Redux?

[X] Yes

Still running into this one and it's super strange (and not easy to recognize in most cases).
Looking at the linked codesandbox, if we comment out the local state change, it works as expected:
  const [lastSortDirection, setLastSortDirection] = useState(sortDirection);
  if (lastSortDirection !== sortDirection) {
    // Setting state directly in the render method is an approach recommended in the react docs:
    // https://react.dev/learn/you-might-not-need-an-effect#adjusting-some-state-when-a-prop-changes
    // setLastSortDirection(sortDirection);
  }

With that line uncommented, the action seems to be dispatched properly, the reducer appears to function, the redux store seems to be updating as expected - but the component isn't re-rendering.
I was thinking it could be an issue with @reduxjs/toolkit, but I'm not sure since rolling react-redux to version 7.2.9, the codesandbox appears to work properly.
cc: @markerikson

My first guess would be something about useSyncExternalStore and rendering timing, but that's just a guess.

Thanks for taking the time to look at this and also for suggesting a direction.  I appreciate the response.

Looking into this a bit, I noticed that the issue occurs when setting state back to its initial value.  If we change the initial value to something other than ASC, the component re-renders as expected.
That led me to react issue #25565, which appears to be merged, but describes the issue exactly:

Steps To Reproduce

Have a component use useSyncExternalStore (for example redux 8)
Call setState outside of useEffect or event handlers (in render)
Trigger a change to the store back and forth

The current behavior

The component does re-render if the store value is updated to something different than its initial value
The component does not re-render if the store is updated to its initial value again

So I created a reproduction that doesn't use redux in any way, based on a test that was referenced in that issue and it seems like this is in fact an issue with react, but one that will be fixed in 18.3.0 (switching between 18.2.0 and the latest canary release toggles between broken and fixed): https://codesandbox.io/s/react-not-rerendering-v32s9x?file=/src/App.js

That led me to https://github.com/facebook/react/issues/25565, which appears to be merged, but describes the issue exactly:

Oh nice find, that does sound like the same issue

Just to keep this issue updated, the newly released react version 18.3.1 DOES NOT contain a fix for this issue. The fix for this issue exists in react canary only.


Update sand

Currently, sand is running g4eca923, rel6.8.1.  However, our latest release is 6.8.8.  So we should update the sandbox.

Depends on #244

Detached from OAuth for now, and updated.


Fix for getting an order by client order id

This PR fixes the get_order_by_client_id method on the TradingClient which is currently making requests to the wrong endpoint

Can this get merged?


gRPC interceptors

Summary

Provide gRPC interceptors to automatically capture errors and panics from servers and clients, both for unary and stream requests.
Motivation

gRPC is a high-performance, open source universal RPC framework originally developed by Google. It supports languages/platforms such as Python, Ruby, Kotlin and Go.
Go SDK already has some integrations with standard net/http package and some popular frameworks (like Gin, Martini and others).
Similar to other frameworks, having standard Sentry integration will make it easier for users to integrate Sentry with gRPC.
Additional Context

gRPC has the concept of interceptor (middleware), which could make it easier to implement an official Sentry integration. An interceptor is a function with a specific signature/type:
// Server interceptors (middlewares)
type UnaryServerInterceptor func(ctx context.Context, req interface{}, info *UnaryServerInfo, handler UnaryHandler) (resp interface{}, err error)
type StreamServerInterceptor func(srv interface{}, ss ServerStream, info *StreamServerInfo, handler StreamHandler) error

// Client interceptors (middlewares)
type UnaryClientInterceptor func(ctx context.Context, method string, req, reply interface{}, cc *ClientConn, invoker UnaryInvoker, opts ...CallOption) error
type StreamClientInterceptor func(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, streamer Streamer, opts ...CallOption) (ClientStream, error)

Using an interceptor is also straightforward (pseudo-code):
// Sentry initialization
err := sentry.Init(sentry.ClientOptions{
	// Either set your DSN here or set the SENTRY_DSN environment variable.
	Dsn<EMAIL_ADDRESS>	// Enable printing of SDK debug messages.
	// Useful when getting started or trying to figure something out.
	Debug: true,
})
if err != nil {
	log.Fatalf("sentry.Init: %s", err)
}
// Flush buffered events before the program terminates.
// Set the timeout to the maximum duration the program can afford to wait.
defer sentry.Flush(2 * time.Second)

// Initialize gRPC server
myServer := grpc.NewServer(
    grpc.StreamInterceptor(
        sentry.StreamServerInterceptor(),
    ),
    grpc.UnaryInterceptor(
        sentry.UnaryServerInterceptor(),
    ),
)

https://grpc.io/: website for the official gRPC implementation
grpc-ecosystem/go-grpc-middleware: middlewares for auth, logging and more that could be used as examples/references.

Hi, I opened a draft pull request for this feature. Could someone please take a look? Any feedback would be appreciated. https://github.com/getsentry/sentry-go/pull/312

Hi, I opened a draft pull request for this feature. Could someone please take a look? Any feedback would be appreciated. https://github.com/getsentry/sentry-go/pull/312

Any updates on this. Should be very useful for anyone working with Grpc. Not sure why the PR is still in review

Any update? x2 Still relevant

Hi, I've been using a solution for myself by integrating the Grpc Error usage and status package with Sentry. I'm open to contribute it here but not sure if this issue is still active or not.
I see an open PR which is not reviewed, is there any blocker?

@Glyphack We're slowly getting back to the Go SDK, and will take a look at adding integration for gRPC after #486 for sure

Any Update?

Any update? x3 Still relevant

Any update? x3 Still relevant

It'd be nice if you could just click the notifications to get updates, without posting a comment that emails everyone else uselessly. When there's nothing to add to the discussion there's no need to comment.
Anyway I have written this piece of code in the past based on Grpc status package:
https://github.com/Glyphack/koal/blob/master/server/pkg/sentrygrpc/sentrygrpc.go


CMake compiles with wrong config.h when compiling with HDF5 CMake

Hi. I'm trying to compile NetCDF 4.7.4 and the current master branch on Windows Subsystem for Linux 2/Ubuntu and I seem to be unable to compile with CMake with HDF5 1.10.7 also compiled with CMake. I can put the various errors below if requested, but ultimately they are all related to issues with preprocessor directives defined in the auto-generated config.h file referenced by many of the source files.
It seems that CMake has put the HDF5 include directory ahead of the NetCDF build directory in the compiler order of operations, so my compiler command more-or-less looks like this:
cd /home/sfreeman/gmac-libs/netcdf-github/netcdf-c/build/libdispatch && /usr/bin/cc -DCURL_STATICLIB=1 -DENABLE_SET_LOG_LEVEL -DH5_BUILT_AS_DYNAMIC_LIB -DHAVE_CONFIG_H -DRELAX_COORD_BOUND -I/home/sfreeman/gmac-libs/netcdf-github/netcdf-c/include -I/home/sfreeman/gmac-libs/netcdf-github/netcdf-c/oc2 -I/home/sfreeman/gmac-libs/netcdf-github/netcdf-c/libsrc -I/home/sfreeman/gmac-libs/HDF5-1.10.7-Linux/HDF_Group/HDF5/1.10.7/include -I/home/sfreeman/gmac-libs/netcdf-github/netcdf-c/build  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -Wconversion -fPIC   -o CMakeFiles/dispatch.dir/dutil.c.o   -c /home/sfreeman/gmac-libs/netcdf-github/netcdf-c/libdispatch/dutil.c

The /HDF5-1.10.7-Linux/HDF_Group/HDF5/1.10.7/include directory also includes a config.h file that the NetCDF source seems to pull from instead of the one generated by NetCDF's CMake process. That means that I was unable to compile until I either switched the order or renamed one of the files.
To confirm the issue, I have been able to temporarily solve the problem by temporarily renaming the HDF5 config.h file to something else.
OS Version: Windows 10 Pro Build 19041; WSL2 Ubuntu 20.04 LTS
C Compiler: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
cmake: cmake version 3.16.3
HDF5: 1.10.7
CMake Command:
cmake -D"CMAKE_PREFIX_PATH=/home/sfreeman/gmac-libs/HDF5-1.10.7-Linux/HDF_Group/HDF5/1.10.7/share/cmake/" -D"ENABLE_PARALLEL4=ON" -D"CMAKE_INSTALL_PREFIX=/home/sfreeman/gmac-libs/netcdf-compiled/" -D"ENABLE_DAP=OFF" ..
cmake --build . --target install

Odd. I thought hdf5 used a file name H5config.h.  Can you post here as an attachment the config.h file you see in the hdf5 directory?

One other thought. When building netcdf, you should be referring to the installed HDF5
director(ies), not the build directory. So is config.h in the installed HDF5 directory?

I've attached the config.h5 file here. It appears to be coming from the "LIBAEC" implementation  compiled with HDF5.
Yes, this is in the installed HDF5 directory that is created after running build-unix.sh in the HDF5 CMake directory.


Ark rcon does not work (Reopen issue #103)

Bug Report
This issue was already described in the closed ticket #103
Commands entered into the web console of a freshly installed ARK instance are not executed, even though the log indicates that the rcon connection has been established. Direct connections to the server using an external tool and the autogenerated password do work.
System Information

Operating System: Ubuntu 18.04.3
AMP version and build date: v<IP_ADDRESS>, built 18/11/2019 13:38
Which AMP release stream you're using: Mainline

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms
What are you trying to do?
Stopping the server, issuing saveworld / any console command.
What are you expecting to happen?
Commands to be sent to the server.
What is actually happening? (Nothing is not an acceptable answer!)
Commands are echoed but not executed.
Reproduction

Clean install
Set up new ark instance
Execute doexit command

There's a bug in ARK where if you connect to its RCON too soon after it starts up it will ignore any commands issued by that RCON session. Still trying to work out the best solution for this.

This issue appears now to be fixed by Nightly v20200405.1, built 05/04/2020 03:00. The fix works even if the RCON connection delay setting is set to zero. So this issue should probably be closed


Python: Update as_dict/from_dict

Issue #, if available:
Description of changes:

Fix as_dict/from_dict for SDK clients (just pass the client through)
Override Smithy-Python to write dict parameters correctly (snakecase, see https://peps.python.org/pep-0008/#function-and-variable-names)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

CI should pass now. I updated this branch with the latest python-reviewed branch, and now most CI is passing.
The final check will pass after https://github.com/smithy-lang/smithy-dafny/pull/541, which formats this file with its updated logic, so I will merge that in after this PR.


Way to disable minutes selection

Hi, is there any way how to disable minute selection? I need select only full hours.
Thanks

First, you need to set the option 'minView' to 1.
From documentation:

minView
Number, String. Default: 0, 'hour'
The lowest view that the datetimepicker should show.

Accepts values of :
0 or 'hour' for the hour view
1 or 'day' for the day view (you will use this one)
2 or 'month' for month view
3 or 'year' for the 12-month overview
4 or 'decade' for the 10-year overview. Useful for date-of-birth datetimepickers.

Now, the picker goes only to the 'day view' (the list of hours).
Well, when you choose an hour, the picker gets the current minutes, even if you picks a random hour of a random day. The minView option is just for display and user interaction.
To fix this, you will need to bind the 'changeDate' event to the instance of the picker and set the minutes of the date object returned by the event to 0.
Something like:
$("#elem").datetimepicker().on("changeDate", function(e){
   e.date = new Date(e.date.setMinutes(0));
});

If you want to use this value on another picker (restrict a second picker to make a range date, for instance) via setStartDate or setEndDate methods, you may encounter issues with timezone.
One solution is to use a timezone correction to the date object; and another is to get the value direct from the input element that the first instance is associated.
Both solutions you can see here:
https://jsfiddle.net/tmk0293z/5/

Thanks! This is what i need. 👍
Btw here is updated version for others what finding same solution, CORS in effect :) https://jsfiddle.net/tmk0293z/7/

Thanks! This is what i need. 👍
Btw here is updated version for others what finding same solution, CORS in effect :) https://jsfiddle.net/tmk0293z/7/

@lukyrys - I assume this is no longer an issue ? If so can you close this issue. Thanks.

You can use the onRenderMinute to add disabled as class to certain minutes


Update maven-javadoc-plugin to 3.0.1

I encountered following difficulty while preparing #203:
using
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T17:06:16+02:00)
Maven home: /usr/local/Cellar/maven/3.6.2/libexec
Java version: 11.0.3, vendor: Oracle Corporation, runtime: /Users/evgeny.mandrikov/.java-select/versions/jdk-11.0.3_osx-x64_bin
Default locale: en_FR, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: "mac"

mvn package fails as following
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:javadoc (verify-javadocs) on project streamex: Execution verify-javadocs of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:javadoc failed.: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:javadoc (verify-javadocs) on project streamex: Execution verify-javadocs of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:javadoc failed.
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution verify-javadocs of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:javadoc failed.
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
Caused by: java.lang.NullPointerException
    at org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast (SystemUtils.java:1626)

update of maven-javadoc-plugin to 3.1.0 and latest 3.1.1 do not help - they both fail as following
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.1:javadoc (verify-javadocs) on project streamex: An error has occurred in Javadoc report generation:
[ERROR] Exit code: 2 - error: option --module-path not allowed with target 1.8
[ERROR] error: option --add-modules not allowed with target 1.8
[ERROR] error: option --patch-module not allowed with target 1.8

however update to 3.0.1 helps.
@amaembo I'm wondering how you overcome these and why build works in Travis?

Coverage increased (+0.06%) to 99.575% when pulling 3696d6df320543447a12b1bb7af287aa08ce5f67 on Godin:update_maven-javadoc-plugin into e04fce236ab0c76bd5acb1ab908519b0dd7085b9 on amaembo:master.

In absence of Kotlin and presence of only Java files this update should not change values, I'm not going to investigate

Coverage increased (+0.06%)

because probably coveralls is drunk - it also reports increase in #205.

@amaembo I'm wondering how you overcome these and why build works in Travis?

Not sure. It just works here.


Make DeepHashObject function deterministic.

This address the issue with flapping containers (#4414). I've tested it using guestbook example and the frontend containers are no longer flapping.

LGTM


[ja] Localize Tightly Coupled Architectures for Japanese

Localize Tightly Coupled Architectures for Japanese
https://glossary.cncf.io/tightly-coupled-architectures/

I would like work on this task, Kindly assign it to me, Thanks

Thank you, I create a pr but got some kind of problem, it is my first pr so
kindly help me out
On Sun, Jun 18, 2023 at 8:05 AM nao @.***> wrote:

Assigned #2137 https://github.com/cncf/glossary/issues/2137 to
@nikhilchauhangithub https://github.com/nikhilchauhangithub.
—
Reply to this email directly, view it on GitHub
https://github.com/cncf/glossary/issues/2137#event-9559993217, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A3Y67XBCAOOG2NRB2OXNWEDXLZSOVANCNFSM6AAAAAAZEZDJXE
.
You are receiving this because you were assigned.Message ID:
@.***>

I'm working on this one.
Please assign me.


how to import one file from another file? move or move ir

how to import one file from another file?
move or move ir.

Can you please ask this on the discussion forums instead? https://community.libra.org/
This doesn't sound like a specific issue where something is not working correctly.


Replace OSSAccessKeyId with XXXX in ai_agent module

Change-Id: Ia8906bd90d52dc67b995a1ad8631d4ee606d83ce

感谢提交 Pull Requests！
Thanks for submitting a pull request.

start build

手动触发！
感谢 Pull Requests！
Thanks for submitting a pull request.

auto build fail,number:191

Security Check : b38c216545bca3d2976b516ed1746bd4ec1d9339


Investigate missing data on sysdig dashboards

The overwhelming majority of the downtime alerts we receive on our dts-sysdig-alerts channel in Rocket.Chat are due to a minute or so of missing data for the monitored containers.
Please investigate.

We need to understand and document why this occurs.  I believe there is an explanation we've received previously for why this occurs.
Understand and document whether there is anything that can be done to resolve the issue.
For example:

Is this something that Platform Services and/or SysDig can resolve?
Are there different metrics (more reliable ones) we should be using?
Do we need to process/filter the metrics in a different fashion to "average out" the missing data?
Do we need to be looking at a different time window for the alerts?
We need to be able to filter out these false positives, while at the same time ensure we're getting timely alerts for real events.

Update the alerts to ensure we receive fewer false positives.

Based on the call with Dustin today there is still work to be done on this ticket.  Also, please document some of the findings that have been shared.

Based on Call with Dustin on Friday (Dec 9th, 2022) we found out that downtime alert is not a good way to determine when any pod is down as that alert is producing results over 100% of the entire timeline instead of just 3 minutes.
Dustin is going to help us setting up a new alert which will show when any pod is down for more than a minute

All the unwanted Sysdig alerts are dis-abled now and new alerts are created instead. We are no longer receiving the overwhelming majority of the downtime alerts we receive on our dts-sysdig-alerts channel in Rocket.Chat.


on macos Big Sur: claimInterface always return false

I try the example of this package on macOs Big Sur 11.6.
I open a device: ok
getConfig: ok
claimInterface false
I don't know why.
Do I need to config something in order the quick_usb work o macOS?
thanks

You'd better try https://github.com/woodemi/web_usb.dart to ensure your operation permission


apoc.coll.different() returning false when it should return true

Expected Behavior (Mandatory)
RETURN apoc.coll.different([1,1,3]) should yield true because 3 is different from 1, and the docs describe the function as:

apoc.coll.different(coll [Any]) - returns true if any of the values in the given list are different.

The word any implies to me that if a single number is different, the function should return true.
Actual Behavior (Mandatory)
RETURN apoc.coll.different([1,1,3]) yields false.
How to Reproduce the Problem
Run the query: RETURN apoc.coll.different([1,1,3])
Simple Dataset (where it's possibile)
No dataset needed
Steps (Mandatory)

Not sure ...

Screenshots (where it's possibile)

Specifications (Mandatory)
Currently used versions
Versions

OS: macOS 12.6.1
Neo4j: 5.1.0
Neo4j-Apoc: 5.1.0

Thank you for reporting this.
I agree the documentation is contradicting itself.
In the usage example,  as the usage examples it is described that the procedure returns true if all values in the collections are different, which is the correct description.
We will update the documentation and get back to you.

Sorry for the slow reply, seems this got fixed without the issue being updated and you being replied to! 🙈 (release 5.4)
So you want to know if all the items are the same or not? perhaps using the Cypher function all would work? e.g
WITH [1,1,1,1] as list
RETURN all(a in list WHERE a = list[0])

vs
WITH [1,1,2,1] as list
RETURN all(a in list WHERE a = list[0])

Not sure if this helps, but we unfortunately aren't extending APOC core anymore so we can't add a new apoc.coll function! Thanks for reporting this issue though :)


Work with tmp files for segmentation pipeline

Fixes #59
We do not alter original inputs anymore, we do everything with a tmp file, and delete it when done.

Ok, updated after @perone review.


A fatal error has been detected by the Java Runtime Environment

2016-08-29 12:29:18,140 INFO [main] [org.mycontroller.standalone.StartApp:108] MyController.org server started in [15490] ms
2016-08-29 12:40:02,287 WARN [Thread-5] [org.mycontroller.standalone.operation.PushbulletUtils:97] Note push sending failed:ClientResponse(statusCode=400, errorMsg={"error":{"code":"invalid_param","type":"invalid_request","message":"The param 'email' has an invalid value.","param":"email","cat":"\u003e:3"},"error_code":"invalid_param"}, entity=null, success=false)]

**~13:51**
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x76871ce4, pid=702, tid=0x6d58b460
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) Client VM (25.101-b13 mixed mode linux-arm )
# Problematic frame:
# V  [libjvm.so+0x477ce4]  ContiguousSpace::prepare_for_compaction(CompactPoint*)+0x9c
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/pi/mycontroller/bin/hs_err_pid702.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

hs_err_pid702.log
http://pastebin.com/U9fetXm2

Currently I am starting mycontroller manually through the ./start.sh
Is it possible to write a service that (even if it crashes) will be immediatly restartet?

Is it possible to write a service that (even if it crashes) will be immediatly restartet?

We may need to configure watchdog timer to monitor and start MyController on crash. If you want to start MyController on boot, have a look here

A fatal error has been detected by the Java Runtime Environment

For now I do not have any clue on this. It might be issue with JDK, If you face very often change JDK version any try again.
If you remember the steps(leads crash) please report. also you may try to enable core dump.
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

I m using the following version, I never faced any issue.

@cimba007 Are you using python script engine?

Nope. I just started today with the latest scnapshot and restored from a previous backup. This is the first time this java crash occured to me. I will monitore it and look if I have further issues.
As I currently start mycontroller every minute via crontask I don't expect further issues.
I am using java 1.8.0_101, only 36 versions newer then yours ;-)
http://forum.mycontroller.org/topic/34/mycontroller-on-raspberry-pi-rpi

@cimba007 cool, if we face this issue again we will think about it.

I am using java 1.8.0_101, only 36 versions newer then yours ;-)

I do not meant that your are using old version ;) I meant that particular version might have issue.

@Watchdog: Maybe this can be incorporated into the startup script? Start mycontroller and then do this again in a 60second loop. If calling ./stop you should issue stop command to mycontroller java AND stop command to the looping start script.
Just a suggestion ;-)

Yes, this should be nice one. I will think about this when I get time +1

For now I added this to my crontab -e

~/mycontroller/bin/start.sh
Your startup script is already checking if mycontroller is running so there should be no problem .. though a service would be cleaner

@cimba007 Yes, I forget to mention this. You found it! +1

I had a similar crash :

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0xb66238f8, pid=536, tid=2851075168

JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
Java VM: Java HotSpot(TM) Client VM (25.65-b01 mixed mode linux-arm )
Problematic frame:
V  [libjvm.so+0x2e68f8]

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

An error report file with more information is saved as:
/home/pi/mycontroller/bin/hs_err_pid536.log

If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp

@gbrd Could you please elaborate more on this, like in which case did you face this issue? Without any clue we may not find the root cause of the crash.
Thank you!

I got a few crashes/errors over the last week too. As I restart mycontroller every minute by a cron-task I noticed nearly no outages .. but recently my raspberry pi hang up totally again.
Remember: I got a new micro sd card and freshly installed raspbian
Last SIGSEGV was 2 days ago ..
Desktop.zip
What I can tell .. I am so far only doing some load tests. No rules, no scripts, no operations involved!

@cimba007 @gbrd Any one of you please enable core dump and send me the dump for further analysis. To enable core dump you have run ulimit -c unlimited before starting MyController. To knoe more about how to enable ulimit please visit this or some other doc from google.

I entered the command. What will happen now? Will a SIGSERGV of Java write a core-dump file we could send you?

@jkandasa: Are you using the same Java version as we do?
http://forum.mycontroller.org/topic/34/mycontroller-on-raspberry-pi-rpi
If not could you maybe upgrade? This might help reproducing our crashes.
If not .. what Java-version are you using? Might be worth trying your version.

@cimba007 No I'm using old version jdk-8u65-linux-arm32-vfp-hflt.tar.gz you can download from here
I will upgrade to your version(1.8.0_101) and try.

@cimba007 reopen this ticket if you face this issue.


Missing text direction schema translations

t.labels.alignments.left_to_right and t:labels.alignments.right_to_left returns an error

Opening in theme instead


Query Configuration Revamp

By amount, ascending or descending

Ideally, the user should be able to combine and use these operations:
Filtering

Amount (Less than, greater than)
Type (Income, Expense)
Medium (Cash, Digital)
Time (From, To)

Sorting

Amount (Greatest first, lowest first)
Time (Earliest first, latest first)

In order to achieve this, a new model is proposed with Raw SQL queries. The query will be built and executed at runtime depending on the values of the various parameters outlined above.
The user should be able to modify the parameters of the query on the fly and revert to the original state fluently from the HomeFragment itself.


How can I set download folder for chrome in specDrill config json?

Scenario: I would like to have a certain folder for the downloads in Chrome. Is this possible ?
I tried this but it did not work.
"chrome": {
"path": "%USERPROFILE%\.nuget\packages\Selenium.WebDriver.ChromeDriver\116.0.5845.9600\driver\win32",
"arguments": [
"--ignore-certificate-errors",
"--download.default_directory=C:\Downloads\New folder"
]
}
And tried this and did not work.
"preferences": [ "--download.default_directory=C:\Downloads\New folder" ]

Applied fix 09cb03d
In specDrillConfig.json you should be able to specify preferences as follows:
//...
"drivers": {
  "chrome": {
    "path": "%USERPROFILE%\\.nuget\\packages\\selenium.webdriver.chromedriver\\116.0.5845.9600\\driver\\win32",`
    "arguments": [
      "headless",
      "--disable-extensions",
      "disable-features=VizDisplayCompositor",
      "--incognito",
      "--enable-javascript",
      "--disable-gpu",
      "--disable-dev-shm-usage",
      "--ignore-certificate-errors"
    ],
    "preferences": {
      "download.default_directory": "%USERPROFILE%\\Downloads",
      "intl.accept_languages": "nl",
      "disable-popup-blocking": true
    }
  },
//...

Please try again with latest version (SpecDrill vSpecDrill.<IP_ADDRESS>8).
Feel free to provide feedback if this is not working.
Thanks!


docs: Update events.md

improved documentation about notifee.onBackgroundEvent to receive notification events in background appState

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


Support Neovim floating window

It would be cool if Zl would also spawn a floating window/popup window when using neovim instead of vim.

Hi, @Zarathustra2 !
I had referred to Neovim document about floating window because I'm not Neovim user.
I found it floating window is just a buffer, furthermore it is not selection menu.
Now, ZL Command behavior is depends on popup_menu() function.
If I find a good way, I would like to implement it, but the best thing is that Neovim implements popup_menu().

I see. Hopefully they will implement the api because I really like your plugin!

Hi, @Zarathustra2 !
I have implemented an plugin that supports operations like Vim8 popup-menu() even when using Neovim.
This plugin is available in spelunker.vim.
If you want try it, please update the plugin and add a plugin kamykn/popup-menu.nvim.

Thanks for your efforts!
My friend can confirm that it works.
But I am getting the following error when executing ZL:
Error detected while processing function spelunker#correct_from_list[7]..spelunker#correct#correct_from_list[27]..popup_menu#open[30]..<SNR>133_get_bin_path:
line   14:
Binary not found.

nvim -v  Output
$ nvim -v
NVIM v0.5.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/builddir/build/BUILD/neovim-<IP_ADDRESS>.git.13628.49cd750d6/build/config -I/builddir/build/BUILD/neovim-<IP_ADDRESS>.git.13628.49cd750d6/src -I/usr/include -I/usr/include/lua-5.1 -I/builddir/build/BUILD/neovim-<IP_ADDRESS>.git.13628.49cd750d6/build/src/nvim/auto -I/builddir/build/BUILD/neovim-<IP_ADDRESS>.git.13628.49cd750d6/build/include
Compiled by mockbuild
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info

cc: @xiamaz

When I try it in a new buffer, the popup window will work the first time correctly after calling ZL, but stops working when calling ZL again.
The following error is displayed on subsequent calls:
Error detected while processing function spelunker#correct_all_from_list[7]..spelunker#cor
rect#correct_from_list[27]..popup_menu#open:
line   35:
E95: Buffer with this name already exists

Thank you for your bug report!
@Zarathustra2
popup-menu.vim plugin are written by golang. I  added support for some archtecture.
Please update the plugin and try again!
@xiamaz
I changed the buffer name and added error handling in popup-menu.vim.
https://github.com/kamykn/popup-menu.nvim/commit/c189b90665d9813906dc783f5faa64e36458aee3
If the errors occur again, please let me know the steps to reproduce.

@kamykn Thank u for helping!
My issue has now being fixed, but now I am getting the same issue as @xiamaz when executing ZL again

error occurred:Vim(file):E95: Buffer with this name already exists

@Zarathustra2 @xiamaz

error occurred:Vim(file):E95: Buffer with this name already exists

Maybe this bug is fixed by this pull request.
https://github.com/kamykn/popup-menu.nvim/pull/2
Please update popup-menu.vim plugin again.

Can confirm that it now works! Thx @kamykn


[9.x] Add exists() method to collection

This new method:
if ($collection->where(...)->exists())

it's just a shortcut for:
if ($collection->where(...)->count() > 0)

To me, it's handy. What do you guys think about it?

 I wasn't aware of this method. In my mind, I was searching for a exists() like we have in the Query Builder.

So, maybe this new method it's not a good idea. Feel free to close the PR. 😄

I am not a maintainer, so I cannot close PRs! 😅

@zoispag Yeah, actually was a note for the maintainers. 😅

You can also use contains.
And you can close the PR yourself below the new comment box.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Breadcrumb link accessibility

Hi,
The breadcrumb  tag currently doesn't change colour in its hover state. In an app that we're building using breadcrumbs, it's failing accessibility because of this. Considering the link is styled black with an underline - what would the guidance be for the colour to change to on hover? Happy to make the change in a PR.

Hi Jamie,
I am not aware of any requirement that says links must have a distinct hover state, as long as it's clear that they are clickable. It would be good to understand what you mean when you say it's failing accessibility – is this something that's been flagged in an audit or by automated testing tools?
Thanks,
Ollie

Following the launch of the GOV.UK Design System, GOV.UK Frontend Toolkit will now only get major bug fixes and security patches, so I'm going to close this.
The behaviour of the breadcrumbs is the same in GOV.UK Design System / Frontend as it is in Elements, so if you believe this is still an issue please add it to the backlog issue for Breadcrumbs.


URLs

This library looks really nice, but I was wondering how to insert URLs like the React library it is based on? And if there could be an example included in the documentation? Thanks!

Nevermind, just using a link tag works fine.


Inject module_instance_id as prefix into database operations

This PR introduces a wrapper struct to wrap the DatabaseTransaction into an IsolatedDatabaseTransaction. IsolatedDatabaseTransaction will now always prepend a 2 byte "module_prefix", which is the ModuleInstanceId, when inserting and reading from the database. The purpose of this is to logically partition the database so modules can use keys that have conflicting prefixes. This also allows us to use the same key for different modules (ex: ModuleDatabaseVersion).
When passing a DatabaseTransaction to a module, it is first wrapped using with_module_prefix, which wraps the existing DatabaseTransaction inside an IsolatedDatabaseTransaction. This means they cannot overwrite keys from other modules. The fedimint server is now responsible for committing the wrapped DatabaseTransactions, because the individual modules cannot commit because they do not own the transaction. This approach also allows the fedimint server to create a DatabaseTransaction that spans over multiple modules and is also atomic.
Original issue

Sems OK, but IMO, we need to do the prefix adding and removal on the lower level APIs. The higher APIs are just a convenience layer.
BTW. We can still pass to the modules the a DatabaseTransaction. It's just that the DatabaseTransaction::tx should now hold Boxwhere X is theModuleDatabaseTransaction`.
The way I see it:
struct ModuleDatabaseTransaction<'a> {
  tx: &'a dyn IDatabaseTransaction<'a>
  prefix: Vec<u8>
}

impl IDatabaseTransaction<'a> for ModuleDatabaseTransaction<'a> {
   /* impl all the raw methods by adding suffix to the key and removing if needed on the way back (like in PrefixIter) */
}

then maybe a helper:
impl<'a> DatabaseTranstion<'a> {
   fn with_module_prefix(self, module_id: Vec<u8>) -> &'a ModuleDatabaseTransaction<'a> {
      ModuleDatabaseTransaction::new(self, module_id_to_db_byte_prefix(module_id)))
   }
}

so that in the code we can quickly turn
for (module_id, module) in self.modules {
   module.some_method(&dbtx.with_module_prefix(module_id), other_params).await?;
}

As you can see tx: &'a dyn IDatabaseTransaction<'a>, to avoid loosing the ownership of the original wrapped transaction, and get it right back after the call has ended.
There might be something I'm missing here, and async/await might get it the way, so please ping me if anything is unclear or you get stuck with some async/await + lifetimes problems.

@dpc @jkitman do you want to take another look or can we go ahead and merge?

Something tells me that it's best to avoid that instance_id in that IServerModule, even if just to keep the typed and untyped version the same. It might come later and make us have to insert some dummy values where otherwise we wouldn't have to, or be a gateway to breaking the module-id obliviousness of the module implementation.
I think it should be calling code's responsibility to do this. I don't think there will be many places doing it, and it's not something that can be easily overlooked.
@elsirion What do you think?

I'll make the change, I agree it's not too difficult to do and the calling code should be responsible.

Easier and safer for module writers to not worry about db txs :+1:

Can we merge @dpc @jkitman ?

I'm fine with landing already but we need to follow up with doing the same isolation technique for db: Database that we give that wallet.

Ah yes, I'll address that next. Will rebase then merge


Cannot connect to the cluster: An unknown problem occurred. Consider taking a peek at the debug logs.

I have my k8s cluster up and running in EKS.
When I pass the kubeconfig file to Monokle app. It cannot connect to the cluster.

For me, it seems like related to space in context name, e.g. cluster-id-John Smith-namespace. This context name is created by a CLI tool that does user authentication in my company.

Nothing helped. I dont see any space issue in my kubeconfig file.. Adding more debug logs would help much to narrow down.
[11:02:57 - stderr]
Cannot connect to the cluster: An unknown problem occurred. Consider taking a peek at the debug logs.

In my case (MacOS connecting to EKS), the debug log just shows a kubectl proxy command
kubectl --context="arn:aws:eks:us-west-2:XXX:cluster/YYY" --kubeconfig="/Users/me/.kube/config" \
  proxy --port=30007 --append-server-path=true

If I run this myself, I see:

error: listen tcp <IP_ADDRESS>:30007: bind: address already in use

If I remove the --port argument, then the proxy runs and seems to be working.
Perhaps this provides a clue?

Hi folks!
We're having some trouble to reproduce the EKS connectivity problem. We tried with several (new and old) clusters and all of them connect. The authentication works with an ExecConfig using aws eks get-token under the hood (found in the kubeconfig).
As for debug logs, they would only show after the proxy properly started, which does not help if the proxy boot itself fails. @monojack made a patch release last Thursday to improve logging. Unfortunately, that does still not fix the EKS connectivity issue but it might uncover more information as to why it fails on your end.
For those who reached out to us:

@GilbertGeliba: The release also included a minor fix to properly stringify parameters so your problem should no longer happen.
@Serverfrog: from the logs we believe you are still on the old version, can you update and try again? The previously mentioned fix might also have fixed your problem.
@joebowbeer, @bala-gif, @StefanSa: From Joe's latest message it seems that despite the improved logging, we still have no insight into what causes the problem. Would anyone be open to join our Discord and have a short call with us to get to the root cause of this problem?

Thank you all for taking the time to report this to us.

Hi folks!
We're having some trouble to reproduce the EKS connectivity problem. We tried with several (new and old) clusters and all of them connect. The authentication works with an ExecConfig using aws eks get-token under the hood (found in the kubeconfig).
As for debug logs, they would only show after the proxy properly started, which does not help if the proxy boot itself fails. @monojack made a patch release last Thursday to improve logging. Unfortunately, that does still not fix the EKS connectivity issue but it might uncover more information as to why it fails on your end.
For those who reached out to us:

@GilbertGeliba: The release also included a minor fix to properly stringify parameters so your problem should no longer happen.
@Serverfrog: from the logs we believe you are still on the old version, can you update and try again? The previously mentioned fix might also have fixed your problem.
@joebowbeer, @bala-gif, @StefanSa: From Joe's latest message it seems that despite the improved logging, we still have no insight into what causes the problem. Would anyone be open to join our Discord and have a short call with us to get to the root cause of this problem?

Thank you all for taking the time to report this to us.

For the third issue, I guess it is related to the kubectl version. I am using v1.20.15 due to our cluster version.
[11:09:01 - stderr]
Error: unknown flag: --append-server-path\nSee 'kubectl proxy --help' for usage.\n
[11:09:01 - exit]
Exited with code 1

I repro'd again on MacOS with version 2.4.8:

Cannot connect to the cluster of my-eks-context. The proxy could not be started.

Debug logs
kubectl --context="my-eks-context" --kubeconfig="/Users/me/.kube/config" proxy --port=30027 --append-server-path=true

Headlamp, Lens and Octant can now connect. (Headlamp added support recently.)


Using get_query_pool_results with vk::QueryResultFlags::WITH_AVAILABILITY flag

Currently get_query_pool_results assumes a stride of mem::size_of::<T>() as _, however, when using vk::QueryResultFlags::WITH_AVAILABILITY the stride should I think be double that to account for the availability bit.

This also holds for the VK_QUERY_RESULT_WITH_STATUS_BIT_KHR flag.
See note from the specification:

Note:  If VK_QUERY_RESULT_WITH_AVAILABILITY_BIT or VK_QUERY_RESULT_WITH_STATUS_BIT_KHR is set, the layout of data in the buffer is a (result,availability) or (result,status) pair for each query returned, and stride is the stride between each pair.

https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetQueryPoolResults.html#_description

@YouSafe we've covered this in https://github.com/ash-rs/ash/issues/100#issuecomment-1530041456, https://github.com/ash-rs/ash/issues/639#issuecomment-1432767800 and #644: use a tuple (or likewise repr(C) type) to receive the boolean. The advantage is that the T type immediately incorporates the status or availability bit (how else would you receive that with this function, otherwise?).
Closing as duplicate.

I incorrectly assumed that T should only be a primitive such as u32 or u64, when a pair would also work and provide the correct stride.
Apologies for this oversight.


Fix spawning actors with duplicate id bug

This PR addresses this issue #163.

Registry.add() now returns an error if the process exists.
Instead of running through the actor startup sequence for the duplicate process, we will just return the PID as it should be a valid PID for the original process.
Added test case to ensure only one process is started.

If you check Registry, it's not possible to add 2 actors with same ID. An event is broadcasted and you can subscribe into that in case you want to have a specific logic.
For reference: https://github.com/anthdm/hollywood/blob/master/actor/registry.go#L60-L70

If you check Registry, it's not possible to add 2 actors with same ID. An event is broadcasted and you can subscribe into that in case you want to have a specific logic. For reference: https://github.com/anthdm/hollywood/blob/master/actor/registry.go#L60-L70

I understand that there is a DuplicateIdEvent that is published in this scenario, but the issue is that the startup sequence (actor.Initialized and actor.Started events) is still triggered for the duplicate actor. In my opinion this is unexpected behavior that can cause bugs.

If you check Registry, it's not possible to add 2 actors with same ID. An event is broadcasted and you can subscribe into that in case you want to have a specific logic. For reference: https://github.com/anthdm/hollywood/blob/master/actor/registry.go#L60-L70

I understand that there is a DuplicateIdEvent that is published in this scenario, but the issue is that the startup sequence (actor.Initialized and actor.Started events) is still triggered for the duplicate actor. This can be seen in the issue I raised #163. In my opinion, this is unexpected behavior that can cause bugs.

I will investigate it further and see what is causing the issue. Normally, the registry should not do anything when the process exists, thus no duplicate events should be present

@troygilman0 @tprifti I think we have two options here.
When there is already an actor with the given name/id

we generate a random one.
we call process.Shutdown() from the registry when it encounters a duplicated name/id

Looks good to go. Thanks for all the effort.


[BUG] accessToken middleware not included in OA3 routes

Describe the bug
The accessToken middleware is not included OA3 routes
Current output:
  router.get(
    '/',
    celebrate(
      logsValidators.getLogs
    ) /* Validate the request data and return validation errors */,

    async (req: any, res: express.Response) => {
      return res
        .status(200)
        .json(
          objectReduceByMap(
            await LogsDomain.getLogs(req.jwtData, req.query),
            logsTransformOutputs.getLogs
          )
        );
    }
  );

To Reproduce
Define specifications with OA3 securitySchemes and routes that include security definitions.
Expected behavior
Routes include accessToken middleware.
  router.get(
    '/',
    accessTokenMiddleware([
      'Authorization',
    ]) /* Validate request security tokens */,

    celebrate(
      logsValidators.getLogs
    ) /* Validate the request data and return validation errors */,

    async (req: any, res: express.Response) => {
      return res
        .status(200)
        .json(
          objectReduceByMap(
            await LogsDomain.getLogs(req.jwtData, req.query),
            logsTransformOutputs.getLogs
          )
        );
    }
  );

Node & NPM version
Operating system:

OS: [e.g. LinuxMint]
Version [e.g. 19.2]

Additional context
Add any other context about the problem here.

If your PR resolved and you are happy with the result could you mark this issue as closed @Celleb

Looks like the original had a resolution on the merge request, so that got lost


pip install not working

Hi,
If i install from source zip, it works fine on Arcgis 10.4.1 python installed.
But it fails on install through pip, Using: ArcREST_Package-3.5.6-py2.py3-none-any.whl
It fails numpy not installed, and therefore cannot continue.
I have checked numpy is installed:
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

import numpy
numpy.version.version
'1.9.2'

but if i upgrade numpy to a later version, the pip install works perfectly.
Rudy

Hi,
It also seems that the pypi version is older than the source relase on github
Rudy

I updated pip today, please test again

Hi,
I have tried the updated packaged, but is still trying to install numpy, even if is installed already.
I have used the no depencies and then it seems to install correctly
pip --no-deps  wheel\arcrest_package-3.5.9-py2.py3-none-any.whl
Rudy

arcrest no longer valid - using python api


Dataset release?

Dataset release?

Hi, we release the training data for InternVL-Chat-V1.2. You can get then from here.
Or do you want to get the data described in table3 of the paper?

@czczup  Yes, data in table3


[Bug]: some confusion about sample case

Current Behavior
Thank’s for your awesome lovelace-mushroom
Although this is not a bug, it looks weird
when I browse the sample code in the directory lovelace-mushroom/.hass_dev/
mode: storage
  dashboards:
    lovelace-mushroom-showcase:
      mode: yaml
      title: Showcase
      icon: mdi:mushroom
      show_in_sidebar: true
      filename: lovelace-mushroom-showcase.yaml

you put these codes in the file named ui-lovelace.yaml, then inculde it in configuration.yaml
lovelace: !include ui-lovelace.yaml
However, in my opinion, ui-lovelace.yaml is a specific file name used for the default dashboard (aka main dashboard), the name should be used for writing lovelace view code rather than the config code. (refer to dashboards )
when you set  storage mode for main dashboard,   "ui-lovelace.yaml" file will no longer be required ,so when you use the same name ui-lovelace.yaml to include config code to configuration.yaml will not cause problems,but this looks weird
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS:
- Node:
- Version:
- Hassio:

Anything else?
No response

Hello!
So your suggestion is to rename the file to lovelace.yaml ?

Hello! So your suggestion is to rename the file to lovelace.yaml ?

yes, it's a good idea more readable


Problem: (fix #4)Missing documentation for state sync

Solution: add guide for state-sync configuration

/staging

/staging

Should we also change the the log for statesync to debug?
i.e.log_level = "main:info,state:info,statesync:debug,*:error"
So the the user will be able to view the snapshots requests and so on.

Should we also change the the log level for statesync to debug?
i.e.log_level = "main:info,state:info,statesync:debug,*:error"
So the the user will be able to view the snapshots requests and so on.

I think it is optional.
I added the advice for log-level for the guide.


Big data set causing R to crash when using "identify_neighbourhoods" with "hierarchical" method

Hi Yuzhou,
When executing the function "identify_neighbourhoods" using the method "hierarchical" on a large dataset (~500,000 rows observation(, R would crash.

Hi @ayhanxian,
If you encounter memory issue, try adjusting the Rstudio memory limit by changing the R_MAX_VSIZE variable in the .Renviron file. Please refer to this thread on Stackoverflow.
Alternatively, you could use "dbscan" instead of "hierarchical" method. Please exploring different parameter values that work best for you dataset.
Yuzhou


Add a lot of Argument parsing code

This pull request adds macro argument parsing for the SugarCube2 format.
Much of the parsing code is copied (with modifications) from SugarCube2 to provide accurate parsing and errors (as well as not having to implement it all).
When it encounters an error in syntax it adds it to the editor through diagnostics, making it easier to locate where the issue is.

After this is likely the macroList caching (relatively simple) and the Argument-type validation (not too awful).
Note: There are some macros that set themselves as skipArgs: true in the SugarCube code, but seem to do that for performance reasons as they don't use the arguments. Ex: nobr, silently, etc. Those have been currently set to skipArgs, but would be better fit for the argument-type validation PR I plan on making where you can specify that macro takes 0 arguments (and thus get an error if you give it any).
Note1.5: This may lead to errors popping up in people's projects where they had a custom-macro that did its own parsing, but they simply need to set the skipsArgs property to true in their macor-definition file.
Note2: I'm not 100% on the Position/Range handling, and those parts could serve to use some validation. Perhaps I could also make them less likely to completely fail if they manage to get into an invalid state.
Note3: Checking if a given passage is valid is also a goal to do. Can't do it in the general case (since places where you put a passage could be a variable instead), but can do it in a quite common case. Unsure how easily existing things like tree-view could be used to check for existence (and location would be useful as well, to implement a goto-scene feature!)
Note4: Caching this would also be nice, but a lot harder than macroList-caching (I have a few ideas on this, but they're all pains to implement). Dunno how expensive this is (though SugarCube2 does it quite often on scene transition, we are doing it more often as the user is typing). If it is too slow on large projects, there could be a delay before it tries rechecking arguments.
Note5: Lots of notes. Would also probably be a good idea to have a variable how many errors have occurred in checking macro arguments (so just put a variable in the diagnostics scope to keep track), then quit parsing/validating arguments if it gets too high.
Note6: Lots more notes. This adds the BSD License (with copright notice) to the top of arguments.ts which is where all of the SugarCube2 parsing code is put. This is to comply with the BSD License requiring copyright and license notice.

Only thing I have to write right now: I'd written a jump to passage command for the tree-view (https://github.com/cyrusfirheir/twee3-language-tools/blob/master/src/extension.ts#L239)

Only thing I have to write right now: I'd written a jump to passage command for the tree-view (https://github.com/cyrusfirheir/twee3-language-tools/blob/master/src/extension.ts#L239)

Okay. I'll have to make so it can check if the passage exists first (SugarCube essentially checks if the passage exists with the given text, otherwise assumes it is needing to be evaluated: https://github.com/tmedwards/sugarcube-2/blob/master/src/markup/wikifier.js#L667-L675 ), and then I can simply use that. Though, I'd do this in a separate pull-request rather than tacking on another thing to this one.

Okay. I'll have to make so it can check if the passage exists first (SugarCube essentially checks if the passage exists with the given text, otherwise assumes it is needing to be evaluated: https://github.com/tmedwards/sugarcube-2/blob/master/src/markup/wikifier.js#L667-L675 ), and then I can simply use that. Though, I'd do this in a separate pull-request rather than tacking on another thing to this one.


Include user-select vendor prefixes in demo

Latest Firefox and latest Safari still only support the prefixed versions of the user-select CSS property. Reference: https://caniuse.com/#search=user-select (see top-right corner yellow boxes indicating prefixed version of property).

Thanks. Keep in mind that the demo isn't completely finish yet, see projects.


Remove debug string

This is very similar to pull requests I've made to other comparable issues, hopefully there are no conflicts.
Closes #2669.

@LukeC92 nice work 👍


[testflight] Internal tester deploy fails "You must select a version to test."

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
Upload to TestFlight works, but deploying to internal testers fails with a message, "You must select a version to test."
Upload and internal deployment was working under Pilot v1.12.0 until "there is no web session to update" error popped up recently.
Upgraded to Pilot v1.12.1 and now I'm getting an error "You must select a version to test."
Is it possible to have the upload automatically specify the version to submit for testing?  Is there a temporary workaround where the version can be specified manually?
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[16:35:23]: Successfully exported and compressed dSYM file
[16:35:23]: Successfully exported and signed the ipa file:
[16:35:23]: /Users/bauer015/code/ios/XXXTVOS/XXX/buildOutput/XXX.ipa
[16:35:23]: ------------------------
[16:35:23]: --- Step: testflight ---
[16:35:23]: ------------------------
[16:35:23]: Login to iTunes Connect (XXX)
[16:35:33]: Login successful
[16:35:37]: Ready to upload new build to TestFlight (App: 300255638)...
[16:35:38]: Going to upload updated app to iTunes Connect
[16:35:38]: This might take a few minutes. Please don't interrupt the script.
[16:46:20]: iTunes Transporter successfully finished its job
[16:46:20]: ------------------------------------------------------------------------------------------------------
[16:46:20]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.
[16:46:20]: ------------------------------------------------------------------------------------------------------
[16:46:20]: Successfully uploaded the new binary to iTunes Connect
[16:46:20]: If you want to skip waiting for the processing to be finished, use the skip_waiting_for_build_processing option
[16:46:20]: Waiting for iTunes Connect to process the new build
[16:47:32]: Waiting for iTunes Connect to finish processing the new build (2.0.110 - 2.0.110)
[16:48:42]: Waiting for iTunes Connect to finish processing the new build (2.0.110 - 2.0.110)
[16:49:42]: Waiting for iTunes Connect to finish processing the new build (2.0.110 - 2.0.110)
[16:51:13]: Waiting for iTunes Connect to finish processing the new build (2.0.110 - 2.0.110)
[16:52:18]: Waiting for iTunes Connect to finish processing the new build (2.0.110 - 2.0.110)
[16:53:23]: Waiting for iTunes Connect to finish processing the new build (2.0.110 - 2.0.110)
[16:54:21]: Waiting for iTunes Connect to finish processing the new build (2.0.110 - 2.0.110)
[16:55:41]: Waiting for iTunes Connect to finish processing the new build (2.0.110 - 2.0.110)
[16:56:11]: Successfully finished processing the build
[16:56:11]: You can now tweet:
[16:56:11]: iTunes Connect #iosprocessingtime 10 minutes
[16:56:16]: Successfully set the changelog and/or description for build
[16:56:16]: Distributing new build to testers
[16:56:31]: -------------------
[16:56:31]: --- Step: slack ---
[16:56:31]: -------------------
[16:56:32]: Successfully sent Slack notification
[16:56:32]: Variable Dump:
[16:56:32]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios prerelease", :FL_CHANGELOG=>"[change log]", :CERT_FILE_PATH=>"/Users/bauer015/code/ios/XXXTVOS/XXX/5H4Z4CP6SG.cer", :CERT_CERTIFICATE_ID=>"5H4Z4CP6SG", :SIGH_PROFILE_PATH=>"/Users/bauer015/code/ios/XXXTVOS/XXX/AppStore_com.XXX.XXX.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/bauer015/code/ios/XXXTVOS/XXX/AppStore_com.XXX.XXX.mobileprovision"], :SIGH_UDID=>"a77a7ec3-1e23-45df-bdb3-168cc636590c", :SIGH_UUID=>"a77a7ec3-1e23-45df-bdb3-168cc636590c", :SIGH_PROFILE_TYPE=>"app-store", :IPA_OUTPUT_PATH=>"/Users/bauer015/code/ios/XXXTVOS/XXX/buildOutput/XXX.ipa", :DSYM_OUTPUT_PATH=>"/Users/bauer015/code/ios/XXXTVOS/XXX/buildOutput/XXX.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/bauer015/Library/Developer/Xcode/Archives/2016-12-06/XXX 2016-12-06 16.32.33.xcarchive"}
[16:56:32]: You must select a version to test.
+------+---------------------------------------------------------------+-------------+
|                                  fastlane summary                                  |
+------+---------------------------------------------------------------+-------------+
| Step | Action                                                        | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1    | Verifying required fastlane version                           | 0           |
| 2    | default_platform                                              | 0           |
| 3    | pwd                                                           | 0           |
| 4    | cocoapods                                                     | 3           |
| 5    | setup_jenkins                                                 | 0           |
| 6    | clean_build_artifacts                                         | 0           |
| 7    | Switch to ios project_dir_cleanup lane                        | 0           |
| 8    | changelog_from_git_commits                                    | 0           |
| 9    | slack                                                         | 0           |
| 10   | cert                                                          | 15          |
| 11   | sigh                                                          | 15          |
| 12   | cd ../Scripts; ./abc_version.sh 2.0.110                       | 0           |
| 13   | cd ..; badge --shield="Version-2.0.110-orange" --glob="/**/Ap | 3           |
| 14   | gym                                                           | 174         |
| 💥    | testflight                                                    | 1267        |
| 16   | slack                                                         | 1           |
+------+---------------------------------------------------------------+-------------+
[16:56:32]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
➡  [pilot] Add support for metadata
https://github.com/fastlane/fastlane/issues/6011 [open] 8 💬
5 weeks ago
➡  Binary upload invalid / [!] {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["ITC.response.error.OPERATION_FAILED"], "info"=>nil}, "statusCode"=>"ERROR"}
https://github.com/fastlane/fastlane/issues/6419 [open] 60 💬
2 weeks ago
➡  The phone number is missing when running pilot
https://github.com/fastlane/fastlane/issues/5735 [closed] 14 💬
2 weeks ago
and 8 more at: https://github.com/fastlane/fastlane/search?q=The request could not be completed because:
	You must select a version to test.&type=Issues&utf8=✓
[!] The request could not be completed because:
You must select a version to test.
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.6

Ruby
2.3.1

Bundler?
true

Git
git version 2.9.3 (Apple Git-75)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.11.6 (15G1108)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.3.1_2/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.106.2"

default_platform :ios

platform :ios do
  before_all do |lane, options|
	current_path = sh('pwd').chomp
    ENV["SLACK_URL"] = "https://hooks.slack.com/services/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"
    ENV["buildOutput"] = "#{current_path}/../buildOutput"
    ENV["output"] = "#{current_path}/../output"
    ENV["SLACK_ENABLED"] = "false"
    cocoapods

  end

  	desc "Take app screen shots"
  	lane :screenshot do
		snapshot(scheme: "XXXUITests", number_of_retries: 3)
  	end

	desc "Runs all the tests"
	lane :test do
		project_dir_cleanup
		scan(scheme: "XXX", skip_slack: "true")
	end

  	desc "Continious Integration - build and test"
  	lane :ci do |options|
  		setup_jenkins
		clean_build_artifacts
		project_dir_cleanup

		test

	    ENV["SLACK_ENABLED"] = "false"
#		slack(message: "Continious integration build started")

		gym(scheme: "XXX", configuration: "Release", output_directory: ENV["buildOutput"], include_bitcode: "true", codesigning_identity: "iPhone Developer: Robert Bauer", export_method: "development")

		# TODO: Run tests
	end

	desc "Test appstore build but do not upload to iTunes"
	lane :prerelease do |options|
	    ENV["SLACK_ENABLED"] = "true"
		setup_jenkins
		clean_build_artifacts
		project_dir_cleanup

		changeLog = changelog_from_git_commits
		changeLogForTestFlight = changeLog.length > 1990 ? "#{changeLog[0...1990]}..." : changeLog

		puts "Build output:"
		puts ENV["buildOutput"]

		puts "Command line options:"
		puts options

		puts "Change log for TestFlight:"
		puts changeLogForTestFlight

		if options[:APPVERSION].nil?
			puts "APPVERSION must be specified:  bundle exec fastlane [lane] APPVERSION:a.b.c"
			next
		end

		appversion = options[:APPVERSION]
		shield = "Version-#{appversion}-orange"

		if ENV["SLACK_ENABLED"] == "true"
			slack(message: "Build #{appversion} started")
		end

		cert
		sigh

		sh('cd ../Scripts; ./abc_version.sh ' + appversion)
		sh('cd ..; badge --shield="' + shield + '" --glob="/**/AppIconAppstore.brandassets/**/Middle.imagestacklayer/**/*.imageset/*.png"')

		gym(scheme: "XXX", configuration: "Appstore", output_directory: ENV["buildOutput"], include_bitcode: "true")

		testflight(changelog: changeLogForTestFlight, beta_app_feedback_email: "XXX")

		crashlytics(api_token: "2a041341f2d33126c624b9cc79d786efdaecbb6e", build_secret: "e885bd2f6e6176780b96124b9ffcdfac845de8b7a8638bdfc9b3d3ab096eea74")

		download_dsyms(platform: "appletvos", version: appversion)   # Download dSYM files from iTC
		upload_dsyms_to_crashlytics
	end

	desc "Refresh dysms by downloading them from iTunes and uploading them to Crashlytics"
	lane :refresh_dsyms do
		download_dsyms(platform: "appletvos")
		upload_dsyms_to_crashlytics
	end

	lane :upload_dsyms_to_crashlytics do
		upload_symbols_to_crashlytics(api_token: "2a041341f2d33126c624b9cc79d786efdaecbb6e", platform: "tvos")
		clean_build_artifacts           # Delete the local dSYM files
	end

	desc "Deploy a new version to the App Store"
	lane :release do |options|

		setup_jenkins
		clean_build_artifacts
		project_dir_cleanup

		changeLog = changelog_from_git_commits
		changeLogForTestFlight = changeLog.length > 4000 ? "#{changeLog[0...3900]}..." : changeLog

		print options
		appversion = options[:APPVERSION]
		shield = "Version-#{appversion}-orange"

		if ENV["SLACK_ENABLED"] == "true"
			slack(message: "Build #{appversion} started")
		end

		cert
		sigh

		sh('cd ../Scripts; ./abc_version.sh ' + appversion)
		sh('cd ..; badge --shield="' + shield + '" --glob="/**/AppIconAppstore.brandassets/**/Middle.imagestacklayer/**/*.imageset/*.png"')

		gym(scheme: "XXX", configuration: "Appstore", output_directory: "./buildOutput", include_bitcode: "true")

	    deliver(force: true, skip_screenshots: true)

		crashlytics(api_token: "2a041341f2d33126c624b9cc79d786efdaecbb6e", build_secret: "e885bd2f6e6176780b96124b9ffcdfac845de8b7a8638bdfc9b3d3ab096eea74")

		download_dsyms(platform: "appletvos", version: appversion)   # Download dSYM files from iTC
		upload_dsyms_to_crashlytics

	end

	lane :project_dir_cleanup do
		if Dir.exists?(ENV["buildOutput"]) == true
			FileUtils.rm_r(ENV["buildOutput"])
		end

		if Dir.exists?(ENV["output"]) == true
			FileUtils.rm_r(ENV["output"])
		end
	end

  # You can define as many lanes as you want

	after_all do |lane|
	# This block is called, only if the executed lane was successful

		if ENV["SLACK_ENABLED"] == "true"
			slack(message: "Successfully deployed new App Update.")
		end

	end

	error do |lane, exception|
		if ENV["SLACK_ENABLED"] == "true"
			slack(message: "Successfully deployed new App Update.")
		end
	end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.yyy.XXX" # The bundle identifier of your app
apple_id "XXX" # Your Apple email address

team_id "ZZZ"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

credentials_manager
0.16.2
✅ Up-To-Date

fastlane_core
0.58.0
✅ Up-To-Date

spaceship
0.38.5
✅ Up-To-Date

cert
1.4.4
✅ Up-To-Date

deliver
1.16.1
✅ Up-To-Date

frameit
3.0.0
✅ Up-To-Date

gym
1.12.1
✅ Up-To-Date

sigh
1.12.1
✅ Up-To-Date

match
0.11.1
✅ Up-To-Date

pem
1.4.1
✅ Up-To-Date

pilot
1.12.1
✅ Up-To-Date

produce
1.3.2
✅ Up-To-Date

scan
0.14.2
✅ Up-To-Date

screengrab
0.5.6
✅ Up-To-Date

snapshot
1.16.4
✅ Up-To-Date

supply
0.8.0
✅ Up-To-Date

fastlane
1.111.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

bundler
1.13.6

io-console
0.4.5

CFPropertyList
2.3.4

i18n
0.7.0

json
1.8.3

minitest
5.10.1

thread_safe
0.3.5

tzinfo
1.2.2

activesupport
<IP_ADDRESS>

public_suffix
2.0.4

addressable
2.5.0

babosa
1.0.2

fastimage
1.6.8

colored
1.2

highline
1.7.8

commander
4.4.1

security
0.1.3

credentials_manager
0.16.2

excon
0.54.0

gh_inspector
1.0.2

multi_json
1.12.1

plist
3.2.0

rubyzip
1.1.7

terminal-table
1.4.5

fastlane_core
0.58.0

mini_magick
4.5.1

badge
0.5.0

multipart-post
2.0.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.10.1

multi_xml
0.6.0

claide
1.0.1

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.1.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.2

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.7.8

cocoapods-trunk
1.1.1

cocoapods-try
1.1.0

escape
0.0.4

fourflusher
2.0.1

molinillo
0.5.3

nanaimo
0.2.3

xcodeproj
1.4.1

cocoapods
1.1.1

dotenv
2.1.1

rouge
1.11.1

xcpretty
0.2.4

net-ssh
3.2.0

net-sftp
2.1.2

krausefx-shenzhen
0.14.11

slack-notifier
1.5.1

xcpretty-travis-formatter
0.0.4

jwt
1.5.6

little-plugger
1.1.4

logging
2.1.0

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
<IP_ADDRESS>

hurley
0.2

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.0.15

representable
2.3.0

retriable
2.1.0

google-api-client
0.9.20

terminal-notifier
1.7.1

word_wrap
1.0.0

xcode-install
2.0.9

generated on: 2016-12-06

Responding to the bot - If there were code signing issues, I would expect the build to be rejected from iTunes.  The build uploads fine.  I just have to log into iTunesConnect and specify the app version to enable for internal testing and that works fine.  It would be nice to have fastlane doing this automagically again...

Some additional info, the bundle ID is shared between an iOS and TVOS app.  I'm wondering if this pull request might help any: https://github.com/fastlane/fastlane/pull/7267

Started happening recently for me too. Might be related to #7309

I updated as per the fix in #7309 and pilot worked yesterday 12/6 as of 14:30 pacific time. Today I am getting the same error as the OP. I only upload a couple of builds per day on a schedule so I just started seeing this.
I was able to log into iTunes Connect and manually set the recently uploaded file to be the version to test (internally).

I'm confirming @wilrnh's answer. Got fixed at #7309

Woot!  Can confirm the fastlane_core update to v0.60.0 and spaceship v0.39.0 resolved the issue for me.  Thank you!  I'm closing this issue.


change units of temperature coefficient from 1/C to %/C

The temperature coefficient is currently specified in units of 1/C, so users input values like -0.003. This would be fine on its own, but we also have DC and AC loss factors that are specified in units of %.
This was brought up by someone at the DOE review meeting in October but we forgot to create an issue for it. If I recall correctly, @cwhanse agreed that this should be changed.
Probably now or never on this.

Agree it would be better as %/C, that's the unit found on datasheets.

@alorenzo175 how should we handle this? I think we'd need to update any user-supplied metadata that exists.

Updating the core/dashboard to specify it as %/C and updating the user supplied value at the same time is probably the way to go. We could do the database update as part of a migration, or notify any orgs that have sites with it set to update it (once updating via the dashboard works).

or notify any orgs that have sites with it set to update it (once updating via the dashboard works).

I'm ok with this given the very few people this would effect and the fact that any early adopters are likely to be more tolerant of this sort of thing.