text:
Wrong validation of Password field & New Password should be matched with Confirm Password before creating a new User in Payload

Link to reproduction
No response
Payload Version
3.0.0-beta.68
Node Version
v20.15.0
Next.js Version
15.0.0-canary.53
Describe the Bug
I am facing some issues regarding to the New Password & Confirm Password while creating new user in Payload Version 3.0.0-beta.68. Issues are mentioned as below.

When I enter email and leave both New Password & Confirm Password fields blank, it will show a validation error on "Confirm Password" field rather than showing it on "New Password" field.

Once I enter password in New Password field and again leave the Confirm Password field blank and click on "save" button at that time it will save the user without comparison of "New Password" & "Confirm Password".  And it will show "user successfully created."

Reproduction Steps
For Issue 1:

Open the User Collection
Click on 'Create New" at the top
Creating new User" screen will be opened.
Now Enter email and leave both New Password & Confirm Password fields blank, it will show a validation error on "Confirm Password" field rather than showing it on "New Password" field.
It will show a validation error on "Confirm Password" field rather than showing it on "New Password" field.

This issue is shown in below screenshot.

For Issue 2:

Open the User Collection
Click on 'Create New" at the top
Creating new User" screen will be opened.
Now Enter email and New Password. But leave Confirm Password field blank. and click on "save" button as shown in below screenshot 1.
It will save the user without comparison of "New Password" & "Confirm Password".  And it will show "user successfully created." message as shown in below screenshot 2

Adapters and Plugins
No response

Was able to replicate the second issue, but not the first one. Looking into it.

Thanks

Will be fixed in next beta release. Thanks for reporting!

Any Solution ?
Any Update ?

Solution is to update to latest beta.

Thanks

authors: JarrodMFlesch RiteshMRI carlcs

repo: payloadcms/payload


text:
🛑 Departamento is down

In fdf8649, Departamento (http://cca.unb.br/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Departamento is back up in c5697ec after 25 minutes.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Documentation Eueler's Totient

Do the checklist before filing the issue:

[x] Do you have Node.js and all the relevant dev-dependencies installed?
[ ] Is this a bug fix?
[x] Is this an enhancement?
[ ] Is this a feature request?

NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.

Provide a brief description of  M.phi(), you can refer the implementation for the same here.
Also, follow the documentation format followed for other functions such as here.
Make sure to cover the edge cases, as well as the error cases. Add relevant links as well, pertaining to implementation and use of eueler's totient function.
The important thing here is to make user aware of what does this function do, and what is its time complexity.
Here is the issue related to this-
#118

May I work on this!

@Manvityagi you're assigned


text:
failure to start in server mode

hi i like your mod and use it with single player but unable to run it on a fabric server. ive tried it on the last few fabric versions and on 18.1 and 18.2. i specifically tested using just this mod in the mod folder as well adding the last few versions of fabric api. if you have some spare time, would you be able to look into this. i will add my log below this if that helps.
[13:05:59] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.13.3
[13:05:59] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.13.3
[13:05:59] [main/INFO]: Loading 36 mods: - fabric 0.48.0+1.18.2 - fabric-api-base 0.4.4+d7c144a860 via fabric - fabric-api-lookup-api-v1 1.5.7+d7c144a860 via fabric - fabric-biome-api-v1 8.0.3+801ec85b60 via fabric - fabric-command-api-v1 1.1.9+d7c144a860 via fabric - fabric-commands-v0 0.2.8+b4f4f6cd60 via fabric - fabric-containers-v0 0.1.21+d7c144a860 via fabric - fabric-content-registries-v0 3.0.2+d82b939260 via fabric - fabric-crash-report-info-v1 0.1.11+3ac43d9560 via fabric - fabric-dimensions-v1 2.1.17+2540745460 via fabric - fabric-entity-events-v1 1.4.8+d7c144a860 via fabric - fabric-events-interaction-v0 0.4.19+d7c144a860 via fabric - fabric-events-lifecycle-v0 0.2.13+d7c144a860 via fabric - fabric-game-rule-api-v1 1.0.13+d7c144a860 via fabric - fabric-item-api-v1 1.3.3+691a79b560 via fabric - fabric-item-groups-v0 0.3.10+3ac43d9560 via fabric - fabric-lifecycle-events-v1 2.0.2+2540745460 via fabric - fabric-loot-tables-v1 1.0.11+d7c144a860 via fabric - fabric-mining-level-api-v1 2.0.4+d1027f7d60 via fabric - fabric-networking-api-v1 1.0.21+d882b91560 via fabric - fabric-networking-v0 0.3.8+b4f4f6cd60 via fabric - fabric-object-builder-api-v1 2.0.3+40c91ec860 via fabric - fabric-particles-v1 0.2.12+526dc1ac60 via fabric - fabric-registry-sync-v0 0.9.8+0d9ab37260 via fabric - fabric-rendering-data-attachment-v1 0.3.7+d7c144a860 via fabric - fabric-rendering-fluids-v1 2.0.2+54e5b2ec60 via fabric - fabric-resource-conditions-api-v1 2.0.2+d1027f7d60 via fabric - fabric-resource-loader-v0 0.4.18+2de5574560 via fabric - fabric-screen-handler-api-v1 1.1.14+40c91ec860 via fabric - fabric-transfer-api-v1 1.5.14+cca23f9360 via fabric - fabric-transitive-access-wideners-v1 1.0.0+40c91ec860 via fabric - fabricloader 0.13.3 - java 17 - minecraft 1.18.2 - mobfilter 0.0.1 - org_yaml_snakeyaml 1.29 via mobfilter
[13:05:59] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/x/Desktop/newserver18/libraries/net/fabricmc/sponge-mixin/0.11.2+mixin.0.8.5/sponge-mixin-0.11.2+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[13:05:59] [main/INFO]: Compatibility level set to JAVA_16
[13:06:02] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:server.WorldChunkMixin::handler$zca000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[13:06:03] [main/ERROR]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'mobfilter'! at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.13.3.jar:?] at net.minecraft.server.Main.main(Main.java:101) [server-intermediary.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) [fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.13.3.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:66) [fabric-loader-0.13.3.jar:?]Caused by: java.lang.RuntimeException: Cannot load class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents in environment type SERVER at net.fabricmc.loader.impl.transformer.FabricTransformer.transform(FabricTransformer.java:59) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPreMixinClassByteArray(KnotClassDelegate.java:282) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:240) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:150) ~[fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155) ~[fabric-loader-0.13.3.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at net.pcal.mobfilter.MFInitializer.onInitialize(MFInitializer.java:18) ~[mobfilter-0.0.1.jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.13.3.jar:?] ... 15 more

confirmed


text:
Multi-language support. Link generated with english google drive cannot be opened on system with german google drive.

The main entry point paths into your google drive files "My drives" & "Shared drives" are translated depending on your google driver language setting (or OS language setting).
Our link contains a language specific pathCloudStorage/GoogleDrive-user_account/Shared Drives/...
This creates a problem when sharing links between users with different language settings.

Fixed in version 1.0.1

repo: pch-innovations/gdrive-finder-service


text:
How do you inline svgs?

The advantage of using svgr is that it inlines the .svg files in the react code. Any way to do this with vite-plugin-svgr?
Currently even the small files are not included:

I also want to solve this problem because there are too many svg in the project, and the size of the picture is very small but it will take up the http request. I hope the author can provide an inline solution.

I believe they are inlined but vite also emits them into the build folder. Are you seeing them being requested?

@mattsputnikdigital yeah you're right, I don't see the HTTP requests to the .svg files, looks like they are actually inlined for me.

See https://github.com/pd4d10/vite-plugin-svgr/pull/71#issuecomment-1727006445

Does this mean we can't inline svgs?

Seems the online option is to set assetsInlineLimit: 0 in vite.config.js if I want to line an svg inside url

authors: Nick-Nice allicanseenow marcofugaro mattsputnikdigital pd4d10


text:
Trouble adding a new entity to an existing project

I am following your tutorial.  All went well until I hit the step to add the ShoppingListEntity.  It's saying it can't find the .sln file even though it's there.  Nice project!  Good conversation today! -wpereira
Steps to reproduce
Here is the output from the console:
$ craftsman add entity ShoppingListEntity.yaml
Error: A solution file was not found in your current durectory. Please make sure you are in the solution directory for
your project.
$ ls
CarbonKitchen.sln  README.md  RecipeManagement  SharedKernel  ShoppingListEntity.yaml  docker-compose.yaml

Hey, thanks!
The add entity command should be run from the boundary folder, but it does check if you have a sln file in the parent directory, so that's probably what you're seeing. Mind trying that and letting me know?

FYI, updating error messages to be better her

The command worked this time when I ran it from the boundary folder and seems to have generated the expected files.  The first time I ran it, it was from the same folder as the .sln file (see the "ls" console output above for the directories and files in the current folder).  The boundary folder doesn't have the .sln file, so the new error message is still a bit misleading.  Maybe some clarity in the tutorial will help.
However, I ran into another issue.  It rendered the new feature classes with a typo in the using namespaces.  For example, ShoppingListItemsController.cs was generated with a using statement declared as "using recipemanagement.Wrappers;" where it should be "using RecipeManagement.Wrappers;"  Seems like a typo across most or all the files that were generated which created a bunch of errors.
But I figured out why that happened.   When I entered the folder using "cd recipemanagement"  Powershell brought me to a correct, but lowercased version of the correct directory "C:\dev\src\wrapt\carbonkitchen\recipemanagement".  Weird!  That's when the generator fails.  It leads me to believe you're sourcing the namespace from the directory name at the time the command is run.   So I blew away the entire solution and ran it again.  I navigated to the boundary folder, but this time with the correct casing "cd RecipeManagement", and it generated everything properly.  I did the whole thing one more time with a lower cased directory name and I was able to reproduce the problem.  I reckon others might run into this.  I can send you some screenshots later if you want.
Great tool though man, very impressive.

here is the console output to show you what I mean by the strange lowercase directory issue:
PS C:\dev\src\wrapt\CarbonKitchen> cd .\RecipeManagement
PS C:\dev\src\wrapt\CarbonKitchen\RecipeManagement> ls
Directory: C:\dev\src\wrapt\CarbonKitchen\RecipeManagement

Mode                 LastWriteTime         Length Name

d-----         9/10/2022  12:32 PM                src
d-----         9/10/2022  12:32 PM                tests
PS C:\dev\src\wrapt\CarbonKitchen\RecipeManagement> cd ..
PS C:\dev\src\wrapt\CarbonKitchen> cd recipemanagement
PS C:\dev\src\wrapt\CarbonKitchen\recipemanagement> ls
Directory: C:\dev\src\wrapt\CarbonKitchen\recipemanagement

Mode                 LastWriteTime         Length Name

d-----         9/10/2022  12:32 PM                src
d-----         9/10/2022  12:32 PM                tests

Ooo, that is interesting. Never seen that one before, but your hunch sounds right.
Appreciate the insight and the kind words!!

np -- good luck!


text:
Add an option to choose the behavior when HDF5 file or dataset already exists

There should be an option to choose what should happen when data is already present (error, warning, override, etc.)

In GitLab by @ksiero on May 27, 2021, 14:35
mentioned in commit 8ac83d2c58b02433fdeafc84df192a3150343e72

In GitLab by @ksiero on May 20, 2021, 12:16
mentioned in commit 451baa61e032a54c293a9086b6cdddb87fa92006

In GitLab by @ksiero on May 27, 2021, 14:34
mentioned in commit 78717bcba5e74f37bad7e3c30e470acdb9d56853

In GitLab by @ksiero on May 26, 2021, 13:11
mentioned in commit 3f4eafebd93aa7632af899d04133acc26f4ae01f

In GitLab by @ksiero on Jul 20, 2021, 12:10
mentioned in commit 94539c4f790e0a80d7b7995fd72f87d22e2ee24f

repo: pdidev/pdi


text:
⚠ Hartman Foundation has degraded performance

In ece58b2, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 10207 ms

Resolved: Hartman Foundation performance has improved in 56b8091.

repo: pearanalytics/uptime


text:
Fim E-sedex - 19/05

Pessoal agora parece que é definitivo.
Dia 19/05 não teremos mais E-sedex e vai complicar a coisa. recebi a noticia agora

Péssima notícia!
Também recebi a cartinha dos Correios, e já desativei o E-SEDEX ontem.
A partir de segunda-feira é só SEDEX.

Lascou geral mesmo. já tirei . complicou geral. minhas vendas despencaram. vai ser fogo

Os valores do Sedex foram ajustados, em algumas regiões será o mesmo preço do antigo Esedex.
Sabem se a tabela de consulta do webservice será atualizada ou teremos que alterar a url para os novos valores?

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
ghermans@gmail.com
Domain meganovidades.com has exceeded the max emails per hour (600/600 (100%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from o1.sgmail.github.com ([192.254.114.176]:43003)
by vps.meganovidades.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89)
(envelope-from bounces+848413-6e7f-contato=meganovidades.com@sgmail.github.com)
id 1dMnRV-0001js-7e
for contato@meganovidades.com; Mon, 19 Jun 2017 00:33:33 -0300
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=/SFL5aZAyXtaITQnKUZhNJb1HCM=; b=ahi3adecBlA+heYv
9QzFbHYGS81tWj4cABwhpsYU5JY2t0U+sHM8Rt5TjhpwymUm0WAiWCcCIs3D9nBE
Pp3cSuey8M6gxIkX85kuW9j/lixl9+JvbsiMwQecNAnrOZ4N44HvvCd+FWMAPLTV
M1e2u+0W7kfbb8ovl+71+yxI6iQ=
Received: by filter0942p1mdw1.sendgrid.net with SMTP id filter0942p1mdw1-5145-594745E3-25
2017-06-19 03:32:51.874320624 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16])
by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id 3zsdkBdFTGWJXZ6ISSybDA
for contato@meganovidades.com; Mon, 19 Jun 2017 03:32:51.831 +0000 (UTC)
Date: Sun, 18 Jun 2017 20:32:51 -0700
From: boobebe notifications@github.com
Reply-To: pedro-teixeira/correios reply@reply.github.com
To: pedro-teixeira/correios correios@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Message-ID: pedro-teixeira/correios/issues/278/309330594@github.com
In-Reply-To: pedro-teixeira/correios/issues/278@github.com
References: pedro-teixeira/correios/issues/278@github.com
Subject: Re: [pedro-teixeira/correios] Fim E-sedex - 19/05 (#278)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_594745e3b87de_60923fa0c1553c2c691a";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: boobebe
X-GitHub-Recipient: meganovidades
X-GitHub-Reason: subscribed
List-ID: pedro-teixeira/correios <correios.pedro-teixeira.github.com>
List-Archive: https://github.com/pedro-teixeira/correios
List-Post: mailto:reply@reply.github.com
List-Unsubscribe: mailto:unsub+014af55c3bb23baab66733616cf390215ccd14fdd56017dc92cf00000001155f07e392a169ce0e1963de@reply.github.com,
https://github.com/notifications/unsubscribe/AUr1XBUwXJzMPuFcr0ootuCktqkg_t0Gks5sFevjgaJpZM4N8uXM
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: contato@meganovidades.com
X-SG-EID: aUsTqDM0znGnfnhE7cGIZmT3G/oavJAOiNey+43jJya5XatquyhSMusFuVNWxg+4fL6oxmsAk1uNjq
bPHUlxJ74VsoKjNf96tjBALavQP45a/eBYycIDy3fr9MHVT7c0sYL2LOtMlHmMk+HyDI+2g8cvny/+
X82gR/NVF8BetOEyDnH1Jxk4kA8B4n3oHtKKznzZdxTPzw5uU5u7FR36dmS06mdQ2w9v9OkcyQw6Ze
c=
----==_mimepart_594745e3b87de_60923fa0c1553c2c691a
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Os valores do Sedex foram ajustados, em algumas regi=C3=B5es ser=C3=A1 o me=
smo pre=C3=A7o do antigo Esedex.
Sabem se a tabela de consulta do webservice ser=C3=A1 atualizada ou teremos=
que alterar a url para os novos valores?
--=20
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/pedro-teixeira/correios/issues/278#issuecomment-309330594=
----==_mimepart_594745e3b87de_60923fa0c1553c2c691a
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Os valores do Sedex foram ajustados, em algumas regi=C3=B5es ser=C3=A1 o=
 mesmo pre=C3=A7o do antigo Esedex.
Sabem se a tabela de consulta do webservice ser=C3=A1 atualizada ou teremos=
 que alterar a url para os novos valores?
&mda=
sh;You are receiving this because you are subscribed to this thread.<=
br />Reply to this email directly, view it on GitHub, or =
mute the thread.

=
----==_mimepart_594745e3b87de_60923fa0c1553c2c691a--

reajustado quando? cara minhas vendas despencaram com o fim do E-sedex !!! vergonha  !! essa cambada!!! me perdoem , sei que não é o local , mas como pode um monopólio tem prejuízo? R: MUITO LADrÃO!!

Só acrescentando Tb. Eu vendo tb no MercadoLivre, minhas vendas despencaram tb. A pergunta é será eu só foi comigo ?  Em tese, se vendemos menos, os correio faturam Menos e sendo assim o que já está ruim vai ficar pior ! A alegação sempre foi : "temos um serviço com preço de pac e com prazo de sedex" era muito mais simples fazer um e-sedex entre os dois e com prazo entre os dois .... agora que quero ver

Alguns CEP do estado de São Paulo não existe mais o PAC e enviado como SEDEX, no módulo colocando CEP de um local que não envia como PAC somente SEDEX, esta aparecendo o PAC, alguém esta com mesmo erro.

@radamiBR, consegue simular a consulta neste link?
Manda print do formulário preenchido e da resposta.

@rafaelpatro
ao preencher enviar da esses erro:
System.ArgumentException: Cannot convert caixa to System.Int32.
Parameter name: type ---> System.FormatException: Input string was not in a correct format.
Seque print do meu simulado e da nova tabela dos correios para SP
http://imgur.com/a/tFrgD

Manda um print do formulário, ocultando somente teu contrato e senha.
Deve estar preenchendo algum campo errado.

seque imagem gerada

http://imgur.com/a/JYToR

Parece que sua requisição está funcionando agora.
Preencha com os códigos dos serviços que estão retornando iguais (PAC e SEDEX), separados por vírgula.
Ex.: 04669,04162

Serviço que uso dos correios são
Sedex com contrato 40096
Pac com contrato 41068
Esta com essa diferença de preço para São Paulo com CEP 01 até 09
Foi que eu recebi da agência tabela com novas diretrizes do correios de valores.

Cara acho q esses seus códigos foram extintos há algumas semanas.
Tenta simular com os códigos q mandei. Ou usa seu acesso ao Sigep para descobrir os códigos atualizados.

authors: boobebe marcospaf meganovidades radamiBR rafaelpatro

repo: pedro-teixeira/correios

license: mit

license_source: bigquery


text:
Background streaming API <= 26

Dear Pedro,
the background activity is not streaming if the API is 26 or lower.
Is there a way to stream in the background with older devices?
In API 26 after clicking start stream I can see that in logcat the service gets destroyed immediately "RTP service destroy"

After I wrote the post, I though it could be maybe limited by the manufacturer...
I am using a Sony Xperia Z5 Android 7.1.1 API 25.
If I only go to home (set activity to background) it stops the service and stops streaming. When I come back, the button says "Stop stream" but it's not actually streaming.
How can the problem be solved?

Hello,
It seems a problem with the service that actually die when you close the activity. I'm not sure about the reason because it is working fine in my devices.
Test also pressing back button to know if the result is different to set activity to background (the result should be the same).
Check if this line is called when you press back button or set activity to background:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/app/src/main/java/com/pedro/rtpstreamer/backgroundexample/BackgroundActivity.kt#L91
If that line is called it is something in the lyfecycle logic that maybe need to be fixed but you can test it removing that line for now (this will cause that you will need kill app totally to release camera/microphone).
If that line is not called your device is killing the service for some reason maybe batery optimization or other reason. I recommend you create a empty app and create an empty service that keep alive on background to replace the actual service.

Hello,
I am sorry, after better investigating I can see that the service is destroyed at the start of the stream... But it is streaming, my server is receiving the stream and I can play it locally.
After pressing back, my server is still receiving something, but it is not playable. I can see that the timer is rising. I've started the app in debug mode and made a breakpoint at the line 91 (you mentioned), but it didn't stop there.
I will paste here the my logcat after hitting the start stream button and the log after pressing back, I hope it helps.
2023-08-13 22:32:06.992  9386-9386  VideoCapabilities       com.pedro.rtpstreamer                W  Unrecognized profile 2130706433 for video/avc
2023-08-13 22:32:07.003  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  2 encoders found
2023-08-13 22:32:07.003  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  Encoder OMX.qcom.video.encoder.avc
2023-08-13 22:32:07.003  9386-9386  VideoCapabilities       com.pedro.rtpstreamer                W  Unrecognized profile 2130706433 for video/avc
2023-08-13 22:32:07.007  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  Color supported: 2141391876
2023-08-13 22:32:07.007  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  Color supported: 2130708361
2023-08-13 22:32:07.007  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  Encoder selected OMX.qcom.video.encoder.avc
2023-08-13 22:32:07.011  9386-13408 OMXClient               com.pedro.rtpstreamer                I  MuxOMX ctor
2023-08-13 22:32:07.031  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  Prepare video info: SURFACE, 480x640
2023-08-13 22:32:07.032  9386-9386  VideoCapabilities       com.pedro.rtpstreamer                W  Unrecognized profile 2130706433 for video/avc
2023-08-13 22:32:07.036  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  bitrate mode CBR not supported using default mode
2023-08-13 22:32:07.056  9386-13407 MediaCodec              com.pedro.rtpstreamer                I  MediaCodec will operate in async mode
2023-08-13 22:32:07.056  9386-13407 MediaOutputController   com.pedro.rtpstreamer                D  attach(0x0, 0x7f7d465e80, 0x7f9e8e689c)
2023-08-13 22:32:07.057  9386-13407 MediaCodec              com.pedro.rtpstreamer                D  MediaCodec callback for event 0
2023-08-13 22:32:07.057  9386-13407 MediaCodec              com.pedro.rtpstreamer                D  onMediaOutputControllEvent(VIDEO_FLAGS_SET, 0x7f7df8df48, 4)
2023-08-13 22:32:07.057  9386-13407 MediaCodec              com.pedro.rtpstreamer                D  mVideoOutputFlags = 0x00000000
2023-08-13 22:32:07.057  9386-13407 MediaCodec              com.pedro.rtpstreamer                D  MediaCodec callback for event 1
2023-08-13 22:32:07.057  9386-13407 MediaCodec              com.pedro.rtpstreamer                D  onMediaOutputControllEvent(AUDIO_OUT_STATE_CHANGED, 0x7f9d57d008, 4)
2023-08-13 22:32:07.057  9386-13407 MediaCodec              com.pedro.rtpstreamer                D  mAudioOutputState = BLOCKED
2023-08-13 22:32:07.057  9386-13408 ACodec                  com.pedro.rtpstreamer                E  [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
2023-08-13 22:32:07.057  9386-13408 ExtendedACodec          com.pedro.rtpstreamer                I  setupVideoEncoder()
2023-08-13 22:32:07.058  9386-13408 ACodec                  com.pedro.rtpstreamer                W  do not know color format 0x7fa30c04 = 2141391876
2023-08-13 22:32:07.058  9386-13408 ACodec                  com.pedro.rtpstreamer                W  do not know color format 0x7f000789 = 2130708361
2023-08-13 22:32:07.070  9386-13408 ACodec                  com.pedro.rtpstreamer                I  setupAVCEncoderParameters with [profile: Baseline] [level: Level3]
2023-08-13 22:32:07.070  9386-13408 ACodec                  com.pedro.rtpstreamer                I  [OMX.qcom.video.encoder.avc] cannot encode color aspects. Ignoring.
2023-08-13 22:32:07.071  9386-13408 ACodec                  com.pedro.rtpstreamer                I  [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
2023-08-13 22:32:07.071  9386-13408 ACodec                  com.pedro.rtpstreamer                I  setupVideoEncoder succeeded
2023-08-13 22:32:07.071  9386-13408 ExtendedACodec          com.pedro.rtpstreamer                I  [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 19) = {
int32_t width = 480
int32_t height = 640
int32_t bitrate = 1228800
int32_t max-input-size = 0
string mime = "video/avc"
int32_t frame-rate = 30
int32_t i-frame-interval = 2
int32_t color-format = 2130708361
int32_t encoder = 1
}
2023-08-13 22:32:07.078  9386-13408 ACodec                  com.pedro.rtpstreamer                W  do not know color format 0x7f000789 = 2130708361
2023-08-13 22:32:07.088  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  prepared
2023-08-13 22:32:07.098  9386-9386  MicrophoneManager       com.pedro.rtpstreamer                I  Microphone created, 32000hz, Stereo
2023-08-13 22:32:07.101  9386-9386  AudioEncoder            com.pedro.rtpstreamer                I  1 encoders found
2023-08-13 22:32:07.101  9386-9386  AudioEncoder            com.pedro.rtpstreamer                I  Encoder selected OMX.google.aac.encoder
2023-08-13 22:32:07.107  9386-13417 OMXClient               com.pedro.rtpstreamer                I  MuxOMX ctor
2023-08-13 22:32:07.117  9386-13417 MediaCodec              com.pedro.rtpstreamer                I  MediaCodec will operate in async mode
2023-08-13 22:32:07.118  9386-13417 MediaOutputController   com.pedro.rtpstreamer                D  attach(0x0, 0x7f7a5b7880, 0x7f9e8e689c)
2023-08-13 22:32:07.118  9386-13417 MediaCodec              com.pedro.rtpstreamer                D  MediaCodec callback for event 0
2023-08-13 22:32:07.118  9386-13417 MediaCodec              com.pedro.rtpstreamer                D  onMediaOutputControllEvent(VIDEO_FLAGS_SET, 0x7f7c581f48, 4)
2023-08-13 22:32:07.118  9386-13417 MediaCodec              com.pedro.rtpstreamer                D  mVideoOutputFlags = 0x00000000
2023-08-13 22:32:07.118  9386-13417 MediaCodec              com.pedro.rtpstreamer                D  MediaCodec callback for event 1
2023-08-13 22:32:07.118  9386-13417 MediaCodec              com.pedro.rtpstreamer                D  onMediaOutputControllEvent(AUDIO_OUT_STATE_CHANGED, 0x7f9d57d008, 4)
2023-08-13 22:32:07.118  9386-13417 MediaCodec              com.pedro.rtpstreamer                D  mAudioOutputState = BLOCKED
2023-08-13 22:32:07.122  9386-9386  AudioEncoder            com.pedro.rtpstreamer                I  prepared
2023-08-13 22:32:07.122  9386-9386  VideoEncoder            com.pedro.rtpstreamer                I  started
2023-08-13 22:32:07.139  9386-9392  art                     com.pedro.rtpstreamer                I  Do partial code cache collection, code=245KB, data=208KB
2023-08-13 22:32:07.139  9386-9392  art                     com.pedro.rtpstreamer                I  After code cache collection, code=243KB, data=207KB
2023-08-13 22:32:07.139  9386-9392  art                     com.pedro.rtpstreamer                I  Increasing code cache capacity to 1024KB
2023-08-13 22:32:07.141  9386-9392  art                     com.pedro.rtpstreamer                I  Compiler allocated 6MB to compile void android.media.MediaCodecInfo$VideoCapabilities.applyLevelLimits()
2023-08-13 22:32:07.145  9386-9386  AudioEncoder            com.pedro.rtpstreamer                I  started
2023-08-13 22:32:07.181  9386-9386  Camera2ApiManager       com.pedro.rtpstreamer                I  optimal resolution set to: 640x480
2023-08-13 22:32:07.256  9386-9386  MicrophoneManager       com.pedro.rtpstreamer                I  Microphone started
2023-08-13 22:32:07.328  9386-13408 ACodec                  com.pedro.rtpstreamer                D  dataspace changed to 0x10c40000 (R:2(Limited), P:4(BT601_6_525), M:3(BT601_6), T:3(SMPTE170M)) (R:2(Limited), S:4(BT601_525), T:3(SMPTE_170M))
2023-08-13 22:32:07.376  9386-13412 RtmpClient              com.pedro.rtpstreamer                I  send sps and pps
2023-08-13 22:32:07.377  9386-13423 Handshake               com.pedro.rtpstreamer                I  writing C0
2023-08-13 22:32:07.377  9386-13423 Handshake               com.pedro.rtpstreamer                I  C0 write successful
2023-08-13 22:32:07.377  9386-13423 Handshake               com.pedro.rtpstreamer                I  writing C1
2023-08-13 22:32:07.377  9386-13423 Handshake               com.pedro.rtpstreamer                I  writing time 1691958727 to c1
2023-08-13 22:32:07.377  9386-13423 Handshake               com.pedro.rtpstreamer                I  writing zero to c1
2023-08-13 22:32:07.377  9386-13423 Handshake               com.pedro.rtpstreamer                I  writing random to c1
2023-08-13 22:32:07.381  9386-13423 Handshake               com.pedro.rtpstreamer                I  C1 write successful
2023-08-13 22:32:07.381  9386-13423 Handshake               com.pedro.rtpstreamer                I  reading S0
2023-08-13 22:32:07.624  9386-13423 Handshake               com.pedro.rtpstreamer                I  read S0 successful
2023-08-13 22:32:07.625  9386-13423 Handshake               com.pedro.rtpstreamer                I  reading S1
2023-08-13 22:32:07.625  9386-13423 Handshake               com.pedro.rtpstreamer                I  read S1 successful
2023-08-13 22:32:07.625  9386-13423 Handshake               com.pedro.rtpstreamer                I  writing C2
2023-08-13 22:32:07.626  9386-13423 Handshake               com.pedro.rtpstreamer                I  C2 write successful
2023-08-13 22:32:07.626  9386-13423 Handshake               com.pedro.rtpstreamer                I  reading S2
2023-08-13 22:32:07.735  9386-13423 Handshake               com.pedro.rtpstreamer                I  read S2 successful
2023-08-13 22:32:07.736  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  using default write chunk size 128
2023-08-13 22:32:07.752  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  send Command(name='connect', transactionId=1, timeStamp=0, streamId=0, data=[AmfString value: connect, AmfNumber value: 1.0, AmfObject properties: {AmfString value: app=AmfString value: user, AmfString value: flashVer=AmfString value: FMLE/3.0 (compatible; Lavf57.56.101), AmfString value: swfUrl=AmfString value: , AmfString value: tcUrl=AmfString value: rtmp://server.server.server, AmfString value: fpad=AmfBoolean value: false, AmfString value: capabilities=AmfNumber value: 239.0, AmfString value: audioCodecs=AmfNumber value: 3191.0, AmfString value: videoCodecs=AmfNumber value: 252.0, AmfString value: videoFunction=AmfNumber value: 1.0, AmfString value: pageUrl=AmfString value: , AmfString value: objectEncoding=AmfNumber value: 0.0}], bodySize=279)
2023-08-13 22:32:08.003  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read WindowAcknowledgementSize(acknowledgementWindowSize=5000000)
2023-08-13 22:32:08.109  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read SetPeerBandwidth(acknowledgementWindowSize=5000000, type=DYNAMIC)
2023-08-13 22:32:08.111  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read SetChunkSize(chunkSize=4096)
2023-08-13 22:32:08.111  9386-13423 RtmpClient              com.pedro.rtpstreamer                I  chunk size configured to 4096
2023-08-13 22:32:08.123  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read Command(name='_result', transactionId=1, timeStamp=0, streamId=0, data=[AmfString value: _result, AmfNumber value: 1.0, AmfObject properties: {AmfString value: fmsVer=AmfString value: FMS/3,0,1,123, AmfString value: capabilities=AmfNumber value: 31.0}, AmfObject properties: {AmfString value: level=AmfString value: status, AmfString value: code=AmfString value: NetConnection.Connect.Success, AmfString value: description=AmfString value: Connection succeeded., AmfString value: objectEncoding=AmfNumber value: 0.0}], bodySize=190)
2023-08-13 22:32:08.124  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  send Command(name='releaseStream', transactionId=2, timeStamp=1, streamId=0, data=[AmfString value: releaseStream, AmfNumber value: 2.0, AmfNull, AmfString value: 000000000Streamkey], bodySize=42)
2023-08-13 22:32:08.126  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  send Command(name='FCPublish', transactionId=3, timeStamp=1, streamId=0, data=[AmfString value: FCPublish, AmfNumber value: 3.0, AmfNull, AmfString value: 000000000Streamkey], bodySize=38)
2023-08-13 22:32:08.128  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  send Command(name='createStream', transactionId=4, timeStamp=1, streamId=0, data=[AmfString value: createStream, AmfNumber value: 4.0, AmfNull], bodySize=25)
2023-08-13 22:32:08.129  9386-13423 RtmpClient              com.pedro.rtpstreamer                I  success response received from connect
2023-08-13 22:32:08.296  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read Command(name='_result', transactionId=4, timeStamp=0, streamId=0, data=[AmfString value: _result, AmfNumber value: 4.0, AmfNull, AmfNumber value: 1.0], bodySize=29)
2023-08-13 22:32:08.299  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  send Command(name='publish', transactionId=5, timeStamp=1, streamId=1, data=[AmfString value: publish, AmfNumber value: 5.0, AmfNull, AmfString value: 000000000Streamkey, AmfString value: live], bodySize=43)
2023-08-13 22:32:08.299  9386-13423 RtmpClient              com.pedro.rtpstreamer                I  success response received from createStream
2023-08-13 22:32:08.597  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read Command(name='onStatus', transactionId=0, timeStamp=0, streamId=0, data=[AmfString value: onStatus, AmfNumber value: 0.0, AmfNull, AmfObject properties: {AmfString value: level=AmfString value: status, AmfString value: code=AmfString value: NetStream.Publish.Start, AmfString value: description=AmfString value: Start publishing}], bodySize=105)
2023-08-13 22:32:08.611  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  send Data(name='@setDataFrame', data=[AmfString value: onMetaData, AmfEcmaArray length: 12, properties: {AmfString value: duration=AmfNumber value: 0.0, AmfString value: width=AmfNumber value: 480.0, AmfString value: height=AmfNumber value: 640.0, AmfString value: videocodecid=AmfNumber value: 7.0, AmfString value: framerate=AmfNumber value: 30.0, AmfString value: videodatarate=AmfNumber value: 0.0, AmfString value: audiocodecid=AmfNumber value: 10.0, AmfString value: audiosamplerate=AmfNumber value: 32000.0, AmfString value: audiosamplesize=AmfNumber value: 16.0, AmfString value: audiodatarate=AmfNumber value: 0.0, AmfString value: stereo=AmfBoolean value: true, AmfString value: filesize=AmfNumber value: 0.0}], bodySize=284)
2023-08-13 22:32:08.615  9386-13423 RtpService              com.pedro.rtpstreamer                E  RTP service destroy
after pressing back
2023-08-13 22:32:24.108  9386-9392  art                     com.pedro.rtpstreamer                I  Compiler allocated 6MB to compile void android.view.ViewRootImpl.performTraversals()
2023-08-13 22:32:39.182  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read Acknowledgement(sequenceNumber=5000116)
2023-08-13 22:33:09.916  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read Acknowledgement(sequenceNumber=10000119)
2023-08-13 22:33:40.160  9386-13423 CommandsManager         com.pedro.rtpstreamer                I  read Acknowledgement(sequenceNumber=15000125)
2023-08-13 22:33:42.033  9386-9386  Camera2Base             com.pedro.rtpstreamer                E  Streaming or preview stopped, ignored
2023-08-13 22:33:42.851  9386-9386  Camera2ApiManager       com.pedro.rtpstreamer                I  optimal resolution set to: 640x480
2023-08-13 22:33:42.895  9386-15271 Camera2ApiManager       com.pedro.rtpstreamer                I  Camera opened
2023-08-13 22:33:42.897  9386-9386  Camera2Base             com.pedro.rtpstreamer                E  Streaming or preview stopped, ignored
2023-08-13 22:33:42.916  9386-15271 Camera2ApiManager       com.pedro.rtpstreamer                I  fps: 30 - 30
2023-08-13 22:33:42.926  9386-9386  IInputConnectionWrapper com.pedro.rtpstreamer                W  finishComposingText on inactive InputConnection
2023-08-13 22:33:42.931  9386-9386  Timeline                com.pedro.rtpstreamer                I  Timeline: Activity_idle id: android.os.BinderProxy@1bd5478 time:387834
2023-08-13 22:33:42.932  9386-15271 Camera2ApiManager       com.pedro.rtpstreamer                I  Camera configured
a

Ok, according with your post, the system is killing service.
Try to remove battery optimization for your app. You can do it on settings. Try using this link that provide images with steps for any brand:
https://alfredcamera.zendesk.com/hc/en-us/articles/900004435343-How-do-I-turn-off-battery-optimization-to-reduce-connection-issues-Android-
Let me know if it is working for you.


text:
关于源码解析

麻烦请改下md代码块的格式：
在 ```后面接语言即可
```java
//这里写代码
```
    @Override
    public void addView(View child, int index, ViewGroup.LayoutParams params) {
        if (child instanceof EditText) {
            setEditText((EditText) child);//初始化EditText
            super.addView(child, 0, updateEditTextMargin(params));//
        } else {
            // Carry on adding the View...
            super.addView(child, index, params);
        }
    }

```xml
```
    <demo.design.TextInputLayout
        android:id="@+id/inputlayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <demo.design.TextInputEditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="测试文字测速古" />
    </demo.design.TextInputLayout>

收到请回复，谢谢。:)

Roger That！

第2期已经发布了，为了更好的阅读体验，希望能尽快修改。

已经修改好了。


text:
Use Lua For GUI & Light Weight Stuff

i want to divide csprite into 2 parts

Core
Lua

the core will handle all the low-level & cpu intensive stuff, like rendering to screen, drawing on canvas & etc.
the lua will use functionalities of the core to extend the editor by adding a UI (which is rendered by the core), parsing palettes, layer system & all sorts of plugins & stuff.
so the core is like the engine & chassis of a car, while lua is like the body & interior of the car.
a great example is lite-xl/lite-xl, which is what inspired this idea.

maybe this is the final issue and then we release csprite v1.0?

repo: pegvin/csprite


text:
🛑 API MERCADO PUBLICO is down

In fe9cbee, API MERCADO PUBLICO (https://api.mercadopublico.cl/servicios/v1/publico/ordenesdecompra.json?fecha=30122022&CodigoOrganismo=7312&ticket=E1951384-BF88-4EE5-8C33-934680281626) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API MERCADO PUBLICO is back up in a6139e6.


text:
🛑 API MERCADO PUBLICO is down

In e985432, API MERCADO PUBLICO (https://api.mercadopublico.cl/servicios/v1/publico/ordenesdecompra.json?fecha=30122022&CodigoOrganismo=7312&ticket=E1951384-BF88-4EE5-8C33-934680281626) was down:

HTTP code: 500
Response time: 15333 ms

Resolved: API MERCADO PUBLICO is back up in 51168fa after 18 minutes.


text:
Fix for issue #262 changes port number

Actual issue was when a connection is redirected to a different server
name as well as port number, only the change to the port number was
being saved.  Pushing the redirection servername into the options
object fixes the problem.

I think we need to go a little bit further with this fix. I think we should have a redirectionPort or similar property as well, and I think we should make sure the redirect server and port only last for one redirect (connect() should clear them out after using them). This way, you always attempt to connect to the server/port which you specified in the config. This is good, because you might be connecting to an availability group which redirects you to a specific node. If that node drops out, you really want to connect to the AG again and have it tell you where to go rather than constantly trying to reach the dead node.

I see.  That would mean that the issue here was opposite of what I was thinking, i.e., that the problem was that redirection port was being persisted between connects when it shouldn't have as opposed to the server name change not being persisted.  On the plus side I think that's an easier problem to address.  I can make that change if you'd like.

To be clear, I'm suggesting that neither should be persisted beyond a single reconnect. If you're interested in working on it, that would be great, because I certainly don't have time.

Yes, that is my understanding.  I've got an updated fix that I'm trying to test now in an environment I provisioned to test this bug.

Sorry, I didn't notice you had pushed an update to the PR. I'll take a look at it.

@bretcope
Any chance to get this PR included in the next release?

also waiting for this PR, just started noticing the issue connections to azure sql gets messed up intermittently

I'll look into this this weekend.

@SyRenity @tysjiang have you confirmed that these changes fix the issues in your environment?

@bretcope On development and staging yes (when installed manually), need either NPM or suggestion for installing CoffeeScript modules via npm github.

I did noticed a new type of errors recently, not sure how they related to Tedious though.
Often, in a long running process, the Azure SQL starts dropping connections with:
name: 'ConnectionError',
message: 'Database 'XXXX' on server 'XXXX' is not currently available.  Please retry the co
nnection later.  If the problem persists, contact customer support, and provide them the session tracing I
D of '{82694C35-1E39-XXXX-XXXX-XXXXX}'.',
code: 'ELOGIN'
This happens less often, but still requires a node restart.
I contacted MS for support, however I think this should be checked in context of this PR too.

@arthurschreiber Any news?

@SyRenity When you get that connection error, is the sever name the one from your configuration, or is it a redirection server?  Something like this: 12HEXDIGITS.tr6.southcentralus1-a.worker.database.windows.net

@gleeds No, it's a different name like a8ff6bcXXXX (X are numerical), and also without the region and MS domains.

Hmm, googling around I see a lot of forum posts about that error to the effect of "Azure Database are ephemeral and you need to have retry logic in place."  I don't have enough experience with the intricacies Azure to say if that is the case here or not.  Did MS Support give you any information?
https://social.msdn.microsoft.com/Forums/azure/en-US/b386f02d-3782-432d-9135-e5bf4f4e8bf9/database-xxx-on-server-yyy-is-not-currently-available
http://stackoverflow.com/questions/23193503/azure-sqlexception-database-on-server-is-not-currently-available
https://social.technet.microsoft.com/Forums/en-US/a1d4be73-2fd9-4524-a312-deecf07c6908/azure-sql-connection-errors?forum=ssdsgetstarted

@gleeds Not yet, still working on it with them.

@gleeds Got a reply from MS:

  The login failure for your database happened for 1 minute 30 seconds because of ‘High availability’ failover for the replicas that we keep in the backend.

  The logins were failed from XXXXXX to XXXXXXX   UTC (~1:30 min in total)

In such situations we recommend to do a retry which should be successful. Please let me know if you have any questions/concerns regarding the same.
Unfortunately Tedious seems to stay in this status, until the Node is restarted.
As said I haven't seen any reconnection logic in Tedious, what would be a good solution here?

I still think this does not actually do the right thing. Tedious should never ever modify the config object that is passed into the constructor, ever.
We should store away the passed in config and do a deep clone of it, and reset the config on every connection attempt to what we stored away.

Got the error again, even with the pull request merged inside:
Thu Jul 09 2015 12:38:40 GMT+0000 (UTC) error {"name":"RequestError","message":"Requests can only be made in the LoggedIn state, not the Final state","code":"EINVALIDSTATE"}
It certainly appears that due to the transient nature of Azure, Tedious is unable to coop with such configuration changes.
Any advice how to handle it, other then plain exiting node.js once this error encountered?

@arthurschreiber , do you think that Tedious should do the copy before defaultConfig runs and sets up all of the default values?  @config also get's modified later to set the negotiated tdsVersion.

@arthurschreiber or @bretcope, if connection.coffee should be using a deep clone of the configuration as Aurthur sudgested, what do you think of this approach,  first, replacing the usage of @config throughout connection.coffee with @currentConfig, everywhere except for the constructor, then turning defaultConfig into a function that handles the cloning of the canonical @config provided by the user to the active @currentConfig used by the class for connections.  defaultConfig would look something like this:
defaultConfig: ->
    @currentConfig.options = {}
    @currentConfig.options.textsize = @config.options.textsize || DEFAULT_TEXTSIZE
    @currentConfig.options.connectTimeout = @config.options.connectTimeout || DEFAULT_CONNECT_TIMEOUT
    @currentConfig.options.requestTimeout = @config.options.requestTimeout || DEFAULT_CLIENT_REQUEST_TIMEOUT
    @currentConfig.options.cancelTimeout  = @config.options.cancelTimeout || DEFAULT_CANCEL_TIMEOUT
#and so on...

If the initial values are ever needed later, then we could go back to @config.  Alternatively we could just rename @config in the constructor to something else for a more terse commit.

It might be easier and less error prone to rename @config to @initialConfig than to update all of the usages and make sure people don't accidentally add usages in the future.
The real trick is likely in knowing when the config should be reset, and when it shouldn't.

Fixed by #309 and #310. Will be released in 1.11.5 and 1.12.3.

source: gharchive/pull-request

authors: SyRenity arthurschreiber bretcope gleeds tysjiang

repo: pekim/tedious


text:
Support a nodeSelector value

I'm running a cluster that uses both windows and linux nodes. I'd like to be able to specify in the values.yaml a nodeSelector property so that I can tell the chart to only deploy these pods to the linux nodes.

Fixed in https://github.com/pelias/kubernetes/pull/95
Connects https://github.com/pelias/kubernetes/issues/50

authors: orangejulius wesleyae

repo: pelias/kubernetes


text:
fix: more clang compile/link errors.

Not sure about the lambda captures. clang throw "Non-local lambda expression cannot have a capture-default"
tests doesn't compile (temp excluded from build):
/usr/include/c++/v1/__random/uniform_int_distribution.h:235:5: Static_assert failed due to requirement '__libcpp_random_is_valid_urng<Catch::RandomNumberGenerator, void>::value' ""
rocky/src/tests/catch.hpp:1630:49: Use of overloaded operator '<<' is ambiguous (with operand types 'std::ostream' (aka 'basic_ostream') and 'const rocky::optional')
Adding "nlohmann_json::nlohmann_json" to target_link_libraries could be a cmake issue. I don't use VCPKG, because it doesn't work really on other platforms then windows.

Remo, I incorporated most of these changes and pushed them separately.
I did not include your build-specific changes for now. Best to keep those local until we can get GitHub Actions functioning for all platforms.

authors: gwaldron remoe

repo: pelicanmapping/rocky


text:
🛑 GR-Server-Fibercorp is down

In 37cd5c0, GR-Server-Fibercorp ($API_SEF) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GR-Server-Fibercorp is back up in ba49381.


text:
🛑 GR-Server-Fibercorp is down

In a25310f, GR-Server-Fibercorp ($API_SEF) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GR-Server-Fibercorp is back up in acb24cb after 194 days, 4 hours, 32 minutes.


text:
Add LICENSE file

Can you please add a full text license file to this project?
https://help.github.com/articles/adding-a-license-to-a-repository/

Done, thanks for reminding me!

authors: mitchellwills pelotom

repo: pelotom/type-zoo


text:
What happens when you hit too many repos at once

I was getting pandas, numpy and d3.js all at the same time. They were all fetching stargazer information, which is typically a lot.
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/app/.conda/lib/python3.5/concurrent/futures/process.py", line 175, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/app/webapp.py", line 125, in fetch_repo_data
    for stargazer in stargazers]
  File "/app/webapp.py", line 124, in
    stargazer_data = [{'starred_at': stargazer.raw_data['starred_at'], 'login': stargazer.raw_data['user']['login']}
  File "/app/.conda/lib/python3.5/site-packages/github/PaginatedList.py", line 49, in __iter__
    newElements = self._grow()
  File "/app/.conda/lib/python3.5/site-packages/github/PaginatedList.py", line 61, in _grow
    newElements = self._fetchNextPage()
  File "/app/.conda/lib/python3.5/site-packages/github/PaginatedList.py", line 162, in _fetchNextPage
    headers=self.__headers
  File "/app/.conda/lib/python3.5/site-packages/github/Requester.py", line 172, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, cnx))
  File "/app/.conda/lib/python3.5/site-packages/github/Requester.py", line 180, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 403 {'message': 'You have triggered an abuse detection mechanism. Please wait a few minutes before you try again.', 'documentation_url': 'https://developer.github.com/v3/#abuse-rate-limits'}
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/webapp.py", line 204, in get
    payload = datastore[uuid].result()
  File "/app/.conda/lib/python3.5/concurrent/futures/_base.py", line 398, in result
    return self.__get_result()
  File "/app/.conda/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
github.GithubException.GithubException: 403 {'message': 'You have triggered an abuse detection mechanism. Please wait a few minutes before you try again.', 'documentation_url': 'https://developer.github.com/v3/#abuse-rate-limits'}

403 {'message': 'You have triggered an abuse detection mechanism. Please wait a few minutes before you try again.', 'documentation_url': 'https://developer.github.com/v3/#abuse-rate-limits'}

Nothing to be done here, just wanted to record the problem.

(the error given is pretty good)

repo: pelson/repo-health-report


text:
Traceback from site: 'Expecting ',' delimiter: line 1 column 1631401 (char 1631400)'

Hi,
I was looking at /report/pandas-dev/pandas on repohealth.info and got the following traceback:
Traceback (most recent call last):
  File "/app/repohealth/generate.py", line 63, in no_raise
    yield
  File "/app/repohealth/generate.py", line 263, in repo_data
    repo_data = json.load(fh)
  File "/app/.conda/lib/python3.5/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/app/.conda/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/app/.conda/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/app/.conda/lib/python3.5/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 1631401 (char 1631400)

Thanks,

As mentioned in https://github.com/pelson/repohealth.info/pull/13#issuecomment-275537475

Should be fixed by simplifying the issue handing callback. e951bacf7c66faed6f3873fb2f15f9149599d183...845ec60


text:
Multiview fusion in nuScenes

Thanks for the excellent work!
I'm trying to do multi-view feature fusion in nuScenes dataset. In code, it seems that 6 images are fused for each scan.
I wonder that the feature could be robust if I apply multi-view fusion with 'adjacent 30 images' (from adjacent 5 LiDAR scans).
When I preprocess the openseg feature as I proposed, it records 32.37 mIoU in nuScene validation set.  (Only used the 2D multiview features)

I wonder how much mIoU should be record applying with only 2D openseg features.  2D-3D ensemble records about 42, so it would be slightly lower I guess. (Maybe over than 35.xx..?)
Is there any ablation or opinion for number of the multi-view frames?

Oh I inference this and recorder 34.03 mIoU with 2D fused feature only. Maybe using other images give noisy features than using just 6 images per scan. (due to dynamic objects or occlusions) Closing this issue.

Hi @kwonyoung9120
Which features did you use for inference to get 34.03 mIoU with 2D fused features? When did you download the preprocessed 3D point clouds and fused features? I am asking because I was evaluating again the 2D fused features that I provided roughly a month ago, but I could not really get what I got before (33-34 mIoU). Strangely, Just wanna figure out if anything that I changed recently in my code led to this strange drop :)

Thanks for the kind reply!
I just preprocess nuScene validation set with Openseg model(I just ran this one /scripts/feature_fusion/nuscenes_openseg.py with some slight changes to load directly from the nuScene meta-data by nusc-devkit). From this (which pool just 6 images per scan I guess) get 34.03 mIoU for today. I didn't download from your link because somehow it is too slow..
Oh I have another question about the nuScene dataset. In Tab.4 from the main paper, ScanNet and Matterport3D shows better results in 3D distillation than 2D fusion. Is this tendency shows same in nuScene dataset? I'm asking this because when I distill MinkNet18A directly, the mIoU shows similar with 2D fusion but not more than this(31.xx (3D) < 32.xx(2D)). (It might be from the learning parameter difference hmm..)

Hi, thanks for the information!
Regarding your question: yes! I should have included table ablation for nuScenes as well. As you know, you could get ~34 mIoU from 2D fused feature. For the distillation model, you can simply try to use the provided pretrained model from me, and you should be able to get 42 mIoU already. The final ensemble model is also around 42 mIoU, but with higher mAcc (57 vs 61). Make sure that your input point cloud is the entire point cloud from a 0.5 sec sequence, but evaluate on the last timestamp. I belive this is also done in previous methods in nuScenes benchmark.
Best
Songyou

Make sure that your input point cloud is the entire point cloud from a 0.5 sec sequence, but evaluate on the last timestamp -> So that means, I should preprocess about 5 scans(4 unlabeled sweeps and 1 scans with semantic annotation, not sure) with 6 images, not the single annotated scan. It seems that this multi-frame input setup get some gain to train the nuScenes dataset.

So, each 0.5 sec sequence contains all lidar point clouds within this 0.5 seconds (I don't remember but should be 5-6 frames in total?). However, the semantic annotation is only done on the points from the last timestamp, and that is where we evaluate on. For the feature fusion, we also only use the synchronized images and the corresponding Lidar
points on those points from the last timestamp.
Still, to train a MinkowskiNet, we need to input all points from the entire 0.5 seconds, but supervise only with the features on the last timestamp (this is to incorporate more information from frames nearby to help the prediction).
Hope that makes sense.
Best
Songyou

Make sure that your input point cloud is the entire point cloud from a 0.5 sec sequence, but evaluate on the last timestamp -> So that means, I should preprocess about 5 scans(4 unlabeled sweeps and 1 scans with semantic annotation, not sure) with 6 images, not the single annotated scan. It seems that this multi-frame input setup get some gain to train the nuScenes dataset.

So, each 0.5 sec sequence contains all lidar point clouds within this 0.5 seconds (I don't remember but should be 5-6 frames in total?). However, the semantic annotation is only done on the points from the last timestamp, and that is where we evaluate on. For the feature fusion, we also only use the synchronized images and the corresponding Lidar points on those points from the last timestamp.
Still, to train a MinkowskiNet, we need to input all points from the entire 0.5 seconds, but supervise only with the features on the last timestamp (this is to incorporate more information from frames nearby to help the prediction).
Hope that makes sense.
Best Songyou

That's a relief that I can extract Openseg features only for the annotated LiDAR. Thank you for the detail comments!

I just preprocess nuScene validation set with Openseg model(I just ran this one /scripts/feature_fusion/nuscenes_openseg.py with some slight changes to load directly from the 'original' nuScene with nusc-devkit). From this (which pool just 6 images per scan I guess) get 34.03 mIoU for today. I didn't download from your link because somehow it is too slow..

Hi, would mind sharing the modified script for generating fused features for nuScenes? I follow the guide and can only obtain result around 32.3. Thanks a lot!

Which features did you use for inference to get 34.03 mIoU with 2D fused features? When did you download the preprocessed 3D point clouds and fused features? I am asking because I was evaluating again the 2D fused features that I provided roughly a month ago, but I could not really get what I got before (33-34 mIoU). Strangely, Just wanna figure out if anything that I changed recently in my code led to this strange drop :)
Hi pengsongyou! I am wondering did you find the difference? I follow your code and can only obtain an miou of 32%  with 2d features only on nuScenes dataset. Looking forward to your reply!

repo: pengsongyou/openscene


text:
[PDI-15691] Deprecated variable replaced by actual

@bmorrise , @wseyler , @e-cuellar , @mbatchelor please review.
PDI-15690 (http://jira.pentaho.com/browse/PDI-15691)
The idea of this fix is to replace the deprecated variable by actual variable in the JobEntryTransDialog class and to make the use of constant for file name testable.

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f ui/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f ui/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  ui/src/org/pentaho/di/ui/job/entries/trans/JobEntryTransDialog.java
  ui/test-src/org/pentaho/di/ui/job/entries/trans/JobEntryTransDialogTest.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.ui.job.entries.trans.JobEntryTransDialog

Complexity Change:  + 1.74%
Instruction Change:  + .71%
Line Change:  + .61%
Method Change:  + 11.11%

authors: VadimPolynkov wingman-pentaho

repo: pentaho/pentaho-kettle


text:
[BACKLOG-14903] UX updates for the run configuration dialog

@ddiroma

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -fn -f plugins/pdi-engine-configuration/ui/pom.xml clean install && mvn -B -f plugins/pdi-engine-configuration/ui/pom.xml site

Cleanup Commands
mvn -B -f plugins/pdi-engine-configuration/ui/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/pdi-engine-configuration/ui/src/main/java/org/pentaho/di/engine/ui/RunConfigurationDialog.java

authors: bmorrise wingman-pentaho


text:
[SP-4157] Backport of PDI-16852 - DB2 connection in Spoon fails if us…

…ing the useJDBC4ColumnNameAndLabelSemantics option (7.1 Suite)

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -f core/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/database/DB2DatabaseMeta.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.core.database.DB2DatabaseMeta

Complexity Change: -1.6% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:
Line Change: -1.1% :small_red_triangle_down:
Method Change: -3.2% :small_red_triangle_down:

authors: pentaho-lmartins wingman-pentaho


text:
[PDI-13024] Able to create a user or role with no username or rolenam…

…e (blank or empty)
@pentaho/tatooine  @pentaho-lmartins
@ricardosilva88 @ssamora
The changes are on addUser and addRoles methods. The rest is just to fix CheckStyles.
https://github.com/pentaho/pentaho-kettle/pull/6515/files#diff-b3719d1f9885aa1598f26267e541e1bbR552
https://github.com/pentaho/pentaho-kettle/pull/6515/files#diff-b3719d1f9885aa1598f26267e541e1bbR675

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -f 'pom.xml' -pl 'plugins/pur/core' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'plugins/pur/core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  plugins/pur/core/src/main/java/org/pentaho/di/ui/repository/pur/repositoryexplorer/controller/EESecurityController.java
  plugins/pur/core/src/main/resources/org/pentaho/di/ui/repository/pur/repositoryexplorer/messages/messages_en_US.properties


text:
[BACKLOG-30254] Change the jobentry_log result in the JobEntryLogTabl…

…e to expect a string result value from the database

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/core/logging/JobEntryLogTable.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -0.4% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.ftpsget.JobEntryFTPSGet

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -0.2% :small_red_triangle_down:

authors: ricksjames wingman-pentaho


text:
update dev guide to explain proto build process

We should add a section to the dev guide about generating protos explaining:

The instructions in https://github.com/penumbra-zone/penumbra/tree/main/tools/proto-compiler about how to compile the protos
That the version of protoc in apt is pretty old and to follow these instructions if you're not on mac: https://grpc.io/docs/protoc-installation/#install-pre-compiled-binaries-any-os

See PR #1475 which has helpful text for the guide

There's a draft PR at https://github.com/penumbra-zone/penumbra/pull/1559. I'm happy with the docs changes, but hope to tack on a CI check that'll nag devs if they forget to rebuild the protobuf specs when necessary.

authors: conorsch redshiftzero

repo: penumbra-zone/penumbra


text:
Update protocol spec to refer to "balance commitments" instead of "value commitments"

Describe the bug
We updated terminology and meaning in our code but not in the protocol spec.

rg "value commit" will find possibly-offending terminology.


text:
DNS parameter removed when not entered

Having the DNS parameter blank (e.g. "DNS = ") will cause import errors in the Android app using the QR Code. I've added an if statement that checks if the DNS field has been populated. If so then it will write out the whole "DNS = x.x.x.x". If not then it will not be included at all.

Good Job!

repo: perara/wg-manager


text:
Convert postprocess/indexer to use persistent IDs (sample, iteration, etc.)

When one submits a crucible run, when the execution of the benchmark completes, after the data from any engines is moved back to the controller, the controller has two remaining tasks:  post-process the data and index that data into elasticsearch (which is provided by the controller).
The post-processing is done by two scripts, $CRUCIBLE_HOME/subprojects/rickshaw/rickshaw-post-process-[benchmark|tools] and the indexing is done by $CRUCIBLE_HOME/subprojects/rickshaw/rickshaw_index.
While this is normally only done once (by crucible) there exists many situations that the user wishes to re-post-process the data, and then also needs to delete the existing data in elastic and index the new data.  The problem is that the indexing script generates new IDs (UUIDs) as a part of the indexing, and so the IDs change.  This becomes a problem because a user's previous query, which references the older IDs, does not work.  The user can find the new IDs, but then needs to "retrace their steps" to get the IDs they need.
This issue is about ensuring the IDs do not change when a result is post-processed & indexed again.

this is a test comment for jira integration

Copying description here in case the edited description does not make it to Jira:
When one submits a crucible run, when the execution of the benchmark completes, after the data from any engines is moved back to the controller, the controller has two remaining tasks: post-process the data and index that data into elasticsearch (which is provided by the controller).
The post-processing is done by two scripts, $CRUCIBLE_HOME/subprojects/rickshaw/rickshaw-post-process-[benchmark|tools] and the indexing is done by $CRUCIBLE_HOME/subprojects/rickshaw/rickshaw_index.
While this is normally only done once (by crucible) there exists many situations that the user wishes to re-post-process the data, and then also needs to delete the existing data in elastic and index the new data. The problem is that the indexing script generates new IDs (UUIDs) as a part of the indexing, and so the IDs change. This becomes a problem because a user's previous query, which references the older IDs, does not work. The user can find the new IDs, but then needs to "retrace their steps" to get the IDs they need.
This issue is about ensuring the IDs do not change when a result is post-processed & indexed again.

To illustrate the differences, here are two benchmark reports, the original after the run and another after post-processing and indexing again:
Checking for httpd...appears to be running
Checking for elasticsearch...appears to be running
Generating benchmark summary report:

run-id: 845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
  tags: cpu=CascadeLake iperf-traffic=none ovs-NIC-pmd-lb-mode=isolated-pinned ovs-VHU-pmd-lb-mode=auto-lb ovs_interfaces=4 ovs_pmds=8 ovs_queues_per_interface=8 ovs_queues_per_pmd=6 ovs_tcpdump=n ovs_ver=2.15 vm_interfaces=2 vm_iperf_queues=none vm_queues_per_pmd=2
  benchmark: trafficgen
  common params: compress-files=ON devices=0000:10:00.0,0000:11:00.0 devices=0000:98:00.0,0000:98:00.1 disable-upward-search=OFF duplicate-packet-failure=retry-to-fail max-loss-pct=0.5 mem-limit=8192 one-shot=0 process-all-profiler-data=ON rate-tolerance-failure=fail rate-unit=% rate=274 result-output=none search-runtime=30 send-teaching-measurement=ON send-teaching-warmup=ON sniff-runtime=0 teaching-measurement-packet-type=generic teaching-warmup-packet-type=generic testpmd-descriptors=1024 testpmd-dst-macs=1c:34:da:77:3e:80,1c:34:da:77:3e:81 testpmd-enable-rss-udp=off testpmd-forward-mode=mac testpmd-mtu=1500 testpmd-queues-per-pmd=2 testpmd-queues=8 testpmd-smt=on traffic-direction=bidirectional traffic-generator=trex-txrx-profile traffic-profile=920B-4kflows-3vm-n0-n1-n1-profile.json trex-mellanox-support=on trex-software-mode=off validation-runtime=60 warmup-trial=ON
  metrics:
    source: trafficgen-trex-profiler
      types: stream-rx-pps stream-tx-pps after-expected-latency-pps before-expected-latency-pps dropped-latency-pps max-round-trip-usec mean-round-trip-usec min-round-trip-usec out-of-order-latency-pps port-rx-pps port-tx-pps rx-l1-bps rx-l2-bps rx-port-util tx-l1-bps tx-l2-bps tx-port-util per-core-Gbps rx-bps rx-cpu-util rx-pps tsdelta tx-bps tx-cpu-util tx-pps
    source: trafficgen
      types: l1-rx-bps l1-tx-bps l2-rx-bps l2-tx-bps lost-rx-pps max-roundtrip-usec mean-roundtrip-usec rx-pps tx-pps trial-result
    source: procstat
      types: interrupts-sec
    source: mpstat
      types: Busy-CPU NonBusy-CPU
    source: ovs-dpctl
      types: ufid-Gbps ufid-packets-sec lookups-sec flows-count ufid-expired-flows-sec ufid-new-flows-sec
    source: sar-net
      types: errors-sec L2-Gbps packets-sec
    source: ovs-ofctl
      types: Gbps packets-sec errors-sec
    source: ovs-pmd
      types: datapath-hits-sec kpps pmd-busy pmd-idle
    source: iostat
      types: avg-req-size-kB avg-service-time-ms kB-sec operations-sec percent-utilization avg-queue-length operations-merged-sec percent-merged
    source: ovs-appctl
      types: upcall-flow upcall-flow-avg upcall-flow-dump-duration-ms upcall-flow-limit upcall-flow-max
    source: sar-scheduler
      types: Load-Average-01m Load-Average-05m Load-Average-15m Process-List-Size Run-Queue-Length
    source: sar-mem
      types: KB-Paged-in-sec KB-Paged-out-sec Page-faults-sec Pages-freed-sec
    source: sar-tasks
      types: Context-switches-sec Processes-created-sec
    iteration-id: 704AA6BC-4381-11EE-96C5-3673573275F7
      unique params:
      primary-period name: measurement
      samples:
        sample-id: 70DBC8D6-4381-11EE-8AD4-3673573275F7
          primary period-id: 76341DC4-4381-11EE-8A12-3673573275F7
          period range: begin: 1687875832943 end: 1687875893120
            result: (trafficgen::rx-pps) samples: 2807454.022122 mean: 2807454.022122 min: 2807454.022122 max: 2807454.022122 stddev: NaN stddevpct: NaN

To re-post-process and index this result, the following commands were run:
[root@dhcp31-192 run]# crucible rm  --run 845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
Checking for elasticsearch...appears to be running

Confirming all documents are in deleted elasticsearch (attempt #1)
  run: doc count: 0
  iteration: doc count: 0
  sample: doc count: 0
  period: doc count: 0
  param: doc count: 0
  tag: doc count: 0

[root@dhcp31-192 run]# crucible postprocess --base-run-dir trafficgen--2023-06-27_14:00:52_UTC--845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
Benchmark result is in trafficgen--2023-06-27_14:00:52_UTC--845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
Launching a post-process job for each iteration x sample x [client|server] for trafficgen
Working on iterations/iteration-1/sample-1
Waiting for 4 post-processing jobs to complete
Post-processing complete
Launching a post-process job for each tool * each collector
Working on tool dir tool-data/profiler/1
Waiting for 3 post-processing jobs to complete
Post-processing complete

[root@dhcp31-192 run]# crucible index --base-run-dir trafficgen--2023-06-27_14:00:52_UTC--845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
Checking for elasticsearch...appears to be running
Benchmark result is in trafficgen--2023-06-27_14:00:52_UTC--845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
Checking for httpd...appears to be running
Checking for elasticsearch...appears to be running
Current CDM version is v6dev
Initializing ES...
Adding cluster settings...success
Checking templates and indices:
Checking for cdmv6dev-iteration:
  found template
  found index
Checking for cdmv6dev-metric_data:
  found template
  found index
Checking for cdmv6dev-metric_desc:
  found template
  found index
Checking for cdmv6dev-param:
  found template
  found index
Checking for cdmv6dev-period:
  found template
  found index
Checking for cdmv6dev-run:
  found template
  found index
Checking for cdmv6dev-sample:
  found template
  found index
Checking for cdmv6dev-tag:
  found template
  found index
...ES initilization complete!
Latest CDM version found in local ES instance is v6dev
Found index run
Found index iteration
Found index tag
Found index param
Found index sample
Found index period
Found index metric_desc
Found index metric_data
Exporting from /var/lib/crucible/run/trafficgen--2023-06-27_14:00:52_UTC--845fd56d-8c95-4d18-9998-e3c4bf3f9d9d/run/rickshaw-run.json to elasticsearch documents and POSTing to localhost:9200
Run ID: 845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
Indexing of tool data for profiler-1 starting
Working on tool_file: metric-data-upcall-datapath-stats
Working on tool_file: metric-data-dpctl-datapath-stats
Working on tool_file: metric-data-ovs-port-counters
Working on tool_file: metric-data-ovs-pmd
Working on tool_file: metric-data-dpctl-dump-flows
Working on tool_file: metric-data-9
Working on tool_file: metric-data-14
Working on tool_file: metric-data-13
Working on tool_file: metric-data-5
Working on tool_file: metric-data-12
Working on tool_file: metric-data-0
Working on tool_file: metric-data-6
Working on tool_file: metric-data-8
Working on tool_file: metric-data-11
Working on tool_file: metric-data-3
Working on tool_file: metric-data-4
Working on tool_file: metric-data-1
Working on tool_file: metric-data-7
Working on tool_file: metric-data-10
Working on tool_file: metric-data-2
Working on tool_file: metric-data-15
Working on tool_file: metric-data-sar-tasks
Working on tool_file: metric-data-sar-mem
Working on tool_file: metric-data-sar-scheduler
Working on tool_file: metric-data-mpstat-5
Working on tool_file: metric-data-mpstat-4
Working on tool_file: metric-data-mpstat-6
Working on tool_file: metric-data-mpstat-0
Working on tool_file: metric-data-mpstat-3
Working on tool_file: metric-data-mpstat-1
Working on tool_file: metric-data-mpstat-7
Working on tool_file: metric-data-mpstat-2
Working on tool_file: metric-data-sar-net
Working on tool_file: metric-data-iostat
Indexing of benchmark data starting
working on iter num 1
Indexing of benchmark data complete
Going to index 32 ndjson metrics
Waiting for 1 indexing jobs to complete
Finished indexing ndjson metrics
Waiting for metric data docs be present in ES
1 indexing jobs have completed

Indexing run doc
Indexing queued docs
Writing queued docs
Waiting for docs be present in ES
wait_for_docs(): Confirming all non-metric documents are in elasticsearch (attempt #1 of 20)
  param: 34 submitted, 34 found, complete
  run: 1 submitted, 0 found
  iteration: 1 submitted, 0 found
  sample: 1 submitted, 0 found
  period: 30 submitted, 0 found
  tag: 13 submitted, 0 found
wait_for_docs(): Confirming all non-metric documents are in elasticsearch (attempt #2 of 20)
  run: 1 submitted, 0 found
  iteration: 1 submitted, 0 found
  sample: 1 submitted, 0 found
  period: 30 submitted, 0 found
  tag: 13 submitted, 0 found
wait_for_docs(): Confirming all non-metric documents are in elasticsearch (attempt #3 of 20)
  run: 1 submitted, 1 found, complete
  iteration: 1 submitted, 1 found, complete
  sample: 1 submitted, 1 found, complete
  period: 30 submitted, 30 found, complete
  tag: 13 submitted, 13 found, complete
Indexing to ES complete
Benchmark result now in elastic, localhost:9200
[root@dhcp31-192 run]#

And the report generated after:
[root@dhcp31-192 run]# crucible get result --run 845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
Checking for httpd...appears to be running
Checking for elasticsearch...appears to be running
Generating benchmark summary report:

run-id: 845fd56d-8c95-4d18-9998-e3c4bf3f9d9d
  tags: cpu=CascadeLake iperf-traffic=none ovs-NIC-pmd-lb-mode=isolated-pinned ovs-VHU-pmd-lb-mode=auto-lb ovs_interfaces=4 ovs_pmds=8 ovs_queues_per_interface=8 ovs_queues_per_pmd=6 ovs_tcpdump=n ovs_ver=2.15 vm_interfaces=2 vm_iperf_queues=none vm_queues_per_pmd=2
  benchmark: trafficgen
  common params: compress-files=ON devices=0000:10:00.0,0000:11:00.0 devices=0000:98:00.0,0000:98:00.1 disable-upward-search=OFF duplicate-packet-failure=retry-to-fail max-loss-pct=0.5 mem-limit=8192 one-shot=0 process-all-profiler-data=ON rate-tolerance-failure=fail rate-unit=% rate=274 result-output=none search-runtime=30 send-teaching-measurement=ON send-teaching-warmup=ON sniff-runtime=0 teaching-measurement-packet-type=generic teaching-warmup-packet-type=generic testpmd-descriptors=1024 testpmd-dst-macs=1c:34:da:77:3e:80,1c:34:da:77:3e:81 testpmd-enable-rss-udp=off testpmd-forward-mode=mac testpmd-mtu=1500 testpmd-queues-per-pmd=2 testpmd-queues=8 testpmd-smt=on traffic-direction=bidirectional traffic-generator=trex-txrx-profile traffic-profile=920B-4kflows-3vm-n0-n1-n1-profile.json trex-mellanox-support=on trex-software-mode=off validation-runtime=60 warmup-trial=ON
  metrics:
    source: trafficgen-trex-profiler
      types: stream-rx-pps stream-tx-pps after-expected-latency-pps before-expected-latency-pps dropped-latency-pps max-round-trip-usec mean-round-trip-usec min-round-trip-usec out-of-order-latency-pps port-rx-pps port-tx-pps rx-l1-bps rx-l2-bps rx-port-util tx-l1-bps tx-l2-bps tx-port-util per-core-Gbps rx-bps rx-cpu-util rx-pps tsdelta tx-bps tx-cpu-util tx-pps
    source: trafficgen
      types: l1-rx-bps l1-tx-bps l2-rx-bps l2-tx-bps lost-rx-pps max-roundtrip-usec mean-roundtrip-usec rx-pps tx-pps trial-result
    source: procstat
      types: interrupts-sec
    source: mpstat
      types: Busy-CPU NonBusy-CPU
    source: ovs-dpctl
      types: ufid-Gbps ufid-packets-sec lookups-sec flows-count ufid-expired-flows-sec ufid-new-flows-sec
    source: sar-net
      types: errors-sec L2-Gbps packets-sec
    source: ovs-ofctl
      types: Gbps packets-sec errors-sec
    source: ovs-pmd
      types: datapath-hits-sec kpps pmd-busy pmd-idle
    source: iostat
      types: avg-req-size-kB avg-service-time-ms kB-sec operations-sec percent-utilization avg-queue-length operations-merged-sec percent-merged
    source: ovs-appctl
      types: upcall-flow upcall-flow-avg upcall-flow-dump-duration-ms upcall-flow-limit upcall-flow-max
    source: sar-scheduler
      types: Load-Average-01m Load-Average-05m Load-Average-15m Process-List-Size Run-Queue-Length
    source: sar-mem
      types: KB-Paged-in-sec KB-Paged-out-sec Page-faults-sec Pages-freed-sec
    source: sar-tasks
      types: Context-switches-sec Processes-created-sec
    iteration-id: EA0B3448-4382-11EE-B092-4F7A573275F7
      unique params:
      primary-period name: measurement
      samples:
        sample-id: EA73B8F6-4382-11EE-A2D8-4F7A573275F7
          primary period-id: EFC45B44-4382-11EE-824F-4F7A573275F7
          period range: begin: 1687875832943 end: 1687875893120
            result: (trafficgen::rx-pps) samples: 2807454.022122 mean: 2807454.022122 min: 2807454.022122 max: 2807454.022122 stddev: NaN stddevpct: NaN

And the differences:
[root@dhcp31-192 run]# diff -Naurp first-result.txt second-result.txt
--- first-result.txt	2023-08-25 15:59:52.183042938 -0400
+++ second-result.txt	2023-08-25 16:09:28.189878567 -0400
@@ -33,12 +33,12 @@ run-id: 845fd56d-8c95-4d18-9998-e3c4bf3f
       types: KB-Paged-in-sec KB-Paged-out-sec Page-faults-sec Pages-freed-sec
     source: sar-tasks
       types: Context-switches-sec Processes-created-sec
-    iteration-id: 704AA6BC-4381-11EE-96C5-3673573275F7
+    iteration-id: EA0B3448-4382-11EE-B092-4F7A573275F7
       unique params:
       primary-period name: measurement
       samples:
-        sample-id: 70DBC8D6-4381-11EE-8AD4-3673573275F7
-          primary period-id: 76341DC4-4381-11EE-8A12-3673573275F7
+        sample-id: EA73B8F6-4382-11EE-A2D8-4F7A573275F7
+          primary period-id: EFC45B44-4382-11EE-824F-4F7A573275F7
           period range: begin: 1687875832943 end: 1687875893120
             result: (trafficgen::rx-pps) samples: 2807454.022122 mean: 2807454.022122 min: 2807454.022122 max: 2807454.022122 stddev: NaN stddevpct: NaN

The iteration, sample, and period IDs are the ones that change.

Iteration, sample, and period IDs are generated with $some_var = Data::UUID->new->create_str(); in the rickshaw-index script.  Note that IDs are created in this same script for metric data (benchmark and tool data) but those IDs do not need to be persistent across re-indexes, as the queries do not reference those IDs directly.
The iteration, sample, and period IDs need to be generated and save much earlier in the post-process/index phase, before actual post-processing and indexing.  A new script will need to be introduced, run before rickshaw-post-process-[tools|bench] and rickshaw-index, to parse the raw data, generate iteration, sample, and period IDs, and store these persistently either in the rw data files or in rickshaw-run.json.
Once this is done, rickshaw-post-process-[tools|bench] and rickshaw-index can be run without altering these IDs.

authors: atheurer dustinblack k-rister

repo: perftool-incubator/rickshaw


text:
pkg/importer/instapaper : oauth.Client has no field or method RequestTokenXAuth

# perkeep.org/pkg/importer/instapaper
pkg/importer/instapaper/instapaper.go:184:30: oauthClient.RequestTokenXAuth undefined (type
*oauth.Client has no field or method RequestTokenXAuth)

We probably need to update some oauth dep.

https://perkeep-review.googlesource.com/c/perkeep/+/18906

repo: perkeep/perkeep


text:
Fix to with 404 introduced new issues into control.pod6

The problem
#2881 was closed with 996dd01425f6a885f1dd733dda5fb85de16cec00. However, it introduced at least two new issues I’ll illustrate with before and after screenshots, and highlights a third issue that wasn’t actually changed by the commit:

The with orwith without headline has changed from mono:

to sans-serif:

which makes it mismatched with the other headings at the same level—and this is repeated in the headlines as can be seen below. It also has lost commas, which is probably a clue to:
There’s an odd set of two commas before the heading:

previously seen inside the heading itself:

I can find no motivation for them in the text, as it goes directly from

diff --git a/doc/Language/control.pod6 b/doc/Language/control.pod6
index 947fa7ad5..546317422 100644
--- a/doc/Language/control.pod6
+++ b/doc/Language/control.pod6
@@ -357,7 +357,8 @@ unless 0 { "0 is false".say }  ; # says "0 is false"
     my $c = 0; say (1, (unless 0 { $c += 42; 2; }), 3, $c); # says "(1 2 3 42)"
     my $d = 0; say (1, (unless 1 { $d += 42; 2; }), 3, $d); # says "(1 3 0)"

-=head2 X<C<with>|control flow, with>, X<C<orwith>|control flow, orwith>, X<C<without>|control flow, without>
+X<|control flow,with>, X<|control flow,orwith>, X<|control flow,without>
+=head2 X<with orwith without>

 The C<with> statement is like C<if>, but tests for definedness rather than
 truth, and it topicalizes on the condition, much like C<given>:

and, if we look at the difference from before the last edit to this section made by me in 1c57f0d08 (where I attempted to fix the mono/sans formatting issue) and now, we see:
  diff --git a/doc/Language/control.pod6 b/doc/Language/control.pod6
index 29f0dd959..546317422 100644
--- a/doc/Language/control.pod6
+++ b/doc/Language/control.pod6
@@ -357,10 +357,11 @@ unless 0 { "0 is false".say }  ; # says "0 is false"
     my $c = 0; say (1, (unless 0 { $c += 42; 2; }), 3, $c); # says "(1 2 3 42)"
     my $d = 0; say (1, (unless 1 { $d += 42; 2; }), 3, $d); # says "(1 3 0)"

-=head2 X<with|control flow, with>, X<orwith|control flow, orwith>, X<without|control flow, without>
+X<|control flow,with>, X<|control flow,orwith>, X<|control flow,without>
+=head2 X<with orwith without>

-The C<with> statement is like C<if> but tests for definedness rather than
-truth.  In addition, it topicalizes on the condition, much like C<given>:
+The C<with> statement is like C<if>, but tests for definedness rather than
+truth, and it topicalizes on the condition, much like C<given>:

     with "abc".index("a") { .say }      # prints 0

so, it’s some htmlify artifact, I think. @JJ -- is there a way to combine these somehow so that we get the indexing, the code typeface, and no vestigial commas?

Finally, not introduced by this commit but put in the spotlight by it: are the heading levels correct, and if so, is the punctuation correctly parallel?

else/elsif (with a slash) is below if, as a constituent part; unless also, presumably because unless is the logical negation of if; but with orwith without is also headed under if, but without slashes.
Suggestions
I don't know how to fix the typeface and indexing issue and the strange commas--I'm not clear enough on how htmlify works.
As for structuring, I can see an argument for this three ways:
- with, orwith, and without are variants of if dealing with definedness rather than with truth, just as unless is a variant, so the current structure is correct.
- with is not in any way subsequent to if but rather a sibling occupying the same spot in the syntax but with different semantics, so should stand at the same level as if, just as for and while do.
- The entire section after if needs a rework. The connection is even stronger between if and with than between if and ‘unless’, since with...elsif..orwith..else and if...orwith...elsif...else are perfectly allowable. So, to the contrary, there should be two sections where the single if currently stands: if/with...elsif/orwith...else and unless/without, since they occupy the same niches in the language syntax.
I tend to the last option; if others agree, I’m happy to rework the entire if section to consolidate it into if/with...elsif/orwith...else and unless/without—but it appears, from the issue #2881 motivating the commit that this current issue is addressing, that changes here can have ramifications of spooky action at a distance, so I’d appreciate some guidance as to how to do so without breaking the index again as my last commit apparently did with what I thought was a fairly prosaic formatting "fix":
diff --git a/doc/Language/control.pod6 b/doc/Language/control.pod6
index 29f0dd959..bf4556a14 100644
--- a/doc/Language/control.pod6
+++ b/doc/Language/control.pod6
@@ -357,10 +357,10 @@ unless 0 { "0 is false".say }  ; # says "0 is false"
     my $c = 0; say (1, (unless 0 { $c += 42; 2; }), 3, $c); # says "(1 2 3 42)"
     my $d = 0; say (1, (unless 1 { $d += 42; 2; }), 3, $d); # says "(1 3 0)"

-=head2 X<with|control flow, with>, X<orwith|control flow, orwith>, X<without|control flow, without>
+=head2 X<C<with>|control flow, with>, X<C<orwith>|control flow, orwith>, X<C<without>|control flow, without>

-The C<with> statement is like C<if> but tests for definedness rather than
-truth.  In addition, it topicalizes on the condition, much like C<given>:
+The C<with> statement is like C<if>, but tests for definedness rather than
+truth, and it topicalizes on the condition, much like C<given>:

     with "abc".index("a") { .say }      # prints 0

I'm not sure how to tease apart these issues, but this probably should be split into two or three issues once it's articulated here how the indexing broke:

The mono/sans question
The document structure (which is dependent on the mono/sans issue fix)

and then those two issues can fix each of those things, hopefully without re-breaking indexing.

Yep, there should be a way. The problem is that indexing is so arcane I'm afraid of making some changes and making it stop working. Thanks for the detailed report.

authors: JJ treyharris


text:
Refactor Gulp

[ ] Add better error handling

Done in version 1.2.0

repo: peronczyk/PLON