Minor update for Debian/Linux cert install docs

Existing documentation URL(s)

https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/install-cloudflare-cert/#debian--ubuntu

Section that requires update
Debian/Ubuntu
What needs to change?
The instructions are currently:
$ cp Cloudflare_CA.pem /usr/share/ca-certificates

However, I was having these issues:

I was getting "permission denied" errors when attempting to cp without sudo
I was not seeing the certificate show up in the $ sudo dpkg-reconfigure ca-certificates step if I didn't copy the .crt file as well.

How should it change?
What I had to run instead:
$ sudo cp Cloudflare_CA.crt Cloudflare_CA.pem /usr/share/ca-certificates

Additional information
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.10
Release:        21.10
Codename:       impish

Thank you for bringing this to our attention! Another user experienced the same issue. I have updated the instructions in PR #3894.


Lots and lots of things

This PR does a lot of stuff, because it was all interconnected and it was easier to do as a group.

Reconfigure error tests

Previously we were creating syntax trees, comparing them to the recovered tree, and comparing error messages. This was very verbose, and required a lot of manual work.
The error tests also made heavy use of the DSL module, which I wanted to change for a while. The DSL module now accepts keyword arguments for each field that you want to change, and has sensible defaults for all other fields. This allows you to more quickly create nodes without having to worry about the order of the fields.
The new error tests are all in their own files, and we check them by parsing them again, formatting the errors inline, and asserting that nothing changed. I also added a bin/prism error utility for creating new files of this kind to make it slightly more manageable.

Move location in node initializers — now that the DSL has been changed, it opens up the possibility to reconfigure out node initializers. The location parameter has been moved to the front (after source and node_id) so keep the common fields at the beginning. The actual node initializers should be seen as private API for all intents and purposes, because they will contain the most churn whenever something changes.
Expose flags on every node type — every node can have common flags (newline or static_literal). This was already present in the C and Rust APIs, but wasn't exposed to the Ruby, JS, or Java APIs. This is now present everywhere. This addresses a long-standing issue request (fixes https://github.com/ruby/prism/issues/1531). Now every node has a common static_literal? method that can be used to check if something is a static literal. These flags are now exposed in the inspect output as well.
A utility method Node#breadth_first_search is added for convenience, I've written this out a bunch of times before.
node_id is now exposed in every API for every node. I was very hesitant to add this functionality to prism, because I was worried about memory usage and performance. However, I don't see any other way around it that will work with the same usage pattern for the way Rails uses node id. I was getting away with it for CRuby by using (line, column) but for Rails it changes based on the ERB being compiled and I don't see how to get it otherwise. Happily, it doesn't actually take up any more space in the C API because we had a 32-bit hole in all of our nodes on 64-bit systems because of pointer alignment, so it doesn't actually increase the size of the nodes. This fixes https://github.com/ruby/prism/issues/2383.

The DSL module now accepts keyword arguments for each field that you want to change, and has sensible defaults for all other fields. This allows you to more quickly create nodes without having to worry about the order of the fields.

Great :tada: (I remember adapting those tests when reordering fields wasn't fun)

Expose flags on every node type — every node can have common flags (newline or static_literal).

Mmh, this will increase the serialized size probably significantly.
Although it probably won't increase the Java node objects size (which already had a boolean for newline).
https://github.com/ruby/prism/issues/1531 has pretty limited value for Java, I was mostly thinking of it as a Ruby-specific convenience (since only Ruby defines these #value methods).
OTOH it's likely nice to have newline in Java, but not sure how it will play with the existing support there.
This newline flag means "potential newline" but can occur multiple times per line, right? So it still needs some kind of post-processing.

node_id is now exposed in every API for every node.

Mmh, I wonder if we need it for Java and in the serialized output.

However, I don't see any other way around it that will work with the same usage pattern for the way Rails uses node id.

Do you have a description of the problem? I'd like to understand better why it's needed or if there might be any alternative (for example implicit ordering).

Happily, it doesn't actually take up any more space in the C API because we had a 32-bit hole in all of our nodes on 64-bit systems because of pointer alignment, so it doesn't actually increase the size of the nodes.

Is it the case for all nodes?
I'm thinking if a node struct would have less than 4 bytes of padding then the effective size will be + 8 bytes.
A quick repro to show what I mean:
#include <stdio.h>

struct A {
  int a;
  // int nodeID;
};

struct B {
  struct A a;
  int b;
  int* ptr;
};

int main(int argc, char const *argv[]) {
  printf("%ld\n", sizeof(struct B));
  return 0;
}

So without nodeID, B is 16 bytes, and with nodeID B is 24 bytes.
(adding int* p1; at the start of B still gives a 8 bytes increase for nodeID)

Mmh, this will increase the serialized size probably significantly.

I'm not sure this is true. For most files it will probably add 1 byte for every node that didn't already have flags on it. But calls, strings, integers, parameters, etc. all already had flags on them, and now they're part of the same integer.

This newline flag means "potential newline" but can occur multiple times per line, right?

Yes, it matches the FL_NEWLINE flag from CRuby. It indicates that the node could potentially emit a :line event in tracepoint, depending on the order the compiler assigns the lines.

Do you have a description of the problem? I'd like to understand better why it's needed or if there might be any alternative (for example https://github.com/ruby/prism/issues/2383#issuecomment-1934920712).

It's a combination of a lot of things. Here is the code in Rails that's relevant: https://github.com/rails/rails/blob/4fa56814f18fd3da49c83931fa773caa727d8096/actionview/lib/action_view/template.rb#L232-L248.
Every instruction in YARV keeps around an associated node_id. So I don't want to go the route of making another pass through the AST in order to assign them, because that would mean an entire other pass before we get to compile. If we instead did it while compiling, then the node id order is entirely dependent on the compiler, and we'd need to replicate that some how in order to find the next node.
I don't love the feature, but at this point it's one of the last things blocking us getting merged into CRuby, so I'd like to get this moving.

Is it the case for all nodes? I'm thinking if a node struct would have less than 4 bytes of padding then the effective size will be + 8 bytes.

Yeah it's the case for all nodes. All nodes have 16 bytes for type, 16 bytes for flags, then a 32-bit hole, then a 64-bit pointer to the start of the node.

Mmh, I wonder if we need it for Java and in the serialized output.

Because we're exposing node_id in the Ruby API, we have to have it in the serialization API because of our FFI backend, otherwise it wouldn't work through the gem on JRuby/TruffleRuby. So it's got to be there either way. I'm fine removing it from the Java nodes though if it's not going to be used.

I feel the node_id stuff in CRuby was done in a rather rushed way, I think it would be worth to gather the requirements, design a proper API for this in Prism, and clarify what information the Ruby implementations need to keep and provide.

I think it would be good to go through this exercise, but I'd really like to get prism merged sooner rather than later, so I'd like to do this after. I don't think it will be a problem to refactor this later, as it's basically a continuation of what is already there.

For instance TruffleRuby already keeps the startOffset & length of every node, isn't that already enough to identify a Node?

It's not enough, unfortunately. The ERB use case makes this not sufficient because nodes can move when ERB compiles them.

Thank you for 23f3a1dd17e031b5efa77909c60c23b3b2c74ef0, I think it's the best trade-off for now.
I understand for now you need node_id for CRuby and I wouldn't want to delay that either.
I will try to take a look at the Rails use-case to understand it better and whether it could be done another way.

Could you clarify this part:

It's not enough, unfortunately. The ERB use case makes this not sufficient because nodes can move when ERB compiles them.

What do you mean by moving?
Is it that ERB adds some prelude?
Or that ERB doesn't always compile an (unchanged) template to the same generated Ruby code?
Or that the template changes and then it can still works if the modification is very minor?

Yeah it's the case for all nodes. All nodes have 16 bytes for type, 16 bytes for flags, then a 32-bit hole, then a 64-bit pointer to the start of the node.

Ah right, https://github.com/ruby/prism/blob/ad5efb260889af3ee2245e63142db2652d182f53/templates/include/prism/ast.h.erb#L126-L150 so there are pointers inside pm_node_t (via pm_location_t) and I forgot that C makes the whole size of the struct a multiple of its widest scalar member (i.e. a pointer here, so multiple of 8 bytes and there was 4 byte padding before this change).
If the location becomes a pair of uint32_t then the footprint increase would be visible, and I could repro that in https://gist.github.com/eregon/e6cd83df15af5e0338982b46d26a7be7 where pm_constant_read_node goes from 16 to 20 bytes. But that's not the current situation and indeed printing a few nodes, the sizeof() seems the same before & after this change, nice.

I took a look at serialized size stats with only semantics fields and:
before:
https://github.com/ruby/prism/actions/runs/9746914415/job/26898392339
Total sizes for top 100 gems:
total source size:      90207647
total serialized size:  66075127
total serialized/total source: 0.732

Stats of ratio serialized/source per file:
average: 0.799
median:  0.778
1st quartile: 0.567
3rd quartile: 1.006
min - max: 0.076 - 3.662

after:
https://github.com/ruby/prism/actions/runs/9783124902/job/27877177285
Total sizes for top 100 gems:
total source size:      90207647
total serialized size:  86215117
total serialized/total source: 0.956

Stats of ratio serialized/source per file:
average: 0.950
median:  0.935
1st quartile: 0.669
3rd quartile: 1.204
min - max: 0.080 - 4.052

So that's about a 19% regression for average, quite significant and likely to impact serialization & deserialization in similar amounts for TruffleRuby & JRuby.
I would assume this increase comes from node_id and from common flags (newline and static_literal).
These 3 things have very-limited/no utility for TruffleRuby & JRuby, so I think a good fix there is to not serialize them when PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS=true. I'll try to do that.
The common flags might increase serialize size because they take 2 bits more and make other flags start at 4 instead of 1, making it more likely to be >=128 and need two bytes serialized. But I think that's pretty minimal so I'll measure how much is that, that's probably not worth optimizing or making things more complex.

I wish I had this updated on JRuby to say what the impact is for growing the serialized size.  There are two cases and we should consider the balance of both:

JRuby and TruffleRuby do not need this so it is simple to say it should not be in the serialized format
If we ever want to have a universal cross impl serialized format we need to not have separate serialization between impls.

This second option has been brought up but it seems to be an idea and not necessarily a goal?  FFI means we need something consistent so I guess that is sort of a form of 2 at least for consuming it as a gem?
From my perspective we have already done other things to grow the size (like only having a callnode vs fcall,vcall,call) so this is just more of the same.  I will not have time to look into this for probably two weeks so I cannot access what this cost (which for all we know may be nothing).  I am not expressing a recommendation.

Fixing the increase turned out to be easy, I made a PR: https://github.com/ruby/prism/pull/2956
We already have a different serialization which ignores non-semantic fields (= location fields) for JRuby/TruffleRuby/Java API, and it's also properly guarded in both deserializers to ensure they have the semantics fields or not as they expect. The FFI backend with the Ruby deserializer uses the full serialization format.
We could potentially support the full serialization format for Loader.java/Nodes.java, but since there is no use case currently it would just be additional complexity (and it would notably need some different package to avoid Java class clashes if we want to load them in the same process).

@eregon yeah I am just saying for option 2 in my comment they would need to be the same unless you decided to load multiple formats which I agree adds complexity for something which is just a future (and I am not suggesting we support full serialization but something which all three impls can load).  It might not be worth it or it might which is why I asked.
I am not sure if this will actually add significant or possibly even measurable time.  deserialization is pretty fast in comparison to building the tree.  I think we should measure this.  I would love for us to reduce the size of this as small as possible but in retrospect I have been surprised how fast deserialization has been.  I think we should measure the impact.

BLEH.  I cannot even install my current build of jruby-prism-gem because gcc 14 gives an error about using transposed calloc args.  Trying to override this with --with-cflags seems to not be picking this up (which could be something JRuby specific since it is uncommon to be compiling C in a JRuby gem).

ok another issue is I am not tracking serialize vs building AST but from what I remember most time is making the tree and a significant part of that was in the newline visitor.  I guess when I do have time regardless of how we resolve this I will break this down more.


Add ros2 msg reflection plugin to ecal_mon_gui.

name: Pull request
about: Create a pull request for this project
title: Add ros2 msg reflection plugin to ecal_mon_gui
labels: ''
assignees: ''

Pull request type
Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?
Issue Number:  https://github.com/continental/rmw_ecal/issues/18#issue-929783852

The ecal app tool does not have a good support to ros2 system.
rmw_ecal_dynamic_cpp does not support ros2cli like ros2 topic echo

What is the new behavior?

You can view some ros2 msgs through ecal_mon_gui
It can be a tool that replaces ros2 topic echo

Does this introduce a breaking change?

[x] Yes
[ ] No

Other information
As for now, it is still a demo case and may not be merged into the official repo.
Feel free to give me feedback.
Thanks.

First of all thank you for contributing. As you said it's more a prototype and needs some more work. I checked your implementation and it is specifically supporting 2 message types for now. Is there any kind of a more generic approach to dynamically reflect the content of ROS message types ? I don't think so, but wanted to be sure I did not miss something.

First of all thank you for contributing. As you said it's more a prototype and needs some more work. I checked your implementation and it is specifically supporting 2 message types for now. Is there any kind of a more generic approach to dynamically reflect the content of ROS message types ? I don't think so, but wanted to be sure I did not miss something.

@rex-schilasky
Perhaps rmw_ecal can help to get msg type info from the given parameters including type name and node name.
As for now, many if statements will be an ugly solution for echo ros2 msgs.
I'll push more commits, and before that this pr will be a draft.
Thanks.

Hmm, maybe rmw_ecal could provide API for deserialization of messages, but the plugin itself will have to provide filled rosidl_typesupport_introspection_cpp::MessageMembers or rosidl_typesupport_introspection_c__MessageMembers with metadata of messages.

@ZhenshengLee what is the reason to not use rosidl_typesupport_protobuf + rmw_ecal and then to use the eCALMon builtin reflection for the protobuf message format. With that solution would have a generic reflection for all ROS messages.

@ZhenshengLee what is the reason to not use rosidl_typesupport_protobuf + rmw_ecal and then to use the eCALMon builtin reflection for the protobuf message format. With that solution you would have a generic reflection for all ROS messages.

You are right, but currently there is an issue of runtime crash. https://github.com/continental/rmw_ecal/issues/19
According to https://github.com/continental/ecal/issues/115 ecal is designed as a middleware and is not domain specific.
So there are things to do to get "rosidl_typesupport_protobuf + rmw_ecal" used with comfort in ROS2 , like rviz support.
RViz will stuck now with rmw_ecal running currently.
BTW, ptotobuf serialization may makes it easier to connect apollo cyber and ros2.
Thanks.

Okay, so we need to fix that issue in rmw_ecal first, Aleks is working on it. Regarding protobuf I fully agree. If you record ROS2 messages with eCALRec into HDF5 container, serialized as protobuf you have lots of new options:

eCALRec can record distributed on multiple hosts using shm ipc only
the performance is often limited by the mass storage throughput only (currently we run a project that is recording 4 cameras 8M with 30 fps with zero loss of frames, its about 900 MB/s on that host, other host doing their own measurements in parallel)
the reuse / compatibility of that kind of HDF5 / protobuf measurements is guaranteed for a long time, even message schemas are changing slightly, this is reducing cost for transforming or rerecording dramatically

@ZhenshengLee: I found an interesting discussion at ROS discourse regarding ROS2 type support introspection here. Seems to me a generic approach to convert a ROS2 message to a YAML representation. This YAML could be shown a a simple string in an eCALMon plugin, couldn't it ?

@rex-schilasky
Thanks for your report, I checked the doc and It

do dynamic introspection of messages using the rcl message API

As the usability of rcl api depends on rmw api, and then the implementation of rmw, due to lack of enough rmw api support of rmw_ecal, for example rcl_get_publishers_info_by_topic or rmw_get_publishers_info_by_topic, this demo will get compiled or work.
I already created an issue about lack of rmw api support, check https://github.com/continental/rmw_ecal/issues/18 , which has caused most of ros2 tools unavailable.
Currently this PR only uses msg definition hpp and helper functions and does not depend on rmw.

We should discuss to close the PR .. to have a ROS message reflection seems to be a very specific use case to me, most of the users seems to use eCAL with protobuf or ROS and it's message system.
@ZhenshengLee can you please work on that feature isolated ? If there is a ROS concept for doing generic reflection like google protobuf is able to do we can easily create a monitor plugin out of it to support such a feature.


Function options

Allow interactive functions to have access to 'construction object' such as NetworkMesh to more cleverly edit the model.
Support visualising single derivative versions.
Save edits to inner coordinates if present in scaffold.
Support float options in interactive functions.
Don't crash if model is empty.

Looks good. Minor typo to fix


Addressing-Correct-value-of-selection-index-with-filtered-list-pickers-#406

This pr fixes #406 . The change is minimal just to fix the issue.

Below sample shows how filtering works. Select 1st a and then last a. On each selection, the selected text, index will display.

Next, toggle filter and click on same selections. Notice the selectionIndex. Taifun's recommendation is to >keep / show the original unfiltered index. I can see the benefit in it, but not sure on how to accomplish it.

Try test app here: http://3nportal.com/temp/TestListView.aia

I think it's fine to merge this this go with just the minimal change.

@E-Hon This change doesn't seem to work. I just finished testing on KitKat (4.4.4) and I am getting the filtered selection index, not the unfiltered index.

Hi @jisqyv,
My apologies. I mistook the requirement. Here I changed the code and tested with the app Taifun had provided.

@E-Hon @halatmit LGTM On Gerrit for the UCR branch

@E-Hon @halatmit MERGED


[1.13] Bump Mesos to nightly 1.8.x 07d053f

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/fca89344aff96a8e2ec1b5b70f4a3cb0e899c352...07d053f68b75505a4386913f05d521fa5e36373d

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot sync

@mesosphere-mergebot sync

@mesosphere-mergebot label ship-it

@mesosphere-mergebot merge-it


CheckSessionIFrame should send client_id

CheckSessionIFrame should contain the client_id query parameter in the frame url. This is required by some identity servers such as wso2is
Current:  https://<auth_server>:9443/oidc/checksession (raw url from the metadata endpoint)
Expected: https://<auth_server>:9443/oidc/checksession?client_id=<client_id>
Change should probably be implemented at https://github.com/IdentityModel/oidc-client-js/blob/5af4d707e7330c39997f16aa02983836c883d960/src/CheckSessionIFrame.js#L28

That's not covered in the spec: https://openid.net/specs/openid-connect-session-1_0.html#ChangeNotification


Issue with focus switch/timeout in Chrome

It seems like Chrome will whitescreen (almost random - hard to recreate) when I switch tabs or desktops and come back to the game. I can't recreate on Safari, need to try some testing on Firefox.
No errors in the javascript console to indicate why this is happening. Need to try to figure out how to reproduce this.
Any thoughts/help would be appreciated.

looks like this:


Quark -> Python: NameError: global name 'Runtime' is not defined

Just received this error with a piece of Quark that looks like the following:
Error:
>>> Datawire.getToken()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/plombardi/.local/lib/python2.7/site-packages/util/__init__.py", line 24, in getToken
    (Runtime).fail(u"Environment variable 'DATAWIRE_TOKEN' is not set.");
NameError: global name 'Runtime' is not defined

Quark:
  class Datawire
  {

    static String TOKEN_VARIABLE_NAME = "DATAWIRE_TOKEN";

    @doc("Returns the Datawire Access Token by reading the environment variable DATAWIRE_TOKEN.")
    static String getToken()
    {
        String token = EnvironmentVariable(TOKEN_VARIABLE_NAME).get();
        if (token == null)
        {
            Runtime.fail("Environment variable 'DATAWIRE_TOKEN' is not set.");
        }

        return token;
    }
  }

Ran quark install --python <file containing the bug>.q
Then:
$ python
>>> from util import Datawire
>>> Datawire.getToken()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/plombardi/.local/lib/python2.7/site-packages/util/__init__.py", line 24, in getToken
    (Runtime).fail(u"Environment variable 'DATAWIRE_TOKEN' is not set.");
NameError: global name 'Runtime' is not defined

To try to boil this down to something smaller:
void main(List<String> args) {
    Runtime.fail("failed");
}

On Python, Ruby, and JavaScript, the result is a NameError or equivalent. On Java, the javac stage errors out because java.lang.Runtime does not have a fail(java.lang.String) method.
In summary, it appears the problem is that Runtime is passed through by the Quark compiler as okay to use even though it is never defined. Is that what you're talking about in your report?

But Runtime is an interface. Is the bug that quark allows calling methods on interfaces as if they are static?

I'm expecting Runtime.fail to throw some kind of error containing the specified message rather than tell me Runtime itself doesn't exist...

It looks like you're hitting a quark compiler error that allows you to call interface methods as if they are static methods.
Change
-             Runtime.fail("Environment variable 'DATAWIRE_TOKEN' is not set.");
+             concurrent.Context.runtime().fail("Environment variable 'DATAWIRE_TOKEN' is not set.");

Bah, forgot to link this issue in 25dd062


Getting 404 for all API endpoints - SvelteKit

Getting 404 Error for all API endpoints on a server - SvelteKit
POST https://mydomain.com/api/auth/sign-in/email?currentURL=https%3A%2F%mydomain.com%2Fauth%2Flogin 404 (Not Found)
POST https://mydomain.com/api/auth/sign-up/email?currentURL=https%3A%2F%mydomain.com%2Fauth%2Fregister 404 (Not Found)

It is working localhost, but not on a server.
I set up baseURL: PUBLIC_DOMAIN,  for a server and a client instance.
Desktop

OS: Mac OS latest

Browser chrome

Version latest

better-auth 1.0.3

SvelteKit (Svelte 5)

I do not use SSR

make sure to mount the handler properly on your server. And you can check /api/auth/ok to check if the server is properly running.

Currently:
const response = await svelteKitHandler({ event, resolve, auth });
response.headers.append('Access-Control-Allow-Origin', PUBLIC_DOMAIN);
return response;

and I tried
return svelteKitHandler({ event, resolve, auth });

export const auth = betterAuth({
	appName: PUBLIC_APP_NAME,
	baseURL: PUBLIC_DOMAIN,
	secret: BETTER_AUTH_SECRET,
	database: prismaAdapter(db, {
		provider: 'postgresql'
	}),
	emailAndPassword: {
		enabled: true,
		requireEmailVerification: false,
		minPasswordLength: 8,
		autoSignIn: true,
	},
})

can't tell much from here, but if 404 is returned that means the handler isn't properly mounted in hooks.server.ts. Make sure to follow the guide in the docs or the sveltekit example in this repo.


Weird bug renders conditional components if condition is written in a specific way.

The Problem
I am trying to set up a simple "collapsible" section with a button to show or hide the inner content (passed as children to an 'Accordion' island). The accordion component is as follows:
const [isOpen, toggle] = useToggle(open)

return (

  <div class={`bg-red-300 p-4 ${clazz}`}>

      {text}
      <button type='button' class='p-2 bg-black text-white' onClick={toggle}>Open</button>

    <If condition={isOpen.value}>

        {children}

    </If>

)

The 'If' component is a simple wrapper (non-interactive and lives outside the 'islands' folder) that renders the passed children depending on the given condition.
return (

  <Fragment>
    {condition === true && children}
  </Fragment>
)

The problem is that this doesn't work, it renders the
 but the children do not get rendered. The thing that I genuinely don't understand is that if I change the <If>  component to this:
return (

  <Fragment>
    {condition === false && children}
  </Fragment>
)

Then it works as expected, and the children get rendered. This also happens without the <If> wrapper (by inlining the condition into the <Accordion> component), I just like to do it this way because of personal preference.
Additional Information
deno --version outputs the following:
deno 1.33.3 (release, x86_64-unknown-linux-gnu)
v8 <IP_ADDRESS>
typescript 5.0.4

I don't know why it prints unknown-linux-gnu but in case it's needed I am using NixOS. Also, and just in case, I am running my application with the --unstable flag.

Can you share a repo where we can reproduce the error? The snippets posted here look fine and I'm assuming the error is somewhere else.

Sure, I thought that the easiest way was to share a Docker container with the problem, so I created a copy of my app removed every piece of code which wasn't related to the problem, and left only the involved code.
This repo is the minimal example I could reproduce, it's only a single page. In the repo itself, I left a README on how to run it (made a script that does it for you) and how to reproduce my problem. If you need any other thing don't hesitate to tell me.
Make sure port 80 is available or edit the run.sh script to modify the -p 80:8000 binding in the docker run command.

Thanks for providing the reproduction case. Took a look and this is the same issue as described in #1322 . When server rendered children are passed to a component and not rendered in the initial HTML, they won't appear. To resolve that we need to send children to the client as a template and collect children from that instead. It's something we need to address in Fresh itself.
Let's track the discussion in #1322.


Allow concat to be set by annotations

What would you like to be added:
Allow concat multiline regex settings and separator to be set by annotations. (firstline, lastline etc)
Why is this needed:
This would provide value and best fit the cloud native deployment and management model our customers want to use.
Users tend to turn on SCK then iterate over their key sourcetypes, updating the values and redeploying. This would allow data parsing rules to be easy to add and manage right from the k8s command line or build pipe, without the need for redeploy of the chart to add new rules to achieve beauty stacktraces and multiline logs.

This will be key for my customer as they seek to move as much of the logging ops as possible out to the edge (developer). Multi-line logging is a huge requirement for them.

This would be awesome for self service for our customers.

Thanks Matt, This will be very useful to control from Kubernetes artifacts.

I am aware that this would be a very nice feature, so i have looked into this, but it is not possible with currently existing fluentd plugins. just sharing information.


feat: Add environment configmaps to integration service

Add configmaps to the integration service so that the service can tell what environment it's running in.  This will be used to selectively enable pprof profiling.

How is this configmap mounted to service? Does kustomize do any magic to mount it? Or do you plan to access that via API directly?

Closing this for the time being. Will open a new PR if adding profiling becomes a priority.


Add ability to disable parts of Stuntman

Current behavior registers both cookie and bearer token providers and there is no way to only use one or the other.
New behavior allows selective disabling.
Note: this could allow someone to effectively use Stuntman AND disable both things that make Stuntman useful.
Implements https://github.com/ritterim/stuntman/issues/133

Also, don't forget to bump the version number.


Update UI (login menu and button) based on login state / enable logout

Updates the UI message of the login menu and the tooltip of the login toolbar button based on the current login state.
Now users can log out, with a logout confirmation dialog.

One gripe is that the same messages duplicate in plugin.properties and messages.properties for some localized messages (for the initial menu name and tooltip). It would be nice if plugin.xml could pull values directly from messages.properties.

LGTM.  We should have some tests for the login state, but that can wait for the integration tests.


[feat] Add support for Oslo logging configuration

Adds Oslo logging libraries
Enables logging configuration with a config file
Enables debug logging with --trace flag
Supports Docker logs
Adds logging for tiller

What is the purpose of this pull request?: Add support for Oslo logging configuration and Docker logs
What issue does this pull request address?: Fixes #53
Notes for reviewers to consider:
Specific reviewers for pull request: @gardlt @theyer

We will merge this for now, we will implement a feature enhancement for the CLI #78


Update Ubuntu install guide for v1.2.x

I'm trying to start Kubernetes v1.2.3 on bare-metal nodes running Ubuntu 14.04.
Here's my config:
export KUBE_VERSION=1.2.3
export FLANNEL_VERSION=0.5.5
export ETCD_VERSION=2.2.5
export KUBERNETES_PROVIDER=ubuntu

Installation works fine but pods are not able to communicate across different nodes.
Error is the same reported in kubernetes/kubernetes#24002 .
K8s 1.1.8 worked flawlessly on the same machines with the same configuration, maybe guide needs to be updated for v1.2.3?

+1. There is no week without people reporting issues with running services (e.g., Dashboard UI) on clusters created from this guide.

+1
the flanneld.log
I0429 13:26:09.698006 07911 vxlan.go:345] L3 miss: <IP_ADDRESS>
I0429 13:26:09.699338 07911 device.go:187] calling NeighSet: <IP_ADDRESS>, 8e:51:a9:8a:02:16
I0429 13:26:09.699790 07911 vxlan.go:356] AddL3 succeeded
I0429 13:26:25.561750 07911 vxlan.go:340] Ignoring not a miss: 8e:51:a9:8a:02:16, <IP_ADDRESS>

Any update on this?

I believe this issue has been fixed, and there's a much larger write of Ubuntu happening right now.
https://github.com/kubernetes/kubernetes.github.io/pull/1932


Question about the usability of our repo.

Hello,
I am the maintianer of OpenPCDet. I notice your nicework that intergrates spconv in the OpenPCDet. May I know the usability of this repo? For example, whether this repo support various pytorch version and their corresponding spconv version? Besides, whether intergrating spconv in OpenPCDet largely reduce the workload to setup OpenPCDet?
Best regards,
Jihan

I sincerely apologize for the delayed response.
In theory, this repository should work with pytorch 1.3+ just like mmdetection3d, but I have only personally tested it on 1.8 & 1.9.
I have had issues in the past installing spconv from https://github.com/traveller59/spconv which is why I set up this repository (I found it especially difficult for scattered CUDA installations and/or not having sudo permissions). In that sense, I believe this repository makes setting up OpenPCDet much easier (in my experience, I have set up OpenPCDet many times on different machines, and the vast majority of my time is used installing spconv). Mmdetection3d, which the spconv + voxelization was taken from, seems to receive fewer compilation questions above spconv.
That said, I believe this modification of OpenPCDet requires more testing.
For one, I found that spconv 1.0, which is used here, suffers from high GPU memory issues - while I have not observed issues on KITTI, on Waymo, a 2080 Ti is unable to hold PV-RCNN with batch size 2. I see that OpenPCDet recommends usage of spconv 1.2.1 for torch 1.3+. Although I am not sure why, perhaps this GPU memory issue is a byproduct of using a high torch version (1.8) with spconv 1.0. I do hope to find some time to modify spconv 1.2.1 to be able to be installed in this easy one-step method, but I am not sure when I will have the time. Regardless, thank you for your interest in this repository.
Sincerely,
David

In the latest commit here, I believe the GPU memory issue has been resolved.


srx cluster functions

Added function to allow setting SRX devices to the cluster mode and also function to disable cluster mode.
After each function, device will reboot as part of command.
--srx_cluster 1:0                  will set device to cluster_id 1 on node 0, then reboot the device
--srx_cluster_disable           will set device to stand alone mode
No need to add rsp output for user, since these command will always execute and reboot the device. For example, if device is already set to cluster_id 10 and called node 1, by issuing netconify -t={TERM_SRV}:{TERM_PORT} --srx_cluster 5:0, device will be RE-SET to cluster_id 5, called node 0 and reloaded.
Since SRX device must be first set to cluster mode before additional configuration is entered, it only makes sense to make it part of netconify device option, since netconify it can handle devices in amnesiac mode.

SRX Functions merged via #24
If additional updates are needed, please create a feature branch and PR from there.


How to run system tests

Hi, nice work that you have done, but I think you have not set an example for running system tests

Hi,
Feel free to open a PR to support the idea of running system tests.

I wrote a piece on this topic at https://nicolasiensen.github.io/2022-03-11-running-rails-system-tests-with-docker/

Thanks. I didn't try out that approach yet but I do like that the standalone browsers end up being a separate container. This will make it easy to use Docker profiles to either run or not run them based on if you want to run system tests.


Show odds for next shell in the tube

Not able to provide meaningful odds that you can't figure out for yourself.


rename output_measure to privacy_measure

There's never a distinction between input vs output measure, so "output" is unnecessary. But there is a distinction between a measure (general mathematics) and a privacy measure (DP), and we want to explicitly distinguish between these in docs and APIs.

Another option is privacy_metric.  I think the only reason we used "measure" in the programming framework paper is to to not confuse with the output_metric of a transformation.  But if we call it privacy_metric, maybe that already disambiguates?  Should see what Marco Gaboardi and Michael Hay think about the terminology.

@SalilVadhan While we're talking about terminology, I've seen confusion about d_in and d_out because they overload the d_M(x, x') distance function. How would you feel about renaming them? Either:

p_in and p_out, where p is the parameter-- like privacy loss parameter
b_in and b_out, where b is the bound

Also, I still think Mechanism is a better name than Measurement, as that's generally what the differential privacy community uses.

Can you elaborate on what you mean about the overloading?
Let me write to Marco and Michael about the measurement vs. mechanism
terminology.
On Wed, Mar 6, 2024 at 8:01 AM Michael Shoemate @.***>
wrote:

@SalilVadhan https://github.com/SalilVadhan While we're talking about
terminology, I've seen confusion about d_in and d_out because they
overload the d_M(x, x') distance function. How would you feel about
renaming them? Either:

p_in and p_out, where p is the parameter-- like privacy loss
parameter
b_in and b_out, where b is the bound

Also, I still think Mechanism is a better name than Measurement, as that's
generally what the differential privacy community uses.
—
Reply to this email directly, view it on GitHub
https://github.com/opendp/opendp/issues/947#issuecomment-1979629180, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4KIGL2PHSMQO4DULWBHXTYWYXDZAVCNFSM6AAAAAA5P2IR3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGYZDSMJYGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Overloading as in-- there are two different uses of d_x, depending on the context, either as a numerical distance bound, or as a distance function. For someone new to OpenDP, or new to DP in general, it can be confusing whether or not you can call d_in. As in, why can you call d_Sym, but not d_in?

Ah, makes sense!  I like b for bound (though I usually use b for a {0,1}
bit).  We could also use a longer variable name like "bound_in" to be more
evocative. I don't like using p, which usually denotes a probability.  Can
we just use "bound_out" also for privacy losses?  Otherwise "privacy_out"
or we could do "distbnd_out" and "privbnd_out"?
On Wed, Mar 6, 2024 at 8:20 AM Michael Shoemate @.***>
wrote:

Overloading as in-- there are two different uses of d_x, depending on the
context, either as a numerical distance bound, or as a distance function.
For someone new to OpenDP, or new to DP in general, it can be confusing
whether or not you can call d_in. As in, why can you call d_Sym, but not
d_in?
—
Reply to this email directly, view it on GitHub
https://github.com/opendp/opendp/issues/947#issuecomment-1979654159, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4KIGO6IKZXOUQ6C724D63YWYZJPAVCNFSM6AAAAAA5P2IR3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGY2TIMJVHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

A one-variable name is nice for latex formatting, and it comes up a lot so it would be more convenient to keep it short. Your reasoning has convinced me b is better.


Wrong shellcheck URL in Travis CI

Issue: https://github.com/koalaman/shellcheck/issues/1871
shellcheck fails when downloaded from storage.googleapis.com
Failure message:
You are downloading ShellCheck from the wrong URL!

Please update to the latest one:

https://github.com/koalaman/shellcheck/releases/download/latest/shellcheck-latest.linux.x86_64.tar.xz

For more information, see:

https://github.com/koalaman/shellcheck/issues/1871

This is the reason why my pull request https://github.com/dylanaraps/fff/pull/147 failed to build

Fixed


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CoreX client is gone

Description
The client for corex is nowhere to be found.
It used to be located at j.clients.corex
Version information

project commit/version: b1806bf214b5058910ac0ecc14aa046d4b61e968

Installation method
local
Steps to reproduce
open jsng shell and try to find corex client

I don't recall we added it when we started sdk, but can convert to feature request, client seems to be easy to port

So that was still JSX when I last saw it? Hum could be. Then we can indeed port it. I can prepare the PR 😊


SVG is not available in htmlWebpackPlugin

Do you want to request a feature, report a bug or ask a question?
Not sure if I'm doing anything wrong or if it's a bug...
I've built an Aurelia app with the Aurelia CLI using webpack 4 & the svg-sprite-loader.
I'd like to extract almost all icons to an external sprite.svg which is working just fine but I'd like to inline 1 icon into my index.html which is used as my landing page icon and should be shown even if no other resources have been loaded.
The following template doesn't output anything in the final index.html:
...
<% for (var spriteFileName in htmlWebpackPlugin.files.sprites) { %>
  <%= htmlWebpackPlugin.files.sprites[spriteFileName] %>
<% } %>
...

Parts of my config:
// ...
module.exports = ({production, server, extractCss, coverage, analyze, karma} = {}) => ({
  // ...
  module: {
    rules: [
      // ...
      {
        test: /\.svg$/,
        loader: 'svg-sprite-loader',
        options: {
          extract: true,
          publicPath: '/assets/icons/',
          spriteFilename: '_sprite.svg'
        }
      },
      // ...
    ]
  },
  plugins: [
    // ...
    new SpriteLoaderPlugin(),
    // ...
    new HtmlWebpackPlugin({
      template: 'index.ejs',
      metadata: {
        // available in index.ejs //
        title, server, baseUrl
      }
    }),
    // ...
  ]
});

The resulting /assets/icons/_sprite.svg includes all icons as expected and can be used within my app.
Please let me know if I can give you any more information. If needed I could also upload my whole project since its pretty much the default Aurelia CLI output with some build adjustments but not much code inside...
Please tell us about your environment:

Node.js version: 8.9.3
webpack version: 4.20.0
svg-sprite-loader version: 4.1.1
OS type & version: Win 10

@suamikim hi! It would be great if you can provide me a piece of your project (I don't need it entirely) with package.json webpack config, htmlwebpackplugin template, some SVGs and JS code, which imports SVGs for external sprite.

Hi @kisenka here's the project which should include everything. As already stated, it's an Aurelia project so the general structure & configuration workflow might differ a little from a vanilla webpack project but the basics should still apply.
The relevant code lies within the client folder. To run it, simply go in there & run npm i & npm run build or npm run build-prod to create the build in the dist folder.
I'm happy to answer your questions or give you more info when needed!

Hi,
I have same issue on my app too, with almost same config (with webpack 3, latest version of html-webpack-plugin and svg-sprite-loader).
The webpack config :
const SvgSpriteLoaderPlugin = require('svg-sprite-loader/plugin');

const buildHtml = chunk => {
    const obj = new HtmlWebpackPlugin({
        chunks: [chunk],
        template: `webpack-templates/login.ejs`,
    });
    console.log(obj);
    return obj;
};

...
// Loaders
{
    test: /\.svg$/,
    use: [
        {
            loader: 'svg-sprite-loader',
            options: {
                extract: true,
            },
        },
    ],
},

...

// Plugins

buildHtml('login', 'index.html'),
new SvgSpriteLoaderPlugin({
    plainSprite: true,
}),

And that's the output of the console.log of HtmlWebpackPlugin object :
{
  options:
   { template: 'webpack-templates/login.ejs',
     templateParameters: [Function: templateParametersGenerator],
     filename: 'index.html',
     hash: false,
     inject: true,
     compile: true,
     favicon: false,
     minify: false,
     cache: true,
     showErrors: true,
     chunks: [ 'login' ],
     excludeChunks: [],
     chunksSortMode: 'auto',
     meta: {},
     title: 'Webpack App',
     xhtml: false }
}

There is no property files in it despite my different attempts to set the config.
The sprite file is correctly included in build folder, but no svg included in the body like in the example.

Hello I just encountered the same problem.
I wanted to use an inline svg sprite map like it is described in the example.
After searching a bit it seems that there are breaking changes in html-webpack-plugin which makes this plugin not compatible with the latest version of html-webpack-plugin (at this time 4.3.0).
I solved my problem temporarily by forcing the version to 3.2.0.
it would be a good thing that your plugin supports the api of the latest version of html-webpack-plugin .

I have downgrade svg-symbol-sprite-loader to 3.1.0, it works with my webpack-bundle-analyzer is 3.1.0


remove opentelemetry subdependency from dockerfiles

#1179  👈
main

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

Join @jlewitt1 and the rest of your teammates on  Graphite


Backend anchors have extra styling in firefox

Winter CMS Build
1.2
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
Firefox adds a blue outline to anchor elements on :focus (which honestly looks horrible) and interferes with the look & feel of WinterCMS.
Some example of problematic places include sections with tabs - on click, which makes the element focused, it add a small blue outline on the left and right side of the element.
Example in the CMS tabs:

Example in the underlying section:

Steps to replicate

Open firefox
Go to backend
Click on anything that is an anchor

Workaround
Can be fixed using a:focused { outline: none; }. However, I do not know if this is intended behavior.

Same for form primary tabs

So long as the focused element has some form of styling to distinguish it for usability I'd be more than happy to merge any PR suggested. Let me know if you need help submitting one!


pythonPackages.pysdl2: fix build by fixing patch

Description of changes
The PySDL2-dll.patch did not apply after the last package bump. This commit both fixes the patch and introduces a pythonImportsCheck.
Closes #193814.

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

5 packages built:

python310Packages.pysdl2
python310Packages.pytmx
python39Packages.pysdl2
python39Packages.pytmx
tauon


"it's" vs. "its"

There are several places in README.md where you use "it's" instead of "its".

Whole README isn't the quite the best English, but ¯_(ツ)_/¯

Thanks, polished it a little bit :)


Make functions which adds and subtracts BigDecimal/Float/... types. Used for TODO-functions [branch:lab4refactoring]

This issue was solved through multiple commits (which solved one issue each).


Meta file missing

Hi, I'm having trouble running the demo on Windows with Visual Studio 2022.
The error log shows that some meta files are missing. Any idea what might be causing this issue? It would be great if a stable version is coming out.

Hi qingqing, I have read your work before!
I updated some fixes for the issue today, and you can find more details in the "Compilation Instruction" section in README.md.
I am surprised you have fixed all the other issues to compile it :> Very sorry for the inconvenience...

Thanks! The test scene works for me now!


Add webp support to letterbox filter

Ticket: None
Issue
The letterbox class does not support webp images.
Solution
Add support for webp images
Impact
The 'imagewebp' & 'imagecreatefromwebp' functions were added in PHP 5.4. The Timber Wordpress page reports a minimum PHP version of 5.6, however, the current composer.json shows 5.3. I'm not sure if the composer.json is out of date or not.
Usage Changes
There should be none
Considerations
See Impact
Testing
There doesn't seem to be specific tests for the different extensions.

Coverage decreased (-0.05%) to 92.294% when pulling 31dc888788800df19212a659521543c773dd988c on ThomasBerends:feature/letterbox-webp into 80a26d2671a157dfdbc72feadef1a1f0beb91516 on timber:master.


Add have(:no) to README

Hello :)
I was searching today for a natural way to express the expectation of an empty Rails association.
First I wrote this, hoping it would work:
expect(bird).not_to have.feathers

This did not work :)
I dived into the source and discovered that I could do this:
expect(bird).to have(:no).feathers

This is also a good way to make the expectation sould like natural English :)
So I thought that it's worth mentioning in the README.

Thanks, an excellent documentation contribution 👍

Thanks! Didn't know this was possible 👍


Refactor image tool

What this PR does / why we need it:
This commit chain refactors the publish-kubemark-images tool to be in its own subdirectory and module so that it is clearer how to build and use the tool. The previous tools directory has been cleaned up as well to remove old files that weren't being used. Readme files have been added to both the tools and publish-kubemark-images directories.
please note, this tool is only for building the kubemark image that is utilized by the provider, it does not build the provider images.
Release notes:

NONE

looks like i need to add some boilerplate

still looking for a few reviewers to get this included
/remove-lifecycle stale

fwiw, even though there is a failed test run here, this code does not touch the production pieces of the provider. it is only updating the helper tool.

thanks @sbueringer , i think i need to spend some time fixing that broken test. not sure what is happening there but it is not related to this PR.

i think the go linting tool is getting hung up on something, i'm investigating

there is something odd going on with the golangci-lint, i am going to merge this and then fix it up so that i can adjust for the new directories.

/lgtm

/unhold


.NET 9 is included in Visual Studio 2022 version17.12

Issue description
.NET 9 is included in Visual Studio 2022 version17.12 So we can update prerequisites : Visual Studio 2022 Preview as depicted in the image below.

Hello @SatyaKarki ... Please re-open this issue using the Open a documentation issue link/feedback form at the bottom of the article. Use of the form adds metadata to your GitHub issue that cross-links the topic and pings the author automatically for a faster response.

Here's the link to the article ...
https://learn.microsoft.com/en-us/aspnet/core/migration/80-90?view=aspnetcore-9.0&tabs=visual-studio
The Open a documentation issue link is at the bottom of the article.


Update properties

There are missing properties that DarkSky (Forecast.io) have added over the last year, along with some properties that have been deprecated/renamed.
An example of new properties are 'UvIndex', 'WindGust'.

@f0xy


Add paths to npmignore

You can run npm pack to see what will be added to npm package. I think we need much more paths in .npmignore.

Hi, @ai!
Thank you for your attention to the plugin! .npmignore file is updated. Now it includes the most important files only.
Thanks!


fix (angle tool): No text box if angle is incomplete/ value is NaN

Context
In the angle tool, if a user draws an angle where point 1, 2 or point 2,3 have the same coordinates, the calculated angle value will be NaN because it is impossible to calculate the angle. This causes the textbox not to be visible. It would be helpful to at least have the textbox say "Incomplete Angle" letting them know to adjust their points.
A better fix could be to prevent the creation of such invalid measurements and to prevent adjusting an existing angle to end up in that invalid state.

Changes & Results
Modified the  _calculateCachedStats method to set the angle value to be "Incomplete Angle" instead of NaN if the value is NaN.

Testing

visit -> OHIF
the link above will already open a study. Select the angle tool
try to draw an angle where the third point is on top of the second point
If the above is too difficult, draw a normal angle, then try to adjust the points to overlap.

Checklist
PR

[X] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[X] My code has been well-documented (function documentation, inline comments,
etc.)

[X] I have run the yarn build:update-api to update the API documentation, and have
committed the changes to this PR. (Read more here https://www.cornerstonejs.org/docs/contribute/update-api)

Public Documentation Updates

[X] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[X] "OS: Windows 10
[X] "Node version: 18.15.0
[X] "Browser: Chrome Version 115.0.5790.170 (Official Build) (64-bit)

I think this is a good way of handling things. Please test saving/restoring to see that we still get the right values. Note that the canonical way of representing NaN in the JSON metadata is (will be?) "NaN" - I have a DICOMweb CP submitted to change that.

@wayfarer3130 I just tested it, looks like it works as expected
Incomplete angle save/restore:

normal angle save/restore:


Remove webapp alias notice

:hocho: includes/webapp-alias-notice.md

@Rick-Anderson When do you want to remove this notice?

[!NOTE] If the dotnet new webapp  command loads the dotnet new command help instead of creating a new Razor Pages app, install .NET Core SDK 2.1.300 or later. As of .NET Core SDK 2.1.300, the webapp Short Name is an alias for razor.

https://github.com/aspnet/Docs/blob/master/aspnetcore/includes/webapp-alias-notice.md
It appears everywhere (I think) that we show ...
dotnet new webapp ...

I think we should remove it now unless @scottaddie  objects.

Ok ... I'll wait to hear back from him, then do the deed if :+1:.


Add support for php

hi!, Please add support for php and laravel, thank for hard work..

@safie Thanks for your feedback. I will add


How Can download V2 in appveyor ?

Hello there
How Can i download Dotspatial V2 in appveyor ?
i found release but i can not download source code

Each successfull AppVeyor build has an Artifacts page that contains the DotSpatial.zip with all project dlls and the nuget files.
If you only want to downloaded the latest zip file, you can get this via the Latest available build from master branch link from the main page.
The source code is not meant to be downloaded via AppVeyor. To download the latest source code use the Clone or download button from the main page.
If you don't want to download the latest source code click on the 1,121 commits that is currently shown on main page. Then find the commit you want to download and click on the <> button of the commit. You'll get the main page for this commit and can download the source via Clone or download button again.


New Rust 1.83 targets

Checklist

[X] I've looked through the issues and pull requests for similar request
[ ] This feature could be solved with a custom image (optional)

Describe your request
Per https://github.com/rust-lang/rust/releases/tag/1.83.0
Describe why this would be a good inclusion for cross
Cross does an excellent job of managing complex compiler toolchains. Looking forward to supporting more of the available Rust targets. I believe Rust application users deserve best in class portable software.

Im closing this with the same reasoning i used to close https://github.com/cross-rs/cross/issues/1575


gftools-add-designer

Wipasaurus.

@RosaWagner @vv-monsalve feel free to review.

Alright, I've added the following:

Fixes for social media links
You don't need to specify an image in order to run the tool
Remove older images

@RosaWagner please review

Works like a charm.

Thanks. Let's merge this and cut a release.


How to add autocomplete on TAB if I have 1 filtered result or save entered value after press TAB

Hello. Thanks for great plugin. I have a questions:

I have data [{value:test1}, {value:test2}]
If I type "test2" in input field by hand and press TAB, I loose my value. How can I prevent it? I don't want do mouse click to save entered value.
Can I add autocomplete on press TAB or save keydown behavior if I have only 1 filtered result?

:+1: Pressing Tab should select into the input box the currently selected value in the dropdown. This is how many systems handle pressing Tab: tag entry in Vanilla Forums, Pinboard.in, Bootstrap typeahead. Select2 has an open feature request for the same behavior.

This exists in settings: selectOnTab
.selectize({selectOnTab: true})

Thanks @nickgoodliff


Update link to Criteo Kaggle Display Advertising Challenge Dataset

The link in the README for the Criteo Kaggle Display Advertising Challenge Dataset no longer provides access to the data.

Current link: https://labs.criteo.com/2014/02/download-kaggle-display-advertising-challenge-dataset/
Error when trying to download data: "The specified bucket does not exist"

The data can now be accessed here: http://go.criteo.net/criteo-research-kaggle-display-advertising-challenge-dataset.tar.gz

Thank you for pointing it out. We will update it.

Done


Added a function that runs when in an iFrame to detect a force-full-view data attribute

Alright! This is finally ready for review. The commits were a learning process, so I committed some things early on I undid or fixed later. You should probably look at the final file changes versus the individual commits.
This PR includes the following.

Added a URL argument that removes the iFrame embedded display data attribute. It needs to remove it versus not adding it, because there is inline JS on the page template that adds it in addition to what's in ENgrid.
Replaced the old usage of ENgrid Debug with the new ENgrid Logger
In a few places I removed styling and cleaned up the message passed to the ENgrid Logger
Removal of unnecessary commented-out console logs


Support TextFileCertificateLoginModule without using init container

Is your feature request related to a problem? Please describe.
Currently adding TextFileCertificateLoginModule login module using jaas-config secret is not enought, user has to modify bootstrap.xml to add certificate-domain like this as required:

Using custom init image it can be done. A better solution should be provided to eliminate the use of init image.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
Optional. A clear and concise description of any alternative solutions or features you've considered.
Additional context
Optional. Add any other context or screenshots about the feature request here.

wondering if there really is a need to change the jaas-domain, the TextFileCertificateLoginModule can be added as a sufficient module in the default domain. The generic jaas callback will be able to provide it with the certs from any tls endpoint.

Added some details
I want to use https://activemq.apache.org/components/artemis/documentation/latest/security.html#dual-authentication, following the doc https://github.com/artemiscloud/activemq-artemis-operator/blob/main/docs/help/operator.md#configuring-jaas-for-brokers
Using the below configuration:
apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
  name: ex-aao
spec:
  deploymentPlan:
    size: 1
    image: placeholder
    requireLogin: false
    persistenceEnabled: true
    journalType: nio
    messageMigration: true
    extraMounts:
      secrets:
        - mqtt-jaas-config
        - mqtt-roles
  acceptors:
  - name: mqtt
    protocols: mqtt
    port: 1883
    expose: true
    sslEnabled: true
    sslSecret: mqtt-tls-secret
    needClientAuth: true
  env:
    - name: JAVA_ARGS_APPEND
      value: -Dbroker.properties=/amq/extra/secrets/mqtt-roles/broker.properties
---
apiVersion: v1
kind: Secret
metadata:
  name: mqtt-jaas-config
type: Opaque
stringData:
  login.config: |
    activemq {
        // ensure the operator can connect to the broker by referencing the existing properties config
        org.apache.activemq.artemis.spi.core.security.jaas.PropertiesLoginModule sufficient
            org.apache.activemq.jaas.properties.user="artemis-users.properties"
            org.apache.activemq.jaas.properties.role="artemis-roles.properties"
            baseDir="/home/jboss/amq-broker/etc";
        org.apache.activemq.jaas.TextFileCertificateLoginModule required
          debug=true
          org.apache.activemq.jaas.textfiledn.user="users.properties"
          org.apache.activemq.jaas.textfiledn.role="roles.properties";
    };
  roles.properties: |
    acm-users=cluster1
  users.properties: |
    cluster1=CN=cluster1, OU=core, O=ACM

Then I connected the amq with certificates, I got
2023-10-26 01:43:13,220 WARN  [org.apache.activemq.artemis.core.server] AMQ222216: Security problem while authenticating: AMQ229031: Unable to validate user from /<IP_ADDRESS>:49754. Username: null; SSL certificate subject DN: CN=cluster1, OU=core, O=ACM

Then I only keep the TextFileCertificateLoginModule plugin
apiVersion: v1
kind: Secret
metadata:
  name: mqtt-jaas-config
type: Opaque
stringData:
  login.config: |
    activemq {
        org.apache.activemq.jaas.TextFileCertificateLoginModule required
          debug=true
          org.apache.activemq.jaas.textfiledn.user="users.properties"
          org.apache.activemq.jaas.textfiledn.role="roles.properties";
    };
  roles.properties: |
    acm-users=cluster1
  users.properties: |
    cluster1=CN=cluster1, OU=core, O=ACM

then I got
2023-10-26 01:51:25,435 WARN  [io.hawt.system.Authenticator] Login failed due to: No LoginModule found for org.apache.activemq.jaas.TextFileCertificateLoginModule

It seems I need to configure the amq bootstrap.xml with <jaas-security domain="PropertiesLogin" certificate-domain="CertLogin"/> (by default it's <jaas-security domain="activemq"/>), but I cannot configure this with ActiveMQArtemis CR

@skeeey your first configuration with both login modules in the ActiveMQ domain should work but the package of TextFileCertificateLoginModule is wrong, it should be org.apache.activemq.artemis.spi.core.security.jaas.TextFileCertificateLoginModule. Could you try with the correct TextFileCertificateLoginModule package?

@brusdev, thanks your feedback, I will have a try

@brusdev
I changed to org.apache.activemq.artemis.spi.core.security.jaas.TextFileCertificateLoginModule, I got the similar waring
2024-04-16 02:49:50,469 WARN  [org.apache.activemq.artemis.core.server] AMQ222216: Security problem while authenticating: AMQ229031: Unable to validate user from /<IP_ADDRESS>:58418. Username: null; SSL certificate subject DN: CN=ActiveMQ Artemis Client, OU=Artemis, O=ActiveMQ, L=AMQ, ST=AMQ, C=AMQ

when I pub a message with MQTT
mosquitto_pub --cafile server-ca.crt --cert client-cert.pem --key client-key.pem -h "" -p 443 -t 'test' -m 'hello' -d
Client null sending CONNECT
Client null received CONNACK (5)
Connection error: Connection Refused: not authorised.
Error: The connection was refused.
my cr is https://github.com/skeeey/acm-scaffold/blob/master/amq-broker/amq.yaml
secret is https://github.com/skeeey/acm-scaffold/blob/master/amq-broker/config/secret.sh#L10
BTW.
if I only enable the mTLS it works
mosquitto_pub --cafile server-ca.crt --cert client-cert.pem --key client-key.pem -h "" -p 443 -t 'test' -m 'hello' -d
Client null sending CONNECT
Client null received CONNACK (0)
Client null sending PUBLISH (d0, q0, r0, m1, 'test', ... (5 bytes))
Client null sending DISCONNECT

@skeeey if mTLS works that issue should be due to a mismatch between the certificate and the user properties file of the TextFileCertificateLoginModule. For further details you can ask ActiveMQ users mailing list.


Simple functions instead of mixins

I love to use PreCSS but one thing that bother me is that I can only use mixins and not functions like I used to with SASS.
For example, I'd like to use this kind of function :
$browser-context: 16; // Default

@function em($pixels, $context: $browser-context) {
  @return #{$pixels/$context}em;
}

So I can write the following CSS :
h1 {
  font-size: em(32);
}

Instead, I have to use the following mixin :
@define-mixin font-size $px {
  font-size: calc($px/16)em;
}

And write the following CSS :
h1 {
  @mixin font-size 32;
}

But if I want to convert px to em for let's say a padding-top, I'll have to define a new mixin specifically for padding-top... Pretty redondant and time consuming.
Does anyone know a PostCSS plugin or any workaround that could help me write this kind of reusable SASS function?

+1
I'm also missing function support and haven't found a plugin for it yet.

I've found a temporary solution that fulfill my needs by using the postcss-functions plugin.
I've written the following function:
var postCssFunctions = functions({
  functions: {
    em: function(pixels) {
      var browserContext = 16;
      var pixels = parseInt(pixels, 10);
      return pixels/browserContext;
    }
  }
});

That I use this way in my CSS code:
.l-help {
    box-sizing: content-box;
    padding: em(36)rem em(10)rem em(12)rem;
  }

And it outputs the following CSS code:
.l-help {
    box-sizing: content-box;
    padding: 2.25rem 0.625rem 0.75rem;
}

To make use of the following function, my Gulp task if the following:
gulp.task('css', function() {
  var processors = [precss, postCssFunctions, cssnext, assets({
    basePath: 'public/',
    loadPaths: ['assets/images/**']
  }), browserReporter, reporter, cssnano({autoprefixer: false, zindex: false})];
  return gulp.src('./source/css/style.css')
  .pipe($.sourcemaps.init())
  .pipe($.postcss(processors))
  .pipe($.sourcemaps.write('.'))
  .pipe(gulp.dest('./public/assets/stylesheets'))
  .pipe(browserSync.stream());
});

I'll let you know if I find a solution to write those functions directly in the CSS code.

Hi! Is there any progress regarding this issue? Will it be possible to define custom functions from within CSS in PreCSS ?

I am also looking for postcss plugin to resolve this exiting sass function issue.


{Profile} Clarify that an ID is required for user-assigned managed identity

Related command
az login --identity
Description
Close https://github.com/Azure/azure-cli/issues/13188
If a VM is assigned with

no system-assigned managed identity, and
only one user-assigned managed identity

az login --identity will use the user-assigned managed identity for authentication and mark it as systemAssignedIdentity.
This is considered a bad practice and should be avoided. As this behavior is baked into Azure VM's IMDS endpoint, Azure CLI as a client cannot change it, but we can clarify it in our help message.

Profile


friends and followers

Hi,
do you think the code could be easily extended to mine also the followers and friends of a (list of) user?
Thanks

The number of followers or all of a users followers?

not the number, the list of the users.

Oh yeah, the only way to do that as far as I know is to launch a browser and emulate the scroll bar w/ selenium which is very resource intensive and slow.. not really something I want to add until I figure out a more sensible approach. Sorry

https://twitter.com/*****/followers/users?include_available_features=1&include_entities=1&max_position=1591583889095442264&reset_error_state=false
If you can figure out how to calculate max_position, you can probably scrape this.

Hi,
thanks! this sounds interesting, even if I honestly do not know how to do what you suggest. But I'll look into this. If you have further suggestion, please let me know!

Added ability to scrape followers, follows, and likes in the latest update

is there a way to scrape followers quicklier?. This is because I have to scrape an account which has more than 10k followers.
Thanks in advance!

@AntonioNieto92 there isn't, AFAIK


Crash: ShadowView.CreateBitmap: java.lang.nullpointerException

Platform (please complete the following information):

OS: Android
Device: Reports on galaxy Tab & Lenovo Tab
Sdk vervion: 9 & 10
Xamarin.Forms: Latest

Describe the bug
We're getting crash reports on ShadowView.CreateBitmap. Here's the stack trace from app center
To Reproduce
Steps to reproduce the behavior:
Haven't been able to repro locally - we're seeing these crash reports in App Center
Exceptions (if applicable)
stack.txt
Unhandled Exception:
ShadowView.CreateBitmap (Sharpnado.Shades.Droid.ShadowView+ShadeInfo shadeInfo)
Java.Lang.NullPointerException: Attempt to invoke virtual method 'void android.renderscript.RenderScript.validate()' on a null object reference```

... just following up here - this is our XAML implementation:
<shades:ShadeStack>
	<shades:Shade BlurRadius="10"
	                         Opacity="0.05"
				 Offset="0,5"
				 Color="{DynamicResource DropShadowColor}" />
        <shades:Shade BlurRadius="12"
				 Opacity="0.05"
				 Offset="0,-5"
				 Color="{DynamicResource DropShadowColor}" />
</shades:ShadeStack>

I have some time, I will try to add defensive code where the exception is raised.

Last version should be more resilient


world population

Hi!
https://rapidapi.com/aldair.sr99/api/world-population/
work not correct! fix please!
200Success
Body
Headers
{2 items
"ok":true
"body":{2 items
"world_population":6415228245
"total_countries":235
}
}

can you elaborate on the problem?  any errors you're seeing when loading population?

clambin
world_population =<PHONE_NUMBER>

eh. think you want to take that up with the provider with that API:  covid19 just consumes that API.
FYI: covid19 doesn't call the /worldpopulation endpoint, which indeed seems to be underreporting the total population.


Clarify instructions in readme

Just a few documentation comments as I work through installing and trying to use this:
Homebrew on Mac OS X
In the readme's Homebrew on Mac OS X instructions, it would help for "After installation, you'll still need to add eval "$(pyenv init -)" to your profile (as stated in the caveats)." to be more specific about where "the caveats" are. Reading this as a newcomer, I felt a little confused at that point, since I hadn't seen a section titled "caveats".
Does this really mean "now go to Basic GitHub Checkout and follow those instructions starting at step 3"? If you install pyenv via Homebrew, what is the "$PYENV_ROOT" that you should use for step 5?
Basic GitHub Checkout
The readme could also explain in step 5 where and how to "download and unpack the source" if that's a necessary step (when I tried this, I typed pyenv install 3.4.3, and it seemed to download and install that version without requiring a separate download/unpack step in preparation).
At the end of this installation section, it would be nice to point to a section that provides the most likely next steps for the reader.
Choosing the Python Version
The Choosing the Python Version section links to #pyenv-shell, #pyenv-local, and #pyenv-global, but those links don't go anywhere right now. It looks like they should link to sections of https://github.com/yyuu/pyenv/blob/master/COMMANDS.md instead.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28203166-clarify-homebrew-instructions-in-readme?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

This is the caveats of brew's pyenv formula. I'm happy if you gave me back some PR to improve the documentation.
https://github.com/Homebrew/homebrew/blob/34776235339f59a01e996b29de6de76dd64de2eb/Library/Formula/pyenv.rb#L34-L41

Thanks, I must have missed that caveats section if it displayed during the Homebrew-based installation!
  if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi

To use Homebrew's directories rather than ~/.pyenv add to your profile:
  export PYENV_ROOT=/usr/local/var/pyenv```

Looking at this, it would be great to improve this to the level of detail that the "Basic GitHub Checkout" section has. A newcomer might not know what "your profile" means, so the copy-and-pastable `echo 'eval "$(pyenv init -)"' >> ~/.bash_profile` style commands are really helpful. You may also want to include a link to https://github.com/yyuu/pyenv to explain "shims and autocompletion". :)

In order to submit a pull request improving all these things, I would need to understand this project a little better. I have a couple questions to help me suggest the correct information:

1. If a person does the Homebrew install process, what are the next steps for them after following the caveats?

2. Am I correct that a separate  "download and unpack the source" step is not necessary?

If a brew user setup pyenv in one's "shell profile" as mentioned in the caveats, s?he will need to restart his/her shell session to make it applied.
Good catch. You're correct. The sentence of "download and unpack the source" is just unnecessary. That's what pyenv will do automatically....

Solved by #485


Add custom layer visibility config to render

Description
This PR to fix the custom layer visibility config to render, meanwhile combine all the configurations together to call by addLayer instead of call all the APIs separately.
Issues Resolved
Closes https://github.com/opensearch-project/dashboards-maps/issues/296
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #297 (3b8396c) into main (f88aa15) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #297   +/-   ##
=======================================
  Coverage   91.42%   91.42%
=======================================
  Files          11       11
  Lines         280      280
  Branches       37       37
=======================================
  Hits          256      256
  Misses         17       17
  Partials        7        7

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


feat: implement schemas reflection method

These changes are making two more reflection tests to pass. The first one was passing, but its cleanup was failing, making other tests to fail.


Problem with ping interval

I have faced this issue while fixing https://issues.jboss.org/browse/CHE-180
Try the following example - https://gist.github.com/snjeza/5a7e5138148d4d90e8e844bafb0913b8. It is based on https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java)
The example uses a ping interval of 1000 ms and slows down the onMessage method. It will print:
java.io.IOException: closed
	at okhttp3.internal.ws.WebSocketWriter.writeControlFrameSynchronized(WebSocketWriter.java:123)
	at okhttp3.internal.ws.WebSocketWriter.writePing(WebSocketWriter.java:79)
	at okhttp3.internal.ws.RealWebSocket.writePingFrame(RealWebSocket.java:525)
	at okhttp3.internal.ws.RealWebSocket$PingRunnable.run(RealWebSocket.java:513)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
MESSAGE: Hello...

The Kubernetse client (https://github.com/fabric8io/kubernetes-client) uses a ping interval of 1000 ms by default and often throws the "Pipe broken" exception when JVM is loaded.

What behavior would you prefer?

I have created a PR.

No action to take on this.


Reverted set union in the Merge Collection reducer function

In # 0.2.25, results were changed from using Immutable.List to using Immutable.Set.
Part of this change was merging the Payload with the existing state using Immutable.Set.union However, I don't think this has the desired effect.
When querying the API and returning the results, you'd expect the order of the API to be maintained throughout the process.
However, if there are entities in the state results that also match the incoming payload, the outcome of the union will be inconsistent with the API.
This causes the state to be populated with a different state to what is returned from the API and in my opinion an incorrect one.

Again its about selecting what you want out of the store - not using the store as a place to simply fetch data from the api.


On death you cannot return to the instance to get your body

When you die or teleport out of the dungeon you are removed from queue, if you are dead and enter the instance you are still dead and cannot retrieve your body.

can confirm it

+1

+1

I confirm this god does not give the opportunity to play the game even after leaving the game

Is this able to get fixed? Obviously it still works if you don't die, but sometimes things happen and it's frustrating to lose your whole dungeon progress.
I remember running a repack a while ago called "BrooksTech AzerothCore Solo Repack", that used this module and found a workaround to fix the issue. I believe the fix was it put you in to a party solo, as I remember getting need/greed rolls. Just a shame it was never posted here.

Is this able to get fixed? Obviously it still works if you don't die, but sometimes things happen and it's frustrating to lose your whole dungeon progress.
I remember running a repack a while ago called "BrooksTech AzerothCore Solo Repack", that used this module and found a workaround to fix the issue. I believe the fix was it put you in to a party solo, as I remember getting need/greed rolls. Just a shame it was never posted here.

It wasn't posted here because the module I sued for the repack was written from scratch and predates this one. My work around wasn't elegant. In the repack, I had another module that did a few things to help the solo experience. If the player died, I would check to see if they were solo and, in a dungeon / raid, and if those conditions were true, I would auto res the player (keeping them in the dungeon) and slap a divine intervention on them.

Is this problem still ongoing? I am asking, to know if the issue should be closed or not. As far as I can see, it is almost 1 year old, and my intention is to try to leave the recent issues. Not to mention, the module has been updated a few times, but I don't know if it includes this functionality or not. In any case, we could close this issue, create a new one and provide as much information as possible, so that some developer can see the problem and try to solve it.

Just checked it out and it has been resolved.


Make JBolo compatible with SO V3r7 instrument model

Adds fixes and enhancements that are needed to evaluate the SO V3R7 instrument model. After implementing these changes, JBolo is able to reproduce BoloCalc outputs to within 1%:

Merged and closed.


TESv1.1 Support

What's Changed
Large PR that includes:

Support for TESv1.1
Compliance tests with tes-compliance-tests (updates Funnel compliance page)
Linting and tests for TESv1.1

Builds off of and supersedes #699, and re-enables the MongoDB and Badger tests
Tracking TES v1.1 compliance:

Compliance status — https://ohsu-comp-bio.github.io/funnel-compliance/
Compliance repo — https://github.com/ohsu-comp-bio/funnel-compliance

funnel-compliance actions
Funnel Actions

Compliance issues — https://github.com/ohsu-comp-bio/funnel/issues/679

References

TES v1.1 Release Page
ELIXR Cloud & AAI tes-compliance-suite

Reverted the many error checks that were triggering the errcheck linting error. @adamstruck you made great points and those deserve their own separate PR/issues for discussion. This better focuses the PR on the TESv1.1 compliance, will take a look at your PR's and look at integrating our work with the tes-compliance-suite (and defer to your branches if any merge conflicts arise):

https://github.com/ohsu-comp-bio/funnel/pull/718
https://github.com/ohsu-comp-bio/funnel/pull/587
https://github.com/ohsu-comp-bio/funnel/pull/586

@kellrott I'll ping here when those integrations are done and ready for review!

Cleaning things up and closing this PR in favor of the 0.11.0 release PR #749, all commits and changes here have now been included in the release/0.11.0 branch.


Add a property "matchingcount": to get the total number of the matching text

Hi, I add  machingcount property to get the total number of the matching text.

This feature is available through the numberOfMatches property as of ICTextView 2.0.0.


feat: pref build components library production

Using volar's vue-tsc can avoid a lot of trouble caused by the vue component build. There were some bugs in the previous vite-plugin-dts build, for example, it could not properly generate the props for the component, for example, it set the type to any whenever a problem was encountered. I think the current scheme has been a relatively perfect package component library scheme.

https://github.com/qmhc/vite-plugin-dts/issues/129

By the way,I hope you can try it locally, I hope you like it. One more thing, we should be careful about updating the dependent version to the latest one, as this may result in API incompatibilities between some frameworks or plug-ins, resulting in some errors.

production:


refactor(tx-details): revamp + dark theme

Description / Change(s) / Related issue(s)
Title says
Ticket
YOMO-1662

[!NOTE]
Please create the ticket if missing it.

base is the tx history PR


Global Monitor requirements on Global Discovery Catalogue

What metrics will the Global Monitor collect/report on w.r.t. the GDC?  At the moment we can provide KPI reporting based on pywcmp, which provides a (JSON) report of how a WCMP2 record scores against the KPI matrix.  As well, the result of #10 may also provide valuable GDC metrics.
cc @elgarraichemseddine @kaiwirt @golfvert

@tomkralidis You can add your proposed metrics here
https://github.com/wmo-im/wis2-metric-hierarchy/tree/main/metric-hierarchy
I think the KPI's would be valuable as well as the number of metadata and maybe the update frequency.

TT-WISMD 2023-09-13:

GDC reports (monthly)

metadata

pass/fail by centre
KPI results by centre

overall number by centre
score/grade per document per centre
documents per centre/country
documents per Earth system discipline

API

most popular search terms
number of core / recommended datasets
number of requests

cc @antje-s

Added a first proposal
https://github.com/wmo-im/wis2-metric-hierarchy/blob/main/metric-hierarchy/gdc.csv
Currently used:

percentage instead of grade/score (easy to understand and compare)
no total number, since this corresponds to the sum of core + recommended or passed + failed
Not yet included:
KPI - documents per Earth system discipline
Perhaps more relevant total number of metadata records per Earth system discipline instead of KPI value?

Some general information about openmetrics can be found at https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md
Our GC metrics are one regular example, which can be accessed at https://opendata.dwd.de/test/wis2/cache/metrics/globalcache/gc_metrics.txt

Example:
HELP wmo_wis2_gc_downloaded Amount of downloaded files
TYPE wmo_wis2_gc_downloaded gauge
wmo_wis2_gc_downloaded{centre_id="all",country="all",report_by="dwd"} 546701.0
wmo_wis2_gc_downloaded{centre_id="gts_to_wis2_dwd",country="xxg",report_by="dwd"} 0.0
wmo_wis2_gc_downloaded{centre_id="dwd",country="deu",report_by="dwd"} 357.0
wmo_wis2_gc_downloaded{centre_id="swic",country="xxg",report_by="dwd"} 38377.0
...
Short description of the structure:
HELP my_description
TYPE metric_type
my_metric_name{my_label1=label1_value,my_label2=label2_value} metric_value
(Comment: Our values provided online also contain the timestamp of the metric value at the end of the line)

@antje-s thanks; can you add a minimal example based on the proposed GDC metrics?

e.g.
HELP wmo_wis2_gdc_passed_total Number of metadata records passed validation
TYPE wmo_wis2_gdc_passed_total gauge
wmo_wis2_gdc_passed_total{centre_id="dwd",report_by="ca-eccc-msc"} 4
wmo_wis2_gdc_passed_total{centre_id="eumetsat",report_by="ca-eccc-msc"} 5
...
HELP wmo_wis2_gdc_failed_total Number of metadata records failed validation
TYPE wmo_wis2_gdc_failed_total gauge
wmo_wis2_gdc_failed_total{centre_id="dwd",report_by="ca-eccc-msc"} 2
wmo_wis2_gdc_failed_total{centre_id="eumetsat",report_by="ca-eccc-msc"} 2
...
(one label for each center)


Second attempt at storing state as bytes not strings (seems to work).

Pull Request Test Coverage Report for Build 2684

67 of 67 (100.0%)  changed or added relevant lines in 11 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.009%) to 96.433%

Totals

Change from base Build 2682:
-0.009%

Covered Lines:
4839

Relevant Lines:
5018

💛  - Coveralls


Feature/create login component#1

Title
Create Login component
Summary
When not connected via MetaMask, users should see a simple login page with a button to connect MetaMask. This should be added as a new React component in frontend package. Existing logic for MetaMask connect is live, can be used as is. Simply needs to be styled correctly. Attached Egg asset and screenshot of view.
Implementation
Changed font and fixed some styles for login component and wallet modal
Files
packages/newFront/public/index.html
packages/newFront/src/App.tsx
packages/newFront/src/views/Login.tsx
Visual Preview

Please do not merge into "Develop"


Use case examples

hello @jsrdrgz , could you please tell what is the status of this task?

@jsrdrgz please ping once ready for review


JSONp Support

Hey! Thanks for the lib, handy little thing.
Have you considered adding JSONp support? I realize that adding it is kinda outside the bounds of this project, since it's not technically part of XHR, but thought I would ask since for most users direct integration with with their callbacks would be ideal.
Happy to submit a pull request too, if you'd consider reviewing.
Cheers!
P.S. Any thoughts on an ES6 rewrite of source + compiled export for backwards compat?

Yeah after thinking about this I learn towards no JSONp support. Easy enough to use a third-party standalone JSONp lib and not muddy up yours ✌🏼

@estrattonbailey Sorry I never saw this til now...
As for JSONP, it is supported in this lib, but not without a tiny bit of work.
ajax('somewhere?callback=foo', function (code, body) {
  var bodyJson = body.replace(/^foo\(/,'').replace(/\)$/,'')
     , bodyObj = JSON.parse(bodyJson)
  ...
})

This kind of flow is exactly how I feel about nanoajax. It works at <1K, but you pay a price for that in your code (but not too much, or you'd be better off using jquery).
As for ES6, I'd like to keep compilation out of the lib as long as possible. I don't want to force people to use a certain toolchain in order to use nanoajax. With that said, if it lowers the byte count by a significant amount (say 10%), I'd be up for it.


Purchase AWS reserved instance for database

Coordinate with @rcheetham

shared RI purchased for staging db

This is now covered by RI purchases in the root account - another group of purchases might be needed, but it won't be do in the DB account.


Middleware generate

Add a middleware generate support to api:generate

Thank you for the PR. Can we do the same for Dingo?
Also, please update the tests: https://travis-ci.org/mpociot/laravel-apidoc-generator/jobs/156210802#L485-L486

added text change in testConsoleCommandNeedsAPrefixOrRoute test case

Hi,
I have not Dingo, I will have to setup and test, this is just a quick fix
for me and since my api routes has no prefix as well list of routes
becoming long, I found a quick fix for Laravel, need to test Dingo
possibilities
Regards,
Priyabrata Sarkar
Web Development & Solutions Consultant.
Proprietor, Sologic Solutions
Company : [http://www.sologicsolutions.com]
Portfolio:  [http://www.yespbs.com]
LinkedIn: [http://in.linkedin.com/in/yespbs
http://in.linkedin.com/in/yespbs]
priyabrata.sarkar  [Skype]
<EMAIL_ADDRESS>[GTalk & AIM]
<EMAIL_ADDRESS>On Tue, Aug 30, 2016 at 6:29 PM, Marcel Pociot<EMAIL_ADDRESS>wrote:

Thank you for the PR. Can we do the same for Dingo?
Also, please update the tests: https://travis-ci.org/mpociot/
laravel-apidoc-generator/jobs/156210802#L485-L486
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpociot/laravel-apidoc-generator/pull/92#issuecomment-243430188,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdMVUD1drHow7n2F_0c9eltgy-kRXwtks5qlCk0gaJpZM4JwfDt
.

Current coverage is 87.38% (diff: 100%)

Merging #92 into master will increase coverage by 0.18%

@@             master        #92   diff @@
==========================================
  Files             7          7
  Lines           555        555
  Methods          42         42
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            484        485     +1
+ Misses           71         70     -1
  Partials          0          0

Powered by Codecov. Last update 8a45951...ab22210

I just took a look at the Dingo Route class, it also has a middleware method which returns an array:
https://github.com/dingo/api/blob/master/src/Routing/Route.php#L328
So you can implement it the same way as the Laravel process method.

Awesome! Thank you!

yes did it, thanks
Regards,
Priyabrata Sarkar
Web Development & Solutions Consultant.
Proprietor, Sologic Solutions
Company : [http://www.sologicsolutions.com]
Portfolio:  [http://www.yespbs.com]
LinkedIn: [http://in.linkedin.com/in/yespbs
http://in.linkedin.com/in/yespbs]
priyabrata.sarkar  [Skype]
<EMAIL_ADDRESS>[GTalk & AIM]
<EMAIL_ADDRESS>On Tue, Aug 30, 2016 at 6:43 PM, Marcel Pociot<EMAIL_ADDRESS>wrote:

Merged #92 https://github.com/mpociot/laravel-apidoc-generator/pull/92.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpociot/laravel-apidoc-generator/pull/92#event-772117644,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdMVRoFE8yf0L6vszoQ1MGFMbg850zSks5qlCxhgaJpZM4JwfDt
.

Welcome
Regards,
Priyabrata Sarkar
Web Development & Solutions Consultant.
Proprietor, Sologic Solutions
Company : [http://www.sologicsolutions.com]
Portfolio:  [http://www.yespbs.com]
LinkedIn: [http://in.linkedin.com/in/yespbs
http://in.linkedin.com/in/yespbs]
priyabrata.sarkar  [Skype]
<EMAIL_ADDRESS>[GTalk & AIM]
<EMAIL_ADDRESS>On Tue, Aug 30, 2016 at 6:42 PM, Marcel Pociot<EMAIL_ADDRESS>wrote:

Awesome! Thank you!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpociot/laravel-apidoc-generator/pull/92#issuecomment-243433860,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdMVTgNnBwDo1PVv1pI5Is6YlmNdgB8ks5qlCxagaJpZM4JwfDt
.


Some questions

Hello! I really enjoyed the object snap you shared on GitHub, and it provided me with many valuable insights. Here, I have some questions about the experimental data in the project.
When I looked at your code and documentation, I found no lab data attached to the project. Missing data can make it difficult to understand how the model works and evaluate its performance. Therefore, I am interested in the composition of your experimental data set and some of the sample data.
If it is convenient for you, could you share some details about the experimental data? For example, the structure of the dataset. Or, can you provide some sample of dataset so that I can better understand the structure and contents of the dataset? Thank you！

As the README mentions, we do not release the dataset nor the trained models. Here are some details about the data format, though I expect this to be of little use.
The data is loaded in the TFRecord format in snap/snap/data/loader.py. We used the code path associated with DataMode.PAIR_SCENE_VIEW, in which each example is a pair of mapping data and associated query, with their ground-truth relative pose T_query2map:
https://github.com/google-research/snap/blob/e6ce8b87dbc57e6e68d2b9f8ce750fb92a6dad50/snap/data/loader.py#L125-L133
map and query are dictionaries with poses, images, camera intrinsics:
https://github.com/google-research/snap/blob/e6ce8b87dbc57e6e68d2b9f8ce750fb92a6dad50/snap/data/loader.py#L88-L95
The map entry also optionally includes an aerial tile:
https://github.com/google-research/snap/blob/e6ce8b87dbc57e6e68d2b9f8ce750fb92a6dad50/snap/data/loader.py#L105-L109
There are a bunch of other fields related to Lidar measurements (unused in this paper), metadata (IDs, global coordinates). Poses and intrinsics are finally converted to custom data structures:
https://github.com/google-research/snap/blob/e6ce8b87dbc57e6e68d2b9f8ce750fb92a6dad50/snap/data/loader.py#L140-L144

I also can't run it .error :    No dataset with version 1.5.0 in path/to/data/lemming_streetview/barcelona-n14_streetside_sceneviewpair_20views_trekkerquery. @140ai

The dataset is not available, as explained in the paper. We made the code available so people can run it on their own datasets, but it will require some adaptations.


How to set Zuul url case insensitive

I need to make both of Home/Index and home/index are working correctly?
Is that possible or not ?

It's entirely dependent on how you implement your routing.