[Serialization] transferException URI option does not work in native mode

transferException uses object serialization / deserialization which is currently not supported by GraalVM.
We should add some documentation to the affected extensions:

activemq
ahc
ahc-ws
ahc-wss
amqp
http
https
jms
netty-http
rabbitmq
servlet
vertx-http

Could you please explain where that serialization happens? If it in Camel, we could perhaps implement a workaround?

Yes, it's in the various Camel components. E.g like here:
https://github.com/apache/camel/blob/master/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java#L205-L210
And here:
https://github.com/apache/camel/blob/master/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java#L383
I forget there's also the allowJavaSerializedObject which has the same issue. But it's not enabled by default since it can be a security risk.

I spent some time trying to enable serialization support for transferException. There might be a GraalVM bug that is stopping deserialization of exceptions from working.
I've configured the relevant classes for serialization but deserializing an exception always results in:
Exception in thread "main" java.lang.ClassNotFoundException: [Ljava.lang.StackTraceElement;
	at com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:71)
	at java.lang.Class.forName(DynamicHub.java:1319)
	at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:756)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1995)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1862)
	at java.io.ObjectInputStream.readArray(ObjectInputStream.java:2057)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464)
	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:629)
	at java.lang.Throwable.readObject(Throwable.java:896)
	at java.lang.reflect.Method.invoke(Method.java:566)
	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1175)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2325)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:493)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)

I tried with a basic test app without Camel or Quarkus and got the same result.

[Ljava.lang.StackTraceElement is array of java.lang.StackTraceElement - maybe array types need some special registration or they are not supported yet?

I got a bit further by registering some additional classes for reflection. But now stuck at:
java.io.InvalidClassException: java.util.Collections$EmptyList; no valid constructor
	at java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException(ObjectStreamClass.java:159)
	at java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:875)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2170)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464)
	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:629)
	at java.lang.Throwable.readObject(Throwable.java:896)

I'll dig into it some more...


Feature - 1066 Service Actions

This PR aggregates all already merged PRs related to the Service Actions.
That means every commit was already reviewed, so this PR shouldn't receive that much comments.
So finally this enables the user to 'open the edit dialog', Scale, Suspend and Delete a service.
Last step now is to write and adjust the integration tests.

[x] Everthing's implemented
[ ] Integration tests

Reviewer: @MatApple

One question: do we surface errors to the users via a dialog? (for example when an action is 401 unauthorized, etc.)

@pierlo-upitup Yes, we do. Every server error response in shown in the according dialog.

LGTM 💯 ✨

BTW: Are you planning to add a method (in future PRs) to force operation like suspending a service?

@orlandohohmeier No, I don't plan this. Maybe somebody other?


Continue survey of online resources

Description of changes:

define OER and provide citations
continue search for resource directories

@knarrff @hvwaldow This is a follow-up to #39 and #86, starting from the newly split manuscript survey.md.

We  now have #111

An awesome amount of new resources! pinging @geyslein .


Execution time out 120 seconds

I'm using the builder method to generate QR codes.  Now my count of QR codes is around 1000s.
Normally I'm running it on my localhost & getting a timeout error.
So could you please tell me for printing more than 1000 QR codes what should we use?  so that I can't get the timeout error.
(Yes I can increase time limit, but without this how I can do that)

Hi @sayandeepmajumdar if generation takes more than 120s on your side and you need a solution without changing the time limit I think you have to split up your work in workloads. A clean solution would be creating a message queue with workloads and let one or multiple consumers (PHP processes) handle these until all are processed.


Spaces between assignments

I propose mandatory spaces before and after assignment:
set a = 1
for i = 1:1:10 {

Instead of current:
for i=1:1:10

This may be recommended as optional (as part of general recommendation to insert spaces around binary operators) but not mandatory. As you might reognized I didn't use it at the for example. That was oversight (because I do prefer to wrap it in spaces in most of the cases), but here it seemed quite legit


Few Questions

How do we populate a graph DB with the processed training data or the test predictions. Do you have a script for that
Is it possible to infer the model over raw text, or is it necessary to convert it into the training format, any code snippet to inference will be nice as well

Thanks again for this great project and making the code public

I believe that is not what I asked 😅

Okay, let me try to answer your question again. We are currently just extracting n-ary relational facts. If you want to save to graph DB, you need to design the schema of NKG. You can refer to Wikidata. For the second question, our model focuses the relation extraction done after NER. For raw data, you can use NER first, to get the entities and process them into our training format for training and testing.


Deployment Configuration Construct for CodeDeploy L2

Part of the work on a AWS Construct Library for CodeDeploy.

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

Awaiting changes

Awaiting changes

Updated.

The fact that 0 is falsy in JavaScript bit me again ;p

Updated with the feedback from Elad.

Rebased.


Rabbitmq issues

Hopefully a fix for the undefined method next_channel_id' for nil:NilClass` error and fixes configuration for e2e tests

Will be nice to get rid of that error! 😄


Protein search in the protein details table

A search option is needed in the protein details section of the dataset where users can search by protein accession, and name or gene name.
We need to first implement the backend option because the search should happen in the backend and not the frontend. @sureshhewabi

Project level search - search by project accession, title, description, protein accession
Protein level - search by protein accession, protein name


Can I do traceroute like functionality without admin privileges?

I need to do something like traceroute/tracepath/tracert, but I have no admin privileges and I do not have traceroute/tracepath/tracert installed. All I have is Java, Python, cygwin, and Windows 7, and I can put things in my home directory but I cannot do full installations. Do you have or know of a way to do traceroute/tracepath/tracert given these limitations?

Full Question: https://serverfault.com/questions/944292/how-do-i-do-traceroute-tracepath-without-any-admin-privileges


Added possibility of custom plausible domain

Added an option to use custom plausible domain in grav admin
Modified php file to reflect changes in config
Lang file need to be reworked, did "en" but not the other langs

@iainsgillis I like the simplicity of the toggle to easily enable/disable the Custom Domain feature.
I also agree with your thoughts about using https://plausible.io/ as the default value for a custom variable. Is it worth defining logic that uses https://plausible.io/ as the default, ignoring the Custom Domain field if it is left blank/empty?

Hi, Folks --
Apologies for the delay: bit of a busy stretch personally and professionally.
Appreciate the initial pull request, @mascali33, and your weigh-in @rootarch. I'm going to proceed with this beginning this evening and hope to release it by the weekend.
Cheers,
Iain


Fix example in materialui readme

In example there is a lot of references to ResetPasswordPage, although it is not used or valid. It should be replaced with ForgotPasswordPage.

Thanks!


Add clear ("x") button for resetting input fields

It would be cool if Ionic had a "clear" / "x" button that could appear inside inputs. I suppose it could be implemented as an AngularJS directive.
Kind of like how jQuery Mobile has a data-clear-btn="true" attribute that can be applied to input elements:
http://demos.jquerymobile.com/1.4.0/textinput/#Text
Any plans for this?

This is a directive that you can use to wrap an input that adds the click to clear icon, plus clear on ESC key. It's for bootstrap, but you can easily adapt for ionicons.

or

https://jsfiddle.net/raythree/ash6rqd2/13/
Cheers,
Bill

Look at this
http://plnkr.co/edit/Dje0l1?p=preview

Here's a good discussion that relates to this: http://forum.ionicframework.com/t/cannot-tap-click-a-clear-search-icon-inside-an-input-label/4237/8
Use the same technique: Either rename the enclosing  to be a , or use the "on-touch" directive instead of "ng-click".

+1
Any updates on this?

We wont be adding this to Ionic core, but it'd be a welcome addition to market.ionic.io

Thanks, @perrygovier.

@perrygovier. Why isn't the X button going to be added to ionic? I'm a noob to this cordava/ionic world and I wasted multiple days and continue to waste more time on trying to get my text field to have an x button that works when you start typing. Makes me want to switch back to native development.

@salqadri Hi Salqadri, have a look at my directive, based on @udfalkso's work:
https://github.com/VinceOPS/ionic-clearable-input

@salqadri - This works for me. X button appears based on angular's ng-if directive. Input get's focus after tapping the X button thanks to ionic's on-touch directive. It also works if you use a div instead of a label tag.

   <input type="search"
          placeholder="Search"
          ng-model="search.string">

@cosnofski awesome thank you!

@cosnofski thank you

@cosnofski Thanks! Made it into a directive. Can be used like,
<search-bar ng-model="search"></search-bar>
controller would contain,
let search = {text:""};
directive:
angular.module('foo')
.directive('searchBar', [
	() => {
	return {
		scope: {
			ngModel: '='
		},
		require: ['?ngModel'],
		restrict: 'E',
		replace: true,
		template: `

							<input type="search"
							       placeholder="Search"
							       ng-model="ngModel.text">

					`,

		link: (scope, element, attrs)=>{

		}
	};
}])

I wrote a directive for ionic input field. Free feel to give any suggestion.
https://github.com/sonicwong/ionic-input-clearable


Update OpenCV API Calls to Latest API

The camera calibration code is outdated and uses an older version of OpenCV if time arises or if an open source contributor has the capacity to it would be great to upgrade the API calls to the latest API.

In general the updated API vastly simplifies the code so this update is worth making.

cv2.calibrateHandEye，use method 1 cv2.CALIB_HAND_EYE_TSAI performs well. method 4 result has mistake.

Thanks for the above information @luffycheung. I am out sick at the moment with a virus but once I am back at work I will look to schedule updates to this issue.

What robot platform are you using @luffycheung, would be happy to collaborate on software dev if we are using similar platforms.


feat: Added a timeout option instead of signal in HttpClientConfig

In most use cases, the AbortController should be new for each fetch request and should not be stored as a HttpClientConfig.
ref: https://github.com/upstash/upstash-redis/issues/778#issuecomment-1861059008

Hey, we can't simply remove a feature from the SDK; we always have to consider backward compatibility. Also, since that feature isn't really requested and I don't see the benefits compared to a manual abort, I prefer not to move forward with this.

@ogzhanolguncu
Thanks for taking a look at the PR 🙏

Hey, we can't simply remove a feature from the SDK; we always have to consider backward compatibility.

I'm sorry, exactly...😓 but it didn't seem like a good use case for the client to have singal, and it actually confused me.
We had upstash/redis connectivity issues the other day and the application crashed. (We use upstash through vercel/kv)
I noticed that I could usesignal option, but found that it could only be set at the time I initialized the client, not per fetch requested.
Is there any good solution?

Initially, we wanted to introduce command-level abort, but it seemed like a lot of work. We opted for client-level abort because client instantiation is cheap. However, if we were to add anything, it should definitely be command-level abort to have total control over operations.

thx reply :)
ok, I'll try to implements the "command-level abort" interface💪

@ogzhanolguncu
I gave up, sorry... I found it quite difficult to add options to the position argument-based interface.
This is because arguments cannot be added after variable-length arguments.
I think the fundamental solution would be to change the argument to an object, like a named argument.
However, this would require a major update due to the breaking changes.
As a provisional solution, how about keeping signal for backward compatibility, but adding additional clientOptions such as timeout and signalFactory?


Use the remoting V2 stack - do I?

I have not made any modifications to my services as described on this page (my endpoints are not ServiceEndpointV2 etc.), but when I look at SF explorer I see that all my endpoints are V 2 1 Listener. How is this possible, is the documentation here provided simply outdated?

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

ID: 8902374b-b631-9d50-16ef-1899ea2dd29d
Version Independent ID: 55351e69-aa2a-901c-a563-106b62e3d6ac
Content: Service remoting by using C# in Service Fabric - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-reliable-services-communication-remoting.md
Service: service-fabric
GitHub Login: @erikadoyle
Microsoft Alias: edoyle

@mcurko We are checking this and will get back to you.

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. Though the scope of our feedback channel here on GitHub covers specific documentation fixes, we can help redirect you to the right support channel to get an answer to your question: [reference to alternative product/service or community endpoint]. Because this issue does not relate to documentation, we are closing this issue. #please-close


Client compile error on Ubuntu1204

I got the following error message when trying to compile the client:
drivers/driver_exec.c: In function ‘driver_exec_close’:
drivers/driver_exec.c:207:3: error: implicit declaration of function ‘kill’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make: *** [drivers/driver_exec.o] Error 1

Hey, that should be easy to fix! I'm out of town with no laptop right now,
but I'll take of it early next week.
Thanks for the report!
On 6 Aug 2015 7:41 pm, "Yuping Li"<EMAIL_ADDRESS>wrote:

I got the following error message when trying to compile the client:
drivers/driver_exec.c: In function ‘driver_exec_close’:
drivers/driver_exec.c:207:3: error: implicit declaration of function ‘kill’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make: *** [drivers/driver_exec.o] Error 1
—
Reply to this email directly or view it on GitHub
https://github.com/iagox86/dnscat2/issues/61.

i'm getting the same compile error, any news on this one ? :)

Sorry, I just got back! :)
So, this is weird. It compiles on my Ubuntu machine, and I'm including the right headers. The only thing that might be causing it is a macro definition.. can you try this patch to see if it works?
diff --git a/client/Makefile b/client/Makefile
index 6a80616..9ba9d38 100644
--- a/client/Makefile
+++ b/client/Makefile
@@ -9,7 +9,7 @@
 CC?=gcc
 DEBUG_CFLAGS?=-g -DTESTMEMORY -Werror -O0
 RELEASE_CFLAGS?=-Os
-CFLAGS?=--std=c89 -I. -Wall -D_DEFAULT_SOURCE -fstack-protector-all -Wformat -Wformat-security
+CFLAGS?=--std=c89 -I. -Wall -D_DEFAULT_SOURCE -fstack-protector-all -Wformat -Wformat-security -D_POSIX_SOURCE
 LIBS=-pie -Wl,-z,relro,-z,now

 # Can't use a '#' in the shell command

The above patch fixes the build on my 12.04 machine!

Thanks Alex!

 :)


Non-generic overload of the On method?

Any way to call the non-generic On method like the example in the docs?
Example from docs:
connection.On("Receive", this.Handle);
If not, any reason why the non-generic is not implemented? I'm trying to accomplish this:
private void Configure() {             HubConnection.On("notify", this.OnConnectedToAPI);         }         public void OnConnectedToAPI()         {             Console.WriteLine("============================");         }
Thanks in advance!

Hey @MichelArendt, thanks for the feedback.
I'll look into implementing it and see if there is an specific reason we didn't added it before.
Like always, you can make a PR if you few in the mood :)
Thanks!

Thanks for the reply @galvesribeiro!
I'd really love to help, but unfortunately I'm not knowledgeable enough atm I'm afraid :(
Thanks for taking this suggestion into consideration! I'll try to implement a workaround or overload on my project for now.


How do we send request and receive response with this?

Do i need additional package to be able to make an http request
anyone can help me?
Im using laravel , with this, php-protobuf, i already manage to compile proto file to php files
but Im puzzle what to use when sending request
Hope someone can clarify this to me thanks

From the readme: Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. It might be used in file formats and RPC protocols.
Unless you somehow plan on implementing the http protocol with protobuf this extension probably isn't what you're looking for if you're only writing a laravel web app.


All quantities from decimal to integer?

After using some cart systems I've noticed all prices are in cents and price fields are integers, wouldn't it be a good idea for this bundle to follow this approach?
The reason some cart systems store prices in cents is explained here: http://verraes.net/2011/04/fowler-money-pattern-in-php/

Closing in favour of #141

This will be fixed in a future major release. For the moment, the documentation now includes a guide on how to override entity mapping.


Final presentation

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%.  Consider uploading reports for the commit 71cdafd to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #21   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          6       6
  Lines        307     307
  Branches     307     307
=====================================
  Misses       307     307

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Script]: Concrete Compressive Strength ML Model

Aim
Concrete Compressive Strength Prediction using deep learning (keras). The concrete compressive strength is a highly nonlinear function of age and ingredients. Predicts the actual concrete compressive strength (MPa) for a given mixture under specific age (days) was determined from laboratory.
Details
dataset:
https://drive.google.com/file/d/1E8dS8q0HQd7Tp47AdfShPadwBk2DvYhV/view?usp=sharing
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign


Text not rendering unless outlined

We are using the latest Lottie (2.1.0) and the latest version 1.2.0 for React native (which apparently supports text). We exported from After Effects with google fonts enabled in bodymovin. The animation along with the text shows up when we test it online using bodymovin.js (example here: https://codepen.io/torrens/project/editor/DVvqmo/ ), but doesn't show up when we build it into the app.
A note from one of our devs
"I'm using lottie-react-native v1.2.0 in an Expo application. @fentonbutcher has created a JSON file using After Effects 2017 and the BodyMovin plugin. Unfortunately, the text isn't showing in our react-native application, although it is showing correctly using bodymovin.js in a browser."
Any help would be greatly appreciated.

@fentonbutcher Can you file an issue on lottie-android or lottie-ios for rendering issues?


Workspace Enhancements

Added support to show cumulative errors for workspace commands
Added optional arg to specify destination for workspace download command
Moved config key to common file
Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

x ] I have signed the Adobe Open Source CLA.
[ x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x ] I have read the CONTRIBUTING document.
[x ] I have added tests to cover my changes.
[ x] All new and existing tests passed.

I think you're going to need to revert 'Use common constants file for workspace commands' as it is covered by #132


added intkey cli example for Rust

@cbailey555 thanks for the new example. could you please rebase this PR and collapse out the unnecessary commits (if any) and add sign-offs to any commits that are missing them? The linux foundation DCO bot won't let us merge if any commit is missing a signoff and all signoffs must correspond to the same email address that the user is using with github.com.

@cbailey555 if we can offer any assistance on how to handle the DCO/rebase please do reach out on https://chat.hyperledger.org/channel/sawtooth-pr-review and we can probably walk through it live.


[Task]

Description
相关设置的地方：收敛策略、静默策略、通知策略
需求描述：比如我想给某几个标签设置策略，则设置白名单。我想排除几个标签设置策略，则设置白名单。
现状：只能设置白名单，如果有 100 个标签，想排除其中一个，就得勾选 99 个标签，很麻烦。
Task List
No response

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Description
Related settings: convergence strategy, silent strategy, notification strategy
Requirement description: For example, if I want to set policies for certain tags, set a whitelist. I want to exclude several tags from the setting policy, then set up a whitelist.
Current situation: Only a whitelist can be set. If there are 100 tags and you want to exclude one of them, you have to check 99 tags, which is very troublesome.
Task List
No response

The combination of tag whitelists and blacklists will complicate understanding of tag usage. The scenario you describe is low frequency.


Feat/670192 security groups

Implemented the commands to manage security groups

I've focused most of the comments in the create command, but they also apply to other files

Applied all suggested changes to other sub commands where appropriate

Please solve the conflicts first, otherwise you'll need an approval again


Removed MenuScrollerSample

Issue
: In W2+ UX 1.1, overflow menu was deprecated.
So the sample related with it should be removed.
Fix
: Removed the menu scroller sample
https://jira2.lgsvl.com/browse/PLAT-11660
Enyo-DCO-1.1-Signed-off-by: YB Sung<EMAIL_ADDRESS>

This PR is to merge a commit into PLAT-11357-Garnet-NewUX, not into master.
It looks okay.
Reviewed-By: Seungcheon Baek<EMAIL_ADDRESS>


⚠ GitLab Server has degraded performance

In c10cc88, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11891 ms

Resolved: GitLab Server performance has improved in 4cef19c.


Add start and end vertex label ids and names in edge object

A sample of modified edge object is
{"id": 1, "label": "PARTICIPATES", "end_id": 2, "start_id": 1, "properties": {"from": 2021}, "end_label_id": 9, "end_label_name": "Project", "start_label_id": 3, "start_label_name": "Developer"}

14 of 26 regression tests fail after these changes (none have been fixed in this PR yet)

@Zainab-Saad Thank you.
Could you update the test files that were affected by this PR please?

@rafsun42
I have fixed the failing regression tests and done some code changes mainly for:

making MATCH work without using _extract_label_id (removed it)
Updated age_vle and edge/path typecasting to reflect the changes in edge object

Now 3 of 26 tests fail (expr, age_load, graph_generation) which will be fixed by PR # 26 and 29

@Zainab-Saad
Looks good. However-

graph_generation has errors ERROR:  graph_oid and label_id must not be null.
age_load also has errors. But I assume the errors will be fixed in age_load's PR. Is that correct?

graph_generation has errors ERROR:  graph_oid and label_id must not be null. 2. age_load also has errors. But I assume the errors will be fixed in age_load's PR. Is that correct?

Yes, these errors will be fixed with PR on age_load


Feat: Dynamic Font Loading

Done

Removes inter font import from global styles
Standardizes font weights (previously many elements were set to a weight of 500 while we were loading weights 400 & 600)
Adds a font loader component that uses the webfontloader library

To Do

Only load font when the CMS is active
Test to confirm the loading is happening as expected

Closes #926

Thanks @kendallstrautman 👍

Hows this:
StyleProvider 👉 GlobalStyles (now lives in Styles.tsx)
TinaGlobalStyles 👉 TinaTheme (using the 'Tina' name for clarity since folks may use this component separately)

I'm note sure the Tina part is necessary. They will importing it from the tinacms package, of course it's for Tina. If they need to namespace it they can do that themselves:
import { Theme as TinaTheme } from "@tinacms/styles"

One more time lol
 Theme
    FontLoader
    GlobalStyles

Should we also to the cms.enabled stuff?

Yeah sure 👍


Autogenerate  snippets from documentation

The documentation contained here have a topic list of the resources that can be used to build up the snippets.
By build an index with //*[@id="main-col-body"]/div[2]/div[2]/ul we can leverage all the revelant links to keep the snippets updated with the current docs.

This one is linked with #27

Absolutely love it!  Nicely done.  :-)
One question & One issue (didn't see an issues link on your github fork):

Got this when I ran it for the first time:

(cform) ➜  build git:(master) python build-snippets.py
creating AWS::ApiGateway::Account => apigateway-account
Traceback (most recent call last):
  File "build-snippets.py", line 84, in <module>
    main()
  File "build-snippets.py", line 80, in main
    generate(index)
  File "build-snippets.py", line 41, in generate
    writeToOutput(title, snippet)
  File "build-snippets.py", line 72, in writeToOutput
    out = file(filename, 'w')
IOError: [Errno 2] No such file or directory: u'./output/`

Would you mind adding an isdir() & mkdir() to just smooth out the creation of "output"?

Also:  Do the snippets need to moved to the root of the package or are you thinking we remove the top-level snippets and have Sublime pick up the snippets in the build/output dir?

Hey @nathanatluminal, thanks for the input. Regarding the first, yes, this is missing and also the parameter interpolation $2, $3, $4, I couldn't come up with something great to do that diff than re.sub everything.
Regarding the later, I'm thinking about just let everything on the output and maybe create a hash + update date of the latest doc to keep track of it.
What do you think about that?

@nathanatluminal ping?

Hey, man!  So sorry I haven't had time to look at this. We've launched our
product and I've been traveling.  It's near the top of my to-do list.
On Sun, Aug 14, 2016 at 10:24 PM, Diego Magalhães<EMAIL_ADDRESS>wrote:

@nathanatluminal https://github.com/nathanatluminal ping?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/beaknit/cform/issues/34#issuecomment-239716907, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABOHHL0bUeQpOS9XMR5GUr_SV2V72jDFks5qf83WgaJpZM4JaIvc
.

--
I am jack's complete lack of surprise . . .


looking for local app performance improvement, ignore row

I am using csvtojson to convert a file of current covid19 virus stats. and it works great.
but, I only use maybe 2% of the data..  I need to filter on a column (country='France')
and when parse is done have an array of the row objects for that filter item
raw data
26/05/2020,26,5,2020,358,65,France,FR,FRA,66987244,Europe
25/05/2020,25,5,2020,115,35,France,FR,FRA,66987244,Europe
25/05/2020,25,5,2020,-372,-1918,Spain,ES,ESP,46723749,Europe
24/05/2020,24,5,2020,482,74,Spain,ES,ESP,46723749,Europe

after full file data
location_data['France'] = [ row 1 obj, row 2 obj ]
location_data['Spain' = [ row 3 obj,row 4 obj]

I also want to filter using the date column (only rows date after 10/03 (dd/mm))
i think i can do that with preline filter
but there is no need to present the result json object it the output..
I don't see a mechanism in the stream to say skip row
I guess I could just not use the output results.
saves me having to go thru ALL the data again
as an example I might  only need 400 lines of the current 19,500 lines
any other ideas welcome

using subscribe and creating my keyed array works
I just ignore the final result and pass my array object instead.


feature request: show grid toggle

Since SVG or any other picture import is said to be difficult to implement, I'd suggest adding a "show grid" toggle in order to be able to make "clean" screenshots.

Makes sense.


Increase "global" search with wildcards in names upto existing FreeBMD standard

I might wish to do a wildcard search such as: births, whole of a specified year or quarter, unspecified county, unspecified district, surname PAR*, unspecified forenames.  Note: a some point I may hit the 3,000 limit; so, if and when that happens, I tighten up the search parameters to decrease the number of hits a rerun the search.
On both test3 & test 2 I get a Prohibited message: 1 error prohibited this search from being processed:  Wildcard can only be used with a specific place/district. I switched the year for 1998 to 1889 to check it was due to the data-set, but that did not affect the prohibition. I then switched the surname search to PA?K and hit the same prohibition.
If I do the same search for births in 1989 FreeBMD(1), I hit the 3,000 limit; but if I make the surname PARK* (or PART*) I get the complete listing.
I might have scottish ancestry so I might decide to look for McPherson: and I can do it on test 2 / 3; I can also do MacPherson on test 2 /3. I would like to be able to do M?Pherson or M*Pherson, which should find both the Mc and Mac variants. I can't do it on test 2 / 3, but I can on FreeBMD.
I then tried looking for FRED* PARK (i.e. forename & surname respectively), unspecified county, unspecified district, which should find both FRED and FREDERICK, but I can't do it on test 2 /3 .

No need to restrict to county/district on FreeBMD2 as the limit relates to Mongo processes.

@PhilipClarke712 would it be possible for you to take a look and test this?

Hi @richpomfret
Yes, I can do that, but what system(s), just test3, or should I also look at test2?

Hi @Vino-S , @richpomfret

I'm pleased to say that I got what I specifically asked for, but I'd like a bit more, please if it is not too onerous?

I quickly found that I could search for Fred* & Park*  [forename & surname], births, between 1930 and 1935 and it gave me 134 hits that were very reasonable.
I also tried Fred? Park? and got the same results: Note on FreeBMD(1) * is a wild card search for any number of characters include nil characters. whereas ? means just one character (see "Details of the parameters of a search" section in https://www.freebmd.org.uk/search-help.shtml ), but I did not specifically refer to it at the start.

I searched for just M[asterix]pherson [surname] using the same search criteria and got 333 hits. I then tried the same search , but with   Mother's surname Mcpherson and got  6 hits; if I changed the mother's surname to M*pherson I got 9 hits. So I'm happy with Mac/Mc surnames.
I wanted to look more that the distinction between a * and a ? character search: there are very few "Dave" [forenames] in my selection. If I searched for "Dave" [forenames] Exact match, no surname, births, 1930 to 1935 I got just  4 hits. If I remove Exact Match I get 25 hits: Dave, Davena, Davene, etc, which is very reasonable set of hits. Note: Philip does not work there are more than 3000.
I would quite like the ability to have a single wild card character search (?), but if I wanted to separate Dave and David, I could in theory use Dave* (25 hits) and Davi* (more than 3000) - but not in this case without a surname. Adding the surname Jones gave 1217 hits for the forename Davi*, reduced to 138 with David [Exact Forename]. However, "Dav_" , if implemented as per FreeBMD(1), should quickly find "Dave", etc, that are not "David", etc.

Note: I use [Asterix] once because there is another Asterix in the same line and the system treats it as a request for italic font. I hope this makes sense.

Hi @PhilipClarke712 ,
Fixed single wild card character search (?) on test3.

Hi @Vino-S ,
I think I must be a bit devious:
I searched for r* dav?y [forenames] Vick [surname] and got one hit: a birth for Reginald Davey Vick, MARCH 1880, Dursley
and compared it against r* dav*y  [forenames] Vick [surname] and got two hits;
a birth of Reginald Davey Vick, MARCH 1880, Dursley
and a marriage of Robert Davy VICK, JUNE 1873, Tewkesbury
So, on the basis of just those, I would say that single wild card character search (?) on test3 works.
I found two more problems, but I only put one here and raise a new issue for the other one (searching by multiple Registraration Disticts in different Counts) is it might not been a "quick fix".
Searching on both the first and middle given names by preceding the [middle] name with a plus (+), thus "+jane"  does not find "hits" on test3.
Some of my ancestors named their first or second born child after a grandmother month and that sometimes passes down the generations, so I have:
[first name], Grosvenor [middle name], Bloore [surname]
[first name], Ridley [middle name], Hayes [surname]
[first name], Davy / Davey [middle name], Vick [surname]
and they are sufficently rare to do a global search, All events (BMD), places and dates.
both searches (all three surnames):+Grovenor, Bloore and * [space]Grosvenor, Bloore (etc) work on FreeBMD
both searches (all three surnames):+Grovenor, Bloore and * [space]Grosvenor, Bloore (etc) give Nil hits on test3
I know what I looking for: so R* [space]Davy, Vick works on test3 as does W* [space]Grosvernor, Bloore.
Note: I'm only asking for +[middle name] & [surname] searches to be fixed; * [middle name] & [surname] would be a bonus.

Initial implementation complete in test3

@Vino-S
Could you please describe exactly what should work now — it is not clear to me what I should be testing for.

@PhilipClarke712
None of your examples produce any results. Perhaps because it is not the full database on t3 or perhaps because of exactly what has been implemented. Hence my question to Vino.

Apologies for the delay.
Partial searches at the bottom of the search form have two select fields: Name and an option to select the type of partial search
1.First Name:
Usage Requirement: First Name cannot be blank or must contain only alphabets
Options: Contains, Ends With and Any
Option Description:
a)Contains
This will get all the names that contains first_name searched by the researcher.
For example: If a researcher had searched for "vino" with First Name: Contains option it will find:

	vino subbu, veena vino, vinoveena, vino veena subbu

b) Ends With:
This will find all the ForeNames that ends with first_name searched by the user
For example: If a researcher had searched for First Name "vino" and choose the First Name: Ends With option it will find:
	vino subbu, veena vino

c) **Any**
This will find all the Given Names that have any of the first_name searched by the user
For example: If a researcher had searched for First Name "vino veena" and choose the First Name: Any option it will find:

	vino subbu, veena vino, vino veena subbu, veena smith

Middle Name:
Usage Requirement: First Name cannot be blank or must contain only alphabets
Options: Starts with, Contains, Ends With and Exact match
Option Description:

Starts with: This option will get results where Middle Name starts with first_name searched by the user
Contains: This option will get results where Middle Name contains first_name searched by the user
Ends With: This option will get results where Middle Name ends with first_name searched by the user
Exact match: This option will get results where Middle Name is exactly as typed by the researcher

Last Name:
Usage Requirement: Surname cannot be blank or must contain only alphabets
Options: Starts with, Contains, and Ends With
Option Description:

Starts with: This option will get results where the Last Name starts with Surname searched by the user
Contains: This option will get results where the Last Name contains Surname searched by the user
Ends With: This option will get results where the Last Name ends with Surname searched by the user

Mothers Name:
Usage Requirement: Mothers Name cannot be blank or must contain only alphabets
Options: Starts with, Contains, and Ends With
Options Description: Works Similar to the Last Name

Other:
Options: In First Name or Middle Name and In Middle Name or Surname
Option Description:

In First Name or Middle Name: This will find where the searched first_name is present in either First Name or Middle Name
Usage Requirement: First Name cannot be blank
Example: Search on First Name: Vino
Results: vino subbu,  veena vino subbu

In Middle Name or Surname: This will find where the searched Surname is present in either Middle Name or Last Name
Usage Requirement: Surname cannot be blank
Example: Search on Surname: Vino
Results:  subbu vino,  veena vino subbu

Thanks @Vino-S , I think!
It will take me a while to understand your post. Brain feels overloaded for now and is failing to translate your description.

Hi @Vino-S
I see the problem.
I was asking for something that does not conform with the definitions above.
The records are on the database being used by test3, but I'm trying to specify: no first name (a blank first name),  a middle name that ends with specified search string and a surname. FreeBMD1 can do it, so I was hoping that BMD2 would do it some time.

Hi @PhilipClarke712
The original wildcard implementation has been re-designed.
Your search query should still work, in the new implementation:
Search example 1:
firstname=grosvenor
surname=bloore
Choose the Name field: Other
Select one of the following: In First Name or Middle Name
The above query will work similar to firstname = +grosvenor & surname = bloore
Search example 2:
firstname=grosvenor
surname=bloore
Choose the Name field: Middle Name
Select one of the following: Ends with
The above query will work similarly to firstname = *grosvenor surname = bloore

And it also works with
firstname=grosvenor
surname=bloore
Choose the Name field: First Name
Select one of the following: Contains or Ends with
So many options …

Hi Vino-S,
That has solved the problem - provided the researcher knows what to do, and I got it wrong at first (I overlooked the boxes at the bottom).
Thanks very much
If I leave out the (plus)(+) I do get one Grosvenor Bloore on test3, but if I use the +grosvenor I get no results.
Following your example:  I put grosvenor into the forname box then I do a partial search with the search term ending with
I get a set of results which has a comparable set of results to  what FreeBMD1 gives me

@AlOneill
There is little difference where In First Name or Middle Name search becomes a bit more broad:
And it also works with
firstname=grosvenor smith
surname=bloore
Choose the Name field: First Name
Select one of the following: Contains or Ends with
This will give us no results
However:
firstname=grosvenor smith
surname=bloore
Choose the Name field: Other
Select one of the following: In First Name or Middle Name
This will give us 22 results

@Vino-S This is great. Thank you!
Am also loving the use of fieldset elements. For the sake of screen-reader users, I think we could make the first legend a little better. 'Main search options' is the best I have come up with so far — can anyone improve on that?
And maybe the label for the second select could be improved to be more informative? BTW it makes no sense to include the labels in the tab sequence as there is no tool-tip to view: only the select boxes need tabindex="0"
I will create a story for adding some guidance to Help. Although it is pretty intuitive once you get going, we do need to say something. The challenge will be to not make it sound more complicated than it is!

@Vino-S to update 'legend' - 'main search options' and 'additional search options'.

Testing the Advanced Search Options.
I don't understand what selecting the 'wildcard' option does (intuitively, it would mean that using a wildcard anywhere would be recognised as a wildcard, but it's not that ...)
Looking for an Elizabeth Ann MARSHELL  with the search Elizabeth Ann Marshe* works fine, with 'contains' and 'first name' selected
However a search for  Eli?abeth Ann MARSHELL tells me "Search Field used for advanced search must only contain alphabetic characters" (needs revising to - possibly -  "Search Field used with a wildcard must use wildcard options (below)"
Changing the selection to Wildcard and 'Contains' gives warning "Please select a name field and a wildcard option for partial searches"
Changing the selection to First name and Contains gives warning "Search Field used for advanced search must only contain alphabetic characters" again.
Needs to be an explicit message on the search screen about what to do to get wildcard to work.
Looking for Mary Ann (or Anne) MARSHALL, baptism born before 1850, gets 29 Mary Anns, then saying middle name 'starts with' and same search, just gets 9 Mary Annes - I would have expected both Anns and Annes from a 'starts with.

Searching with a name in firstname (e.g. Richard) and the 'other' and 'first name' selected finds, as expected Richard George, Richard, George Richard, etc. etc., so working fine.
Results for a search by surname COLE, mother's maiden name Marshall finds 66, name ends hall finds only 26.

Hi @PatReynolds ,
It is my understanding is that is the old FreeBMD1 way of doing things.  BMD2 does not use those wildcard functions, they don't work, see my comments 16-days ago, above. The dropdown search boxes are used instead and they do give comparable results to what FreeBMD(1) gives with wildcards (see my comments 16-days ago, above).
Alison raised a new issue #383 to cover this.

@PatReynolds The only wildcard character in use is the * (asterisk) and you cannot use a wildcard symbol in an Advanced search.
The top selection, the wildcard option, sets the search to use the * in a search, as before. Picking anything other than the default for the second field is a mistake if you are trying to use a *.
I think you are possibly putting too much into which ever name field you are using.
Here is my (draft) introduction to the Advanced options:

There is a section at the foot of the search form headed Advanced Search options — these will help you with those tricky-to-find records as they add power and flexibility to your search. They give you access to what are known as partial searches.
Partial searches work on the name fields: First name, Surname and Mother's surname.  The search looks for those names that include  (all of) what you put in one of the Name fields in some way, as long as you type at least three letters and do not use symbols.
There are just two fields: Name lets you select which part of the name to look at and the second field, labelled Select one of the following lets you choose the type of partial search.

See also Vino's examples above for more details of what to expect.

So (for clarity) to search using a wildcard, ignore the wildcard function at the bottom and use * as in the other FreeUKGen sites.
I think we should use a different term for whatever it is that the search function at the bottom does.
Also not note: if you select 'wildcard' at the bottom, it shows 'wildcard options' to the right.  If you then select one of the others, it shows their options.  If you then select 'wildcard' again, it doesn't revert to 'wildcard options' - is that what is expected?

@PatReynolds I agree that if you return the 'Choose the Name field' to 'Wildcard' then 'Select on of the following' should revert to the wildcard options. In other words, you should be able to change your mind and not ask for a partial search — this does not appear to be possible currently.
Do not quite follow your second para. The two fields at the bottom set up a partial search; a wildcard search is a plain 'Search people', as if there were no 'Advanced' search options. Yes, the top (do nothing special here) option for the 'Choose the Name field' would be better as maybe '(none)'.

@PatReynolds
Also not note: if you select 'wildcard' at the bottom, it shows 'wildcard options' to the right. If you then select one of the others, it shows their options. If you then select 'wildcard' again, it doesn't revert to 'wildcard options' - is that what is expected?
Yes, it has to revert to 'wildcard options' as you described. I will improve the form.
@AlOneill
The "Wildcard" prompt on the "Choose the Name field" seems to be causing confusion, should I replace it with some other term?
Should I also create a document with examples for each Option, so that it can help with creating the SEARCH HELP page?

@Vino-S Yes, I think the prompt on the "Choose the Name field" should be changed: "Wildcard" is a different kind of thing from the other choices and it does look and function more like a choice than a prompt. If I am correct in thinking of it as an indicator of "no name part chosen so do nothing more than a standard search", then I think it should say "(none chosen)" or similar.
But, I might not be looking at this field correctly or in the way other people do, so, we need to know to know what others would find helpful to stand for un-choose (!) the Name part to look at.
@PatReynolds what do you think?
@Vino-S Yes, a document with examples would be a help in creating the search Help section — it would also help with testing. (I've copied your posts above but they will become harder for others to find in the future.)

If the 'wildcard' choice just means 'don't do a partial search' then "(none chosen)".  Is fine.
I'll wait for the help before further testing.

Another snag is that the 'Select one of the following' field reverts to the top option on using the 'Revise Search' button. I keep getting caught out with that.

@Vino-S I'm pretty sure that a search on First name with option 'Any' is not working quite as described above. Putting 'john james' in the First names(s) field finds the forenames John, James and John James but it fails to find the  instances of James John that a plain search finds.

@AlOneill
It second one in the list: vino subbu, veena vino, vino veena subbu, veena smith
here Veena is First Name and Vino is Surname
Apologies for choosing such confusing example:
I had created the technical help document:
https://docs.google.com/document/d/175ftfCDJ4UoZiKpvSFXWSadP7-1YIc6dar7g4X9kUmw/edit#
Please let me know if any information is needed.
I will fix the above mentioned snags

@Vino-S Thank you!

Updated the code as suggested

The top choices in the select boxes have been changed to "None chosen" and "None" — are these better than the original suggestion of "(none chosen)" and "(none)" ? The choices are retained on using the "Revise Search" button which is great.
The fieldset legends have not been changed — I believe we decided on "Main search options" and "Additional search options".

Updated fieldset on test3

Selecting firstname starts with "ann" produces a middle name of Ann image.png.
The use of 'exact match' is confusing me: this search

produces 2 results, but if the 'exact match' is not ticked, more results (with middle names) appear.
Information is "Exact match on first names" - should that be "Exact match on first name. Excludes entries with middle name"?
To bring surnames info into line "Phonetic search of surname" perhaps (should definitely, I think be surname singular).
Other than that, the instructions suggested by @PhilipClarke712 are good.  Examples  (with screenshots) would be helpful.

@PatReynolds to take another look and clarify what is needed.

Anne does NOT find Ann or Anna or Annie.
Ticking "exact match on first names" excludes those entries for Anne with a middle name/initial.
Not ticking "exact match on first names" excludes variant spellings, but does include identical spellings also with middle names.  However .... a search for Ann finds Anne, Annie, etc.
Works the same on FreeBMD1 and FreeBMD2.
Joe finds Joe and Joel, but does not find Joseph
So ... normally, FreeBMD returns "names beginning with characters as typed" and ticking the box means "name as typed, with no additional characters at all, not even a second name".
Since this is what FreeBMD1 does, this is fine for FreeBMD2.


ColdCard First Address Check

Add a check to ensure that the first address generated by the wallet matches the one in the coldcard file.
This will guarantee that the same wallet exported is the one being imported.

Added.


fix: bump version

TL;DR
Bump patch version to generate a tag and push image
Type

[X] Bug Fix
[ ] Feature
[ ] Plugin

Tracking Issue
https://github.com/lyft/flyte/issues/627

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


[SPARK-13621] [CORE] TestExecutor.scala needs to be moved to test package

Moved TestExecutor.scala from src to test package and removed the unused file TestClient.scala.

Can one of the admins verify this patch?

Jenkins test this please

Test build #52328 has started for PR 11474 at commit 894638b.

Test build #52328 has finished for PR 11474 at commit 894638b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Thanks - I've merged this in master.

@devaraj-kavali next time please use the pull request template.


[Documentation] Spark and SUI processes

Process can be found here: https://adevinta.zeroheight.com/styleguide/s/100904/p/080595-request-a-new-component


Hhh 12207 test for 5.2

Test case for https://hibernate.atlassian.net/browse/HHH-12207 (5.2)

Thanks for test @gbadner. The test fails on Infinispan master too. I've migrated the issue there. Closing this for now.


[FlakyTest] open batch session *** FAILED ***

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the subtask
- open batch session *** FAILED ***
  The code passed to eventually never returned normally. Attempted 3577 times over 3.0007155053 minutes. Last failure message: FINISHED did not equal ERROR. (KyuubiBatchYarnClusterSuite.scala:87)

https://github.com/apache/incubator-kyuubi/runs/6320947639?check_suite_focus=true
Parent issue
#1733
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

cc @turboFei

Thanks for ping me.
It is duplicated with #2522
And has been fixed by https://github.com/apache/incubator-kyuubi/pull/2557


feat: bnav/navbar additions and improvements

Note: BNavItemDropdown does not contain proper classes. Static class "dropdown" does not seem to exist. These improvements are still being worked on, but are generally working. Please read note on b8ebc2923dac2d02b255d0ef61970e8988adb7e6

Also read f4767ecf1e49e5bd82e03b1912381c3b019bf19f as it is important to recognize.

If you haven't done so all already I have been working on the nav docs and grid system docs. I'll pull in these changes.

If you haven't done so all already I have been working on the nav docs and grid system docs. I'll pull in these changes.

I'm currently working on creating tests for them, and creating new tests for the other components. So no, I have not started working on the docs for them.


ShopBillingData on invoice show should be taken from channel

Right now shop billing data is taken from
{% set billingData = sylius.channel.billingData %}

and should be
{% set billingData = channel.billingData %}

where channel should be taken from ChannelRepository using channelCode from InvoiceChannel

I would like to try to fix that if nobody is working.


Generic Package, rand_title

I don't know if it has already been submitted, you can close this thread if yes.
When I want to submit an analysis with generic package, the cmd prompt can't manage to deal with the random title Cuckoo gives to the window (tested in the virtual machine, and got an error).
It seems that this line
rand_title = "".join([chr(randint(0, 128)) for i in xrange(0, randint(1, 10))])
in the file/cuckoo/analyzer/windows/modules/packages can generate title name with characters not cmd compliant.
example :
"C:\Windows\System32\cmd.exe" /c start /wait H] C:\Users**\AppData\Local\Temp*.exe
Here "H]" generate an error of the cmd prompt.
Thank you for your good work on the project !

No need to close the issue @ds108j :-) Due to the random string generation it probably hit only once every now and then.
Regardless, fixed it for you. Thanks for reporting!

Thanks for fixing! ;)


chrome cannot get access from zork-on-firefox

Spotted this while hacking on cloud...first, I figured it was an issue with the latest release but it seems to be a new issue with Firefox.
Here's a Zork session between Chrome and zork-on-Chrome:
zork I [2015-12-16T18:38:39.974Z] now serving client at {"address":"<IP_ADDRESS>","port":44628}
zork D [2015-12-16T18:38:40.055Z] sending reply: ping
zork D [2015-12-16T18:38:40.192Z] received signalling message: {"signals":{"HOLO_ICE":[{"caesar":233}]},"first":true}
zork D [2015-12-16T18:38:40.207Z] received signalling message:
zork W [2015-12-16T18:38:40.207Z] could not parse signal: ..
zork D [2015-12-16T18:38:40.208Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":0,"description":{"type":"offer","sdp":"v=0\r\no=-<PHONE_NUMBER>515496609 2 IN IP4 <IP_ADDRESS>\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 <IP_ADDRESS>\r\na=ice-ufrag:8pqrZWKXQUvr8naC\r\na=ice-pwd:bUVSQlspA05wlALyz/bn/DY1\r\na=fingerprint:sha-256 39:F0:FF:C8:5B:7A:57:30:2D:87:29:44:35:0C:8E:91:2F:F9:D2:DD:54:BD:48:09:6B:69:32:C9:B5:E9:8F:B8\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n"}}}]}}
zork D [2015-12-16T18:38:40.210Z] received signalling message:
zork W [2015-12-16T18:38:40.210Z] could not parse signal: ..
zork D [2015-12-16T18:38:40.211Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:3885250869 1 udp<PHONE_NUMBER> <IP_ADDRESS> 39170 typ host generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.212Z] received signalling message:
zork W [2015-12-16T18:38:40.213Z] could not parse signal: ..
zork D [2015-12-16T18:38:40.313Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:1278287335 1 udp<PHONE_NUMBER> <IP_ADDRESS> 38041 typ host generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.318Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:1070012232 1 udp<PHONE_NUMBER> 2620:0:1003:1003:a99a:b79e:16e7:5764 37766 typ host generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.321Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:79019993 1 udp<PHONE_NUMBER> <IP_ADDRESS> 43410 typ srflx raddr <IP_ADDRESS> rport 39170 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.323Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:637227558 1 udp<PHONE_NUMBER> <IP_ADDRESS> 38610 typ srflx raddr <IP_ADDRESS> rport 38041 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.326Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:79019993 1 udp<PHONE_NUMBER> <IP_ADDRESS> 55084 typ srflx raddr <IP_ADDRESS> rport 39170 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.327Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:79019993 1 udp<PHONE_NUMBER> <IP_ADDRESS> 39170 typ srflx raddr <IP_ADDRESS> rport 39170 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.328Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:637227558 1 udp<PHONE_NUMBER> <IP_ADDRESS> 58734 typ srflx raddr <IP_ADDRESS> rport 38041 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.337Z] received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":3}}]}}
zork D [2015-12-16T18:38:40.341Z] received signalling message:
zork W [2015-12-16T18:38:40.342Z] could not parse signal: ..
zork D [2015-12-16T18:38:40.375Z] sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:0 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 49768 typ host","sdpMid":"","sdpMLineIndex":0}}}]},"first":true}
zork D [2015-12-16T18:38:40.378Z] sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:4 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 34413 typ host","sdpMid":"","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.380Z] sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:8 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 54478 typ host","sdpMid":"","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:40.432Z] sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:9 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 54478 typ srflx raddr <IP_ADDRESS> rport 54478","sdpMid":"","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:38:43.194Z] sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":1,"description":{"type":"answer","sdp":"v=0\r\no=mozilla...THIS_IS_SDPARTA-42.0<PHONE_NUMBER>796289722 0 IN IP4 <IP_ADDRESS>\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 6C:DA:30:59:5C:21:17:2B:4B:27:F4:8E:E4:28:1F:94:19:C9:8D:78:4E:08:5E:46:13:29:1C:DF:1D:83:CA:C6\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 <IP_ADDRESS>\r\na=sendrecv\r\na=ice-pwd:ec69c6bfe96faf6ecec27e889981b9c6\r\na=ice-ufrag:37307cdd\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 256\r\na=setup:active\r\na=ssrc:1267849677 cname:{9b585ffc-f892-4beb-b77d-eadfb6c6fa87}\r\n"}}}]}}
zork D [2015-12-16T18:38:43.240Z] sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":3}}]}}
zork I [2015-12-16T18:38:43.972Z] RtcToNet connected

Works fine. Now, here's a zork transcript between Chrome zork-on-Firefox:
zork I [2015-12-16T18:39:11.069Z] N7.A8: new client from {"address":"<IP_ADDRESS>","port":50780}
zork D [2015-12-16T18:39:11.074Z] N7.A8: received command: ping
zork D [2015-12-16T18:39:11.075Z] N7.A8: sending reply: ping
zork D [2015-12-16T18:39:11.086Z] N7.A8: received command: give
zork D [2015-12-16T18:39:11.113Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"caesar":120}]},"first":true}
zork D [2015-12-16T18:39:11.121Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":0,"description":{"type":"offer","sdp":"v=0\r\no=-<PHONE_NUMBER>21814099 2 IN IP4 <IP_ADDRESS>\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 <IP_ADDRESS>\r\na=ice-ufrag:QivTNRj82h4BVH0E\r\na=ice-pwd:PgPoThz35/Yu4SN+DewKCypC\r\na=fingerprint:sha-256 39:F0:FF:C8:5B:7A:57:30:2D:87:29:44:35:0C:8E:91:2F:F9:D2:DD:54:BD:48:09:6B:69:32:C9:B5:E9:8F:B8\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n"}}}]}}
zork D [2015-12-16T18:39:11.122Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:3885250869 1 udp<PHONE_NUMBER> <IP_ADDRESS> 42213 typ host generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.122Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:1278287335 1 udp<PHONE_NUMBER> <IP_ADDRESS> 34974 typ host generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.122Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:1070012232 1 udp<PHONE_NUMBER> 2620:0:1003:1003:a99a:b79e:16e7:5764 38073 typ host generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.123Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:79019993 1 udp<PHONE_NUMBER> <IP_ADDRESS> 36733 typ srflx raddr <IP_ADDRESS> rport 42213 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.126Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:637227558 1 udp<PHONE_NUMBER> <IP_ADDRESS> 55393 typ srflx raddr <IP_ADDRESS> rport 34974 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.127Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:637227558 1 udp<PHONE_NUMBER> <IP_ADDRESS> 62911 typ srflx raddr <IP_ADDRESS> rport 34974 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.127Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:79019993 1 udp<PHONE_NUMBER> <IP_ADDRESS> 42213 typ srflx raddr <IP_ADDRESS> rport 42213 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.127Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:79019993 1 udp<PHONE_NUMBER> <IP_ADDRESS> 37881 typ srflx raddr <IP_ADDRESS> rport 42213 generation 0","sdpMid":"data","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.128Z] N7.A8: received signalling message: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":3}}]}}
zork D [2015-12-16T18:39:11.208Z] N7.A8: sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:0 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 50267 typ host","sdpMid":"sdparta_0","sdpMLineIndex":0}}}]},"first":true}
zork D [2015-12-16T18:39:11.211Z] N7.A8: sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:4 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 33831 typ host","sdpMid":"sdparta_0","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.215Z] N7.A8: sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:8 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 56506 typ host","sdpMid":"sdparta_0","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:11.270Z] N7.A8: sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:9 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 56506 typ srflx raddr <IP_ADDRESS> rport 56506","sdpMid":"sdparta_0","sdpMLineIndex":0}}}]}}
zork D [2015-12-16T18:39:14.200Z] N7.A8: sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":1,"description":{"type":"answer","sdp":"v=0\r\no=mozilla...THIS_IS_SDPARTA-43.0<PHONE_NUMBER>7082497 0 IN IP4 <IP_ADDRESS>\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 0C:75:27:4C:90:57:B4:C6:CA:D9:CC:59:E6:7A:64:E7:EB:B0:83:A0:F1:39:8A:FA:26:A6:C3:27:06:E5:98:16\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 <IP_ADDRESS>\r\na=sendrecv\r\na=ice-pwd:7570ea4290efa58025994818a81d79ca\r\na=ice-ufrag:5a420bc5\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 256\r\na=setup:active\r\na=ssrc:1876159009 cname:{ccbb5698-cdf3-4e81-9b13-f14b72acc10e}\r\n"}}}]}}
zork D [2015-12-16T18:39:14.310Z] N7.A8: sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":3}}]}}
zork E [2015-12-16T18:39:34.599Z] N7.A8: failed to start rtcToNet: %1 Connection lost: failed
zork I [2015-12-16T18:39:34.646Z] N7.A8: closed (WE_CLOSED_IT)

See how the candidates sent by Firefox have a weird sdpMid?:
zork D [2015-12-16T18:39:11.208Z] N7.A8: sending reply: {"signals":{"HOLO_ICE":[{"webrtcMessage":{"type":2,"candidate":{"candidate":"candidate:0 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 50267 typ host","sdpMid":"sdparta_0","sdpMLineIndex":0}}}]},"first":true}

Chrome rejects these, logging:
PeerConnection [2015-12-16T19:41:20.912Z] sockstortc-obfuscated: addIceCandidate: {"candidate":"candidate:0 1 udp<PHONE_NUMBER> <IP_ADDRESS> 36771 typ host","sdpMid":"sdparta_0","sdpMLineIndex":0}; Error: Error processing ICE candidate

Needless to say, no connection is established.

BTW, this only seems to affect the cloud social provider. run_pair.sh chrome-stable firefox-stable works just fine, weird sdpMid lines and all.

More info on sdpMid:
http://www.w3.org/TR/webrtc/#widl-RTCIceCandidate-sdpMid
Could it an out-of-order thing? Right now, the answer is typically the final message sent by the giver.

Update: if I force_message_version to 2 then this works fine, and I see no weird sdpMid values. This suggests it's an obfuscation issue.

I believe we have diagnosed this issue:
Firefox and Chrome have different default "mid" values.  For Firefox, the default is "sdparta_0".  For Chrome, the default is "data".  The probe connection is always an offer, which uses the platform's default mid.  The candidates include this mid, and Churn preserves it.
However, when Firefox or Chrome generates an answer, it generates SDP that matches the offer's mid.  This means that for Churn connections between Firefox and Chrome, the answerer is producing candidates whose sdpMid attribute doesn't match the mid actually in use.  Chrome enforces this matching rule, and rejects the candidate, which leads to connection failure if those candidates were needed.

cc @mollyling


Make CPU affinity used for CPU pinning configurable via json file

What does this Pull Request accomplish?
We want to configure cpu affinity used for cpu pinning for different process configurable via json file.
Why should this Pull Request be merged?

User-Configurable CPU affinity:

Users can explicitly assign processor for:

Sideband stream read/write thread
Stream write threads

Why?

Some systems have more CPUs available, while others have fewer CPUs with shared workloads.
Configurability allows users to optimize CPU usage based on their system constraints or dedicated tasks.
It gives users control to explicitly decide how resources are distributed rather than relying on the scheduler.

Default Behavior: "No Affinity" (-1):

By default, threads are not pinned to any specific CPU, allowing the OS scheduler to decide the CPU assignment
dynamically.

Separate CPU Cores for Critical Threads:

Users can assign separate CPU cores for non- sideband threads, sideband-read/write, and server threads.

Why?

To isolate performance-critical sideband operations (e.g., low-latency tasks) from server threads to minimize contention.
Separating cores ensures better performance for threads that are sensitive to cache invalidation, refreshes, or CPU contention.

Best Practices for configuration:

Use Default (-1): For general systems where CPU pinning is unnecessary, default "no affinity" provides broad compatibility.
Assign Dedicated Cores: On systems with more CPUs, pin performance-critical threads (e.g., sideband tasks) to isolated cores.
Avoid Contention: Separate sideband and server threads onto different cores to reduce interference, particularly for real-time or low-latency workloads.

What testing has been done?
I am able to build grpc-server and run it successfully with and without cpu pinning configuration in json file.

We are planning to create a release branch on the 18th, and your PR will need to be completed before then for the changes to be in effect. Do you want these changes included in this release?

Yes, I was on leave, this PR should be completed today (17th Dec).

Please respond to questions about server affinity and the high level question about clarifying the purpose/priorities for this change. Also consider that this PR is the first-pass documentation for HOW to use the feature, so include details about best practices for config.

Updated PR description.

I'll be creating the release branch at 11:30 CST.


Usage in README.md doesn't work

cargo casper --erc20 <PATH TO NEW PROJECT> returns
error: Found argument '--erc20' which wasn't expected, or isn't valid in this context

        If you tried to supply `--erc20` as a value rather than a flag, use `-- --erc20`

USAGE:
    cargo casper [FLAGS] <path>
    cd <path>
    make prepare
    make test

For more information try --help

Should  ERC20 repo be used like this?
. forking our erc20 repo if working on an erc20 token.

Addressed and closed by #47


Crash on starup when this line is enabled in MupMixinLoader

the line in question : mixins.mup.mc109832-quark.json + quark is enabled
the crash occur since this commit : https://github.com/quentin452/MUP/commit/c32319879e6df7b10a50398bd968e0ee56d4e419

disabling the mixin that make the crash with quark in v1.4.0


Article about keyboard shortcuts in KodaDot #2283

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #2283

Did your issue had any of the "$" label on it?

[x] My DOT address: https://kodadot.xyz/dot/transfer?target=158VTDxZJidzsMcAdh7h828domveRvpmk1SCxwLUEHhcgY4v&usdamount=0&donation=true

Can you please post it to your medium.com and put link?

Can you please post it to your medium.com and put link?

sure

Can you please post it to your medium.com and put link?

https://medium.com/@ashutoshrishi844101/quick-guide-for-using-keyboard-shortcuts-on-kodadot-83b427d60145

@preschian @Jarsen136 take a look at my PR guys

@AshutoshSingh72 reading trough the issue i understood that:
@yangwao asked you to put a link of your article inside the read me file, not the whole article
he also asked about a video demonstrating how shortcuts work, yet, i see no video inside the medium link you've posted
i think the article quality is sub-optimal

@AshutoshSingh72 reading trough the issue i understood that: @yangwao asked you to put a link of your article inside the read me file, not the whole article he also asked about a video demonstrating how shortcuts work, yet, i see no video inside the medium link you've posted and i think the article quality is sub-optimal

got it i have corrected my mistake

@AshutoshSingh72 reading trough the issue i understood that: @yangwao asked you to put a link of your article inside the read me file, not the whole article he also asked about a video demonstrating how shortcuts work, yet, i see no video inside the medium link you've posted and i think the article quality is sub-optimal

check again it's done

Can you please post it to your medium.com and put link?

i'm sorry for misunderstanding

@prury @yangwao review my code


"No tests found"

I'm hitting a case where when I run tests from the command line they run as expected. When I run the same tests from within the extension, I get 'no tests found'. Is there an ideal way to debug what's going on?

Can you please share your repository or a sample reproduction where you see this happen?

The issue that I hit was due to some path related problems. In one of my imports a file that was read was in a different location due to the working directory not being quite the same when run in vscode.
The tricky thing here was that the test runner wasn't displaying any of the errors that occurred while loading my tests.
Here's a really simple case to reproduce. It's obviously a silly example:
// lib.js
export function thing() {
  return "thing";
}

throw new Error("OH NO");

// index.test.js
import { describe, it } from "node:test";
import assert from "node:assert";
import { thing } from "./lib.js";

describe("something", async() => {
  it("does something", async() => {
    assert.equal(thing(), "thing");
  });
});

If you run this, you'll get this output:
worker1> starting /Users/nalanj/Source/nalanj/repro/index.test.js
worker1> TAP version 13
worker1> 1..0 # no tests found

In recent versions we use a more reliable way to report+read test results, please let me know if you continue to experience issues.


⚠ WSINGRESOS - OXXO has degraded performance

In bf6d5b7, WSINGRESOS - OXXO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/compartido/wspagosoxxo.r) experienced degraded performance:

HTTP code: 200
Response time: 2379 ms

Resolved: WSINGRESOS - OXXO performance has improved in 33c48a5.


Axum feature not found

I've been following the todo-axum example and this line doesn't seem to work when specifying utoipa dependency not as path, but as a regular crate (utoipa = { version = "1.1.0", features = ["axum_extras"] }).
When running cargo run, I get the following error:
❯ cargo run
    Updating crates.io index
error: failed to select a version for `utoipa`.
    ... required by package `utoipa-axum-feature-not-found-repro v0.1.0 (/.../utoipa-axum-feature-not-found-repro)`
versions that meet the requirements `^1.1.0` are: 1.1.0

the package `utoipa-axum-feature-not-found-repro` depends on `utoipa`, with features: `axum_extras` but `utoipa` does not have these features.

failed to select a version for `utoipa` which could resolve this conflict

Repro: https://github.com/TmLev/utoipa-axum-feature-not-found-repro

utoipa-swagger-ui = { version = "1.1.0", features = ["axum"] } doesn't work, also.

These features are not yet been released to the crates but they exists in master. You can use git as a source so it will work.
utoipa = { version = "1.1.0", git = "https://github.com/juhaku/utoipa", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "1.1.0", git = "https://github.com/juhaku/utoipa", features = ["axum"] }

They have not been released because there is still some amount of work to be done before the version 2.0.0 can be released.

That works, thanks!


frint-cli: fix init command on Windows platform

Closes https://github.com/Travix-International/frint/issues/215

Coverage remained the same at 96.769% when pulling b2fb0bb052b1c2cf2916275dd1d86f1c54be9195 on fix-frint-cli-windows into da619c3e1f218e7c0c33f46f325102503c12d4e9 on master.

conflicts.

@fahad19 Conflicts resolved.

Coverage remained the same at 97.191% when pulling 58e3fae991a1bbacf6837a2bc843cf4eea86f8d1 on fix-frint-cli-windows into c69a8f6e990d67d5757be106f1f8c40fcce8827a on master.

Coverage remained the same at 97.191% when pulling c4349ebb7151c3fe38eb521de8c0cf05b34ae991 on fix-frint-cli-windows into<PHONE_NUMBER>e8810de18f10516ece4d01b51cb553 on master.

@discosultan: did you manage to test it on Mac/Linux too with your changes?
Please update your branch, and then we can merge if all good 👍

@fahad19 Yes, the changes were tested both on Windows 10 and Ubuntu 16.


Fix

Fix for checking if ['errors'] index exists. This to fix php artisan larasearch:reindex command exception.
[ErrorException]
  Undefined index: errors

Never mind this doesn't seem to fix the problem as I thought it did.


Future of Maven build

Is there any current of future use of the deprecated mvn build option?
If not, we should maybe look at removing it.

The deploy portion still needs to be migrated to gradle.  Then it can be removed.


Needs updates post PEP518

Is this project dead?  I started working over on https://github.com/wimglenn/flit_install_py2/commit/b4b6dc5dd2a03958f5129512b06a122d8b71820d but then gave up because of lack of existing tests, and a fear that this code maybe too old (has likely not kept up with other changes in flit).
Is there a better story for installing a cross-compat package in 2.7 environment to run the tests on travis-ci?  Testing against the working directory is not an option for me, because the feature I needed (entrypoints) seems not there currently.

Yeah, I haven't done anything with it for a long time. I made it possible for Flit to install into a version of Python other than the one it's running on (flit install --python path/to/python), which superseded this. But then that doesn't really work for PEP 518, because it's assumed that build dependencies can be installed with the same version of Python that's running the frontend tool (such as pip). It would be massively more complex if frontend tools had to to be able to prepare a build environment with a different Python version.
I haven't got a good answer for the brave new world of PEP 518 - you can't install a package from source on a version of Python older than the build tools support. I'm not interested in porting Flit back to Python 2, so packages supporting Python 2 either have to use another build system, or break installation from source.

Hmm. So what can you do in .travis.yml for the test-matrix of a cross-compat lib? Is the only solution now to create a distribution with a Python3 installation, and then install the built package into Python2 separate environment? It became a stumbling block for writing a pytest plugin which uses the pytest11 entry point to register the plugin with pytest  https://github.com/wimglenn/pytest-raisin/

Yeah, I can't think of anything better than that, I'm afraid. Or return to regular setup.py packaging.

Don't want to take a step backwards. So instead wrote flit6, which does the workaround described above. It requires something like this in the .travis.yml.

Ha, that's a neat workaround. :-)


display artifacting Garmin instinct 2 tactical

the template and tap functions or entries show artifacts in the smaller screen
I have:

[X] Used HTTPS to access HomeAssistant (with a public certificate)
[X] Checked that my JSON Syntax is correct (options 2, 3, or 4 or otherwise)
[X] Checked that my JSON follows the schema (options 2, 3, or 4)
[X] Used the online editor to check my JSON against HomeAssistant (option 1)
[X] Checked the Docs
[X] Checked the Troubleshooting Guide

To Reproduce

open the homeassistant app
scroll down to template or tap option
look at the smaller section of screen

Expected behavior
same icon or display as toggle
Screenshots

the toggle shows no artifacting/gibberish

Garmin Device:

Model: instinct 2 tactical

Smartphone :

Device: samsung S21 ultra
OS: android 14

To Reproduce
open the homeassistant app
scroll down to template or tap option
Expected behavior: same icon or display as toggle

Sorry I'm a bit lost on this one. The toggle icon is only present for toggle items, not for template ones. For template you have a text string you can form. In there you can include words or unicode (sometimes) characters to display the status of something from your HA instance.

on the toggle option it shows the HA icon

on the tap and template things it shows gibberish/artifacts

understood, if you want me to do some further testing i will happily do that
its weird that the simulator shows the "smaller screen"inverted

For now though, I assume the app functions correctly even if it is not pretty?
yes the app is functioning perfectly

From https://developer.garmin.com/connect-iq/reference-guides/devices-reference/, those listed with "Display Colors 2" are:

Descent™ G1 / G1 Solar - 176 x 176
Edge® 130 - not supported
Edge® 130 Plus - not supported
Instinct® 2 / Solar / Dual Power / dēzl Edition - 176 x 176
Instinct® 2S / Solar / Dual Power - 163 x 156
Instinct® 2X Solar - 176 x 176
Instinct® Crossover - 176 x 176

Looks like that list covers just 1 screen sizes. So one new resource folder with black & white bitmap icons is required to fix this.

would a black and white SVG also work ?
the icon size of the instinct 62x62 do new svgs or bitmaps have to be created for them altogether?

We're already using SVG. We have to make different files anyway, may as well go for a safe option.

There seems to be a fundamental problem here. The same icon file needs to work in two places, each with different sizes.
The following are screenshots from the simulator, hence the rounding of the watch face is missing, you'll have to imagine an overlay.
instinct2 62x62 icons:

instinct2 simulator window screenshot for comparison to the above:

This should show you have the screen layout maps.
instinct2s 54x54 icons:

instinct2x 62x62 icons:

Instinctcrossover 62x62 icons:

Now obviously the menu items can't take a 54 or 62 square pixel icon, so the files have been scaled back to 18 and 21 square pixels respectively. They appear to be too big for the space they are required to occupy. The icons looks terrible in both locations and the backgrounds they go onn vary.
The background can be managed by yet another resource directory to invert the colours. I don't know how to manage the need for different sized icons in two places. With the toggle item, the menu item does not have an icon, hence defaults to the application 54/62 pixel icon (I assume). It would be better to use just 54/62 pixel icons in the top right circular window and noen in the menu item. I don't know how to separate that.

Perhaps the answer here is that on the following devices:

Descent™ G1 / G1 Solar - 176 x 176
Instinct® 2 / Solar / Dual Power / dēzl Edition - 176 x 176
Instinct® 2S / Solar / Dual Power - 163 x 156
Instinct® 2X Solar - 176 x 176
Instinct® Crossover - 176 x 176

the code should use a MenuItem instead of an IconMenuItem. That means writing code to conditionally alter which of those two menu items is used, and then the icon shown in the window would always be the application icon. This sounds like an awful solution!
Which begs the question, how does the code determine the device? partNumber?

I'm closing this issue as the problem is too specific to a few devices and not general. The fix looks involved, so I'm just going to suggest you wait until you upgrade your watch for a newer model. Sorry that's not ideal.


PLAT-64761: Full-height Scroller Samples

Checklist

[X] I have read and understand the contribution guide

[ ] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[ ] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Samples for Scroller use an awkward static height.
Resolution
Update the samples to use the full height available in the window.
Additional Considerations
By default, VirtualList, VirtualGridList, and Scroller stretches to fit to a window. So we don't need width: 100%; height: 100% style in them. I removed it.
Links
PLAT-64761
Comments

These look like great additions. I forgot Scroller scroller expanded to the full size of its container.


[WIP] [Bug] [EditFile] Highlighting doesn't work at all.

Holding the finger on an EditText and clicking 'Select All' doesn't do anything. Also, it should be more like Chrome where when you hold your finger a context menu comes up and gives you options for cut/copy/paste and allows you to adjust the range highlighted.

Highlighting works now, but it can't cross segment boundaries. Re-purposing this issue

After #73, there are no more 'segments', but a single EditText for all the text.


Bug in g:syntastic_check_on_wq

If check_on_wq is set, syntastic will "randomly" set b:syntastic_skip_checks on buffers. The problem is here:
https://github.com/scrooloose/syntastic/blob/70c723ac16fee7b4093d3d16a90544d877dea89e/plugin/syntastic.vim#L302
If I have multiple windows (eg. after :split) and I close one of them, b:syntastic_skip_checks will now be set on this buffer and if I later open it in another window, syntastic will just silently not run on this file anymore.

The problem with your analysis is that the line you mention is called only from a QuitPre autocommand, which is supposed to run only right before Vim exits.  If it runs at any other moment (f.i. when you close a window), that's a bug in Vim, not in syntastic.
That said, the problem has been reported before (cf. #1603).  Please set g:syntastic_debug to 8 in your vimrc, and use Vim normally until you run into the problem.  Then run :mes and post the output.  This should be fine, because debug level 8 doesn't produce a huge amount of logs.

Vim help disagrees:

QuitPre: When using :quit, :wq or :qall, before deciding whether it closes the current window
or quits Vim.  Can be used to close any non-essential window if the current window is the last ordinary window.

I guess you meant to use VimLeavePre?

Right, I was confused, sorry about that.  Please try 77e20e2.

That looks like it fixed it. Thanks :).


Address a few pylint warnings.  No semantic changes are wanted.

@rsned Would you be willing to review?


Global Config Discovery: use $XDG_CONFIG_HOME on macOS

Hi, I'm newly migrating to ruff and it works so far so good for me, thank you for making this great tool!
However, I noticed that ruff uses the config_dir in dirs crates, which goes to $HOME/Library/Application Support under macOS. Generally I believe that as a CLI tool (and like many others), ruff should probably stick with XDG config home under macOS. When I look into my $HOME/Library/Application Support, they're almost all GUI application stuffs. Also, I think it is expected & intuitional to read config from $XDG_CONFIG_HOME since macOS mostly behave in *nix way.
Please let me know what you think :)

This seems reasonable to me but I'd like to hear from someone else on our team first too.

We have a similar request in a comment for uv as well: https://github.com/astral-sh/uv/issues/1511
I'm not a macOS user so I don't have a good sense of what the right choice is. But my understanding is that XDG_CONFIG_HOME is commonly used on macOS. I have a fair number of things in my ~/.config directory on my test mac mini for example.

I prefer Linux to macOS but use macOS as a daily driver and I would be very confused if ~/.config was not a valid configuration path.

I use macOS exclusively. Honestly, I wouldn't know where to expect the config to go. I'd have to look it up in the docs for any given tool. But looking at my machine, I do think ~/.config is more appropriate.

That was a matter of discussion for PDM too (which does not recognise the XDG_* vars for macOS). PDM does this because the underlying Python package platformdirs does this. As a mac user who versions their dotfiles, I spent a bit of time to make sure that as many projects as I use can save data under ~/.config. It makes the most sense, it's more portable.

Could you report this upstream at https://github.com/dirs-dev/dirs-rs? I'm not a mac user so i'm not quantified to weigh on this, i just wouldn't want to diverge from the effective rust standard without an upstream discussion first

@konstin I think it's been discussed before upstream and they are pretty opposed: https://github.com/dirs-dev/directories-rs/issues/47
I don't think I'd consider dirs-rs to be an effective Rust standard personally. But it is probably the most popular implementation of XDG.
There's also some other discussion that touches on this topic here: https://internals.rust-lang.org/t/pre-rfc-split-cargo-home/19747

If we want xdg over the platform default on mac, we should consider switching to something like  etcetera's Xdg and etcetera::app_strategy::choose_app_strategy ("Returns the current OS’s default AppStrategy This uses the Windows strategy on Windows, and Xdg everywhere else.") over directories.


fix: use correct regex in validate_path according to go.re2

@mikefero this should look better now!


⚠ Bofrost.at has degraded performance

In 40d4a73, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1426 ms

Resolved: Bofrost.at performance has improved in 8e4f57f after 22 minutes.


Fix: V0.62 Fix PharosTargetProvider mysql loading issue

Fixes issue when trying to load Pharos data into MySQL database during resource rebuilding

Errors previously being observed:
2023-02-21 13:49:20,890 [INFO]-PharosTargetProvider.__reload: Filtering SQL dump 'latest.sql.gz' for selected tables ['drug_activity', 'cmpd_activity', 'target', 'protein', 't2tc']
trap: SIGHUP: bad trap
/bin/sh: 1: Syntax error: Bad fd number
2023-02-21 13:51:55,286 [WARNING]-ExecUtils.runShell: return code is 2
2023-02-21 13:51:55,287 [INFO]-PharosTargetProvider.__reload: SQL dump restore status False
2023-02-21 13:51:56,128 [ERROR]-ExecUtils.run: return code is 1
2023-02-21 13:51:56,129 [INFO]-PharosTargetProvider.__reload: SQL table drug_activity export status False
2023-02-21 13:51:57,007 [ERROR]-ExecUtils.run: return code is 1
2023-02-21 13:51:57,007 [INFO]-PharosTargetProvider.__reload: SQL table cmpd_activity export status False
2023-02-21 13:51:57,951 [ERROR]-ExecUtils.run: return code is 1
2023-02-21 13:51:57,952 [INFO]-PharosTargetProvider.__reload: SQL table target export status False
2023-02-21 13:51:58,801 [ERROR]-ExecUtils.run: return code is 1
2023-02-21 13:51:58,802 [INFO]-PharosTargetProvider.__reload: SQL table protein export status False
2023-02-21 13:51:59,708 [ERROR]-ExecUtils.run: return code is 1
2023-02-21 13:51:59,708 [INFO]-PharosTargetProvider.__reload: SQL table t2tc export status False

@piehld I went down a bit of a rabbit hole on this one because the error was confusing me. Turns out the subprocess uses /bin/sh which on ubuntu instances is symlinked to dash, even though bash is still the default interactive shell. That accounts for the differences in the trap command behavior between subprocess and directly in the command line, and also subprocess on my Mac which does not point to dash.
So this approach works fine as long as this is going to be run on ubuntu and/or bash is OK with the signals that don't start with SIG. (Though perhaps some additional comments would be helpful for the future.) Another option is to force subprocess to use bash with executable="/bin/bash" as suggested in the StackOverflow below.
https://stackoverflow.com/questions/15449428/does-the-shell-in-shell-true-in-subprocess-means-bash
https://wiki.ubuntu.com/DashAsBinSh
https://manpages.ubuntu.com/manpages/trusty/man1/sh.1.html#:~:text=status is 0.-,trap,-[action signal

Thanks for digging into that, @aliciaaevans! Very interesting find. I've never even heard of dash...
I think removing SIG should be OK in this case then, since according to other documentation online, the SIG prefix doesn't seem to be necessary: https://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_02.html
One example that I found that helps verify this is the "KILL" signal, which is really "SIGKILL", but usually we just type kill ....
How does that sound to you? (Definitely agree that a comment about that should be added regardless too.)