text:
Compilation failures

When I try to compile the example with clang++ -std=c++20 main.cpp I get compilation errors (see below).
I noticed your work a while ago. I find the idea of passing all the classes involved in the method arguments intriguing. It is something that I may copy in my YOMM2 library. Here is an example of how users must register the classes. As you can see, it is quite tedious.
I see that you calculate the class hierarchy somehow. Does it work with hierarchies deeper than two levels? For example, in my example, I use this hierarchy:
Animal
  Dog
    Bulldog
   etc

How do you handle this? The difficulty being to tell the direct bases from the indirect ones.
./omm.h:16:18: error: missing 'typename' prior to dependent type name 'std::remove_cv<T>::type'
    using type = std::remove_cv<T>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:22:18: error: missing 'typename' prior to dependent type name 'core_type<typename std::remove_cvref<T>::type>::type'
    using type = core_type<typename std::remove_cvref<T>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:28:18: error: missing 'typename' prior to dependent type name 'core_type<typename std::remove_pointer<T>::type>::type'
    using type = core_type<typename std::remove_pointer<T>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:45:18: error: missing 'typename' prior to dependent type name 'std::add_const<typename slice_type<typename std::remove_const<N>::type, S>::type>::type'
    using type = std::add_const<typename slice_type<typename std::remove_const<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:51:18: error: missing 'typename' prior to dependent type name 'std::add_volatile<typename slice_type<typename std::remove_volatile<N>::type, S>::type>::type'
    using type = std::add_volatile<typename slice_type<typename std::remove_volatile<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:57:18: error: missing 'typename' prior to dependent type name 'std::add_cv<typename slice_type<typename std::remove_cv<N>::type, S>::type>::type'
    using type = std::add_cv<typename slice_type<typename std::remove_cv<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:63:18: error: missing 'typename' prior to dependent type name 'std::add_lvalue_reference<typename slice_type<typename std::remove_reference<N>::type, S>::type>::type'
    using type = std::add_lvalue_reference<typename slice_type<typename std::remove_reference<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:69:18: error: missing 'typename' prior to dependent type name 'std::add_rvalue_reference<typename slice_type<typename std::remove_reference<N>::type, S>::type>::type'
    using type = std::add_rvalue_reference<typename slice_type<typename std::remove_reference<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:75:18: error: missing 'typename' prior to dependent type name 'std::add_pointer<typename slice_type<typename std::remove_pointer<N>::type, S>::type>::type'
    using type = std::add_pointer<typename slice_type<typename std::remove_pointer<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:297:18: error: missing 'typename' prior to dependent type name 'ref_type<typename cdr_type<L>::type, k - 1>::type'
    using type = ref_type<typename cdr_type<L>::type,k-1>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:303:18: error: missing 'typename' prior to dependent type name 'car_type<L>::type'
    using type = car_type<L>::type;
                 ^~~~~~~~~~~~~~~~~
                 typename
./omm.h:360:18: error: missing 'typename' prior to dependent type name 'cons_type<typename car_type<D>::type, typename make_derived_list_aux<L, B, typename cdr_type<D>::type>::type>::type'
    using type = cons_type<typename car_type<D>::type,typename make_derived_list_aux<L,B,typename cdr_type<D>::type>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:366:18: error: missing 'typename' prior to dependent type name 'make_derived_list_aux<L, B, typename cdr_type<D>::type>::type'
    using type = make_derived_list_aux<L,B,typename cdr_type<D>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:371:18: error: missing 'typename' prior to dependent type name 'make_derived_list_aux<type_list<>, B, D>::type'
    using type = make_derived_list_aux<type_list<>,B,D>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:386:18: error: missing 'typename' prior to dependent type name 'cons_type<typename core_type<typename T::type>::type, typename get_virtual_core_types_aux<N, type_list<TS...> >::type>::type'
    using type = cons_type<typename core_type<typename T::type>::type,typename get_virtual_core_types_aux<N,type_list<TS...>>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:391:18: error: missing 'typename' prior to dependent type name 'get_virtual_core_types_aux<N, type_list<TS...> >::type'
    using type = get_virtual_core_types_aux<N,type_list<TS...>>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:396:18: error: missing 'typename' prior to dependent type name 'get_virtual_core_types_aux<type_list<>, L>::type'
    using type = get_virtual_core_types_aux<type_list<>,L>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:411:18: error: missing 'typename' prior to dependent type name 'cons_type<L, typename slice_virtual_types<type_list<LS...>, D>::type>::type'
    using type = cons_type<L,typename slice_virtual_types<type_list<LS...>,D>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:416:18: error: missing 'typename' prior to dependent type name 'cons_type<typename slice_virtual_type<L, typename car_type<D>::type>::type, typename slice_virtual_types<type_list<LS...>, typename cdr_type<D>::type>::type>::type'
    using type = cons_type<typename slice_virtual_type<L,typename car_type<D>::type>::type,typename slice_virtual_types<type_list<LS...>, typename cdr_type<D>::type>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
jll@marvin:~/dev/omm/Example$ clang++12 -std=c++20 main.cpp
Command 'clang++12' not found, did you mean:
  command 'clang++-12' from deb clang-12 (1:12.0.1-16)
Try: sudo apt install <deb name>
jll@marvin:~/dev/omm/Example$ clang++11 -std=c++20 main.cpp
Command 'clang++11' not found, did you mean:
  command 'clang++-11' from deb clang-11 (1:11.0.1-2ubuntu5)
Try: sudo apt install <deb name>
jll@marvin:~/dev/omm/Example$ clang++-12 -std=c++20 main.cpp
In file included from main.cpp:3:
./omm.h:16:18: error: missing 'typename' prior to dependent type name 'std::remove_cv<T>::type'
    using type = std::remove_cv<T>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:22:18: error: missing 'typename' prior to dependent type name 'core_type<typename std::remove_cvref<T>::type>::type'
    using type = core_type<typename std::remove_cvref<T>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:28:18: error: missing 'typename' prior to dependent type name 'core_type<typename std::remove_pointer<T>::type>::type'
    using type = core_type<typename std::remove_pointer<T>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:45:18: error: missing 'typename' prior to dependent type name 'std::add_const<typename slice_type<typename std::remove_const<N>::type, S>::type>::type'
    using type = std::add_const<typename slice_type<typename std::remove_const<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:51:18: error: missing 'typename' prior to dependent type name 'std::add_volatile<typename slice_type<typename std::remove_volatile<N>::type, S>::type>::type'
    using type = std::add_volatile<typename slice_type<typename std::remove_volatile<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:57:18: error: missing 'typename' prior to dependent type name 'std::add_cv<typename slice_type<typename std::remove_cv<N>::type, S>::type>::type'
    using type = std::add_cv<typename slice_type<typename std::remove_cv<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:63:18: error: missing 'typename' prior to dependent type name 'std::add_lvalue_reference<typename slice_type<typename std::remove_reference<N>::type, S>::type>::type'
    using type = std::add_lvalue_reference<typename slice_type<typename std::remove_reference<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:69:18: error: missing 'typename' prior to dependent type name 'std::add_rvalue_reference<typename slice_type<typename std::remove_reference<N>::type, S>::type>::type'
    using type = std::add_rvalue_reference<typename slice_type<typename std::remove_reference<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:75:18: error: missing 'typename' prior to dependent type name 'std::add_pointer<typename slice_type<typename std::remove_pointer<N>::type, S>::type>::type'
    using type = std::add_pointer<typename slice_type<typename std::remove_pointer<N>::type,S>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:297:18: error: missing 'typename' prior to dependent type name 'ref_type<typename cdr_type<L>::type, k - 1>::type'
    using type = ref_type<typename cdr_type<L>::type,k-1>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:303:18: error: missing 'typename' prior to dependent type name 'car_type<L>::type'
    using type = car_type<L>::type;
                 ^~~~~~~~~~~~~~~~~
                 typename
./omm.h:360:18: error: missing 'typename' prior to dependent type name 'cons_type<typename car_type<D>::type, typename make_derived_list_aux<L, B, typename cdr_type<D>::type>::type>::type'
    using type = cons_type<typename car_type<D>::type,typename make_derived_list_aux<L,B,typename cdr_type<D>::type>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:366:18: error: missing 'typename' prior to dependent type name 'make_derived_list_aux<L, B, typename cdr_type<D>::type>::type'
    using type = make_derived_list_aux<L,B,typename cdr_type<D>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:371:18: error: missing 'typename' prior to dependent type name 'make_derived_list_aux<type_list<>, B, D>::type'
    using type = make_derived_list_aux<type_list<>,B,D>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:386:18: error: missing 'typename' prior to dependent type name 'cons_type<typename core_type<typename T::type>::type, typename get_virtual_core_types_aux<N, type_list<TS...>>::type>::type'
    using type = cons_type<typename core_type<typename T::type>::type,typename get_virtual_core_types_aux<N,type_list<TS...>>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:391:18: error: missing 'typename' prior to dependent type name 'get_virtual_core_types_aux<N, type_list<TS...>>::type'
    using type = get_virtual_core_types_aux<N,type_list<TS...>>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:396:18: error: missing 'typename' prior to dependent type name 'get_virtual_core_types_aux<type_list<>, L>::type'
    using type = get_virtual_core_types_aux<type_list<>,L>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:411:18: error: missing 'typename' prior to dependent type name 'cons_type<L, typename slice_virtual_types<type_list<LS...>, D>::type>::type'
    using type = cons_type<L,typename slice_virtual_types<type_list<LS...>,D>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
./omm.h:416:18: error: missing 'typename' prior to dependent type name 'cons_type<typename slice_virtual_type<L, typename car_type<D>::type>::type, typename slice_virtual_types<type_list<LS...>, typename cdr_type<D>::type>::type>::type'
    using type = cons_type<typename slice_virtual_type<L,typename car_type<D>::type>::type,typename slice_virtual_types<type_list<LS...>, typename cdr_type<D>::type>::type>::type;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 typename
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

Omg, first I must say I read a few years ago your posts about multiple dispatch and I liked so much your job. Then I realised that I could improve the generation of the tables and I did this library. The big difference from your library is that mine generates the tables during the compilation process, so when you start the program, all the tables are already created. I have not touched this code for 2 years, so I need to refresh my memory.
For knowing the base class of an object I use the typeinfo library, and more specifically, the typeid operator. Honestly, I don't know if that works with a multiple level hierarchy. For each class involved, I create a number associated with it, and I use that number as an index of the table where all the functions are. So, when I receive an object, I retrieve its type, I get the number associated with, and I use the correct function using that index.
There are more tricky things in there, specially one that tries to infer the type of the function you are attempting to call. Also, I did this using C++20, but I think this can be modified for using just C++17 or even less.
The compilation errror, fortunately, can be easily fixed. I don't have so much time these days, so I don't know when I can fix it. But I'll try.
Thanks for posting the issue!

Good news.
I updated the file. I use mingw compiler instead of clang, so I dont know if the change have fixed the problem. Please, check it.
Also, I added a bit more complex hierarchy in the example:
Figura
   Elipse
      Circulo

And it works! It can distinguish between Elipse and Circulo.

It looks like you committed binaries:
$ git pull
Updating c92686e..0f08038
Fast-forward
 Example/figura.h |  10 ++++++++--
 Example/main.cpp |   3 +++
 Example/main.exe | Bin 0 -> 166073 bytes
 Example/main.o   | Bin 0 -> 64862 bytes
 Example/omm.h    |  78 +++++++++++++++++++++++++++++++++++++++---------------------------------------
 omm.h            |  78 +++++++++++++++++++++++++++++++++++++++---------------------------------------
 6 files changed, 89 insertions(+), 80 deletions(-)
 create mode 100644 Example/main.exe
 create mode 100644 Example/main.o

And you are still missing a typename:
n file included from main.cpp:3:
./omm.h:1154:22: error: missing 'typename' prior to dependent type name 'std::add_pointer<typename method_template_to_function_type<typename create_method_template<O>::type>::type>::type'
    static constexpr std::add_pointer<typename method_template_to_function_type<typename create_method_template<O>::type>::type>::type value[] =

After adding it, it compiles.
All the while I was working on my own version. I got this to work:
class Animal {};
class Dog : public Animal {};
class Bulldog : public Dog {};
class Cat : public Animal {};
class Dolphin : public Animal {};

using classes = type_list<Animal, Dog, Bulldog, Cat, Dolphin>;

static_assert(
    is_same_v<
        hierarchy_t<classes>,
        type_list<
            type_list<Animal>,
            type_list<Dog, Animal>,
            type_list<Bulldog, Dog>,
            type_list<Cat, Animal>,
            type_list<Dolphin, Animal>
        >
    >);

I will look into how you have done it. And I will push the code to a branch soon.

Oops! I didnt have any gitignore file :D . Fixed. And Im glad it works now. Im going to close this issue.

Also, feel free to ask me whatever you want.


text:
Async Validation and prevent activity auto closing when completed

Changed validation to use a callback therefore allowing for async validation
Removed finishing of activity when form is completed
fixes https://github.com/HeinrichReimer/material-singleinputform/issues/12 and https://github.com/HeinrichReimer/material-singleinputform/issues/11

Overall veeery nice pull request!!!
Just two suggestions:

Move StepCheckerCallback in Step.java
Give users the ability to use public void check(..., StepCheckerCallback callback) {} or   public boolean check(...) {}. I'm not yet sure how to implement this but it should work with an abstract class. Any thoughts on this?
Thank you!

No idea why, I almost missed the notifications. I will check and see what I can implement in the mean time.

As per your suggestions,

Done
I am thinking rather than changing the API totally like I have and having to bump the version number totally, I can make each Step accept the original StepChecker and add another constructor StepCheckerAsync which implements the changes I made. That way, we allow the user the flexibility and maintain the original Major Version of 2.

Done. Kindly review.
Also, I think we need to move to the builder pattern. The constructors have become more cumbersome. If you do merge this pull, I will work on it.

Ok, really awsome changes. It presumably sounds like I'm a smart aleck, but I heve still some little points to mention:

Move StepCheckerCallback into Step.java
ProgressDialogs are a bit old-school and also userunfriendly and hard to style. Let's change that for a simple layout: It should be a FrameLayout and a centered, vertical orientated LinearLayout in it. In the LinearLayout there should be a horizontally centered ProgressBar and a horizontally centered TextView with a customizable "Loading..." text. Both the ProgressBar and the TextView should be colored based on the theme colors.
Thumbs up for your work!

BTW, great way to achive consistency AND new features using StepChecker and StepCheckerAsync :+1:

@frostymarvelous Builder pattern belongs to #8

Oh, I didn't notice the StepCheckerCallback was out again. I did the work in a separate branch ahead of master and realised this, so I basically just copied all the files into the master branch. Fixed.
Are you sure you want us to implement the progress? I only used the progress dialog as part of the demo.

Why I ask is because I feel the library should focus on doing what it does best. We will be incurring technical debt by adding unrelated features.

The ProgressBar should only be used if the validation is async. Either way progress indication and a 'completed'-screen are very common uses and therefore belong in this library IMHO. Would also be nice if we swap the ProgessBar with an ImageView showing a big check mark to indicate the end of the form. I await my summer holidays, I'll be able to work on the library then.

source: gharchive/pull-request

authors: HeinrichReimer frostymarvelous

repo: HeinrichReimer/material-singleinputform

license: mit

license_type: permissive

license_source: bigquery


text:
[Housekeeping] Orginization Changes

Description
This makes minor changes from hopeman15 to HelloCuriosity
Review checklist

[x] PR is split into meaningful commits for the ease of reviewing
[x] Tests have been written
[x] Screenshots added (where applicable)
[x] Appropriate labels have been applied

Codecov Report

Merging #108 (b0e33be) into main (9e3401f) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #108   +/-   ##
=====================================
  Coverage   76.3%   76.3%
=====================================
  Files         45      45
  Lines       1344    1344
  Branches     386     386
=====================================
  Hits        1026    1026
  Misses       118     118
  Partials     200     200

repo: HelloCuriosity/curiosity

license: MIT

license_source: github-api


text:
Internal Pandora Error

EDIT: Some network testing. Hermes worked quite fine with simulated 50% packet loss, but got "Internal Pandora Error at simulated 90% packet loss. Did not test between 51% and 89%. Notice that 100% packet loss resulted in a different error. I used a tool called Network Link Conditioner (NSHipster article).

More details to come.

Is supporting 90% loss even doable? I can't load a webpage at that kind of loss.

source: gharchive/issue

repo: HermesApp/Hermes


text:
How to make SP initiated call.

First of all, I loved the code and explanation given. I am able to set everything up and it is working from the IDP side. But when I make a call SP side, it redirects to IDP but stops on 302 redirect to ADFS page. I think there is some kind of authentication and authrequest xml is needed from SP side to IDP to verify and redirect properly. Could you help me figure this out?

Currently, this code doesn't fully support the SP-initiated SAML workflow. It's on the radar, and it's the biggest thing that I think needs to happen before 0.1.0 is going to be released. I'll probably get around to it sometime in the next month or two, but for right now, we're kind of stuck. Sorry. 😢

Alright.  That's fine. But I was reading through the documentation and there was a mention of a status metadata.xml file or something that can be put along with the url that can be passed as a parameter from SP side. If you know about that, can you tell where would that status metadata fink would go? Or what parameters and how do I specify the parameters to url.

The Authenticator currently provides Service metadata from ${jupyterhub_ip_and_port}/metadata and ${jupyterhub_ip_and_port}/hub/metadata - this is a fairly minimal subset of information about the service that helps IdPs such as PingFederate create endpoints for the Authenticator. There will still be a significant amount of admin setup to hook these services up.
You can see where the Authenticator specifies the URLs for the metadata xml here and you can see what information is provided at the URL by looking at the template that is assembled into the data here.

I see. Is there a way I can pass custom fields or a new metadata file along with the urls?

You want to modify the metadata on the JupyterHub server itself? That is not a workflow I had considered. When I'm making the SP-initiated updates, I will try to support this workflow, but it might not be elegant. For right now, you could edit your jupyterhub config file to change what the jupyterhub server returns when you get those urls. Would that work? It would look kind of like this:
class OverridingMetadataGetter:
	async def get(self):
                anshul24sharmasXml = '''some xml metadata here'''
                self.write(xml_content)

c.JupyterHub.extra_handlers = [("/metadata", OverridingMetadataGetter), ("/hub/metadata", OverridingMetadataGetter)]

Docs here for updating the handlers: https://jupyterhub.readthedocs.io/en/stable/api/app.html#jupyterhub.app.JupyterHub.extra_handlers

Hey! I tried what you mentioned. I copied the following in jupyterhub_config.py:
class OverridingMetadataGetter:
	async def get(self):
                anshul24sharmasXml = '''some xml metadata here'''
                #self.write(xml_content)
                self.write(anshul24sharmasXml)

c.JupyterHub.extra_handlers = [("/metadata", OverridingMetadataGetter), ("/hub/metadata", OverridingMetadataGetter)]

But nothing is changed when I go to /metadata or /hub/metadata links. Do I need to do something else too? Also should it be 'anshul24sharmasXml' or 'xml_content' in self.write command. Anyway I tried with both and it doesn't work. Let me know if I am doing something different.

Hello! Specifying the static metadata through extra_handlers is not updating the metadata which is set default. Do you know what could be wrong here?

There is a lot that could be wrong here. At this point, we're trying to hack through the JupyterHub Config file to add a handler and override the Authenticator's handler. That process is going to be fraught with peril, and we are way outside the recommended install path.
How about this - I'll try to get some time from my work to add an SP-initiated workflow to the authenticator, take some time to let people use custom xml metadata, and then I'll get back to you. Would that be ok?

That sounds great. Would be really helpful if I can have something like that. Thanks. Let me know.

I'll tag you in the PR.

Hey! Just a small thought. Could you tell me how much it can take to use the custom xml metadata and make a new PR.

Ok, let me see...

Add a new traitlet to hold the custom metadata
Edit the _make_sp_metadata function to return the custom metadata if the traitlet had content
Add a test to confirm the new behavior
Add documentation to let people know what the custom metadata should look like

If you want to take on one or all of these tasks, I would be happy to help you out with the others.

Sorry for the typo! I meant how much time it would take you to make a new PR.
But sure yeah. I am happy to help. I haven't worked with tartlet yet but I think we can add something like this:
class OverridingMetadataGetter: 	async def get(self):                 test_xml = '''some xml metadata here'''                 self.write(test_xml)

For my timeline on this, I'm going to guess that 0.1.0 is going to be out before October. That will have the SP-initiated workflow enable, and it should have the metadata update. This is, however, a guess, and subject to change at just about any whim of business or developer. MIT code, etc.

Any updates?  We've got a JHub instance and Ping identity IdP, and it would be great to redirect users to ping in the normal SP-initiated flow.

I have tried this with Auth0 with the SP-initiated flow and it was successful.  But i cannot do the same with the PingFederate server.
it works with
    <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://****.us.auth0.com/samlp/****"/>
    <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://****.us.auth0.com/samlp/****"/>

but not with
        <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://****/idp/SSO.saml2"/>
        <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://****/idp/SSO.saml2"/>

So I thought it would be a problem with the ping not the package itself?

authors: anshul24sharma distortedsignal dxunix holzman


text:
🛑 High Fly Designs is down

In 7eb1874, High Fly Designs (https://highflydesigns.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: High Fly Designs is back up in c165668.

repo: HighFlyDesigns/status


text:
MathRuntimeException With orekit EclipseDetector

I've got a code:
		EventHandler<EclipseDetector> eclipseScHandler = new EventHandler<EclipseDetector>() {
			@Override
			public Action eventOccurred(SpacecraftState s, EclipseDetector detector, boolean increasing) {
				if (increasing)
				{
					notifyCalcMsg("SC enter shadow");
				}
				else
				{
					notifyCalcMsg("SC exit shadow");
				}
				return Action.CONTINUE;
			}

		};
		EclipseDetector eclipseDetector = new EclipseDetector(sun, Constants.SUN_RADIUS, earth).withUmbra().withHandler(eclipseScHandler).withMaxCheck(60.0).withThreshold(1.0e-3);
		propagator.addEventDetector(eclipseDetector);

which cause a MathRuntimeException (which says openn issue in hipparchus repo))
I want to resolve a problem and want to help to improve your amazing library

It's looks like some orekit reated issue

repo: Hipparchus-Math/hipparchus


text:
Issue 212 : Adding Smoothstep functions and Blendable interface

Hi everyone,
This pull request aims to close the issue #212.
Please find below simple UML diagrams that show what has been done :
Note on SmoothStepFactory class

As you can see in this diagram, the user cannot directly create a SmoothStepFunction and must use a SmoothStepFactory which offers static access to commonly used smoothstep as well as a general method for general order 2N + 1. The SmoothStepFunction extends PolynomialFunction and is a nested class of SmoothStepFactory so that only this class has access to its constructor.
Note on Blendable interface

This interface currently has only one method named "blendArithmeticallyWith" and has implementation in RealMatrix and Vector.
Note that in the Vector class case, I had to override the default method for each inheritor of  the Vector interface. Indeed, it is not implemented by an AbstractVector(contrary to RealMatrix) nor do its methods return a V extends Vector<S,V> but a Vector<S> instead.
I limited code duplication as much as I think is possible but i you find another way to do it, please tell me. For now, the overriding methods in  Vector1D, Vector2D and Vector3D are only casting the output to themselves.

I have read this PR, it seems good to me.
However, this cannot be included in a minor release, it has to way next major version because it changes a
public interface: Vector by adding a new super interface Blendable. This implies that people already implementing the interface in their custom classes would need to implement the new super interface too: the change is not backward compatible.
So as the change has to wait for another release (or could even be one reason to switch to a major release 3.0), is the current implementation the better way to do it? Shouldn't we take the opportunity to add AbstractVector too?

Hi Luc and thank you for your review.
In that case, rather than using an AbstractVector class as I mentioned before (which would not solve the issue at hand, don't know why I thought about that), I would suggest using generics in the Vector interface. The new signature would be Vector<S extends Space, V extends Vector<S,V>> and each method would return a V (extends Vector<S,V>) instead of a Vector<S>. This solution would even reduce code duplication a little, as we could move the normalize() method to the Vector interface instead of re-using the same code in each inheriting class.
I'm going to push a commit which implement this solution so you can take a look at it.

I have merged the request.
I introduced minor changes related to pom.xml (next version will be 3.0 and not 2.4 as this change breaks compatibility, and I added you name to the contributors list).
I also updated changes.xml in both the top level aggregator and in the geometry component.
Beware dependencies must now depend on Hipparchus-x version 3.0-SNAPSHOT !

Many Thanks @maisonobe ! Sorry about the changes.xml, didn't think there would be one per module but it makes sense now that you mention it...
Take care,
Vincent

authors: VincentCucchietti maisonobe


text:
Add vendored sha256

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully run brew tests with your changes locally?

This adds a pure-Perl sha256 implementation, which is compatible with essentially any version of Perl released in the last 15 years. It's suitable for use on older versions of OS X, or Linuces which lack a shasum or sha256sum; this makes it very useful for installing a vendored Ruby.
This script was originally contributed to Tigerbrew by @geoff-codes.
cc @xu-cheng, @sjackman

Is there nothing in e.g. old Rubies or other macOS system libraries on Tigerbrew versions that could calculate a SHA256? I begrudingly think upstreaming Tigerbrew code to Homebrew/brew is worth it despite the lower user base but I'm much less convinced for language modules and particularly non-Ruby modules.

Is there nothing in e.g. old Rubies or other macOS system libraries on Tigerbrew versions that could calculate a SHA256?

Absolutely nothing. Perl doesn't include this, OpenSSL is missing it, there's no CommonCrypto, and there are no other tools with support. Without this, there's no way to calculate sha256 checksums at all.

With both this and #2683 I'm wondering if there's any way we can push any of this stuff into e.g. an external command that lives in Tigerbrew/homebrew-core. I'd really like to have Tigerbrew be able to run Homebrew/brew unpatched eventually but want to avoid large chunks of relatively complex, untested code that are Tigerbrew (or Linuxbrew) specific.

Is the vendored Ruby the default on older macOS versions yet?
If so you could simply drop all of the require "digest" in Homebrew in favour of require "openssl" and gain universal SHA256 support that way no? I'm simplifying the changes required here obviously, but, still seems less drastic than explicitly vendoring another implementation.

My comment was stupid, I apologise 😄.

Having just made a ridiculous discovery, I'm rethinking this. It turns out Ruby 1.8.2 does include sha2 - not via openssl, but via a vendored copy of Aaron Gifford's sha2 tool. The constant name is different, but otherwise the API is compatible. Fortunately, newer Rubies include the Digest::SHA256 name for compatibility, so a very small patch resolves that. I've made this much less invasive, and added a small clause to let vendor-install use Ruby as a fallback if shasum/sha256sum aren't present.

I'm wondering if there's any way we can push any of this stuff into e.g. an external command that lives in Tigerbrew/homebrew-core.

I'm not sure there's an easy way to do that with curl, unfortunately. :/ Setting up curl happens so early in the process of bootstrapping Homebrew, it doesn't really feel like there's a nice way to bootstrap a curl without using the same mechanism that's already being used for Ruby.

One suggestion but once green (I suspect after a rebase) I'm 👍 to ship. Nice work finding the SHA256 thing 👏

authors: DomT4 MikeMcQuaid mistydemeo

repo: Homebrew/brew


text:
Fail when try to install any font

General troubleshooting steps

[x] I have retried my command with --force and the issue is still present.
[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[x] None of the templates was appropriate for my issue, or I’m not sure.

[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
Fail when try to install any font.
Output of your command with --verbose --debug
❯ brew install font-jetbrains-mono-nerd-font --verbose --debug
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-jetbrains-mono-nerd-font.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-jetbrains-mono-nerd-font.rb
Error: font-jetbrains-mono-nerd-font: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-jetbrains-mono-nerd-font.rb:1: `@4' is not allowed as an instance variable name
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-jetbrains-mono-nerd-font.rb:1: syntax error, unexpected end-of-input, expecting ']'
... :before=>["version \"3.0.1\""@42, "sha256 \"977f16dcb70c45b...
...                              ^

Output of brew cask doctor
❯ brew cask doctor
Error: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead.

❯ brew doctor --cask
Usage: brew doctor, dr [--list-checks] [--audit-debug] [diagnostic_check ...]

Check your system for potential problems. Will exit with a non-zero status if
any potential problems are found. Please note that these warnings are just used
to help the Homebrew maintainers with debugging if you file an issue. If
everything you use Homebrew for is working fine: please don't worry or file an
issue; just ignore this.

      --list-checks                List all audit methods, which can be run
                                   individually if provided as arguments.
  -D, --audit-debug                Enable debugging and profiling of audit
                                   methods.
  -d, --debug                      Display any debugging information.
  -q, --quiet                      Make some output more quiet.
  -v, --verbose                    Make some output more verbose.
  -h, --help                       Show this message.
Error: invalid option: --cask

❯ brew doctor
Your system is ready to brew.

Sorry, is not all fonts, are somes:
❯ rg --files-with-matches --fixed-strings '{:name=>'
font-victor-mono-nerd-font.rb
font-gohufont-nerd-font.rb
font-fantasque-sans-mono-nerd-font.rb
font-noto-nerd-font.rb
font-fira-mono-nerd-font.rb
font-hasklug-nerd-font.rb
font-daddy-time-mono-nerd-font.rb
font-orbit.rb
font-bagel-fat-one.rb
font-iosevka-slab.rb
font-anonymice-nerd-font.rb
font-3270-nerd-font.rb
font-grandiflora-one.rb
font-roboto-mono-nerd-font.rb
font-go-mono-nerd-font.rb
font-blex-mono-nerd-font.rb
font-bigblue-terminal-nerd-font.rb
font-liberation-nerd-font.rb
font-proggy-clean-tt-nerd-font.rb
font-caskaydia-cove-nerd-font.rb
font-droid-sans-mono-nerd-font.rb
font-inconsolata-nerd-font.rb
font-tinos-nerd-font.rb
font-fira-code-nerd-font.rb
font-ubuntu-mono-nerd-font.rb
font-monofur-nerd-font.rb
font-overpass-nerd-font.rb
font-im-writing-nerd-font.rb
font-hurmit-nerd-font.rb
font-mononoki-nerd-font.rb
font-open-dyslexic-nerd-font.rb
font-comic-shanns-mono-nerd-font.rb
font-terminess-ttf-nerd-font.rb
font-inconsolata-lgc-nerd-font.rb
font-ubuntu-nerd-font.rb
font-cousine-nerd-font.rb
font-shure-tech-mono-nerd-font.rb
font-code-new-roman-nerd-font.rb
font-profont-nerd-font.rb
font-twilio-sans-mono.rb
font-aurulent-nerd-font.rb
font-gasoek-one.rb
font-iosevka-term-nerd-font.rb
font-iosevka-nerd-font.rb
font-aurulent-sans-mono-nerd-font.rb
font-diphylleia.rb
font-bitstream-vera-sans-mono-nerd-font.rb
font-symbols-only-nerd-font.rb
font-moirai-one.rb
font-hack-nerd-font.rb
font-agave-nerd-font.rb
font-dejavu-sans-mono-nerd-font.rb
font-heavy-data-nerd-font.rb
font-lekton-nerd-font.rb
font-mplus-nerd-font.rb
font-gnu-unifont.rb
font-monoid-nerd-font.rb
font-arimo-nerd-font.rb
font-space-mono-nerd-font.rb
font-meslo-lg-nerd-font.rb
font-inconsolata-go-nerd-font.rb
font-sauce-code-pro-nerd-font.rb
font-lilex-nerd-font.rb
font-jetbrains-mono-nerd-font.rb

Thank you for contacting me and Sorry for the late reply. Please wait a moment while we respond.

We are pleased to announce that the fix is now available in the latest version. To be honest, this problem has been reported for quite some time and we had been sitting on our hands, unable to think of a fix. I am very grateful to you for pointing this out to us and we have been able to fix it!

It's working like a charm, thanks!
❯ brew install  font-jetbrains-mono-nerd-font

==> Fetching homebrew/linux-fonts/font-jetbrains-mono-nerd-font
==> Downloading https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.1/JetBrainsMono.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/27574418/aa6e0b40-79a2-4e10-bb5d-54793844b3fd?X-Amz-Algo
################################################################################################################################################### 100.0%
==> Installing font-jetbrains-mono-nerd-font from homebrew/linux-fonts
🍺  /home/linuxbrew/.linuxbrew/Cellar/font-jetbrains-mono-nerd-font/3.0.1: 99 files, 184.1MB, built in 3 seconds
==> Running `brew cleanup font-jetbrains-mono-nerd-font`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

authors: robsonpeixoto tani

repo: Homebrew/homebrew-linux-fonts


text:
logstash 2.3.4

This commit removes the logstash22 formula as the Logstash 2.2 series is
now unmaintained, and adds an logstash23 formula for the 2.3 series of
Logstash.

Thanks again @jasontedor!

Right back at you @MikeMcQuaid! :smile:

authors: MikeMcQuaid jasontedor

repo: Homebrew/homebrew-versions


text:
On pdf.flatten() check mark getting removed from flattened pdf

What were you trying to do?
Trying to flatten the pdf!
How did you attempt to do it?
form_to_flatten.pdf
import fs from 'fs';
import { PDFDocument } from 'pdf-lib';

const flattenPDF = async () => {
  const pdfDocument = await PDFDocument.load(
    fs.readFileSync('form_to_flatten.pdf')
  );
  const pdfForm = pdfDocument.getForm();

  pdfForm.flatten();
  const pdfBytes = await pdfDocument.save();

  fs.writeFileSync('flattened.pdf', pdfBytes);
};

flattenPDF();

What actually happened?
the flattened pdf is missing check mark in check boxes.
What did you expect to happen?
the flattened pdf should not have missing check mark in check boxes.
They should be intact.
How can we reproduce the issue?
we can reproduce this using pdf & script provided in How did you attempt to do it? section.
Version
1.17.1
What environment are you running pdf-lib in?
Node
Checklist

[X] My report includes a Short, Self Contained, Correct (Compilable) Example.
[X] I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes
No response

referenced in https://github.com/cantoo-scribe/pdf-lib/issues/41

repo: Hopding/pdf-lib


text:
Default Library : rotation of 'SUM' signal icon

The summation signal icon displays a capital Sigma ( Σ )
Rotation or mirroring of this icon changes the sigma to read as either a 'W', 'M', or '3'.
The 'W' and 'M' cases are particularly clear and can lead to confusion in the signal path.
Describe the solution you'd like
Modify icon to prevent rotation of graphic when rotating or mirroring ports.

I noticed this is also a problem for some other similar components, I will look through them.

I noticed this is also a problem for some other similar components, I will look through them.

authors: OwenDavid peterNordin

repo: Hopsan/hopsan


text:
Fix swagger links using IP:PORT instead of a domain

All swagger info links are using IP:PORT tuple instead of the hostname
       {
            "href": "http://145.54.2.16:8080/swagger#/flow",
            "rel": "help"
        }

should be
       {
            "href": "http://magnificientdomain.com/swagger#/flow",
            "rel": "help"
        }

It should fix issue #21

repo: HotelsDotCom/flyte


text:
升级官方RXJS 5.5.2后报错了。

错误信息：
node_modules/ionic2-jpush/dist/plugin-jpush.service.d.ts, line: 1
Cannot find type definition file for 'core-js'.
   L1:  import { Observable } from 'rxjs/Rx';
   L2:  export declare class JPushService {

Error: Failed to transpile TypeScript
at errorCheckProgram (~\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:119:39)
at Object. (～\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:89:21)
at step (～\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:32:23)
at Object.next (～\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:13:53)
at fulfilled (～\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:4:58)

npm install ionic2-jpush@0.1.1

thanks for you replay
我执行了npm install ionic2-jpush@0.1.1
在执行ionic cordova build android --prod --release的时候 报错
Error: ./node_modules/rxjs/observable/BoundNodeCallbackObservable.js
Module build failed: TypeError: Cannot read property 'type' of undefined
at Object.getEffectiveTypeAnnotationNode (\node_modules\typescript\lib\typescript.js:9341:17)
at assignContextualParameterTypes (\node_modules\typescript\lib\typescript.js:41652:25)
at checkFunctionExpressionOrObjectLiteralMethod (\node_modules\typescript\lib\typescript.js:41948:29)
at checkExpressionWorker (\node_modules\typescript\lib\typescript.js:42959:28)
at checkExpression (\node_modules\typescript\lib\typescript.js:42898:42)
at checkExpressionCached (\node_modules\typescript\lib\typescript.js:42779:38)
at checkReturnStatement (\node_modules\typescript\lib\typescript.js:45418:54)
at checkSourceElement (\node_modules\typescript\lib\typescript.js:46763:28)
at Object.forEach (\node_modules\typescript\lib\typescript.js:1506:30)
at checkBlock (\node_modules\typescript\lib\typescript.js:44563:16)
@ ./node_modules/rxjs/observable/bindNodeCallback.js 2:36-76
@ ./node_modules/rxjs/add/observable/bindNodeCallback.js
@ ./node_modules/rxjs/Rx.js
@ ./node_modules/ionic2-jpush/dist/plugin-jpush.service.js
@ ./src/app/app.module.ngfactory.js
@ ./src/app/main.ts,./node_modules/rxjs/observable/BoundCallbackObservable.js
Module build failed: TypeError: Cannot read property 'type' of undefined
at Object.getEffectiveTypeAnnotationNode (\node_modules\typescript\lib\typescript.js:9341:17)
at assignContextualParameterTypes (\node_modules\typescript\lib\typescript.js:41652:25)
at checkFunctionExpressionOrObjectLiteralMethod (\node_modules\typescript\lib\typescript.js:41948:29)
at checkExpressionWorker (\node_modules\typescript\lib\typescript.js:42959:28)
at checkExpression (\node_modules\typescript\lib\typescript.js:42898:42)
at checkExpressionCached (\node_modules\typescript\lib\typescript.js:42779:38)
at checkReturnStatement (\node_modules\typescript\lib\typescript.js:45418:54)
at checkSourceElement (\node_modules\typescript\lib\typescript.js:46763:28)
at Object.forEach (\node_modules\typescript\lib\typescript.js:1506:30)
at checkBlock (\node_modules\typescript\lib\typescript.js:44563:16)
@ ./node_modules/rxjs/observable/bindCallback.js 2:32-68
@ ./node_modules/rxjs/add/observable/bindCallback.js
@ ./node_modules/rxjs/Rx.js
@ ./node_modules/ionic2-jpush/dist/plugin-jpush.service.js
@ ./src/app/app.module.ngfactory.js
@ ./src/app/main.ts
at BuildError.Error (native)
at new BuildError (\node_modules@ionic\app-scripts\dist\util\errors.js:16:28)
at callback (\node_modules@ionic\app-scripts\dist\webpack.js:121:28)
at emitRecords.err (\node_modules\webpack\lib\Compiler.js:269:13)
at Compiler.emitRecords (\node_modules\webpack\lib\Compiler.js:375:38)
at emitAssets.err (\node_modules\webpack\lib\Compiler.js:262:10)
at applyPluginsAsyncSeries1.err (\node_modules\webpack\lib\Compiler.js:368:12)
at next (\node_modules\tapable\lib\Tapable.js:218:11)
at Compiler.compiler.plugin (\node_modules\webpack\lib\performance\SizeLimitsPlugin.js:99:4)
at Compiler.applyPluginsAsyncSeries1 (\node_modules\tapable\lib\Tapable.js:222:13)

让我看看你 package.json

@HsuanXyz
如下：
{
"name": "a",
"description": "crown app ionic3",
"author": "l",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"build": "ionic-app-scripts build",
"clean": "ionic-app-scripts clean",
"lint": "ionic-app-scripts lint",
"ionic:build": "npm run build",
"ionic:serve": "npm run serve",
"ionic:lint": "npm run lint"
},
"dependencies": {
"@angular/common": "5.0.0",
"@angular/compiler": "5.0.0",
"@angular/compiler-cli": "5.0.0",
"@angular/core": "5.0.0",
"@angular/forms": "5.0.0",
"@angular/http": "5.0.0",
"@angular/platform-browser": "5.0.0",
"@angular/platform-browser-dynamic": "5.0.0",
"@angular/tsc-wrapped": "^4.4.6",
"@ionic-native/app-update": "4.3.1",
"@ionic-native/app-version": "4.3.1",
"@ionic-native/camera": "^4.3.2",
"@ionic-native/clipboard": "^4.3.2",
"@ionic-native/core": "4.3.1",
"@ionic-native/file": "^4.3.2",
"@ionic-native/file-opener": "^4.3.2",
"@ionic-native/file-transfer": "^4.3.2",
"@ionic-native/image-picker": "^4.3.2",
"@ionic-native/in-app-browser": "4.3.1",
"@ionic-native/keyboard": "^4.4.0",
"@ionic-native/photo-viewer": "^4.3.2",
"@ionic-native/splash-screen": "4.3.1",
"@ionic-native/status-bar": "4.3.1",
"@ionic-native/toast": "4.3.1",
"@ionic/storage": "^2.1.3",
"cordova-android": "^6.2.3",
"cordova-clipboard": "^1.1.0",
"cordova-ios": "^4.5.2",
"cordova-plugin-app-update": "^1.4.7",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-appversion": "^1.0.0",
"cordova-plugin-camera": "^2.4.1",
"cordova-plugin-console": "^1.1.0",
"cordova-plugin-device": "^1.1.6",
"cordova-plugin-file": "^4.0.0",
"cordova-plugin-file-opener2": "^2.0.19",
"cordova-plugin-file-transfer": "^1.6.3",
"cordova-plugin-image-picker": "^1.1.3",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-jcore": "^1.1.10",
"cordova-plugin-screen-orientation": "^2.0.1",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.2.1",
"cordova-plugin-whitelist": "^1.3.2",
"es6-promise-plugin": "git+https://github.com/vstirbu/PromisesPlugin.git",
"ionic-angular": "3.9.2",
"ionic-plugin-keyboard": "^2.2.1",
"ionic2-jpush": "^0.1.1",
"ionicons": "3.0.0",
"jpush-phonegap-plugin": "^3.2.8",
"rxjs": "^5.5.2",
"socket.io-client": "^2.0.3",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.18"
},
"devDependencies": {
"@ionic/app-scripts": "3.1.0",
"ionic": "3.16.0",
"typescript": "2.4.2"
},
"config": {
"ionic_aot_write_to_disk": true
},
"cordovaPlugins": [
"cordova-plugin-splashscreen",
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard",
"cordova-plugin-app-version"
],
"cordovaPlatforms": [],
"cordova": {
"plugins": {
"cordova-plugin-app-version": {},
"cordova-plugin-camera": {},
"cordova-plugin-console": {},
"cordova-plugin-device": {},
"cordova-plugin-file-transfer": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"jpush-phonegap-plugin": {
"APP_KEY": ""
},
"cordova-plugin-app-update": {},
"cordova-plugin-image-picker": {},
"cordova-plugin-jcore": {},
"cordova-clipboard": {},
"cordova-plugin-screen-orientation": {},
"cordova-plugin-file": {},
"cordova-plugin-file-opener2": {},
"cordova-plugin-ionic-webview": {},
"ionic-plugin-keyboard": {}
},
"platforms": [
"android"
]
}
}

请格式化一下

{
"name": "a",
"description": "crown app ionic3",
"author": "l",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"build": "ionic-app-scripts build",
"clean": "ionic-app-scripts clean",
"lint": "ionic-app-scripts lint",
"ionic:build": "npm run build",
"ionic:serve": "npm run serve",
"ionic:lint": "npm run lint"
},
"dependencies": {
"@angular/common": "5.0.0",
"@angular/compiler": "5.0.0",
"@angular/compiler-cli": "5.0.0",
"@angular/core": "5.0.0",
"@angular/forms": "5.0.0",
"@angular/http": "5.0.0",
"@angular/platform-browser": "5.0.0",
"@angular/platform-browser-dynamic": "5.0.0",
"@angular/tsc-wrapped": "^4.4.6",
"@ionic-native/app-update": "4.3.1",
"@ionic-native/app-version": "4.3.1",
"@ionic-native/camera": "^4.3.2",
"@ionic-native/clipboard": "^4.3.2",
"@ionic-native/core": "4.3.1",
"@ionic-native/file": "^4.3.2",
"@ionic-native/file-opener": "^4.3.2",
"@ionic-native/file-transfer": "^4.3.2",
"@ionic-native/image-picker": "^4.3.2",
"@ionic-native/in-app-browser": "4.3.1",
"@ionic-native/keyboard": "^4.4.0",
"@ionic-native/photo-viewer": "^4.3.2",
"@ionic-native/splash-screen": "4.3.1",
"@ionic-native/status-bar": "4.3.1",
"@ionic-native/toast": "4.3.1",
"@ionic/storage": "^2.1.3",
"cordova-android": "^6.2.3",
"cordova-clipboard": "^1.1.0",
"cordova-ios": "^4.5.2",
"cordova-plugin-app-update": "^1.4.7",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-appversion": "^1.0.0",
"cordova-plugin-camera": "^2.4.1",
"cordova-plugin-console": "^1.1.0",
"cordova-plugin-device": "^1.1.6",
"cordova-plugin-file": "^4.0.0",
"cordova-plugin-file-opener2": "^2.0.19",
"cordova-plugin-file-transfer": "^1.6.3",
"cordova-plugin-image-picker": "^1.1.3",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-jcore": "^1.1.10",
"cordova-plugin-screen-orientation": "^2.0.1",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.2.1",
"cordova-plugin-whitelist": "^1.3.2",
"es6-promise-plugin": "git+https://github.com/vstirbu/PromisesPlugin.git",
"ionic-angular": "3.9.2",
"ionic-plugin-keyboard": "^2.2.1",
"ionic2-jpush": "^0.1.1",
"ionicons": "3.0.0",
"jpush-phonegap-plugin": "^3.2.8",
"rxjs": "^5.5.2",
"socket.io-client": "^2.0.3",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.18"
},
"devDependencies": {
"@ionic/app-scripts": "3.1.0",
"ionic": "3.16.0",
"typescript": "2.4.2"
},
"config": {
"ionic_aot_write_to_disk": true
},
"cordovaPlugins": [
"cordova-plugin-splashscreen",
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard",
"cordova-plugin-app-version"
],
"cordovaPlatforms": [],
"cordova": {
"plugins": {
"cordova-plugin-app-version": {},
"cordova-plugin-camera": {},
"cordova-plugin-console": {},
"cordova-plugin-device": {},
"cordova-plugin-file-transfer": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"jpush-phonegap-plugin": {
"APP_KEY": ""
},
"cordova-plugin-app-update": {},
"cordova-plugin-image-picker": {},
"cordova-plugin-jcore": {},
"cordova-clipboard": {},
"cordova-plugin-screen-orientation": {},
"cordova-plugin-file": {},
"cordova-plugin-file-opener2": {},
"cordova-plugin-ionic-webview": {},
"ionic-plugin-keyboard": {}
},
"platforms": [
"android"
]
}
}

authors: HsuanXyz dinglicoding


text:
"name: $var"无法引用变量

- config:
    name: Demo
    parameters:
        - bussiness_id: ["A000310030118013xxxx1", "A000310030118013xxxx2", "A000310030118013xxxx3", "A000310030118013xxxx4"]
    request:
        base_url: 'http://192.168.13.121:8888'
        headers:
            User-Agent: python-requests/2.18.4
- test:
    name: /gateway/risk/$bussiness_id

在nametag中引用变量，没有生效
Ran 1 test in 0.247s

OK
INFO     Start to run testcase: lijianDemo
/gateway/risk/$bussiness_id
INFO     POST /gateway/risk
INFO     status_code: 200, response_time(ms): 244.35 ms, response_length: 97 bytes
INFO     start to validate.

@rambolijian 感谢反馈，问题已修复。

@debugtalk
执行命令升级就可以，对吗：
pip install -U git+https://github.com/HttpRunner/HttpRunner.git

@rambolijian 是的

authors: debugtalk rambolijian

repo: HttpRunner/HttpRunner


text:
WARNING: ROS_MASTER_URI [http://192.168.3.47:11311] host is not set to this machine

pi@raspberrypi:~ $ roscore
... logging to /home/pi/.ros/log/dfeecc8e-a581-11ee-9ce1-b827ebbac163/roslaunch-raspberrypi-2235.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://192.168.3.239:35927/
ros_comm version 1.14.3

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.3

NODES

WARNING: ROS_MASTER_URI [http://192.168.3.47:11311] host is not set to this machine
auto-starting new master
process[master]: started with pid [2275]
ROS_MASTER_URI=http://192.168.3.239:11311/

setting /run_id to dfeecc8e-a581-11ee-9ce1-b827ebbac163
process[rosout-1]: started with pid [2296]
started core service [/rosout]

参考教程：

ROS中的ROS_MASTER_URI环境变量解析

对于从机的.bashrc上面应该设置为：
export ROS_HOSTNAME=192.168.3.239
export ROS_MASTER_URI=http://192.168.3.142:11311

pi@raspberrypi:~/catkin_ws $ nano ~/.bashrc
pi@raspberrypi:~/catkin_ws $ source ~/.bashrc


text:
13.3(17C5053a) 应用闪退

应用闪退，之前正常，就最近开始闪退。

应用闪退，之前正常，就最近开始闪退。

给个具体的操作步骤，还是直接打开App就闪退？还有，如果是自签名，使用周期只有7天，7天后要重新签名安装，可以考虑下是不是这个问题。

authors: isecret leisurehuang


text:
self join的问题

创建了一个self join了例子
create input stream owl_monitor_new(orderid String,ordercreateTime String) source consoleInput;
create output stream owl_monitor_distinct(orderid String,OrderCreateTime String,count int) sink ConsoleOutput;
insert into owl_monitor_distinct select s1.OrderID,s1.OrderCreateTime,count(s1.orderid) as c from owl_monitor_new[ range 60 seconds slide ] as s1 UNIDIRECTION inner join
owl_monitor_new  as s2 on s1.OrderID=s2.OrderID group by s1.OrderID,s1.OrderCreateTime having c=1 ;
submit application testJoin;
这个是可以运行的，目的是最近一分钟内的数据不重复。
但是将输入流改为非input stream时，无法通过，比如以下脚本：
create input stream owl_monitor_input(orderid String,ordercreateTime String) source consoleInput;
create output stream owl_monitor_distinct(orderid String,OrderCreateTime String,count int) sink ConsoleOutput;
insert into owl_monitor_new select * from monit_input;
insert into owl_monitor_distinct select s1.OrderID,s1.OrderCreateTime,count(s1.orderid) as c from owl_monitor_new[ range 60 seconds slide ] as s1 UNIDIRECTION inner join
owl_monitor_new  as s2 on s1.OrderID=s2.OrderID group by s1.OrderID,s1.OrderCreateTime having c=1 ;
submit application testJoin;
麻烦看下是否能解决。

这个是selfjoin的bug。
移除过滤语句就可以了。
create input stream owl_monitor_new(orderid String,ordercreateTime String) source consoleInput;
create output stream owl_monitor_distinct(orderid String,OrderCreateTime String,count int) sink ConsoleOutput;
--insert into owl_monitor_new select * from owl_monitor_input;
insert into owl_monitor_distinct select s1.OrderID,s1.OrderCreateTime,count(s1.orderid) as c from owl_monitor_new[ range 60 seconds slide ] as s1 UNIDIRECTION inner join
owl_monitor_new as s2 on s1.OrderID=s2.OrderID group by s1.OrderID,s1.OrderCreateTime having c=1 ;
submit application testJoin;

如果需要过滤，可以使用窗口之前的过滤，比如：
--filter before window selft join
insert into stream rs select s.id,s.name,s2.type from S[range today type] join S(s.id>10)[range unbounded] as s2 unidirection on s.id = s2.id where s.id > 5;

恩，我们现在也是这么解决的

那这样的话selfjoin只能是input stream？

authors: Zhiqiang-He zhengzf

repo: HuaweiBigData/StreamCQL


text:
push of some posts freezes the admin page

The hubpress/#/posts admin page freezes on pushed post asciidoc posts.
I've a migration tool https://github.com/javathought/wordpress-exit (forked from https://github.com/binout/wordpress-exit). One of the enhancement I've made is to format source code blocks for hubpress with [source] tag.
I've noticed it's on posts with this tag that the pages freezes. It's should not as creating a post and copying/pasting the generated post does not freeze the admin page.

Does this behaviour still happen for you @javathought ? If it no longer happens with 0.6.x, please close the issue.

I've migrated and tested button many posts since : I did not reproduced.

authors: jaredmorgs javathought


text:
[Bug]: no such file or directory, open './vite.config.ts'

It seems that capkit is fixed to vite.config.ts:
% npm run dev:cap
...
[Error: ENOENT: no such file or directory, open './vite.config.ts'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: './vite.config.ts'
}

Newer svelte can be set to JSDoc, which might cause the use of vite.config.js (which exists locally).

Hey @bluepuma77 Thanks for reporting this, I will look into it and report back.


text:
编辑器的工具栏应该置顶

测试环境：Chrome 41+Mac OS X 10.10.3
再现方法：

打开一个内容比较多的page，例如http://lotr.huiji.wiki/wiki/BugReport
进入可视化编辑模式
拖动浏览器的滚动条，尝试编辑page比较靠下的部分

预期结果：工具栏仍在顶部，可以使用
实际结果：工具栏已经被滚动出屏幕之外

可视化编辑器bug较多，谢谢反馈

Fixed!

authors: Reasno lianzhao

repo: HuijiWiki/bootstrap-mediawiki


text:
typo in productAccessibility schema template

Missing initial capital in _type  value  => ProductAccessibility in productAccessibility.schema.tpl.json

duplicate of https://github.com/HumanBrainProject/openMINDS_controlledTerms/pull/13


text:
*window is nil after cider-connect-clj and middleware is cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor

The demo ui with 4 rotating boxes comes up but about a second after I connect with emacs, the app visibly freezes (the boxes stop rotating). I can deref *window and see that it's nil.
$ git diff
diff --git a/deps.edn b/deps.edn
index 2842623..c541b04 100644
--- a/deps.edn
+++ b/deps.edn
@@ -19,4 +19,6 @@

   :dev
   {:extra-paths ["dev"]
-   :extra-deps  {nrepl/nrepl {:mvn/version "0.8.3"}}}}}
\ No newline at end of file
+   :extra-deps {cider/cider-nrepl {:mvn/version "0.25.9"}
+                refactor-nrepl/refactor-nrepl {:mvn/version "3.1.0"}}
+   :main-opts ["-m" "user" "--middleware" "[cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor]"]}}}

$ clj -A:windows:dev
WARNING: Use of :main-opts with -A is deprecated. Use -M instead.
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.orchard.v0v7v3.orchard.misc, being replaced by: #'refactor-nrepl.inlined-deps.orchard.v0v7v3.orchard.misc/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: refactor-nrepl.inlined-deps.orchard.v0v7v3.orchard.misc, being replaced by: #'refactor-nrepl.inlined-deps.orchard.v0v7v3.orchard.misc/update-keys
nREPL server started on port 54259 on host kubernetes.docker.internal - nrepl://kubernetes.docker.internal:54259
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: cider.nrepl.inlined-deps.orchard.v0v6v5.orchard.misc, being replaced by: #'cider.nrepl.inlined-deps.orchard.v0v6v5.orchard.misc/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: cider.nrepl.inlined-deps.orchard.v0v6v5.orchard.misc, being replaced by: #'cider.nrepl.inlined-deps.orchard.v0v6v5.orchard.misc/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.passes, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-vals
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.passes.uniquify, being replaced by: #'refactor-nrepl.inlined-deps.toolsanalyzer.v1v0v0.clojure.tools.analyzer.utils/update-vals

Umm. I the problem goes away if I don't set (setq cljr-warn-on-eval nil).
https://github.com/clojure-emacs/clj-refactor.el#in-case-refactor-nrepl-is-used-for-advanced-ast-based-refactorings

The analyzer refactor-nrepl uses needs to eval the code too in order to be able to build the AST we can work with. If that causes side effects like writing files, opening connections to servers, modifying databases, etc. performing certain refactoring functions on your code will do that, too.
By default the user is warned about this when an AST dependent feature is invoked. If this warning is an annoyance and the project can be evalled without any risks set cljr-warn-on-eval to nil so cljr-eagerly-build-asts-on-startup can take effect.
We create ASTs for all the namespaces at REPL start up if cljr-warn-on-eval is set to nil.

I was reading the docs on clj-refactor since I haven't used it before and I added that to my emacs config today. Interesting.

Interesting! I have no idea what clj-refactor is or how does it work. If you ever figure out that the problem is or how example should be adjusted to avoid this, let me know

authors: rgkirch tonsky

repo: HumbleUI/HumbleUI


text:
Spark job parameters

Spark job parameters should be handled via a configuration file. For instance, LogParserJob could read its parameters from a config file log-parser.yml located in the conf directory.

implemented in 0.9.4

repo: Hurence/log-island


text:
Move moderator descriptor input fields from group settings to roles & badges settings

This currently works in the context of the 'edit and then save' pattern that is present in the Group Settings tab but not the Role & Badges (moderator) tab. So it requires more work than just moving some input fields.

repo: Hylozoic/hylo-evo


text:
Feature/research lib revisions

Adds new route & layout for research library topics
Updates research library index page to render cards (w/ background images) for each topic
Updates CMS structure to allow for new layout

Hey @Lane it looks like a merge conflict somehow got committed (located in research-library.mdx)

@Lane good to go!

@touchRED running now, thanks!
this looks good.  one thing i'm seeing is that when i select a page from the research library, i am scrolled part way down the page.

can we make it so the page is at the top after navigation?

@touchRED going to merge this in with the above issue so that UNTD team can start content updates.  will add a separate issue for the above

authors: Lane touchRED

repo: Hyperobjekt/untd-site


text:
Implement SDK Development Application

This PR includes the following:

A simple (and poorly interfaced!) development application that allows testing of the UID2 SDK. This allows the user to enter a made up email address, generate a UID2 token and provide it to the Manager. The Manager will then periodically update the token, based upon the refreshFrom attribute. The Dev App also allows for resetting the user, as well as a manual refresh.
In order to test support for custom Networking, I've implemented a OkNetworkSession inside the Dev App. This shows consumers how they may provide a wrapper around OkHttp to have it perform any necessary networking of the SDK.

I tried running the app localizing Android Studio using Pixel 4 API 30 emulator and encountered this crash when I entered an email address (foo@bar.com) and then tapped the Search button.

D/ProfileInstaller: Installing profile for com.uid2.devapp
I/MainScreenViewModel: Action: EmailChanged(address=foo@bar.com)
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.uid2.devapp, PID: 4822
java.lang.IllegalArgumentException: bad base-64
at android.util.Base64.decode(Base64.java:163)
at android.util.Base64.decode(Base64.java:138)
at android.util.Base64.decode(Base64.java:120)
at com.uid2.dev.network.AppUID2Client$generateIdentity$2.invokeSuspend(AppUID2Client.kt:60)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@2f3c095, Dispatchers.Main.immediate]

@bleege - Thanks for the test. Looking at the stack trace, it appears that whatever you had entered as the uid2_api_secret in AndroidManifest.xml before building wasn't considered valid Base64. Are you sure you entered this correctly?
I looked at what extra protection I could add around the key/secret handling to avoid a hard crash in the dev app, so now cover a few extra scenarios:

Explicit error if secret or key missing
Explicit error if secret is not Base64
Explicit error if key is not required length

authors: IanDBird bleege


text:
Nothing proceeds further after running & installing IBM_Cloud_CLI_1.1.0_amd64.exe

I do not know what to do after windows installation .. there is no interface shown in the directory

@ybadri are you still having this problem? The installer will instruct you on the 1st install on Windows to reboot your system. This will put the CLI in your system path and you will be able to run ibmcloud from a command prompt.

authors: steveclay ybadri

repo: IBM-Cloud/ibm-cloud-cli-release


text:
Add description function to Index.swift

This PR adds a description function to Index.swift similar to that which exists in Table.swift. The text it returns is the text used to create the index in question.
This is related to IBM-Swift/Swift-Kuery#83.

Codecov Report

Merging #84 into master will decrease coverage by 0.12%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
- Coverage   86.52%   86.39%   -0.13%
==========================================
  Files          43       43
  Lines        3509     3514       +5
==========================================
  Hits         3036     3036
- Misses        473      478       +5

Flag
Coverage Δ

#SwiftKuery
86.39% <0%> (-0.13%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/SwiftKuery/Index.swift
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io shmuelk

repo: IBM-Swift/Swift-Kuery


text:
fix(hierarchylist): set the selected state if defaultSelectedId changes

Closes #
Summary

If you switch the defaultSelectedId in the live preview knob here, you'll notice the selected state doesn't get updated

Change List (commits, features, bugs, etc)

Small change to set the selectedId if the defaultSelectedId incoming prop changes

Acceptance Test (how to verify the PR)

Verify that if you change the defaultSelectedId in the story, the visual selection state is updated

:tada: This PR is included in version 2.93.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: IBM/carbon-addons-iot-react


text:
Toast Notification Close Event Issue

Hi Team,
I have noticed that in Toast Notification we have a close method in the template, however, that event is missing in the component script. Kindly emit that event as done in 'Inline notification'.
Thanks in advance!
I am using below carbon versions:
"carbon-components": "^10.5.1",
"carbon-components-angular": "^3.14.4"

It already does :+1: just bind to (close) if you're using it in a template, or subscribe to .close on the instance returned from NotificationService#showToast

repo: IBM/carbon-components-angular


text:
updated controller-runtime

removed controller-filtered cache

fixed make bundle not generating alm-examples because the sample did not match the apiVersion
needed to comment out the removing secret and apiservice temporarily to avoid caching those resources
How to test
Not much to do, just ensure it can deploy the operands successfully

Built image locally, deployed to my 4.2 environment, scaled it down, deleted operands, scaled it up, operands deployed as expected. Going to approve and merge

/lgtm

authors: bitscuit bluzarraga

repo: IBM/ibm-cert-manager-operator


text:
Update README.md

added CF deprecation notice

Removed references to CF. Also fixed a few CLI terminology things.
And we'll do a rewrite for Code Engine under a different issue and PR.

repo: IBM/knative-eventing-java-app


text:
k get events -w behaves poorly

k get events -w doesn’t work quite as we’d expect: with every update, a bunch of rows may be added, for events that are already displayed in the table.
this is because the “key” of a row is its “name”, but for this events table, the name attribute is the time since last update. which changes with every poll (i.e. even for the same event, the age attribute changes with every poll).
and in the default event table, the “id” of the event is not shown (i think it is with -o wide).

we could detect that nameColumnIdx < 0 and, if so, set the row key to be the whole row (excluding any "age"-like columns).
this also requires updating the models/table.ts so that it uses row.key rather than row.name

This is still an issue, though a bit different now.
When we opened the issue, the events table would have duplicates. now… with the rowKey updates i guess, the event watcher table always has only one row.
i wonder if we should special-case event watching to use the same UI as we do in the tables. i.e. have k get events -w return an empty table with just a streaming event footer?

This is still an issue, though a bit different now.
When we opened the issue, the events table would have duplicates. now… with the rowKey updates i guess, the event watcher table always has only one row.
i wonder if we should special-case event watching to use the same UI as we do in the tables. i.e. have k get events -w return an empty table with just a streaming event footer?

repo: IBM/kui


text:
fix: fixed the integration tests for direct link

PR summary

Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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

repo: IBM/networking-go-sdk


text:
feat: validate x-sdk-operations extension

Purpose:

ensure the request examples provided using x-sdk-operations extension are good, so they may be utilized properly by tooling that uses x-sdk-operations

Changes:

add custom Spectral rule to validate x-sdk-operations
add custom Spectral function to invoke ajv JSON Schema validator on x-sdk-operations JSON Schema
add JSON Schema representation of x-sdk-operations

Tests:

ensure warnings issued for invalid x-sdk-operations schema

Docs:

document ibm-sdk-operations rule

:tada: This PR is included in version 0.40.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: IBM/openapi-validator


text:
Remove toolkit

Toolkit is no longer included and all the associated options are removed from the documentation and code.

@stevemart @rhagarty Hello, as discussed , i have removed the toolkit and all associated options from the toolkit. Kindly review and merge.

repo: IBM/spark-tpc-ds-performance-test


text:
ziya2预训练的语料拼接是如何通过attention mask规避的

同问＋１

同问+1

只需要把当前token前面不属于同一个doc的token对应的attention_mask设置成0即可，不同doc通过即可区分。

只需要把当前token前面不属于同一个doc的token对应的attention_mask设置成0即可，不同doc通过eos即可区分。
@ganzhiruyi
但是这种方式生成的attention_mask是不是不能用flash attention呀？或者说自己改flash attention?

可以用flash attention triton

authors: ganzhiruyi linyubupa qibao77 zztMermory

repo: IDEA-CCNL/Fengshenbang-LM


text:
🛑 IDR (image 648950) is down

In 1a3165c, IDR (image 648950) (https://idr.openmicroscopy.org/webclient/?show=image-648950) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (image 648950) is back up in 3f54c68 after 9 minutes.

repo: IDR/upptime


text:
🛑 IDR (image 1918953) is down

In 9ee648a, IDR (image 1918953) (https://idr.openmicroscopy.org/webclient/?show=image-1918953) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (image 1918953) is back up in 9867b61.


text:
🛑 IDR (well 119093) is down

In d3eb514, IDR (well 119093) (https://idr.openmicroscopy.org/webclient/?show=well-119093) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (well 119093) is back up in ccf3597.


text:
Publish requests from relief camps to help connect the demand and supply as much as we can

Subject of the issue
I'm trying to channelize all requests for supplies and provider info for relief camps in one place: @CampKerala twitter handle and spreadsheet http://goo.gl/ScQAD.
Feature request: Can we add this on the homepage? Right now the info is ephemeral in nature and there is timeliness to the requests. Can you request people to post details to @CampKerala twitter handle? I'll populate them manually to the spreadsheet. You can also add a link to the spreadsheet(read only to the world). As a side effect, I'm also getting list of relief camps. Just started this effort now. Need a lot of pr to get more traction. Once we have enough going on, the website can have the feature to add/edit data.
Your environment

version of your python
which browser and its version
OS Type (iOS/Android/Linux/Windows)

Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo as a GIF, if possible.
Expected behaviour
Tell us what and how exactly is it supposed to  happen
Actual behaviour
Tell us what happens instead or what went wrong

@mkurian unable to access your spreadsheet, can you please give the link again ? I am looking for camps in Ernakulam district

You can simply link to http://keralafloodrescue.com/

authors: camaheshv mkurian

repo: IEEEKeralaSection/rescuekerala


text:
Allow DEV-19 filtering on MSH-5 (Receiving Application) and MSH-6 (Receiving Facility)

During the Spring 2023 IHE PCD Face to Face, we discussed the current capabilities of the DEV-19 query. To set up a filter with current specifications, you would need to know the patient's ID or location information. If I just want a feed of "all of my devices" or "all of my devices at this facility", I don't have that option and it'd be nice to have.
Describe the solution you'd like
During the DEV-19 query, I should be able to also specify adding a filter criteria to MSH-5 and MSH-6. (this is interesting because I'm sending as MSH-3/4 during the query, but I'd be the receiver on the DEV-52 messages.
Describe alternatives you've considered
n/a
Additional context
n/a

Would this also allow for specifying the organizationally unique id (OUI) as a filter for "all my devices"?
For example:
OBX|5||70058^MDC_DEV_PUMP_INFUS_P
CA_VMD^MDC|1.1.0.0|||||||X|||||||1098437^CADD Solis^001A010000000001^EUI-64
The OUI for the late Smiths Medical would be "001A01".


text:
"cord blood": use CL "blood cell"? #25

No CL is available for "cord blood", but "blood cell" is available
example id: "IHECRE00003413.2"

It is okay to change it to “blood cell”.
(Naoto Kubota)

we changed to primary tissue and used the uberon term for umbilical cord blood instead.

authors: mlist quirinmanz rnakato

repo: IHEC/epimap-metadata-harmonization


text:
Display issues in metadata panel

Floats are not properly cleared in "metadata-listing" definition list. It appears when the last label breaks in two lines, and it raises the following bugs:

The "sub-title" of the following section is not aligned properly (see "Rights"):

Or the margin between the next section is not properly set:

This widespread clearing method does the trick:

.mirador-viewer dl.metadata-listing:after {
content: "";
display: table;
clear: both;
}

There is another bug that is quite embarrasing because it affects the proper reading of the metadata (label/value pairs are not aligned with each other when there are multiple labels breaking in two lines):

Suggestion: would it be better to have divs instead of definition lists and apply a tabular layout with css?
The markup could be:

Label:

Value:

If you validate the suggestion (and because it's very easy) I could make my first PR :wink:

That seems reasonable to me.  Please feel free to submit a PR.  Can you also include the manifest URI that is creating these display issues with the PR?

Sounds reasonable to me. In general we're due for a re-css-ification, à la #365 and #104, but have at it!

authors: aeschylus regisrob rsinghal

repo: IIIF/mirador


text:
Unity Package don't export InputManager

Input for VR won't work
Need to include InputManager.assets

This will work
https://gist.github.com/IJEMIN/8a75c51595efbb6885c5b4da90562348

Fixed.
https://github.com/IJEMIN/Unity-OpenVR-Shooter-Template/releases/tag/v1.1

repo: IJEMIN/Unity-OpenVR-Shooter-Template


text:
Fix unchecked and deprecated warnings during maven install

Description
Update the code which causes unchecked or deprecated warning.
Type of change

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

How Has This Been Tested?
Check whether maven install generates any warning.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing (regression) unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

The check list needs to be checked

In "new feature" the best option for type  of change?
This is typical refactoring.

In "new feature" the best option for type of change? This is typical refactoring.

I've just left the somewhat fitting option from the template. I'll change it to a custom one.

Than let's change the template for this purpose

authors: Nemikor vladiIkor

repo: IKOR-GmbH/sip-framework


text:
🛑 woordcombinaties.ivdnt.org is down

In e75c8ab, woordcombinaties.ivdnt.org (https://woordcombinaties.ivdnt.org) was down:

HTTP code: 503
Response time: 785 ms

Resolved: woordcombinaties.ivdnt.org is back up in de2f0c1 after 2 hours, 49 minutes.

repo: INL/ivdnt-statusoverzicht


text:
🛑 domainlossandgain2023 is down

In 8aac80e, domainlossandgain2023 (https://domainlossandgain2023.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: domainlossandgain2023 is back up in c991901 after 8 minutes.


text:
🛑 lexiconfrisicum.ivdnt.org is down

In 33f4892, lexiconfrisicum.ivdnt.org (https://lexiconfrisicum.ivdnt.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: lexiconfrisicum.ivdnt.org is back up in 3aeb693.


text:
🛑 diamant.ivdnt.org is down

In e606d69, diamant.ivdnt.org (https://diamant.ivdnt.org) was down:

HTTP code: 503
Response time: 3966 ms

Resolved: diamant.ivdnt.org is back up in 61ac276.


text:
MAINT Fix typos and wording across the mooc

As per RL feedback from @tuscland, in this PR:

corrects a typo "metioned" -> "mentioned";
changes idiomatic expression "to linger on" -> "to focus on";
adds a comment on overfitting when random forest are not correctly tuned;
adds link towards wikipedia to explain the concept of "expected value" as a generalization of the weighted average.

Thank you Arturo for taking in account my feedback, and congrats to the MOOC team for this excellent training!

authors: ArturoAmorQ tuscland

repo: INRIA/scikit-learn-mooc


text:
Feat/front : 프론트 로그인 구현

✅ PR 종류

[x] 기능 추가
[ ] 버그 수정
[x] 리팩토링
[ ] 테스트
[ ] 의존성, 환경 변수, 빌드 관련 코드 업데이트

⛏ 반영 브랜치

Feat/front -> dev

📑 변경 사항

로그인 구현
index.js 파일 삭제 -> sign-in, sign-up 2가지로 설정

👀 중요하게 확인할 부분

CORS 에러를 프론트에서 해결하였음
백엔드에서 해결하는 게 일반적이므로 백엔드에서 구현할 수 있는 방법도 알아보기!

좋습니다

authors: kimpangya potatobboi

repo: IP-I-s-Protocol/DDang


text:
Shift + Enter to "Insert segment and link" by time

If you have a for instance a word marked on a level that is structurally the parent of a level for segments or tones for instance, you should really be able to directly create a link between them.
Word
|   <- defined link
Segment
So when I now insert a vowel segment on the "Segment" tier using the proposed new Shift + Enter keystroke, I will directly also get a link between new segment and the word that it corresponds in time with.
It would be a great timesaver.

I think that something along these lines would definitely be useful. Haven't thought it through, though. Just wanted to bring up something we have had in mind for a long time, #104, a really long time, looking at the issue.
I think the two things should be tackled together because if they aren't, the shift+enter suggestion would insert links, which is good, but provide no visual feedback about the new link, which I think is a must. (There might be other ways to provide this feedback than solving #104, though.)

@MJochim yes but it will not be tackled here but in the EMU-webApp2 (still needs a better name btw :-)).
However, these are also not necessarily overlapping issues (although related). I think @FredrikKarlssonSpeech is more interested in if you have two SEGMENT levels that have a link definition (i.e. one dominates the other) and you add a new boundary / new segment that these are automatically linked (basically a mini autobuild_linkFromTimes() for a single segment). This only applies to SEGMENT/EVENT levels. Issue #104 is aimed at ITEM levels dominating SEGMENT and EVENT  levels (that is what I always refer to a ghost levels because here we want to display time where it doesn't actually exist). In the latter case auto-linking will be extremely difficult to do. For example:
   x1       x2
    |        |
    o   n   o

o = old annotation items that are linked
n = new annotation items

what is n linked to? x1 or x2? Even in the SEGMENT dominates SEGMENT level case it could also be tricky depending on the segment alignment: Imagine a ONE_TO_MANY relationship and this type of scenario:
level A: |   i am segment 1   |  i am segment 2  |
level B:            | im am newly added seg |

is the newly added segment linked to 1 or 2?

@MJochim yes but it will not be tackled here but in the EMU-webApp2 (still needs a better name btw :-)).

This morning it occured to me for the first time that ng used to stand for next-generation but now is for aNGular ;-).

However, these are also not necessarily overlapping issues (although related).

You're right here. However, I think that #258 should not be solved before #104 (the other way round would be fine).
As for the problematic scenarios you have described, we would probably have to go for something like in the anagest module. There, the users get to select an item as link target (from a list).

A simple option is to just not allow the keypress (show an error message) if the user inserts a segment  that is not say 90% overlapped by a segment on the parent level. I almost wrote "completely overlapped, but then there is off course the case of final segments in words where the end time may by accident be placed within the following word.

authors: FredrikKarlssonSpeech MJochim raphywink

repo: IPS-LMU/EMU-webApp


text:
CatalogItem: Align item in Sources to be vertically aligned

Catalog Items that are vertically aligned to the center rather than top aligned can make the user less confused about the install button when installing their choice of extension source.
I've also made a few behavior changes, when the user clicks on extension sources, it will automatically download & install the extension which will make the extension ui more interactive.

Huge Thanks for your contribution

authors: brianabdl kazemcodes

repo: IReaderorg/IReader


text:
Out of memory issue

Hi, I am encountering OOM issues with opt-13b with a single A100 80GB gpu! Do you know if there is any workaround to fix the issue?

you may not allocate enough cpu memory

authors: HaihangWu xiamengzhou

repo: IST-DASLab/sparsegpt


text:
As a developer, I want tests for username, so that I can be sure only reasonable usernames are allowed.

Acceptance criteria:
Test for:

[ ] No special characters at the start.
[ ] No special characters at the end.
[ ] No special characters except for "-", "_"and space in the middle of the username.
[ ] No usernames under 1 character
[ ] No usernames over 30 characters

Description:
We need to test whether our username requirements are enforced by the program.

We have decided that this is too many playwright-tests for functionality that is not required by the project. We have tested it manually instead.


text:
[NDTensors] Fix output type of Empty BlockSparse contraction

The output type of Empty BlockSparse contraction was a bit off, and not adjusting for the dimensions of the output tensor. That caused some subtle bugs in other operations that were expecting the types to be the same, see:
https://github.com/ITensor/ITensorInfiniteMPS.jl/pull/77#discussion_r1232428688
EDIT: This also adds a definition for Base.zero(T::ITensor), which makes it so that operations like Matrix{ITensor} * Matrix{ITensor} work (as matrix multiplication where the elements are ITensors that get contracted). That's helpful for MPO formats that are matrices of ITensors.
@LHerviou @kmp5VT

Closes #1127 by marking that test as broken for Julia versions 1.9 and above. @kmp5VT I know you also addressed that one in #1097 so your fix can be reverted.

Codecov Report

Merging #1135 (59825d4) into main (dc92810) will decrease coverage by 5.61%.
The diff coverage is 88.88%.

:exclamation: Current head 59825d4 differs from pull request most recent head 3a3023a. Consider uploading reports for the commit 3a3023a to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #1135      +/-   ##
==========================================
- Coverage   59.61%   54.00%   -5.61%
==========================================
  Files          87       86       -1
  Lines        8325     8280      -45
==========================================
- Hits         4963     4472     -491
- Misses       3362     3808     +446

Impacted Files
Coverage Δ

src/indexset.jl
81.47% <ø> (+21.47%)
:arrow_up:

src/tensor_operations/tensor_algebra.jl
88.26% <66.66%> (+40.30%)
:arrow_up:

src/broadcast.jl
86.88% <100.00%> (+59.01%)
:arrow_up:

src/itensor.jl
80.07% <100.00%> (+31.00%)
:arrow_up:

... and 69 files with indirect coverage changes

authors: codecov-commenter mtfishman


text:
🛑 Events is down

In a091032, Events (https://events.pt.ivao.aero) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Events is back up in 354d323.

repo: IVAO-Portugal/status-page


text:
🛑 Website is down

In 095e06c, Website (https://pt.ivao.aero/portal) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in 05c2290.


text:
added event in the callback.

It is convinient to have event in the callback function. I had problems with events bubbling and I resolved it with event.stopPropagation().

I see no harm in this idea, good idea @Lorelei thanks.

authors: IamAdamJowett Lorelei

repo: IamAdamJowett/angular-click-outside


text:
Example Request: Edges

First off, incredible work with THREE.Terrain. This is by far the most seamless and comprehensive Terrain tool I've seen / used for Three.js. Keep it up!
Can you provide an example for how to implement the edge features? After digging around in the source / demo for documentation, I wasn't clear on usage. My last attempt was to use the after option to apply edge transformations, but no dice.
Thanks in advance!

Glad you're finding the library useful!
The easiest way is to set the after option passed to THREE.Terrain() to a function like this one:
    function after(vertices, options) {
      THREE.Terrain.Edges( // or THREE.Terrain.RadialEdges(
        vertices,
        options,
        true, // true turns the edges up; false turns them down
        100, // how far from the edge the curvature should start
        THREE.Terrain. EaseInOut // or another curve function
      );
    };

Perfect, thanks dude!

authors: IceCreamYou austinmayer


text:
Filterfunktion (Sortierung)

Sortierungsreiter noch entfernen, wenn möglich.

Lösung: Im Backend, dass wir die ja einfach drin behalten können, aber sie halt nicht anzeigen lassen. Sie sind also basically noch vorhanden, man sieht sie bloß nicht. Nicht die eleganteste Lösung aber es funktioniert