Use single quotes for dartSdkVersionBounds

Background
This reopens #99906 where Flutter CI was broken.
Motivation
In all templates, the dartSdkVersionBounds are inserted with double quotes. This, however, is inconsistent with the rest of the (app) template:
...
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
...
environment:
  sdk: ">=2.16.1 <3.0.0"

After this PR, the environment would be generated as:
environment:
  sdk: '>=2.16.1 <3.0.0'

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@Jasguerrero can you approve this one again?

The google testing bot has been having issues. I will merge this as the rest of pre-submits are green.


"default" button does not work in all applications

This is an OASYS bug, already tracked in ShadowOui project.

When there is a double issue please place the link to the original one. Github is very smart and also automatically sets a comment on the original one:
https://github.com/lucarebuffi/ShadowOui/issues/115


chore(revert): revert markdown to 1.7.0

Description
This reverts changes made in https://github.com/carbon-design-system/ibm-dotcom-library/pull/2715 due to build errors. Will target for 1.9.0 release.
Changelog
Removed

marked and dompurify packages
full markdown support
Expressive list styles

LGTM basically, just one question; Was the removal of _list.scss intentional? Thanks @kennylam!

@asudoh Actually you're right, I could have left that in for now with no issues. I removed it because it was for the markdownToHTML list examples, which had to be removed as well. But no worries, we can re-add later np. Thanks!


wip: Only pass -march flag in linux release builds

Motivation

This should hopefully allow Sorbet to work under Rosetta 2 on Apple
Silicon Macs?
It will come as a slight performance degradation (potentially, I haven't
measured) on Intel-based Macs.
Test plan

Existing tests.

I wonder if this has negative effects on the local dev cycle, given that payload compression/decompression is no longer using fancy vector instructions (assuming they use anything from SSE3/SSSE3/SSE4/AVX+). Probably lost in the noise.

Yep, I'm down to measure. But IMO local dev on macOS is already so much slower than Linux I'm not too worried about it.

For error tracking purposes: this change fixes #3852

I've heard three people try this out and say that it works on their Apple Silicon Mac, and also that it doesn't regress performance noticeably.


fix(#1552): use user provided weights instead of uniform distribution

Description
As highlighted in #1552, when using inSet constraints, user weights are ignored and the distribution is uniform. This PR attempts to correct this behaviour.
Changes
As mentioned in the issue, we currently drop the weights provided by the user after processing the file and then for the distribution to be uniform.
Additional notes
This is a fist attempt, although all the tests past I am not fully aware of the wider implications of these changes
Issue
Resolves #1552

Does anyone have any ideas of how we could write a test (some tests) to for weighted constraints?


macbook pro

i have already installed java 8 and still getting this issue plz
MacBook-Pro:~ james$ /Users/james/Desktop/traccar-macosx-64-3.5-2/traccar.run
Verifying archive integrity... All good.
Uncompressing traccar  100%
Java 7 or higher required

What's the output of the following command:
java -version

MacBook-Pro:~ james$ java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode

now im getting this
MacBook-Pro:~ james$ /Users/james/Desktop/traccar.run
Verifying archive integrity... All good.
Uncompressing traccar  100%
mkdir: /opt/traccar: Permission denied
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
chmod: /opt/traccar: No such file or directory
./setup.sh: line 14: /opt/traccar/bin/traccar: No such file or directory
rm: /opt/traccar/setup.sh: No such file or directory

You need to run it as root:
sudo /Users/james/Desktop/traccar.run


SOAP URL format in Business Central

Looks like in Business central the Soap services URL format is changed from NAV Soap services URL to REST API.
IN BC:
SOAP URL
https://api.businesscentral.dynamics.com/v1.0/5db49010-0f87-4ff9-98f9-a0b33a40e46a/sandbox/WS/CRONUS USA%2C Inc./Page/Chart_of_Accounts
SOAP URL
IN NAV 2018 or old D365 Finance and Operation.
https://tenantname.financials.dynamics.com:7047/MS/WS/CRONUS US/Page/Chart_of_Accounts?tenant=tenantname.financials.dynamics.com
But in BC we can still access the soap url in old format.
Wondering if BC will discontinue the old format and use the above new format in REST API or do we will still have the SOAP based URLs.?

BC will discontinue the old SOAP URL but we are looking into why you cannot with the browser to the new URL

Can you provide some timeline as to when the old endpoints will be removed?

I do not know the exact timeline, this most likely depends on the number of remaining connections to the old URLs. I recommend not to take any dependencies on the old URLs in any new AL code.
The new URL authentication problem is a bug that should be fixed late this week or early next week.


Video play

In REDME.md file any click event for play video own custom  video player.. Please suggest me..

Hello @rabii294 !
Please provide more detailed explanation if you wish someone to help you. It's hardly possible to get an idea of what you are trying to achieve

I'm going to close it now, but feel free to reopen it when you will have more details


Set vertical/horizontal screen position before opening new window

In i3 you can basically say "open the next window as a horizontal window" before you open it. The same goes for vertical (which is the default).
The only functionality i have found is to open the window first it will then open it vertically, then toggle it to become horizontally.
Am i missing something, or is that the general workflow? I would like to be able to open windows directly to horizontal or vertically after my choosing.

You can use the --insert command.
From the documentation:
DIR_SEL     := north | east | south | west

--insert <DIR_SEL>
Set the splitting area of the selected window.
If the current splitting area matches DIR_SEL, the action will be undone.


Try optional catch all routing

[ ] Integration tests (if applicable)

Closes https://github.com/vercel/next.js/discussions/29856

Doesn't work in this version of Next


Arpack Error

Hi, thank you for your great work!
Sometimes, I get the following two types of error for some image pairs in matching line segments by using the function of pytlbd.lbd_matching_multiscale().
Error 1
Arpack error in Aupp. -> Maximum number of iterations taken. Arpack error in Eigenvector(i,j). -> Range error.
Error 2
Arpack error in Aupp. -> Starting vector is zero. Arpack error in FindArnoldiBasis. -> Could not find the Arnoldi basis vectors. Arpack error in Eigenvector(i,j). -> Range error.
I am not familiar with ARPACK library, so I don't know what to do.
Do you have any idea to resolve these errors?
Thank you.

The first error is resolved.
Even if calculation of eigenvectors is not converged, the method of .EigenVectorsFound() returns 1.
So, replacing if (dprob.EigenVectorsFound()) with if(dprob.ConvergedEigenvalues() > 1) can avoid the range error.


ensure that we are passing the tagger component to no-aggregation-stream-worker

What does this PR do?
Ensure that we are using the tagger component in the newNoAggregationStreamWorker
The buggy code was introduce on this PR https://github.com/DataDog/datadog-agent/pull/30214
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Meteor 1.0.4 issues

When this package is installed on Meteor 1.0.4 the client loads forever in the browser.

This package is modifying only the sever side?

I think this commit fixes the issue:
https://github.com/cherbst/meteor-server-autorun/commit/86609ceb60659d9ace9e7a43ea23d230de7549da

@mitar I know, that's why I don't understand why this was/is happening.
@cherbst okay cool, I'll try it out again eventually.

Confirmed, that this commit fixes client loading issue.


Clearer error message for dependency analysis errors

Elazar Leibovich wrote:
I stumbled upon bug in old gcc version, which emitted wrong .d dependency files. When given -MT newtarget, it would output "origtarget newtarget:...". This would obviously confuse ninja.
The problem is, ninja doesn't check the validity of the dependency files after they're created. So you compile the project from scratch, thinking that everything went great, alas, the second compilation phase fails with a cryptic error message "expected makefile to mention 'foo'..." if the file name emitted by gcc is wrong, or a parsing error in my case. The error message does not tell you which dependency file caused this error. Nor does it hint that it is a dependency file at all.
I therefor suggest, that

Dependencies will be verified after executing compilation rule. To catch errors as fast as possible.
Include extra information in error message (ie parsed foo.o.d since rule foo_cc include depfile. Could not however find output file mentioned in it.)

Sounds sound? (part 2 might have impact on performance, I'm not sure that it would be noticeable)."

I think implementing #2 is pretty easy.
Perhaps surprisingly, implementing #1 is harder.  I'm reluctant to do it because once Ninja is running a build, it runs in a non-blocking manner to juggle all the subprocesses, and reading/parsing the dependency file might block.  Maybe it's too small to notice, but it feels wrong to me.

Try a patch like this, let me know if it works for you.

diff --git a/src/graph.cc b/src/graph.cc
index d13b10c..4517bf2 100644
--- a/src/graph.cc
+++ b/src/graph.cc
@@ -191,8 +191,8 @@ bool Edge::LoadDepFile(State* state, DiskInterface* disk_interface,
   // Check that this depfile matches our output.
   StringPiece opath = StringPiece(outputs_[0]->file_->path_);
   if (opath != makefile.out_) {
-    *err = "expected makefile to mention '" + outputs_[0]->file_->path_ + "', "
-        "got '" + makefile.out_.AsString() + "'";
+    *err = "expected depfile '" + path + "' to mention '" +
+      outputs_[0]->file_->path_ + "', got '" + makefile.out_.AsString() + "'";
     return false;
   }

@martin, why does it have to block? We don't need this information, we just need to verify it's correct, and if it isn't, we should issue a warning, or stop the build, or whatever.
As I imagine it it's like parsing the dependency file is an implicit job implied by  rule cc\ndependency=$out.

It has to block to read the file, unless we constructed something more complex to do that in a different process.

We can make it another process that verifies the file is sane. And add implicit rule that tests the build. We can have ninja invoke itself with secret command line arguments, in a mode that verifies itself.
Imagine we have this build.ninja file:
rule verify_dep
  command = ./ninja --verfify-dep $in --extra-information-from-build.ninja

rule cc
  command = gcc $in -c -o $out -MF $out.d
  depfile = $out.d.unverified

build foo.o: cc foo.c
build foo.o.d: verify_dep bar.o.d.unverified

Having such a build.ninja file "generated" implicitly will automatically give us verification without blocking anything, wouldn't it?


Fix deprecation warning when building conda package

When building/releasing conda package, we get this deprecation warning:
/usr/share/miniconda/envs/build-datasets/bin/conda-build:11: DeprecationWarning: conda_build.cli.main_build.main is deprecated and will be removed in 4.0.0. Use `conda build` instead.

This PR fixes the deprecation warning by using conda build instead.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Unable To write Plain text

Need Help to write plain text. Is there any option where we can right plain text. Right now whatever we write is saved as URL.
Thanks in Advance !

Hi, I will check it out soon when I'm available :)

Thanks for reverting back.
Waiting for the solution :)

Hi, I have just updated the example/App.js to include a RTD_TEXT example. Just like the url example, it allows you to write arbitrary text as RTD_TEXT record in the latest commit, please check it out!
Source is here, you can refer to the _requestNdefWrite function.
Thanks!

Hi, @sourav-dev-meme how's going? Are there still any issues?

Close due to no further activity


Link Projects

Create pages for projects

Webware

HCI

Ai

Done, did not use HCI but others were added


Max Memory Size that i can give for the Dictionary Handle

Max Memory Size that i can give for the Dictionary Handle

He @vijay8059, I assume you are asking for this as a feature request to add memory pressure based eviction to the dictionary cache handle?
This is not really easy to implement and even Microsoft remove their implementation lately from Microsoft.Extensions.Caching.Memory. I'm not planning to add that. But hey, if someone has a good idea how to do this, feel free to send a PR ;)

I need any in-memory cache handler so that i limit memory it's occupying, I don't cachehandler to bump my whole RAM. Is there any way i can do that?

As I mentioned in your other question, only System.Runtim.Caching supports that kind of mechanism (for in-memory) and you can configure it only via app/web.config.
Redis and Memcache of course support that, too.


Debug point get removed when statement is changed

 Issue by erandidesilva
Thursday Oct 19, 2017 at 15:33 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/4044

Browser: Chrome Version 62.0.3202.62 (Official Build) (64-bit)
Steps

Drop in an assignment box
Put in an assignment
Add a debug point
Change the assignment

The debug point get removed.

Implementation has differed we no longer have graphical debugging.


[perf] Why noDiff?

@andrewbranch Just curious why noDiff was added to the completionsAvgCV metric? It's not obvious to me from the history ...

Good question! Mainly because the values are already expressed in percentages, and expressing the percent difference between two percentages can be confusing/misleading—from dimensional analysis you can’t tell whether it’s a ratio or a simple arithmetic difference, and it’s somewhat unclear which would be the better measure of change. Secondly, since the CV only measures noise in the system, it’s not something the definition authors are responsible for, and a change in its value indicates nothing about the code change of the PR. A high value in either column should lead someone to view the other measurements in that column with a higher degree of skepticism. A significant difference between the CV before and after might lead you to believe that comparing other before and after values might be unreliable, but in fact, that comparison would be more reliable than if the CV before and after are both high. So paying attention to the difference at all is misleading, unless you are trying to debug the measurement infrastructure itself.

Thanks for the answer! Makes sense. Should it be added to quickInfoAvgCV as well then? https://github.com/microsoft/DefinitelyTyped-tools/blob/a02b2e92ab4498daba3baf643f1e9bd6202a6b3f/packages/perf/src/analysis/metrics.ts#L254

Oh, yes, good catch. Neither of those measurements should report a diff.


[Doc] Release Notes with consistent headings

Current
List of release notes for the individual Elephant releases with the follwing headings:
Elephant <version> release notes
Changes
Changed headings to be consistent with the following schema:
Release <version>

coverage: 87.902% (-0.3%) from 88.235%
when pulling d10c65d2d0b8769d71d3ec36b93944c8476091f9 on INM-6:fix_release_notes_docs
into a93bac0cc3e061e1daa4716912cbe0a5d86a7afd on NeuralEnsemble:master.


Feature: Have the next state as an attribute.

Is your feature request related to a problem? Please describe.
Nope
Describe the solution you'd like
Would it be possible to have next state as an attribute?
Describe alternatives you've considered
Additional context
Hey, I just installed your integration, and it's a game changer! It's perfect for setting a thermostat with different presets at different times in different rooms. I was looking for something like this for a while and I'm so happy I found it. I started looking at the code, but it's more complicated than I anticipated. I was wondering how hard it would be to add the next computed state as an attribute? As you wrote the code, you probably have an idea if it's doable or not.
Cheers for the awesome work!

Thanks! I think this should be possible to add. Let me think about it for a few days.

@vlebourl let me know if this works in your setup, I've tried it for a few days now and it seems to work

Perfect! thanks :)


bug/feature? add trace() output to console

When running TIC80 through command line, I would like to have outputs from trace() in the terminal window. Maybe a command line argument -t ?

info for me
https://stackoverflow.com/questions/3009042/how-to-view-printf-output-in-a-win32-application-on-visual-studio-2010

close duplicate of #173


Metrics CPU/Memory % per instance

Hi,
Is option to check metrcis by CPU/Memory % but per instance ?
I don't want to se CPU Time becuase I have Standard and Premium AppService Plan but if I have 5-10apps connect to one App Service Plan, I want to check how many CPU % and Memory % teak each application

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

ID: 2550993f-34f1-d963-3ee5-3dcebe2a64d7
Version Independent ID: 3da9bc96-6e24-54fa-bd99-6a6a704f583a
Content: Monitor apps - Azure App Service
Content Source: articles/app-service/web-sites-monitor.md
Service: app-service
GitHub Login: @btardif
Microsoft Alias: byvinyal

Thanks for the feedback @JakubW88! We are currently investigating and will update you shortly.

Hi @JakubW88,
If you're using the Metrics blade under the app service plan, you can change the scope which will allow you to pick the app service you're interested in.

or you can use the Diagnose and solve problems blade and see the metrics per app service that way.

Hope this helps.

@JakubW88, Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag us in your reply and we will gladly continue the discussion.


How do you get rid of the hack?

How do you get rid of the hack?

its not working i see no cars in my nitri type garage

somehooe

yayeet

how to gett the hack

try to reset the nitro type account if still no cars make a new account and send your money to that account.

The hack is patched now. However, to remove it, you have to disable the tamper monkey extension.


Added java port and tests for java

All the tests are successful, but it wasn't yet used in real application, so there might be some mistakes.

That's excellent that you have made a Java port, and I'm sure others will find this useful.
I am not keen to merge this change for a few reasons:

This repository is named "cobs-c" because it is specifically a C implementation (as opposed to another repository I have, "cobs-python" which is a Python repository). So my intention was just to keep this as a C implementation only.
I don't know Java (though I do know C++). I don't want to take the responsibility for support and maintenance of Java code by including it in this repository.

So, my suggestion is, create your own repository "cobs-java" or something like that. I'd be happy to provide a link to it in the README file as a list of "other known implementations".

Yes, you are right. I thought that this repository also included the python implementation because of the python tests folder. Missed the fact that you have another python specific repository.
I will create a repository dedicated to java port then.
Thank you for you suggestion


27 add attribute name to objects

Added "name" and "ID" attribute to LandingGameObject class.
Made sure that all childs request a name and forward it to the init_ of their parent.
Made sure, every LandingGameObject creates a unique ID.
Added class "ObjectLibrary" as alternative to pygame.sprites.Group().
It contains a dictionary "game_objects" with the new "name" attibute as keys for easy access.
Also, it is used to create a unique ID and check if the chosen name is also unique.
Right now, this is kind of a redundancy because an object can be identified by a unique name and a unique ID. Maybe we don't need the ID.
Added Test for the "ObjectLibrary".

Tests succeed local, but fail online. Have to check this while awake.


Issue 6 - Check that field names are unique in a schema

Note that this PR is stacked on top of #106, please merge that one first
Used this IntelliJ plugin to autogenerate the builder before adding validation: https://plugins.jetbrains.com/plugin/7354-innerbuilder
Resolves #6

Does the SchemaTest class need a couple of tests to ensure only primitive types are used in row keys/sort keys?

It has shouldntAllowMapTypeAsRowKey, shouldntAllowMapTypeAsSortKey, shouldntAllowListTypeAsRowKey and shouldntAllowListTypeAsSortKey. Do we need more?

No, that looks good. Consider this informal comment my recommendation this PR be merged.


Consider standardising on default id

Consider standardising on making a default id from the components name if an id is not given.
Related component

Radios make a default id from the name, other components like textarea do not
Context

Training people in using the Prototype Kit, where it was confusing why some components need id and others do not

great work! I'd suggest defaults from name for all the required ones

if this is something we're interested in I'm happy to try a PR

@colinrotherham has brought up that name may not always be a valid value for an id, for example, in the Date Input, the fields may have names like dateOfBirth[day], dateOfBirth[month] and dateOfBirth[year]. These are not valid ids as square brackets aren't permitted in id values.
Simiarly to this, there is no guarantee that a name be unique, as is required for ids, but the cases where this is most likely to happen (checkboxes and radio buttons) already have this accounted for within the Nunjucks templates.

the default dateInput example takes a namePrefix which we could use the same way to make a default id, it then builds the default day month and year from that

This just tripped me up slightly - I was confused why the label of a text input didn't focus the input on clicking it, which turned out to be because I'd forgotten to add an id using the Nunjucks macro.
I think I had wrongly assumed that the id would default to the name value, as that's what happens with radios and checkboxes.

I think thats a good point - if missed it creates a significant accessibility problem, the label and input won't be associated for screen readers and other assistive tech


XML error -> You must supply a layout_width attribute

com.github.zawadz88.activitychooser.R.layout.activity_material_activity_chooser
May be in this layout don't have any width and height

Hi @kenneth2008,
Thanks for reporting this.
This is due to the fact that styles are set via attributes and the Preview tool can't handle this. This can probably be solved by using tools.
I'll fix this :)

Using TrackingActivityChooserActivity extends MaterialActivityChooserActivity.
It occur after I click the share button, the TrackingActivityChooserActivity has been called and the following message.....:
Process: com.XXX.XXXX.uat, PID: 2217
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.XXX.XXXX.uat/com.XXX.XXXX.activity.TrackingActivityChooserActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: You must supply a layout_width attribute.
Caused by: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: You must supply a layout_width attribute.

Hi @kenneth2008,
On what device do you see this crash? Or is it on all devices?
Also, are you using the latest library version i.e. 0.2.2?

Q1: Android 6.0.1 on CAT S60 and Android 6.0.1 on Redmi Note 4X
Q2: Yes, 0.2.2,
At the beginning, I think it is because of this View:
<LinearLayout
android:id="@+id/mac_bottom_sheet"
It didn't included any width and height attribute. then I gave them but also warning on line 10.
Finallaly,  I try to copy all of your code , attrs, style, and set that activity theme as MacTheme, success!

Ah OK, so you were missing android:theme for your custom Activity?


ENH: Adding and documenting configs in nx-parallel

This PR makes nx-parallel compatible with networkx's config system and documents how to configure nx-parallel using joblib.parallel_config.
In PR 68, I attempted to create a unified configuration system in nx-parallel by wrapping the joblib.Parallel()(inside nx-parallel algorithms) within a with joblib.parallel_config(configs) context, here configs are extracted from nx.config.backends.parallel. This approach made NetworkX’s config closely mirror joblib’s, giving the appearance of synchronization between the two systems. However, in the last meeting, Dan mentioned that this approach complicates things.
In this PR, I tried to simplify things by clearly documenting both configuration methods for nx-parallel and also added implementation to make nx-parallel compatible with NetworkX’s config. The _set_nx_config decorator wrap the nx-parallel function call within a joblib.parallel_config context only when NetworkX configs are enabled. If not, then configs set via joblib take precedence.
In the last meeting, Dan also questioned why we need to make nx-parallel compatible with networkx’s config and why can’t we simply use joblib to configure nx-parallel. And it is necessary to keep nx-parallel compatible with other networkx backends and backend functionalities. Like we would need this compatibility if we would want to change backend_priority and some backend configs in a context like this:
with nx.config(backend_priority=[‘cugraph`, ‘parallel’], backends[“parallel”][“n_jobs”] = 5):
	nx.square_clustering(G)

refer Config.md file in this PR for more.
In the issue https://github.com/networkx/nx-parallel/issues/76, I have clearly outlined the challenges in creating a unified configuration system in nx-parallel.
ref. PR https://github.com/networkx/nx-parallel/pull/68 for more context
ref. Config.md file in this PR for usage.
Thank you :)

Notes for reviewers(@dschult):

TODOs(not done yet to avoid over-crowding this PR; for ease of review; only done for square_clustering right now):

add the _set_nx_config decorator to all algorithms
rename cpu_count() to get_n_jobs()
rename total_cores to n_jobs

Please LMK if it would be possible to get this PR also reviewed and merged before GSoC ends(on August 26th) based on your schedule, so that I can accordingly mention it in my GSoC final report. I'm open to scheduling a meeting to discuss this PR if that would help you review this better and faster.


express-ws crashing the app repeatedly

My app is constantly restarting due to this uncaught exception in ws
RangeError: Invalid WebSocket frame: RSV1 must be clear
    at Receiver.getInfo (/home/www/caspercontrol-new/node_modules/express-ws/node_modules/ws/lib/receiver.js:167:14)
    at Receiver.startLoop (/home/www/caspercontrol-new/node_modules/express-ws/node_modules/ws/lib/receiver.js:121:22)
    at Receiver._write (/home/www/caspercontrol-new/node_modules/express-ws/node_modules/ws/lib/receiver.js:69:10)
    at writeOrBuffer (_stream_writable.js:352:12)
     at Receiver.Writable.write (_stream_writable.js:303:10)
    at Socket.socketOnData (/home/www/caspercontrol-new/node_modules/express-ws/node_modules/ws/lib/websocket.js:795:35)
    at Socket.emit (events.js:315:20)
    at addChunk (_stream_readable.js:302:12)
    at readableAddChunk (_stream_readable.js:278:9)
     at Socket.Readable.push (_stream_readable.js:217:10)
     at TCP.onStreamRead (internal/stream_base_commons.js:186:23) {
   [Symbol(status-code)]: 1002
 }

How can I cleanly handle this error and prevent the app from stopping?

I am experiencing the same issue. No regards to routes.

This problem seems to come from express itself. Ive had to go native to just use http.createServer without express to prevent this issue from happening.


Add release tags

Add release tags, please. Otherwise I have to reference this package from bower.json only with * instead of semver ~0.1.0. :-(
bower leaflet-active-area#~0.1.0              ENORESTARGET No tag found that was able to satisfy ~0.1.0

Ping?

Sorry for the long delay...
I’ve added a tag v1.0.0 tag solving the problem ( https://github.com/Mappy/Leaflet-active-area/releases/tag/v1.0.0 )


Feature Request: Enable ability to scroll from chapter to chapter of same book.

Add a preference that would allow the user to  start reading a book/chapter (ex: Genesis 1) and when they scroll (vertically)  to the end of the chapter, the next chapter (ex:Genesis 2) is presented.
in other words, add a preference to let the user read through a given book of the bible as one continuous document (1 document per book).

@danyocom This is convenient but I think it requires non-trivial amount of work. I will close the issue for now. You can swipe left/right to move to the next/previous chapter.


Patch 1

Coverage remained the same at 99.22% when pulling 50bd2e7ce0f1104b78c7eda4ce604ccd50fb9a8f on BenMorel:patch-1 into 0206240fd1a5f2d16bdbfd09bef33cb9617bc933 on onema:integration.


[QUARKS-18] [WIP] Split function based upon an enumeration

I'm very sorry but there are conflict error on my previous PR.
I tried to solve it but looks hard :( .. So recreate PR
Please refer : #6 Previous Discussion

I changed my PR on the advice. Thank you for help!

Using explicit import instead of starred
Changing error code in ConnectorStream
Adding testcase for 0-size enum

@dlaboss I really appreciate your help! And could I ask one more question?
I tried to remove "es" variable, but it will make enumClass.getEnumConstants() call twice in the code.
(Additionaly, I've added "es==null" check) Is there any good way to solve this?

@ddebrunner Sorry for confusing. I have reviewed the code once again, realize that you are right.

I added testcase(testSplitWithEnumForZeroSizeClass) for detecting 0 size enum. It sounds weird but would be helpful i thought.
Checking es == null is unnecessary as you mentioned. Yes It declared as an enum. I missed. Is there any chance to correct?

Thank you for closely review for my code. I know all committers are busy and contribute to Quarks using personal time. I do not attempt to interfere but there are a lot of mistake that waste of your time. I promise I will work more carefully next time.
Cheers!

@Cazen Thanks for contributing, don't worry, I didn't waste my time, I also got to learn something new, there can be enums with no values!
You can always "correct" any code by a new pull request, I tend to think any code can always be improved, no-one writes perfect code on the first attempt!


[CLI]: Endless retry loop when calling init() with id of previously deleted run

Describe the bug
When calling wand.init() with an id=123 of a run that has previously been deleted via the web interface, the wandb daemon enters an endless retry loop:

wandb: Currently logged in as: REDACTED. Use wandb login --relogin to force relogin
wandb: ERROR Error while calling W&B API: run REDACTED/test/2281463 was previously created and deleted; try a new run name (<Response [409]>)
wandb: ERROR Error while calling W&B API: run REDACTED/test/2281463 was previously created and deleted; try a new run name (<Response [409]>)
wandb: ERROR Error while calling W&B API: run REDACTED/test/2281463 was previously created and deleted; try a new run name (<Response [409]>)
wandb: ERROR Error while calling W&B API: run REDACTED/test/2281463 was previously created and deleted; try a new run name (<Response [409]>)
wandb: ERROR Error while calling W&B API: run REDACTED/test/2281463 was previously created and deleted; try a new run name (<Response [409]>)
wandb: ERROR Error while calling W&B API: run REDACTED/test/2281463 was previously created and deleted; try a new run name (<Response [409]>)

Additional Files
No response
Environment
WandB version: 0.13.9
OS: CentOS
Python version: 3.10.8
Versions of relevant libraries:
Additional Context
This happened because I use the  SLURM_JOB_ID as wandb job id and am currently testing continuation of preempted jobs inside an interactive slurm job (i.e. the slurm job id always stays the same). The likeliness of this happening in a real scenario is small in my opinion.

Hi @sehoffmann! That's a great catch! This is actually an intended behavior. We do have the option to undelete a run, in case someone made a mistake, and because of that in our database, we do still keep that run's ID just in case someone wants to get it back in the future.
A possible workaround for this would be using mutable features where possible such as:
run = wandb.init(name = SLURM_JOB_ID)
Or in the case you need access to an ID before we call wandb.init(), you can use wandb.util.generate_id.

Hi @sehoffmann, since we have not heard back from you, we will close this request. If you would like to re-open the conversation, please let us know!

@ArtsiomWB Ive just reported a bug in your software, nothing more, nothing less. Whether you intend to fix that or not is up to you. As for my side, I'm completely fine, since the bug only appeared for me in a very specific testing scenario as described in the issue.

Hello @sehoffmann, thanks for reporting the issue.
I was able to reproduce it. Will be investing the best solution and will update this issue once we have a proper fix.
Apologies for the inconvenience in the meantime.


pypi still got version 0.2.1

I need pass extras parameters to Elasticsearch instance, I check the master branch, already supported, but have not pack and upload to pypi yet(still got 0.2.1 in pypi), pls update it :)

Came here to say this. Can the pypi package be updated?

Also looking for the latest version updated so that I could pass extra parameters.  Thanks.

+1

Bumped to 0.2.3, let me know if you still get the old version, thanks!

Thank you chiangf, got 0.2.3! :thumbsup::thumbsup:

Works great!  Thank you.


switched from local to refresh and got a 404

Environment
No response
Reproduction
No response
Describe the bug

I switched provider from local to refresh, and since then anything i try give me a 404 error.
i also tried switching back to local as provider and it not change anything.
Even uninstall / re-install the plugin wont fix it
Additional context
My nuxt.config.ts

auth: {
    baseURL: process.env.API_BASE_URL,
    provider: {
      type: "refresh",
      endpoints: {
        signIn: { path: "/user/login", method: "post" },
        signOut: false,
        signUp: { path: "/user/register", method: "post" },
        getSession: { path: "/user/me", method: "get" },
        refresh: { path: "/user/refreshToken", method: "post" },
      },
    },
  },

Logs
No response

Ok so for some reason it was using cached data from the local provider even if i had changed to refresh.
I removed all cookies and data from my browser and it fixed it


SIMD vs memory management performance gain

Really cool project! Concerning your publication https://arxiv.org/pdf/2106.03037.pdf, what do you think is affecting the performance gain over PyTorch the most? SIMD or memory management? After a quick look, it seems that Aten in PyTorch is relying on SIMD too (e.g. here https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/quantized/cpu/qnnpack/src/sgemm/5x8-neon.c), but it might still be a suboptimal usage? Or most of the performance gain in RTNeural likely comes from better memory management?

Thank you! I would imagine the usage of SIMD in RTNeural probably doesn't give much of a performance improvement relative to PyTorch since their library uses SIMD as well. I think the biggest factor in the performance gain is the function inlining and loop unrolling that can be achieved with the compile-time API, and then memory management is probably the second biggest factor. For example, let's say we have a network made up of six dense layers that is run once every sample.
Without the compile-time optimizations, the runtime need to do six v-table lookups every sample to call the inferencing method for each layer, since the compiler doesn't know which type of layer its working with. Within each inferencing method, the runtime will need to loop through each "neuron" and do the math operations required.
With the compile-time optimizations, not only can we skip the v-table lookups, and unroll the loops, but the compiler can optimize the resulting assembly code much more fully, since it can now condense and parallelize operations that it couldn't before.
With memory management, it really depends on how PyTorch is managing that on their end... generally each dense layer might need to allocate/de-allocate a vector each time its inferencing method gets called. The performance hit from that allocation/de-allocation is probably negligible for 99% of the networks that people are running with PyTorch, but for audio-rate applications it will usually cause a significant performance hit.
Hope this information is helpful!

Thanks a lot for the quick answer @jatinchowdhury18!
I would not able to quantify the latency associated to v-table lookups, but I guess they very quickly become negligible as the size of the layer increases?
Since the heaviest linear algebra operations are anyway delegated to high-performance libraries (e.g. Eigen), when it comes to unrolling, does the main advantage boil down to implicit prefetch and/or better branch prediction?
Finally, (and sorry for asking so many questions, I just find the project and the topic very interesting :p) would the performance gain obtained with the run-time API of RTNeural mostly boil down to memory management?
Not sure if this is a completely unreasonable thing to try, but could these things be better quantified with a profiler like gprof?

No problem!

I would not be able to quantify the latency associated to v-table lookups, but I guess they very quickly become negligible as the size of the layer increases?

Yes, v-table lookups themselves aren't particularly slow, so they can definitely be amortized against heavier operations, but for RTNeural I think the performance improvements have more to with the fact that the compiler can't optimize "through" the v-table lookup, since it doesn't know what function will be called on the other side.

Since the heaviest linear algebra operations are anyway delegated to high-performance libraries (e.g. Eigen), when it comes to unrolling, does the main advantage boil down to implicit prefetch and/or better branch prediction?

I'm not really an expert on low-level CPU architecture, but as I understand it, if a loop is fully unrolled then there should be no branching at all! That way the CPU can prefetch as many instructions as it likes, and will never have a cache miss due to branching or anything like that. Here's a simple example in Compiler Explorer.

Finally, (and sorry for asking so many questions, I just find the project and the topic very interesting :p) would the performance gain obtained with the run-time API of RTNeural mostly boil down to memory management?
Not sure if this is a completely unreasonable thing to try, but could these things be better quantified with a profiler like gprof?

I believe the performance gain from the run-time API is mostly due to memory management, though I'd have to study the PyTorch implementation in more detail to be sure. Using a profiler would definitely be helpful for understanding where the performance gains are coming from. I had spent some time with the MSVC profiler when working on the compile-time API, but I was mostly comparing against older versions of the library rather than comparing against other libraries.

Thanks a lot @jatinchowdhury18! I might run gprof on some examples implemented with PyTorch in order to get a better idea.


useIsAuthenticated is false on initial page load

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.23.0
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.3.2
Public or Confidential Client?
Public
Description
After successfull B2C team login, still getting useIsAuthenticated is false. useIsAuthenticated become true, when do refresh
MSAL Configuration
No response
Relevant Code Snippets
After successfull B2C team login, still getting useIsAuthenticated is false. useIsAuthenticated become true, when do refresh

-------------------

const authenticate = useCallback(
    (email?: string) => {
      microsoftTeams.authentication.authenticate({
        url: window.location.origin + `/authstart?loginHint=${email}&isTA=true`,
        successCallback: (event: any) => {
          const payload = event!.payload!;
          const account = payload.account;
          instance.setActiveAccount(account);
        },
      });
    },
    [instance]
  );

-------------------

const B2CTeamsPopup = () => {
  const { instance, accounts, inProgress } = useMsal();

  instance?.addEventCallback((event: any) => {
    if (event.eventType === EventType.LOGIN_SUCCESS && event.payload.account) {

      microsoftTeams.authentication.notifySuccess(event);
    }
  });
};

----------------------------------

after successfull b2c login, checking the accounts & auth info as below

import { useIsAuthenticated, useMsal } from '@azure/msal-react';

const EEApp = () => {
	const { instance, accounts, inProgress } = useMsal();
	const isAuthenticated = useIsAuthenticated();

	console.log('inProgress -->> ', inProgress);
	console.log('accounts -->> ', accounts);
	console.log('instance.getActiveAccount -->>', instance.getActiveAccount());
	console.log('isAuthenticated -->> ', isAuthenticated);

};

After successfull b2c team login, b2c popup closed and it redirect to app.
I am getting the console as below

inProgress -->>  none
accounts -->>  []
instance.getActiveAccount -->> {homeAccountId: 'fsdfdsfw34-63d1-432d-8a16-a59acaf74cbc-b2c_1a_signup…_development.324dfg32234dfg-5b83-4e85-9213-594b7ae398b0', environment: 'vertexb2ckf.b2clogin.com', tenantId: '3gg2ddb3b-8a83-3432-b0c2-a402b460cf83', username: '', localAccountId: 'c343fsdf434-63d1-432d-8a16-a59acaf74cbc', …}
isAuthenticated -->>  false

On that initial redirect useIsAuthenticated is getting as false. When doing refresh, useIsAuthenticated become true.

**Ques**: On the successful login initial redirect to page,
1) Why useIsAuthenticated is false?
2) accounts is [], where as getActiveAccount having info, why?
3) on the page refresh, useIsAuthenticated is true, and accounts is having info. How?

Identity Provider
None
Source
External (Customer)

Hey @mohdmujahithali, can you ensure that all your components are being rendered inside MsalProvider or you are passing the same MSAL PublicClientApplication instance? It seems that the accounts being an empty list is the reason why you are getting useIsAuthenticated as false.
Can you try using acquireTokenSilent after authentication as a workaround? Please check this FAQ document for some reference.

@lalimasharda All the components are rendered inside teh MsalProvider
<MsalProvider instance={msalInstance}> <AppContextProvider>   <AuthProvider> 	{children} // here only, we loading all our pages   </AuthProvider> </AppContextProvider> </MsalProvider>
console output from msal
`const { instance, accounts } = useMsal();
const isAuthenticated = useIsAuthenticated();
console.log('accounts : ', accounts);
// console output // accounts : []
console.log('instance.getActiveAccount : ', instance.getActiveAccount());
// console output // instance.getActiveAccount : {homeAccountId: 'fsdfdsfw34-63d1-432d-8a16-a59acaf74cbc-b2c_1a_signup…_development.324dfg32234dfg-5b83-4e85-9213-594b7ae398b0', environment: 'vertexb2ckf.b2clogin.com', tenantId: '3gg2ddb3b-8a83-3432-b0c2-a402b460cf83', username: '', localAccountId: 'c343fsdf434-63d1-432d-8a16-a59acaf74cbc', …}
console.log('isAuthenticated : ', isAuthenticated);
// console output //  isAuthenticated : false`
Why I am getting account as []?  whereas getting value in instance.getActiveAccount

We are also experiencing this problem with version 2.37.0. On first page load isAuthenticated is false, and interaction status is in 'HandleRedirect' or 'Startup' in our redirection page. After refresh or navigation, InteractionStatus is 'None' and and isAuthenticated true.

@mohdmujahithali  and @jkauppinen Is this seen only on 2.37.0 and not before?

@sameerag - This issue occurs in prev version too.
"@azure/msal-browser": "^2.22.1",
"@azure/msal-react": "^1.3.1",

@hectormmg Could you please help me to get verbose logs?
cc: @konstantin-msft

We are also facing a similar issue: on the first load after sign in accounts[0] does not have idTokenClaims though after next refresh it has the data.
below is the code used
const msalInstance = new PublicClientApplication(msalConfig.config());
  const accounts = msalInstance.getAllAccounts();
  if (accounts && accounts.length > 0) {
      msalInstance.setActiveAccount(accounts[0]);
      userAadRoles = accounts[0].idTokenClaims?.roles;
  }
msalInstance.addEventCallback(async (event: EventMessage) => {
        if (event.eventType === EventType.LOGIN_SUCCESS && event.payload) {
            const authResult = event.payload as AuthenticationResult;
            msalInstance.setActiveAccount(authResult.account);
            userAadRoles = accounts[0]?.idTokenClaims?.roles;
        }
    });

 root.render(
        <React.StrictMode>
            <MsalProvider instance={msalInstance}>

            </MsalProvider>
        </React.StrictMode >);

@mohdmujahithali Please follow these docs to get verbose logs.

@jo-arroyo, I think that steps given in docs is the back-end logs setup. is there any logs setup for front-end?

Those are the instructions for front-end logs. Did you have a question about this?

@tnorling I am new to react and MSAL implementation. So, could you please help me that how to configure verbose logs in front-end? This doc  given the example for configuration. But I don't know where to configure it and how to test it?

Thank you for the reference sample files. I will workout with these reference sample and will update the logs here


Add task to test custom builds

Replacement for https://github.com/openlayers/ol3/pull/5738
This PR adds a task that tests custom build configurations provided in the directory test_custom_builds.
To make the test pass, I had to add a goog.require for a type that is only used in a JSDoc type definition. These were removed in https://github.com/openlayers/ol3/pull/5698, but otherwise the compiler will fail.

 I know this again makes the CI target a little bit slower, but I guess it is worth the effort.
Please merge, and thanks again.

Thanks, Marc. I will wait with the merge because I would like to get a feedback from @tschaub about the goog.requires/provides that I added again.

OK

this is doing something similar to #5341 - combine?

this is doing something similar to #5341 - combine?

The motivation, to check that there are no regressions with custom builds, is the same. Though I would like to do it only with a small set of example configurations, so that the check can be run in CI.

Thanks for comments @probins and thanks for taking them @tsauerwein :clap:

Hmm.  It feels like we may just want to always throw the whole library at the Compiler and never use the "manage_closure_dependencies" option.

Let's revisit this after transforming sources to ES modules for the 5.0 release.


Prettier commit hook failing

Prerequisites

[x] I've searched for existing issues

Describe the bug
When trying to commit there is an error for blade files stating "Error: Unknown node type: undefined"
To Reproduce
Steps to reproduce the behavior:

Make changes to a blade file such as "resources/views/auth/forgot-password.blade.php"
run npx prettier --write resources/views/auth/forgot-password.blade.php or try to commit
Notice the error

Expected behavior
Prettier should run and the commit (or output) should occur without error.
Additional context
May be related to https://github.com/accessibility-exchange/platform/pull/1880

Resolved by #1889


[OPPRO-173] Set Velox batch size

What changes were proposed in this pull request?
Use below spark conf to control Velox batch size of scan, agg and join.

spark.sql.execution.arrow.maxRecordsPerBatch

Depends on https://github.com/oap-project/velox/pull/32.
How was this patch tested?
locally tested

Please rebase and re-run ch-backend-test with latest version.

Hi @FelixYBW, do we still need this PR?

Yes, we still need it

Merging this PR. Close performance was observed with 32k batch size. The testing DWRF dataset still had 10k stride size.


superscript/subscript not handled when rendering string _horizontal

the superscript and subscript are not handled when rendering  horizontal strings, so the superscript and subscript are shown on baseline.

Unfortunately, we haven't figured out a way to handle superscript and subscript.


cublaslt_gemm microbenchmark fails with running with large matrix sizes.

When I run microbenchmark cublaslt_gemm with B=64, M=8192, K=8192, N=8192, it fails in cudaMalloc.
I debugged this and figured out the result of multiplication B * M * K and B * M * N and B * K * N are all more than 4GB in BF16 so 32 bit int data type cannot hold result of the multiplication. I managed to make local changes to fix this. But once I get past cudaMalloc, cublasCreate(&handle) call fails with CUBLAS_STATUS_NOT_INITIALIZED.
These are the steps reproduce the error
cd superbench/benchmarks/microbencmarks/cublaslt_gemm
cmake -S ./
make
./cublaslt_gemm -b 64 -m 8192 -k 8192 -n 8192 -i 1000 -t bf16

there's a size issue indeed, can you try whether https://github.com/microsoft/superbenchmark/commit/857a8ba fixes your case?
for the CUBLAS_STATUS_NOT_INITIALIZED issue, can you run successfully with smaller batch? what's the total memory size of your gpu, it may be insufficient for this large batch gemm

It does work for smaller batch sizes. With batch=64, A, B and C matrices are each 8 GB with total of 24 GB. GPU I am running on has 80GB of memory. So it is well below its capacity. I was able verify using a different tool that batch = 64 does work. But it does not with superbench. It will be good to get if fixed in superbench as I can leverage FP8 support.

I just tried https://github.com/microsoft/superbenchmark/commit/857a8ba on DGX H100 (driver 525.85.12, CUDA 12.0, Docker image superbench/superbench:v0.7.0-cuda11.8) and confirmed it works fine with batch size 64 and 128 by running /opt/superbench/bin/cublaslt_gemm -b [64/128] -m 8192 -k 8192 -n 8192 -i 1000 -t [bf16/fp16].

I was able verify using a different tool that batch = 64 does work

Does this tool leverage cutlass, cublas, or cublaslt?
Because CUBLAS_STATUS_NOT_INITIALIZED may indicate errors in CUDA Runtime API called by the cuBLASLt routine or hardware setup and I cannot reproduce the issue, can you set CUBLASLT_LOG_LEVEL=5 when running cublaslt_gemm to see whether you can get more information from your environment?
It would also be great if you can share more hardware/software information or try with above driver/cuda/image versions.

Verified that patch works. Also I was able to run successfully batch = 64, it happened to be an issue with device.
I am attaching the patch which has changes that helped me use the utility better:

When error occurs, it prints exactly which function and line causes error instead of throwing std::logic_error which does not have any information where error occurred.
added support to specify device from commandline this way I can script around and control which device is used.
Added header printf to let user know what each output means, instead of looking at source file.

If you find it useful feel free to check it in. I am unable to push the branch with this changes.
cublaslt_gemm_upgrade.patch

Verified that patch works. Also I was able to run successfully batch = 64, it happened to be an issue with device.
I am attaching the patch which has changes that helped me use the utility better:

When error occurs, it prints exactly which function and line causes error instead of throwing std::logic_error which does not have any information where error occurred.
added support to specify device from commandline this way I can script around and control which device is used.
Added header printf to let user know what each output means, instead of looking at source file.

If you find it useful feel free to check it in. I am unable to push the branch with this changes. cublaslt_gemm_upgrade.patch

Hi @nishshah-msft,

we will refine the error message with function and line no, thanks for your contribution!
you can always use CUDA_VISIBLE_DEVICES to specify the device you want to use in any cuda program, adding an argument in command line seems unnecessary
if you run the benchmark through superbench cli instead of executing the binary directly, you will get parsed results with correct meanings, see cublaslt-gemm metrics


Meaning of GMM components ρ

Hello!
I noticed that, in Eq. 9 and Eq. 10 of your paper, Gaussian components include 5 parameters (μx, σx, μy, σy, ρ). I would like to know the meaning of ρ, could you provide me with more information or materials about this parameter? It seems that the standard Gaussian component of GMM only contains 4 parameters (μx, σx, μy, σy). I am curious about the role of ρ in a Gaussian component. Thanks very much!
Eq.9:

Eq.10:

Please refer to the bivariate Gaussian distribution, and it has the $\rho$ as the correlation between two dimensions:
https://en.wikipedia.org/wiki/Multivariate_normal_distribution

Please refer to the bivariate Gaussian distribution, and it has the ρ as the correlation between two dimensions:
https://en.wikipedia.org/wiki/Multivariate_normal_distribution

Thanks very much!


Reduce gerrit start time

chown -R is too much time consuming here. Let's use find -exec instead

Thanks for this awesome patch.


[Suggestion] Show history

example: Willo has two versions, being 1 and 1.1 and srb2dl (as far as I know) doesn't have an option for displaying history.

Added this feature to commit a5bedb8 . To run it, enter srb2dl --history [MB.SRB2.ORG ADDON ID].

You can also download version when selecting addon as usual as there is entry called "History" in the file selection.


feat: use GetLFGDungeonInfo and GetActivityInfoTable to generate dungeon info

This allows the addon to use client info for generating localized strings and dungeon levels, and other dungeon info.

#2  👈
working-trunk

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @juemrami and the rest of your teammates on  Graphite


Editor not working for IGI 2

The editor was not saving properly for QVM 0.87 which is for IGI 2,
It only used to load the QVM but when saving it used to convert to IGI 1 format that was QVM v0.85.
This is the bug that was raised by most of them.

Fixed on latest version
https://github.com/Jones-HM/IGI-QVMEditor/releases/edit/0.5


fixes alert onclick

fixes #3506
removes the slight optimization they made simply cause its not possible with serv3 anymore (sorry)
:cl:
fix: Fixes all alertonclicks

i will merge this once ci passes btw


[Symfony 5.3.X] Unable to find the controller for path "/api/login_check". The route is wrongly configured.

Hi,
I encountered a problem while installing your LexikJWTAuthenticationBundle.
Recently, I upgraded to the new version of Symfony and they changed a lot of things about authentication. So I wanted to build an API using your JWT bundle.
Following your documentation (and of course taking the Symfony 5.3.X documentation), I encountered this error when going to the POST /api/login_check route.
{
  "type": "https://tools.ietf.org/html/rfc2616#section-10",
  "title": "An error occurred",
  "status": 404,
  "detail": "Unable to find the controller for path \"/api/login_check\". The route is wrongly configured.",
  "class": "Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException",
  "trace": [
    ...
  ]
}

I show you my configuration for the LexikJWTAuthenticationBundle:
security.yaml
security:
    enable_authenticator_manager: true

    password_hashers:
        App\Entity\User: 'auto'

    providers:
        app_user:
            entity:
                class: App\Entity\User
                property: email
    firewalls:
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false

        api:
            pattern: ^/api
            stateless: true
            provider: app_user
            jwt: ~

        login:
            pattern: ^/api/login
            stateless: true
            json_login:
                check_path: /api/login_check
                success_handler: lexik_jwt_authentication.handler.authentication_success
                failure_handler: lexik_jwt_authentication.handler.authentication_failure

    access_control:
        - { path: ^/api/login, roles: PUBLIC_ACCESS }
        - { path: ^/api,       roles: IS_AUTHENTICATED_FULLY }

routes.yaml
api_login_check:
    path: /api/login_check

lexik_jwt_authentication.yaml
lexik_jwt_authentication:
    secret_key: '%env(resolve:JWT_SECRET_KEY)%'
    public_key: '%env(resolve:JWT_PUBLIC_KEY)%'
    pass_phrase: '%env(JWT_PASSPHRASE)%'
    token_ttl: 300

bundle.php
return [
  ...,
  Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true]
]

You have all my configuration, the problem would probably come from route.yaml as it requires a controller however, the authentication controller is already done in your bundle.
Thanks for all !

Make sure your request have header Content-Type: application/json .

I'm in POST, my body is a JSON and the Content-Type is application/json.
curl --location --request POST 'http://localhost:8080/api/login_check' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username"<EMAIL_ADDRESS>    "password": "123456789"
}'

I think it is because the firewall ordering issue. Try move your login before api in firewall.
firewalls:
        # ...

        login:
            pattern: ^/api/login
            stateless: true
            json_login:
                check_path: /api/login_check
                success_handler: lexik_jwt_authentication.handler.authentication_success
                failure_handler: lexik_jwt_authentication.handler.authentication_failure

        api:
            pattern: ^/api
            stateless: true
            provider: app_user
            jwt: ~

Well done.
That must also explain why on my first project, it didn't work either, there was the default "main" Symfony firewall and since it was before the "login" and it matched all the urls, it crashed everything.

Thank you for your help.

Well done.
That must also explain why on my first project, it didn't work either, there was the default "main" Symfony firewall and since it was before the "login" and it matched all the urls, it crashed everything.

Thank you for your help.

It's ok. I think i should mention it in docs as well.


Feature: countWords

Returns the number of words contained in the input text.
  countWords(); // => 0
  countWords(''); // => 0
  countWords('     ') // => 0
  countWords('Hello   World') // => 2
  countWords('Hello   World    !!') // => 2

Aliases
import countWords from '@plexis/count-words';
import {countWords} from 'plexis';

Hi, I noticed fresh issue, so I added pull request also for this one. Do numbers contained in the string input also count as words? The package i added takes this approach.


Platform: Error: Unable to execute request 1L - Using MacBook Pro 2021 M1

Current Situation
HI I'm fairly new to this so forgive me if this is a stupid question but im unable to discover my Apple TV due to;
Platform: Error: Unable to execute request 1L: /Users/*************/.homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/urllib3/init.py:34: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'.
I've scanned online and can't seem to find an explanation that I understand is anyone able to provide a way around this? From what I understand I possibly need to downgrade something so it can communicate?
TIA
Logs
[2/4/2024, 6:13:15 PM] [Apple TV Enhanced] Restarting child bridge...
[2/4/2024, 6:13:15 PM] Got SIGTERM, shutting down child bridge process...
[2/4/2024, 6:13:20 PM] [Apple TV Enhanced] Child bridge process ended
[2/4/2024, 6:13:20 PM] [Apple TV Enhanced] Process Ended. Code: 143, Signal: null
[2/4/2024, 6:13:27 PM] [Apple TV Enhanced] Restarting Process...
[2/4/2024, 6:13:27 PM] [Apple TV Enhanced] Launched child bridge with PID 95001
[2/4/2024, 6:13:27 PM] Registering platform 'homebridge-appletv-enhanced.AppleTVEnhanced'
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] Loaded homebridge-appletv-enhanced v1.2.0 child bridge successfully
[2/4/2024, 6:13:28 PM] Loaded 0 cached accessories from cachedAccessories.0E318DD87D54.
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Platform: Finished initializing platform: Apple TV Enhanced
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Starting python check.
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: plugin dir exists.
[2/4/2024, 6:13:28 PM] Homebridge v1.7.0 (HAP v0.11.1) (Apple TV Enhanced) is running on port 30678.
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Python 3.9.6 is installed and supported by the plugin.
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Virtual environment already exists.
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Venv is using current system python version (3.9.6).
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Venv pip version: 24.0
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Checking if there is an update for venv pip ...
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Venv pip is up-to-date
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Python requirements are satisfied.
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Python check: Finished
[2/4/2024, 6:13:28 PM] [Apple TV Enhanced] [I] Platform: Starting device discovery ...
[2/4/2024, 6:13:34 PM] [Apple TV Enhanced] [E] Platform: Error: Unable to execute request 1Y: /Users/*********/.homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
[2/4/2024, 6:14:34 PM] [Apple TV Enhanced] [E] Platform: Error: Unable to execute request 23: /Users/*********/.homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
[2/4/2024, 6:15:34 PM] [Apple TV Enhanced] [E] Platform: Error: Unable to execute request 3T: /Users/*********/.homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
[2/4/2024, 6:15:58 PM] [Apple TV Enhanced] [W] Platform: The device discovery could not find any Apple TV devices until now. Are you sure that you have a compatible Apple TV and the Apple TV is in the same subnet? (see https://github.com/maxileith/homebridge-appletv-enhanced#requirements)
[2/4/2024, 6:16:34 PM] [Apple TV Enhanced] [E] Platform: Error: Unable to execute request 5Q: /Users/*********/.homebridge/appletv-enhanced/.venv/lib/python3.9/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(

Configuration
{
    "name": "Apple TV Enhanced",
    "deviceStates": [
        "playing"
    ],
    "deviceStateDelay": 0,
    "avadaKedavraAppAmount": 15,
    "disableVolumeControlRemote": false,
    "setTopBox": false,
    "discover": {
        "multicast": true
    },
    "forceVenvRecreate": false,
    "logLevel": 3,
    "deviceSpecificOverrides": [
        {
            "overrideMediaTypes": false,
            "overrideDeviceStates": false,
            "overrideDeviceStateDelay": false,
            "deviceStateDelay": 0,
            "overrideRemoteKeysAsSwitch": false,
            "overrideAvadaKedavraAppAmount": false,
            "avadaKedavraAppAmount": 15,
            "overrideCustomInputURIs": false,
            "overrideDisableVolumeControlRemote": false,
            "disableVolumeControlRemote": false,
            "overrideSetTopBox": false,
            "setTopBox": false
        }
    ],
    "platform": "AppleTVEnhanced",
    "_bridge": {
        "username": "0E:31:8D:D8:7D:54",
        "port": 30678
    }
}

Environment

OS: Sonoma 14.1
Docker:

Image Version:

Homebridge:
Homebridge Config UI:
Storage Path:
Apple TV Enhanced:
Node:
npm:
Python:
pip:
HDMI hops:
HomePod as default speaker:

Additional Context
No response

The plugin does not support Mac OS. However, I would start with fulfilling the requirements startete in the log: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'


Datepicker in IOS is not working

Issue
I am using react-native-picker , on android its working fine but on IOS ( iphone XS ,iphone XS max, iphone 11, iphone 11 pro , iphone 11 pro max) is not showing the calendar properly in the below image , in datepicker date is not showing and sometime month scroll is also not working.
I also used react-native DatepickerIOS it's showing same behavior like the attached image

Code
                        <DatePicker
                            style={{ height: 30, marginTop: -10 }}
                            date={this.state.noteData.date ? this.state.noteData.date : new Date()}
                            mode="date"
                            format="YYYY-MM-DD"
                            confirmBtnText="Confirm"
                            cancelBtnText="Cancel"
                            maxDate={new Date()}
                            customStyles={{
                                dateInput: {
                                    borderColor: 'transparent',
                                    backgroundColor: 'transparent',
                                    height: 20,
                                    alignItems: 'flex-start',
                                    paddingLeft: 7
                                },
                                dateText: styles.inputBox,
                                placeholderText: styles.inputBox
                            }}
                            showIcon={false}
                            onDateChange={(date) => this.handleChange(date, 'date')}
                        />

Environment

react : 16.8.3
react-native : 0.59.8
react-native-datepicker : 1.7.2
target platform:  IOS
operating system : ubunto

If someone faced this issue kindly help how can I fixed this , this is happening only iphone series after iphone X like I mentioned above

@Mohammad-Khalid23 , Hi There, i have same issue with new iOS version. Please, somebody give a quick solution for this.

Same issue with iOS 13.

It is problem with dark mode

I found this to resolve the issue,
Add this to your info.plist  file:
<key>UIUserInterfaceStyle</key>
<string>Light</string>
hope it will work for you

yup, @Mohammad-Khalid23 's solution works!

Has anyone had luck adding this info.plist change to app.json in expo?

Thank you so much, it works

@tlaine1441  check this may be it will solve your issue
https://stackoverflow.com/questions/48157185/info-plist-file-for-react-native-ios-app-using-expo-sdk

This comment & code does not solve the issue. It simply forces Light mode all the time. The actual picker needs to respect light and dark modes.

@jdhorner yes you are right , but for now this code can solve your issue untill react native fix this issue on it DatePickerIOS because react-native-datepicker use react-native DatePickerIOS , so when react-native fix it or may be they fixed it on it's new version so you can see use datepicker on light and dark mode.

I found this to resolve the issue,
Add this to your info.plist file:
<key>UIUserInterfaceStyle</key>
<string>Light</string>
hope it will work for you

Using expo here and this did not fix the issue. Appears to only be happening on select devices.

For Expo User;
Not solution but a workaround.

@ctur Did you have to do re-submit a new Standalone build of your app to the App Store or will it work by doing an expo publish? Thanks!

@PelagicDev I have re-submited a new Standalone build to the App Store, but i think it should work with expo publish as well.

For Expo users:
You will need to do a new build of the app and re-submit to the App Store. The app.json file is what configures the Xcode project, so doing a simple expo publish won't respect any changes to that file.

Has anyone had luck adding this info.plist change to app.json in expo?
Or fixed it using expo for that matter?

I'm currently trying w/o any luck. When directly editing info.plist then running, it seems to remove my edit. Tried adding to app.json file directly and that didn't do the trick either.
(expo-bare)

@yilakt Did you re-submit your app to the App Store? I'm using Expo, it worked for me after making the change to app.json and generating a new build to submit.

What do you mean by 'it seems to remove my edit' ? @yilakt
As, @Beissner mentioned you need to re-build to changes take effect.

In this case, how can I fix this datepicker?

In this case, how can I fix this datepicker?

Nesse caso, como posso corrigir esse selecionador de data?

I have the same problem

Nesse caso, como posso corrigir esse selecionador de data?

I have the same problem

I tried both the self.window and rootView overrides and neither worked for me. I finally discovered a workaround that works in IOS 14
Light Mode issue solved by add this lines in AppDelegate.m
if (@available(iOS 14, *)) { UIDatePicker *picker = [UIDatePicker appearance]; picker.preferredDatePickerStyle = UIDatePickerStyleWheels; }
Dark Mode issue solved by Add this to your plist file:
UIUserInterfaceStyle
Light
Befor

After


[Spike] Prepare multilingual setup

Expected result

Create a skeleton of create-react-app in typescript npx create-react-app my-app --template typescript (https://create-react-app.dev/docs/adding-a-router/)
Add a router
Try to set up and describe a simple showcase on how to handle multilingual similarly as it is for the current project but in the last router and by the latest best practices.

Additional context

Mind there are 2 sources of the data - Kontent and JSON
We would like to preserve the different date/time format for different languages
There are language prefixes showcased + URL slug for about-us/arcera-de (we might cut out one of these)
Articles are identified by ID in the URL

Some points of interest about a multi-languages solution:

hold language option in cookie or LocalStorage
switch language with URL (anchor or part of URL (/{lang}/page)
check default URL when language is not part of URL in 404-page view with the script that will get default language from LocalStorage or cookies then redirect to the right page
static text will be stored in JSON files in a key-value storage object
dynamic text from Kontent

Spike Result
The are created two versions for the spike project which uses two different libraries:
react-intl: https://github.com/IvanKiral/routing-react
react-i18n: https://github.com/IvanKiral/routing-react/tree/react-i18-next
We have decided to go with react-intl due to used workaround in react-i18n in multilangue routing.
The json files will have the flat format - means no nested objects (only key:value).
To use custom datetime formatting: https://formatjs.io/docs/react-intl/components/#formatteddateparts
It has the BSD-3-clause project must include:

The full text of the license
The original copyright notice

Looks good!
We need to think about a full copy of the license in #206


Create a section showing all live sessions of the event

It would be super useful to have a section showing all the live sessions happening at that time. This will make it super convenient for all the attendees of the event to go to the event they like the best.
@juslee @mariobehling What about we add an api endpoint to the server that return's the live sessions.

Closing this as I'm not sure if we plan to do this right now.
Will reopen it later if we plan to


Fix bug making subsequent Chef run fail

Fix bug making Chef run fail if a plugin has already been previously
installed.

I'll review this and other PRs/issues in this repository next week. I've been out on vacation and then the Chef summit the last couple weeks. :ice_cream:

This should be fixed by #51.


My pred_metagenome_unstrat file has EC:<IP_ADDRESS> and not KO format

For my pred_metagenome_unstrat file I have the EC:<IP_ADDRESS> and not the Ko annotation and from the best of my knowledge, this file ought to be my abundance file. However, I had to take a long route to convert the EC annotation to KO annotation and one problem with that is that not all EC annotation had a corresponding KO annotation, so i had to drop some EC during conversion to KO. Is it possible to use ggpicrust2 to analyze EC annotated  pred_metagenome_unstrat and if yes, is it possible that i use the following script:
ko_abundance_file <- "path/to/your/pred_metagenome_unstrat.tsv"
kegg_abundance <- ko2kegg_abundance(ko_abundance_file) # Or use data(kegg_abundance)
metadata <- read_delim("path/to/your/metadata.txt", delim = "\t", escape_double = FALSE, trim_ws = TRUE)
The default DAA method is "ALDEx2"
Please change group to "your_group_column" if you are not using example dataset
daa_results_df <- pathway_daa(abundance = kegg_abundance, metadata = metadata, group = "Environment", daa_method = "linDA", select = NULL, p.adjust = "BH", reference = NULL)
If you have more than 3 group levels and want to use the LinDA, limma voom, or Maaslin2 methods, you should provide a reference.
metadata <- read_delim("path/to/your/metadata.txt", delim = "\t", escape_double = FALSE, trim_ws = TRUE)
Please change group to "your_group_column" if you are not using example dataset
daa_results_df <- pathway_daa(abundance = kegg_abundance, metadata = metadata, group = "Group", daa_method = "LinDA", select = NULL, p.adjust = "BH", reference = "Harvard BRI")
daa_annotated_results_df <- pathway_annotation(pathway = "KO", daa_results_df = daa_results_df, ko_to_kegg = TRUE)
Please change Group to metadata$your_group_column if you are not using example dataset
p <- pathway_errorbar(abundance = kegg_abundance,
daa_results_df = daa_annotated_results_df,
Group = metadata$Environment,
ko_to_kegg = TRUE,
p_values_threshold = 0.05,
order = "pathway_class",
select = NULL,
p_value_bar = TRUE,
colors = NULL,
x_lab = "pathway_name")
Or do i use the pred_metagenome_unstrat_descrip for my Ko abundance file as it has a Column for description? Please i need clarification on this. Thanks
This image is an snapshot of the pred_metagenome_unstart.tsv file

Hello @Aristotle1992 ,
Thank you for your question. Yes, you can use ggpicrust2 to analyze EC annotated pred_metagenome_unstrat files. However, please note that EC and KO are different, and analyzing EC abundance requires a different workflow compared to KO abundance analysis.
For analyzing EC annotated data using ggpicrust2, you can follow the workflow provided in the following tutorial: https://github.com/cafferychen777/ggpicrust2#if-an-error-occurs-with-ggpicrust2-please-use-the-following-workflow
In that tutorial, you'll find a specific workflow for MetaCyc Pathway and EC analysis. It involves different steps and functions tailored for EC abundance data. Please follow the instructions in the tutorial to perform the analysis correctly.
In summary, to analyze EC annotated pred_metagenome_unstrat files with ggpicrust2, follow the appropriate workflow mentioned in the tutorial, and make sure to use the relevant functions and parameters specifically designed for EC data analysis.
If you have any further questions or need additional clarification, feel free to ask. Happy analyzing!

Thanks for your reply. Well appreciated. I will look into it.

metadata <- read_delim("C:/Microbiome/picrust/Rhizo/check/rhizo_metadata.txt", delim = "\t", escape_double = FALSE, trim_ws = TRUE)
EC_abundance <- read.delim("C:/Microbiome/picrust/Rhizo/pred_metagenome_unstrat_descrip.tsv")
Perform pathway DAA using LinDA method
Please change column_to_rownames() to the feature column if you are not using example dataset
Please change group to "your_group_column" if you are not using example dataset
metacyc_daa_results_df <- pathway_daa(abundance = EC_abundance %>% column_to_rownames("description"), metadata = metadata, group = "GDD", daa_method = "LinDA")
It brough the error:
Error in .rowNamesDF<-(x, value = value) :
duplicate 'row.names' are not allowed
In addition: Warning message:
non-unique values when setting 'row.names': ‘Co-methyltransferase’, ‘methyltransferase’, ‘specific)’
In the pred_metagenome_unstrat_descrip, there is no pathway just description so i decided to use description in place of pathway which was used in the tutorial.
Below is the pred_metagenome_unstrat_descrip files i used and i decided to use this file since it contain the description of the EC annotation.
Please how can i resolve this error?

Also i feel that the workflow using the EC annotated pred_metagenome_unstrat_descrip file dataset should be included in the tutorial as most microbiome dataset come in EC annotation. I could provide or share my EC dataset to be used as tutorial for subsequent user that might want to use ggpicrust2 for microbiome analysis. Thanks

Hello @Aristotle1992,
Thank you for providing the additional information and sharing your experience with the EC annotated pred_metagenome_unstrat_descrip file.
To resolve the "duplicate 'row.names' are not allowed" error, you can add the following line of code after importing the EC_abundance data:
EC_abundance <- EC_abundance %>% select(-c("function"))

This will remove the "function" column from the EC_abundance data, which seems to be causing the duplicate row names issue.
Regarding your second question, you are correct that the only difference between pred_metagenome_unstrat and pred_metagenome_unstrat_descrip is the presence of the "description" column in the latter. If you prefer to use pred_metagenome_unstrat_descrip for your analysis, you can simply remove the "description" column using Excel or any other data manipulation tool. After removing the "description" column, both datasets should be equivalent, and you can proceed with the analysis as shown in the tutorial.
I appreciate your suggestion to include a workflow using EC annotated pred_metagenome_unstrat_descrip in the tutorial. Including such an example would indeed be helpful for users dealing with microbiome datasets in EC annotation. If you are willing to share your EC dataset, you could consider providing it as an example dataset in the tutorial to benefit other users.
If you have any more questions or encounter any issues, feel free to ask. I'm here to assist you. Happy analyzing!

Oh  thanks for your feedback. I will try that out. The link to my EC dataset is https://drive.google.com/drive/folders/1kUt7Q5hGPSTESEAF1i_nbbo6q4XTwMKQ?usp=drive_link. Thanks

So i tried what you asked me to do and all went well until i got to the pathway_errorbar.
metadata <- read_delim("C:/Microbiome/picrust/Rhizo/check/rhizo_metadata.txt", delim = "\t", escape_double = FALSE, trim_ws = TRUE)
EC_abundance <- read.delim("C:/Microbiome/picrust/Rhizo/pred_metagenome_unstrat.tsv")
#EC_abundance <- EC_abundance %>% select(-c("function."))
Perform pathway DAA using LinDA method
Please change column_to_rownames() to the feature column if you are not using example dataset
Please change group to "your_group_column" if you are not using example dataset
metacyc_daa_results_df <- pathway_daa(abundance = EC_abundance %>% column_to_rownames("function."), metadata = metadata, group = "GDD", daa_method = "DESeq2")
Annotate MetaCyc pathway results without KO to KEGG conversion
metacyc_daa_annotated_results_df <- pathway_annotation(pathway = "EC", daa_results_df = metacyc_daa_results_df, ko_to_kegg = FALSE)
Generate pathway error bar plot
Please change column_to_rownames() to the feature column
Please change Group to metadata$your_group_column if you are not using example dataset
pathway_errorbar(abundance = EC_abundance %>% column_to_rownames("function."), daa_results_df = metacyc_daa_annotated_results_df, Group = metadata$GDD, ko_to_kegg = FALSE,
p_values_threshold = 0.05, order = "GDD", select = NULL, p_value_bar = TRUE, colors = NULL, x_lab = "description")
The last code brought this error:
Error in pathway_errorbar(abundance = EC_abundance %>% column_to_rownames("function."),  :
The feature with statistically significance are more than 30, the visualization will be terrible.
Please use select to reduce the number.
Now you have "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>4", "EC:<IP_ADDRESS>5", "EC:<IP_ADDRESS>1", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>4", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:<IP_ADDRESS>", "EC:2.7.1
Afterwards, I tried to change the select option from NULL to 1:10 and it then brought the following error:
Error in pathway_errorbar(abundance = EC_abundance %>% column_to_rownames("function."),  :
The feature with statistically significance is zero, pathway_errorbar can't do the visualization.
How can i resolve this error. Thanks
Secondly is it possible i search for the equivalent of the EC annotated pred-mteganome file for thier corresponding Ko. I tried that and the pathway error bar worked but the problem with this method is that i couldnt find KO for some EC annotation. Is the a proper or right alternative to performing this analysis when you have an EC annotated pred_metagenome_unstrat_descrip file. Thanks

I have been able to resolve the various issues I encountered. Thanks


ARXIVNG-878 core and optional metadata

This delivers the core and optional metadata controllers. I also spent some time working on a more convenient integration with the core events package. The upshot is that we want to leverage the core events validation for validating data on the form. If this looks like a promising direction, I'll refactor the other controllers to use this pattern.
Would like to merge this by noon tomorrow (Friday), if possible. You'll have to manually skip over to step 9 when testing.

Also, this still needs tests. But the functionality should be complete.

Pull Request Test Coverage Report for Build 124

54 of 190 (28.42%)  changed or added relevant lines in 4 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-9.006%) to 55.78%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

submit/controllers/util.py
15
32
46.88%

submit/routes/ui.py
0
25
0.0%

submit/controllers/metadata.py
38
132
28.79%

Files with Coverage Reduction
New Missed Lines
%

submit/routes/ui.py
7
0.0%

Totals

Change from base Build 118:
-9.006%

Covered Lines:
386

Relevant Lines:
692

💛  - Coveralls

@eawoods

Question: ACM class has validation but MSC class does not? Or maybe can't be validated against everything because it's alphanumeric? That one is just a point of curiosity (I put the words "not required" in all the text fields on the optional page for fun. Nice validation!!).

Yeah, I find that a bit odd, too. What I did for https://github.com/cul-it/arxiv-submission-core/pull/34 was to recreate what is being done in the classic interface. We should take another pass on validation, and think about what else would make sense.
Made recommended tweaks to the templates; looking better?

Good catch. Fixed!

Merging now, but any additional feedback is welcome.


VS Code does not detect when installing a pre-release VSIX

Prepare a vsix with pre-release version using VSCE vsce package --pre-release
Install the vsix in VS Code
VS Code does not detect this as a pre-release

Even when Marketplace supports SemVer this workflow will still be necessary because of the continued prohibition on proposed-API-enabled VSIXes being published there.
Users of some extensions I am involved with need to install such VSIXes manually because we have been waiting years for some vital APIs to get finalized and there's still no sign of movement on them.
When they do that with a proposed-API-enabled VSIX that is also a pre-release it is not good that the extension no longer behaves in VS Code as a pre-release.
Pinging @Colengms in case this is also relevant to you.

When marketplace supports SemVer, pre-release flag is changed to be computed from version. It also applies when installing VSIX.

But you estimate the Marketplace support only arriving at the end of this year, right?

Yes.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Implement serialization of ledgers

Ledgers are serializable, in part. If you have (a composition of) masks over a database, the mask bits should be serializable, which the database bits are already persistent.
The type serializable in Coda_pow.Ledger_intf is meant to indicate what bits of a Ledger can be serialized.
Implement this serialization.

This is the TODO at line 130 of ledger_builder_controller.ml.

Stale issue ...


updates needed for Mondo website

Some updates are needed:

[ ] https://mondo.monarchinitiative.org/pages/resources/: presentations have not been updated since 2022
[ ] https://mondo.monarchinitiative.org/: summary statistics are from 2022, maybe this should be updated as least yearly?
[x] https://mondo.monarchinitiative.org/pages/contributors/: Trish and Katie are missing as a contributors
[x] https://mondo.monarchinitiative.org/pages/disease-naming/: clingen preferred should be clingen label

Do we have a list and links to Mondo presentations anywhere to pull this information to add to the site?

The links for existing presentations is broken. For example "[Standardizing Rare Disease Data Collection: It Takes an (Ontology) Village]" resolves to: https://mondo.monarchinitiative.org/pages/resources/(https://doi.org/10.5281/zenodo.7125341)
How were the links for the presentations set-up and where is the page to edit to add/fix these?

@twhetzel I can help answer the questions above (later), I assigned this to myself, I will come back to this asap

For example "Standardizing Rare Disease Data Collection: It Takes an (Ontology) Village" resolves to: https://mondo.monarchinitiative.org/pages/resources/(https://doi.org/10.5281/zenodo.7125341)

this just has a typo, there are an extra set of parentheses

How were the links for the presentations set-up and where is the page to edit to add/fix these?

the links are created using markdown
The instructions for editing the website are here: https://mondo.readthedocs.io/en/stable/editors-guide/mondo-website-editing/

For the Summary statistics on https://mondo.monarchinitiative.org/, how are these generated and where is the page to edit to update the information?

I think @matentzn and I created this table based on the release mentioned above the table, it was manually created.

I added links to presentations I found in the gDrive for 2023 and 2024. While some presentations have the same name, the content is a little different for each.
For the stats, I linked to the tagged release page of Mondo.
@nicolevasilevsky can you review this?

Looks good to me @twhetzel!


How to use it in Ubuntu?

Hi @huangwwmm,
You can refer to the app_server/README.md, app_server/CONTRIBUTING.md and media_server/CONTRIBUTING.md for more information on setting up the servers. The Android client is in client/android. The top-level README.md describes the purposes of those servers.
The application server is a NodeJS program and the media server is a Wowza streaming engine running on JVM. We've deployed to Ubuntu servers for development and production so those should work well there.


Setting logLevel on specific host fails

When setting the logLevel via calicoctl for a specific Node it fails.
Expected Behavior

calicoctl config set logLevel warning --node=$NODE should annotate the Node with the new log level.
Current Behavior

An error is thrown:
./calicoctl config set logLevel warning --node=<IP_ADDRESS>
Error executing command: operation Apply is not supported on HostConfig(node=<IP_ADDRESS>,name=LogSeverityScreen)

Possible Solution

Allow Apply on HostConfig?
Steps to Reproduce (for bugs)

Fire up Vagrant cluster via 2.5 docs
Deploy KDD Calico-v2.5-rc2
Issue calicoctl config set logLevel --node=$NODE

Context

Your Environment

Calico version: v2.5-rc2
Orchestrator version (e.g. kubernetes, mesos, rkt): k8s
Operating System and version: CoreOS
Link to your project (optional):

Debug output:
/calicoctl -l debug config set logLevel warning --node="<IP_ADDRESS>"
INFO[0000] Log level set to debug
INFO[0000] Config file: /etc/calico/calicoctl.cfg cannot be read - reading config from environment
INFO[0000] Loading config from environment
INFO[0000] Loaded client config: api.CalicoAPIConfigSpec{DatastoreType:"kubernetes", EtcdConfig:api.EtcdConfig{EtcdScheme:"http", EtcdAuthority:"<IP_ADDRESS>:2379", EtcdEndpoints:"", EtcdUsername:"", EtcdPassword:"", EtcdKeyFile:"", EtcdCertFile:"", EtcdCACertFile:""}, KubeConfig:api.KubeConfig{Kubeconfig:"", K8sAPIEndpoint:"http://<IP_ADDRESS>:8080", K8sKeyFile:"", K8sCertFile:"", K8sCAFile:"", K8sAPIToken:"", K8sInsecureSkipTLSVerify:false, K8sDisableNodePoll:false}}
DEBU[0000] Using datastore type 'kubernetes'
DEBU[0000] Building client for config: &{Kubeconfig: K8sAPIEndpoint:http://<IP_ADDRESS>:8080 K8sKeyFile: K8sCertFile: K8sCAFile: K8sAPIToken: K8sInsecureSkipTLSVerify:false K8sDisableNodePoll:false}
DEBU[0000] Config overrides: &{AuthInfo:{LocationOfOrigin: ClientCertificate: ClientCertificateData:[] ClientKey: ClientKeyData:[] Token: TokenFile: Impersonate: Username: Password: AuthProvider:<nil> Extensions:map[]} ClusterDefaults:{LocationOfOrigin: Server: APIVersion: InsecureSkipTLSVerify:false CertificateAuthority: CertificateAuthorityData:[] Extensions:map[]} ClusterInfo:{LocationOfOrigin: Server:http://<IP_ADDRESS>:8080 APIVersion: InsecureSkipTLSVerify:false CertificateAuthority: CertificateAuthorityData:[] Extensions:map[]} Context:{LocationOfOrigin: Cluster: AuthInfo: Namespace: Extensions:map[]} CurrentContext: Timeout:}
DEBU[0000] Created k8s clientSet: &{DiscoveryClient:0xc4203e8ac0 CoreV1Client:0xc420479e30 AppsV1beta1Client:0xc420479fd0 AuthenticationV1Client:0xc4202a40f0 AuthenticationV1beta1Client:0xc4202a42b0 AuthorizationV1Client:0xc4202a43d0 AuthorizationV1beta1Client:0xc4202a44d0 AutoscalingV1Client:0xc4202a45d0 AutoscalingV2alpha1Client:0xc4202a4730 BatchV1Client:0xc4202a4850 BatchV2alpha1Client:0xc4202a4980 CertificatesV1beta1Client:0xc4202a4a80 ExtensionsV1beta1Client:0xc4202a4bb0 PolicyV1beta1Client:0xc4202a4d50 RbacV1beta1Client:0xc4202a4fb0 RbacV1alpha1Client:0xc4202a50b0 SettingsV1alpha1Client:0xc4202a5220 StorageV1beta1Client:0xc4202a5370 StorageV1Client:0xc4202a54b0}
DEBU[0000] Performing 'Apply' for &{Key:HostConfig(node=<IP_ADDRESS>,name=LogSeverityScreen) Value:warning Revision:<nil> TTL:0s}
WARN[0000] Attempt to 'Apply' using kubernetes backend is not supported.
DEBU[0000] Performing 'Apply' for &{Key:HostBGPConfig(node=<IP_ADDRESS>; name=loglevel) Value:none Revision:<nil> TTL:0s}
DEBU[0000] Apply per-Node resource                       Key=HostBGPConfig(node=<IP_ADDRESS>; name=loglevel) Namespace=config.bgp.projectcalico.org Resource=NodeBGPConfig Value=none
DEBU[0000] Extract node and resource info from Key       Key=HostBGPConfig(node=<IP_ADDRESS>; name=loglevel) Namespace=config.bgp.projectcalico.org Resource=NodeBGPConfig
DEBU[0000] Updating value in annotation                  Action=Apply Namespace=config.bgp.projectcalico.org Resource=NodeBGPConfig Value=none
Error executing command: operation Apply is not supported on HostConfig(node=<IP_ADDRESS>,name=LogSeverityScreen)

Apparently this isn't supported by KDD yet, closing

This should be fixed in the latest v3.0 alpha. I'll re-test before closing.

Retested and it works!


No way to configure loadbalancer properties per client

Is your feature request related to a problem? Please describe.
When migrating our integrations from ribbon to loadbalancer, we faced with an issue there is not possibility to configure spring.cloud.loadbalancer properties per client basis. Current LoadBalancerProperties gives an ability to configure loadbalancing for the whole application. In case application is integrated with multiple clients -- this is an issue.
Describe the solution you'd like
We would like to have an ability to configure spring.cloud.loadbalancer per client as it was previously done in ribbon.
Describe alternatives you've considered
There is no way to set specific properties for specific client.

We are in the same boat, where we are migrating from Ribbon to LoadBalancer but there is no way to configure properties per client. More importantly, we want to turn on healthcheck only on certain clients but we could not find an option with 2020.0.1 version of spring cloud loadbalancer

In same boat too. Well, I have migrated from Ribbon to Loadbalancer last year. The way I migrated is that use @LoadBalancerClient, for example:
@LoadBalancerClient(value = "service-1", configuration = Service1LoadBalancerConfig.class)
public class Service1LoadBalancerConfig {
    @Bean
    @Order(Integer.MIN_VALUE)
    public ServiceInstanceListSupplier discoveryClientServiceInstanceListSupplier(
            DiscoveryClient discoveryClient, Environment env,
            LoadBalancerZoneConfig zoneConfig,
            ApplicationContext context) {
        isValid = true;
        ServiceInstanceListSupplier delegate = new SameZoneOnlyServiceInstanceListSupplier(
                new DiscoveryClientServiceInstanceListSupplier(discoveryClient, env),
                zoneConfig
        );
        ObjectProvider<LoadBalancerCacheManager> cacheManagerProvider = context
                .getBeanProvider(LoadBalancerCacheManager.class);
        if (cacheManagerProvider.getIfAvailable() != null) {
            return new CachingServiceInstanceListSupplier(
                    delegate,
                    cacheManagerProvider.getIfAvailable()
            );
        }
        return delegate;
    }
}

In this way you can configuration customized specifications for each service.
And If you feel it is troublesome, I suggest you applying a default configuration using LoadBalancerClients. For example:
@LoadBalancerClients(defaultConfiguration = {DefaultLoadBalancerConfig.class})
public class DefaultLoadBalancerConfig {
//some default bean
}

And then, configure for some services using @LoadBalancerClient

And Based on my own comprehension, spring.cloud.loadbalancer is only used to configuration for common basic application. But for customization for each service RPC, it is another design and you should implement it based on @LoadBalancerClients and @LoadBalancerClient yourself. Or maybe the current design should be re-considerated. :-)
@OlgaMaciaszek @ryanjbaxter

@OlgaMaciaszek @ryanjbaxter @spencergibb
I prepared  PR 942 with PoC (for BlockingLoadBalancedRetryFactory) how it can be done in the current design.
What do you think?

I vote for Ferioney's design

@Ferioney Thanks for the PR. Continuing the discussion in the PR issue.

We are considering moving adding this feature for 2021.0.0 release train in order to be able to build it on top of the following feature planned for Spring Boot: https://github.com/spring-projects/spring-boot/issues/26144.