text:
@RequestParam annotation problem in POST methods on services.

I am working on creating typescript client and qbit server codes from swagger schema. Currently close to the end. But I found some problems while testing.
Following code  is technically correct (may be) but not running.
@RequestMapping(value = "/pets")
public class PetsService {
	petstore.server.service.impl.PetsServiceImpl serviceImpl = new petstore.server.service.impl.PetsServiceImpl();

	@RequestMapping(value = "",  //MISSING ??????
              method = RequestMethod.POST,
              description = "",
              returnDescription = "405: Invalid input",
              summary = "Add a new pet to the store",
             code = -1 // (-1 is not good) HTTP response code -1?????? not good
             contentType = "application/json")
	public void addPet(final Callback<Void> callback,
		@RequestParam(value = "body",
                                         required = false,
                                        description = "Pet object that needs to be added to the store")
		                         Pet body) {
		serviceImpl.addPet(callback, body);
	}

But following code is running. (Only @RequestParam(value = "body"... is removed)
@RequestMapping(value = "/pets")
public class PetsService {
	petstore.server.service.impl.PetsServiceImpl serviceImpl = new petstore.server.service.impl.PetsServiceImpl();

	@RequestMapping(value = "", method = RequestMethod.POST, description = "", returnDescription = "405: Invalid input", summary = "Add a new pet to the store", code = -1, contentType = "application/json")
	public void addPet(final Callback<Void> callback,
		Pet body) {
		serviceImpl.addPet(callback, body);
	}

It seems to be problems associated with @RequestMapping annotation.

https://github.com/advantageous/qbit/blob/master/qbit/core/src/main/java/io/advantageous/qbit/meta/transformer/StandardRequestTransformer.java#L155
It looks in the case REQUEST section request body must be handled.

You are missing some stuff in your @RequestMapping.
Fix those and see if it runs.
I am glad you are working on codegen.
Keep me in the loop.
See my comments in your original post.

Here is the some results.

Here is the Spring MVC target generated code. They are uses value=""... too.
@Controller
@RequestMapping(value = "/pets", produces = { APPLICATION_JSON_VALUE })
@Api(value = "/pets", description = "the pets API")
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.SpringMVCServerCodegen", date = "2016-04-22T13:54:03.943Z")
public class PetsApi {
	@ApiOperation(value = "Add a new pet to the store", notes = "", response = Void.class, authorizations = {
			@Authorization(value = "petstore_auth", scopes = {
					@AuthorizationScope(scope = "write_pets", description = "modify pets in your account"),
					@AuthorizationScope(scope = "read_pets", description = "read your pets") }) })
	@io.swagger.annotations.ApiResponses(value = {
			@io.swagger.annotations.ApiResponse(code = 405, message = "Invalid input") })
	@RequestMapping(value = "", produces = { "application/json", "application/xml" }, consumes = { "application/json",
			"application/xml" }, method = RequestMethod.POST)
	public ResponseEntity<Void> addPet(

			@ApiParam(value = "Pet object that needs to be added to the store") @RequestBody Pet body)
			throws NotFoundException {
		// do some magic!
		return new ResponseEntity<Void>(HttpStatus.OK);
	}

I will take a look. I know the @RequestMapping work see https://github.com/MammatusTech/qbit-microservices-examples/wiki/QBit-Microservices-Java-Lib-RESTful
Why don't you start with that and then slowing change your code until it is more and more like the working example.

https://github.com/MammatusTech/qbit-microservices-examples/tree/master/todo-async

There are many working examples. https://github.com/MammatusTech/qbit-microservices-examples
But if you still are having a problem send me whatever stacktraces you find or just check in your code where I can git clone it, and I will take a look.

I have sended https://github.com/advantageous/qbit/pull/703. This is only problem simulating test. It is not solution.
Problem is related https://github.com/advantageous/qbit/blob/master/qbit/core/src/main/java/io/advantageous/qbit/meta/transformer/StandardRequestTransformer.java#L155
Because if the POST body parameter has @RequestParam annotation it executes in case REQUEST: setion incorrectly otherwise executes case BODY: section correctly.
It can be this way. Depending on your choice. I can use without putting @RequestParam annotation on POST body like parameters.

Ok.. I think I see the problem now. Let me do some research.

You need to use no annotation for the body.
@RequestParam is for query string and form params only.

/**
 * Defines a request parameter used to map service method parameters to HTTP request params.
 *
 * @author Rick Hightower
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.PARAMETER})
public @interface RequestParam {

This might be different than they way spring does it.
Now I finally get your comments and struggle. Sorry.. Balancing many spinning plates. Seems that you understand as well.
Notice that the Spring example has a @RequestBody. QBit does not have this. The param that is not a callback or @HeaderParam or @RequestParam is assumed to be the body.
So in short (which I think you figured out already.. good job), @RequestParam is the same as Spring's @RequestParam, and QBit does not have @RequestBody but it should.
I will open an issue for @RequestBody and close this issue if that is ok with you.
If you want to tackle @RequestBody, give it a shot. I think we need it for the meta data (description).

Since you are deep in the code. Try adding it and sending a PR. I would love the help.

In theory @RequestBody is required but not immediate. Not required to follow the same path with spring.
Currently swagger schema to code generator near close with some incomplete features (autentication etc.).
https://github.com/ismail-codar/codegen-maven/
Example outputs: https://github.com/ismail-codar/codegen-example-petstore-server/blob/master/src/main/java/petstore/server/service/PetsService.java and https://github.com/ismail-codar/codegen-example-petstore-server/blob/master/src/js/clientApi.ts

Another topic: Swagger schema to service generation and after this swagger schema generation form services with AdminBuilder must be same results.
I will send some PR's for swagger compatibility.

ok.. sounds good.
On Tue, May 3, 2016 at 7:22 PM, ismail-codar notifications@github.com
wrote:

Another topic: Swagger schema to service generation and after this swagger
schema generation form services with AdminBuilder must be same results.
I will send some PR's for swagger compatibility.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/advantageous/qbit/issues/702#issuecomment-216725287

--
Rick Hightower
(415) 968-9037
Profile http://www.google.com/profiles/RichardHightower

Good stuff! Thanks.
On Tue, May 3, 2016 at 6:52 PM, ismail-codar notifications@github.com
wrote:

In theory @RequestBody https://github.com/RequestBody is required but
not immediate. Not required to follow the same path with spring.
Currently swagger schema to code generator near close with some incomplete
features (autentication etc.).
https://github.com/ismail-codar/codegen-maven/
Example outputs:
https://github.com/ismail-codar/codegen-example-petstore-server/blob/master/src/main/java/petstore/server/service/PetsService.java
and
https://github.com/ismail-codar/codegen-example-petstore-server/blob/master/src/js/clientApi.ts
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/advantageous/qbit/issues/702#issuecomment-216719135

--
Rick Hightower
(415) 968-9037
Profile http://www.google.com/profiles/RichardHightower

authors: RichardHightower ismail-codar

repo: advantageous/qbit


text:
Icon request: sourcehut

URL of the site or app (required): https://sr.ht/
Logo resources for the icon (optional, but recommended): https://sr.ht/ (SVG embedded in HTML at path html body nav.container.navbar.navbar-light.navbar-expand-sm span.navbar-brand span.icon.icon-circle svg)

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/sourcehut.png
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/Variations/sourcehut bg.var.png

source: gharchive/issue

repo: aegis-icons/aegis-icons

license_type: permissive

license_source: github-api


text:
Meshes exporting without vertex groups

Hi, I'm trying to export models from Transformers: Earth Wars.  I normally use Export-->Animator + selected AnimationClips, and that gives me a fully animated mesh with all the correct textures.  On a very small percentage of models from that game, however, AssetStudio exports the armature and animation correctly, but the mesh comes through with no vertex groups, which means the armature and animation are fairly useless.
I know the vertex groups exist, because the models are animated correctly in the gallery in the game, but they're not coming through in the mesh.  I've attached a data file in case anybody is willing to troubleshoot the problem.  Thanks!
__data_nemesis_2023-12-14.zip

Can I bump this?  The number of models from this game that have this problem is growing, and I've been unable to find a solution.

repo: aelurum/AssetStudio

license: MIT


text:
Search results - undefined

Steps to reproduce

Navigate to homepage
Use the search bar and search for 'ridge'
Click on results like 'Canyons at Prescott Ridge - Community'
See it navigate to 'https://main--hubblehomes-com--aemsites.hlx.page/undefined'

Not sure if this is content problem or a bug in code so might need some investigation.

This is a data issue, since the actual data is missing for some of these pages as such it returns an undefined. Issue should be resolved once we have all the data imported in.

authors: kunwarsaluja varunmitra

repo: aemsites/hubblehomes-com


text:
[GOV] Governance workgroups

An alternative to the current governance roles in #195 inspired by Pandas workgroups.

Just to confirm, this would just alter the roles portion of https://github.com/aeon-toolkit/aeon/pull/195 if merged. But i agree, we should give everyone a chance to discuss. If this does go through, i imagine there will not be much remaining on #195 to block it.

source: gharchive/pull-request

repo: aeon-toolkit/aeon


text:
lazyXDS: App's virtualservice route rule hasn't effected while first accessing to it

Describe the bug
App's virtualservice route rule hasn't effected while first accessing to it
To Reproduce
In my bookinfo example, i create a Virtualservice for app of Reviews like below:
Virtualservices:
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: reviews
  namespace: default
spec:
  hosts:
  - reviews
  http:
  - route:
    - destination:
        host: reviews
        subset: v1
      weight: 50
    - destination:
        host: reviews
        subset: v3
      weight: 50

So in an ideal situation, the traffic to Reviews should never route to the v2 version. But it does unexpected traffic to v2 version of Reviews during first accessing to.
Additional context
May useful references:
https://istio.io/latest/docs/ops/common-problems/network-issues/#route-rules-have-no-effect-on-ingress-gateway-requests

Confirmed，the reason is the first step of lazyxds flow: egress gateway always forward request random.
To fix this, egress gateway need analyze all user-defined route config (vs, dr ...)
We will try to fix this.

Has this bug been fixed?
@zhongfox @zhaohuabing

authors: JinVei zhongfox

repo: aeraki-mesh/aeraki


text:
[BUG] Select all checkbox sends a blank string as an ID and causes an error

Versions Used
Kaffy: 0.9.0 as per the latest on hex.pm
Phoenix: 1.5.7
Elixir: 1.11.3
More Elixir/Erlang info:
$ elixir --version
Erlang/OTP 23 [erts-11.1.7] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]

Elixir 1.11.3 (compiled with Erlang/OTP 23)

What's actually happening?
When selecting all using the checkbox at the far left of the table heading in list views, it has a blank value but is still part of the form. Ergo, performing a list action, say on one other record, sends an ID list of ["", "1"] which causes an Ecto cast error:
Ecto.Query.CastError at POST /admin/request/role/action/approve

deps/kaffy/lib/kaffy/resource_query.ex:59: value `["", "1"]` in `where` cannot be cast to type {:in, :id} in query:
...snip...

What should happen instead?
The select-all checkbox should either

Not be part of the submitted form so that it doesn't submit an empty string in the first place
The empty string should be filtered out before resources are loaded in Kaffy's resource_controller.ex

Additional environmental info
This problem can be reproduced on macOS 10.14.6 with the following settings:
$ uname -a                                                                                10:52:06
Darwin HOSTNAME.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Nov 10 00:07:31 PST 2020; root:xnu-4903.278.51~1/RELEASE_X86_64 x86_64

PR #192 to add Enum support will resolve this issue

Can confirm this is still an issue, but it does look like @hannah-reed made an accurate comment! Thanks for pointing out PR #192, great call out.

Hi there! #192 was just merged to master. Could someone confirm if the bug is still present on the master branch? Thanks!

authors: hannah-reed kelcecil yonkeltron

repo: aesmail/kaffy


text:
Adjust cuckoo

Match epoch's cuckoo pow in order to:

verify epoch's solutions;
generate correct solution using serialized header so an epoch node to be able to verify it;

closed with #415

authors: meivantodorov thepiwo

repo: aeternity/elixir-node

license: ISC


text:
java.lang.NoClassDefFoundError: me.zhanghai.android.materialprogressbar.IndeterminateProgressDrawable 0.8.5.5@aar

java.lang.NoClassDefFoundError: me.zhanghai.android.materialprogressbar.IndeterminateProgressDrawable
progressDialog = new MaterialDialog.Builder(getActivity())
.title("apk install")
.content("test")
.progress(true, 100)
.cancelable(false)
.show();

You didn't follow the checklist in the issue template I see.
There are closed issues that are duplicates already. And please use Java syntax highlighting.

if you meet this problem , compile 'com.android.support:appcompat-v7:23.3.0' can solve this problem

same i am getting

authors: afollestad chond ibrahim-appgodz

repo: afollestad/material-dialogs


text:
text size

Hi Thanks for your great library, very usefull.
Is it possible to change the size of the text for the radioButton ?
Thank you

This is a duplicate of another issue, but currently you'd need a custom adapter


text:
Widget colors

Am I missed something, is it suppose to work now?
I've updated from 0.6.3.1 to 0.7.0.1 and it seems to be broken.
Widget colors (radio buttons, checkboxes) have to be colorAccent (for AppCompat) or android:colorAccent (for the Material theme) but they are always black.
Defining global theming attribute md_widget_color doesn't work.
In the sample application on google play they are black too.

This has already been fixed and will be in the next update.

https://github.com/afollestad/material-dialogs/releases/tag/v0.7.1.0

authors: afollestad nicolausYes


text:
Use local storage to save user preferences

Add functionality to persist user options if browser is closed or page is reloaded.

Awesome functionality 👍
Thanks!

authors: afonsopacifer andredaniel

repo: afonsopacifer/react-pomodoro

license: mit

license_source: bigquery


text:
Bug with classList management

I have some problem of performance after many calls and it seems to come from classList management:

After just few calls, we can see that classes are not handled correctly:
ql-mention-list-container ql-mention-list-container-bottom ql-mention-list-container-bottom-bottom ql-mention-list-container-bottom-bottom-bottom ql-mention-list-container-bottom-bottom-bottom-bottom ql-mention-list-container-bottom-bottom-bottom-bottom-bottom ql-mention-list-container-bottom-bottom-bottom-bottom-bottom-bottom ql-mention-list-container-bottom-bottom-bottom-bottom-bottom-bottom-bottom ql-mention-list-container-bottom-bottom-bottom-bottom-bottom-bottom-bottom-bottom ql-mention-list-container-bottom-bottom-bottom-bottom-bottom-bottom-bottom-bottom-bottom ql-mention-list-container-bottom-bottom-bottom-bottom-bottom-bottom-bottom-bottom-bottom-bottom

I suggest to replace following code
if (topPos >= 0) {
      this.mentionContainer.classList.forEach(className => {
        this.mentionContainer.classList.add(`${className}-bottom`);
        this.mentionContainer.classList.remove(`${className}-top`);
      });
    } else {
      this.mentionContainer.classList.forEach(className => {
        this.mentionContainer.classList.add(`${className}-top`);
        this.mentionContainer.classList.remove(`${className}-bottom`);
      });
    }

by
if (topPos >= 0) {
      this.mentionContainer.classList.add(`${this.options.mentionContainerClass}-bottom`);
      this.mentionContainer.classList.remove(`${this.options.mentionContainerClass}-top`);
    } else {
      this.mentionContainer.classList.add(`${this.options.mentionContainerClass}-top`);
      this.mentionContainer.classList.remove(`${this.options.mentionContainerClass}-bottom`);
    }

Sorry wrong manipulation in my fork

repo: afry/quill-mention


text:
Undefined key any on core\Route.php

When clearing all routes from routes directory. By default it will goes to 404 page. But it shows 404 with undefined key error.

Resolved #1


text:
Need New SVG Icons

As we gather more categories, the HeroIcons I am using are not covering all of them, so we need to spend time creating our own icons for the main website

hi @ageddesi what icons are currently using

We are currently using heroicons

have you tried fontawesome . it has a large collection of icons
https://fontawesome.com/search

Will have to take a look unless someone has time to match up a set of icons
with the categories on the issue's image
On Mon, 10 Oct 2022 at 13:24, Rajitha Gunathilake @.***>
wrote:

have you tried fontawesome . it has a large collection of icons
https://fontawesome.com/search
—
Reply to this email directly, view it on GitHub
https://github.com/ageddesi/Mocked-API/issues/167#issuecomment-1273234902,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ5YPC43PDOXJYQY7BIGZLWCQDGJANCNFSM6AAAAAAQ57HL7Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sadly its in another private repo. If you want to update it you can just provide the code.
This is the code as it is (uses tailwind)

We are still working towards our v1.0 release

In the meantime you can use our api anytime but until v1.0 is released breaking API changes can occcur. However we are trying our best to not have any happen (but we are only human).
For our full api docs head over to api.mocked-api.dev or click on a category below

Current Release : 0.13.0 | Categories: 22 | Endpoints: 80

								<svg class="h-6 w-6 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true">
								<path stroke-linecap="round" stroke-linejoin="round" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4" />
								</svg>

Animals

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 18.75a60.07 60.07 0 0115.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 013 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 00-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 01-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 003 15h-.75M15 10.5a3 3 0 11-6 0 3 3 0 016 0zm3 0h.008v.008H18V10.5zm-12 0h.008v.008H6V10.5z" />
								  </svg>

Bank Feed

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 01.865-.501 48.172 48.172 0 003.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z" />
								  </svg>

Chat

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125" />
								  </svg>

Colors

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418" />
								</svg>

Countries

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M12 6v12m-3-2.818l.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
								  </svg>

Currencies

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" d="M16.5 12a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 10-2.636 6.364M16.5 12V8.25" />
								  </svg>

Ecommerce

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" d="M16.5 12a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 10-2.636 6.364M16.5 12V8.25" />
								  </svg>

Elements

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" d="M16.5 12a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 10-2.636 6.364M16.5 12V8.25" />
								  </svg>

Emails

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z" />
								</svg>

Images

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M9 9l10.5-3m0 6.553v3.75a2.25 2.25 0 01-1.632 2.163l-1.32.377a1.803 1.803 0 11-.99-3.467l2.31-.66a2.25 2.25 0 001.632-2.163zm0 0V2.25L9 5.25v10.303m0 0v3.75a2.25 2.25 0 01-1.632 2.163l-1.32.377a1.803 1.803 0 01-.99-3.467l2.31-.66A2.25 2.25 0 009 15.553z" />
								  </svg>

Invoice

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M9 9l10.5-3m0 6.553v3.75a2.25 2.25 0 01-1.632 2.163l-1.32.377a1.803 1.803 0 11-.99-3.467l2.31-.66a2.25 2.25 0 001.632-2.163zm0 0V2.25L9 5.25v10.303m0 0v3.75a2.25 2.25 0 01-1.632 2.163l-1.32.377a1.803 1.803 0 01-.99-3.467l2.31-.66A2.25 2.25 0 009 15.553z" />
								  </svg>

IP

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M9 9l10.5-3m0 6.553v3.75a2.25 2.25 0 01-1.632 2.163l-1.32.377a1.803 1.803 0 11-.99-3.467l2.31-.66a2.25 2.25 0 001.632-2.163zm0 0V2.25L9 5.25v10.303m0 0v3.75a2.25 2.25 0 01-1.632 2.163l-1.32.377a1.803 1.803 0 01-.99-3.467l2.31-.66A2.25 2.25 0 009 15.553z" />
								  </svg>

Music

								<svg class="h-6 w-6 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true">
								<path stroke-linecap="round" stroke-linejoin="round" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" />
								</svg>

Names

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M21 7.5l-9-5.25L3 7.5m18 0l-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9" />
								  </svg>

Phone Numbers

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M21 7.5l-9-5.25L3 7.5m18 0l-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9" />
								  </svg>

Products

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z" />
								  </svg>

Quotes

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0" />
								  </svg>

Socials

								<svg class="h-6 w-6 text-white" stroke="currentColor" stroke-width="2"  id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
									<path d="M19.638,28.571a1,1,0,0,0,.643-1.259l-2.106-6.5L24,16.576l5.824,4.236L28.559,24.7a1,1,0,1,0,1.9.619l1.354-4.16,4.757-2.13,5.387,3.908a17.648,17.648,0,0,1-.989,5.045,1,1,0,0,0,1.883.676,19.635,19.635,0,0,0,1.136-6.143C44,22.343,44,22.171,44,22A20.028,20.028,0,0,0,30.635,3.138,19.984,19.984,0,0,0,8.116,9.862,19.8,19.8,0,0,0,4,22c0,.171,0,.343.01.471a19.763,19.763,0,0,0,1.022,5.877,1,1,0,1,0,1.9-.635,17.828,17.828,0,0,1-.888-4.774l5.389-3.91,4.756,2.13,2.194,6.77a1,1,0,0,0,1.259.642Zm19.771-15.84a17.733,17.733,0,0,1,2.523,7.716L37.865,17.5ZM37.97,10.682l-2.094,6.467L31.118,19.28,25,14.831V9.169L30.446,5.21A17.8,17.8,0,0,1,37.97,10.682Zm-9.918-6.2L24,7.424,19.948,4.478A18.057,18.057,0,0,1,28.052,4.478Zm-10.5.732L23,9.169v5.662L16.882,19.28l-4.758-2.131L10.03,10.682A17.8,17.8,0,0,1,17.554,5.21ZM6.068,20.447a17.738,17.738,0,0,1,2.523-7.716L10.135,17.5Z"/>
									<path d="M45.278,35.038A20.15,20.15,0,0,0,30,28a19.922,19.922,0,0,0-11.021,3.306,1,1,0,1,0,1.1,1.668c.1-.068.208-.125.311-.19a14.905,14.905,0,0,1-.007,8.451.993.993,0,0,0-.987,1.722A19.9,19.9,0,0,0,30,46a20.154,20.154,0,0,0,15.281-7.041A3.042,3.042,0,0,0,45.278,35.038ZM22.169,42.2a16.675,16.675,0,0,0,0-10.4,17.952,17.952,0,0,1,15.664.007,16.679,16.679,0,0,0,0,10.4,17.91,17.91,0,0,1-15.661,0Zm21.593-4.541a18.287,18.287,0,0,1-4.155,3.555,14.921,14.921,0,0,1,0-8.425,18.267,18.267,0,0,1,4.152,3.553A1.022,1.022,0,0,1,43.762,37.657Z"/><path d="M34,36H33v-.5a1,1,0,0,0-2,0V36H29v-.5a1,1,0,0,0-2,0V36H26a1,1,0,0,0,0,2h1v.5a1,1,0,0,0,2,0V38h2v.5a1,1,0,0,0,2,0V38h1a1,1,0,0,0,0-2Z"/>
									<path d="M10.5,30A7.5,7.5,0,1,0,18,37.5,7.508,7.508,0,0,0,10.5,30Zm-.435,2.022a5.447,5.447,0,0,1-5.043,5.043A5.5,5.5,0,0,1,10.065,32.022ZM5.229,39.059a7.45,7.45,0,0,0,6.824-6.832,5.517,5.517,0,0,1,3.72,3.721,7.435,7.435,0,0,0-6.826,6.825A5.518,5.518,0,0,1,5.229,39.059Zm5.706,3.919a5.451,5.451,0,0,1,5.043-5.045A5.5,5.5,0,0,1,10.935,42.978Z"/>
								</svg>

Sports

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" />
								</svg>

Time Zones

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" />
								</svg>

Users

								<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-white">
									<path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" />
								</svg>

Vehicles

I love these icons, shame about the price. https://myicons.co/

yeah 135$

https://react-icons.github.io/react-icons/
This covers all the different popular icons in one package. Everything from bootstrap to material UI to font-awesome

Hi!, is this issue resolved? Else 1 would like to work on this

Hi @NNL-Keerthana This has not bee resolved, you can see from the code above how the html needs to be laid out. I just need new SVGs added.

Hi @NNL-Keerthana This has not bee resolved, you can see from the code above how the html needs to be laid out. I just need new SVGs added.

Hi, I did change some icons. How should I send the code just comment here or PR???

authors: NNL-Keerthana RizkyRajitha ageddesi benhalverson

repo: ageddesi/Mocked-API


text:
Support for insulin data type and recording of insulin doses via observers

Subject says it all -- great framework and support for blood glucose is there, but it would also be helpful to support bolus and basal insulin dose records and observers to notice when those are entered.

Hi, @gjbadros!
This feature is available now in version v1.15.0 of the lib! :)

Awesome, thank you so much... This is very helpful!

authors: RuanAzevedo gjbadros

repo: agencyenterprise/react-native-health


text:
Chap 2: Why we don't use .copy() for training set, but use it for training lable?

housing = strat_train_set.drop("median_house_value", axis=1) # drop labels for training set
housing_labels = strat_train_set["median_house_value"].copy()

In the gaining insight we use this housing = strat_train_set.copy() so we can play with housing without affect original data. So why we don't use .copy() for training set, but use it for training lable? Any difference? Could you clarify?

Hi @ladylazy9x ,
Thanks for your questions.
The drop() method returns a copy of the DataFrame with one column removed. So there's no need to call copy(), since it's already a copy.
Hope this helps.


text:
How to create multiple worksheets into a workbook

Hi Guys,
This question was logged previously (https://github.com/agershun/alasql/wiki/How-to-create-multiple-worksheets-into-a-workbook) and there is a working example on jsfiddle (http://jsfiddle.net/ry8fq0dL/) but I'm unable to get it working, don't know if it were taken out.
The jsfiddle example works as is, But as soon as I change the lib to use the latest lib it does not working any more.
Replacing:
<script src="http://alasql.org/console/alasql.min.js"></script>
<script src="http://alasql.org/console/xlsx.core.min.js"></script>

With:
<script src="https://cdn.jsdelivr.net/alasql/0.2.3/alasql.min.js"></script>
<script src="https://cdn.jsdelivr.net/alasql/0.2.3/alasql-worker.min.js"></script>

I'm working on a AngularJS project and need to export data to excel workbook with multiple sheets.

That is terrible - something that worked stoped working.
@agershun do you have any inputs on what it could be?

(and thank you very much for taking the time to submit this step back)

Please keep the xlsx.core.min.js and skip the alasql-worker.min.js file
Working example: http://jsfiddle.net/ry8fq0dL/55/

Thank you

I created a codepen if anyone is interested, making use of AngularJS, http://codepen.io/DickSwart/pen/wWPYpX/

I've solved this issue: https://github.com/MuhammadRehanQadri/export-google-map-markers/tree/master

authors: DickSwart MuhammadRehanQadri mathiasrw

repo: agershun/alasql


text:
QUARTILE Aggregates

Please find hereafter code for quartiles european calculation (1st, 2nd and 3rd quartile)
alasql.aggr.QUART = function(v,s,stage,nth){																			//Quartile (first quartile per default or input param)
	if(stage == 2) {
		if(v === null) {
			return s;
		} else {
			s.push(v);
			return s;
		}
	} else if(stage == 1) {
		if(v === null) {
			return [];
		} else {
			return [v];
		}
	} else {
		if(!s.length) {
			return s;
		} else {
			var nth = !nth ? 1 : nth;
			var r = s.sort();
			var p = nth*(r.length+1)/4;
			if(Number.isInteger(p)) {
				return r[p-1];																							//Integer value
			} else {
				return r[Math.floor(p)];																				//Math.ceil -1 or Math.floor
			}
		}
	};
};
alasql.aggr.QUART2 = function(v,s,stage){																				//Second Quartile
	if(stage == 2) {
		if(v === null) {
			return s;
		} else {
			s.push(v);
			return s;
		}
	} else if(stage == 1) {
		if(v === null) {
			return [];
		} else {
			return [v];
		}
	} else {
		if(!s.length) {
			return s;
		} else {
			return alasql.aggr.QUART(v,s,stage,2);
		}
	};
};
alasql.aggr.QUART3 = function(v,s,stage){																				//Third Quartile
	if(stage == 2) {
		if(v === null) {
			return s;
		} else {
			s.push(v);
			return s;
		}
	} else if(stage == 1) {
		if(v === null) {
			return [];
		} else {
			return [v];
		}
	} else {
		if(!s.length) {
			return s;
		} else {
			return alasql.aggr.QUART(v,s,stage,3);
		}
	};
};

This is great. Thank you.
Ill make a test too.
If I have 8 elements 2, 3, 4, 5, 6, 7, 8, 9, what will be the correct response to Q1, Q2 and Q3 on this sequence?

First Quartile ; 4,
Second Quartile : 6,
Third Quartile : 8

I have added the new features here https://github.com/agershun/alasql/wiki/Aggregators and they will be pushed into production uppon next release...

authors: brunodenis mathiasrw


text:
error process exited

Hey,
if i install it via githup install i get this
$ ./iobroker url "https://github.com/agnat/node_wake_on_lan" --debug
install https://github.com/agnat/node_wake_on_lan/tarball/dd6404623ccf4bc55b0ba8788ba38312b55435a1
NPM version: 6.14.4
npm install https://github.com/agnat/node_wake_on_lan/tarball/dd6404623ccf4bc55b0ba8788ba38312b55435a1 --loglevel error --prefix "/opt/iobroker" (System call)
+ wake_on_lan@1.0.0updated 1 package in 8.296s
43 packages are looking for funding  run `npm fund` for details
ERROR: host.iobroker Cannot install https://github.com/agnat/node_wake_on_lan/tarball/dd6404623ccf4bc55b0ba8788ba38312b55435a1: 0
ERROR: process exited with code 25

Hey,
I don't know anything about "githup install" or iobroker. So, I don't know if you are using it correctly. The supported way of installing the wake_on_lan package is npm. That said, it would seem that npm does install wake_on_lan successfully:
+ wake_on_lan@1.0.0updated 1 package in 8.296s

The error happens later...
Since this is not an issue with the wake_on_lan package I'm going to close this.

authors: LiveSide agnat


text:
Remove build and Drawer fixes

The animation of the tray when it goes fullscreen is a little jakey still. I could use some help with it if you can figure it out. Otherwise, I think that it's good enough.

Here's an example of the changes that would need to be made to existing apps to make the new drawer trigger line up properly: https://github.com/agrc/atlas/pull/486

repo: agrc/kitchen-sink


text:
Binary Search Tree

Submission Title
Binary Search Tree
Submission Type
Data Structure
Submission Description
Implementing Binary Search Tree in any given language
Contributors

[ ]  C++ -
[ ]  C -
[ ]  Python -
[x] Java -
[ ] JavaScript -
[ ] Golang -

I'd like to implement this in Python. Can I get assigned for that?

I would like to implement BST in C++. Can I?

Alright. PR submitted.

I would like to implement this in c++. Kindly assign me this.

thanks @GGolfz :v:


text:
Implementation Dynamic Stack and Static Stack.

Assigned Issue
#74
Have you read the Contributing Guidelines?
Yes
Files Affected ?
Data_Structures/Stacks/README.md
Data_Structures/Stacks/StackDynamic.java
Data_Structures/Stacks/StackStatic.java
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.

Implementation Dynamic Stack and Static Stack in language Java

thanks @jytaloramon

authors: ahampriyanshu jytaloramon


text:
Adapt image of Weibull distribution to 3-parameter and new variable names

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] code improvement request

Expected behavior
How should it work (with the bug fixed or the feature implemented)?
The image of the Weibull distribution should correspond to the equation of the probability density function.
Screenshot
Actual behavior
How does it currently work (with the bug causing problems or without the feature)?
Currently it shows only two parameters and these parameters are named differently.
Screenshot

Steps to reproduce the problem (how to see the actual behavior)

Go to enter a probabilistic model directly.
See what is shown on the screenshot.

Done:

repo: ahaselsteiner/viroconweb


text:
Fixed Readme Typos

Just a couple of typo fixes.
Cheers,
Jeff

Thanks! :beers:

repo: aheckmann/mquery


text:
How to meassure size of object and how to add new vehicle

Hi sir its me again :)
can you teach me how to get size of object and how to add new vehicle like motorcycle and big truck.
thank you for your email respons

I think we can meassure the size of object by count width and height of rectangle box. but I dont know how to do it, can someone teach me?

The current model (ssd_mobilenet_v1_coco_2017_11_17) capable to detect motocycles, trucks or any other objects that are determined in this list. Just change the source video and see the result! If you are not satisfied from the detection accuracy, you can use another models or you can think to fine-tune the models with your specific image data.
You can use "right", "left", "top", "bottom" variables to calculate:

bounding box (object) perimeter: (2*(bottom-top) + 2*(right-left))

bounding box (object) area: ((bottom-top)*(right-left))

and you can reach these variables from there or there but you should work on in to predict size of the objects and it would be great to get pull request from you after you develop object size prediction algorithm to improve this open source project and make its impact big!

authors: ahmetozlu zaldwis


text:
nginx-mainline-mod-lua build failed caused by quote marks in nginx -V

My nginx -V outputs
nginx version: nginx/1.25.0
built with OpenSSL 3.0.8 7 Feb 2023
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/bin/nginx --pid-path=/run/nginx.pid --lock-path=/run/lock/nginx.lock --user=http --group=http --http-log-path=/var/log/nginx/access.log --error-log-path=stderr --http-client-body-temp-path=/var/lib/nginx/client-body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-cc-opt='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/nginx-mainline/src=/usr/src/debug/nginx-mainline -flto=auto' --with-ld-opt='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto' --with-compat --with-debug --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_degradation_module --with-http_flv_module --with-http_geoip_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-mail --with-mail_ssl_module --with-pcre-jit --with-stream --with-stream_geoip_module --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads

Apparently, the  quote marks in --with-cc-opt get stripped when going through the printf line in https://github.com/ahmubashshir/pkgbuilds/blob/7b6b4e024ca1a04825e5ce7e023d9a9ac4d23c0c/nginx-mainline-mod-lua/PKGBUILD#L37-L42 and confused nginx/configure.
A quick workaround is to change this block to
	nginx -V 2>&1 |
		grep -o -- '--prefix=.*$' |
		sed '/--with-ld-opt=/{s/-Wl,/\0-E,/;s/-Wl,/-lpcre \0/}' |
		xargs /usr/src/nginx/configure \
			--add-dynamic-module=../$_modname-nginx-module-$pkgver

Can you try this patch?
diff --git a/nginx-mainline-mod-lua/PKGBUILD b/nginx-mainline-mod-lua/PKGBUILD
index 9152885..0327488 100644
--- a/nginx-mainline-mod-lua/PKGBUILD
+++ b/nginx-mainline-mod-lua/PKGBUILD
@@ -36,9 +36,9 @@ build() {
 	export LUAJIT_LIB=$(pkg-config luajit --variable=libdir)
 	nginx -V 2>&1 |
 		grep -o -- '--prefix=.*$' |
-		xargs printf '%s\n' |
-		sed '/^--with-ld-opt=/{s/-Wl,/\0-E,/;s/-Wl,/-lpcre \0/}' |
-		xargs /usr/src/nginx/configure \
+		xargs printf '%s\0' |
+		sed -z '/^--with-ld-opt=/{s/-Wl,/\0-E,/;s/-Wl,/-lpcre \0/}' |
+		xargs -0 /usr/src/nginx/configure \
 			--add-dynamic-module=../$_modname-nginx-module-$pkgver
 	make modules
 }

Yes, it works!

The regex in https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nginx-mainline-mod-http-xslt-filter also works:
sed -nE 's/^configure arguments: ([^\n]*)$/\1/p' |
sed -nE 's/([^'"'"' \t\n]+('"'"'([^'"'"'\]|\\'"'"'?)*'"'"'|"([^"\\]|\\"?)*")?) ?/\1\n/gp')

authors: TerryGeng ahmubashshir

repo: ahmubashshir/pkgbuilds

license: Unlicense


text:
🛑 NAS is down

In 048ebd7, NAS (https://nas.hurtauda.fr) was down:

HTTP code: 502
Response time: 483 ms

Resolved: NAS is back up in 749a685 after 22 minutes.

repo: ahurtaud/upptime


text:
fix: added missing packages to tsup configs' externals

Relates to:
preparing the project with sh scripts/start.sh
Risks
LOW
I don't foresee any risks
Background
When I run sh scripts/start.sh, I get errors about some packages not being able to be resolved, this seems to be the solution.
What does this PR do?
Adds the missing packages to tsup confgs' externals so that they can be resolved.
What kind of change is this?
Bug fix
Why are we doing this? Any context or related work?
Issue with starting to work with the codebase
Documentation changes needed?
My changes do not require a change to the project documentation.
Testing
I ran sh scripts/start.sh until it didn't produce errors in the building stage.
Where should a reviewer start?
This is pretty small and manageable.
Detailed testing steps
None, automtated tests are fine.
Discord username
massivefermion

LGTM!

authors: massivefermion monilpat


text:
chore(main): release 2.1.0

:robot: I have created a release beep boop
2.1.0 (2024-05-13)
Features

ModuleDetail: add report issue button (#87) (9c2a0f4)

Bug Fixes

style: Snackbar colors #84 (9d79362)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ai4os/ai4-dashboard/releases/tag/v2.1.0 :sunflower:


text:
chore(main): release 1.26.25

:robot: I have created a release beep boop
1.26.25 (2023-10-07)
Bug Fixes

add len (cc86383)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.26.25 :sunflower:

repo: aidanaden/canvas-sync


text:
Feature Request: Explosives

ICBM isn't being updated and us voltz fans could use some actually working explosives at 1.7.10
I think Mining explosives or building explosives, or animal explosives are just dumb. Please only allow the antimatter explosive to go past MFFS force fields. I love mekanism and all mods that are like it, but some have been abandoned and aren't getting updated to 1.7.10. We are just so sad to have to keep playing Voltz at 1.5.2. it would be great to be able to play it at 1.7.10 with mekanism.
1). Antimatter: Destroys everything. Not Bedrock,
2). Nuclear: Half as strong as antimatter, but leaves Radiation.
3). Fusion Reactor: Produces a byproduct, Used to create Antimatter.
4). Small Nuclear Explosive: Half as strong as Nuclear, doesn't leave radiation or for a short while.
5). Sonic explosive: as strong as 5xtnt, launches blocks in all directions.
6). dynamite sticks/grenades: half as strong as Explosives.
7). Config to remove explosives.

I've already been considering this - @calclavia and I actually spoke a few weeks ago about perhaps me updating ICBM to the latest version.  Closing, but know that it is being considered :)

authors: Badcholo aidancbrady

repo: aidancbrady/Mekanism


text:
Question about my Addon

Hey Aidan,
I want to ask if you have recived my mail. If so, or even if not, pls contact my in Skype.
In addition:
1.7.10: https://github.com/chaos234/MekanismAdditions/tree/1.7.10
1.10.2: https://github.com/chaos234/MekanismAdditions/tree/1.10.2
It is still hard to contact you without writing you a "issue".

Push

Push

Push

Closing- 1.11 is now the only supported Mekanism release.  I hope your addon is coming well!

Ok, I'll look on it soon.
Gesendet mit BlueMail
Am 31. Mai 2017, 18:02, um 18:02, Aidan notifications@github.com schrieb:

Closing- 1.11 is now the only supported Mekanism release.  I hope your
addon is coming well!
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/aidancbrady/Mekanism/issues/3908#issuecomment-305234616


text:
[1.12.2] Chisels & Bits covers cause an instant crash

Issue description:
Attempting to place a Chisels & Bits (MCMultiPart) cover onto a Mekanism gas pipe instantly crashes the game. Mousing over the pipe while holding a cover will also crash.
Interestingly, it does still place the cover; once you load up the game the cover will be in place and working normally.
In some cases, a crash while looking at a pipe will lock you out of a world, as when you load in you'll still be looking at the pipe and you will instantly crash again.
Steps to reproduce:
Tested only in singleplayer.

Place Mekanism gas pipe (untested with other pipes)
Craft a Chisel & Bits cover using a Diamond Saw (tested only with thinnest panel made of obsidian)
Place onto or look at gas pipe while holding the cover.

Version (make sure you are on the latest version before reporting):
Forge: 14.23.0.2512
Mekanism: 9.4.1.326
Other relevant version: Chisel & Bits 0.0.14.18, MCMultiPart 2.3.3
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
Placement crash log: https://pastebin.com/gaJh8eQa
Mouseover crash log: https://pastebin.com/ThbcuvZC

both are C&B issues. Please report to them

It's possible this is entirely coincidental and unrelated, but part of your described crash sounds kind of similar to the crash I was running into with Tinkers.  No effect on the server, crash occurs when moving/placing the problematic item, and game works okay with item in place after restarting.  https://github.com/aidancbrady/Mekanism/issues/4798.  From your mod versions and crashlogs, it sounds like there it a good chance that you may also have been running All the Mods 3.
Buggy123, is there any chance you could test to see if editing config/forge.cfg and setting B:alwaysSetupTerrainOffThread=false fixes your crash?  Sorry if this is unrelated, but if this is a broader issue affecting a few sorts of things, then that would be nice to confirm.

No, it is a very different cause.

authors: Alphanos Buggy123 thiakil


text:
docs: fix grammar

Please describe the changes this PR makes and why it should be merged:
Fixes grammar issues in How does it work? docs' section
Status

[x] Code changes have been tested against prettier, or there are no code changes
[x] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[ ] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[ ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[x] This PR only includes non-code changes, like changes to documentation, README, etc.

LGTM, thank you!

authors: aidenybai kubaprzetakiewicz

repo: aidenybai/million


text:
Change precedence of pipe and equality

What Git revision are you using?
aiken v1.0.16-alpha
What operating system are you using, and which version?
nixos
Describe what the problem is?
fixity / precedence of == and |> is could be sensible  but isnt
x |> f == y

errors in aiken
What should be the expected behavior?
x |> f == y

to make sense in aiken

I'm not certain this is incorrect. You use the word sensible but what does that even mean in this context?

Currently
{ x |> f == y } == { x |> (f == y) }

which I can't see how it would ever make sense.  For example  [] |> (length == 0)  isn't valid.
But  (x |> f) == y is, I would say, sensible.

that sounds reasonable to me

|> should have the lowest precedence of all indeed. That's also how it works in Elm, F# or Elixir for example. And it ought to be like that too in Aiken. So we should likely revise the parser on that area 🤔.

Great
I think so.

a + 2
|> add_one
|> add_one

what's the correct precedence here?
or for this
a == 2
|> foo
|> bar

I think this is actually correct. What we have already works like elm it seems cc @KtorZ

authors: CryptoSnowPrince KtorZ rvcas waalge

repo: aiken-lang/aiken


text:
TypeScript 3.6 Compatibility issue

Example code
fsa-issue.zip
$ unzip fsa-issue.zip
$ cd fsa-issue
$ npm install
$ npm test

> fsa-issue@ test /Users/septs/Projects/fsa-issue
> tsc --noEmit

issue.ts:8:6 - error TS2345: Argument of type '{ (payload: Success<unknown, void>, meta?: { [key: string]: any; } | null | undefined): Action<Success<unknown, void>>; type: string; match: (action: AnyAction) => action is Action<Success<unknown, void>>; }' is not assignable to parameter of type 'ActionCreator<void>'.
  Type '{ (payload: Success<unknown, void>, meta?: { [key: string]: any; } | null | undefined): Action<Success<unknown, void>>; type: string; match: (action: AnyAction) => action is Action<Success<unknown, void>>; }' is not assignable to type '{ (payload: void, meta?: { [key: string]: any; } | null | undefined): Action<void>; type: string; match: (action: AnyAction) => action is Action<void>; }'.
    Types of property 'match' are incompatible.
      Type '(action: AnyAction) => action is Action<Success<unknown, void>>' is not assignable to type '(action: AnyAction) => action is Action<void>'.
        Type predicate 'action is Action<Success<unknown, void>>' is not assignable to 'action is Action<void>'.
          Type 'Action<Success<unknown, void>>' is not assignable to type 'Action<void>'.
            Type 'Success<unknown, void>' is not assignable to type 'void'.
              Type '{ params: unknown; } & { result: void; }' is not assignable to type 'void'.

8 test(async.done)

npm ERR! Test failed.  See above for more details.

Why void with Result?
typescript-fsa-redux-thunk in NO RETURN async procedure
const doThing = createAsyncAction("DO_THING", async () => { return; });

// doThing.async.done
// The result of the reasoning type is:
//      Action<Success<unknown, void>>

see xdave/typescript-fsa-redux-thunk#17
see xdave/typescript-fsa-redux-thunk#14

Payloads of async action creators always carry params with them. So if the result of async job is void, the payload of the done action would look like {params: ...}.
The code you sent compiles fine if you change the definition of test to
declare function test(creator: ActionCreator<Success<unknown, void>>): void;

https://github.com/xdave/typescript-fsa-redux-thunk/issues/17#issuecomment-531446038

authors: aikoven septs

repo: aikoven/typescript-fsa


text:
Skip-login bug

Hi @airavata-courses/team-rocket ,
I was able to skip login for your application. Could you please take a look.

Is this the case with two different tabs or were you able to skip the login completely?

I logged in once and was able to use the dashboard URL to access the app again in a new session without logging in.

Once you login to the application and open the dashboard in new tab, you will be able to access the music player and other features of the application.
Currently, we did not implement logout feature, once we implement that feature will consider this scenario.

Fixed this issue. You can check the commit here

Hey! The Authentication worked well.
I will close this issue for now.

authors: ATarfe morparia-p sairohithA007

repo: airavata-courses/Team-Rocket


text:
Add Point function, so that string feature can use it instead of line…

…ar function
@deerzq @saurfang

LGTM

authors: deerzq jq

repo: airbnb/aerosolve


text:
Spawning phantomjs bat fails

In some cases testem tries to spawn phantomjs.bat, which doesn't work https://github.com/ember-cli/ember-cli/issues/3480
Investigate using https://www.npmjs.com/package/cross-spawn or something equal to fix this.

Sadly installing phantomjs via npm install -g phantomjs on Windows generates a bat file, which is triggering this issue.

repo: airportyh/testem


text:
[67] Add option to decrypt and verify with explicit decrypters and verifiers

Resolves #67. This should help protect against this attack where an attacker changes the algorithm in the header of a JWS, forcing libraries to validate the JWS signature using a wrong algorithm.
Now the user can explicitly state which algorithm is used to verify the signature by providing a Verifier not just a key.
For consistency, I added the same for JWE decryption.
API Changes
JWS
The following validation functions got deprecated
func isValid<KeyType>(for publicKey: KeyType) -> Bool
func validate<KeyType>(with publicKey: KeyType) throws -> JWS

in favor of
func isValid(for verifier: Verifier) -> Bool
func validate(using verifier: Verifier) throws -> JWS

JWE
The following decryption function got deprecated
func decrypt<KeyType>(with key: KeyType) throws -> Payload

in favor of
func decrypt(using decrypter: Decrypter) throws -> Payload

I updated the documentation in the readme accordingly. The wiki needs to be updated. See #93.

Thanks for reviewing @gigi-mohemian. I addressed your feedback.

repo: airsidemobile/JOSESwift


text:
Add Swift sample app

First step toward rewriting the SDK in Swift.
The goals were

Avoid touching the SDK itself (too much). This will come later when we rewrite it. A couple of convenience initialisers have been added for some of the objects (eg AWXPlaceDetails) so clients don't need to pass in raw dictionaries (Swift authors are probably using Codable, after all). Codable conformance of these SDK objects will be the top of the list of things added in the eventual rewrite.
Simplify the UI. It was unclear before what settings were actually required and which were configuration options. The create a customer button was also buried - this has been removed and is now automatic.
Simplify the sample implementation so it can be understood by mere mortals. The Objective-C sample app is impossible to follow, so I've tried to clean it up as much as possible. Airwallex's recommendation is to move the payment intent/client secret implementation to a server so there's far more logic in this app than there ideally would be, but at least it's somewhat clear what clients need to do now.
The old sample app included some additional testing features for redirection and WeChat, but aren't things that a customer would need to build themselves and appear to have been used by the previous developer. These have not been transferred over.
The old Keys file contained properties which weren't used. This has been cleaned up.

Nice work!

authors: JinW-Airwallex jarrodrobins

repo: airwallex/airwallex-payment-ios


text:
"2.2.1-rc.4"版本 Cell 一直有文字false，要强制赋值value=“”才没有

版本:"vux": "2.2.1-rc.4",
组件:Cell
问题：
更新到2.2.1-rc.4 后，cell组件右边全自带一个false展示 要每个设置 value=“”才可以 ，

昨晚发布失误，没有先合并代码。请更新到 rc.5。

authors: airyland huangzhenxian

repo: airyland/vux


text:
组件重复打包，vux组件如何单独打包

Version
"vux": "^2.2.0"
Android or iOS
不涉及
Your Codes
业务组件有用到scroller, 业务组件中引入代码：
import {
  Scroller,
  Swiper,
  SwiperItem,
  Group,
  Cell,
  CellBox,
  Flexbox,
  FlexboxItem
} from 'vux'

每个业务组件引用到的vux组件都单独打包到业务组件了。这样明显加大了包大小。怎么样才能把那些共用的vux组件打成一个独立包？谢谢！

通过在main.js里注册成全局组件解决了。

是的，code split 会导致不同路由依赖重复打包。3.0 将优化成无声明使用自动全局注册使用多次的组件。

up一人吃力

authors: airyland cjq38679093 shanjixiaboss


text:
reader: if set, only pass through messages that match searches

If searches have been defined for a given reader, only pass through messages that match those searches to senders. This allows one to output a selection of the captured messages to readers.
Previous behavior of passing full incoming stream and doing stats on searches can be accomplished by configuring two readers the searches on the first and the senders on the latter.

There is a bunch of gcc warnings-as-errors failures in the jobs. Travis has probably started offering more strict compilation options by detault?
build/temp.linux-x86_64-3.6/systemd/_daemon.o -Werror=implicit-function-declaration
    systemd/_daemon.c: In function ‘notify’:
    systemd/_daemon.c:79:28: warning: variable ‘n_fds’ set but not used [-Wunused-but-set-variable]
             int unset = false, n_fds;
                                ^
    systemd/_daemon.c: In function ‘free_names’:
    systemd/_daemon.c:215:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
             for (char **n = names; *n != NULL; n++)
             ^
    systemd/_daemon.c:215:9: note: use option -std=c99 or -std=gnu99 to compile your code
    systemd/_daemon.c: In function ‘listen_fds_with_names’:
    systemd/_daemon.c:223:25: warning: unused variable ‘item’ [-Wunused-variable]
             PyObject *tpl, *item;
                             ^
    systemd/_daemon.c:223:19: warning: unused variable ‘tpl’ [-Wunused-variable]
             PyObject *tpl, *item;
                       ^
    systemd/_daemon.c:222:16: warning: unused variable ‘names’ [-Wunused-variable]
             char **names = NULL;
                    ^
    systemd/_daemon.c:220:13: warning: unused variable ‘r’ [-Wunused-variable]
             int r;
                 ^
    systemd/_daemon.c: At top level:
    systemd/_daemon.c:212:13: warning: ‘free_names’ defined but not used [-Wunused-function]
     static void free_names(char **names) {
                 ^
    error: command 'gcc' failed with exit status 1

Build on newer Ubuntu target is successful

authors: hnousiainen melor

repo: aiven/journalpump


text:
Can't import existing datadog service integration

What happened?
When attempting to import any existing datadog service integration, I receive the following error:
terraform import module.app.module.databases.aiven_service_integration.pg_reporting_datadog_integration <my project>/<my id>

Error: cannot copy api response into terraform schema: Invalid address to set: []string{"datadog_user_config"}

Other service integrations can be imported just fine.
What did you expect to happen?
Expect to be able to successfully import existing datadog service integrations
What else do we need to know?
terraform --version
Terraform v1.2.8
on darwin_arm64
+ provider registry.terraform.io/aiven/aiven v3.5.1
+ provider registry.terraform.io/cyrilgdn/postgresql v1.14.0
+ provider registry.terraform.io/datadog/datadog v3.14.0
+ provider registry.terraform.io/hashicorp/aws v4.28.0
+ provider registry.terraform.io/hashicorp/external v2.1.0
+ provider registry.terraform.io/hashicorp/google v4.34.0
+ provider registry.terraform.io/hashicorp/google-beta v4.34.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/strongdm/sdm v3.2.1

Hi @victorcatalyst!
Could you kindly share more details or probably you tf file (wo sensitive data) please?
This page might help with knowing "what's going on" https://www.terraform.io/internals/debugging
Or you can update provider to the latest version (v3.6.0) and try again.
Thanks!

Awesome, great news. Ill upgrade to the next build and try this out

authors: byashimov victorcatalyst

repo: aiven/terraform-provider-aiven


text:
🛑 MALTA is down

In b62c6ee, MALTA (https://www.bricks4kidz.mt) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MALTA is back up in a84a8db.


text:
Merge pull request #4 from ajnabee22/master

updated

merged

merged


text:
Footer is now at the end of the page

Footer is now at the end of the page

#4

@Bhargavamacha Can you fix the conflicts due to a recent merge?

sure

Done

Can you close all the Pull Requests?

@Bhargavamacha the conflicts are up again :(

resolved

Thank you for your contribution @Bhargavamacha
🌟 the repository to stay in the loop for further developments here

authors: 20Koen02 Bhargavamacha ajwad-shaikh

repo: ajwad-shaikh/BusKaro


text:
いいところ診断の結果に優しさを追加したい

以下の結果を追加したい
'{userName}のいいところは優しさです。あなたの優しい雰囲気や立ち振る舞いに多くの人が癒されてます。'

これから対応します。


text:
Installing via setup.py introduces openssl error

There is something wrong with how setup.py is configured. I followed the instructions in the documentation but get an error when running python diagnostic_tools.py:
(akamai) $ python --version
Python 2.7.12
(akamai) $ python -c 'import ssl;print ssl.OPENSSL_VERSION'
OpenSSL 1.0.2h  3 May 2016
(akamai) $ cd api-kickstart/examples/python/tools
(akamai) $ python setup.py install
...
(akamai) $ python diagnostic_tools.py
...
RuntimeError: You are linking against OpenSSL 0.9.8, which is no longer support by the OpenSSL project. You need to upgrade to a newer version of OpenSSL.

However, when I install the dependencies one by one, I do not get the error above:
(akam) $ python --version
Python 2.7.12
(akam) $ python -c 'import ssl;print ssl.OPENSSL_VERSION'
OpenSSL 1.0.2h  3 May 2016
(akam) $ pip install requests
(akam) $ pip install edgegrid-python
(akam) $ python diagnostic_tools.py
...
...
Requesting locations that support the diagnostic-tools API.

There are xx locations that can run dig in the Akamai Network
We will make our call from xx, xx
...

Both examples above were made using different virtualenvs

This is probably more helpful:
https://github.com/pyca/cryptography/issues/3043

Closing as I can't reproduce - if you get more info please let me know!

authors: jeunito synedra

repo: akamai-open/api-kickstart


text:
PyangBind gNMI Config set with pygNMI

the files contain example of generating the config via pyangbind by creating json bindings and applying the same on the device.
the code is tested and validated on Cisco IOS XR device

Hello @apathak1990 ,
thanks a look, it does look good.
Best,
Anton

repo: akarneliuk/pygnmi


text:
Make Gradlew executable by default

That way also everyone else can run it locally.
#1 would need to merged first since the code does not compile.

Thanks, I didn't know how to do it from Windows and Eclipse.

Current coverage is 100% (diff: 100%)

Merging #2 into master will not change coverage

@@           master    #2   diff @@
===================================
  Files           8     8
  Lines         188   188
  Methods         0     0
  Messages        0     0
  Branches        9     9
===================================
  Hits          188   188
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update b79f72a...236d2f4

authors: akarnokd codecov-io vanniktech


text:
Akashic公式ページ更新

※本PRは自動生成されたものです

より新しいものをマージしたためクローズ。


text:
MAPDL RPC client requesting shutdown

I experience that ANSYS suddenly shuts down prematurely with this message in the error log:

MAPDL RPC client requesting shutdown...

It might be due to a license issue. In fact I have the licenses I need, though I'm not able to specify the license to PyAnsys. When using ANSYS from the command line I would use the -p option to specify a product name. I have tried to use the additional_swithes option for this, but without success. It look like the additional_switches setting is ignored.

I'll debug the additional switches parameter shortly

Fixed in 0.32.3

After upgrading to 0.32.3, I get this error:
TypeError: OpenCorba() takes 3 positional arguments but 4 were given

The OS is Windows 8.1. Sorry, but I don't have time to reproduce the traceback at the moment. It's not really urgent for me - I made some monkey-patching to work around the problem.

authors: akaszynski finngl

repo: akaszynski/pyansys


text:
add IsVisible property to columns

Tested this change with the Xamarin.Forms version only.

Good thinking, but one thing is missing: if user bind IsVisible to a property and change it in runtime it will not update :( we have to redraw the whole datagrid

Is this better?

What about now?

authors: akgulebubekir symbiogenesis


text:
Add screenshots to README

README needs some screenshots!

repo: akhilstanislavose/Reforce


text:
Request get, not post.

Post doesn't work here.

sry that file is auto generated file
https://github.com/aki017/slack-ruby-gem/pull/19/files#diff-ad8b1489f746c6d013cf6bcb88219ea4L1

Generated from what?  Can it be patched somewhere else?

That line is generated from this erb
https://github.com/aki017/slack-ruby-gem/blob/ba586e04380d77be9aea0ec8e45ed8d2b3cc033f/lib/generators/templates/method.rb.erb#L23

If I put a patch in to that generator for this special case will you accept it?  Do a get if it's that particular method.

we can use post.

Did they change the API?

maybe changed


text:
Markdown preview doesn’t work on MacOS

When I open a markdown file using goneovim then type :GonvimMarkdown it say's command not found

hi, thanks for this issue.
The markdown preview feature was removed in v0.5.0 due to difficulty in maintenance.
We may re-add the feature in v0.6.0 if more than a few people wish to use it, but the fact is that it is currently unavailable.
If you have any suggestions, I would like to hear them.
v0.5.0 release note:
https://github.com/akiyosi/goneovim/releases/tag/v0.5.0

I really like this feature and will be really excited if can re-add! Some times I use vimwik and  type mathjax equations , And if's possible to change preview background and font color will be nice, like below Right side it's zathura

I found a temporary solution on vimr not sure if this can help,But I'm really looking forward goneovim can support embedded markdown preview, goneovim is the most powerful and fast vim gui I ever found ! I will keep using it as my main development tool

@sigma2647
Thx!
My current idea is not the previous markdown preview of Goneovim, but a different direction.
The previous markdown preview feature was essentially like having a small browser inside Goneovim, and had significant limitations in development.
My current plan is to implement the markdown preview feature as a front-end to a plugin created by yatli.
https://github.com/yatli/gui-widgets.nvim
This uses Neovim's ext_mark feature, which is scalable and does not require a small browser, so it looks attractive.

Indeed pervious markdown preview it has some limitations like can't change css style etc . Your plan is right ! Thank you

repo: akiyosi/goneovim


text:
WithSingleton extension method ignores singleton name specified in Akka HOCON

When we create singletons without using Akka.Hosting extensions, the actual singleton actor has path //user/my_singleton_name/singleton, i.e. if the name for a singleton manager actor is "my_singleton_name", then the singleton instance is created with "singleton" name, as specified in HOCON (akka.cluster.singleton.singleton-name). And this is correct behavior. However, when using Akka.Hosting WithSingleton extension, the singleton actor path becomes //user/my_singleton_name/my_singleton_name.
I believe the name gets overridden in this code (AkkaClusterHostingExtensions.cs):
                options ??= new ClusterSingletonOptions();
                var clusterSingletonManagerSettings =
                    ClusterSingletonManagerSettings.Create(system).WithSingletonName(singletonName);

First ClusterSingletonManagerSettings.Create(system) creates settings from akka.cluster.singleton config, but then the call to WithSingletonName(singletonName) overrides the value provided in akka.cluster.singleton.singleton-name, so the singleton path contains  the singleton basename (like my_singleton_name) twice instead of the base name with "/singleton" suffix.

The error can be reproduced by debugging Should_launch_ClusterSingletonAndProxy test from Akka.Cluster.Hosting.Tests project. The singleton actor has path akka://TestSys/user/my-singleton/my-singleton, and not akka://TestSys/user/my-singleton/singleton

@object I'll take a look at this now

So I take it that this comes up as you're migrating a HOCON-based application to Akka.Hosting?

Yes, and if a cluster consists of both classic Akka.Hosting nodes, the
communication between then is broken because classic nodes assumes path
my-singleton/singleton and the new ones use my-singleton/my-singleton.
On Wed, Nov 6, 2024, 20:06 Aaron Stannard @.***> wrote:

So I take it that this comes up as you're migrating a HOCON-based
application to Akka.Hosting?
—
Reply to this email directly, view it on GitHub
https://github.com/akkadotnet/Akka.Hosting/issues/509#issuecomment-2460559305,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5RXSPYECREAXBJ6LJQZDZ7JSDJAVCNFSM6AAAAABRINZ63SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQGU2TSMZQGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Got it - so this will introduce a temporary breakage for users who are using 100% Akka.Hosting, so I think a good compromise would be allowing the singleton name to be explicitly specified in the Akka.Hosting settings with the default value staying as-is for now. That way we don't break things for users who aren't running into any problems right now.
So to be specific, we would just need to add a name property to ClusterSingletonOptions:
    public sealed class ClusterSingletonOptions
    {
        ///
        ///     <para>
        ///         The number of messages <see cref="ClusterSingletonProxy"/> will buffer when the cluster singleton
        ///         location is unknown. Older messages will be dropped on buffer overflow. Setting this property to 0
        ///         will disable the buffer.
        ///     </para>
        ///     Valid values: 0 - 10000

        ///     Default: 1000
        ///
        public int? BufferSize { get; set; } = null;

        ///
        /// If set, the singleton will only be instantiated on nodes set with the role name.
        ///
        public string? Role { get; set; }

        ///
        /// When handing over to a new oldest node this <see cref="TerminationMessage"/> is sent to the singleton actor
        /// to tell it to finish its work, close resources, and stop. The hand-over to the new oldest node
        /// is completed when the singleton actor is terminated. Note that <see cref="PoisonPill"/> is a
        /// perfectly fine <see cref="TerminationMessage"/> if you only need to stop the actor.
        ///
        public object? TerminationMessage { get; set; }

        ///
        /// An class instance that extends <see cref="LeaseOptionBase"/>, used to configure the lease provider used in this
        /// cluster singleton.
        ///
        public LeaseOptionBase? LeaseImplementation { get; set; }

        ///
        /// The interval between retries for acquiring the lease
        ///
        public TimeSpan? LeaseRetryInterval { get; set; }

        // NEW PROPERTY
       public string? SingletonName {get;set;}
    }

If this property is null, we will default to the current value (to reuse the name of the singleton manager) - but if this property is specified we will use that instead. I agree it would have been preferable to just default to the value specified in HOCON but we missed that design mistake when we shipped Akka.Hosting - so our goose is kind of cooked there. But, in order to satisfy everyone, does this seem like a reasonable compromise?

A couple of thoughts.

I think adding a property SingletonName is a good thing because it corresponds to a HOCON key in akka.cluster.singleton section, similar to other entries, like LeaseRetryInterval  or Role.
I see why you want to choose the default behavior to be compatible with the current behavior of Akka.Hosting, but bear in mind that current version of Akka.Hosting is incompatible with the classic defaults so whoever starts migrating the code to use Akka.Hosting may experience same problem like I did. And you don't need to mix old and new nodes to hit this problem - as long as you create a singleton proxy by calling directly Cluster.Tools.Singleton methods instead of using extension method WithSingletonProxy, the proxy and the singleton will not communicate. In addition, choosing for the default behavior the instance path like "//users/basename/basename" prioritizes incorrect naming, and sets it as the perpetual choice for the library.

Having said that, I lack your knowledge of usage of the library, so you know the best what use cases you want to protect. But can it be worth introducing SingletonName in two stages? First, with the semantics that you proposed, compatible with the current Akka.Hosting implementation, and in a later version announcing that when the property is null, it will default to the HOCON value, so the behavior will be eventually corrected (and correspond to its Akka JVM counterpart)? Perhaps this is too much ado for little, I am just trying to list all possibilites.

@object
A question, when you created your ClusterSingletonManager and ClusterSingletonProxy, did you use the built-in ClusterSingleton.Init() method, or did you use the ClusterSingletonManager.Props and ClusterSingletonProxy.Props directly with ActorSystem.ActorOf()?

@object Here's the PR to fix the issue: https://github.com/akkadotnet/Akka.Hosting/pull/520

@object A question, when you created your ClusterSingletonManager and ClusterSingletonProxy, did you use the built-in ClusterSingleton.Init() method, or did you use the ClusterSingletonManager.Props and ClusterSingletonProxy.Props directly with ActorSystem.ActorOf()?

I didn't use ClusterSingleton.Init()

authors: Aaronontheweb Arkatufus object


text:
I plan to use YOLOv8 to do Facial Expression Detection with 5 classes ['anger', 'fear', 'happy', 'neutral', 'sad'] for GSSoC'24

Is your feature request related to a problem? Please describe.
Yes it is related to the Face Emotion Recognition
Describe the solution you'd like
I will use YOLOv8 on a dataset of 1000+ images, I have the dataset already, I just need to annotate it.
And then use YOLOv8. I can also make it run in Realtime with a Web Camera.
Describe alternatives you've considered
ANN and CNN can also be used but they are much slower compared to YOLO
Additional context
I have already worked on Face detection with YOLO under the FACE-X repo and I did a level 2 problem(issue 1767).
Thank You
GSSoC'24

@akshitagupta15june I would like to work on it if possible

@akshitagupta15june mam !
I would like to solve this issue I'm GSSOC24 contributer. Can u please give me a chance to solve this issue mam

@akshitagupta15june can u assign me this issue under GSSOC24

@akshitagupta15june mam !
I would like to solve this issue I'm GSSOC24 contributer. Can u please give me a chance to solve this issue

authors: aryanchauh beingtony utsabsamadder


text:
Deep Link implementation

Hello,
I configure my app with https://reactnative.dev/docs/linking and it's open with link.
But I don't understand one thing. How configure the RNRF to work with linking ?
I check the documentation and I use uriPrefix to router and path to the scene but it requires something else to work ?
I need to use Linking.getInitialUrl() ?

I found why it does not work. The url must be with /. And multiple parameter separate with & doesn't work.

I found why it does not work. The url must be with /. And multiple parameter separate with & doesn't work.

repo: aksonov/react-native-router-flux


text:
With router-flux: Tab re-renders one more time

Using:
react-native-router-flux@3.36.0
react-native-tabs@1.0.9
react-native@0.35.0
react@15.3.2

Description:

start app, renders tab "Feed" initially
switch to "Tab #2" and then back to "Feed" - this re-renders tab "Feed"
switching to second and back to initial tab does not re-render tab "Feed" again

I expect tabs to not re-render, but I think this is caused by tab 2 being rendered after clicked (and forces tab 1 to re-render as well). Is there an option to automatically render all tabs at start? Or is this behavior caused by something else? I've attached all that might be helpful, sorry if this post is very long.
Scenes:
//...
class AppNavigator extends React.Component
{
    render()
    {
        return <RouterWithRedux>
            <Scene key="root" style={{backgroundColor: 'yellow'}}>
                <Scene open={false} component={Drawer} key="drawer" sceneStyle={[AppStyle.sceneTab, {borderWidth: 1, borderColor: 'red'}]}>
                    <Scene key="main" tabs initial={true} tabBarStyle={{backgroundColor: 'rgba(0,0,0,.4)', borderWidth: 1, borderColor: 'blue'}}>
                        <Scene key="main_back" onPress={() => Actions.pop()} title="Back" icon={TabIcon} />

                        <Scene key="Page1" title="Feed" icon={TabIcon} initial={true} sceneStyle={{borderWidth: 1, borderColor: 'green'}}>
                            <Scene key="Feed" component={Scenes.Page1} hideNavBar={true} initial={true} sceneStyle={{borderWidth: 1, borderColor: 'yellow', backgroundColor: 'yellow'}} />
                            <Scene key="detail" component={Scenes.Page3} hideNavBar={true} title="PostDetail" />
                        </Scene>

                        <Scene key="Page2" component={Scenes.Page2} hideNavBar={true} title="Tab #2" icon={TabIcon} />
                        <Scene key="open_drawer" title="Drawer" icon={TabIcon} onPress={() => Actions.refresh({key: 'drawer', open: value => !value })} />
                    </Scene>

                    <Scene key="auth" type={ActionConst.REPLACE}>
                        <Scene key="Login" component={Scenes.Login} title="Login" initial={true} />
                        <Scene key="Register" component={Scenes.Register} title="Register" />
                    </Scene>
                </Scene>
            </Scene>
        </RouterWithRedux>
    }
}

function mapDispatchToProps(dispatch)
{
    return bindActionCreators(ActionCreators, dispatch);
}

export default connect((state) => {
    return {}
}, mapDispatchToProps)(AppNavigator);

Page1.js (Feed tab):
//...
class Page1 extends Component
{
    _addRecipe()
    {
        this.props.addRecipe();
    }

    componentDidMount()
    {
        this.props.fetchPosts();
    }

    render()
    {
        console.log('page1props', this.props);

        return <AnimatableScrollView
            animation="fadeIn"
            contentContainerStyle={[ ScrollViewStyle.contentContainerStyle ]}
            style={[ AppStyle.sceneTabInner, ScrollViewStyle.style ]}
        >
            <Animatable.Text animation="zoomIn" style={{color: 'white'}} onPress={Actions.Page2}>
                Page1
            </Animatable.Text>
            <Text onPress={() => this._addRecipe()}>Add recipe</Text>
            <Text>Recipe count: {this.props.recipeCount}</Text>
            <Text style={{marginTop:40}} onPress={() => Actions.auth()}>Goto login</Text>
            {this.props.posts.length > 0 && this.props.posts.map((value, key) => {
                postAnimationDelay += postAnimationIteration;

                return <Animatable.View animation="fadeInUp" delay={postAnimationDelay} duration={300} key={value.id} style={{marginTop: 20}}>
                    <TouchableOpacity onPress={() => Actions.detail({
                        post: value
                    })}>
                        <Text>{value.title}</Text>
                    </TouchableOpacity>
                </Animatable.View>
            })}
            <Text onPress={() => Actions.detail()} style={{marginTop:40}}>asdf</Text>
        </AnimatableScrollView>
    }
}

export default connect((state) => { // state == global state
    return {
        routes: state.routes,
        searchedRecipes: state.searchedRecipes,
        recipeCount: state.recipeCount,
        posts: state.posts
    }
}, (dispatch) => bindActionCreators(ActionCreators, dispatch))(Page1);

Page2.js (Tab #2):
//...
class Page2 extends Component
{
    _removeRecipe()  { this.props.removeRecipe();  }

    render()
    {
        return <View style={{flex: 1, alignItems: 'center', justifyContent: 'center', backgroundColor: 'red'}}>
            <Text style={{color: 'white'}} onPress={Actions.pop}>
                Page2
            </Text>
            <Text onPress={() => this._removeRecipe()}>Remove recipe</Text>
            <Text>Recipe count: {this.props.recipeCount}</Text>
            <Text style={{marginTop:40}} onPress={() => Actions.auth()}>Goto login</Text>
        </View>
    }
}

export default connect((state) => { // state == global state
    return {
        routes: state.routes,
        searchedRecipes: state.searchedRecipes,
        recipeCount: state.recipeCount
    }
}, (dispatch) => bindActionCreators(ActionCreators, dispatch))(Page2);

Console ouput of Demo GIF:
Running application App ({
    initialProps =     {
    };
    rootTag = 1;
})
Running application "App" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
fetching url https://...
 action @ 13:06:08.324 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
 action @ 13:06:08.336 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
 action @ 13:06:08.749 REACT_NATIVE_ROUTER_FLUX_REFRESH
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
 action Object {key: "0_drawer", open: false, type: "REACT_NATIVE_ROUTER_FLUX_REFRESH"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
 action @ 13:06:08.753 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
response Object {limit: 10, offset: 0, data: Array[10], single_result: false}
 action @ 13:06:09.151 SET_POSTS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
 action Object {type: "SET_POSTS", posts: Array[10]}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:38.433 REACT_NATIVE_ROUTER_FLUX_JUMP
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {key: "Page2", type: "REACT_NATIVE_ROUTER_FLUX_JUMP"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:38.438 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:38.469 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:40.121 REACT_NATIVE_ROUTER_FLUX_JUMP
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {key: "Page1", type: "REACT_NATIVE_ROUTER_FLUX_JUMP"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:40.125 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:40.137 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
fetching url https://...
response Object {limit: 10, offset: 0, data: Array[10], single_result: false}
 action @ 13:06:41.602 SET_POSTS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {type: "SET_POSTS", posts: Array[10]}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:50.044 REACT_NATIVE_ROUTER_FLUX_JUMP
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {key: "Page2", type: "REACT_NATIVE_ROUTER_FLUX_JUMP"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:50.048 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:50.062 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:50.919 REACT_NATIVE_ROUTER_FLUX_JUMP
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {key: "Page1", type: "REACT_NATIVE_ROUTER_FLUX_JUMP"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:50.926 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action @ 13:06:50.947 REACT_NATIVE_ROUTER_FLUX_FOCUS
 prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
 action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
 next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}

I'm experiencing exactly the same issue using tabs with react-native-router-flux (I think it uses react-native-tabs): https://github.com/aksonov/react-native-router-flux/issues/1669
Did you found any solution?

I am having the same problem. It was working fine few days back!
Anyone found a solution for this?

This may happen because tab contents gets unmounted when another tab pressed, therefore needs to rerender... It's something I can't accept, think about scroll position that is getting lost when tab changes. I ended up using this:
https://github.com/skv-headless/react-native-scrollable-tab-view
Tabs stays along with each other, so they won't be rerendered. You could also disable swipe and transition so it feels exactly like tabs. Hope this helps you guys as much as it helped me.

@RSSfeed I think the problem was with the version of the module. It somehow breaks after version 3.37.0
I rolled back to version 3.37.0 and now it is working fine like before.

@RSSfeed How to navigate multiple scenes within a tab in react native scrollable tab view?

authors: EmiPC RSSfeed iiitmanikanta vnshgrg

repo: aksonov/react-native-tabs


text:
Feature: progress indicator

I am uploading several hundred megabytes of assets to github. A simple progress bar or completion percentage would be great with the -v option and/or a new -p option.

Workaround using https://github.com/jnweiger/showspeed: run with showspeed --cmd github-release upload ....

I'd be also thankful for considering this feature request. @jnweiger thanks for the showspeed workaround.

Hmm, a general progress indicator is (I think) a bit bloaty. However, you can use - to upload from stdin. To get an idea of the progress:
$ pv < myfile | github-release upload -f- ...

Is this good enough? Please let me know.

@aktau that results in the following error:
error: could not upload, status code (400 Bad Request), msg: Bad Content-Length: , errors:

authors: aktau jnweiger mloskot zacharee

repo: aktau/github-release