fix: fix warnings and syntax error after <IP_ADDRESS>

Codecov Report

Merging #143 (59e4d5a) into main (a84565b) will increase coverage by 0.81%.
The diff coverage is 63.50%.

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
+ Coverage   64.20%   65.01%   +0.81%
==========================================
  Files          97       97
  Lines       18678    18837     +159
==========================================
+ Hits        11992    12247     +255
+ Misses       6686     6590      -96

Impacted Files
Coverage Δ

taos-query/src/common/describe.rs
0.00% <0.00%> (ø)

taos-query/src/common/raw/views/mod.rs
62.72% <ø> (ø)

taos-ws/src/consumer/messages.rs
96.61% <ø> (+30.50%)
:arrow_up:

taos-ws/src/lib.rs
43.79% <0.00%> (ø)

taos-query/src/lib.rs
41.86% <14.28%> (-0.82%)
:arrow_down:

taos-sys/src/lib.rs
51.54% <33.33%> (+0.31%)
:arrow_up:

taos-sys/src/query/blocks.rs
12.00% <33.33%> (+1.33%)
:arrow_up:

taos-sys/src/conn/mod.rs
60.43% <60.00%> (-0.89%)
:arrow_down:

taos-sys/src/query/raw_res.rs
46.96% <66.66%> (+0.81%)
:arrow_up:

taos-ws/src/consumer/mod.rs
78.49% <68.75%> (+18.92%)
:arrow_up:

... and 12 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


JSON integration, pointer updates, ...

This CL's main purpose was to update with JSON, but as part of that I needed to update some pointers to non-pointers.
This kinda cascaded into a bunch of changes.  Not everything that can be de-pointered was touched.
This also led to finding a few bugs and test re-writes.
Finally, there are a ton of comments in here so I an

Thanks @element-of-surprise left a few comments and opened a few issues. idk if i'll have time to go back through it, i would like to spend more time on some parts, but time is a little fleeting atm.

In reply to: 726384926 [](ancestors = 726384926)


how to make metadata ingestion from clickhouse

I want to use clickhouse as source data to import dataHub? Someone can Help?

Hi @bobliugq - once #2389 is merged in, you should be able to easily define a custom SQL-based source.
For clickhouse, you can combine https://github.com/xzkostyan/clickhouse-sqlalchemy with a fairly simple config to make it work. Let me know if you run into any issues.

Hi @bobliugq - once #2389 is merged in, you should be able to easily define a custom SQL-based source.
For clickhouse, you can combine https://github.com/xzkostyan/clickhouse-sqlalchemy with a fairly simple config to make it work. Let me know if you run into any issues.

Thanks for you help! But I could not find the plugins of sqlalchemy when I finished updated datahub(version 0.1.1)
Command I use:
pip install 'acryl-datahub[sqlalchemy]'
Warning Information:
WARNING: acryl-datahub 0.1.1 does not provide the extra 'sqlalchemy'

Just uploaded the new version to PyPI - https://pypi.org/project/acryl-datahub/0.1.2/
Can you try re-running pip install --upgrade 'acryl-datahub[sqlalchemy]' - it should get version 0.1.2

Unfortunately! I got same warning when I update my dataHub to version 0.1.2.
Warning Information:
WARNING: acryl-datahub 0.1.2 does not provide the extra 'sqlalchemy'

Ah I missed a line - sorry about that! I made a quick PR (#2409) to fix that.
In the meantime, you can manually install it by running pip install sqlalchemy as well, and then datahub check plugins should show sqlalchemy as enabled.

@bobliugq : just checking if you were able to get this working.

Hi @bobliugq - once #2389 is merged in, you should be able to easily define a custom SQL-based source.
For clickhouse, you can combine https://github.com/xzkostyan/clickhouse-sqlalchemy with a fairly simple config to make it work. Let me know if you run into any issues.

Hi Team, any update regarding this? It would be great to use ClickHouse with Datahub

we just implemented it @sandeep-devarapalli
https://github.com/open-botech/datahub/blob/hb-datahub/metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py

@wangqinghuan This is amazing, thanks a lot, and can you please let me know if this is available in DataHub too?

I've got it working with dependencies:
clickhouse-driver                  0.2.2
clickhouse-sqlalchemy              0.1.7

and then with generic sqlalchemy recipe:
source:
  type: sqlalchemy
  config:
    platform: ClickHouse
    # Coordinates
    connect_uri: "clickhouse+native://username:password@clickhouse-host.example.com:9000/"

@wangqinghuan I tried applying your changes from this commit on current master and when I do ./gradlew metadata-ingestion:build
I'm getting the following error:
> Task :metadata-ingestion:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':metadata-ingestion:lint'.
> Process 'command 'bash'' finished with non-zero exit value 1

Is datahub integration with clickhouse working with your branch?
If yes, can you suggest what I'm missing?
TIA!

we just implemented it @sandeep-devarapalli https://github.com/open-botech/datahub/blob/hb-datahub/metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py

@wangqinghuan I tried applying your changes from this commit on current master and when I do ./gradlew metadata-ingestion:build
I'm getting the following error:
> Task :metadata-ingestion:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':metadata-ingestion:lint'.
> Process 'command 'bash'' finished with non-zero exit value 1

Is datahub integration with clickhouse working with this branch? If yes, can you suggest what I'm missing?
TIA!

we just implemented it @sandeep-devarapalli https://github.com/open-botech/datahub/blob/hb-datahub/metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py

@wangqinghuan I tried applying your changes from this commit on current master and when I do ./gradlew metadata-ingestion:build
I'm getting the following error:
> Task :metadata-ingestion:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':metadata-ingestion:lint'.
> Process 'command 'bash'' finished with non-zero exit value 1

Is datahub integration with clickhouse working with this branch? If yes, can you suggest what I'm missing?
TIA!
avoid lint
./gradlew  :metadata-ingestion:build -x lint

New clickhouse source is present. Closing this


New projekt!!! Please! Alex!

@aalex94 . Please create a project! As far as I can see, only you can do that.

Project is created. Name is Csapat3.

As I mentioned in the previous comment I created the project.


Set JVM target version as 1.8

Fixes #202.
TODO:

[ ] add tests for 1.8 consumer (not sure how yet, probably setting up Java 1.8 in GitHub Actions)
[ ] add to README and in a comment that we support oldest still maintained JRE versions.

It should be possible to use JDK21 to run Gradle and compile the code (it doesn't have to be 21, but higher is better, because newer Java versions are faster and have more fixes).
Next, set the Java release flag to 8, so that JDK21 will compile the code to Java 8 https://jakewharton.com/kotlins-jdk-release-compatibility-flag/
However, this might require removing the Java Toolchain config - see https://jakewharton.com/gradle-toolchains-are-rarely-a-good-idea/
See also: https://blog.alllex.me/posts/2023-11-03-liberal-library-tooling/
For tests, it's possible to configure them to use JDK8 as a launcher https://docs.gradle.org/8.8/userguide/toolchains.html#toolchains_for_tasks

However, Java 8 is ancient, so I don't feel very inclined to support it.

For tests, it's possible to configure them to use JDK8 as a launcher https://docs.gradle.org/8.8/userguide/toolchains.html#toolchains_for_tasks

I want to start with this, to make it test-driven, but I'm having problems. Asked in https://kotlinlang.slack.com/archives/C19FD9681/p1719233443825339

Try https://github.com/square/okhttp/blob/ad4c4f02860565e7217f23713f22c215f3bfce75/build.gradle.kts#L146

Current problem: Java tests don't compile because they use features not present in 1.8.

I've updated the config a bit, but we have a dependency on https://github.com/ethauvin/urlencoder, which requires Java 11.
https://github.com/ethauvin/urlencoder/blob/dd3d500496b8768a89ff94d1cd0343e739a72940/buildSrc/src/main/kotlin/buildsrc/conventions/lang/kotlin-multiplatform-base.gradle.kts#L46-L50

I've asked the owner of our dependency to support Java 8: https://github.com/ethauvin/urlencoder/issues/18


Add docs

first pass at a docs site
this could eventually replace examples directory

Coverage remained the same at 100.0% when pulling 3f74a63fcabe0c3eaa186f4ed46e516f214f780c on docs into a4524ed4b75e481b6d747f6475430a7591a3c165 on master.


when ‘微信团队’ or ‘腾讯新闻’ sent message to me, ContactType is?

Provide Your Network Information

Where is the location of your server? (i.e. City, or In/Out China) chaina
Which cloud platform(AliYun/Qcloud/DigitalOcean/etc) are you using? Qcloud

when  ‘微信团队’ or ‘腾讯新闻’ sent message to me
message.form().type() is Contact.Type.Personal
and
message.form().friend() is true
so.  I can't distinguish between my friend or any special.

Which puppet did you use?
What's version did you use?
Please follow our issue template, thanks.

try   message.from().contact() === '微信团队'  to diff

It is like that the 微信团队  and 腾讯新闻 is not the Official Account.
In the web API, there's another kind of contact named Special.
Maybe we should consider adding a third type of the Contact? I'm not sure.
Before we can fix it, it seems that the suggestion from @TbhT is a good workaround.

ok👌，i get it（now Wechaty  v0.18.5 && padchat）
ps. a few months ago, i use Contact.special() whit wechatyV0.13.57

@xwxtwd Thanks for reporting that, good catch!
It should be consistent among all puppet implementations, will look into it later.


Add support for lowercase block keywords.

Hi,
I got this PR on my repo https://github.com/kristijanhusak/orgmode.nvim/pull/89 that adds support for lowercase block keywords. At first I thought those are not supported, but then I found commit from 3 years ago on emacs orgmode where they changed some of these things.
Since tree-sitter doesn't support case insensitive regex via /i flag, I used this solution to achieve case insensitive match. Let me know if there is better way.

I'm not really concerned with exactly parsing like orgmode. I do definitely generally prefer a more permissive style, though, and it doesn't really make sense to me to be restrictive in case on some of the syntax elements but not all. Consequently, I'm thinking change all instances of UPPER words to a case insensitive version, using a function like the 'improved' version mentioned by APerricone in the issue you linked. I think it should be easy (I don't expect a bunch of conflicts) to just plop in a function like that one and wrap the uppercase words. If that works for you, if you can take care of that it would be great, but if not I can tackle it tonight.

Yeah that works too. I'll take care of it tomorrow, or if you suspect there will be some conflicts that will need to be handled, I'll have to leave it to you, since that's a bit out of my knowledge scope.

Thanks!


Empty response body in Meetup OAuth 1.0a access token request

A successful OAuth 1.0a access token request to https://api.meetup.com/oauth/access/ returns a response with empty body but it should contain the oauth_token and oauth_token_secret. The response status is 200 OK.
Here are the response headers:
Server: cloudflare-nginx
Date: Sun, 26 Apr 2015 19:16:10 GMT
Content-Type: text/plain; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d1417361f04bd2b49d8441d7277183e461430075769; expires=Mon, 25-Apr-16 19:16:09 GMT; path=/; domain=.meetup.com; HttpOnly
Content-Language: en-US
Set-Cookie: MEETUP_MEMBER="id=0&status=1&timestamp=1430075770&bs=0&tz=US%2FEastern&zip=&country=us&city=&state=&lat=0.0&lon=0.0&s=ddb06082e776a3584371372d7ada246a71c2b652"; Version=1; Domain=.meetup.com; Path=/
Set-Cookie: MEETUP_AFFIL="affil=meetup"; Version=1; Domain=.meetup.com; Max-Age=3888000; Expires=Wed, 10-Jun-2015 19:16:10 GMT; Path=/
Set-Cookie: MEETUP_LANGUAGE="language=en&country=US"; Version=1; Domain=.meetup.com; Path=/
Set-Cookie: MEETUP_TRACK="id=532f9f2c-71ec-49a9-97e0-e92bac9c47c5&l=0&s=e467a30a7fce8c0b4b6b3fb21e80b934a3ffe6a3"; Version=1; Domain=.meetup.com; Max-Age=630720000; Expires=Sat, 21-Apr-2035 19:16:10 GMT; Path=/
Set-Cookie: MEETUP_CSRF=7897444a-e0d2-49ff-bcb3-8766976a0e0f; Domain=.meetup.com; Expires=Tue, 26-May-2015 19:16:10 GMT; Path=/
Vary: Accept-Encoding,User-Agent
CF-RAY: 1dd49ed9eac205e1-WAW

I have also asked a question about this on stackoverflow:
http://stackoverflow.com/questions/29882359/empty-response-body-in-meetup-oauth-1-0a-access-token-request

Just noticed that this is already being solved in #83.


Add docsify-cli 4.4.3

Add docify-cli as a development dependency.
However, if you think it would be better to install it globally, please let us know so that we can withdraw this change!

dev ブランチの方がいいのかな 🤔

Thank you for the PR!


chore remove unused code of hash join

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


d_rd URL needs to be Encoded Properly

Issue in help/using/integration/media-data-integration/click-data-pixels.md
There is a concern that the 'd_rd' value is not properly encoded in the URL examples of:
https://client.demdex.net/event?d_event=click&d_creative=123&d_rd=http%3A%2F%2Fadobe.com%2Fcallback%3Fcreative%3D%25d_creative%25
https://client.demdex.net/event?d_event=click&d_creative=1235&d_src=203&d_campaign=4709&d_adgroup=3408&d_placement=1001&
d_rd=http%3A%2F%2Fadobe.com%2Fcallback%3Fcreative%3D%25d_creative%25%26campaign%3D%25d_campaign%25%26adgroup%3D%25
d_adgroup%25%26d_placement%3D%25placement%25%26src%3D%25d_src%25
While recently working with an adobe consultant, they above examples were leveraged and the URL redirection did not work as expected. The issue was that the d_rd was not properly encoded. It was discovered that the d_rd URL needed to be encoded a total of 2 times. For example:
d_rd=http%3A%2F%2Fadobe.com%2Fcallback%3Fcreative%3D%25d_creative%25%26campaign%3D%25d_campaign%25%26adgroup%3D%25
d_adgroup%25%26d_placement%3D%25placement%25%26src%3D%25d_src%25
becomes:
d_rd%3Dhttp%253A%252F%252Fadobe.com%252Fcallback%253Fcreative%253D%2525d_creative%2525%2526campaign%253D%2525d_campaign%2525%2526adgroup%253D%2525%0Ad_adgroup%2525%2526d_placement%253D%2525placement%2525%2526src%253D%2525d_src%2525
Using an online encoder, the URL needs to be run through the encoding process 2 times for the d_rd parameter to be properly encoded and have the redirect function properly.
This is difficult to describe over text, you can email me or ping me in Slack if more information is needed.

Thanks for reporting this, Jeffery. I've updated the docs to reflect the behavior.


(Pixel) Add Munro as the Pixel font

This enables Munro as the font for the Pixel theme (SIL Open Font License). Having a font that aims to be readable in a low resolution environment matches the goals of the icons in Pixel.

Fixes #266

Closing this for now. I18n is a PITA.


caddy started with -quiet=true option should send no output to stdout with git enabled

Originally filed here, but asked by @abiosoft to file in your repo.
https://github.com/mholt/caddy/issues/434
I have git enabled in my Caddyfile for a site.  If I start caddy with the -quiet=true option I would expect no output on startup at all. But I still see the output of the git initialization every time.  The core caddy startup output is the only part that seems to be suppressed.
$ /usr/local/bin/caddy -conf="/home/glenn/www/Caddyfile" -quiet=true
From https://github.com/grempe/www.rempe.us
 * branch            master     -> FETCH_HEAD
Already up-to-date.
2015/12/13 13:34:22 https://github.com/grempe/www.rempe.us.git pulled.
^C

$ /usr/local/bin/caddy -conf="/home/glenn/www/Caddyfile" -quiet=false
Activating privacy features... done.
From https://github.com/grempe/www.rempe.us
 * branch            master     -> FETCH_HEAD
Already up-to-date.
2015/12/13 13:35:28 https://github.com/grempe/www.rempe.us.git pulled.
rp1.rempe.us:https
rp1.rempe.us:http

$ caddy -h
Usage of caddy:
...
  -quiet=false: Quiet mode (no initialization output)
...

I would expect this to quiet all output, not just part of it, from the startup sequence no matter what config options I have provided in the Caddy file for git or any other options.

Hehe. I am @abiosoft and this is my repo. :smile:
This is a bug thanks to my ignorance and a fix is in the works.
Thanks.

:+1:

This isn't technically a bug. I just realised Caddy does not expose cli flags to middleware yet. Whenever that happens, Git will conform with it.


prometheus: Convert scheduling metrics from gauges to counters

Instead of sampling the scheduling pipeline metrics at an arbitray rate (depending on the prometheus scrape interval) we now have a counter summing up the time it took to schedule a pipeline. The additional counter (concourse_scheduling_total) can be used to calculate an average scheduling time within a scrape interval.
Using counters for the scheduling metrics has the added benefit that it handles deleted or paused pipelines better. Previously the scheduling time was stuck at the value that was emitted last. Now the rate of change drop to zero clearly indicating that the pipeline is not beeing scheduled anymore.
Note: This change is breaking, meaning folks using the prometheus exporter will need to updated their (scheduling) graphs.
/cc @TimSimmons @vito

Thanks!


Detect and warn if empty entries in config.stratigraphy

Solve #383. But there are probably better ways. See issue for details.

Just remove the entry at the PROBLEM line?

I guess we can sanitize and remove before we use it, but that will leave the problem in place for the next application to discover it. Idea was that it would be better to address it, so that it would be fixed. But we can also do both, I think.


[CU-86b2kxqtq] Added commands to add and update gcp storage account.

Task linked: CU-86b2kxqtq Add add and update commands for GCP storage account


Segmentation fault for all parallel examples

Hi all,
I just pull the latest MFEM from github. After I build and compile, I run any of parallel examples but I got similar errors like below.
Run examples/ex1p:
Options used:
   --mesh ../data/star.mesh
   --order 1
   --no-static-condensation
   --no-partial-assembly
   --device cpu
   --visualization
Device configuration: cpu
[ronghong:12536] *** Process received signal ***
[ronghong:12536] Signal: Segmentation fault (11)
[ronghong:12536] Signal code: Address not mapped (1)
[ronghong:12536] Failing at address: 0xe3792638
[ronghong:12536] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f99061aa890]
[ronghong:12536] [ 1] /usr/lib/x86_64-linux-gnu/libmpi.so.20(MPI_Comm_rank+0x42)[0x7f9908a16c42]
[ronghong:12536] [ 2] ./ex1p(hypre_MPI_Comm_rank+0x22)[0x55fee3339e92]
[ronghong:12536] [ 3] ./ex1p(hypre_ParCSRMatrixCreate+0x59)[0x55fee335ac09]
[ronghong:12536] [ 4] ./ex1p(_ZN4mfem14HypreParMatrixC2EP19ompi_communicator_tiiPiS3_S3_S3_S3_S3_S3_i+0xa2)[0x55fee3039e02]
[ronghong:12536] [ 5] ./ex1p(_ZNK4mfem21ParFiniteElementSpace24Build_Dof_TrueDof_MatrixEv+0x3aa)[0x55fee32ddf0a]
[ronghong:12536] [ 6] ./ex1p(main+0x157f)[0x55fee2fcf43f]
[ronghong:12536] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f99056a1b97]
[ronghong:12536] [ 8] ./ex1p(_start+0x2a)[0x55fee2fd0c1a]
[ronghong:12536] *** End of error message ***
Segmentation fault (core dumped)

Run examples/ex2p:
Options used:
   --mesh ../data/beam-tri.mesh
   --order 1
   --amg-for-systems
   --no-static-condensation
   --visualization
[ronghong:13821] *** Process received signal ***
[ronghong:13821] Signal: Segmentation fault (11)
[ronghong:13821] Signal code: Address not mapped (1)
[ronghong:13821] Failing at address: 0x749ac638
[ronghong:13821] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f9d384ab890]
[ronghong:13821] [ 1] /usr/lib/x86_64-linux-gnu/libmpi.so.20(MPI_Comm_rank+0x42)[0x7f9d3ad17c42]
[ronghong:13821] [ 2] ./ex2p(hypre_MPI_Comm_rank+0x22)[0x555a74553b02]
[ronghong:13821] [ 3] ./ex2p(hypre_ParCSRMatrixCreate+0x59)[0x555a74574879]
[ronghong:13821] [ 4] ./ex2p(_ZN4mfem14HypreParMatrixC2EP19ompi_communicator_tiiPiS3_S3_S3_S3_S3_S3_i+0xa2)[0x555a74246392]
[ronghong:13821] [ 5] ./ex2p(_ZNK4mfem21ParFiniteElementSpace24Build_Dof_TrueDof_MatrixEv+0x3aa)[0x555a744ea5da]
[ronghong:13821] [ 6] ./ex2p(main+0x16df)[0x555a741e86ef]
[ronghong:13821] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f9d379a2b97]
[ronghong:13821] [ 8] ./ex2p(_start+0x2a)[0x555a741e9f2a]
[ronghong:13821] *** End of error message ***
Segmentation fault (core dumped)

Run examples/ex3p:
Options used:
   --mesh ../data/beam-tet.mesh
   --order 1
   --frequency 1
   --no-static-condensation
   --visualization
[ronghong:13918] *** Process received signal ***
[ronghong:13918] Signal: Segmentation fault (11)
[ronghong:13918] Signal code: Address not mapped (1)
[ronghong:13918] Failing at address: 0x483ea658
[ronghong:13918] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f43a156d890]
[ronghong:13918] [ 1] /usr/lib/x86_64-linux-gnu/libmpi.so.20(MPI_Comm_rank+0x42)[0x7f43a3dd9c42]
[ronghong:13918] [ 2] ./ex3p(hypre_MPI_Comm_rank+0x22)[0x560647f91a62]
[ronghong:13918] [ 3] ./ex3p(hypre_ParCSRMatrixCreate+0x59)[0x560647fb27d9]
[ronghong:13918] [ 4] ./ex3p(_ZN4mfem14HypreParMatrixC2EP19ompi_communicator_tiiPiS3_S3_S3_S3_S3_S3_i+0xa2)[0x560647c842b2]
[ronghong:13918] [ 5] ./ex3p(_ZNK4mfem21ParFiniteElementSpace24Build_Dof_TrueDof_MatrixEv+0x3aa)[0x560647f2853a]
[ronghong:13918] [ 6] ./ex3p(main+0x14e4)[0x560647c26534]
[ronghong:13918] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f43a0a64b97]
[ronghong:13918] [ 8] ./ex3p(_start+0x2a)[0x560647c27d5a]
[ronghong:13918] *** End of error message ***
Segmentation fault (core dumped)

I want to know where is wrong and how to fix it. The attached file is MFEMConfig.cmake.
MFEMConfig.cmake.txt
Thanks in advance!

Do you run with mpirun? Did you try to follow https://mfem.org/parallel-tutorial/?

This looks like your hypre library was compiled with a different MPI version than MFEM is linked with. Depending on your OS, I assume linux here, can you run ldd libhypre.so and ldd libmfem.so as well as some of the examples you are trying to run and post the output? You have to change the names and paths to correct one obviously.
I don't see anything wrong with the cmake config.

Thanks for your reply @jakubcerveny and @jandrej .
@jandrej Yes, I run all examples by mpirun -np 4 executable_file.
I followed the link to install hypre and metis5 and then I set several environment variables (se
e below).

Finally, I copy mfem/config/defaults.cmake to mfem/config/user.cmake and change in user.cmake
option(MFEM_USE_MPI "Enable MPI parallel build" OFF)
option(MFEM_USE_PETSC "Enable PETSc support." OFF)
set(HYPRE_DIR "${MFEM_DIR}/../hypre/src/hypre" CACHE PATH "Path to the hypre library.")
set(METIS_DIR "${MFEM_DIR}/../metis-4.0" CACHE PATH "Path to the METIS library.")
set(PETSC_DIR "${MFEM_DIR}/../petsc" CACHE PATH "Path to the PETSc main directory.")
set(PETSC_ARCH "arch-linux2-c-debug" CACHE STRING "PETSc build architecture.")

into
option(MFEM_USE_MPI "Enable MPI parallel build" ON)
option(MFEM_USE_PETSC "Enable PETSc support." ON)
set(HYPRE_DIR "$ENV{HYPRE_DIR}/src/hypre" CACHE PATH "Path to the hypre library.")
set(METIS_DIR "$ENV{METIS_DIR}" CACHE PATH "Path to the METIS library.")
set(PETSC_DIR "$ENV{PETSC_DIR}" CACHE PATH "Path to the PETSc main directory.")
set(PETSC_ARCH "arch-linux2-c-debug" CACHE STRING "PETSc build architecture.")

@jandrej I try to install hypre and mfem for dynamic libraries, but I failed when install mfem.
Below is installing hypre steps:
./configure --enable-shared
make
make install

Hypre is OK.
Below is installing mfem steps:
cmake .. -DBUILD_SHARED_LIBS=1
make -j 4

But I got error:
[ 58%] Building CXX object CMakeFiles/mfem.dir/fem/pfespace.cpp.o
[ 58%] Building CXX object CMakeFiles/mfem.dir/fem/pgridfunc.cpp.o
[ 58%] Building CXX object CMakeFiles/mfem.dir/fem/plinearform.cpp.o
make[2]: *** No rule to make target '/home/plan/Downloads/hypre-master/src/hypre/lib/libHYPRE.a', needed by 'libmfem.so.4.0.1'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 61%] Building CXX object CMakeFiles/mfem.dir/fem/pnonlinearform.cpp.o
CMakeFiles/Makefile2:195: recipe for target 'CMakeFiles/mfem.dir/all' failed
make[1]: *** [CMakeFiles/mfem.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

You don't need to install the libraries as shared libraries. I prefer to do that but it is not a requirement. I can't see anything wrong with your way of configuring. You have to look into your compile logs for hypre and mfem then to make sense of what MPI it picks up and links with.

Thanks for your help.
Somehow I compile successfully.


Estimation error when trying to execute a tx with a non-owner trezor

I'm having issues with Trezor. When I try to execute a tx in a safe where the trezor is NOT owner. The gas estimation always fail for that one

In a safe 1/x create a tx and leave it in queue
Connect with a trezor non-owner of that safe
Try to execute the tx
https://pr3399--safereact.review-safe.gnosisdev.com/app/rin:0xFfDC1BcdeC18b1196e7FA04246295DE3A17972Ac/transactions/0xd522b070d2824c34823d33aed059bb1cdd57c6f7c1019cb64097b4a5d9a53083

Now is failing with MM accounts, so is not just the physicals device

https://pr3399--safereact.review-safe.gnosisdev.com/app/rin:0xCb53eFc2fCB44206A8960cdB98467F951AE5777E/transactions/0xdffcce5751b437350fcde27e2f2b65981a2a68f1f89a8b0c902b75d9f09144f1

We debugged it together and it seems to be some intermittent backend issues.

I'm still having issues with this.
https://pr3399--safereact.review-safe.gnosisdev.com/app/rin:0xFfDC1BcdeC18b1196e7FA04246295DE3A17972Ac/transactions/0xd522b070d2824c34823d33aed059bb1cdd57c6f7c1019cb64097b4a5d9a53083
Try to execute that tx with a trezor, which is the easiest way to reproduce the issue


Contributor filter breaks for cases of no last name

Use any of the contributors that start with a "," - presumably indicating no last name provided.  These do not filter properly (do not filter at all).
001.zip

Issue resolved as a part of the Discover redesign


Support arbitrary dtypes in PerspectiveTransform

Codecov Report

Merging #184 into master will decrease coverage by 0.03%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
- Coverage   91.81%   91.78%   -0.03%
==========================================
  Files          14       14
  Lines        5261     5266       +5
==========================================
+ Hits         4830     4833       +3
- Misses        431      433       +2

This looks good. Thanks for the help.
Might try to move such a conversion to the main augment_images() function at some point so that all _augment_images() functions can rely on float64 inputs. Some minor rounding-related risks with int32 inputs though - they are probably usually used for segmentation masks, where being off by 1 can be a drastic error.


modal window

to develop modal window (confrim or alert) on first input like attention of empty line

done it


Recurate albuquerque2009.bel

Confidence levels-
High= No changes in the statement
Medium= small changes in the statements
Low= Addition or deletion of line or large changes
I have tried to stay consistent with the above rules throughout the document

@trushaadeshara8 I would suggest you keep low confidence only for statements you don't understand or can't update yourself. Even if its some big changes, medium is enough to signal that someone else should check it over one more time!
Also, please add the re-curation label to all of your PRs that are about that as I did here for you

@cthoyt I will take care from the next paper.


backfill referral_id & make referral_id required

What does this pull request do?
backfills referral_id's onto the action_plan_session table, and makes the column unique.
What is the intent behind these changes?
1st step in the move to a delivery session table.

not a blocker, just a note
🙋♂ The branch name will show up in the deployment notes, and visible for stakeholders, for example

Essentially, branch names are now part of our communication to the wider probation service


Fix styling for the creation modal

When using default grapesjs styling the modal to create the table is not styled very well currently. Add a fix for this within the plugin.

Have removed this in favour of the built-in settings panel


Add Average Prioritization Fee

Similar to Gas Tracker, we should provide priority fee calculations to the indexer frontend.

From chat with @chgorman this will likely make more sense once we have more transactions than we can in a block and are properly ordering them.


ModuleNotFoundError: No module named 'librosa'

Hey,
Like the titel says I have an error during the mapping process. Did i installed something wrong or what could that mean?

Oh and i have tried to install the libros libary. Error still appears.

On Windows 10 64 bit with this same issue


feat(RingTheory): coalgebra definition

Add definition and example of a coalgebra.

A nice second example might be https://math.stackexchange.com/a/3694952/1896

Another good instance to add would be Coalgebra R R, which I think is true with the obvious maps.

In case you missed it; I think it would be a good idea to include this in this PR too.

A nice second example might be https://math.stackexchange.com/a/3694952/1896; I think that would make clear why I suggest the applied lemmas above.

I agree but right now we don't need this so it could wait for another PR.

bors r+


chore: update react-instancesearch to v7

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #55410

@ojeytonwilliams I agree, could you open an issue for that?
All changes have been applied.


Do not materialize null images in PS

Problem
PG16 is writing null images during relation extension.
And page server implements optimisation which replace WAL record with FPI with page image.
So instead of WAL record ~30 bytes we store 8kb null page image.
Ans this image is almost useless, because most likely it will be shortly rewritten with actual page content.
Summary of changes
Do not materialize wal records with null page FPI.
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

Unfortunately my idea to stored compressed FPI as it is without decompression doesn't work: we are setting page LSN and I have no idea how it can be avoided:
            // Match the logic of XLogReadBufferForRedoExtended:
            // The page may be uninitialized. If so, we can't set the LSN because
            // that would corrupt the page.
            //
            if !page_is_new(&image) {
                page_set_lsn(&mut image, lsn)
            }


go 1.8: update dockerfile and circle

Build with go 1.8
There is one known regression with 1.8 but we can update to 1.8.1 before the next release.
See https://github.com/golang/go/issues/19182

LGTM

LGTM

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "update-go-1.8" git@github.com:docker/distribution.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354281936
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


strict-origin-when-cross-origin doesn't seem to be supported by Chrome

Using the default config:
$headers = new SecureHeaders();
$headers->apply()

I get the following console error in Chrome:
Failed to set referrer policy: The value 'strict-origin-when-cross-origin' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.

Not sure if it's just Chrome but this doesn't happen in Firefox.
I've had this problem with CORS stuff before in Chrome and there's usually an extension that someone has used to intercept the URLs, not sure if you know of one?

See: https://github.com/aidantwoods/SecureHeaders/issues/19
And the chrome bug report (it's now just awaiting a stable release): https://bugs.chromium.org/p/chromium/issues/detail?id=627968
I am curious as to why you're getting that error though, default config should also emit a fallback referrer policy of no-referrer. Chrome shouldn't complain if sees at least one it recognises.

If you're experiencing this through the adapter you're working on? You may need to make sure to pass false as the third param to symfony (to make sure headers with the same name don't replace the previous).
See: https://github.com/symfony/symfony/blob/22f6091bc7bc3a22d60b802693ccbfa37a5fb3a3/src/Symfony/Component/HttpFoundation/HeaderBag.php#L139

Well that was easy! Thanks @aidantwoods - you're right, there was just the one referrer-policy rather than the 2 there is now.
Thanks again!

Maybe I'll write about the HttpAdapter spec in the Wiki 😉
I think multiple headers, and framework cookie jars might be things that'll trip people up unless they deliberately enable certain behaviors.


EnumRequest - Table 5077 - Segment Line - Field - Wizard Step

EnumRequest - Table 5077 - Segment Line - Field - Wizard Step

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


esbuild binary path is not correctly detected in 3.6.0 and 3.7.0 when using Yarn 2 Plug&Play

Describe the bug
We have a cdk application that uses Yarn 2 Plug and Play. We use this package to leverage the esbuild-plugin-pnp as described in your examples.
When we upgrade to 3.6.0 or 3.7.0 cdk synth fails with
Bundling asset end-user-iam-dev-feature-ceg-m-ikccks/UserPool/CognitoLambdas/PostConfirmation/TypeScriptCode/Stage...
Error: The service was stopped: spawn undefined ENOENT
    at /builds/warrify/services/end-user-iam/.yarn/unplugged/esbuild-npm-0.14.49-8ea32c7f59/node_modules/esbuild/lib/main.js:1337:25
    at /builds/warrify/services/end-user-iam/.yarn/unplugged/esbuild-npm-0.14.49-8ea32c7f59/node_modules/esbuild/lib/main.js:666:9
    at ChildProcess.afterClose (/builds/warrify/services/end-user-iam/.yarn/unplugged/esbuild-npm-0.14.49-8ea32c7f59/node_modules/esbuild/lib/main.js:644:7)
    at ChildProcess.emit (node:events:527:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
node:internal/process/esm_loader:94
    internalBinding('errors').triggerUncaughtException(
                              ^
Error: The service was stopped: spawn undefined ENOENT
    at /builds/warrify/services/end-user-iam/.yarn/unplugged/esbuild-npm-0.14.49-8ea32c7f59/node_modules/esbuild/lib/main.js:13[37](https://gitlab.com/warrify/services/end-user-iam/-/jobs/2709204974#L37):25
    at /builds/warrify/services/end-user-iam/.yarn/unplugged/esbuild-npm-0.14.49-8ea32c7f59/node_modules/esbuild/lib/main.js:666:9
    at ChildProcess.afterClose (/builds/warrify/services/end-user-iam/.yarn/unplugged/esbuild-npm-0.14.49-8ea32c7f59/node_modules/esbuild/lib/main.js:644:7)
    at ChildProcess.emit (node:events:527:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
/builds/warrify/services/end-user-iam/.yarn/unplugged/aws-cdk-lib-virtual-[47](https://gitlab.com/warrify/services/end-user-iam/-/jobs/2709204974#L47)bf6f84bd/node_modules/aws-cdk-lib/core/lib/asset-staging.js:2

The interesting part being spawn undefined ENOENT
When we explicitly set ESBUILD_BINARY_PATH=/workspace/npm-packages/.yarn/unplugged/esbuild-npm-0.14.49-8ea32c7f59/node_modules/esbuild/lib/pnpapi-esbuild-linux-64-esbuild or ESBUILD_BINARY_PATH=/workspace/npm-packages/.yarn/unplugged/esbuild-linux-64-npm-0.14.49-96241737d6/node_modules/esbuild-linux-64/bin/esbuild then synth succeeds.
To make things even weirder: The first lambda function build succeeds but if you have more than 1 Lambda Function then it starts failing (the stack trace shows that the error comes from esbuild in a function named buildOrServeContinue).
To Reproduce

Create a repo using yarn 2 plug&play
Create a stack with 2 lambda functions
run cdk synth

Expected behavior
The automatic inference of the binary path should continue to work as it did in 3.5.0
Versions:

CDK: 2.31.1
Node.js: 16.16.0

Additional context

I think the bug is here. In the detection if esbuild is running it sets ESBUILD_BINARY_PATH itself.
so the flow is:

ESBUILD_BINARY_PATH === undefined
this line stores it in originalEsbuildBinaryPath
esbuild is executed the first time (and succeeds) and thereby sets ESBUILD_BINARY_PATH
this line is run and overrides the setting again with undefined

Oh good catch. And thanks for the fix! 🕺
We probably need to get some yarn tests in there eventually 😅


A smart-constructed wrapper around ArithmeticCircuit to restrict allowed types of constraints during Haskell compile-time

In parallel with #249, we must refactor the acRange field in the ArithmeticCircuit type. Instead of having a map from variables to their upper bound value, it makes sense to have a number of predefined sets (possibly of different dimensions):
$$
T_1, \dots, T_m
$$
A constraint that we will support has a form
$$
(x_1, \dots, x_{k(j)}) \in T_j, \quad T_j \in {T_1, \dots, T_m}.
$$
It makes sense for the sets $T_j$ to parameterise a circuit on a type level, so that adding an unsupported constraint to a circuit will be caught at compile time.

If $T_j$ parameterize a circuit on a type level, this should be visible in a MonadCircuit API which is accessible via Symbolic typeclass, so this leaks into Symbolic API. Then this will lead to the same Sig problem we had before, this time with lookups which generic context c should support.
If this is okay, then sure, why not.
This can be done via Lookup marker trait:
-- | New definitions
data Lookup = Range Natural | ...
class HasLookup (l :: Lookup) p

-- | Current API updates

class MonadCircuit var a m | m -> a, m -> var where
  -- | Other methods are omitted for clarity
  newRanged :: HasLookup (Range n) m => Witness var a -> m var

class Symbolic c where
  -- | symbolicF is omitted for clarity
  fromCircuit ::
    (forall var a m.
      (MonadCircuit var a m, forall l. HasLookup l c => HasLookup l m) =>
      f var -> m (g var)
    ) -> c f -> c g
  -- ^ Note that this way we have to specify which lookups context `c` `Has`.
  -- This will soon lead to the same problem we had with `Sig`s.

data ArithmeticCircuit (ls :: [Lookup]) a i o = -- ... --
instance In l ls => HasLookup l (ArithmeticCircuit ls a i o)
instance (In l ls, o ~ U1) => HasLookup l (MonadState (ArithmeticCircuit ls a i o))
-- ^ `In l ls` is a type family which compiles iff `l` is in `ls`

instance HasLookup l (Interpreter a)
instance HasLookup l (Witnesses a)
-- ^ lookups are not checked in Interpreter context

Or maybe it shouldn't be visible in a MonadCircuit and we make the type signature permissible (leave it as-is), but we throw an error during circuit compilation if some range constraint is not allowed by the user-specified list of allowed lookups

Hmm, but structured I/O does not leak to Symbolic... I thought it was a similar kind of situation. Currently, the inputs and outputs of the circuit are type parameters. I am thinking about adding the type of allowed constraints as another parameter.

So, after discussing this issue a while ago, we came to the conclusion that instead of trying to propagate restrictions inside Symbolic, application (and desugaring of) constraints should happen in compile function. The best way to do this (keeping the ability to track the types of allowed constraints in Haskell compile-time) is to introduce a sibling type to ArithmeticCircuit which would track the constraints and which would be built on post-arithmetization stage.

So, depending on type instantiations in compile, we get a different outcome, right? I am wondering, if we want to push this even further. Maybe call ArithmeticCircuit an intermediate representation that allows any polynomial, lookup, or fold constraint imaginable, but then we desugar them (or output an error) when we specify the proving system we intend to use. What do you think?

Yeah, I think this would be great!


How to set language to English when used with gradle and maven plugins?

Hi, the report generated by my gradle pmd plugin is in Chinese. How can set the language to English?

@clasnake  try mvn -Dpmd.language=en pmd:check


Non $PATH setup

Hello,
currently gcr aborts with ERROR: 'docker-credential-gcr' must exist on your PATH https://github.com/GoogleCloudPlatform/docker-credential-gcr/blob/6093d30b51d725877bc6971aa6700153c1a364f1/cli/configure-docker.go#L74
With https://github.com/bazelbuild/rules_docker/pull/2115 this will get obsolete for a bazel setup

Any update on this? Attempting to run without making docker-credential-gcr available on PATH

Can I clarify what you're asking for.  I think that configure-docker is checking that the tool is on the path, because if it's not, then it can't actually be run as the credential helper.
Are you asking that configure-docker doesn't check this - or that it warns instead of failing?


Update clang

RSL use c++17 but into docker use clang-14. I update it to version clang-17

Clang 17 doesn’t even exist yet. Besides, Clang 14 works perfectly fine for C++17 code.


A couple of smaller JSDocs tweaks in src/display/api.js

Use the RefProxy typedef in more JSDoc comments in src/display/api.js

Add a OnProgressParameters typedef to reduce (some) duplication in src/display/api.js

Looks good!


Run migrate instead of makemigrations in django_migrate

django_migrate currently calls 'django_admin makemigrations', the same as django_makemigrations. Change to 'django_admin migrate', as the task name would suggest.

Good catch!


RuntimeError: shape '[-1, 0]' is invalid for input of size<PHONE_NUMBER>

System Info
Main branch
1.17 container

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[X] My own task or dataset (give details below)

Reproduction
When I use the current main branch to train the llama3/llama3.1 and gemma models with zero3, I encountered the following error.
[rank1]:   File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1535, in _wrapped_call_impl                                                                                [rank1]:     return self._call_impl(*args, **kwargs)                                                                                [rank1]:   File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1585, in _call_impl                                                                                [rank1]:     result = forward_call(*args, **kwargs)                                                                                [rank1]:   File "/usr/local/lib/python3.10/dist-packages/optimum/habana/transformers/models/llama/modeling_llama.py", line 1315, in forward [rank1]:     shift_logits = shift_logits.view(-1, self.config.vocab_size)
[rank1]: RuntimeError: shape '[-1, 0]' is invalid for input of size<PHONE_NUMBER>

Expected behavior
Train without errors.

@xinsu626 Can you share the exact command you ran and the whole traceback please?


test: migrate from Vitest to Jest

Description
Summary of changes

Install dependencies for Jest
Setup Jest
adapt ArrivalByTime.test.tsx to Jest and add it back

I'm a little concerned about using vitest

What do you think about using Jest instead @NoamGaash ?
It would require installing an additional package but that way we aren't worried about being tightly coupled to Vite

Sure, that's a great idea. Up to you

Hi @NoamGaash ,
I've implemented the suggested changes and made the necessary updates to the PR. It's now ready for review at your convenience. Looking forward to your feedback!

(feel free to merge this when you feel you're ready)


[TextField] onChange callback can't input normally with props and withStyles

Live Demo
React: 15.6.1
Material-ui: 1.0.0-beta3
Browser: Chrome59
// Text.js
export default props => {
  const TextWrapper = withStyles(createStyleSheet(theme => ({
    root: {
      padding: '2em'
    }
  })))(_props => (

      {_props.children}

  ))
  return (
    <TextWrapper>
      <TextField value={props.value} onChange={props.onChange} />
    </TextWrapper>
  )
}
// TextFieldWrapper.js
import Text from './Text'
export default class TextFieldWrapper extends Component {
  constructor(props) {
    super(props)
    this.state = {
      value: ''
    }
  }
  onChange = e => {
    this.setState({ value: e.target.value })
  }
  render() {
    return (
      <Text value={this.state.value} onChange={this.onChange} />
    )
  }
}
// App.js
import TextField from './TextFieldWrapper'
class App extends Component {
  render() {
    return (

        <TextField />

    )
  }
}

It will behave normally, if i don't use withStyles or props.
Is this a bug?

What's the issue? Is using a native input over our TextField works better?

The Live demo is running as a normal input field?
Every time I enter a character, it will lose focus, and can't continue typing.

I mean using <input /> Instead of <TextField />. Actually, that's a React issue you are creating a new component at each render, React is considereing it's a new component and remove the focus.

I tried it, and just wrap with withstyles, it will be out of this problem?

Is there any solution for this issue?

Do you have a reproduction example?

onChange(event){this.props.setSourceIdFilter(event.target.value)}
const StyledInput = withStyles({
root: {
borderRadius: 3,
color: '#2980b9',
height: 25,
width: '10em',
margin: '0 10px',
padding: '6px 8px 9px 7px',
boxShadow: '0 3px 5px 2px #0000002e',
},
cssFocused: {},
})(TextField);


Upgrade to Docusaurus v3

Hi!
This PR upgrades the dependency versions to make this package compatible with the new Docusaurus release.

Dear @vintagentleman,
Thank you so much for your contribution to docusaurus-plugin-yandex-metrica ❤. You are amazing!
The PR merged and new version released 🎉 https://www.npmjs.com/package/docusaurus-plugin-yandex-metrica


Update SDKAndFrameworks.jsx

remove this from top level while we build better support

🚀 Deployed on https://66e87e7fab52a1444981b783--cozy-fox-0defec.netlify.app


Nice to have: change docker-entrypoint.sh to entrypoint.sh

It is just a standard in all official images, so it is a bit counterintuitive.
https://github.com/docker-library/postgres/blob/04b1d366d51a942b88fff6c62943f92c7c38d9b6/9.4/Dockerfile#L54-L56

We've actually been moving the opposite direction to keeping the docker- and adding it to the path: https://github.com/docker-library/mysql/blob/c7c1d85475749066b229691ade668bc49139d52f/5.7/Dockerfile#L59-L61

Thanks for the info, I'll keep it in mind for the other Dockerfiles.
(I think it is good to have conventions, it allows to save brain cycles ;) )


Improve experience when can't retrieve templates

Repro steps:

Created a new functions project using template release 2.18.5 by running dotnet new func -n Durable1

Installed Azure functions extension 0.16.0

Updated Durable1.csproj and set target framework from netcoreapp2.1 to netcoreapp2.2

Updated Microsoft.NET.Sdk.Functions to 1.0.26

Ran dotnet restore

Added function using Azure Functions extensions to my Durable project.  The VS Code specific files were generated but no function file was created.  I've no problem with my internet connection

1.2.Action: azureFunctions.createFunctionError type: ErrorError Message: There was an error in retrieving the templates.  Recheck your internet connection and try again.Version: 0.16.0OS: darwinVS Code Version: 1.32.3Call StackTemplateProvider.<anonymous> (dist/extension.bundle.js:1:527582)Generator.next (<anonymous>)module.exports.n (dist/extension.bundle.js:1:527045)new module.exports.t.exports (dist/extension.js:126:25776)module.exports.n (dist/extension.bundle.js:1:526822)TemplateProvider.getTemplates (dist/extension.bundle.js:1:527507)FunctionListStep.<anonymous> (dist/extension.bundle.js:172:116401)Generator.next (<anonymous>)o (dist/extension.bundle.js:172:113286)i (dist/extension.js:126:21877)dist/extension.js:126:22221

@Miggleness are there any logs in the "Azure Functions" section of the output window?

I'll send the logs over tonight.

Removed the "needs more info" label as I think we need to look into this more even if we don't get the logs (although they would be helpful @Miggleness if you can still repro!).
For example, I think "Recheck your internet connection" isn't the best advice since we have backup templates shipped with the extension that shouldn't need the internet. For C#, the likely culprit is a configuration of the dotnet cli that doesn't work with us for some reason.
As another idea - I've been thinking about adding a timeout to tryGetCliFeedJson. If it doesn't work in a few seconds, we should probably fall back to cached or backup templates.

Apologize I hadn't been as helpful as I should've been.  I need to re-setup my machine and try this with the latest version of everything as that makes more sense.

Repeated the steps, this time with the following versions and worked fine.  Since the objective of this issue has transcended the reported issue, I won't mark this one as closed just yet.
VS Code Azure Functions Extension 0.17.0
Template 2.20.2


the endDate bug

the end month always tow months earlier than we have setted.
the selector caused this problem

It works, please merge it into master and release a new version on npm, thanks.

Addressed in #600


Feature: Split experience from killing monster amongst the party

Split the xp from killing monsters between all the characters.
So if you kill something worth 16 xp and you have 2 characters each one gets 2 xp.
Start at character that made the kill and loop through characters giving 1 xp until you run out of xp.
(That will handle weird edge cases well.)
Dead characters still get XP.
Don't split quest xp. All that still goes to Avatar.
Thanks to BigMikeyOcho.

Couldn't you just award the normal XP and divide by the Party size?
Or, what about awarding half the xp to the character delivering the killing blow, and the rest split out between the living party members? Lots of possibilities I suppose.

Couldn't you just award the normal XP and divide by the Party size?
Or, what about awarding half the xp to the character delivering the killing blow, and the rest split out between the living party members? Lots of possibilities I suppose.

I'm worried about weird edge cases with straight division. Like, headless have 5 xp and if I had party sizes of 8 then 5/8 = .625 and I can't give .625 to people.
I am flipping back and forth on dead people getting xp though.

I'm worried about weird edge cases with straight division. Like, headless have 5 xp and if I had party sizes of 8 then 5/8 = .625 and I can't give .625 to people.
I am flipping back and forth on dead people getting xp though.

How about sharing based on who contributed to the kill.  Those who didn't, don't.


FancyZones overlapping zones

Last release deleted my custom layout with overlapping zones, and I can't recreate them with the new editor.
I now need to stretch manually everytime the windows created.
Can we please rollback on that?

If you'd like to see this feature implemented, add a 👍 reaction to this post.

@sardauker
can you please upload %localappdata%\Microsoft\PowerToys\FancyZones\zones-settings.json? (you will have to rename the .json extension to .txt or just post the content of the file).
Can you please explain what is preventing you from recreating the layout?

Thank you.
The new layout is of no use to upload, because I have now recreated the zones from scratch.
The new release's editor only allow to drag partitions between zones, not allowing them to be more than 100% in width or eight.
It is basically a single window partialized.
Before that, I had, i.e. four zones, clockwise: w60h55, w50h55, w50h50, w55h50.
They were four windows, slightly overlapping, one not limiting another's size.

@sardauker

The new layout is of no use to upload, because I have now recreated the zones from scratch.

Did the editor alert of an invalid layout?
If not, please upload the file since it may still contain useful information.

The new release's editor only allow to drag partitions between zones, not allowing them to be more than 100% in width or eight.

100% relative to what?
Can you please elaborate, maybe with a drawing that shows the screen and the desired zones layout?

nope. it reverted to a default 3 columns. I can't find such a path or such a file. I am running all the tree, but.

width or heigth. here's a BAD drawing.

Is there a way to create overlapping zones with the new editor?

What is that doesn't work for you? As you can see in the screen capture, the editor allows to create zones that overlap.

Not at the present, not since the update. I'll wait next, maybe something I botched.

thank you


Modify widget sample in README

For compatibility with Django 2.1.
I got an exception without  fields = '__all__' .
django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited; form PostAdminForm needs updating.

Thanks!


Simplify simple integer formulas

It would be useful if the backend could simplify these simple integer formulas:
X +Int A = X +Int B => A = B
X        = X +Int B => 0 = B

In general, it would be very useful if we had an internal representation for +Int that holds the concrete part and symbolic part separately, and that uses a HashSet to remove common terms during unification.

Switching to having user-defined simplification rules instead.


Keras.callbacks.ModelCheckpoint doesn't work

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.13.0
Python version: 3.10.9
GPU model and memory: n/a
Exact command to reproduce: n/a

Describe the problem.
ModelCheckpoint doesn't work.
Describe the current behavior.
Threw ValueError: The following argument(s) are not supported with the native Keras format: ['options']
Describe the expected behavior.
ModelCheckpoint should not throw this ValueError.
Contributing.

Do you want to contribute a PR? (yes/no): No

Standalone code to reproduce the issue.
import tensorflow
from tensorflow import keras
from tensorflow.keras import layers
from tensorflow.keras.datasets import mnist

assert tensorflow.__version__ == '2.13.0'

inputs = keras.Input(shape=(28, 28, 1))
x = layers.Conv2D(filters=32, kernel_size=3, activation="relu")(inputs)
x = layers.MaxPooling2D(pool_size=2)(x)
x = layers.Conv2D(filters=64, kernel_size=3, activation="relu")(x)
x = layers.MaxPooling2D(pool_size=2)(x)
x = layers.Conv2D(filters=128, kernel_size=3, activation="relu")(x)
x = layers.Flatten()(x)
outputs = layers.Dense(10, activation="softmax")(x)
model = keras.Model(inputs=inputs, outputs=outputs)

(train_images, train_labels), (val_images, val_labels) = mnist.load_data()
train_images = train_images.reshape((60000, 28, 28, 1))
train_images = train_images.astype("float32") / 255
val_images = val_images.reshape((10000, 28, 28, 1))
val_images = val_images.astype("float32") / 255

callbacks = [
    keras.callbacks.ModelCheckpoint(
        filepath="convnet_mnist.keras",
        save_best_only=True,
        monitor="val_loss",
        )
]

model.compile(optimizer="rmsprop",
    loss="sparse_categorical_crossentropy",
    metrics=["accuracy"])

model.fit(train_images, train_labels,
          epochs=5,
          batch_size=64,
          callbacks=callbacks,
          validation_data=(val_images, val_labels)
         )

Source code / logs.
Epoch 1/5
937/938 [============================>.] - ETA: 0s - loss: 0.1624 - accuracy: 0.9490
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[10], line 37
     24 callbacks = [
     25     keras.callbacks.ModelCheckpoint(
     26         filepath="convnet_mnist.keras",
   (...)
     29         )
     30 ]
     33 model.compile(optimizer="rmsprop",
     34     loss="sparse_categorical_crossentropy",
     35     metrics=["accuracy"])
---> 37 model.fit(train_images, train_labels,
     38           epochs=5,
     39           batch_size=64,
     40           callbacks=callbacks,
     41           validation_data=(val_images, val_labels)
     42          )

File ~\workarea\Program\anaconda3\lib\site-packages\keras\src\utils\traceback_utils.py:70, in filter_traceback.<locals>.error_handler(*args, **kwargs)
     67     filtered_tb = _process_traceback_frames(e.__traceback__)
     68     # To get the full stack trace, call:
     69     # `tf.debugging.disable_traceback_filtering()`
---> 70     raise e.with_traceback(filtered_tb) from None
     71 finally:
     72     del filtered_tb

File ~\workarea\Program\anaconda3\lib\site-packages\keras\src\saving\saving_api.py:142, in save_model(model, filepath, overwrite, save_format, **kwargs)
    140             return
    141     if kwargs:
--> 142         raise ValueError(
    143             "The following argument(s) are not supported "
    144             f"with the native Keras format: {list(kwargs.keys())}"
    145         )
    146     saving_lib.save_model(model, filepath)
    147 else:
    148     # Legacy case

ValueError: The following argument(s) are not supported with the native Keras format: ['options']

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

@maxkskhor,
tf.keras.callbacks.ModelCheckpoint currently does not support the native keras format and saved_model/hdf5 has been deprecated. I tried to execute the mentioned code in an alternative approach by providing the filepath as convnet_mnist.h5 and convnet_mnist and it is working without any issue/error. Kindly find the gist of it here.
filepath: string or PathLike, path to save the model file. e.g. filepath = os.path.join(working_dir, 'ckpt', file_name). filepath can contain named formatting options, which will be filled the value of epoch and keys in logs (passed in on_epoch_end). For example: if filepath is weights.{epoch:02d}-{val_loss:.2f}.hdf5, then the model checkpoints will be saved with the epoch number and the validation loss in the filename. The directory of the filepath should not be reused by any other callbacks to avoid conflicts.
https://keras.io/api/callbacks/model_checkpoint/
Thank you!

@tilakrayal Thank you for your time! It worked in both cases.
On a side note, I have got this warning, which can be misleading in this case:
UserWarning: You are saving your model as an HDF5 file via `model.save()`. This file format is considered legacy. We recommend using instead the native Keras format, e.g. `model.save('my_model.keras')`.saving_api.save_model(

So about the UserWarning that @maxkskhor described "misleading."  What's the understanding that one should take away from the current state of things?  Is HDF5 considered "legacy", deprecated and not recommended for further use?  If so, is it likely that saving in native Keras format by suffixing the file name in the ModelCheckpoint callback with ".keras" will be fixed to work again, since it used to do so?

I am also confused, more or less same questions as @jerrykuch. Is this a temporary bug that will be fixed, or is keras moving away from the .keras format?


Bootstrap 4 dropdown issue inside navbar fixed-top

If you look at that generic example via phone, and rotate the orientation to landscape, you will see that the links on the dropdown are unreachable.
When I remove the class "fixed-top" from the nav it all work as expected so I guess it is something with that.
This is the codepen
I ask the same on SO, and i got semi-solution (adding scroll to dropdown, but the links are still unreachable).
Something happen in the JS/CSS that ignores other rules when it's navbar fixed-top + dropdown and i can't figure out what.

What @coliff said 👍

If you look at that generic example via phone, and rotate the orientation to landscape, you will see that the links on the dropdown are unreachable.
When I remove the class "fixed-top" from the nav it all work as expected so I guess it is something with that.
This is the codepen
I ask the same on SO, and i got semi-solution (adding scroll to dropdown, but the links are still unreachable).
Something happen in the JS/CSS that ignores other rules when it's navbar fixed-top + dropdown and i can't figure out what.

If you need the dropdowns to be accessible in that orientation with that number of items, you may need to customize the max-height further.

Thank you for the reply @mdo but since i already try this ( without success ), i would appreciate if you can show me how.


Not an issue more a question

Hi there, was curious so tried running the python version you created, but I'm not sure what I need to edit in terms of paths to get it to make the mod file.  In any case, do you know if this version does or has any plans to support swapping original KVS files around for Blue Reflection SL?

Hello, @lucisac!
This C# version is incomplete for now; archiving process (.kvs → .ktsl2stbin) is not implemented yet.
With the Python version, you can extract and archive but I doubt Blue Reflection SL is supported. ☠
You can still try:

python kvs_extract.py <path/to/.ktsl2stbin/file> to retrieve .kvs files,
make desired changes to them, then
python kvs_archive.py </absolute/directory/path/to/kvs/files>

I'll happily add support for other games like Blue Reflection SL, but it's going to take some time.
If you provide the .ktsl2stbin file, that should help!

Hey bro.
Thanks for the reply.  Regarding the C# version (which I have no clue to use), no problem.  I was using the python (previously tried Hairo's exes) but I the python version I did not know what I'm supposed to edit in the PY file to make it work (result in a mod.xxx file being created) to be able to test it.
What I wanted to do with the game was basic, extract all KVS (that worked-and could also make them ogg to know which songs they were), I then wanted to copy 3.kvs and replace it with 25 and 26.kvs, when I used Hairo's exe it made the ktsl2stbin file and the music played (all up to about where 25.kvs was), then other music after that was mute.
I will try no3 using that command where the swapped kvs files are and give it a go.  I had tried hex editing bits a pieces but no luck and it's a bit way over my head to be honest but was fun trying.

Providing Sd00_BGM.ktsl2stbin file:  https://drive.google.com/file/d/1YFNNkzQZjaHc1TVu7PLlfjkt4w1c6Dl_/view?usp=sharing

Providing ORIGINAL Sd00_BGM.ktsl2stbin file (previously shared the modded one sorry): https://drive.google.com/file/d/1PYJS2akoqaxCa4GzzChw-qRW0M6hN0UE/view?usp=sharing

Oops. I'm late. Yeah, my Python version is functionally no different from Hairo's. The missing support for the game has to be implemented.
I can't promise but I will some day.
Or, if you can do some hex editing, you can try one more thing.
Open the modified file and replace 2 chunks of bytes with those from the vanilla file:

12th to 16th byte (4 bytes)
64th to 96th byte (32 bytes)

Ok will try that now and let you know.

I'm new to hex editing but sharing a screenshot of the edits.  Unfortunately it did not work.  Music from 1-24kvs still works but everything after 25+ broken (where I swapped the files)

I'm so sorry to hear that. I'm going to start working on it.
This is the one, right?

Yeah that's the game indeed.  Happy to test anything else to save you trouble.

So exciting! You are such a generous and kind person to be working on this, thank you again.

No problem. It's fun to me, too. 😊
By the way, how do you test whether the archive is working correctly or not? Does clearing the game gives an option like BGM changer?

No it does not.  The way I test is by replacing the battle music with no3.  Battle music is 25 I want to replace, and 26 is the battle music is becomes 3/4 later in the game.
No3 battle music (which is only used in some cutscenes only), you can listen here: https://www.youtube.com/watch?v=Na5QeYzIf1k
So to test you would just walk into a normal enemy in the field and if that music plays (got silence before), then it's working for sure.

Great. That makes sense. I think I can test it myself then.

Indeed, although I am at your service if you need help, I can't recall how long it takes to even get to the first battle area as the game is story heavy, so there may be some school talking at the start.

Alright. I'll let you know if I need a hand.
Thanks!

@lucisac Man, I think I got it working.
Can you please test it?
I replaced #25 and #26 by #3 and it seems to work for me.
https://drive.google.com/file/d/18MbBSpgHDHQ5o6KQwd0Lif4xDo6UzG7C/view?usp=sharing

Hi, I gave it a test as I'm later in my save I can only test 26, unfortunately the sound is blank.  Let me test a new game to check 25.

OK, on a new game testing 25 does work perfect with the new theme, but 26 has no sound still hmm (later half game battle music), something must be up with that bit.  This is looking promising tho.

Duh. My bad. I tested 25 only. ☠

Fanfare music also blank (likely everything after 26 is broken - but 25 works good)
Nice! I can guess what is probably wrong.

Yeah, it would take 25 hrs to get through the game enough to trigger the 2nd theme.

Hmm. I'm not sure how long it's gonna take to fix it. A save file will be better. 😊
Thanks.

Ok try this. https://drive.google.com/file/d/1EeWAubVCSnY3zfC3M-kHnds58X_g9-h0/view?usp=sharing
Copy to documents folder
KoeiTecmo\BLUE REFLECTION Second Light\GameData03\

Oops. It requires DLCs to load. xD
Did you get the Digital Deluxe Edition or the Ultimate one?

Oh really damm, it's the ultimate.  Hmm, well actually there's another way to test, like after you win a battle, if it plays the victory music then 26 will likely work too.

27.kvs is the victory music that plays the same after both 25 and 26 respectively no matter where you are in the game.

https://drive.google.com/file/d/17B04QWFXHR3iprV6huUeU3TeFCxg4uN1/view?usp=sharing

I was inside hidden island in that save, now I resaved at the school maybe it will work idk?
https://drive.google.com/file/d/1XtIwsYxXvRKQ3-Rkm6xisTYszYo12L10/view?usp=sharing

And this is the data.dat inside y systemdata folder in case you need this too. (rename to data.dat put in systemdata folder)
https://drive.google.com/file/d/1zYLYRARZwBmdYc0G3rnay66Y-AnMYW3Z/view?usp=sharing

Oh really damm, it's the ultimate. Hmm, well actually there's another way to test, like after you win a battle, if it plays the victory music then 26 will likely work too.

Yeah, I tried replacing the very first one and no music plays. It's easier to test now.
Thank you!

Turns out that in order to change a track, the .ktsl2asbin file must be changed as well but I don't really know how. It's just another different file format.
There's a few pieces of information about .ktsl2asbin out there, but I don't think I can take care of it in the near future.
I'm sorry. 😭
I appreciate your contribution, though.

Ahh damm, although you did manage to change 25 and everything below (1-24) also still worked.  I'm not sure what you did exactly but I'll do a comparison and tinker with it.  Thanks for all your help!

ktsl2asbin has info of the position (within the .ktsl2stbin) of each sound track.
Because track ＃25 is replaced by ＃3 and ＃3 is smaller than original ＃25, the positions after ＃25 have to change.
I tried that but it didn't work; may there's something else I must handle. 💀

Ahh okay that makes sense.  These files are looped though right, so wondering if there's a way to trick it maybe like add 0s or something, I'm looking at your file now to see how you even got 25 working (is already beyond me).

Well, there's some bytes dedicated to Blue Reflection at the very beginning of the file, up to 0x3f. I kept it as is.
From 0x40, I simply appended the content of the extracted files.

Ahh I see just now I worked it out.  Even with the original Hairo archive 25 works.  So then what you say may be correct, although 3.kvs is smaller than both 25 and 26, I'll see if I can insert dummy bytes maybe? I would have to do this after 25 and 26 somehow.

Hmmm. I don't know about kvs or ogg format so I'm not sure.

Thanks heaps man for looking into it, I'm very appreciative of your hard work and time.

Dude I did it! (thx to u).  I just added dots!  Damm I was like this is 1 in 100 chance it gonna work lol Not sure if it will break the loops so I'll let it run through in game see how it sounds.
Link: https://drive.google.com/file/d/1PYJS2akoqaxCa4GzzChw-qRW0M6hN0UE/view?usp=sharing

Hey congrats! So padding works!

Yeah man it's looping fine we can celebrate! Can I tip you for your work?

Nonono no worries. I did have fun too. 😊
Thank YOU.

Same to you mate.

Sure gimme 30 mins
Sent from my iPhone
On 2 Jul 2022, at 1:32 pm, Attacktive @.***> wrote:

@lucisachttps://github.com/lucisac Man, I think I got it working.
Can you please test it?
I replaced #25 and #26 by #3https://github.com/Attacktive/kvs-tools-csharp/pull/3 and it seems to work for me.
https://drive.google.com/file/d/18MbBSpgHDHQ5o6KQwd0Lif4xDo6UzG7C/view?usp=sharing
—
Reply to this email directly, view it on GitHubhttps://github.com/Attacktive/kvs-tools-csharp/issues/14#issuecomment-1172825027, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMJEBRAASR4AGCVKFCFTDGTVR6Z4ZANCNFSM52HUGQWQ.
You are receiving this because you were mentioned.Message ID: @.***>


Two warmings in CI build process

/cc @TravisEz13
I see two issues today in CI build:
1.
Import-Module : Must be run from Windows PowerShell
At D:\a\1\s\tools\ci.psm1:25 char:5
+     Import-Module (Join-Path $PSScriptRoot 'WindowsCI.psm1') -Scope G …

Fixed

WARNING: dotnet-install: Using branch name with -Channel option is no longer supported with newer releases. Use
-Quality option with a channel in X.Y format instead, such as "-Channel 5.0 -Quality Daily."

Source https://dev.azure.com/powershell/PowerShell/_build/results?buildId=79256&view=logs&j=69ceb723-764d-5bc2-ea34-985f6795a822&t=77efb26f-5f9c-5dce-57de-0fa87c932ed4
Starting: Bootstrap
==============================================================================
Task         : PowerShell
Description  : Run a PowerShell script on Linux, macOS, or Windows
Version      : 2.186.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
==============================================================================
Generating script.
========================== Starting Command Output ===========================
"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\dae6ca2b-b960-4fe4-9cd8-4a62d1612429.ps1'"
Import-Module : Must be run from Windows PowerShell
At D:\a\1\s\tools\ci.psm1:25 char:5
+     Import-Module (Join-Path $PSScriptRoot 'WindowsCI.psm1') -Scope G …
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (Must be run from Windows PowerShell:String) [Import-Module], RuntimeException
+ FullyQualifiedErrorId : Must be run from Windows PowerShell,Microsoft.PowerShell.Commands.ImportModuleCommand
Installing PowerShell build dependencies
WARNING: The 'dotnet' in the current path can't find SDK version 6.0.100-preview.4.21255.9, prepending C:\Users\VssAdministrator\AppData\Local\Microsoft\dotnet to PATH.
Could not execute because the application was not found or a compatible .NET SDK is not installed.
Possible reasons for this include:
  * You intended to execute a .NET program:
      The application '--version' does not exist.
  * You intended to execute a .NET SDK command:
      A compatible installed .NET SDK for global.json version [6.0.100-preview.4.21255.9] from [D:\a\1\s\global.json] was not found.
        Updating dotnet.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

WARNING: dotnet-install: Using branch name with -Channel option is no longer supported with newer releases. Use
-Quality option with a channel in X.Y format instead, such as "-Channel 5.0 -Quality Daily."
dotnet-install: Downloading primary link https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.4.21255.9/dotnet-sdk-6.0.100-preview.4.21255.9-win-x64.zip
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.4.21255.9/dotnet-sdk-6.0.100-preview.4.21255.9-win-x64.zip
dotnet-install: Adding to current process PATH: "C:\Users\VssAdministrator\AppData\Local\Microsoft\dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install/windows#dependencies
dotnet-install: Installation finished
Finishing: Bootstrap

Somewhat related is this issue I submitted to the Azure DevOps repo that provides the powershell / pwsh steps.  The steps as implemented are not really good for CI/CD.  There are several embarrassing cases where they give false positives - indicate PASS when the step has obviously failed if you look at the log output.  This is a bad look for PowerShell.  FWIW the Jenkins durable-task-plugin had a very similar issue.  I got a PR merged to address the issue the same way I suggest addressing it in the Azure DevOps issue.
This change would likely have caused the script to bomb out and FAIL the step after the Import-Module failure.   Wrapping the script in a try/catch does change the script's behavior but in general it makes the script fail more which you can deal with in your script IF you don't want a non-terminating error to stop your script.

Second was fixed.
The first comes from
https://github.com/PowerShell/PowerShell/blob/0f2f23f67a2c3ec53cf82c8d1a67b479f62934e4/tools/ci.psm1#L22-L26
https://github.com/PowerShell/PowerShell/blob/0f2f23f67a2c3ec53cf82c8d1a67b479f62934e4/tools/WindowsCI.psm1#L4-L7
Is it intentional? /cc @adityapatwardhan @TravisEz13


HHH-18462 Provide alternatives to deprecated org.hibernate.engine.spiMapping

https://hibernate.atlassian.net/browse/HHH-18462
see comments

[Please describe here what your change is about]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

This is fine, but @dreab8 I wonder if it might be better to pass the Metadata instance to methods that currently accept Mapping, instead of the TypeConfiguration. That would be sort of a "smaller" change, in that Metadata is currently a subtype of Mapping, and it avoids adding these new operations to TypeConfiguration, where I don't think they really belong.
TypeConfiguration could have a getMetadata() method if necessary, but I guess it's probably not needed.
WDYT?

(Note that Metadata is implemented by both InflightMetadataCollectorImpl and MetadataImpl, so it's available at both boot and at runtime.)

@gavinking  I may be wrong but i don't think it is possible, most of the time we need these information at runtime where we have no more access to the Metadata info

I may be wrong

Nono, you're right and I'm wrong.
Hrrm....

@dreab8 Alright, so how about this then:

we simply move the Mapping interface (perhaps renaming it MappingContext or whatever) into org.hibernate.type and undeprecate it,
if you guys think it's ugly that Metadata extends Mapping, no problem, it doesn't need to—any client can instantiate a Mapping that delegates to the Metadata instance (it's only three methods).

The reason I suggest this design is:

the only reason Mapping really exists is to let Types determine information about foreign keys, but
those operations don't really seem to fit in with the other operations of TypeConfiguration, and the operations of Type which need a Mapping don't seem to have any use for them.

I'd be curious if we still need access to the mapping information once we get rid of using Type (except BasicType) in the runtime model. Maybe all of these methods can go away then?

@beikov most likely, yes

@gavinking your suggestion is to move and rename Mapping to org.hibernate.type.MappingContext and having Metadata and SessionFactoryImplementor  extending org.hibernate.type.MappingContext, am I right?

@gavinking your suggestion is to move and rename Mapping to org.hibernate.type.MappingContext

Yeah.

and having Metadata and SessionFactoryImplementor extending org.hibernate.type.MappingContext, am I right?

That's the easiest thing, but if you don't like that option, I guess you should be able to easily change it so that it's MetadataImplementor which implements MappingContext, or some other little object e.g. an anonymous class of whatever.

Closed in favor of https://github.com/hibernate/hibernate-orm/pull/8959


Update README.md

Correção da palavra "contagem"

Show!! Valeu meu caro!!

Olá bom dia!!!
Muito obrigado VOCÊ pela aula!!
On Mon, Sep 6, 2021 at 9:34 AM Marcelo Marques @.***>
wrote:

Show!! Valeu meu caro!!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/marcelomarques05/dio-desafio-dataproc/pull/2#issuecomment-913614498,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANV5G73TLTUWP666QMFI5KDUASYMVANCNFSM5DP22EXQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


atom-youcompleteme and remote-edit

Please add some documentation about combining the two plugins. Do I have to specify my local ycmd installation or that one on the remote?

Ycmd doesn't support working remotely. I don't see it possible for now.


Access Denied.

The debugging session could not be started: Access path C:\Windows\Minidumps\052524-10187-01.dmp' is denied.
My PC keeps restarting after a bug check and i need to find out what it is.
Kind Regards
Paul Buckingham

You need to launch the debugger as administrator to access these dumps as they may contain information only accessible to administrators.

Im run it as an admin and nothing, there might be other problem?


Removed wrongly mapped Graph link

Removed link since it was not working and found it has no use here.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Removed Graph link which was pointing to 404, removed it because it does not go in with the context

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Update to latest Kit and handle breaking changes

This PR updates the repo to the latest version of SvelteKit, and handles the breaking changes around page and query. This is a prerequisite for #245, which requires the change from next-215 to make the skip link work properly.

Thanks, I made most of these changes yesterday and missed the new releases. Updated to actual latest and put next back in the package.json

I'll do some validation on the preview deployments to make sure everything is working properly.

Looks like this broke anything involving a Vercel serverless function (server rendering and calling endpoints), though everything works fine locally. Going to mark as draft until I can figure out what's going on.

Blocked by https://github.com/sveltejs/kit/issues/3343

Waiting to leave draft state until I can E2E test, since this touches all functionality on the site (saving/deleting REPLs, login, etc). @benmccann can you authorize the preview deployment of svelte.dev to Vercel?

@benmccann I think I did -- see the pnpm lockfile. It also seems to work properly when running locally.
Finished testing and everything looks good, so I think this is ready for final approval now. Login stuff didn't work on the preview deployment, but I assume that's because the GitHub OAuth is only set up for svelte.dev. Running locally I was able to login, logout, and save & delete REPLs.


chore: ignore updates to microsoft/playwright-github-action

Microsoft publishes updates to this action using the same scheme
as GitHub, where the v1 tag is updated to the latest release of
the 1.0 series. Therefore, we can manage updates manually.

Do you mind also updating the CHANGELOG?


Recursive get and delete

When getting a key value, a recursive option can be flagged as true and the response will include all keys underneath the requested key as well.
This will require a bunch of DynamoDB queries (not scans) and depending on how deep the tree is, it might not be the fastest response. Though Go and DynamoDB are both quite fast, so I don't see it being a huge concern for most situations. Definitely need to look into DynamoDB session re-use. I believe currently it's a new session for each get.
Likewise, when deleting a key, the recursive flag should also work and remove all child keys.

Responses should always be sorted. This is another option in etcd, but I'm not sure of a case where it would make sense to not have them sorted ... or rather when it would matter. Could sorted by modified time help? If so, need to keep track of that.

Note that DynamoDB has a 1MB limit on queries and scans. If the config is large, this could mean many queries to get the job done. This could end up taking a while and present some other challenges. http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html

Due to challenges with DyanmoDB, this really needs to be better thought out. A flat key/value structure is going to work best with DynamoDB and scans should really be avoided (unless it's ranging over a small subset of the data). For large data sets, I have serious concerns.
A tree structure was convention set forth by etcd and consul, etc. I think it's nice. I think it fits well with a REST API. However, I personally don't have any real need for it. Values can be stored as JSON. There's no tree structure with server environment variables... So I don't know how beneficial it is given the goals of discfg.
That said, it's something I really want to have parity with. I'm just going to leave it for a future version.

discfg is no longer geared to work in this manner. That may change in the future, but in order for that to happen, there needs to first be a good reason. JSON can be stored in a key's value, so that right there can provide a tree like structure if one is needed. Having the entire configuration system work in a tree like structure adds little value, but a good bit of complexity.
So, someone needs to come up with a good reason why it's a benefit and worth the time investment first =)


when players are out of health they respawn

Currently no concept of health, but players respawn/die when the number keys '1' or '2' are clicked.


ImportError: cannot import name 'lobpcg'

I just updated shap-0.33.0 via project interpreter (Python 3.6) in pycharm. When importing shap I get the following error:

ImportError                               Traceback (most recent call last)
 in
----> 1 import shap
2
~/venv3/lib/python3.6/site-packages/shap/init.py in
6
7 # explainers
----> 8 from .explainers.kernel import KernelExplainer, kmeans
9 from .explainers.sampling import SamplingExplainer
10 from .explainers.tree import TreeExplainer, Tree
~/venv3/lib/python3.6/site-packages/shap/explainers/kernel.py in
9 import warnings
10 from sklearn.linear_model import LassoLarsIC, Lasso, lars_path
---> 11 from sklearn.cluster import KMeans
12 from tqdm.auto import tqdm
13 from .explainer import Explainer
~/venv3/lib/python3.6/site-packages/sklearn/cluster/init.py in
4 """
5
----> 6 from ._spectral import spectral_clustering, SpectralClustering
7 from ._mean_shift import (mean_shift, MeanShift,
8                           estimate_bandwidth, get_bin_seeds)
~/venv3/lib/python3.6/site-packages/sklearn/cluster/_spectral.py in
15 from ..metrics.pairwise import pairwise_kernels
16 from ..neighbors import kneighbors_graph, NearestNeighbors
---> 17 from ..manifold import spectral_embedding
18 from ._k_means import k_means
19
~/venv3/lib/python3.6/site-packages/sklearn/manifold/init.py in
6 from ._isomap import Isomap
7 from ._mds import MDS, smacof
----> 8 from ._spectral_embedding import SpectralEmbedding, spectral_embedding
9 from ._t_sne import TSNE, trustworthiness
10
~/venv3/lib/python3.6/site-packages/sklearn/manifold/_spectral_embedding.py in
18 from ..utils import check_random_state, check_array, check_symmetric
19 from ..utils.extmath import _deterministic_vector_sign_flip
---> 20 from ..utils.fixes import lobpcg
21 from ..metrics.pairwise import rbf_kernel
22 from ..neighbors import kneighbors_graph, NearestNeighbors
ImportError: cannot import name 'lobpcg'

Try executing from sklearn.cluster import KMeans. It looks like something is messed up in your sklearn install.

Not able to import shap
Got the following error while importing the shap package
cannot import name 'lobpcg' from 'sklearn.utils.fixes' (D:\Software_Installation\envs\Python3_ML\lib\site-packages\sklearn\utils\fixes.py)


Basic support for running inference on a separate process

Apologies for this size of this thing :/
Running inference on a separate process does not yet support applying random symmetries to the input features, that will require some non-trivial refactoring so I'll add it in a followup PR.
High level changes:

I've updated the required version of TensorFlow to one that has RPC & proto op support.
inference_worker.py: wraps the minigo model in a TensorFlow loop that runs indefinitely. The top of the loop requests input features via an RPC op (GetFeatures). The bottom of the loop sends back the inference output via a send RPC op (PutOutputs)
cc/dual_net/inference_server.cc: a gRPC server. The MCTS code pushes requests onto the server's request queue. The server sends those requests to the inference worker in response to the GetFeatures RPCs and populates the outputs in response to the PutOutputs requests).
dual_net.py: I've moved the code that generates the inference-only parts of the minigo model out of model_fn and into a new model_inference_fn, so that it can be reused by inference_worker.py.
proto/gen_inference_service_py_srcs.sh: a script that builds the Python proto & gRPC runtime. This is only needed because we don't (yet?) build our Python code with Bazel. I'm checking in the generated code for now because we haven't required extra build steps for Python before.

Cool!  If i wanted to pull this in and try it, what sort of env prep work do i need?  Particular versions of TF?  (i notice the unittests can't run due to imports in tf.contrib)

You'll need TF 1.8 so:
pip3 install "tensorflow-gpu>=1.8,<1.9"
Even though I've updated cc/configure_tensorflow.sh in this PR to grab v1.8, you shouldn't need to rerun it because I use a Python harness to run the model with RPC ops.

Oh, and to run it...
python inference_worker.py  --model=$MODEL_PATH

It should print out "Waiting for server" every second.
Then run cc:main with --model=remote instead of a model .pb path.
FWIW, it doesn't actually matter which order you launch the two processes, they should wait for each other.

/retest


[Webhooks: scaleHost] Scale Up unsuccessful and high CPU consumption by webhook service when scaling beyond number 9 in the hostname suffix

Rancher Versions:
Server:v1.5.0-rc1
**Docker Version:**1.13.1
**OS and where are the hosts located? (cloud, bare metal, etc):**Ubuntu, Cloud
**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**Single node
**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**Cattle
Steps to Reproduce:

Create a setup having digitalocean host with hostname "testhost8"
Create a webhook to scale up hosts by amount 2
Execute the webhook request

Results

The hosts do not scale up by 2. Only testhost9 is created.

Logs below:
time="2017-02-28T02:02:32Z" level=info msg="Listing webhooks"
time="2017-02-28T02:02:53Z" level=info msg="Construct Payload"
time="2017-02-28T02:02:54Z" level=info msg="Getting webhook 1go5"
time="2017-02-28T02:04:32Z" level=info msg="Listing webhooks"
time="2017-02-28T02:04:40Z" level=info msg="Getting config for host 1h4 as base host for cloning"
time="2017-02-28T02:04:40Z" level=info msg="Creating host with hostname: soumyatesthost9"

Webhook service consumes high CPU
  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
16431 root      20   0  118744  26932   9036 R 99.7  0.7   6:31.51 webhook-service
15916 root      20   0  225784  13360   7256 S  0.3  0.4   0:00.97 docker-containe
16227 root      20   0 4325288 519172  20500 S  0.3 13.7   1:43.08 java
    1 root      20   0   37912   6064   4088 S  0.0  0.2   0:02.93 systemd
    2 root      20   0       0      0      0 S  0.0  0.0   0:00.00 kthreadd
    3 root      20   0       0      0      0 S  0.0  0.0   0:00.13 ksoftirqd/0
    5 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 kworker/0:0H
    7 root      20   0       0      0      0 S  0.0  0.0   0:00.23 rcu_sched
    8 root      20   0       0      0      0 S  0.0  0.0   0:00.00 rcu_bh
    9 root      rt   0       0      0      0 S  0.0  0.0   0:00.00 migration/0
   10 root      rt   0       0      0      0 S  0.0  0.0   0:00.00 watchdog/0
   11 root      20   0       0      0      0 S  0.0  0.0   0:00.00 kdevtmpfs
   12 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 netns
   13 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 perf
   14 root      20   0       0      0      0 S  0.0  0.0   0:00.00 khungtaskd
   15 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 writeback
   16 root      25   5       0      0      0 S  0.0  0.0   0:00.00 ksmd
   17 root      39  19       0      0      0 S  0.0  0.0   0:00.20 khugepaged
   18 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 crypto
   19 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 kintegrityd
   20 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 bioset
   21 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 kblockd
   22 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 ata_sff
   23 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 md
   24 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 devfreq_wq
   26 root      20   0       0      0      0 S  0.0  0.0   0:00.04 kworker/0:1

Tested with master. The hosts scale up correctly when the host with hostname used for cloning  has suffix 9. Followed the steps below:

Create a setup having digitalocean host with hostname "testhost99"
Create a webhook to scale up by 9 hosts
Execute the webhook request

The hosts scaled up correctly by 9 and had the hostnames upto "testhost108". There was no high CPU consumption by webhook-service.


Add FTD support

Consider adding support for Cisco FTD. Device type does not show up as supported by netmiko yet. The packet-tracer commands, including xml format, are all present on this FTD version. Probably need to add an ftd Nornir inventory group to differentiate device drivers.
---------------------[ fdm65 ]----------------------
Model                     : Cisco Firepower Threat Defense for VMWare (75) Version 6.5.0 (Build 115)
UUID                      : 9d4b06f4-f4d2-11e9-8c86-eb98e807d9d8
Rules update version      : 2019-08-12-001-vrt
VDB version               : 309
----------------------------------------------------

The device type generic_termserver seems to be the best match for now. autodetect also works, but the guesser does not return any matches.


QUESTION: Why do the model developers not ensure that the models are fully aware of the latest version of their APIs?

Issue
Why do the model developers not ensure that the models are fully aware of the latest version of their APIs?  And failing that why do they not provide a plain text link on their website that would allow an LLM to quickly ingest the information about the API so that they can write compliant code?
Version and model info
No response

Thanks for trying aider and filing this issue.
Sorry, this isn't something can help with. Maybe talk to Anthropic or OpenAI?

Issue
Why do the model developers not ensure that the models are fully aware of the latest version of their APIs? And failing that why do they not provide a plain text link on their website that would allow an LLM to quickly ingest the information about the API so that they can write compliant code?
Version and model info
No response

it’s definitely annoying, but not all models have context up through the date their API or libraries have changed. I find it most frustrating with OpenAI, but it applies to llama-index and some other toolboxes as well.