wasmparser: no functype blocks without multi-value

Block types have been generalzed from resulttype := valtype? to
functype with the integration of the multi-value proposal.
This adjusts wasmparser to reject blocks with functype results unless
multi-value is enabled. This also results in somewhat worse error
message, however.

(TODO: needs a test)
I have discovered this during development of #464. wasm2wat from wabt would reject some of the wasm modules that were autogenerated that wasm-parser would continue accepting. I believe this specific issue to have been the cause.

I would like some advise on what the best way would be to construct a test file that uses functype block(s) and yet are minimal. I'm not really finding any tooling to build wasm structure from scratch.

Added the test. I'm not sure if we had any tests for blocks with parameters or multiple returns in the past, but structurally wasm requires to use a functype in those situations anyway and so the newly added test should cover those situations as well.

Thanks!


Grafana plugin does not work anymore with latest Yamcs server

Using the latest Yamcs server 5.7.4, the Yamcs Grafana plugin (latest 2.2.1 - used in Grafana 8.2.6) is not working anymore.
All graphs show "Resource not found".

I have not had the need to use Grafana for some time, so it could also have happend already on 5.7.x transistion, latest configuration I noted was working is Plugin 2.2.1 wih Grafana 8.2.6 and Yamcs server 5.5.3
Could you please fix the issue?

I came across this same issue today with Yamcs v5.6.2 and the Grafana Plugin v2.2.1.  The Grafana query inspector gave the following result for a Parameter input of /FakeSat/N30_P100_ext1:
{
	"request": {
		"method": "GET",
		"url": "api/datasources/proxy/1/api/archive/fakesat/parameters%2FFakeSat%2FN30_P100_ext1/samples",
		"params": {
			"start": "2022-08-03T04:49:08.722Z",
			"stop": "2022-08-03T10:49:08.722Z",
			"useRawValue": true,
			"count": 1488
		},
		"hideFromInspector": false
	},
	"response": {
		"message": "Resource not found\r\n",
		"error": "Not Found",
		"response": "Resource not found\r\n"
	}
}

The issue seems to be the first %2F in that URL. The Yamcs server seems to be unable to process that string. If one replace the %2F with a / character, then the URL work via a browser.
From the Yamcs server logs the following is a failure:
Aug 03 13:05:16.251 _global [3213] org.yamcs.http.HttpRequestHandler [FINE] c768806b GET /api/archive/fakesat/parameters%2FFakeSat%2FN30_P100_ext1/samples
Aug 03 13:05:16.252 _global [3213] org.yamcs.http.HttpRequestHandler [WARNING] /api/archive/fakesat/parameters%2FFakeSat%2FN30_P100_ext1/samples: Resource not found
Aug 03 13:05:16.252 _global [3213] org.yamcs.http.HttpRequestHandler [WARNING] c768806b GET /api/archive/fakesat/parameters%2FFakeSat%2FN30_P100_ext1/samples 404

While this is a success:
Aug 03 13:05:23.820 _global [191] org.yamcs.http.HttpRequestHandler [FINE] d5f937f5 GET /api/archive/fakesat/parameters/FakeSat%2FN30_P100_ext1/samples
Aug 03 13:05:23.820 _global [191] org.yamcs.http.HttpRequestHandler [FINE] 1138: Routing GET /api/archive/fakesat/parameters/FakeSat%2FN30_P100_ext1/samples
Aug 03 13:05:23.843 _global [191] org.yamcs.http.HttpRequestHandler [INFO] d5f937f5 GET /api/archive/fakesat/parameters/FakeSat%2FN30_P100_ext1/samples 200
Aug 03 13:05:23.843 _global [191] org.yamcs.http.Context[c1138] [FINE] API call finished successfully, transferred bytes: 0

So to solve the issue, either the plugin needs to ensure that the first %2F becomes a / character, or the Yamcs server should be fixed to handle the %2F properly.

Thanks, that works.
I was able to reproduce on Grafana 8 as well, so I think it's Yamcs that became more strict when dealing with %2F (not a valid path seperator), which I'd say is a good thing.
FYI, also accepted would be something like this where there is no %2F at all: /api/archive/fakesat/parameters/FakeSat/N30_P100_ext1/samples
Published a release for this:
https://github.com/yamcs/grafana-yamcs/releases/tag/v2.2.2


Confusion regarding the licensing of component

Hello,
I was looking at the licensing of this component. It was a little confusing because the link to https://github.com/showdownjs/showdown/blob/1.9.1/license.txt states a BSD-3-Clause for Version 1.9.1, the README file (https://github.com/showdownjs/showdown/blob/1.9.1/README.md), though, states the GPL-2.0 as license for the same version.
The README file for the current master branch (https://github.com/showdownjs/showdown/blob/master/README.md), the following is stated:

ShowdownJS v 2.0 is release under the MIT version. Previous versions are release under BSD.

Can you please clarify which license is applicable, especially for version 1.9.1.
Thanks a lot!
Stefan

probably a bit late, but rest assured BSD 3 Clause applies to version 1.9.1 according to the tag and package.json: https://github.com/showdownjs/showdown/blob/483e51f7a624c94c95787a14cbf577c053f8076f/package.json#L33

It looks like versions 1.9.1 and below are BSD-3-Clause, but the latest code on the master branch (and eventual 2.0.0) will be MIT licensed. I fixed the package.json file on master to represent this. Does that answer your question @stefan-hdt ?


Link to http://www.chrismahoney.co.nz/FreeCen/ from FreeCEN2

Needed so that all materials for volunteers on FreeCEN1 can be removed

To what?????

@AnneV-Learn I think this will be superceded by your work - do you agree?

@DeniseColbert to write to Chris re Transcriber info.  Piece info is already on FreeCEN2

Chris sent me a spreadsheet, and the following info:

Main purpose of website is that it shows those who have a preference for doing a particular Gloucester piece what is currently being worked on by someone else, and what is available to be transcribed.  FreeCEN website for any given piece only shows if it has been uploaded or not, it does not show if someone is currently working on it in some way.  Maybe we can look at adding a status option for pieces so co-ordinators can specify what is currently happening to a piece - with this status info viewable to anyone who looks.
Could be wrong, but I think there are other co-ordinators who are still running their county pages that were once linked from the FreeCEN1 Website.

@AnneV-Learn to see if allocation is only on VLD, or on FC2 allocations.

Currently Transciber (name, email and userid) can be assigned to VLD/CSV file not Piece but could be added to Piece so that the co-ordinator could set it. This would then this would provide a way of indicating if a Piece is being transcribed.

@AnneV-Learn we need to think a little more about this.
A piece normally (not Scotland) has only one VLD hence there is a one for one correspondence between the VLD transcriber and the piece. The coordinator has to enter the transcriber into Freecen2
For Scotland and for CSVs a piece may be broken into parts and a different transcriber can work on different parts it is a many to one between the Scottish VLD and the CSV.
In addition all versions of a CSV for a piece (or part piece) are supposed to be kept on line; it likely that the oldest version of the CSV is the transcriber version; but there is no guarantee it actually is.
Hence the piece transcriber needs to be an array and not a value.
Remembering that there are multiple vld for a Scotland Piece its value can be set by the system from the VLDs. It can be set automatically.
Similarly remembering there are csv parts (and ASSUMMING management accepts some will be incorrect), we can automatically compute the CSV transcribers from the owner of the oldest version of a part!

@Captainkirkdawson   - that looks promising Kirk - would be great if can populate automatically

@Captainkirkdawson - just to be sure I understand - assuming we add an array (transcribed_by) to the fc2 piece - pieces with VLDs we can look up the transcriber userid etc. from the values on the VLDs file records (entered by the coord). For pieces with CSVs we can look up the owner of the CSV files. Is that correct? Do you think we also need another flag on the piece - transcribed true/false - so that if there are VLDs but no transcriber info has been added at least it will show that transcription has been done?

Responding to Chris' requirement above.
Maybe the most straightforward and flexible solution is to add a new field to Piece where co-ordinators can specify what is currently happening to a Piece (Stage?). This could then be displayed in 'Show' option for Freecen2 Pieces and included in the View Pieces in RECORDS.
Possibly only display value if Piece is not Online.
Either free text (wouldn't want it to be too long though as it will mess with the page displays) or drop-down options: Transcription,ProofReading,Validation..... But this would rely on the co-ordinators keeping it current!

I think that we are opening a can of worms here. The issue is created by volunteers trying to select their own pieces by number. We would need to show all numbers. But what if we do not have the images?
My approach as a Coordinator is to talk (by email) to a volunteer about an area they would like to work in. Then I select the piece. I then keep my record on a spreadsheet so I can track what is happening.
Any attempt to track pieces with an online record is fraught with danger. FC2 allows the Coordinator to break a piece down to ED level. The pieces are uploaded with _a, _b etc after the piece number. The only person who knows this breakup is the Coordinator themselves. There is no way we can even try to track this.
We did not build this functionality into the design of FC2. Kirk and I regarded it as too difficult.
Furthermore this would be a duplicate record for most Coordinators so would not be kept up to date.
I did used to have my own web site with basic progress for Somerset on Rootsweb. It is still there if you want to see it (I have been locked out by Rootsweb several years ago and so cannot update or remove it).. That was when we were building up a team of volunteers and I was using it in conjunction with the Rootsweb County boards to generate interest in the project. It did not have anywhere near the infor that Chris is requesting.
His request should be kept as part of a statistics epic and be developed in conjunction with online transcribing. It can then be incorporated in teh design rather than being a messy add on.
Geoff

Conclusion is that it is for coords to manage their syndicates - if they want to put a listing of available pieces for syndicate members to select from, that's an option, but no capacity to do this on FreeCEN - they will have to give transcribers the link, or send spreadsheet or listing.

@PatReynolds to add this story to the next committee meeting agenda.

To be discussed at the next committee meeting.
Not happening in the short term, but when CAP is developed.

I think this is largely superceded by #1417.
What remains is the original story: removing the links to Coords sites from FreeCEN1 so that there is no volunteering information there.
While the new systems are developed, I think these links should be placed (?in a table) in the Volunteer Handbook section (FreeCEN2).

@DeniseColbert to ask coordinators if any of these websites still exist/are used
If not, @vino to remove links from FC1 and only live links to be put into FC2


chore: edit links in nuxt.config for cross editor support

Edit links in nuxt.config.js for cross editor support (GUI vs CLI editors) per #662

Thanks!


Unit tests

Unit tests for new features to easier test that they function as intended
Unit tests for existing code to ensure it does not break on new changes

Starting point implemented in #11


Requirements needs update after 1.8.0

Release 1.8.0 adds a dependency to http-cookie gem, which resolves in dependencies to domain_name, unf and unf_ext which needs a C++ compiler and libstdc++ (https://github.com/knu/ruby-unf_ext, Requirement)
This breaks on systems not installing build-tools by default. See this post by example http://stackoverflow.com/questions/29290775/chef-build-error-on-aws-linux-ami
Related logging:
gem executables will not run. ERROR:  Error installing rest-client:
ERROR: Failed to build gem native extension.
extconf.rb checking for main() in -lstdc++... *** extconf.rb failed
*** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.  Check the mkmf.log file for more details.  You may need configuration options.
/opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:467:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first.         from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:552:in try_link0'
from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:567:in try_link'         from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:753:in try_func'
from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:984:in block in have_library'         from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:929:in block in checking_for'
from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:351:in block (2 levels) in postpone'         from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:321:in open'
from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:351:in block in postpone'         from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:321:in open'
from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:347:in postpone'         from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:928:in checking_for'
from /opt/chefdk/embedded/lib/ruby/2.1.0/mkmf.rb:979:in have_library'         from extconf.rb:2:in '
extconf failed, exit code 1
Gem files will remain installed in /.chefdk/gem/ruby/2.1.0/gems/unf_ext-0.0.6 for inspection. Results logged to /.chefdk/gem/ruby/2.1.0/extensions/x86_64-linux/2.1.0/unf_ext-0.0.6/gem_make.out
---- End output of /opt/chefdk/embedded/bin/gem install rest-client -q --no-rdoc --no-ri -v "1.8.0" ---- Ran /opt/chefdk/embedded/bin/gem install rest-client -q --no-rdoc --no-ri -v "1.8.0" returned 1

This is a major bummer. I don't want dev tools on all my systems.

Can anyone comment on this issue and at least let us know what you're thinking? Lots of projects are running into this issue and the best solution at the moment is to pin rest-client dependency to < 1.8.0. That seems like something rest-client project would want to address before more projects permanently depend on older versions. @ab I'm going to tag you since you seem to be the most active committer at the moment. Thanks for taking a look.

Hmm, that's unfortunate.
The http-cookie dependency was added due to https://github.com/rest-client/rest-client/issues/369 / CVE-2015-1820. In short, rest-client's handling of cookies in versions < 1.8.0 was based on a regex that didn't remotely implement what the RFCs for HTTP cookies specify.
There were a couple different potential options:

Remove the cookie functionality entirely (not very appealing)
Attempt to reimplement the functionality of http-cookie and domain_name myself
Add the dependency on http-cookie, knowing the added dependencies might be problematic to some users
Try to find some other fully-featured cookie implementation for ruby that does not require any C extensions

They all have downsides, but option 3 seemed far and away the least bad. The domain_name code uses unf here: https://github.com/knu/ruby-domain_name/blob/212b08e4/lib/domain_name.rb#L289 in handling of punycode domain names. I'm not sure why a C extension is needed, so it would probably be best to follow up there.

Purely to throw our situation's info in the pile, I'll second @dblessing re: "major bummer". We've had rest-client pinned to 1.7.3 for 8 months now due to us not only "not wanting dev tools installed on all hosts", but literally not being allowed to have them installed due to compliance/auditing requirements.
That said, this is Open Source. We do appreciate that rest-client exists.

Just updating status here, you can avoid the need for unf_ext on Ruby >= 2.2 by installing unf version 0.2.0beta1. For example, by gem install --pre unf.
Still hoping that this will make it into a final release version of unf.


Physical coordinate systems

🚀 Feature
There have been a number of requests from the community around supporting physical coordinates. Right now we have scale and translate properties and a scene graph so it will be possible, but we need to do some work around our APIs and bug-fixing to make it work well. We also have to make our scaling in Z work appropriately with our sliders and dims range. There have been a number of issues raised around this already, but I wanted to collect some of them here #614, #659, #640
I'm not sure if the vispy scene graph can handle rotations, but we should look into that. I'm fine with delaying on that for a bit too.
@axtimwalde proposed the addition of a new coordinate system so we now have something akin to layer, world, and canvas coordinates. I know @jni has also discussed this with him too.
We can collect implementation / API ideas here.

We should also fix #707 at this point too

This is of particular interest to me, and I may be able to help with example use cases & demo data here.
I didn't catch Juan's conversation with Stephan, so subscribing here to get a better sense of people's thoughts.

Yep so a little bit about how Big Data Viewer works, as I understood it/remember it.
Somewhat surprisingly, all of the rendering is CPU, not GPU-based. All of the speed is achieved through lazy rendering (as suggested by @d-v-b and @constantinpape) and async/non-blocking interactivity. There is a transformation from screen-pixel/canvas space to world space (typically, just a scaling, but in our case for e.g. grid mode, it could be more complicated, including a tiling), and from world space to the data space of each dataset/layer.
On each draw event, BDV steps through all the pixels, and for each pixel, it composes the transformations together to find the source location in the original data and grabs it. Here, Java has an advantage over Python in that the compiler inlines all of the transformations and it's reasonable to do them all for each individual screen pixel. In Python, we would need to find a way to vectorise this operation, or else move a chunk of code to numba.
The other advantage they have is that the imglib2 data model is pretty excellent and again, efficient to access on a per-pixel level. Unlike a dask array, asking for a pixel value in an imglib2 array actually grabs it. The way they minimise IO is that the data source (which, like a dask array, can be virtual, backed by computation or IO) is transparently cached, so the first pixel grab is slow, but subsequent ones to the same block are fast.
To get the same level of responsiveness with our architecture is going to be pretty challenging, since we have this model of sending a whole slice in to the vispy visuals, so composing screen -> world and world -> data transforms becomes a bit more challenging.
I think the easy part is separating the concepts out in napari so that, in terms of the design of the library, its clear what system a coordinate refers to. Some of the challenges I see:

Making certain UI decisions like, do the sliders refer to world coordinates or data/layer coordinates? I kinda think that the only consistent answer is world here, as soon as you have multiple layers with transforms.
Figuring out how best to manage transforms. We want as much as possible to happen on the GPU (actually the vispy transformation system looks pretty thorough, which is great), but eventually, we need to be able to translate back from world coordinates to the CPU so we can load the appropriate bits of the data. This seems super tricky to me.
Rearchitecting how we update the viewer so that changing views isn't blocking. Right now this last one is a big one, and could kind of happen independent of the transforms thing. Like, if I move the slider quickly and it's a slow process (e.g. Talley's live deconv example), we should be smart enough to toss out the intermediate tasks. The slider itself should never block waiting for the display. This might be reasonably straightforward to achieve with a task queue: rather than just calling np.array() on a dataset, add the call to np.array to a queue, and have that queue hold at most nlayers tasks. Then, as soon as a new event is triggered, drop running queue jobs and start again (unless the hash of the job hasn't changed).

Those were just high level, stream of consciousness thoughts, but I wanted to get them down for my own memory for when I finally start work on this.

On each draw event, BDV steps through all the pixels, and for each pixel, it composes the transformations together to find the source location in the original data and grabs it.

Indeed - moving towards this would be a major change which I don't think we're ready for, but good to put down that approach in this issue

I think the easy part is separating the concepts out in napari so that, in terms of the design of the library, its clear what system a coordinate refers to.

Agreed and we should do the easy stuff first. I think we are aligned here.

do the sliders refer to world coordinates or data/layer coordinates? I kinda think that the only consistent answer is world here, as soon as you have multiple layers with transforms.

I think that is correct, though might be good to here from @will-moore who made this post https://forum.image.sc/t/napari-non-integer-step-size/31847/6. I think the slider itself will span world coordinates and then convert to layer indices to grab the data we need which then gets sent to vispy

we need to be able to translate back from world coordinates to the CPU so we can load the appropriate bits of the data. This seems super tricky to me.

I feel like this is just about chaining some transforms / inverse transforms together and then doing some indexing, so maybe tricky, but all maths and super fast right? We don't actually have to do any of the transforms of the big arrays on the cpu unless I am missing something.

Rearchitecting how we update the viewer so that changing views isn't blocking.

This would be super cool, but agreed is independent, and as I don't think we're going to the full pixelwise approach at this point should be considered as a separate issue. I think as people do more examples with dask compute this will be more important.

On each draw event, BDV steps through all the pixels, and for each pixel, it composes the transformations together to find the source location in the original data and grabs it.

Indeed - moving towards this would be a major change which I don't think we're ready for, but good to put down that approach in this issue

the index transformations doesn't seem like that hard of a challenge in its own, i feel like the major difference in the BDV case is the dependence on chunked data formats, right?  (i.e. even if we could easily calculate the indices in the original volume required to render any arbitrary slice, reading them from disk is the problem).  Either way, if I understand the conversation correctly, I ultimately like the general idea of making the "get_data_view" function responsible for mapping requested coordinates (in canvas/slider space) to world space, and some layer mapper also mapping to world space (accounting for physical pixel size).  it's just the indexing that becomes tricky.  If everything is in RAM, it's easy, but otherwise becomes very file format dependent.

do the sliders refer to world coordinates or data/layer coordinates? I kinda think that the only consistent answer is world here, as soon as you have multiple layers with transforms.

I think that is correct, though might be good to here from @will-moore who made this post https://forum.image.sc/t/napari-non-integer-step-size/31847/6. I think the slider itself will span world coordinates and then convert to layer indices to grab the data we need which then gets sent to vispy

i agree... as soon as you have two 3D image layers with different nZ and dZ, I can't think of how else you would overlay them but to have the sliders be world coords.  In the case of a single image layer volume with anisotropic voxels though, I think it should be relatively easy to do a better job of having the sliders step only along valid indices in the underlying data.  (i.e. a single, 50-plane image should always have 50 sliders steps, regardless of shape settings).  Since that's mostly a slider issue, it might make sense to put that step-restriction logic in QtDims?

From our discussion at the hack day today, we decided this is the framework we think we should use for describing space(s) in napari:

data (nD data, with pixels)
world (nD spatial universe, with units)
worldslice (a 2D plane cut through world, with units)
canvas (what you see rendered on the screen, with canvas_pixels)

That's great @GenevieveBuckley! I might refine this slightly to be

data (nD data, with pixel units)
world (nD spatial universe, with physical units)
worldslice (a 2D or 3D plane or cube cut through world depending on number of displayed dimensions, with physical units)
canvas (a 2D plane that you see rendered on the screen, with canvas_pixel units)

and I might prefer screen to canvas as it is less ambiguous to me, but I'm open.
At other places in the repo we've used the word view as in _data_view to capture the data after the worldslice is done. We could use worldview, but maybe worldslice is better and we should switch things like _data_view to be _data_slice too

and I might prefer screen to canvas as it is less ambiguous to me, but I'm open.

My first instinct was, sure, it is more intuitive to me also, but then I realised it's actually more ambiguous, because screen could be the whole monitor rather than just the bit occupied by the vispy canvas...
I do prefer slice to view...

Oh right, completely see it now, (0, 0) for the screen is very different than (0, 0) for the canvas!! Canvas is the better choice for sure :-)

We've come a long way in the past year, and with PRs like #1660 we now finally have a proper physical coordinate system in world coordinates.
#1616 will add support for affine transforms, and #854 a camera model. We still havn't got support for non-orthogonal reslicing and arbitrary clipping planes. Looking at the list above from @d-v-b

The viewer only knows about world coordinates

Achieved

The viewer has a clipping plane, defined in world coordinates, that gets moved around by user input (maybe this is what you meant by worldslice?)
The datasource has a method that takes a clipping plane and returns data sampled on that plane. Internally, the datasource will transform the clipping plane to data coordinates and decide how to resample the data appropriately.

Not yet achieved, but would be done if/ when we support non-orthogonal reslicing and arbitrary clipping planes.

The datasource is stateless w.r.t. to resampling -- it doesn't track the current position of the clipping plane. So the same datasource could be resampled by multiple different clipping planes in the same layer (e.g., for orthoviews).

Also not yet achieved, but we will be investigating when we support multiple canvases, and we will definitely move in this direction.

I will close this issue though as the main goal of supporting a physical coordinate system has now been achieved and it will probably be easiest to continue discussion of those other topics on issues like #320 for non-orthogonal slicing and #1353 for stateless slicing.


[CNET] YAML script not matching the test plan

Description:
In test plan, STEP 3 says TH finds the index of the Networks list entry with NetworkID field value PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID and saves it as 'Userwifi_netidx' and the saved Userwifi_netidx is used in all the Remove network commands. But in YAML script, the Userwifi_netidx is not using anywhere in the test case excluding STEP 3.
Affeted Test Cases:

TC-CNET-4.9: Step - 4 and 14
TC-CNET-4.10: Step - 4 and 14
TC-CNET-4.11: Step - 4 and 15

Test Plan Reference:
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/network_commissioning.adoc#tc-cnet-4-9-wi-fi-verification-for-removenetwork-command-dut-server

Addressed in PR
https://github.com/project-chip/connectedhomeip/pull/32116


[SPARK-3181][MLLIB]: Add Robust Regression Algorithm with Huber Estimator

Huber Robust Regression including the test case and an example.
Passed the style checks

I think this contribution may have "timed out", along with https://github.com/apache/spark/pull/2110 . They're probably good implementations, but I am not clear if this will be taken forward to be part of Spark. In any event it doesn't merge and is not necessarily written for the new ML pipelines API. Does anyone else have an opinion on whether this should be closed out, or needs to be revived?

@fjiang6 in breeze we added ADMM based proximal minimizer and a proximal algorithm for Huber Loss...Could you please take a look at breeze.optimize.proximal.NonlinearMinimizer and Proximal.ProximalHuber and see if you can use NonlinearMinimizer ? Huber is as difficult as L1 (perhaps more difficult) since I have not seen a projection operator for Huber...For reference please follow Professor Boyd's paper on ADMM and Proximal Algorithms
The jar is available on 0.12-SNAPSHOTS

Build triggered.

Build started.

QA tests have started for   PR 2096 at commit 9e34bd2.

This patch does not merge cleanly!

QA tests have finished for   PR 2096 at commit 9e34bd2.

This patch fails unit tests.
This patch does not merge cleanly!

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33473/
Test FAILed.

Build finished. Test FAILed.

Failed Tests:
org.apache.spark.streaming.kafka.JavaKafkaStreamSuite.testKafkaStream
org.apache.spark.streaming.kafka.KafkaStreamSuite.Kafka input stream
org.apache.spark.sql.hive.thriftserver.CliSuite.simple commands

Build triggered.

Build started.

QA tests have started for   PR 2096 at commit 9e34bd2.

This patch does not merge cleanly!

QA tests have finished for   PR 2096 at commit 9e34bd2.

This patch fails unit tests.
This patch does not merge cleanly!

Build finished. Test FAILed.


Rename usageInstruction to dosageInstruction

Can sometimes be confusing. The "usageInstruction" element points to a EHDSDosaging.

2024-10-11:
Agreement to make the name change in the two models:
https://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationPrescription.html
https://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSMedicationDispense.html

Done in commit https://github.com/Xt-EHR/xt-ehr-common/commit/8e6296d72c2c1b79726022c457a989b198eee1a5


[Ms 524][BE] Fix datasets package incompatibility

Description
Description detailed here: https://imda-dsl.atlassian.net/browse/MS-524
Motivation and Context
Bug fix for datasets library, which is causing one of the unit tests to fail
Type of Change
A bug fix
How to Test

Checkout the same branch on moonshot-data
Run the unit test: cd to the root dir, then run bash ci/run-test.sh
All the unit tests should pass

Checklist
Please check all the boxes that apply to this pull request using "x":

[x]  I have tested the changes locally and verified that they work as expected.
[ ]  I have added or updated the necessary documentation (README, API docs, etc.).
[ ]  I have added appropriate unit tests or functional tests for the changes made.
[x]  I have followed the project's coding conventions and style guidelines.
[ ]  I have rebased my branch onto the latest commit of the main branch.
[ ]  I have squashed or reorganized my commits into logical units.
[x]  I have added any necessary dependencies or packages to the project's build configuration.
[x]  I have performed a self-review of my own code.
[x]  I have read, understood and agree to the Developer Certificate of Origin below, which this project utilises.

Screenshots (if applicable)

Additional Notes

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
   have the right to submit it under the open source license
   indicated in the file; or

(b) The contribution is based upon previous work that, to the best
   of my knowledge, is covered under an appropriate open source
   license and I have the right under that license to submit that
   work with modifications, whether created in whole or in part
   by me, under the same open source license (unless I am
   permitted to submit under a different license), as indicated
   in the file; or

(c) The contribution was provided directly to me by some other
   person who certified (a), (b) or (c) and I have not modified
   it.

(d) I understand and agree that this project and the contribution
   are public and that a record of the contribution (including all
   personal information I submit with it, including my sign-off) is
   maintained indefinitely and may be redistributed consistent with
   this project or the open source license(s) involved.

https://imda-dsl.atlassian.net/browse/MS-524


Release 1.9

Coverage increased (+0.2%) to 92.857% when pulling 2790e2d0945d50d366ac3e8f6ef59faf0a903524 on release1.9 into 7211a3051bc878ccbeac7ef229b1c153809d7ca0 on master.

👍


Rewrite "snabb top" to use fibers

This rewrite of "snabb top" allows top to use the whole window, react to user input, focus on specific instances or all instances, hide and show parts of the state, etc.  WDYT @dpino?

I think the error is a problem with our test machine, that there are lingering stale tap devices.  Seems unrelated, going to go ahead and merge


use hashicorp/vault image as _/vault is deprecated

See bank-vaults/vault-secrets-webhook#65

Also the latest 4 versions are: 1.11.12, 1.12.8, 1.13.4, 1.14.0

Feel free to take a lead on upgrading versions, but please do so in all projects. (You can use a single draft item on the project board to track this activity)


Update k8 deps to v0.18.8

Few improvements in v1.18.7
https://relnotes.k8s.io/?releaseVersions=1.18.7
https://relnotes.k8s.io/?releaseVersions=1.18.8

@shamsher31: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
2c49d174ff1e11ab70f215a3318147c352a4180f
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Running views generator with only mailer fails

Either make this work or document it in the generator help message.

I managed to write a patch and a more specific test case for this on eb091b8 - sorry for taking a bit longer to come back to this and thanks for the report.


feat(arbitrary): set min tuple constraint on array tuples

Current dependencies on/for this PR:

main

PR #113   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 17, 2:58 PM: @pevisscher started a stack merge that includes this pull request via Graphite.


4040/launch with nextflow tower

https://user-images.githubusercontent.com/16004905/108127706-7fe7c880-7060-11eb-9b34-3034d9ed0e6b.mp4
dockstore/dockstore#4040

Is there an icon you could use?

Open an issue on https://github.com/nextflow-io/trademark maybe

Is there an icon you could use?

Open an issue on https://github.com/nextflow-io/trademark maybe

Just sent them an email, but I thought we'd want the actual nextflow tower icon/logo and not the nextflow logo


dialog example without ref

added link to a gist for  how to use dialogs without refs
Thank you for the PR! Contributors like you keep React awesome!
Please see the Contribution Guide for guidelines:
https://github.com/reactjs/reactjs.org/blob/master/CONTRIBUTING.md
If your PR references an existing issue, please add the issue number below:
#

I don't think I'm comfortable with adding a link to an unvetted gist. But thank you for the effort!


fix fix array_range func for large param which should return error

Proposed changes
if array_range with large size , which will make be oom , so we should avoid this with max_array_size_as_field
Issue Number: close #xxx

run buildall

run beut


Test databases are created in an inconsistent order

With the django-nose test runner, I'm unable to specify the order that my databases are created in, causing all of my tests to randomly fail when they are created out of order, due to tables not existing. With the default Django test runner, the default database is always created first, and you are able to specify dependencies for others, as seen here: https://docs.djangoproject.com/en/1.9/topics/testing/advanced/#controlling-creation-order-for-test-databases
This is all handled by the dependency_ordered() method in django/test/runner.py (https://github.com/django/django/blob/master/django/test/runner.py#L555). Is there any chance of using this same solution in the NoseTestSuiteRunner?

django-nose was written back Django 1.2 days. I think there's quite a bit of work to sync our runner with the current maturity of the Django test runner.

If I were to take a stab at fixing this particular problem, would it be acceptable to just call dependency_ordered() in the Django test runner code, or should that functionality be vendored into this runner?

I'd try to mirror when Django calls dependency_ordered(), and look and see how that has changed across the currently supported versions. We should be mirroring the Django logic as closely as possible, and patching in nose logic where needed.

After a lot of digging, this appears to be an extreme corner case in my own setup, caused by a very specific misconfiguration of sorts.


Bump to 0.1.8

Captures #52

Purpose

To-do

Content

[ ] I have read and checked the items on the review checklist.

Actually you did it!

oh great


Issue 87

@mmarum-sugarcrm This fixes the internally reported issue where the package wouldn't install in Sugar Cloud.  I've created a production version of the package that excludes the tests.  You can see an example on the Releases tab of this repo.
I cherry picked commit #3b5e808 (part of PR #86) so the build would pass and I could test the builds being pushed to the Releases tab.  Those changes show up below, so you may want to check out that PR first.

@mmarum-sugarcrm Good call on updating the doc.  I've updated the doc throughout the file.  Back to you!


Turn base operator class to common functions file

Description

After changes done in #627 it seems unnecessary to inherit a base class with just a single method in it for all these different operator classes so this organizes the operators similar to how handlers have a common functions file instead.
Related issues

Type of change

[x] New feature (non-breaking change which adds functionality)

Changes Made

turned the BaseOperator class into a single method that most of the operators import

Testing

[x] Unit Tests

Made this fairly quickly just because I thought it cleans up the structure slightly. If it's a bad or just an unnecessary change, feel free to close without merging

the change looks in line with the handlers module (common.py), and streamline things. At the same time i like the class inheritance to have one common class for the db_service.
Thinking of the future, maybe an ABC class would suit us as the generate_accession_id might need to be an abstractmethod where each object implements their own way of generating the accessionId - e.g. we might want to customize the uuids with prefix to specify what type of object it is, or we might want to generate for a file a uuid based on sha256 checksum, to uniquely identify each file in the system.


feat: ✨ Add watchAsset method

Is your feature request related to a problem?
No response
Describe the solution you'd like
Add watchAsset Method/action as mentioned here - https://wagmi.sh/core/api/actions/watchAsset
Additional context
No response
Epic
No response

Closed via #54


Change signin/signout into session endpoint

Create new endpoint /users/session, where:

POST /users/session replaces POST /users/signin
GET /users/session replaces OPTIONS /users regarding session information
DELETE /users/session replaces POST /users/signout and DELETE /users/signin.

This change will treat session as a resource under user instead of creating custom, non-RESTful actions under user.

Closing this issue as "session" is changing to a first-class citizen in 0.2.
PR https://github.com/pauloddr/google-function-authorizer/pull/5


Feature Request - Allow handlebars usage in PushTemplate

Hi there,
I'm opening this issue with a related PR (https://github.com/parcelvoy/platform/pull/567) in case it's simpler for you to discuss the use case here instead of in the PR.
In our workflows, we want to send custom deeplinks (through notification pushes) to users based on some of their attributes. For this to work, we need to have handlebars interpretation for URLs.
For instance, we want to set the deeplink/URL to this kind of value: https://example.com/{{ user.foo }}
I think https://github.com/parcelvoy/platform/pull/567 is an an acceptable implementation but I'm happy to help and/or give you more details if you want to 🙂

Appreciate the contribution, just merged it in!

I just realized that the PR doesn't handle the case where no deeplink are specified (i.e. url is undefined). I'll submit a PR with a fix once I did more e2e tests to be sure to cover every cases


dashboard: use run_once at block level

Instead of using run_once: true on each tasks in a block section, we
can use the run_once statement at the block level.
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

jenkins test centos-non_container-all_daemons

jenkins test centos-container-all_daemons


Some Lebanese phone numbers are invalid.

The new Lebanese phone numbers that start with 78,79 and 82 return as invalid yet they must be valid.
Here's an example of a valid phone number:<PHONE_NUMBER>6

and Here's an example of another valid phone number:<PHONE_NUMBER>6 - but it is being returned as invalid

Thanks for your efforts.

We can't connect to +<PHONE_NUMBER>6.
We are not able to find  781 digit numbers with this prefix online.
Please share any working numbers or official evidence you may have. See our guidelines.

The prefix is 78 and not 781.
Here's the full list : https://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000770002PDFE.pdf
found on the international telecommunication union: http://www.itu.int/oth/T0202000077/en

Thanks for providing all the details we need! We've accepted this issue and
will fix this in an upcoming release. For your next metadata issue, we invite
you to file issues in Google's new Issue Tracker, which we're currently testing.
Please note that you have submitted this information with the knowledge that we
may use, modify, reproduce, publicly display, and distribute the information in
accordance with our open source policies. Please let us know if you did not
intend to submit the information for such use.

We support 10 digit long numbers for the prefix 78 http://libphonenumber.appspot.com/phonenumberparser?number=7812345&country=LB  while the specified number is 11 digits long.
Here is our official evidence: https://www.itu.int/dms_pub/itut/oth/02/02/T02020000770002PDFE.pdf
I'll close this as it's not an issue with the library. Please consider joining the discussion
group if you'd like to discuss this further.


[Proposal][Lumen] Add tinker command

I've been running into a lot of strange problems with Lumen lately, and the lack of tinker makes these issues even more irritating because they're harder to debug.
Can we please get Tinker in Lumen? It's extremely important in debugging applications, even if this is a micro-framework.

That would add a lot of dependencies.

It would make a good lumen package though. :)

damn


Just some typos ;)

Hi @NitroCipher, Your Pr has been Merged. Welcome to this Repo. I Hope you check out prixy. I know you are a scratcher, as i' ve talked to you there. Anyways, Thanks


mixed content warnings because of fonts.googleapis.com

The fonts.googleapis.com CSS is embedded over http, while the page itsself uses https. This leads to warnings about mixed content.

@cboltz I recon this has been solved but I would like to ask you to close the issue if you consider it resolved, otherwise I will revisit this.

Indeed, that's fixed in the meantime :-)


move shift migration to after the data migration

because otherwise there's no value for a non-nullable column. add the default value back in

reason this migration worked on stage/testing: since all the migrations were running at once there were no rows for the shifts table


[Bug]: Can't Load server after Setup Config [Forge/1.18.2]

What happened?
I Use Forge 40.0.52 / Better MC 1.18.2 V6 + MAC M1 Monterey 12.3.1
First Setup Start (= when not yet made Config file) is OK. but, i Touch Config, Always Crash
I trying

change Forge Version
Re-install Java JDK
Re-Re-Re Install Your mod.....

but nothing happen. just crash.
please check and reply. thanks.
Game Version
Other
What platform are you using?
Forge
Platform version
Forge 40.0.52
Config File
# General options for the bot
[general]
  # Insert your Bot Token here!
  # DO NOT SHARE IT WITH ANYONE!
  botToken = "blabla"
  # The channel ID where the bot will be working in
  botChannel = "blablabla"
  # The bot's status message
  #
  # PLACEHOLDERS:
  # %online% - Online Players
  # %max% - Maximum Player Amount
  botStatusName = "%online% players Online"
  # Type of the bot's status
  # Allowed Values: DISABLED,PLAYING,WATCHING,LISTENING,STREAMING,COMPETING
  botStatusType = "PLAYING"
  # URL of the bot's stream when using the status type 'STREAMING'
  # Has to start with https://twitch.tv/ or https://www.youtube.com/watch?v=
  streamingURL = ""
  # Enable checking for updates?
  # Notification will be shown after every server start in log when update is available
  enableUpdateChecker = true
  # The minimum release type for the update checker to notify
  # Allowed values: release, beta, alpha
  updateCheckerMinimumReleaseType = "beta"
  # Set to false to disable config migration from other mods/plugins to this one
  # This does not prevent updating of this config after mod updates
  allowConfigMigration = true
  # Attempt to parse id-based mentions to names in in-game chat
  parseMentionsIngame = true
# Configuration options for commands
[commands]
  # The Role IDs of your Admin Roles
  # Now supports multiple roles which can access admin commands
adminRoleIDs = [    ]
  # Add your custom commands here
  # You can also generate some on https://erdbeerbaerlp.de/dcintegration-commands/
  # You must op this UUID in the ops.txt or some custom commands won't work!
  senderUUID = "8d8982a5-8cf9-4604-8feb-3dd5ee1f83a3"
  # Enable help command?
  # Disabling also removes response when you entered an invalid command
  # Requires server restart
  helpCmdEnabled = true
  # Enable the list command in discord
  # Requires server restart
  listCmdEnabled = true
  # Enable the uptime command in discord
  # Requires server restart
  uptimeCmdEnabled = true
  # Set to false to completely disable the "Unknown Command" message
  showUnknownCommandMessage = true
  # Set to true to enable the "Unknown Command" message in all channels
  showUnknownCommandEverywhere = false

    [[commands.customCommands]]
      name = "kick"
      description = "Kicks an player from the Server"
      mcCommand = "kick %player% %reason%"
      adminOnly = true
      hidden = false

        [[commands.customCommands.args]]
          name = "player"
          description = "The player to be kicked"
          optional = false

        [[commands.customCommands.args]]
          name = "reason"
          description = "Reason for the kick"
          optional = true

    [[commands.customCommands]]
      name = "stop"
      description = "Stops the server"
      mcCommand = "stop"
      adminOnly = true
      hidden = false
args = [    ]

    [[commands.customCommands]]
      name = "kill"
      description = "Kills an Player or Entity"
      mcCommand = "kill %target%"
      adminOnly = true
      hidden = false

        [[commands.customCommands.args]]
          name = "target"
          description = "The target(s) for the kill command."
          optional = false
# Toggle some message related features
[messages]
  # Enable formatting conversion (Markdown <==> Minecraft)
  convertCodes = true
  # Send formatting codes from mc chat to discord
  # Has no effect when markdown <==> Minecraft is enabled
  formattingCodesToDiscord = false
  # Should /say output be sent to discord?
  sendOnSayCommand = true
  # Should /me output be sent to discord?
  sendOnMeCommand = true
  # When an /say command's message starts with this prefix, it will not be sent to discord
  sayCommandIgnoredPrefix = "§4§6§k§r"
  # Should tamed entity death be visible in discord?
  sendDeathMessagesForTamedAnimals = false
# Advanced options
[advanced]
  # Custom channel ID for server specific messages (like Join/leave)
  # Leave 'default' to use default channel
  serverChannelID = "default"
  # Custom channel ID for death messages
  # Leave 'default' to use default channel
  deathsChannelID = "default"
  # Custom channel for for ingame messages
  # Leave 'default' to use default channel
  chatOutputChannelID = "default"
  # Custom channel where messages get sent to minecraft
  # Leave 'default' to use default channel
  chatInputChannelID = "default"
# Config options which only have an effect when using forge
[forgeSpecific]
  # A list of blacklisted modids
  # Adding one will prevent the mod to send messages to discord using forges IMC system
IMC_modIdBlacklist = [  "examplemod"  ]
  # Show item information, which is visible on hover ingame, as embed in discord?
  sendItemInfo = true
# Configuration for linking
[linking]
  # Unlink players when they leave the discord server for whatever reason (ex. leave,kick,ban)?
  unlinkOnLeave = true
  # Should discord linking be enabled?
  # If whitelist is on, this can NOT be disabled
  # DOES NOT WORK IN OFFLINE MODE!
  enableLinking = true
  # Role ID of an role an player should get when he links his discord account
  # Leave as 0 to disable
  linkedRoleID = "0"
  # Enable discord based whitelist?
  # This will override the link config!
  # To whitelist use the whitelist command in the bot DMs
  whitelistMode = false
  # Adding Role IDs here will require the players to have at least ONE of these roles to link account
requiredRoles = [    ]
settingsBlacklist = [    ]

    # Allows you to configure the default values of some personal settings
    [linking.personalSettingsDefaults]
      default_useDiscordNameInChannel = true
      default_ignoreReactions = false
      default_pingSound = true
# Webhook configuration
[webhook]
  # Whether or not the bot should use a webhook (it will create one)
  enable = false
  # The avatar to be used for server messages
  serverAvatarURL = "https://raw.githubusercontent.com/ErdbeerbaerLP/Discord-Chat-Integration/master/images/srv.png"
  # The name to be used for server messages
  serverName = "Minecraft Server"
  # The URL where the player avatar gets fetched from
  #
  # PLACEHOLDERS:
  # %uuid% - Returns the player's UUID with dashes
  # %uuid_dashless% - Returns the player's UUID without dashes
  # %name% - Returns the player's name
  # %randomUUID% - Returns an random UUID which can be used to prevent discord cache
  playerAvatarURL = "https://minotar.net/avatar/%uuid%?randomuuid=%randomUUID%"
# Allows you to modify and translate most of the messages this bot will send
[localization]
  # This is what will be displayed ingame when someone types into the bot's channel
  # PLACEHOLDERS:
  # %user% - The username
  # %id% - The user ID
  # %msg% - The message
  ingame_discordMessage = "§6[§5DISCORD§6]§r <%user%> %msg%"
  # This is what will be displayed ingame when someone sends an reply into the bot's channel
  # PLACEHOLDERS:
  # %user% - The username
  # %id% - The user ID
  # %msg% - The reply message
  # %ruser% - The username of the message that got the reply
  # %rmsg% - The replied message
  ingame_discordReplyMessage = "§6[§5DISCORD§6]§r §a%user%§r in reply to §3%ruser%§r: %msg%"
  # Message shown when hovering over the username of an discord message
  # PLACEHOLDERS:
  # %user% - The username/nickname (Someone123)
  # %user#tag% - The username with tag (someone#0001)
  # %id% - The user ID
  #
  # NOTE: using an @ here can cause ping sounds ingame
  discordUserHover = "§3Discord User %user#tag%\n§aClick to mention"
  # This message will edited in / sent when the server finished starting
  serverStarted = "Server Started!"
  # Message to show while the server is starting
  # This will be edited to SERVER_STARTED_MSG when webhook is false
  serverStarting = "Server Starting..."
  # This message will be sent when the server was stopped
  serverStopped = "Server Stopped!"
  # The message to print to discord when it was possible to detect a server crash
  serverCrash = "Server Crash Detected :thinking:"
  # Gets sent when an player joins
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerJoin = "%player% joined"
  # Gets sent when an player leaves
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerLeave = "%player% left"
  # Gets sent when an player dies
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %msg% - The death message
  playerDeath = "%player% %msg%"
  # Message sent instead of playerLeave, when the player times out
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerTimeout = "%player% timed out!"
  # Gets sent when an player finishes an advancement
  # Supports MulitLined messages using \n
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %name% - The advancement name
  # %desc% - The advancement description
  advancementMessage = "%player% just made the advancement **%name%**\n_%desc%_"
  # The chat message in discord, sent from an player in-game
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %msg% - The chat message
  discordChatMessage = "%player%: %msg%"
  # Sent to a player when someone reacts to his messages
  # PLACEHOLDERS:
  # %name% - (Nick-)Name of the user who reacted (format: 'SomeNickName')
  # %name2% - Name of the user who reacted with discord discriminator (format: 'SomeName#0123')
  # %msg% - Content of the message which got the reaction
  # %emote% - The reacted emote
  reactionMessage = "§6[§5DISCORD§6]§r§7 %name% reacted to your message \"§9%msg%§7\" with '%emote%'"
  # Message shown for attachments
  attachment = "Attachment"
  # Message shown for stickers
  sticker = "Sticker"
  # Header for Embeds
  embed = "Embed"
  # Message shown for embed images
  embedImage = "Image"
  # Message shown for embed messages
  embedMessage = "Message"
  # Hover message for the bot tag ingame
  bot = "This user is an bot"

    # Strings about the discord commands
    [localization.commands]
      # Shown in console when trying to use the discord command
      ingameOnly = "This command can only be executed ingame"
      # Shown when successfully reloading the config file
      configReloaded = "Config reloaded!"
      # Shown when an subcommand is disabled
      subcommandDisabled = "This subcommand is disabled!"
      # Message sent when user does not have permission to run a command
      noPermission = "You don't have permission to execute this command!"
      # Message sent when an invalid command was typed
      #
      # PLACEHOLDERS:
      unknownCommand = "Unknown command, try `/help` for a list of commands"
      # Message if a player provides less arguments than required
      notEnoughArguments = "Not enough arguments"
      # Message if a player provides too many arguments
      tooManyArguments = "Too many arguments"
      # Message if a player can not be found
      #
      # PLACEHOLDERS:
      # %player% - The player's name
      playerNotFound = "Can not find player \"%player%\""
      # The message for 'list' when no player is online
      cmdList_empty = "There is no player online..."
      # The header for 'list' when one player is online
      cmdList_one = "There is 1 player online:"
      # The header for 'list'
      # PLACEHOLDERS:
      # %amount% - The amount of players online
      cmdList_header = "There are %amount% players online:"
      # Header of the help command
      cmdHelp_header = "Your available commands in this channel:"
      # Message sent when ignoring Discord messages
      commandIgnore_ignore = "You are now ignoring Discord messages!"
      # Message sent when unignoring Discord messages
      commandIgnore_unignore = "You are no longer ignoring Discord messages!"
      # Message sent when using the uptime command
      #
      # PLACEHOLDERS:
      # %uptime% - Uptime in uptime format, see uptimeFormat
      cmdUptime_message = "The server is running for %uptime%"
      # The format of the uptime command
      # For more help with the formatting visit https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/time/DurationFormatUtils.html
      uptimeFormat = "dd 'days' HH 'hours' mm 'minutes'"
      # Shows when running slash commands as command response
      executing = "Executing..."
      # Command argument description for the linkcheck command's Discord user parameter
      cmdLinkcheck_userargDesc = "The discord user to check"
      # Command argument description for the linkcheck command's minecraft player parameter
      cmdLinkcheck_mcargDesc = "The minecraft player's UUID or Name to check"
      # Sent when checked user is not linked
      cmdLinkcheck_notlinked = "This account is not linked!"
      #
      cmdLinkcheck_discordAcc = "Discord-Account: "
      cmdLinkcheck_minecraftAcc = "Minecraft Account: "
      cmdLinkcheck_cannotGetPlayer = "Error getting player information! Maybe you used an invalid name / UUID"
      cmdSett_key = "Destination settings key"
      cmdSett_val = "Settings value"
      cmdSett_set = "Change an setting"
      cmdSett_get = "Retrieve an setting value"

        # Command descriptions
        [localization.commands.descriptions]
          settings = "Allows you to edit your personal settings"
          uptime = "Displays the server uptime"
          help = "Displays a list of all commands"
          list = "Lists all players currently online"
          link = "Links your Discord account with your Minecraft account"
          whitelist = "Whitelists you on the server by linking with Discord"
          linkcheck = "Shows info about an linked discord user or an ingame player"

    # Strings about the account linking feature
    [localization.linking]
      # Sent to the user when he linked his discord successfully
      # PLACEHOLDERS:
      # %player% - The in-game player name
      linkSuccessful = "Your account is now linked with %player%.\nUse /settings to view and set some user-specific settings"
      # Sent to the user when linking fails
      linkFailed = "Account link failed"
      # Sent when an already linked user attempts to link an account
      # PLACEHOLDERS:
      # %player% - The in-game player name
      alreadyLinked = "Your account is already linked with %player%"
      # Sent when attempting to use personal commands while not linked
      # PLACEHOLDERS:
      # %method% - The currently enabled method for linking
      notLinked = "Your account is not linked! Link it first using %method%"
      # Message of the link method in whitelist mode
      # Used by %method% placeholder
      linkMethodWhitelistCode = "joining the server and then using `/link <whitelist-code>` here"
      # Message of the link method in normal mode
      # Used by %method% placeholder
      linkMethodIngame = "`/discord link` ingame"
      # Sent when attempting to whitelist-link with an non uuid string
      # PLACEHOLDERS:
      # %arg% - The provided argument
      link_argumentNotUUID = "Argument \"%arg%\" is not an valid UUID or Name. Use `/whitelist <Name-or-UUID>`"
      # Sent when attempting to link with an unknown number
      invalidLinkNumber = "Invalid link number! Use `/discord link` ingame to get your link number"
      # Sent when attempting to link with an invalid number
      linkNumberNAN = "This is not a number!"
      # Message shown to players who are not whitelisted using discord
      # No effect if discord whitelist is off
      notWhitelistedCode = "§cYou are not whitelisted.\nJoin the discord server for more information\nhttps://discord.gg/someserver\nYour Whitelist-Code is: §6%code%"
      # Sent when trying to link without an required role
      link_requiredRole = "You need to have an role to use this"
      # Sent when trying to link as an non-member
      link_notMember = "You are not member of the Discord-Server this bot is operating in!"
      # Sent to the user when he linked his discord successfully
      # PLACEHOLDERS:
      # %name% - The linked discord name
      # %name#tag% - The linked discord name with tag
      linkSuccessfulIngame = "Your account is now linked with discord-user %name#tag%"
      # Message shown to players who want to link their discord account ingame
      #
      # PLACEHOLDERS:
      # %num% - The link number
      linkMsgIngame = "Send this command as a direct message to the bot to link your account: /link %num%\nThis number will expire after 10 minutes"
      # Shown when hovering over the link message
      hoverMsg_copyClipboard = "Click to copy command to clipboard"

    # Strings about the personal settings feature
    [localization.personalSettings]
      # Message for getting an setting's value
      personalSettingGet = "This settings value is `%bool%`"
      # Sent when user sucessfully updates an prersonal setting
      settingUpdateSuccessful = "Successfully updated setting!"
      # Header of the personal settings list
      personalSettingsHeader = "Personal Settings list:"
      # Error message when providing an invalid personal setting name
      invalidPersonalSettingKey = "`%key%` is not an valid setting!"
      settingsCommandUsage = "Usages:\n\n/settings - lists all available keys\n/settings get <key> - Gets the current settings value\n/settings set <key> <value> - Sets an Settings value"
      # Sent when setting an personal setting fails
      settingUpdateFailed = "Failed to set value :/"
      # Sent when attempting to change an blacklisted setting
      settingUpdateBlocked = "The server owner disabled changing of this setting"

        # Descriptions of the settings
        [localization.personalSettings.descriptons]
          ignoreDiscordChatIngame = "Configure if you want to ignore discord chat ingame"
          useDiscordNameInChannel = "Should the bot send messages using your discord name and avatar instead of your in-game name and skin?"
          ignoreReactions = "Configure if you want to ignore discord reactions ingame"
          pingSound = "Toggle the ingame ping sound"
          hideFromDiscord = "Setting this to true will hide all of your minecraft messages from discord"
# Configuration for the in-game command '/discord'
[ingameCommand]
  # Enable the /discord command to show an custom message with invite URL?
  enabled = true
  # The message displayed when typing /discord in the server chat
  message = "Join our discord! http://discord.gg/myserver"
  # The message shown when hovering the /discord command message
  hoverMessage = "Click to open the invite url"
  # The url to open when clicking the /discord command text
  inviteURL = "http://discord.gg/myserver"
# The command log channel is an channel where every command execution gets logged
[commandLog]
  # Channel ID for the command log channel
  # Leave 0 to disable
  channelID = "0"
  # The format of the log messages
  #
  # PLACEHOLDERS:
  # %sender% - The name of the Command Source
  # %cmd% - executed command (e.g. "say Hello World"
  # %cmd-no-args% - Command without arguments (e.g. "say"
  message = "%sender% executed command `%cmd%`"
  # A list of commands that should NOT be logged
ignoredCommands = [  "list", "help", "?"  ]
# Configure votifier integration here
# (Spigot only)
[votifier]
  # Should votifier messages be sent to discord?
  enabled = true
  # Custom channel ID for Votifier messages
  # Leave 'default' to use default channel
  votifierChannelID = "default"
  # The message format of the votifier message
  #
  # PLACEHOLDERS:
  # %player% - The player´s name
  # %site% - The name of the vote site
  # %addr% - (IP) Address of the site
  message = ":ballot_box: %player% just voted on %site%"
  # Name of the webhook title
  name = "Votifier"
  # URL of the webhook avatar image
  avatarURL = "https://www.cubecraft.net/attachments/bkjvmqn-png.126824/"
# Configure Dynmap integration here
[dynmap]
  # The message format of the message forwarded to discord
  #
  # PLACEHOLDERS:
  # %sender% - The sender´s name
  # %msg% - The Message
  dcMessage = "<%sender%> %msg%"
  # Custom channel ID for dynmap chat
  # Leave 'default' to use default channel
  dynmapChannelID = "default"
  # Name of the webhook title
  name = "Dynmap Web-Chat"
  # URL of the webhook avatar image
  avatarURL = "https://styles.redditmedia.com/t5_2kl3ct/styles/communityIcon_am5zopqnjhs41.png"
  # The name format of the message forwarded to the dynmap webchat
  #
  # PLACEHOLDERS:
  # %name% - The discord name of the sender (including nickname)
  # %name#tag% - The discord name with tag of the sender (without nickname)
  webName = "%name% (discord)"
  # Name shown in discord when no name was specified on the website
  unnamed = "Unnamed"
# Configure some plugin-specific BStats settings here
# Everything can be seen here: https://bstats.org/plugin/bukkit/DiscordIntegration/9765
#
# Does not apply to fabric yet, as there is no bstats for it
[bstats]
  # Allow sending of installed addon stats (Name and version of installed addons)
  sendAddonStats = true
# Settings for servers running as Bungeecord-suberver
[bungee]
  # Set this to true if the server is running as an subserver of an bungeecord network and therefore needs to be in offline mode
  # Setting this will force account linking in offline mode
  # Do NOT use for actual offline mode servers, as this will break the linking feature because of the UUIDs!
  #
  # Currently no support for floodgate running on bungee
  isBehindBungee = false

Crash report / Error log (if applicable)
---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.

Time: 22. 4. 17. 오전 11:20
Description: Mod loading error has occurred

java.lang.Exception: Mod Loading has failed
	at net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:55) ~[forge-1.18.2-40.0.52-universal.jar%23182!/:?] {re:classloading}
	at net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:39) ~[forge-1.18.2-40.0.52-universal.jar%23182!/:?] {re:classloading}
	at net.minecraft.server.Main.main(Main.java:112) ~[server-1.18.2-20220404.173914-srg.jar%23178!/:?] {re:classloading}
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
	at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:32) ~[fmlloader-1.18.2-40.0.52.jar%2316!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?] {}
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {}

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: main
Stacktrace:
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:138) ~[securejarhandler-1.0.3.jar:?] {}
-- MOD dcintegration --
Details:
	Caused by 0: java.lang.NoClassDefFoundError: de/erdbeerbaerlp/dcintegration/common/storage/CommandRegistry
		at de.erdbeerbaerlp.dcintegration.forge.DiscordIntegration.serverSetup(DiscordIntegration.java:129) ~[dcintegration-forge-2.3.5-1.18.2.jar%2379!/:2.3.5] {re:classloading}
		at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-5.0.3.jar%232!/:?] {}
		at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-5.0.3.jar%232!/:?] {}
		at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}
		at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}
		at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:106) ~[javafmllanguage-1.18.2-40.0.52.jar%23180!/:?] {}
		at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:107) ~[fmlcore-1.18.2-40.0.52.jar%23179!/:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
		at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
		at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
		at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:computing_frames}
		at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:computing_frames}
		at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {}

	Mod File: dcintegration-forge-2.3.5-1.18.2.jar
	Failure message: Discord Integration (dcintegration) encountered an error during the sided_setup event phase
		java.lang.NoClassDefFoundError: de/erdbeerbaerlp/dcintegration/common/storage/CommandRegistry
	Mod Version: 2.3.5
	Mod Issue URL: https://github.com/ErdbeerbaerLP/Discord-Chat-Integration/issues
	Exception message: java.lang.ClassNotFoundException: de.erdbeerbaerlp.dcintegration.common.storage.CommandRegistry
Stacktrace:
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:138) ~[securejarhandler-1.0.3.jar:?] {}
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {}
	at de.erdbeerbaerlp.dcintegration.forge.DiscordIntegration.serverSetup(DiscordIntegration.java:129) ~[dcintegration-forge-2.3.5-1.18.2.jar%2379!/:2.3.5] {re:classloading}
	at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:106) ~[javafmllanguage-1.18.2-40.0.52.jar%23180!/:?] {}
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:107) ~[fmlcore-1.18.2-40.0.52.jar%23179!/:?] {}
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:computing_frames}
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:computing_frames}
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
I remember, when 1.18.1 version's Config location is "World/ServerConfig" folder. but 1.18.2 is "Config" folder again.

Having similar issue on my new 1.18.2 modded server. All fine until I setup config then it worked for a sec - "Server Started!" popped up in discord channel, but then crashed right  after.

I'm having the same exact issue. I run the server to get the config installed, close the server, edit the config and only touch the bot token and channel id, then start the server again. Then Boom, My server doesn't work anymore!!

I have the exact same issue on 1.18.2

I managed to solve this issue by enabling "SERVER MEMBERS INTENT" on the Discord Developer Portal for your bot config.

I managed to solve this issue by enabling "SERVER MEMBERS INTENT" on the Discord Developer Portal for your bot config.

Although that is a cause for a crash on load, that is not the issue in this case at least for me:

Still happening with latest alpha version?
(Currently slowly sifting through all issues)

Hi, I just tried the newest build <IP_ADDRESS>-1.18.2 and get this on server load

Here is my config:

Hmm...
Enabled all intents and gave bot permission to add slash commands?
(to do that, just use the invite url from the quick guide again without kicking the bot, it will just update it)

Hi Yes, jsut tested again same issue. Here is my bot setup:

Let me know if you need anything else from me?

To test: Try giving the bot admin temporarily.
If it works fine, you have permissions set wrong in the channel and/or the category of the channel

Just started using this and got the same issue, is the discord "Server Members Intent" still the same? I can't find it in perms.

I'm using 2.5.0-1.18.2 have the same issue

To test: Try giving the bot admin temporarily.

I gave the bot every single permission except the administrator, but the program failed, I don't know if their are any hidden permissions?
@ErdbeerbaerLP


JetBrains: "Settings" button is not working

IDE Information
PyCharm 2023.3.4 (Community Edition)
Build #PC-233.14475.56, built on February 26, 2024
Runtime version: 17.0.10+1-b1087.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.sourcegraph.jetbrains (6.0.20-nightly)
Bug Description
Platform: Windows
Steps to reproduce:

Have Cody plugin installed in your JB IntelliJ editor
Launch the IDE and wait for Cody to load correctly
Login to Cody with Free/Pro user
Click on "Settings" button

Observed behavior:
Nothing happens when user click on "Settings" button.
Expected behavior:
Cody settings should be opened when clicking on that button
Additional context
Screenshot:

Same issue in Jetbrains Rider as well.   (6.0.20-nightly)

should be fixed in the latest version


Config support for OVS-DPDK

This PR introduces the following changes to OVS-DPDK deployment:

Config support

Open vSwitch can be highly configured using other_configs options as described in OpenvSwitch manual).
Current deployment uses dpdk-socket-mem="1024" in start-ovs-dpdk.sh start script. However this approach means that OVS-DPDK can be only used on single NUMA node machines as OVS requires to allocate specific amount of hugepages for each NUMA node. So for machine with e.g. 2 NUMA nodes it should be  dpdk-socket-mem="1024,1024". Therefore I've decided to create simple OVS-DPDK configuration mechanism to enable configuring OVS for multiple NUMA nodes machines (and other specific configurations) without rebuilding Docker image.
The configuration file called config.cfg is located in /opt/ovs-config on host. This directory is mounted to ovs-ovn pod. It contains list of other_config options (same as declared in OpenvSwitch manual). Each option should be placed in new line.
For example:
dpdk-socket-mem="1024,1024"
dpdk-init=true
pmd-cpu-mask=0x4
dpdk-lcore-mask=0x2
dpdk-hugepage-dir=/dev/hugepages
Will enable DPDK with 1024MB of hugepages for NUMA node 0 and NUMA node 1, PMD CPU mask 0x4, lcore mask 0x2 and hugepages in /dev/hugepages.
If file will not exist upon OVS initialization, the default configuration file will be created with values:
dpdk-socket-mem="1024"
dpdk-init=true
dpdk-hugepage-dir=/dev/hugepages
Which is the same as current configuration in start-ovs.dpdk.sh

Reworked start-ovs-dpdk.sh

I was testing current OVS-DPDK approach and I stumbled upon problem regarding communication between pods running on master and pods running on worker. For some reason the pods cant connect to each other.
It seems that if 'ovs-ctl restart' is used (as in start-ovs.sh) instead of 'ovs-ctl start' (as in current start-ovs-dpdk.sh) the problem does not occur. Therefore I've decided to rework 'start-ovs-dpdk.sh' to unify it with 'start-ovs.sh'.

Separate ovn-dpdk.yaml

As I've mentioned earlier - to enable multiple NUMA node support it's needed to request specific amount of hugepages for ovs-ovn pod. Therefore decided to introduce separate yaml that could be easily customized using kubernetes kustomize. This would ease the process of deployment on multi NUMA node machines.

Thanks! @ipatrykx


Build failed on OS X Yosemite

I use php-build on os x yosemite and it's failed with error
bin# ./php-build -i development 5.6.5 /usr/local/php
[Info]: Loaded apc Plugin.
[Info]: Loaded composer Plugin.
[Info]: Loaded pyrus Plugin.
[Info]: Loaded xdebug Plugin.
[Info]: Loaded xhprof Plugin.
[Info]: php.ini-development gets used as php.ini
[Info]: Building 5.6.5 into /usr/local/php
[Skipping]: Already downloaded and extracted http://php.net/distributions/php-5.6.5.tar.bz2
[Preparing]: /var/tmp/php-build/source/5.6.5

-----------------
|  BUILD ERROR  |
-----------------

Here are the last 10 lines from the log:

-----------------------------------------
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 2.3, min: 204, excluded: 3.0).
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
configure: error: jpeglib.h not found.
-----------------------------------------

The full Log is available at '/tmp/php-build.<IP_ADDRESS>50128114841.log'.
[Warn]: Aborting build.

However, I have libjpeg install jpeglib.h can locate at /usr/local/libjpeg/include/jpeglib.h.
And this is result when I run gcc -x c -v -E /dev/null
bin# gcc -x c -v -E /dev/null
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.10.0 -E -disable-free -disable-llvm-verifier -main-file-name null -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 241.9 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0 -c-isystem /usr/local/ruby/include -c-isystem /usr/local/python/include -c-isystem /usr/local/postgresql/include -c-isystem /usr/local/node/include -c-isystem /usr/local/luajit/include -c-isystem /usr/local/lua/include -c-isystem /usr/local/libtiff/include -c-isystem /usr/local/libpng/include -c-isystem /usr/local/libmcrypt/include -c-isystem /usr/local/libjpeg/include -c-isystem /usr/local/libevent/include -c-isystem /usr/local/graphicmagick/include -c-isystem /usr/local/freetype/include -c-isystem . -fdebug-compilation-dir /usr/local/src/php-build/bin -ferror-limit 19 -fmessage-length 160 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.10.0 -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o - -x c /dev/null
clang -cc1 version 6.0 based upon LLVM 3.5svn default target x86_64-apple-darwin14.0.0
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/ruby/include
 /usr/local/python/include
 /usr/local/postgresql/include
 /usr/local/node/include
 /usr/local/luajit/include
 /usr/local/lua/include
 /usr/local/libtiff/include
 /usr/local/libpng/include
 /usr/local/libmcrypt/include
 /usr/local/libjpeg/include
 /usr/local/libevent/include
 /usr/local/graphicmagick/include
 /usr/local/freetype/include
 .
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
 /usr/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)
End of search list.
# 1 "/dev/null"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 170 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/dev/null" 2

What's I miss or can anyone explain how to use php-build on os x for me.

Hi, @clozed2u, it seems you don't have some OS dependencies. When you compile PHP (manually, via php-build or else), your system must have some dependencies installed according to which "flavor" of PHP you are building (I mean, the extensions and libraries you are including in build time).
I have an article (pt-BR) that shows a list of dependencies I have installed before compiling PHP: http://rogeriopradoj.com/2012/11/20/como-atualizar-a-versao-do-php-no-mac-osx-mountain-lion/
(I used OS X Homebrew for it, but you can use any package manager you want).
I suggest you take a look on the following links, where you can have a little help on how the dependencies are solved in Ubuntu/Debian systems:

https://github.com/travis-ci/travis-cookbooks/blob/master/ci_environment/phpbuild/recipes/default.rb#L38
https://github.com/CHH/php-build/blob/master/vagrant-init.sh#L6 e https://github.com/CHH/php-build/blob/master/vagrant-init.sh#L9

If you want, you could take a look in PHP manual as well: http://php.net/manual/en/install.macosx.compile.php

Thanks @rogeriopradoj.


Not working on Mac OS Big Sur (11.1)

I am using oh-my-zsh, the following error showed up:
Formatting files...
JetBrains Cleanup Code 2019.3.1
Running in 64-bit mode, .NET runtime 4.0.30319.42000 under Unix <IP_ADDRESS>
Usage: CleanupCode.exe [options] [project file]
Show help: CleanupCode.exe --help
"sh ./.git/hooks/resharper/cleanupcode.sh --profile="Built-in: Reformat Code" $SOLUTION_FILE --include="$INCLUDE_STRING"" command filed with exit code 1.

Interesting. Can you try to go into the pre-commit file in {solutionDir}/.git/hooks/pre-commit and add the following lines
echo "SOLUTION FILE" $SOLUTION_FILE;
echo "INCLUDE_STRING" $INCLUDE_STRING;
echo "STAGED_FILES" $STAGED_FILES;

right above the line if [[ "$OSTYPE" == "msys"* ]]; then (should be line 30~
Then try to commit again and let me know what the output of those lines are?


Provisioning may timeout to early when waiting for Gardener to assign domain

Description
Runtime provisioning may timeout while waiting for Gardener to assign the domain.
The Provisioning fails with such log:
ime="2020-06-23T09:33:06Z" level=info msg="Starting processing" Component=Executor OperationId=1dd32f20-b12f-42dc-bbbf-b11b1bad0f28 OperationType=PROVISION RuntimeId=ad03391d-ab97-4fd8-bbc4-f0ec4490b7a7 Stage=WaitingForClusterDomain
time="2020-06-23T09:33:06Z" level=warning msg="DNS Domain is not set yet for runtime ID: ad03391d-ab97-4fd8-bbc4-f0ec4490b7a7" source="wait_for_cluster_domain.go:61"

The cluster was provisioned successfully by Gardener after some time.
Todo:

Investigate and adjust the proper timeout for waiting for the cluster domain step.

Expected result
Provisioning does not fail on the step if it was executed successfully on the Gardener side.
Actual result
Provisioning may fail if waiting for a domain takes longer.

Not occurred since June, closing the issue.


feat: Implement prepared sql queries using push_bind for advanced fil…

…tering
This closes (#637 ).
push_bind is used to append values to the prepared sql queries.
String and (u8, u64) types are replaced with validname and validamount type for filter struct in advanced_record_filters.rs

Codecov Report

Merging #648 (5291eae) into main (f8ed015) will increase coverage by 0.97%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #648      +/-   ##
==========================================
+ Coverage   63.97%   64.94%   +0.97%
==========================================
  Files          45        1      -44
  Lines        5746      388    -5358
  Branches       74       74
==========================================
- Hits         3676      252    -3424
+ Misses       2070      136    -1934

Components
Coverage Δ

apel_plugin
64.94% <ø> (ø)

auditor
∅ <ø> (∅)

slurm_collector
∅ <ø> (∅)

slurm_epilog_collector
∅ <ø> (∅)

htcondor_collector
∅ <ø> (∅)

priority_plugin
∅ <ø> (∅)


Is it possible to search weixinhao(微信号) to add a friend?

Given a stranger weixinhao, is it possible to search it to get a Contact object. Then use Friendship.add() to send a request?

Currently, this is not possible

I will close this issue due to no more discussion for months, feel free to reopen this or file a new issue if you have any questions.


Breaks Unity's built-in Input system...

Before I was just using Input.GetAxis(); to get the axis of the joysticks now, after importing this API, it messed up the things I had previously set up. However I am forced to continue using this API because it is the only way that I've found that reads gyroscopic input from the DS4.

Sorry for the late response.  I'm not sure if there is a way to fix this problem, unfortunately.  I am performing some pretty low level calls to the windows USB queue, so Unity most likely isn't receiving any data from the controller.  This project is quite experimental right now so these sorts of problems are expected.


Add static GPT inference configs for 89B and 175B

PR types

New features
PR changes

Others
Description

新增GPT-175B和GPT-89B的参数配置，和FasterTransformer对齐，主要用于推理部署。

 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.root 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.


feat(plugin): Add clear-left, clear-right, clear-both classes

Added clear-left, clear-right and clear-both classes to float.js
Implements #1050

Made clear it's own plugin and merged in your work manually, not sure why this isn't shown as merged :/ But your commit is there 👍 Thanks!


Install-Package writes error on non-existent package

No error should be written by the provider when a package is not found.
Add -ErrorAction Ignore to Find-PSResource calls.
Install-Package -Name Docker.DockerDesktop -PassThru -Verbose
VERBOSE: Performing the operation "Install-Package" on target "Docker.DockerDesktop".
VERBOSE: Installing 'Docker.DockerDesktop' package.
VERBOSE: Calling 'PowerShellGet' provider.
Install-Package: Package 'Docker.DockerDesktop' with requested version range '(, )' could not be found in any trusted repositories

I'm not sure why but I can't reproduce this anymore.
Install-Package -Name Docker.DockerDesktop -PassThru -Verbose
VERBOSE: Performing the operation "Install-Package" on target "Docker.DockerDesktop".
VERBOSE: Installing 'Docker.DockerDesktop' package.
VERBOSE: Calling 'Chocolatey' provider.
VERBOSE: Calling 'PowerShellGet' provider.
VERBOSE: Calling 'Scoop' provider.
VERBOSE: Calling 'WinGet' provider.
Install-Package: Package not found. (Package 'Docker.DockerDesktop')


Program get stuck when using find_user()

I have problem in this function when the whatsapp number is invalid or doesn't exist

@vishaljangid1729 and @molder26: could you please give us more details so we can try and fix that? Thanks!

Hi @euriconicacio
I know this issue as I have also previously experienced it, The issue arises when you're trying to find an unsaved contact using  messenger.find_user() but then the program gets stuck in the way when the number is not on WhatsApp as it will keep waiting for elements to show up which just takes forever
One way to fix this  will be to put time out for the find_user() whereby after a certain delay a number will be considered invalid and then we can close the function

Nice, @Kalebu! I'll work on that asap! Thanks for the guidance!

I was looking into this and an existing alternative is using messenger.search_chat_by_name("+1<PHONE_NUMBER>"). It's sort of "brute-force" and searches only through non-archived chats, but it is working. Just ran a test with this and it worked nicely (still going to push some additional changes that will make it work, but it's going to be up shortly).
[WDM] - ====== WebDriver manager ======
[WDM] - Current google-chrome version is 102.0.5005
[WDM] - Get LATEST chromedriver version for 102.0.5005 google-chrome
[WDM] - Driver [/Users/euriconicacio/.wdm/drivers/chromedriver/mac64/102.0.5005.61/chromedriver] found in cache
2022-06-17 20:26:26,287 - root -- [INFO] >> Could not locate chat "+1<PHONE_NUMBER>"

Likewise and even in a deeper/more appropriate way, messenger.find_by_username("+1<PHONE_NUMBER>") works normally for me with the intended purpose - I mean, unless there's a really specific case that justifies the usage of find_user, I think we can go with find_by_username for names, group names and phone numbers (disclaimer: it fetches correctly the chat when the number exists):
[WDM] - ====== WebDriver manager ======
[WDM] - Current google-chrome version is 102.0.5005
[WDM] - Get LATEST chromedriver version for 102.0.5005 google-chrome
[WDM] - Driver [/Users/euriconicacio/.wdm/drivers/chromedriver/mac64/102.0.5005.61/chromedriver] found in cache
2022-06-17 21:07:46,692 - root -- [INFO] >> It was not possible to fetch chat "+1<PHONE_NUMBER>"

And here the chat being successfully fetched through its number:
[WDM] - ====== WebDriver manager ======
[WDM] - Current google-chrome version is 102.0.5005
[WDM] - Get LATEST chromedriver version for 102.0.5005 google-chrome
[WDM] - Driver [/Users/euriconicacio/.wdm/drivers/chromedriver/mac64/102.0.5005.61/chromedriver] found in cache
2022-06-17 21:12:38,057 - root -- [INFO] >> Successfully fetched chat "+55 41 9273-2739"

Closing this since the issue is solved. @vishaljangid1729 and @molder26, hope this final advice is helpful (using find_by_username). @Kalebu, we probably should make this more generic and less repetitive, what do you think?

how is this issue closed?


Text color is sometimes randomly black on iOS

Hi!
I have a flashcard app, and I use the Markdown() Composable to display the text on the flashcards. On iOS, the text (or certain cases, only parts of it) is shown in black, instead of the color I set.

the code is fully shared between iOS and Android, yet the issue is only present on iOS
it seems completely random. If I close and reopen the app, the same text might have the correct color the second time, or vice versa. I couldn't identify any pattern.
sometimes only parts of the text are black, for example only the bold part (third pic)
when I logged LocalMarkdownColors.current.text, the logged color code was white for those texts that appeared black, too
it happens for both dark and light mode

I am happy to provide any additional info!
PS: Thank you so much for your work! It is tremendously helpful!

Only bold text turns black:

That's super strange. Can you reproduce this with the sample app?
Do you see it on other platforms like desktop? Wondering if it may be a compose multiplatform bug ro so

(Can you please also test with v0.28.0-rc01?)


Text rotation?

Given how the Text tool uses a textarea when rendered it should be simple enough to rotate it with CSS.

I've never seen a rotated editable text box in a web browser, ever.

Tested it in Firefox and Chrome. Both work perfectly - and the rotation styles should support IE back all the way to 9.
Image manipulation programs typically allow you to write text vertically, so it seems a reasonable addition to LiterallyCanvas.

Covered by #365


Does not support full range of native FormTypes - Symfony 4.3.4

I'm uncertain whether the issue I'm experiencing is because my current version of Symfony 4.3.4  is unsupported by this bundle, or due to some specific implementation issue in our installation, or whether actually the bundle does not support all the different types included by Symfony.
use Limenius\Liform\Resolver;
use Limenius\Liform\Liform;
use Limenius\Liform\Liform\Transformer;
...
public function edit(Activity $activity, Liform $liform, Request $request)
    {
    // $builder->add('startDate', DateType::class, [
    $form = $this->createForm(ActivityFormType::class, $activity, []);
    $schema = $liform->transform($form);
...
}

The above pattern works as expected for TextType, and ChoiceType, but falls over for DateType with the error
"Could not find a transformer for any of these types (date, form) "
The documenation does not make it clear whether I should expect this functionality to exist. It suggests I will need to add custom work to include custom extension, however seems to imply that it should work out the box with a standard Symfony install.
I notice that DateType and EntityType do not seem to be in the list of available transformers here.
https://github.com/Limenius/LiformBundle/blob/master/Resources/config/transformers.xml
Am I correct then in my understanding that DateType which is a standard Symfony type is not supported?
https://symfony.com/doc/current/reference/forms/types/date.html
Edit
Also from here http://nacho-martin.com/serializing-symfony-forms-to-json-schema.html
This overview seems to imply dates are supported
->add('dueTo', Type\DateTimeType::class, [
Using the DateTimeType we get a similar error Could not find a transformer for any of these types (datetime)

I'm facing the same problem, this was working fine in 0.13, but upgrading to 0.15 broke it.
I very much assume it's got something to do with this "fix": https://github.com/Limenius/LiformBundle/commit/8c54258d2ba1b77c00c75c966641554f9fef80d6
I've helped myself for now to restore the "old" behavior by adding custom transformers in services.yml:
services:
    app.liform.datetime_type.transformer:
        class: Limenius\Liform\Transformer\StringTransformer
        parent: Limenius\Liform\Transformer\AbstractTransformer
        tags:
            - { name: liform.transformer, form_type: datetime, widget: datetime }
    app.liform.date_type.transformer:
        class: Limenius\Liform\Transformer\StringTransformer
        parent: Limenius\Liform\Transformer\AbstractTransformer
        tags:
            - { name: liform.transformer, form_type: date, widget: date }


Adding new required properties to a response-only model should NOT be breaking

Can we update our breaking change detection tooling to NOT mark new required properties to a response-only model as not breaking?
As an example, this PR https://github.com/Azure/azure-rest-api-specs/pull/25798/checks?check_run_id=17322511994 flagged several AddedRequiredProperty breaking changes but they are not actually breaking.

We'd need to change the policy first:

For non-nullable types, this would be a breaking SDK change for some languages like C#; though, still a problem regardless of changing the api-version, but one we'll have to consider.

Changing a property from non-required to required is breaking but adding a new required should not be breaking.

What happens with a V2 client model like so:
class Foo {
  public int Number { get; }
}

Gets a V1 request where number is absent? /cc @KrzysztofCwalina @tg-msft

One class of these problems will be addressed in #7184


Java Project : Morse Code Generator

it fixes the issue #30
Introduction
This is a code written in JAVA Programming Language to convert any piece of Text into MorseCode.

Features

Converts Text to MorseCode.
Protects Sensitive Text.

@abhijeet007rocks8 review this PR and get merge.