CUDA Compliation error: "error: no instance of overloaded function "atomicAdd" matches the argument list"

Hi,
When compiling torchsparse 1.3 I ran into the following compile error:

/tmp/kni101.51806/pip-req-build-61xiw2ee/torchsparse/src/others/../common/gpu.cuh(109): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (__half *, c10::Half)

In an environment running torch=1.8.1, cuda=10.2, gcc=7.3.0.  However, I'm still able to compile torchsparse 10.2 perfectly well - do you have any idea what could be causing this?

Hi! I submitted a PR to fix the issue. @JBKnights please try it out and let me know if it works for you. Thanks!


Is there any way to setup zip compression level?

Is there any way to setup zip compression level?

There is no way to set the compression level. zipstreamer was meant for quickly and predictably building ZIP files on the fly. One of the most important features is to precalculate the ZIP file size which would be impossible with compression.
There are other similar Python libraries that support compression you could try (but don't support calculating ZIP file size in advance):

https://github.com/SpiderOak/ZipStream
https://github.com/allanlei/python-zipstream
https://github.com/arjan-s/python-zipstream


Not keyword is not highlighted

dag/vim-fish

fish, version 2.4.0

It looks like the fix is to add not to fishConditional here: https://github.com/dag/vim-fish/blob/825853f4816a07e59ea2ecee1190ab6a5d9ef991/syntax/fish.vim

No, you'd have to put it in fishLineContinuation, which would mean it gets highlighted everywhere, as an argument to any command. Note that not gets highlighted correctly if it's on its own; problem is if works like sudo and other such commands that wrap other commands. Thus, not is technically just a string argument to if and it's technically correct not to highlight it as anything other than a string argument. You could make a special syntax rule for if but that gets hairy fast with Vim syntax rules, and tends to be slow. I decided against that for vim-fish.

The other way to do it is to drop fishLineContinuation all-together and just make things like not keywords. But then a line like echo if begin function end highlights like a bunch of keywords, even though only echo was anything other than a string argument. I decided it was more helpful to ensure that nothing is incorrectly highlighted as a keyword, than to ensure that anything that possibly ever could be a keyword always gets highlighted as such.

Good conclusion. It's better to not highlight keywords incorrectly.


include prophet4j

As discussed, Prophet4J will be included in this repo.
One conflict is, right now at pom.xml, there are two conflicting versions of org.eclipse.jdt

Hi @ycaxgjd
Thanks for PR.
Before accepting the PR, could you check the travis errors?
There are some compilations errors: I imagine they are related to some recent changes we have done on Coming or GumTreeSpoon.
Thanks

I will create one new pr without CI errors


refactor(routes/rtf/html): remove embedding of html images

Removed by

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
587

Relevant Lines:
587

💛  - Coveralls


Running on a CPU-only machine

Hi, thanks for sharing nice code. I am running this code and I have a question. I wonder how I can run this code on a CPU only machine. My machine is a mac os x Apple M2 model.

Sorry, our experiments are conducted on Ubuntu18 with a 3090 GPU.


fix: clean up chart metadata config

SUMMARY

Removing the deprecated field turns out to have been a bit much. Separately, flattening the label object into two separate fields allows us to better specify defaults and overrides for things.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

tested both deprecation and labels, and they still work as before.

TESTING INSTRUCTIONS

Set a plugin's metadata to have deprecated: true or label: ChartLabel.FEATURED and find it (or don't, if it's deprecated) in the viz picker.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Thank you for the fixes here!

🏷 preset:2022.11


Automate pre-release SDK testing against samples-java & canary-java

Is your feature request related to a problem? Please describe.
Currently we run a snapshot of prerelease against samples-java & canary-java manually.
Describe the solution you'd like
Automate.

It's an internal infrastructure related issue, please move to Notion.


Broke some windows builds.

I broke some builds for people using go-logging; this should fix that. Also brings back doFmtVerbLevelColor, which we can now support.
I was wondering, though, whether the ansi color translator belongs in here? not sure anyone would want it.
@maxtaco

@zanders, thanks for taking a look at this. I believe this contains some errors like mixing ANSI colors together with the Windows API calls. I'll make a simple patch for now which addresses #69.

@zanderz Did I overlook something that you fixed in this change which my changes did do? I think it makes sense to keep the implementations separate but will try to unify the code later.


Add indices.disk_usage Enpoint

added the request but I need some help from @delvedor & @swallez how to model the reponse.

adjusted to @delvedor https://github.com/elastic/elasticsearch-specification/pull/700#pullrequestreview-748786846


enabling TTS sometimes reads an old dialogue box that isn't open anymore.

Will be live with https://github.com/goatcorp/DalamudPlugins/pull/911

Sorry but it doesn't seem to be fixing the issue I'm having. When re-enabling the tts after a text box is closed, it still reads out what was on the text box. Its most prevalent after re-enabling TTS after finishing a voiced cutscene, since it reads out the last textbox that was open after the cutscene is finished. Here's an example https://streamable.com/g7jb3j

Closed with https://github.com/karashiiro/TextToTalk/commit/781a6fae27e39d2d15cf6c0697221ffd2362b6f1 - releasing with v1.7.5.


NominalAttributeMultiwayTest needs Kryo serializer for S4

Closing due to inactivity.
Not clear whether we will keep supporting S4.


[Connector]Add druid sink connector

Purpose of this pull request

https://github.com/apache/seatunnel/issues/3018
Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

PTAL @Hisoka-X @EricJoy2048

@TaoZex

Please fix CI. Thanks

@TaoZex why close this pr

@TaoZex why close this pr

https://github.com/apache/druid/issues/16501
There is a bug in Druid's official docker. After I fix this bug, I will reopen the pr.

@TaoZex why close this pr

apache/druid#16501 There is a bug in Druid's official docker. After I fix this bug for druid, I will reopen the pr.

good

Do you have plans to support cdc/savemode/multi-table?

Do you have plans to support cdc/savemode/multi-table?

Of course. Please assign to me.


move up Kiali to newest version 1.9? for helm

Bug description
Since we are not deprecating helm for 1.4, let's move Kiali to 1.9 for helm based install path to be consistent with installer/operator too.

Done


This document is no longer the "comprehensive list of system variables" it is said to be in other areas of documentation

In reviewing the documentation for Define Variables > System Variables section, this page is linked to directly and is said to be a "comprehensive list of system variables", yet later in the Define Variables > Set Variables Using Expressions section of that same document there is a reference to a variable pipeline.startTime in an example for creating a counter that resets daily. This document has no definition for the pipeline.startTime variable although it is a valid variable and can be used in pipelines.

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

ID: 9ffebdc8-521c-44b5-cde4-4abdc1bd6f18
Version Independent ID: dc0effda-6d93-62aa-64c5-4e6f283b0826
Content: Predefined variables - Azure Pipelines
Content Source: docs/pipelines/build/variables.md
Product: devops
Technology: devops-cicd-build
GitHub Login: @juliakm
Microsoft Alias: jukullam

@JGCreator Variables that start with pipelines are a special class that only work in expressions. I'll add more context to the example on the expressions page for this.
To see this in action, you can try this pipeline. The values for $(a) and $(b) render but $(b) does not.
jobs:
- job:
  variables:
    a: $[counter(format('{0:yyyyMMdd}', pipeline.startTime), 100)]
    b: $[pipeline.startTime]
    c: $(pipeline.startTime)

  steps:
  - bash: echo $(a) #outputs 102
  - bash: echo $(b) #outputs 2020-05-11 16:36:13-05:00
  - script: echo $(c) #outputs echo $(pipeline.startTime)


Is this the same "X-transformer" that being used in "X-Transformer: A Machine Translation Model Enhanced by the Self-Attention Mechanism" paper?

I read a paper titled "X-Transformer: A Machine Translation Model Enhanced by the Self-Attention Mechanism" on https://www.mdpi.com/2076-3417/12/9/4502.
Is this the same "X-Transformer"?

@argadewanata hey Rere! this repository actually predates that paper, so just a name collision


response: missing request - make sure tx is used via out_tx only

This prevents a crash which has been seen on several occasions but not reproduced.

Thanks for this contribution.
This looks indeed a problem.
Why did you choose this patch over modifying htp_connp_tx_create by removing
connp->in_tx = tx; from it ?

Thanks for suggesting this. I was going for a change that was minimally disruptive. But I can see that your suggestion would be safe as the use-case in htp_request.c gets assigned to connp->in_tx directly.
I'm new to github. Should I apply a new patch on top of my current one or something else?
Thanks

Should I apply a new patch on top of my current one or something else?

The custom for this project is to open a new Pull Request, where you quote this one with #275, explain what you modified, and close this Pull Request.
You could use a git branch named response-in_tx-v2

See https://github.com/OISF/libhtp/pull/278 for instance

@anthonylineham should we close this PR as discussion continus in #279 ?

@catenacyber yes, I'll do that now.


Fix Hg.get_hash_from_name()

The function returned the local revision number which is not a correct
commit hash.

Coverage increased (+0.1%) to 70.076% when pulling 90e2c0ab9b0efda01eebda4db6c118d20e69d522 on philpep:fix-hg-hash into 5eb2afaf37b105f43572c01a95592fae89e31381 on spacetelescope:master.

Thanks.
Consider adding also tests when making bug fixes.


Fix poetry install errors

Proposed changes:

Tests solutions presented in ATO-1563

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

Please squash commits before merging.


⚠ ClamAV has degraded performance

In 4329090, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 91 ms

Resolved: ClamAV performance has improved in b72efd7.


Problem installing

Explain the problem here ...
 Sorry if that's the case. I'm really new to this.
Tried installing vim-plug following the tutorial:
I ran
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

in the terminal and got this:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file /home/yll/.vim/autoload/plug.vim: No such
Warning: file or directory
  1 82784    1   857    0     0  18518      0  0:00:04 --:--:--  0:00:04 18630
curl: (23) Failure writing output to destination
<<<<<<<

Then I changed permission, tried again, also tried with
curl -fLo ~/.vim/vim82/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

and got this
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file /home/yll/.vim/vim82/autoload/plug.vim:
Warning: Permission denied
  1 82784    1   857    0     0   2349      0  0:00:35 --:--:--  0:00:35  2354
curl: (23) Failure writing output to destination

Btw this is what I see when I run :scriptname
  1: /usr/share/vim/vimrc
  2: /usr/share/vim/vim82/debian.vim
  3: /usr/share/vim/vim82/syntax/syntax.vim
  4: /usr/share/vim/vim82/syntax/synload.vim
  5: /usr/share/vim/vim82/syntax/syncolor.vim
  6: /usr/share/vim/vim82/filetype.vim
  7: ~/.vimrc
  8: /usr/share/vim/vim82/ftplugin.vim
  9: /usr/share/vim/vim82/indent.vim
 10: /usr/share/vim/vim82/syntax/nosyntax.vim
 11: /usr/share/vim/vim82/plugin/getscriptPlugin.vim
 12: /usr/share/vim/vim82/plugin/gzip.vim
 13: /usr/share/vim/vim82/plugin/logiPat.vim
 14: /usr/share/vim/vim82/plugin/manpager.vim
 15: /usr/share/vim/vim82/plugin/matchparen.vim
 16: /usr/share/vim/vim82/plugin/netrwPlugin.vim
 17: /usr/share/vim/vim82/plugin/rrhelper.vim
 18: /usr/share/vim/vim82/plugin/spellfile.vim
 19: /usr/share/vim/vim82/plugin/tarPlugin.vim
 20: /usr/share/vim/vim82/plugin/tohtml.vim
 21: /usr/share/vim/vim82/plugin/vimballPlugin.vim
 22: /usr/share/vim/vim82/plugin/zipPlugin.vim

Has anyone been through this sort of problem before?
Thanks in advance!

Type:

[ ] Bug
[ ] Enhancement
[ ] Feature Request
[x] Question

OS:

[ ] All/Other
[x] Linux
[ ] OS X
[ ] Windows

Vim:

[x] Terminal Vim
[ ] GVim
[ ] Neovim

Was this issue ever resolved? I am running into the same problem
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file /home/jakku/.vim/autoload/plug.vim:
Warning: Permission denied
  1 83129    1   855    0     0  15701      0  0:00:05 --:--:--  0:00:05 15833
curl: (23) Failure writing output to destination

:scriptnames
  1: /etc/vimrc
  2: /usr/share/vim/vim90/syntax/syntax.vim
  3: /usr/share/vim/vim90/syntax/synload.vim
  4: /usr/share/vim/vim90/syntax/syncolor.vim
  5: /usr/share/vim/vim90/colors/lists/default.vim
  6: /usr/share/vim/vim90/filetype.vim
  7: /usr/share/vim/vimfiles/ftdetect/ninja.vim
  8: /usr/share/vim/vimfiles/ftdetect/stp.vim
  9: /usr/share/vim/vim90/scripts.vim
 10: /usr/share/vim/vim90/autoload/dist/script.vim
 11: /usr/share/vim/vim90/ftplugin.vim
 12: ~/.vimrc
 13: /usr/share/vim/vim90/syntax/nosyntax.vim
 14: /usr/share/vim/vim90/plugin/getscriptPlugin.vim
 15: /usr/share/vim/vim90/plugin/gzip.vim
 16: /usr/share/vim/vim90/plugin/logiPat.vim
 17: /usr/share/vim/vim90/plugin/manpager.vim
 18: /usr/share/vim/vim90/plugin/matchparen.vim
 19: /usr/share/vim/vim90/plugin/netrwPlugin.vim
 20: /usr/share/vim/vim90/plugin/rrhelper.vim
 21: /usr/share/vim/vim90/plugin/spellfile.vim
 22: /usr/share/vim/vim90/plugin/tarPlugin.vim
 23: /usr/share/vim/vim90/plugin/tohtml.vim
 24: /usr/share/vim/vim90/plugin/vimballPlugin.vim
 25: /usr/share/vim/vim90/plugin/zipPlugin.vim

~ ⮞ ls -al ~ | grep .vim
-rw-r--r--. 1 jakku jakku   681 Aug 27 15:42 .ideavimrc
drwxr-x---. 1 root  root     16 Jul 31  2021 .vim
-rw-------. 1 jakku jakku 25405 Sep 13 14:36 .viminfo
-rw-rw-r--. 1 jakku jakku  5643 Sep 13 14:29 .vimrc
-rw-rw-r--. 1 jakku jakku     0 Jul 31  2021 .vimrc.plug

@Jackbaude
Warning: Failed to create the file /home/jakku/.vim/autoload/plug.vim:
Warning: Permission denied

drwxr-x---. 1 root  root     16 Jul 31  2021 .vim

Your .vim directory is owned by root. You have to fix that first.


Gelu and Gelu Inv Enabled

Broadcast clean up is WIP.
AVX2 uses low/high. We should clean up this stuff. I think right now aarch64 and x86 use the same struct but have their own variables in it: This will touch a lot of files so may be a separate clean up will be better.


An error popping up continuously when DB connection failure during IDP creation

Environment
IS 5.4.0 standalone pack
JDK - 1.8
DB - Postgres 9.6.3
OS - ubuntu 15.10
Steps to recreate the issue

Provide IDP name and register IDP
Go to Federated Authenticator -> Facebook configuration and provide the configuration params
Stop DB connection
Click the update button to save Federated authenticator providers
Then start the DB connection

Observations

If a user tries to update the IDP configurations at a point where DB connection failure occurs, an error message is continuously popping up in the IDP mgt console.

The configurations added in the IDP configuration did not save or updated

Error message correctly reflect that DB connection issue exists

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


MRG: Unify some norms and math

The original purpose was to fix a surf['nn'] normalization in mne/coreg.py, but then I added some unification of norm calculations. Some of the linalg.norm calls (which is the same speed as np.sqrt(np.sum(...)) for large-ish arrays) should save memory allocations, as should the np.einsum calls.

Codecov Report

Merging #4010 into master will increase coverage by 0.12%.
The diff coverage is 96.49%.

@@            Coverage Diff             @@
##           master    #4010      +/-   ##
==========================================
+ Coverage   86.07%   86.19%   +0.12%
==========================================
  Files         350      350
  Lines       63028    63028
  Branches     9639     9639
==========================================
+ Hits        54251    54328      +77
+ Misses       6097     6014      -83
- Partials     2680     2686       +6

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18a02e8...0321569. Read the comment docs.

if the values of each and every computations don't change (haven't verified this myself), then this LGTM.

It operates inplace

thx @Eric89GXL

hey @Eric89GXL, maybe during the coding sprint you could explain the advantages of the Einstein summation notation

Sure


⚠ ClamAV has degraded performance

In 1206a4d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 85 ms

Resolved: ClamAV performance has improved in 9e71581.


function as stimulus parameter in single-audio

I think this won't work as is because of loading the audio buffer. Need an alternate way to handle this...

The solution is to preload the audio files manually. Bug that was breaking this is fixed.


Update search-mdn extension

Description

Updated dependencies
Moved fetching to hooks, remove axios
Proper formatting of pages, removing {{<snippets>}}
Fixing inline links & images

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi 👋
Thanks for your contribution 🔥
@krzysztofzuraw do you want to check it, I gave it a spin and it works as expected for me


Does it work on AMD Radeon 780M?

Are there any tests on AMD integrated graphics, such as the Radeon 780M?

From the Readme:

Integrated GPUs (as tested with Radeon 680M) work in a limited way. Some rarely used GPU operations (abort, printf, etc.) will hang or crash the application. Additionally, performance library support (cuBLAS, cuDNN, etc.) might be limited, rendering more complex applications inoperable.

i have tested it in stable diffusion,it works well

i have tested it in stable diffusion,it works well

@HysterLc  Thank you so much for the feedback, could you please share your configuration and setup?

install AMD HIP SDK for Windows
https://www.amd.com/en/developer/resources/rocm-hub/hip-sdk.html
download ZLUDA and unzip it to folder
https://github.com/lshqqytiger/ZLUDA
download rocm gfx1103 AMD780M phoenix V3.7z and unzip it to folder, thanks HysterLc.
https://github.com/likelovewant/ROCmLibs-for-gfx1103-AMD780M-APU-
add "???:\Program Files\AMD\ROCm\5.7\bin" to env path
add ZLUDA to path
copy content of rocm gfx1103 AMD780M phoenix V3 and overwrite to "???:\Program Files\AMD\ROCm\5.7\bin\rocblas.dll" and "???:\Program Files\AMD\ROCm\5.7\bin\rocblas\library"
My ADM 780M work with it

2024-03-30 15:49:23.703106: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2024-03-30 15:49:23.703188: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
D:\Program Files\Python\Python38\lib\site-packages\stable_baselines_init_.py:32: UserWarning: stable-baselines is in maintenance mode, please use Stable-Baselines3 (SB3) for an up-to-date version. You can find a migration guide in SB3 documentation.
... ...
D:\Program Files\Python\Python38\lib\site-packages\gym\logger.py:30: UserWarning: WARN: Box bound precision lowered by casting to float16
warnings.warn(colorize('%s: %s'%('WARN', msg % args), 'yellow'))
load model:  ./model/PPO2/MlpPolicy/allstocks_sz10.zip
2024-03-30 15:49:25.380976: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2024-03-30 15:49:25.391200: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x192a2ea3fd0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2024-03-30 15:49:25.391259: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2024-03-30 15:49:25.399572: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2024-03-30 15:49:25.423385: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:c4:00.0 name: AMD Radeon 780M Graphics [ZLUDA] computeCapability: 8.8
coreClock: 2.7GHz coreCount: 6 deviceMemorySize: 28.71GiB deviceMemoryBandwidth: 0B/s
2024-03-30 15:49:25.423820: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2024-03-30 15:49:25.424125: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cublas64_10.dll'; dlerror: cublas64_10.dll not found
2024-03-30 15:49:25.424359: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
2024-03-30 15:49:25.424634: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found
2024-03-30 15:49:25.424922: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found
2024-03-30 15:49:25.425203: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cusparse64_10.dll'; dlerror: cusparse64_10.dll not found
2024-03-30 15:49:25.425501: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found
2024-03-30 15:49:25.425577: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1598] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2024-03-30 15:49:25.425936: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix:
2024-03-30 15:49:25.426147: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108]      0
2024-03-30 15:49:25.426438: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0:   N
2024-03-30 15:49:25.431664: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x192a2ea5e60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2024-03-30 15:49:25.431726: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): AMD Radeon 780M Graphics [ZLUDA], Compute Capability 8.8

copy and rename some dll file in ZLUDA folder could make application load part of dll success as below
2024-03-30 16:46:21.628376: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:c4:00.0 name: AMD Radeon 780M Graphics [ZLUDA] computeCapability: 8.8
coreClock: 2.7GHz coreCount: 6 deviceMemorySize: 28.71GiB deviceMemoryBandwidth: 0B/s
2024-03-30 16:46:21.628900: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2024-03-30 16:46:21.628931: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2024-03-30 16:46:21.628956: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2024-03-30 16:46:21.629173: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found
2024-03-30 16:46:21.629385: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found
2024-03-30 16:46:21.629411: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2024-03-30 16:46:21.629994: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found
2024-03-30 16:46:21.630026: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1598] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2024-03-30 16:46:21.630073: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix:
2024-03-30 16:46:21.630094: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108]      0
2024-03-30 16:46:21.630113: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0:   N


Doc: added info on metadata, pipelines and popperized

Addresses #266

@ivotron Sorry for the trouble, I hope it is fine now.

thanks!


Request to restore older demo collection

In the older documentation of transformers.js, there used to be a demo playground, where you could select between several usecases, zero-shot classification, QA etc
It's still there as "A collection of demos" in https://huggingface.co/docs/transformers.js/index
Could we restore that demo? Because it had lots of examples that could be run on cpu as well. I don't see it listed in the README in the newer repo
Context: https://www.reddit.com/r/LocalLLaMA/comments/1h9r3lv/tts_webgpu_the_first_ever_texttospeech_web_app/m17wcog/?context=3

It's technically still up: https://huggingface.github.io/transformers.js/, but certainly needs a revamp! cc @cfahlgren1 😇

Yup, that is what I was looking for! :raised_hands:
Closing this now


script tag is giving could not import error

Just adding a simple script tag which logs Hello to a page gives this error:
 error   Could not import `/src/pages/contact-us.astro?astro&type=script&index=0&lang.ts`.
  Hint:
    This is often caused by a typo in the import path. Please make sure the file exists.
  Stacktrace:
Error: failed to load module for ssr: /src/pages/contact-us.astro?astro&type=script&index=0&lang.ts
    at instantiateModule (file:///D:/DCS%20Projects/Local/astrowind/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:53281:15)

This is the .astro file for the page:
---
import { SITE } from '~/config.mjs';
import { getCanonical, getHomePermalink } from '~/utils/permalinks';
import Layout from '~/layouts/PageLayout.astro';
import Breadcrumbs from '~/components/widgets/Breadcrumbs.astro';
import Title from '~/components/widgets/Title.astro';

const {title = 'Contact Us'} = Astro.props;

const meta = {
	title: title + ' - ' + SITE.title,
	description: SITE.description,
	canonical: getCanonical(getHomePermalink()),
};
---
<Layout {meta}>
	<Breadcrumbs />
	<Title title={title}/>

We’re here to help! Tell us what you’re looking for and we’ll get back to you as soon as possible.

</Layout>

If I remove the script tag at the end the same page loads fine without any errors

Hi, thanks for the reply, it seems it is working for me if I build the project first and then run the preview using npm run build and npm run preview. But if I run the dev server directly using npm run dev it gives me the error.

And I just tried cloning astrowind as a fresh project, and just added

to the end of the index.astro file and the error is still comming in npm run dev:
D:\test astrowind\astrowind>npm run dev

><EMAIL_ADDRESS>dev
> astro dev

[MDX] Now inheriting remark and rehype plugins from "markdown" config.
If you applied a plugin to both your Markdown and MDX configs, we suggest removing the duplicate MDX entry.
See "extendPlugins" option to configure this behavior.
   astro  v1.6.15 started in 745ms

  ┃ Local    http://<IP_ADDRESS>:3000/
  ┃ Network  use --host to expose

11:24:38 am [astro] reload D:/test astrowind/astrowind/src/pages/index.astro
 error   Could not import `/src/pages/index.astro?astro&type=script&index=0&lang.ts`.
  Hint:
    This is often caused by a typo in the import path. Please make sure the file exists.
  Stacktrace:
Error: failed to load module for ssr: /src/pages/index.astro?astro&type=script&index=0&lang.ts
    at instantiateModule (file:///D:/test%20astrowind/astrowind/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:53281:15)

My node version is v16.17.1

I have exactly the same error when importing astro-embed plugin. Mac OS, node is 14

Hi @prototypa did you find anything related to node? any other node version you can recommend that I should try?

@prototypa I have also tried using a different theme like https://github.com/mhyfritz/astro-landing-page and using script tag works fine with it on my system. So its not a problem with astro in general with my environment.

@prototypa You are on the right track, Astro Ink template also gives me a similar problem, the script tag on the BaseHead.astro file https://github.com/one-aalam/astro-ink/blob/main/src/components/BaseHead.astro gives the same error
error   Could not import `/src/components/BaseHead.astro?astro&type=script&index=0&lang.ts`.
  Hint:
    This is often caused by a typo in the import path. Please make sure the file exists.
  Stacktrace:
Error: failed to load module for ssr: /src/components/BaseHead.astro?astro&type=script&index=0&lang.ts
    at instantiateModule (file:///D:/Downloads/test%20astro/astro-ink/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:53281:15)

If I remove the script tag it runs fine, and then if I add a script tag to index.astro the error is back.

@prototypa I found the solution on astro official discord, it seems it's an issue caused by vite if we have any spaces in the project repo path, so simply changing my path from 'D:/DCS Projects/Local/astrowind' to 'D:/DCS-Projects/Local/astrowind' fixed the issue (replaced ' ' with '-').
 Thanks for all your help and support. I am closing the issue.


Notes for improvements

Discussing with @eelregit here are few ideas of things to improve:

[ ] Allow parameterisation in terms of As
[ ] Allow for flattening of the cosmology object
[ ] Switch to jax.numpy.interp !
[ ] Try to use jax.experimental.odeint instead of jax_cosmo.ode
[ ] Configuration parameters stored in cosmo structure
[ ] include_logdet flag in gaussian_log_likelihood is reversed
[ ] Not sure if transverse_comoving_distance is actually jittable

I was testing using custom pytree aux_data to store config parameters but saw some very strange behavior:
from jax import jit
from jax.tree_util import register_pytree_node_class

@register_pytree_node_class
class C:
    def __init__(self, p, config={'a': 0}):
        self.p = p
        self._config = config

    def tree_flatten(self):
        children = (self.p,)
        aux_data = self._config
        return children, aux_data

    @classmethod
    def tree_unflatten(cls, aux_data, children):
        c = cls(*children)
        c._config.update(aux_data)
        return c

def f(c):
    c.p = 1. + c.p
    return c

g = jit(f)

(
    vars(C(0.)),
    vars(f(C(0.))),
    vars(f(C(0., {'a': 1}))),
    vars(g(C(0., {'b': 2}))),
)

returning
({'p': 0.0, '_config': {'a': 0, 'b': 2}},
 {'p': 1.0, '_config': {'a': 0, 'b': 2}},
 {'p': 1.0, '_config': {'a': 1}},
 {'p': DeviceArray(1., dtype=float32, weak_type=True), '_config': {'a': 0, 'b': 2}})

Since pytree docs are pretty incomplete, I am still worried if including configuration parameters as aux_data is intended by JAX devs.
I should probably open an issue there.

hummmmmm not sure I see the problem? What result where you expecting for the jitted function?

E.g., where are the 'b': 2 entries (except the last one) coming from?

I am still wondering: are there some examples where optimizing sigma_8 instead of A_s is better?
I feel the sigma_8 coordinate system would make an optimizer focus too much on the 8 Mpc/h scale, in a way that all parameters are adjusted to prioritize on that agreement. So it doesn't feel natural and may not be a good default in general?

Okay, that was just me not knowing one should not use mutable default arguments in python.... :sweat_smile:


Bug: User export issues

Issue 1 - Loading state is incorrect:

Steps to reproduce:

Click the "export to csv" button
Spinner does not appear

The spinner should match the behavior on the listings export

Issue 2 - Only 10 users are getting exported:

Steps to reproduce:

Click the "export to csv" button
CSV will have at most 10 users

Fix is already in core. Need to port it over.

Issue 3 - Success toaster randomly pops up

Steps to reproduce:

Click the "export to csv" button
See the success toaster and wait for it to disappear.
Click on the "Users" navigation button.
Nothing changes on the page except the toaster reappears

QA notes:
All of these changes can be tested in https://detroit-partners-dev.netlify.app/ on the users page and clicking the "export to csv" button

@ludtkemorgan -- Issues 1 and 3 look good. However, my export still only shows 10 users.

@ludtkemorgan -- Issues 1 and 3 look good. However, my export still only shows 10 users.

The backend didn't auto-deploy. I just deployed it and should be testable now!

Tested at https://deploy-preview-1593--detroit-partners-staging.netlify.app/ !! good to go.


Make @DefaultValue accept more than just String.

Currently, something like the following is not possible:
@Key("smu")
@DefaultValue(130)
int getSmuInt()

In this very simple case it would be possible just to use the string "130" but in some cases you might want to point the default value to a constant defined in some class, such as @DefaultValue(SomeClass.INT_CONSTANT).
Would it be possible to have the  @DefaultValue annotation accept Object instead of String and then either call the toString() method of the object or use String.valueOf? I assume proper null handling would be needed but I doubt that would be very hard to do.

well... after a bit of reading it seems that Object is not allowed as input to annotations. However primitive types are, so maybe at least being able to specify the default value with String and primitive types?

After investigating, there is no way to create an Annotation that support multiple different types for its value. The only option here would be to create different annotations, one for each type (such as @DefaultValue("foo"), @DefaultValueInt(1) but this is ugly and complicates everything.
Therefore I'm closing this issue.


Stop interrupting me daily with a notice that there's a new version.

Description of the new feature / enhancement
Please follow this simple rule to help us eliminate any unnecessary wasted effort & frustration, and ensure an efficient and effective use of everyone's time - yours, ours, and other community members':
Stop interrupting me daily with a notice that there's a new version.
Scenario when this would be used?
Just sit down at the computer.  You will be interrupted.
Supporting information
This is driving me insane.  Please have some mercy on people forced to use your annoying tool.

Going to flag this against issue /dup #2701. (Can't say I disagree though)


How to add namespaces

Anyone know where i can add namespaces into the code? the docs dont show much info on it or where it should be supplied. the wallet i am trying to build a dapp for isnt allowing connections due to a lack of namespaces

could you show the error log? which namespaces?

it gives the error empty namespaces are not allowed and i cant find any sources on how this can be resolved/or how to add namespaces. or what part of the code to add them to

Probably is an issue on the Dapp side. Can't tell much without MRE and log error.


Moved user creation into separate recipe.

This makes it much eaier to write wrapper cookbooks which need to create
config files owned by teh correct user. By having the users in a separate
recipe they can iclude that and get the user created before they create
the files. But still get the files created before consul is started.

What configuration files are you creating that can't get added after the whole recipe converges?

A different data directory and certificates.
On Fri, Mar 18, 2016 at 8:45 PM, John Bellone<EMAIL_ADDRESS>wrote:

What configuration files are you creating that can't get added after the
whole recipe converges?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/johnbellone/consul-cookbook/pull/296#issuecomment-198515089

--
Martin Forssén
Operations
Recorded Future https://www.recordedfuture.com/
+46 760 252357
<EMAIL_ADDRESS>

Why not just override the attributes to change both of those?

node.default['consul']['config']['data_dir'] = '/foo'


Design Documents

This repo needs some comprehensive design documents explaining the classes involved and how they interact.

I'm going to call this completed with #132, #131, etc.


inline svg state is broken( doesn't revert back)

Version
3.2.24
Reproduction link
codesandbox.io
Steps to reproduce

Create a component with a named slot
Use the component with v-if v-else on the named template
on the if and else add 2 different SVG (inline < svg >...</ svg >)
when the state changes the first time it works
when you change again the state it doesn't work (it keep displaying the old svg but other part of the component like text is displayed correctly)

I put this example in the codesandbox example (see HelloWorld.vue)
1 - you will see (+) svg
2 - click first time (it will change to check mark)
3 - click again the text changes but not the svg !
What is expected?
render the correct svg if state changes (the 2nd and 3rd time etc...)
What is actually happening?
the svg state doesn't change (it displays the wrong svg of the old state forever) but the text changes correctly

We have a big application that we are trying to upgrade to vue 3.
We got this warning and error on our app ( the code was working fine in vue 2)
Warning : Unhandled error during execution of scheduler flush. This is likely a Vue internals bug.
Error : Uncaught (in promise) TypeError: right-hand side of 'in' should be an object, got null
(shouldSetAsProp, patchProp, patchProps , patchElement , processElement ,patch, patchKeyedChildren, patchChildren)
in the example of codesandbox I provided couldn't really reproduce the error but it still doesn't work as expected

Workaround: Move the condition into the slot:
<template #content>
  <template v-if="stateBool">
    <svg>.....
    <div> ....
  </template>
  <template v-else>
    <svg>.....
    <div> ....
  </template>
</template>

thank you for your quick reply,
if anyone else have the same problem and interested in a different workaround this worked me :
Simply put the inline svg in a separate component and import it
`

`


Support for Spring Boot Graceful Shutdown

Expected Behavior
Spring Boot provides means for graceful server shutdown --> https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#web.graceful-shutdown
IMHO the same logic should apply for KafkaListener, i.e. they should stop accepting new messages and continue to process already retrieved ones for timeout-per-shutdown-phase duration.
Current Behavior
To my knowledge, the kafka listeners do not react to server.shutdown=graceful and spring.lifecycle.timeout-per-shutdown-phase properties.
Context
This would be a minor improvement and alignment with the general spring boot behavior.

That is the default behavior; the container will continue to process all the records from the previous poll.
If you are seeing something different, please provide much more information and, preferably, an MCRE.

@garyrussell I'm fairly new into the world of Kafka (previous used RabbitMQ).
What is the "proper" way to ensure that all received (and currently active) messages are processed, before the application terminates?
I've implemented a simple SmartLifecycle which triggers the stop method on the listener containers, and then awaits ConsumerStoppingEvent. Do you see any issues with this solution?
@Slf4j
@Component
public class KafkaContainerListenerLifeCycle implements SmartLifecycle {

    private final Set<Integer> consumers = Collections.newSetFromMap(new ConcurrentHashMap<>());
    private final KafkaListenerEndpointRegistry registry;

    public KafkaContainerListenerLifeCycle(final KafkaListenerEndpointRegistry registry) {
        this.registry = registry;
    }

    @EventListener
    public void started(ConsumerStartedEvent event) {
        registry.getListenerContainers().forEach(c -> consumers.add(c.hashCode()));
    }

    @EventListener
    public void stopping(ConsumerStoppingEvent event) {
        registry.getListenerContainers().forEach(c -> consumers.remove(c.hashCode()));
    }

    @Override
    public void start() {

    }

    @Override
    public void stop() {
        registry.getListenerContainers().forEach(c -> c.stop());
    }

    @SneakyThrows
    @Override
    public void stop(Runnable callback) {
        stop();
        onShutdown();
        callback.run();
    }

    @Override
    public boolean isRunning() {
        return true;
    }

    private void onShutdown() throws InterruptedException {
        log.info("Shutting down the consumers");

        var numberOfActiveConsumers = consumers.size();

        log.info("Waiting on consumers to finish. {} active consumers", numberOfActiveConsumers);

        while (numberOfActiveConsumers > 0) {
            Thread.sleep(200L);

            numberOfActiveConsumers = consumers.size();
        }

        log.info("All consumers finished gracefully.");
    }

}

@NicklasWallgren It's best to ask questions on the Discussions tab (or on Stack Overflow).
Your approach is correct; however, each container.stop() will wait for (up to) ContainerProperties.shutdownTimeout (default 10 seconds) before returning so you might be better off calling stop(Runnable callback), or reducing the timeout, to stop multiple containers in parallel.
You might also want to consider setting stopImmediate to true to stop the containers faster; any remaining records from the previous poll after the current one will be processed the next time the container is started.
https://github.com/spring-projects/spring-kafka/blob/addb888088fcaa8acd375309e26a00cd46e60384/spring-kafka/src/main/java/org/springframework/kafka/listener/ContainerProperties.java#L866-L873


[BUG, GoodCollective] Labels and messages should change based on user selection (eg one time vs streaming donation)

https://gooddollar.slack.com/archives/CCWPU4HJR/p1733761215885189

When “one time” is selected, it should not say the stream will be started. Please see the Figma above for the accurate text that should display.

The text should update when steaming to say how much per month.

verified on prod


Electoral district filtering

@dtinth 4 puzzles #19, #20, #21, #22 are still not solved.

@dtinth 3 puzzles #19, #20, #21 are still not solved; solved: #22.

@dtinth 2 puzzles #19, #20 are still not solved; solved: #21, #22.

@dtinth all 4 puzzles are solved here: #19, #20, #21, #22.

Close due to ชนะถล่มทลาย and ชนะฉิวเฉียด has its own issue on #104, #105


Unused variable in property (AA0137)

Maybe related to other issues #5237
Having following code ...

with some global vars

results in a CodeCop 'Unused variable' (AA0137) warning, while the variable is actually used in the DataCaptionExpr property.
AL version used

We have the same problem but with an other Property.
Code for MS to reproduce/test:
table 50100 MyTable
{
    DataClassification = CustomerContent;
    fields
    {
        field(1; "Demo"; Integer)
        {
            Caption = 'Demo';
            DataClassification = CustomerContent;
            CaptionClass = StrSubstNo(AnyLabelLbl, ''); //This Line cause an AA0137 Warning
            // CaptionClass = AnyLabelLbl;
        }

    }
    keys
    {
        key(PK; "Demo")
        {
            Clustered = true;
        }
    }
    var
        AnyLabelLbl: Label 'Whatever %1';
}


chore: update CHANGELOG

Description
Add a missing CHANGELOG entry for #362.

Oops. I add this in this commit https://github.com/cosmosquad-labs/squad/pull/332/commits/ebb5835d6647197ecf3eea2e7fd275cea4cf7569 as I realize this is missing.


Flyway repair command repeatedly fixes the repeatable migration rows in the FLYWAY_SCHEMA_HISTORY table (flyway 7.9.1.)

Which version and edition of Flyway are you using?
Version 7.9.1
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
This bug was fixed in 6.3.0 however, we still experience it in 7.9.1.
URL to previous issue: https://github.com/flyway/flyway/issues/2821
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using? (Type & version)
Snowflake 5.31.4
Which operating system are you using?
Windows 10 Enterprise
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
run flyway repair command
What did you expect to see?
After run the Flyway migration successfully, the Flyway repair command should not repair anything.
What did you see instead?
The Flyway repair command repeatedly repairs the rows in the FLYWAY_SCHEMA_HISTORY table that have NULL value in ‘Version’ column; since the repeatable migration scripts don’t have version, the version column is always NULL, which will make the "repair" command always repair the repeatable migration script rows in each run.

We are currently unable to reproduce this issue (in 7.9.1 or above) so would require further details to proceed.
If you can supply us with a minimal repro case, it would be appreciated (preferably an example repeatable migration that suffers from the issue)

Sure. Will this be sufficient? @madninjaskillz
Example
[Pipeline] sh (hide)

set +x
WARNING: You are on an older version of Flyway. Please download latest at https://www.flywaydb.org/download/community
Flyway Community Edition 7.9.1 by Redgate
Database: jdbc:snowflake://XXXXXX/ (Snowflake 5.31)
QUOTED_IDENTIFIERS_IGNORE_CASE option is false
Repair of failed migration in Schema History table "UTILITY"."flyway_schema_history" not necessary. No failed migration detected.
Repairing Schema History table for description "MARKETING COVERAGE LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "MARKETING  COVERAGE LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "MARKETING POLICY LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "MARKETING POLICY LINE LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "200 MARKETING POLICY LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "500 MARKETING POLICY LINE LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "800 MARKETING  COVERAGE LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "800 MARKETING POLICY LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "900 MARKETING POLICY LINE LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "999 MARKETING COVERAGE LEVEL" (Marking as DELETED)  ...
Repairing Schema History table for description "EDW EDW POL PER X GROUP POLICY FULL" (Marking as DELETED)  ...
Repairing Schema History table for description "KDW EDW COVERABLE LOCATION FULL" (Marking as DELETED)  ...
Repairing Schema History table for description "KDW EDW POL PER X GROUP POLICY FULL" (Marking as DELETED)  ...
Repairing Schema History table for description "KDW EDW POL PER X PRODUCER FULL" (Marking as DELETED)  ...
Repairing Schema History table for description "KDW EDW POLICY COVERAGE FULL" (Marking as DELETED)  ...
Repairing Schema History table for description "KDW EDW POLICY EVENT FULL" (Marking as DELETED)  ...
Repairing Schema History table for description "KDW EDW POLICY FULL" (Marking as DELETED)  ...
Successfully repaired schema history table "UTILITY"."flyway_schema_history" (execution time 00:29.296s).
Please ensure the previous contents of the deleted migrations are removed from the database, or moved into an existing migration.

Example of migration R__KDW_EDW_POLICY_FULL.sql being repaired:
CREATE OR REPLACE VIEW KDW.EDW_POLICY_FULL comment = '2021-05-25 DAD: Oprettet' AS
SELECT
POLICY_SK,
POLICY_RK,
VALID_FROM_DTTM,
CASE WHEN VALID_TO_DTTM <= '5999-01-01' THEN DATEADD(NANOSECOND, 1, VALID_TO_DTTM ) ELSE '5999-01-01' END AS VALID_TO_DTTM,
POLICY_ID,
POLICY_NO,
POLICY_FIRST_EFFECTIVE_FROM_DTTM,
PAYMENT_MODE_CD,
PAYMENT_METHOD_CD,
FIRST_POLICY_OFFER_NO,
POLICY_PERIODS_CNT,
PAYOR_CD,
POLICY_NM,
ISSUE_BRANCH_CD,
CHANGE_USER_RK,
CAST(CHANGE_USER_ID AS VARCHAR(50)) AS CHANGE_USER_ID,
CHANGE_USER_CD,
CHANGE_DTTM,
CREATE_USER_RK,
CAST(CREATE_USER_ID AS VARCHAR(50)) AS CREATE_USER_ID,
CREATE_USER_CD,
CREATE_DTTM,
MTG_JOB_SK,
SOURCE_SYSTEM_CD,
CREATE_USER_INITIAL,
CHANGE_USER_INITIAL,
FLOW_HISTORY_ID
FROM
${dbEDWName}."POLICY".POLICY_FULL;

From this log it looks like Flyway is failing to find the local versions of the scripts that are within the schema history table. Specifying the locations parameter to point to where they are on disk should resolve this issue.


#476: missing flag added to conda-pack

What this PR does / why we need it:
We discovered an issue when building images using mlserver build my_model -t some_model:latest where the conda environment quietly fails and the environment is not loaded into the second stage properly. By building the image ourselves (using Docker directly) we discovered that a CondaPackError was raised which didn't cause the /envs/base.tar.gz to compress properly. The tarball then didn't unpacked correctly and the conda env failed to load once the docker was run which raises the same error as described in #476.
This error was also described in https://github.com/conda/conda-pack/issues/98 which caused us to test the change in this PR, where the conda-pack fails to resolve environments between pip and conda.
Which issue(s) this PR fixes:
Fixes #476 where the conda environment is not compiled properly compressed using continuumio/miniconda3:4.10.3 and hence not extracted correctly in seldonio/mlserver:1.1.0.dev1-slim, which causes the conda env not to load.
Special notes for your reviewer:
We also found that the --ignore-missing-files flag is set here
import conda_pack
env_file_path = MODEL_DIR / "environment.tar.gz"
conda_pack.pack(
    output=str(env_file_path),
    force=True,
    verbose=True,
    ignore_editable_packages=False,
    ignore_missing_files=True,
)

https://docs.seldon.io/projects/seldon-core/en/latest/examples/mlflow_v2_protocol_end_to_end.html

You did get the right handle 👍🏼 and most the thanks goes to @aomsson for really digging, we just hope it makes these custom runtime builds run smoothly for everyone 🚀


Support hot-reloading for a const HandleUntyped handle to an asset

What problem does this solve or what need does it fill?
I would like to make the core shaders hot-reloadable, behind a feature. So by default bevy would use include_str!() but it could optionally use something like asset_server.load() instead.
What solution would you like?
I want to be able to associate something like:
pub const PBR_SHADER_HANDLE: HandleUntyped =
    HandleUntyped::weak_from_u64(Shader::TYPE_UUID,<PHONE_NUMBER>767701046);

with an asset loaded and watched by the AssetServer, so the PBR_SHADER_HANDLE can be used as the handle, but so that the asset server file watcher will watch for changes and notify PBR_SHADER_HANDLE when the asset was changed.
Additional context

Hot-reloading works by notifying the HandleId that can be created from the AssetPath (via the AssetPathId). This means that only the handle created from the AssetPath can be notified.
There can only be one handle to an asset. I have been trying to make it so that there can be multiple handles, so that the const HandleUntyped can also be associated with the asset, and will be notified of changes but this seems to be way more difficult than expected.

Note that loading the asset and then using asset_server.set_untracked() to set the HandleUntyped for the asset will not support hot-reloading because only the HandleId calculated from the AssetPath will be notified.

I made a PR as an attempt at this: https://github.com/bevyengine/bevy/pull/3673


./kinesis_video_gstreamer_sample_app: No such file or directory

I am trying to run gstreamer sample app from Mac,but I am getting this error "./kinesis_video_gstreamer_sample_app: No such file or directory".I have executed the ./install_script inside the" kinesis-video-native-build " directory

Can you please send the contents of  kinesis-video-native-build directory ?
$ ls kinesis-video-native-build

here are the contents of kinesis-video-native-build
CMakeLists.txt			               java-install-script
certs				                       kvs_log_configuration
downloads			                       min-install-script
gstreamer-plugin-install-script             samples
install-script

Hi @pravin82  If the ./install-script is complete successfully then you will see all the demo samples are available in this folder.  Given there is no demo sample binaries in this folder suggests that either the install-script was not complete or did not run.

I have executed the ./install_script inside the" kinesis-video-native-build " directory

Can you provide details on the output of the ./install-script ?

Hi @unicornss here is details of the output of the ./install-script.
"./install-script: line 368: cd: /Users/pravinmishra/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/downloads/flex-2.6.3: No such file or directory"
I have flex 2.6.4 installed on my system.

Seems install-script was not completed fully before,  in order to debug your environment we need more details.

Which version of Mac OS are your running?
How are you planning to send video to Kinesis Video Streams
Can you elaborate on how did you download/install 2.6.4 ?  brew install? Its not clear why flex 2.6.4 installed as the install-script is looking for 2.6.3 and downloads as part of the install anyways.
if you have downloaded and in the kinesis-video-native-build/downloads directory then the install-script still does not pick up that version as its written to download 2.6.3

if [ ! -f $DOWNLOADS/local/lib/libfl.2.dylib ]; then
    if [ ! -f $DOWNLOADS/local/lib/libfl.2.so ]; then
        if [ ! -f $DOWNLOADS/local/lib/libfl.so ]; then
          echo "flex not found. Installing"
          if [ ! -f $DOWNLOADS/flex-2.6.3.tar.gz ]; then
            cd $DOWNLOADS
            $SYS_CURL -L $addl_curl_args "https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz" -o "flex-2.6.3.tar.xz"
          fi
          cd $DOWNLOADS
          tar -xvf flex-2.6.3.tar.xz
          cd $DOWNLOADS/flex-2.6.3
          ./configure --prefix=$DOWNLOADS/local  CFLAGS="-I$DOWNLOADS/local/include" LDFLAGS="-L$DOWNLOADS/local/lib"
          make -j $max_parallel
          make install
      fi
  fi
fi

Seems https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz downloadable.
Could you please add additional output you are seeing just before

"./install-script: line 368: cd: /Users/pravinmishra/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/downloads/flex-2.6.3: No such file or directory"

I am running on MacOS version 10.13.3 and trying to send video through webcam.
Installed flex through brew install.
I deleted "download" folder from "kinesis-video-native-build" directory and rerun the install-script.Now I am getting this as output
"checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.4.0 dyld
checking how to hardcode library paths into programs... immediate
configure: working c++ compiler found: yes
checking for perl... /usr/bin/perl
checking for bison... /usr/bin/bison
checking bison version 2.3 >= 2.4... configure: error: no"
I have bison 2.3 installed.

The brew installs  in /usr/local directory E.g. /usr/local/Cellar/bison/3.0.4_1/bin
You need to export PATH=/usr/local/Cellar/bison/3.0.4_1/bin:$PATH so that brew install precedes the older version in /usr/bin/bison.  You can do similar for  autoconf and pkg-config also as noted in the install-script (E.g. export PATH=/usr/local/Cellar/autoconf/2.69/bin:/usr/local/Cellar/pkg-config/0.29.2/:$PATH ).
Hope this helps. You can also the Mac High Sierra related posts in this section.

Hi @unicornss  thanks a lot for your help, it worked.But now I am getting a new
error when I execute "./kinesis_video_gstreamer_sample_app" script.
The error log is "Failed to create Kinesis Video Stream - timed out.
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Failed to create Kinesis Video Stream - timed out.
Abort trap: 6"
Above that there is log saying "curl perform failed for url https://kinesisvideo.us-west-2.amazonaws.com/describeStream with result Couldn't connect to server: Failed to connect to kinesisvideo.us-west-2.amazonaws.com port 443: Connection refused".

Thanks @unicornss  for the help.It was a proxy problem and now it's working fine.


Fetch Index in Batches

We've just modified the editor itself to yield JSON rather than HTML, as this offers a significant performance increase for very large notes. But speaking of very large notes, and very large sets of notes...
Consider the scenario: Notes or Articles are theoretically infinite. At present, we fetch them all in one go. But for each one we fetch, we have to perform a recursive function to receive the preview text (and the size of a document may be quite large).
Here's two things we can still do:

Paginate, so to speak, and fetch notes for the index in batches, bringing the next set as necessary on scroll.
Generate and store the preview text ONCE - generate it, slap it in the database, so that we don't have to meddle with it for countless notes.

To number 2... the only preview that needs LIVE updating is the one currently being edited, and we can rewrite with this in mind quite easily. I'm still thinking a currentDoc model in the Store would be of some service to us.

Resolved by f238efaaa46f576d04bbe828eea9c4166e42c143 and optimised by f27e29cb939557b62243a50ad70ebcd2599e47bf.

Resolved by f238efaaa46f576d04bbe828eea9c4166e42c143 and optimised by f27e29cb939557b62243a50ad70ebcd2599e47bf.


Sometimes commands.usa can't be found

On some environments, the path on line 77 to commands.usa doesn't need to be there. Not sure why not. Additionally, the admin tool hangs open when this file can't be found.

Fixed in develop.


Cannot delete contact person for factsheet

Description of the issue
I added a contact person for the factsheet which is incorrect, but I can not delete it, I can only edit it (equal to giving the same instance a new label I think).
Ideas of solution
Add a delete from field button in the edit field, to remove a wrong contact person from the field "who is the contact person for this factsheet" , but not delete the contact person as such.
Workflow checklist

[ ] I am aware of the workflow in CONTRIBUTING.md

I found out, that the contact can be deleted. When the mouse hovers over the input field a ✕ symbol appears and that deletes the input. Such a symbol in the field below may be more intuitive. It's remains true that a contact cannot be deleted from the selection list.

I tried it again. I added information, a blue message on the bottom indicated this would be saved when saving. I clicked the green save button and nothing happened. Well, at least no success message appeared after clicking the button.
When I used the back arrow on the top left to get back to the overview, a message in green said it saved the sheet. I could not reproduce this a second time. The second time it took a minute or so after clicking the save button for the message to appear. So it seems to work in Firefox Windows, albeit with a delay.
But: it did not save my change. I deleted contact persons and then added only a single one (it was two before). After saving both appear again in the overview, also after refreshing the browser.

I think this is also solved. Access control is in progress.


Generate Stacktraces

It would be great if we have the ability to generate stack traces

Sames of stacktraces of various languages can be found here
https://github.com/mingrammer/flog/issues/32#issuecomment-720639436

I am open to adding individual pieces that would make filling out a stack trace easier. But full stack traces are a little more complicated to generate and might be a little out of scope for something like gofakeit

@brianvoe Thanks for the response and support! :-)
Since generating full stack traces are out of scope for this project.. Closing this issue
However will create separate Issues & PRs for individual components to help generate the same

Pr looked good. I merged it in. Ill do a release shortly


utils: Change yuzu to yuzuOld

I have implemented the spl service in https://github.com/yuzu-emu/yuzu/pull/6472. Now we report that we are Atmosphere.
This will change the path that UMM searches to Atmosphere's mod directory.
If possible, could you update the page on https://gamebanana.com/tuts/13154 to reflect the new change once the PR in yuzu is merged.

Furthermore, with yuzu-emu/yuzu#6471, the mod load folder does not need to be changed to the atmosphere mod directory, since it will pick it up automatically.

Thanks for the heads up, sounds like useful changes. As I understand it, UMM doesn't need any changes to take advantage of or support these changes, correct?
About the guide, you'll have to contact its author about changes to it.

Yes, that's correct UMM does not need any changes on their end. The change I've PR'd is just to reflect that it's going to be deprecated soon / limited to older versions of yuzu.


Adding Unit tests for AdditionalData Generation

Problem
AdditionaData field generator needs some unit tests to spot any regressions
Proposed Solution
Adding some unit tests to run as part of CI.

1- Separating generation of payloads as a first step
2- Using the expected max sizes of all generated payloads as a starting point for sizing (e.g. RotatingDeviceId::kRotatingDeviceIdMaxLength)
3- Adding a fixed constant TLV overhead of 32-64 bytes with a comment that this may need to be updated if this payload becomes much bigger.


Viewing the Netherlands shows Caribbean Netherlands

I don't think this is the intention... same for the compare command.
➜  ~ kovid country netherlands
+-------+-------------+--------+--------------+-----------+
|                🇧🇶 CARIBBEAN NETHERLANDS                 |
+-------+-------------+--------+--------------+-----------+
| Cases | Cases Today | Deaths | Deaths Today | Recovered |
+-------+-------------+--------+--------------+-----------+
| 2     | 0           | 0      | 0            | 0         |
+-------+-------------+--------+--------------+-----------+

Thanks for reporting this. To be sure you're getting a specific country's data, you can always use the ISO2 codes in place of the country name.
I have pushed a quick fix for this so if you upgrade your gem it should work now. With that said, I feel there's going to be more work on this with other country names which will take some bit of effort.
I'll close this now, please feel free to re-open if there'll be more issues regarding this.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[camera] Unable To Get the Max resolution Images after setting the camera ResolutionPreset to max

I am trying to get the best resolution out of the camera by setting the ResolutionPreset to the max but the resolution I am getting is 2160x3840 compared to the phone camera which is giving 3024x3032

Hi @Obadh, thanks for filing the issue.
Please provide a complete minimal reproducible code sample as well as the output of flutter doctor -v.
Also, specify the version of camera you're using and the platform you're experiencing this issue on.
Thank you

import 'dart:async';
import 'dart:io';

import 'package:camera/camera.dart';
import 'package:flutter/material.dart';

Future<void> main() async {
  // Ensure that plugin services are initialized so that `availableCameras()`
  // can be called before `runApp()`
  WidgetsFlutterBinding.ensureInitialized();

  // Obtain a list of the available cameras on the device.
  final cameras = await availableCameras();

  // Get a specific camera from the list of available cameras.
  final backCamera = cameras.firstWhere(
      (element) => element.lensDirection == CameraLensDirection.back,
    );

  runApp(
    MaterialApp(
      theme: ThemeData.dark(),
      home: TakePictureScreen(
        // Pass the appropriate camera to the TakePictureScreen widget.
        camera: backCamera,
      ),
    ),
  );
}

// A screen that allows users to take a picture using a given camera.
class TakePictureScreen extends StatefulWidget {
  const TakePictureScreen({
    Key? key,
    required this.camera,
  }) : super(key: key);

  final CameraDescription camera;

  @override
  TakePictureScreenState createState() => TakePictureScreenState();
}

class TakePictureScreenState extends State<TakePictureScreen> {
  late CameraController _controller;
  late Future<void> _initializeControllerFuture;

  @override
  void initState() {
    super.initState();
    // To display the current output from the Camera,
    // create a CameraController.
    _controller = CameraController(
      // Get a specific camera from the list of available cameras.
      widget.camera,
      // Define the resolution to use.
      ResolutionPreset.max,
    );

    // Next, initialize the controller. This returns a Future.
    _initializeControllerFuture = _controller.initialize();
  }

  @override
  void dispose() {
    // Dispose of the controller when the widget is disposed.
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Take a picture')),
      // You must wait until the controller is initialized before displaying the
      // camera preview. Use a FutureBuilder to display a loading spinner until the
      // controller has finished initializing.
      body: FutureBuilder<void>(
        future: _initializeControllerFuture,
        builder: (context, snapshot) {
          if (snapshot.connectionState == ConnectionState.done) {
            // If the Future is complete, display the preview.
            return CameraPreview(_controller);
          } else {
            // Otherwise, display a loading indicator.
            return const Center(child: CircularProgressIndicator());
          }
        },
      ),
      floatingActionButton: FloatingActionButton(
        // Provide an onPressed callback.
        onPressed: () async {
          // Take the Picture in a try / catch block. If anything goes wrong,
          // catch the error.
          try {
            // Ensure that the camera is initialized.
            await _initializeControllerFuture;

            // Attempt to take a picture and get the file `image`
            // where it was saved.
            final image = await _controller.takePicture();

            // If the picture was taken, display it on a new screen.
            await Navigator.of(context).push(
              MaterialPageRoute(
                builder: (context) => DisplayPictureScreen(
                  // Pass the automatically generated path to
                  // the DisplayPictureScreen widget.
                  imagePath: image.path,
                ),
              ),
            );
          } catch (e) {
            // If an error occurs, log the error to the console.
            print(e);
          }
        },
        child: const Icon(Icons.camera_alt),
      ),
    );
  }
}

// A widget that displays the picture taken by the user.
class DisplayPictureScreen extends StatelessWidget {
  final String imagePath;

  const DisplayPictureScreen({Key? key, required this.imagePath})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Display the Picture')),
      // The image is stored as a file on the device. Use the `Image.file`
      // constructor with the given path to display the image.
      body: Image.file(File(imagePath)),
    );
  }
}

[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-x64, locale en-GB)
    • Flutter version 2.5.3 at /Users/obadh/development/tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (5 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/obadh/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (2 available)
    • SM N975F (mobile) • RF8M906K9JE • android-arm64  • Android 11 (API 30)
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 96.0.4664.55

• No issues found!

  camera: ^0.9.4+1

Hi @Obadh, is this issue on iOS or android?

@danagbemava-nc android.

Hi @Obadh, it looks like this is a known issue and is being tracked https://github.com/flutter/flutter/issues/58163.
Another related issue is https://github.com/flutter/flutter/issues/78247.
Kindly follow up on either of them for more updates.
Closing from here as duplicate.
Thank you.


Add remark that this method is called when doing manual migrations via EF tools.

Running EF tools in the PMC confirms that the Seed override in your project is called to seed a database update with data.
>update-database -ConnectionStringName MyProjectAppConfigContext -Verbose
Using StartUp project 'MyProject'.
Using NuGet project 'MyProject'.
Target database is: 'MyProjectDB' (DataSource: .\SQLEXPRESS, Provider: System.Data.SqlClient, Origin: Explicit).
[.... CREATE TABLE ... INSERT TABLE ....]
Running Seed method.
>

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

ID: 61e34ed4-b05b-7b0b-aee7-d74a468c5156
Version Independent ID: 29419a44-128a-5876-f660-885e5605d416
Content: DbMigrationsConfiguration<TContext>.Seed(TContext) Method (System.Data.Entity.Migrations)
Content Source: [EF/xml/System.Data.Entity.Migrations/DbMigrationsConfiguration1.xml](https://github.com/aspnet/EntityFramework.ApiDocs/blob/live/EF/xml/System.Data.Entity.Migrations/DbMigrationsConfiguration1.xml)
Product: entity-framework
GitHub Login: @dotnet-bot
Microsoft Alias: divega

Thank you for requesting a change to the EF6 documentation. We are prioritizing improvements to the EF Core documentation and at this time we are not making changes to the EF6 documentation.
However, we will consider well-written community pull requests to improve the EF6 documentation. The documentation source is located in the EntityFramework.Docs repository on GitHub. To submit a pull request:

Find the file to update and click on it to open

Click on the edit button (✏) to edit in your web browser

When done, add a title and description, then use the "Create a new branch and start a pull request." option.

(Note that you can also clone the docs repo and do a GitHub PR in the normal way.)


GM_xmlhttpRequest does not work correctly

@bestpika commented on Sat Jan 16 2021
Steps to reproduce

Install https://greasyfork.org/scripts/420151/code/Steam历史最低价格查询.user.js.
Go to any Steam product page like https://store.steampowered.com/app/1257290/.

Expected behavior
The product page will show the relevant price information, just like the first screenshot.
Actual behavior
The product page will get stuck on retrieving data and you will see an error message in dev tools.
Just like the second and third screenshots.
Screenshot

Your environment
Windows 10 x64 and 8.1 x64
AdGuard 7.6 nightly 12 (build 3452, CL 1.7.153)
Cent Browser <IP_ADDRESS> x86 (Chromium 86.0.4240.198)

@bestpika, could you please specify whether the issue is reproducible on the versions, earlier or equal to 7.6 nightly 6

@bestpika, could you please specify whether the issue is reproducible on the versions, earlier or equal to 7.6 nightly 6

@adbuker I was able to reproduce the same error with nightly 6.
I even turned all but one other feature off.

@adbuker I was able to reproduce the same error with nightly 6.
I even turned all but one other feature off.

This problem seems to be caused by your server not turning on the CORS response header.

This problem seems to be caused by your server not turning on the CORS response header.

I meet this problem with a different appearance.

The Promise is fulfilled with an undefined result.

Another appearance

A workaround is to make sure that the script name as stated in the // @name    metadata header does not contain any non-ASCII or non-printable characters (the script can be edited from the application). Fix coming soon.

Hi Nikita,
I have tried changing the header to English but there is still some issue between the script and AdGuard, test on the latest stable and nightly build (7.7 nightly 30).
on Firefox:

on Microsoft Edge:

@Lutra-Fs It looks like there's an error in the script on line 314: it accesses response.response instead of response.responseText: https://wiki.greasespot.net/GM.xmlHttpRequest#Response_Object

Thanks for the helping. Not familiar with the GM script, so not find the issue. Now things work well!


ContainerState getContainerIpAddress not returning expected value

Hello,
I am unable to easily access a test-containers-launched container IP.
Executing:

GenericContainer#getContainerIpAddress() returns "localhost".
GenericContainer#getTestHostIpAddress() throws 'java.lang.UnsupportedOperationException' exception which make sense given that I am not running the code in docker-machine (I'm running Ubuntu).
GenericContainer#getIpAddress() also returns "localhost" and being a deprecated method would be a last resort if it worked as expected.

To obtain a container's actual IP I have to execute the following:
container.getContainerInfo().getNetworkSettings().getNetworks().entrySet().iterator().next().getValue().getIpAddress()

While this workaround above works for me it does not look clean. Is there an alternative way of obtaining a container's IP that I am unaware of?
For context, the container is launched using similar code to as shown below:
        new GenericContainer(
                new ImageFromDockerfile()
                        .withFileFromPath("docker-entrypoint.sh", Paths.get(RESOURCES_FOLDER + "docker-entrypoint.sh"))
                        .withDockerfileFromBuilder(builder -> builder.from(REGISTRY + getDockerImage())
                                                                     .entryPoint("bash", "/opt/docker-entrypoint.sh")
                                                                     .cmd("/opt/bin/startup.sh")
                                                                     .build()))
                .withExposedPorts(1199, 1099, 8080)
                .waitingFor(Wait.forLogMessage(".*Startup Completed!.*", 1));

Inspecting the containers network information in the terminal I get the following:
"NetworkSettings": {
            "Bridge": "",
            "SandboxID": "48198b74e9bf808688ace5e13413c9acd2626d2be59e4e0330208e8629dfd92f",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "1099/tcp": [
                    {
                        "HostIp": "<IP_ADDRESS>",
                        "HostPort": "32826"
                    }
                ],
                "1199/tcp": [
                    {
                        "HostIp": "<IP_ADDRESS>",
                        "HostPort": "32825"
                    }
                ],
                "8080/tcp": [
                    {
                        "HostIp": "<IP_ADDRESS>",
                        "HostPort": "32824"
                    }
                ]
            },
            "SandboxKey": "/var/run/docker/netns/48198b74e9bf",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "b6004ef4e781adbf46d21555cc849a6e2436be249a6046023c2f97106e05b237",
            "Gateway": "<IP_ADDRESS>",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "<IP_ADDRESS>",
            "IPPrefixLen": 24,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:32:32:04",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "afd1b30e1bc53cf8c1c336d1de6ab13fed1a132a532629a7cf361a69022f8ac1",
                    "EndpointID": "b6004ef4e781adbf46d21555cc849a6e2436be249a6046023c2f97106e05b237",
                    "Gateway": "<IP_ADDRESS>",
                    "IPAddress": "<IP_ADDRESS>",
                    "IPPrefixLen": 24,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:32:32:04",
                    "DriverOpts": null
                }
            }
        }

Thank you for the amazing project regardless :D

Just keen to understand - do you actually need the IP address? As the container has ports exposed these should be accessible via localhost and getMappedPort(...) for the port. Or is there a difference in your environment that means localhost is incorrect?
(As an aside, yes, we know that getContainerIpAddress is a very bad name for the method when it can feasibly return a hostname. That will change in a major version bump some time 😬.)

The exposed ports command in the example is probably just causing more confusion than actually helping... Apologies for that.

Just keen to understand - do you actually need the IP address?

Yes, the docker image in question is a Java-based program which I'm connecting to via Java RMI.

As the container has ports exposed these should be accessible via localhost and getMappedPort(...) for the port.

Mapped ports yes, but RMI works by talking to a registry in a known port (the exposed port) and then further calls being redirected to another port (which is part of a range, defined by configuration) for the actual remote method invocation.
Now, it would defeat the purpose of mapped ports if I had to do a 1:1 mapping of all the ports in the range of ports available for object communication. Essentially this would mean that I could only run 1 container at a time and lose the flexibility that container ports give me. I admit that my example is incomplete and further information was necessary to understand the reason behind this issue.

Or is there a difference in your environment that means localhost is incorrect?

Essentially what happens is I must communicate with the container on a known port inside the container which will return 1 port out of a range (of I believe 10 possible ports) with which to perform the actual remote invocations. This returned port value is the port to be used inside the container, hence why I need to know its IP address.
Is my explanation clear?
P.S: Thank you for the aside :pray: do change the name as soon as possible it is very misleading :rofl:

You can start a proxy first and use the assigned port to hint JMX on which port it is running.
If you're doing it for debugging, see this article:
https://bsideup.github.io/posts/debugging_containers/
If your test actually tests JMX, consider using SocatContainer in front of your target container
The obtained container internal IP is not accessible on some systems like Mac OS X or with remote Docker (obviously), this is why there is no getter for it

Thank you for the blog post @bsideup, I'm not using the JMX ports for debugging, you are absolutely right that in other systems this approach would not work.
Your comment has been very insightful nonetheless. I shall look at SocatContainers.
Thank you!

+1, see https://github.com/testcontainers/testcontainers-java/issues/452#issuecomment-534956985

As a side note, for us the workaround is to use Java itself to provide such value:
public String getAddress(){
        try {
            InetAddress host = InetAddress.getLocalHost();

            LOGGER.debug("host is: {}", host);
            LOGGER.debug("hostname is: {}", host.getCanonicalHostName());

            return host.getCanonicalHostName();
        } catch (UnknownHostException e){
            LOGGER.error("Unable to find HOST hostname", e);

            throw new RuntimeException("Unable to find HOST hostname", e);
        }
    }
````
Which is not ideal

I have more reliable way to get the IP address - currently I wrote some tests using TestContainers and own network. Then getNetworks() returns unordered set of two networks. Your code worked as russian rulete, because sometimes I retrieved the "bridge" network, sometimes the container's network I gave him in constructor, but this gives stable result (I have little doubts about the 127001, but at least it prevents npe):
    /**
     * @return IP address usable in container network
     */
    public String getVirtualNetworkIpAddress() {
        final Collection<ContainerNetwork> networks = getContainerInfo().getNetworkSettings().getNetworks().values();
        LOG.trace("networks: {}", networks);
        return networks.stream().filter(n -> n.getNetworkID().equals(getNetwork().getId())).findAny()
            .map(ContainerNetwork::getIpAddress).orElse("<IP_ADDRESS>");
    }

I faced the same issue: when using an explicit network for my containers, I'm unable to get the container IP in this network and wrote the same code as https://github.com/testcontainers/testcontainers-java/issues/1719#issuecomment-547658059 .
I didn't test on something else than Linux (no docker for {Mac,Windows}) but our testsuite works on my dev workstation and on our CI regardless of whether we use an explicit Network or not.
What about changing the implementation of getContainerIpAddress() for this one?
Is there any case where the result is not ok?
I guess it should return a list of IPs because chances are that some addresses are not reachable for a remote docker daemon.


Add fft2d

This is a quick small PR to just add ortho FFT which is later used downstream by joint_optimization_mri, to get kspace from images. The idea here is to reduce burden for making multicoil data to single coil.

Arrggg, I was blindly copying codes from one branch to other, I think I missed something here..

Oh no, i seem to have missed this codes. I dont know whats running currently then on Networks, the scaling is off in current codes xD
But i know for sure i did fix this, cause i did have scaling issues..

Oh no, i seem to have missed this codes. I dont know whats running currently then on Networks, the scaling is off in current codes xD
But i know for sure i did fix this, cause i did have scaling issues..

Phew somehow JZ has the right codes.. I have zero clue how this happened. Phew.. XD

@chaithyagr cool !
Could you also increase the version number by 0.1.0 (I forgot to ask for the addition of slices, this will do for the 2)?

Otherwise LGTM, waiting for the change in version n0 and the greeen from tests

@chaithyagr cool !
Could you also increase the version number by 0.1.0 (I forgot to ask for the addition of slices, this will do for the 2)?

I have some PRs affecting noisy codes, I was hoping to do them also maybe? Esp given that current codes will have issues in loaded data from what i remember for noisy data

Let's do it for each (normally we should do it for each)


Changes in method signatures so that ConstructGalleryFrame can be used

The  ConstructGalleryFrame and ConstructGallery class signatures have been enhanced, introducing parameters which allow to define a custom gallery of samples.
A description of how to use the ConstructGalleryFrame class has been added to the README, including simple sample of custom population of the gallery frame.
Constant definitions in ConstructGallery  (default_construct_gallery, default_gallery_selection) have been moved to class attributes, so that they can be overridden, preserving the remaining part of the __init__ code.
NOTE: I do not like the example_binarys name, but this implies a massive change and is not part of this PR.

Closing because superseded by the ConstructGallery panel of construct-gallery.


Several warnings when importing in Unity 2017.3p4

See title. These are the warnings I get every time the project compiles:

AnimationProxy.animation' hides inherited member UnityEngine.Component.animation'. Use the new keyword if hiding was intended
warning CS0108: Assets/SimpleAnimationComponent/Tests/AnimationProxy.cs(74,23)

AnimationProxy.gameObject' hides inherited member UnityEngine.Component.gameObject'. Use the new keyword if hiding was intended
warning CS0108: Assets/SimpleAnimationComponent/Tests/AnimationProxy.cs(156,23)

SimpleAnimationProxy.gameObject' hides inherited member UnityEngine.Component.gameObject'. Use the new keyword if hiding was intended
warning CS0108: Assets/SimpleAnimationComponent/Tests/SimpleAnimationProxy.cs(131,23)

The variable `defaultState' is assigned but its value is never used
warning CS0219: Assets/SimpleAnimationComponent/SimpleAnimation_impl.cs(348,17)

UnityEngine.Playables.PlayableExtensions.SetPlayState<UnityEngine.Playables.Playable>(this UnityEngine.Playables.Playable, UnityEngine.Playables.PlayState)' is obsolete: SetPlayState() has been deprecated. Use Play(), Pause() or SetDelay() instead'
warning CS0618: Assets/SimpleAnimationComponent/SimpleAnimationPlayable.cs(117,31)

UnityEngine.Playables.PlayableExtensions.SetPlayState<UnityEngine.Playables.Playable>(this UnityEngine.Playables.Playable, UnityEngine.Playables.PlayState)' is obsolete: SetPlayState() has been deprecated. Use Play(), Pause() or SetDelay() instead'
warning CS0618: Assets/SimpleAnimationComponent/SimpleAnimationPlayable.cs(505,38)

UnityEngine.Playables.PlayableExtensions.SetPlayState<UnityEngine.Playables.Playable>(this UnityEngine.Playables.Playable, UnityEngine.Playables.PlayState)' is obsolete: SetPlayState() has been deprecated. Use Play(), Pause() or SetDelay() instead'
warning CS0618: Assets/SimpleAnimationComponent/SimpleAnimationPlayable.cs(542,32)

Field SimpleAnimationPlayable.StateInfo.speed' is never assigned to, and will always have its default value 0'
warning CS0649: Assets/SimpleAnimationComponent/SimpleAnimationPlayable_States.cs(286,22)

The private field `SimpleAnimationEditor.m_AnimationsExpanded' is assigned but its value is never used
warning CS0414: Assets/SimpleAnimationComponent/Editor/SimpleAnimationEditor.cs(25,10)

Fixed in https://github.com/Unity-Technologies/SimpleAnimation/pull/17
Merged to master.
All the warnings that appeared at compile time were fixed for 2017.3.0f1


Removing first character at remote file name

Hi, when I execute this script, the result on server is a file without first character.
client.connect(function () {
    client.upload(['../dist/win/setup/*.exe'],
        settings.ftp.dest,
        {
            baseDir: '../dist/win/setup/'
        }, function (result) {
            console.log(result);
        });
});

Eg: if my local file have a name like Awesomefile.exe, on the server it will be wesomefile.exe.

you can try to change your baseDir  from '../dist/win/setup/'  to '../dist/win/setup', remove the last slush


Intel bluetooth seems to be broken till the upgrade to ChimeraOS 28 (5.15)

My bluetooth broke when the upgrade to ChimeraOS 28 (5.15) happened. I get the No default controller available  error:
[gamer@chimeraos ~]$ bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available

Bluetooth service seems to be ok:
[gamer@chimeraos ~]$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Sat 2021-12-11 16:23:54 EST; 20min ago
       Docs: man:bluetoothd(8)
   Main PID: 574 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19083)
     Memory: 2.1M
        CPU: 12ms
     CGroup: /system.slice/bluetooth.service
             └─574 /usr/lib/bluetooth/bluetoothd

Dec 11 16:23:54 chimeraos systemd[1]: Starting Bluetooth service...
Dec 11 16:23:54 chimeraos bluetoothd[574]: Bluetooth daemon 5.62
Dec 11 16:23:54 chimeraos systemd[1]: Started Bluetooth service.
Dec 11 16:23:54 chimeraos bluetoothd[574]: Starting SDP server
Dec 11 16:23:54 chimeraos bluetoothd[574]: Bluetooth management interface 1.21 initialized

rfkill has not blocked the bluetooth card :
[gamer@chimeraos ~]$ rfkill list
...
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

the kernel seems to  report some errors:
[gamer@chimeraos ~]$ journalctl | grep hci0
Dec 11 15:27:44 chimeraos kernel: Bluetooth: hci0: command 0xfc05 tx timeout
Dec 11 15:27:44 chimeraos kernel: Bluetooth: hci0: Reading Intel version command failed (-110)
Dec 11 15:45:58 chimeraos kernel: Bluetooth: hci0: Reading Intel version command failed (-110)
Dec 11 15:45:58 chimeraos kernel: Bluetooth: hci0: command 0xfc05 tx timeout
Dec 11 16:23:55 chimeraos kernel: Bluetooth: hci0: command 0xfc05 tx timeout
Dec 11 16:23:55 chimeraos kernel: Bluetooth: hci0: Reading Intel version command failed (-110)

Not sure what is happening here.. any ideas?

Same issue. Bluetooth menu disappeared after the OS update. WiFi is still visible though.
Anyone else who had this problem have a fix?

Is this bug still relevant on v33?


RobustMNISpatialNormalization interface failing for MNI152NLin2009cAsym

Getting this on TACC:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 69, in run_node
    result['result'] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 473, in run
    result = self._run_interface(execute=True)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 564, in _run_interface
    return self._run_command(execute)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 649, in _run_command
    result = self._interface.run(cwd=outdir)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 376, in run
    runtime = self._run_interface(runtime)
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/mni.py", line 127, in _run_interface
    ants_args = self._get_ants_args()
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/mni.py", line 378, in _get_ants_args
    "fixed_masked.nii.gz")
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/mni.py", line 422, in mask
    data = in_nii.get_data()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/dataobj_images.py", line 203, in get_data
    data = np.asanyarray(self._dataobj)
  File "/usr/local/miniconda/lib/python3.7/site-packages/numpy/core/numeric.py", line 553, in asanyarray
    return array(a, dtype, copy=False, order=order, subok=True)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/arrayproxy.py", line 355, in __array__
    raw_data = self.get_unscaled()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/arrayproxy.py", line 350, in get_unscaled
    mmap=self._mmap)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nibabel/volumeutils.py", line 535, in array_from_file
    getattr(infile, 'name', 'object')))
OSError: Expected 17060042 bytes, got 6156601 bytes from object
 - could the file be damaged?

@effigies could this be that get_data (instead of get_fdata)?
File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/mni.py", line 422, in mask
    data = in_nii.get_data()`

Sorry for the noise. Indeed a corrupt file.
Deleting the corresponding templateflow item and re-downloading it before a second attempt of execution worked out.


Infinite recursion in visualization

When I try to visualize this model with textx visualize simple.tx:
List: members+=Value;
Value: ('{' List '}') | ID;

I get
  ...
  File "c:\users\venti\documents\eclipse\textx\textx\export.py", line 48, in r
    result = "|".join([r(x) for x in s.nodes])
  File "c:\users\venti\documents\eclipse\textx\textx\export.py", line 50, in r
    result = " ".join([r(x) for x in s.nodes])
  File "c:\users\venti\documents\eclipse\textx\textx\export.py", line 46, in r
    result = text(s)
RuntimeError: maximum recursion depth exceeded while calling a Python object

textx check simple.tx says the meta-model is ok.
Also, this form works:
List: '{' members+=Value '}';
Value: List | ID;

but this one doesn't:
ListSyntax: '{' List '}';
List: members+=Value;
Value: ListSyntax | ID;

I think all of these should be should work. I tried with master branch of Arpeggio and textX, as well as Arpeggio-1.4 and textX-1.3.

Thanks for the report. It looks like a bug in the dot export function.
I will look into it.

There was a typo in the working example, it said Value: ID; instead of Value: List | ID;. I corrected it in the original message.

Try master branch. Should be fine now.

Yes it works. Thank you.