Building anything for nrf5340pdk_nrf5340_cpuappns/mps2_an521_ns(any non-secure platforms) pulls external git trees

Describe the bug
Whenever you build for this platform, you end up with git trees that were pulled from outside the project. This should use modules and should not depend on external trees.
west build -b nrf5340pdk_nrf5340_cpuappns samples/synchronization/
..
..
[1/9] Creating directories for 'mbedcrypto-populate'
[1/9] Performing download step (git clone) for 'mbedcrypto-populate'
Cloning into 'mbedcrypto-src'...
remote: Enumerating objects: 18042, done.
remote: Counting objects: 100% (18042/18042), done.
remote: Compressing objects: 100% (8487/8487), done.
remote: Total 18042 (delta 14039), reused 12665 (delta 9429), pack-reused 0
Receiving objects: 100% (18042/18042), 17.40 MiB | 38.24 MiB/s, done.
Resolving deltas: 100% (14039/14039), done.
Note: switching to 'mbedtls-2.24.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 523f0554 Merge pull request #748 from ARMmbed/mbedtls-2.24.0r0-pr
[2/9] Performing update step for 'mbedcrypto-populate'
[4/9] Performing patch step for 'mbedcrypto-populate'
[5/9] No configure step for 'mbedcrypto-populate'
[6/9] No build step for 'mbedcrypto-populate'
[7/9] No install step for 'mbedcrypto-populate'
[8/9] No test step for 'mbedcrypto-populate'
[9/9] Completed 'mbedcrypto-populate'

...
..

There's a possibility we can fix this just with the following upmerge. I'll get back to it soon.

Waiting on v1.3.0 TFM release which will have a fix for having a local mbed crypto/tls code base

@ioannisg can you take a look at this now that we merged the TFM 1.3.0 support.

@ioannisg can you take a look at this now that we merged the TFM 1.3.0 support.

It's on my task list for this week.

Submitted a PR that addresses the issue.


How to create multidimensional arrays using NDManager.create()

In python, we can use np.array([[[1, 2], [2, 3], [11, 22], [22, 33]], [[1, 2], [2, 3], [11, 22], [22, 33]]]) to create a three-dimensional array. The create method in djl can only support two-dimensional arrays. Is there a better way to create it besides reshape?

            int[] data = {1, 2, 2, 3, 11, 22, 22, 33, 1, 2, 2, 3, 11, 22, 22, 33};
            NDArray array = manager.create(data, new Shape(2, 3, 2));

Feel free to reopen the issue if you have further question


How to custom font size

I found spaceline height is relatively high but inside the font is very small,
how should i configure the font size?

Hey @frapples, could you provide a screenshot please? Also, what font are you using for you default face? e.g. courier sans mono
Also, you can look at modifying this variable;

powerline-text-scale-factor

I observed the screenshot inside README.md, and my screenshot is almost, so this
should not be a bug. Probably because I have just switched from spacemacs
spaceline, some are not used to.

Thank you! :smile:

But I found that if the path is mixed in Chinese and English, they seem very fool.
How do i configure it?
My English font is ""DeJaVu sans mono", size is 14.

same issue here, adjust powerline-text-scale-factor also increases the height


Replace mailgun-js

Currently Parse use the mailgun-js module to send emails via mailgun. The problem with this module is, that it needs a lot of dependencies (120 packages!). Any interest to replace this dep with the mailgun-es6 module (0 packages dependency)? Benefits:

less node_modules aka faster setup time
more than 250ms faster application boot time on a macbook pro (i7) machine

References:

mailgun-js deps: http://npm.anvaka.com/#/view/2d/mailgun-js
mailgun-es deps: http://npm.anvaka.com/#/view/2d/mailgun-js

If this make sense, I'll send a PR

That makes more than sense, go ahead!!

@flovilmart any other actions required from my side for the parse-server-simple-mailgun-adapter pull request? Should I send PR to bump versions?

That should be good, I don't have commit access on all repositories, so let's wait for the adapter PR to be merged. And we'll make sure it will be part of the next release.

@neophob I'm gonna close that one as the next steps are on the maligun repo

any news?

See with @drew-gross I don't have commit access on that repo.


New package: PosDefManifold v0.3.1

Registering package: PosDefManifold
Repository: https://github.com/Marco-Congedo/PosDefManifold.jl
Created by: @Marco-Congedo
Version: v0.3.1
Commit: ac7218cc8acaf359784484308cf5e4167dfb44c6
Reviewed by: @Marco-Congedo
Reference: https://github.com/Marco-Congedo/PosDefManifold.jl/issues/53#issuecomment-495933824

Please just update #944.

OK, i think it should ne allright now.
I reverted back to v0.3.0, the one that i original submitted in #944.
Let me know if i did it wrong.
Thanks!
On Sat, May 25, 2019 at 7:27 PM Fredrik Ekre<EMAIL_ADDRESS>wrote:

Please just update #944
https://github.com/JuliaRegistries/General/pull/944.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JuliaRegistries/General/pull/988?email_source=notifications&email_token=ALM2JPH2MJ6BJANHWAFTGJLPXFZJBA5CNFSM4HPVACR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWHV4KQ#issuecomment-495935018,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALM2JPG3YEGL5GH2YIJ5BSLPXFZJBANCNFSM4HPVACRQ
.

--
Marco Congedo


Support sequential cpu offloading with torchao quantized tensors

What does this PR do?
As discussed internally in https://huggingface.slack.com/archives/C068ZAHJZCZ/p1725454261264919
From the Diffusers-TorchAO experimentation, when modeling components are quantized and sequential cpu offloading is enabled, we get the following error:

 Traceback
Traceback (most recent call last):
  File "/home/aryan/work/diffusers/dump10.py", line 228, in <module>
    pipe.enable_sequential_cpu_offload()
  File "/home/aryan/work/diffusers/src/diffusers/pipelines/pipeline_utils.py", line 1104, in enable_sequential_cpu_offload
    cpu_offload(model, device, offload_buffers=offload_buffers)
  File "/raid/aryan/nightly-venv/lib/python3.10/site-packages/accelerate/big_modeling.py", line 204, in cpu_offload
    attach_align_device_hook(
  File "/raid/aryan/nightly-venv/lib/python3.10/site-packages/accelerate/hooks.py", line 512, in attach_align_device_hook
    attach_align_device_hook(
  File "/raid/aryan/nightly-venv/lib/python3.10/site-packages/accelerate/hooks.py", line 512, in attach_align_device_hook
    attach_align_device_hook(
  File "/raid/aryan/nightly-venv/lib/python3.10/site-packages/accelerate/hooks.py", line 512, in attach_align_device_hook
    attach_align_device_hook(
  [Previous line repeated 4 more times]
  File "/raid/aryan/nightly-venv/lib/python3.10/site-packages/accelerate/hooks.py", line 503, in attach_align_device_hook
    add_hook_to_module(module, hook, append=True)
  File "/raid/aryan/nightly-venv/lib/python3.10/site-packages/accelerate/hooks.py", line 161, in add_hook_to_module
    module = hook.init_hook(module)
  File "/raid/aryan/nightly-venv/lib/python3.10/site-packages/accelerate/hooks.py", line 308, in init_hook
    set_module_tensor_to_device(module, name, "meta")
  File "/raid/aryan/nightly-venv/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 440, in set_module_tensor_to_device
    new_value = param_cls(new_value, requires_grad=old_value.requires_grad).to(device)
TypeError: AffineQuantizedTensor.__new__() got an unexpected keyword argument 'requires_grad'

MRE:
import torch
from diffusers import AutoencoderKLCogVideoX, CogVideoXTransformer3DModel, CogVideoXPipeline
from diffusers.utils import export_to_video
from transformers import T5EncoderModel
from torchao.quantization import quantize_, int8_weight_only

# Either "THUDM/CogVideoX-2b" or "THUDM/CogVideoX-5b"
model_id = "THUDM/CogVideoX-5b"
quantization = int8_weight_only

text_encoder = T5EncoderModel.from_pretrained(model_id, subfolder="text_encoder", torch_dtype=torch.bfloat16)
quantize_(text_encoder, quantization())

transformer = CogVideoXTransformer3DModel.from_pretrained(model_id, subfolder="transformer", torch_dtype=torch.bfloat16)
quantize_(transformer, quantization())

vae = AutoencoderKLCogVideoX.from_pretrained(model_id, subfolder="vae", torch_dtype=torch.bfloat16)
quantize_(vae, quantization())

pipe = CogVideoXPipeline.from_pretrained(
    model_id,
    text_encoder=text_encoder,
    transformer=transformer,
    vae=vae,
    torch_dtype=torch.bfloat16,
)
pipe.enable_sequential_cpu_offload()

video = pipe(
    prompt="a panda dancing",
    num_inference_steps=1,
).frames[0]

export_to_video(video, "output.mp4", fps=8)

This PR adds the discussed/proposed fix. On this branch, the memory usage is as follows for CogVideoX-5b:
memory=0.008
max_memory=3.081
max_reserved=3.908

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@SunMarc @jerryzh168 @sayakpaul

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Implement Kyber as a new HFS DH option.

This PR pulls in https://pq-crystals.org/kyber/ as a kyber reference implementation, then utilizes Kyber KEM for HFS if selected. It should be fully functional, however I'm having trouble testing with known test vectors, as the Kyber API doesn't pass in randomness, it generates it within its calls. If you have any thoughts on how to get around this, let me know!
Here's how this works with the HFS flow.  First, here's the tokens sent that are relevant to this key exchange:
-> F
<- F, FF

The F tokens contain the "public key" of the local side.  For the initiator, this is the Kyber public key.  For the responder, it's the KEM value.
initiator.send.F
  noise_dhstate_generate_dependent_keypair(local, remote)
    noise_kyber_generate_keypair(local, remote)
      pqcrystals_kyber768_ref_keypair(local.public_key, local.private_key)
  send(F, local.public_key)
responder.recv.F
  noise_dhstate_set_public_key(remote, F.data)
    remote.public_key = F.data
responder.send.F
  noise_dhstate_generate_dependent_keypair(local, remote)
    noise_kyber_generate_keypair(local, remote)
      # set local.public to KEM ciphertext, and local.private to computed shared secret
      pqcrystals_kyber768_ref_enc(local.public_key, local.private_key, remote.public_key)
  send(F, local.public_key)
initiator.recv.F:
  noise_dhstate_set_public_key(remote, F.data)
    remote.public_key = F.data
responder.send.FF
  noise_handshake_mix_dh(local, remote, local.shared_key)
    noise_dhstate_calculate(local, remote, local.shared_key)
      noise_kyber_calculate(local, remote, local.shared_key)
        # copy already-computed shared secret in local.private_key to shared secret buffer
        memcpy(local.shared_key, local.private_key)
  send(FF)
initiator.recv.FF
  noise_handshake_mix_dh(local, remote, initiator.shared_key)
    noise_dhstate_calculate(local, remote, initiator.shared_key)
      noise_kyber_calculate(local, remote, initiator.shared_key)
        # compute shared secret into local.shared_key, using KEM ciphertext in remote.public_key and my local.private_key
        pqcrystals_kyber768_ref_dec(local.shared_key, remote.public_key, local.private_key)

Quick ping on this.


New Arnold 5.1.0 shaders

Added the following new shaders:

layer_float
layer_rgba
layer_shader
toon

For toon to work properly I also added the new contour filter. While I was there I noticed that the sinc filter was missing so I added that as well.
Two new aovs for the toon shader is also added.
toon is outputting color instead of a closure so it couldn't be added to objects directly with AddShader() so I updated that function to handle non closure shaders as well.

i find it curious (i haven't dug in myself just yet) that the toon shader is returning a color and not a closure.

Both the node reference: https://support.solidangle.com/display/A5NodeRef/Toon and kick -info toon says output is RGB so nothing wrong there.

oh, i don't question whether you're right but rather why that is from the dev/core side.

Fixed the conflict.


Fix vim-test not merged correctly

vim-test place files in autoload/test/{language} folder, these file were ignored by vim-jetpack

Thank you! Now, we merge all files even if it is listed in denylist.
As I added test for your issue, it should work for you as well.
Cheers! 🍻

Oh I see, s:ignores is used to detect duplicated/conflicted files. I had thought that it were for copy operation optimization 😅

At least for Neovim, we uses vim.loop.fs_link and vim.loop.fs_symlink instead of copy files, this is much faster than copy operation. I believe we do not need to take care about the number of copy/ link operation.
If it has terribly performance trouble, I will consider again. Thanks a lot.


[bugfix] show storage info when execute 'show create table' of laket table

What type of PR is this：

[x] bugfix
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

[FE PR Coverage Check]
:disappointed: fail : 1 / 11 (09.09%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
1
11
09.09%
[2053, 2055, 2056, 2057, 2059, 2060, 2061, 2063, 2064, 2065]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 1 / 11 (09.09%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
1
11
09.09%
[2053, 2055, 2056, 2057, 2059, 2060, 2061, 2063, 2064, 2065]

run starrocks_admit_test

run starrocks_admit_test


not quite an auth problem, but related?

Describe the bug
when starting the scraper for the first time it downloads the exe files required, i then paste the cookie details, the script then says something about outputting to console and runs over the previous text and then quits, when i check the log it talks of the auth file not existing... which it does not(i feel like the script was meant to create it from my paste) even if i manually create the file and paste in the json from the cookie helper i get the same crash everytime i run the script
To Reproduce
just ran the program
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots/Logs
[Logs are required for any reports of any issue, unless the issue is related to setup of script
Logs must be at least debug level
pasted below
(https://privatebin.io/?f2a1c78b6760c50c#28ZYwh757w64os8okXxLV35FnD2B6KqkAGbZFEHd43S7)
Config
config:
{
"config": {
"config": {
"main_profile": "main_profile",
"metadata": "{configpath}/{profile}/.data/{model_username}_{model_id}",
"discord": "",
"file_options": {
"save_location": "C:\Users\ssjro\Data\ofscraper",
"dir_format": "{model_username}/{responsetype}/{mediatype}/",
"file_format": "{filename}.{ext}",
"textlength": 0,
"space_replacer": " ",
"date": "MM-DD-YYYY",
"text_type_default": "letter",
"truncation_default": true
},
"download_options": {
"file_size_max": 0,
"file_size_min": 0,
"filter": [
"Images",
"Audios",
"Videos"
],
"auto_resume": true,
"system_free_min": 0,
"max_post_count": 0
},
"binary_options": {
"mp4decrypt": "",
"ffmpeg": ""
},
"cdm_options": {
"private-key": null,
"client-id": null,
"key-mode-default": "cdrm",
"keydb_api": ""
},
"performance_options": {
"download-sem": 6,
"threads": 5
},
"advanced_options": {
"code-execution": false,
"dynamic-mode-default": "deviint",
"backend": "aio",
"downloadbars": false,
"cache-mode": "sqlite",
"appendlog": true,
"custom_values": null,
"sanitize_text": false,
"temp_dir": null,
"remove_hash_match": null,
"infinite_loop_action_mode": false,
"post_download_script": null,
"disable_auto_after": false,
"default_user_list": "main",
"default_black_list": ""
},
"responsetype": {
"timeline": "Posts",
"message": "Messages",
"archived": "Archived",
"paid": "Messages",
"stories": "Stories",
"highlights": "Stories",
"profile": "Profile",
"pinned": "Posts",
"streams": "Streams"
},
"overwrites": {
"audios": {},
"videos": {},
"images": {},
"text": {}
},
"mp4decrypt": "C:\Users\ssjro\.config\ofscraper\bin\mp4decrypt.exe"
},
"ffmpeg": "C:\Users\ssjro\.config\ofscraper\bin\ffmpeg.exe"
},
"ffmpeg": "C:\Users\ssjro\.config\ofscraper\bin\ffmpeg.exe"
}
System Info

win10
firefox chrome and waterfox
ofscraper_windows_a6e7dbd.exe
binary

Additional context
i used the current version like a month ago... ran with no problems everything as expected... tried yesterday to launch and got the errrors... i deleted the .config in my user folder and tried again... i felt like i potentially broke something somewhere, but i went to another pc at home that has never run anything like this before and got the exact same situation

si tienes esa versión reciente:

Dale click al exe para que crea el archivo config.json

cierra el programa

edita el config.json en lo siguiente:

"mp4decrypt"

"ffmpeg"

"key-mode-default"
"manual" > "client-id" y "private-key"
o
"keydb > "keydb_api"

-"dynamic-mode-default": "deviint",
-"custom_values": {
"DEVIINT": "https://raw.githubusercontent.com/datawhores/onlyfans-dynamic-rules/main/dynamicRules.json"
},
4. Vuelve a abrir el programa y ya te aceptara las cookies
4.1 Sino genera otra cookies

sorry im a bit confused... not sure if google translate made mistake
here is my config... i cant see keydb.... it already says keydb_api so i think thats already in there..
i dont know where to find client-id and private-key
is this stuff im supposed to change? the last version i use i didnt touch the config files... it all just ran
and im not sure about the last part... the deviint stuff... do i just paste that at the end?
{
"config": {
"config": {
"main_profile": "main_profile",
"metadata": "{configpath}/{profile}/.data/{model_username}_{model_id}",
"discord": "",
"file_options": {
"save_location": "C:\Users\ssjro\Data\ofscraper",
"dir_format": "{model_username}/{responsetype}/{mediatype}/",
"file_format": "{filename}.{ext}",
"textlength": 0,
"space_replacer": " ",
"date": "MM-DD-YYYY",
"text_type_default": "letter",
"truncation_default": true
},
"download_options": {
"file_size_max": 0,
"file_size_min": 0,
"filter": [
"Images",
"Audios",
"Videos"
],
"auto_resume": true,
"system_free_min": 0,
"max_post_count": 0
},
"binary_options": {
"mp4decrypt": "",
"ffmpeg": ""
},
"cdm_options": {
"private-key": null,
"client-id": null,
"key-mode-default": "cdrm",
"keydb_api": ""
},
"performance_options": {
"download-sem": 6,
"threads": 5
},
"advanced_options": {
"code-execution": false,
"dynamic-mode-default": "deviint",
"backend": "aio",
"downloadbars": false,
"cache-mode": "sqlite",
"appendlog": true,
"custom_values": null,
"sanitize_text": false,
"temp_dir": null,
"remove_hash_match": null,
"infinite_loop_action_mode": false,
"post_download_script": null,
"disable_auto_after": false,
"default_user_list": "main",
"default_black_list": ""
},
"responsetype": {
"timeline": "Posts",
"message": "Messages",
"archived": "Archived",
"paid": "Messages",
"stories": "Stories",
"highlights": "Stories",
"profile": "Profile",
"pinned": "Posts",
"streams": "Streams"
},
"overwrites": {
"audios": {},
"videos": {},
"images": {},
"text": {}
},
"mp4decrypt": "C:\Users\ssjro\.config\ofscraper\bin\mp4decrypt.exe"
},
"ffmpeg": "C:\Users\ssjro\.config\ofscraper\bin\ffmpeg.exe"
},
"ffmpeg": "C:\Users\ssjro\.config\ofscraper\bin\ffmpeg.exe"
}

or did you mean i just replace my config file so it only contains
"mp4decrypt"

"ffmpeg"

"key-mode-default"
"manual" > "client-id" y "private-key"
o
"keydb > "keydb_api"

-"dynamic-mode-default": "deviint",
-"custom_values": {
"DEVIINT": "https://raw.githubusercontent.com/datawhores/onlyfans-dynamic-rules/main/dynamicRules.json"
},

https://www.youtube.com/watch?v=DsPj6njhflM i have uploaded a video of how i have been trying to run it, i notice after i put the cookie info it does not create auth.json... still fails when i manually create it

Hi ssjrocks,
I was able to get mine to work after checking out the main page, but basically this is what I did. (Also I'm also a newbie when it comes to coding and I prefer the .exe and only having to change a few things)
For your config.json file Ctrl+F and find where it custom_values is located and copy and paste the following
"custom_values": {
"DEVIINT": "https://raw.githubusercontent.com/datawhores/onlyfans-dynamic-rules/new/dynamicRules.json"
},

For the Marcus Cookie info you pasted in your video, your email and password was blank " " and I'm not sure if you use 2fa but for I don't on my account so I changed it from true to false.

Hopefully this makes sense and helps!

cheers for helping, i havent got the username and password filled in because i dont know what the password would be, i created my account with google...i added the line to the config you mentioned but still get the prob.... im wondering if something changed? because i dont remember filling out the email and pass last time i used this program

Oh, no the username and password for those fields are what you used for
only fans since it'll log in to your account to pull up what you can
download from your subscriptions.
On Sat, Jun 15, 2024, 1:57 AM ssjrocks @.***> wrote:

cheers for helping, i havent got the username and password filled in
because i dont know what the password would be, i created my account with
google...i added the line to the config you mentioned but still get the
prob.... im wondering if something changed? because i dont remember filling
out the email and pass last time i used this program
—
Reply to this email directly, view it on GitHub
https://github.com/datawhores/OF-Scraper/issues/420#issuecomment-2169224892,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJHAPY35CB5APZ36RSCR5HDZHP6XJAVCNFSM6AAAAABJLIENIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRZGIZDIOBZGI
.
You are receiving this because you commented.Message ID:
@.***>

Oh boy, my reply looks messy when I reply via email lol.

cheers for helping, i havent got the username and password filled in because i dont know what the password would be, i created my account with google...i added the line to the config you mentioned but still get the prob.... im wondering if something changed? because i dont remember filling out the email and pass last time i used this program

The account you created with Google is for GitHub, for you can comment. (I'm assuming...if you made that account on here)
The one you copy and paste into the ofscraper.exe when you use the cookie info is your onlyfans login info that you use to log onto the onlyfans website.

yeah, what i meant was he asked why my username and pass was not filled out, i had used my google account on onlyfans to signup, now i login to of with google... hence i have no password... nor did i have a password when i last used the app successfully... i thought the cookie info was enough... its all good anyway, im using https://github.com/sim0n00ps/OF-DL now and it works great right outta the box

or did you mean i just replace my config file so it only contains

you open the exe, so that it creates the config.json
When it asks for cookies, close it
You edit the config.json,
To make it work just edit the following:

You put the routes to "mp4decrypt" and "ffmpeg"
In "key-mode-default" you put "manual" and the routes for "client-id" and "private-key"
or "keydb" and in "keydb_api" the api of https://keysdb.net/me
In "dynamic-mode-default" you put "deviint"
In "custom_values" you put: "DEVIINT": "https://raw.githubusercontent.com/datawhores/onlyfans-dynamic-rules/main/dynamicRules.json"

save the changes
You open the program, and when you download it will ask you for cookies
Paste the cookies with "cookies helper", and pageDown + Enter
Click on "yes" and that's it
All other options are more for customization


Box regression deltas become infinite or NaN

`[05/05 09:41:28 d2.engine.train_loop]: Starting training from iteration 0
[05/05 09:41:47 d2.utils.events]: eta: 4:25:15  iter: 19  total_loss: 1.521  loss_cls: 0.634  loss_box_reg: 0.112  loss_rpn_cls: 0.673  loss_rpn_loc: 0.145  time: 0.9152  data_time: 0.0076  lr: 0.000954  max_mem: 4685M size_of_ImageStore: N/A
[05/05 09:42:05 d2.utils.events]: eta: 4:28:50  iter: 39  total_loss: 0.875  loss_cls: 0.216  loss_box_reg: 0.119  loss_rpn_cls: 0.398  loss_rpn_loc: 0.139  time: 0.9152  data_time: 0.0133  lr: 0.001953  max_mem: 4685M size_of_ImageStore: N/A
[05/05 09:42:24 d2.utils.events]: eta: 4:30:12  iter: 59  total_loss: 0.744  loss_cls: 0.173  loss_box_reg: 0.110  loss_rpn_cls: 0.278  loss_rpn_loc: 0.170  time: 0.9189  data_time: 0.0046  lr: 0.002952  max_mem: 4685M size_of_ImageStore: N/A
[05/05 09:42:37 d2.engine.hooks]: Overall training speed: 72 iterations in 0:01:06 (0.9225 s / it)
[05/05 09:42:37 d2.engine.hooks]: Total training time: 0:01:07 (0:00:00 on hooks)
Traceback (most recent call last):
File "tools/train_net.py", line 162, in
args=(args,),
File "/data/yu/code/iOD/detectron2/engine/launch.py", line 49, in launch
daemon=False,
File "/root/anaconda3/envs/iOD/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 171, in spawn
while not spawn_context.join():
File "/root/anaconda3/envs/iOD/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 118, in join
raise Exception(msg)
Exception:
-- Process 3 terminated with the following error:
Traceback (most recent call last):
File "/root/anaconda3/envs/iOD/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
fn(i, *args)
File "/data/yu/code/iOD/detectron2/engine/launch.py", line 84, in _distributed_worker
main_func(*args)
File "/data/yu/code/iOD/tools/train_net.py", line 150, in main
return trainer.train()
File "/data/yu/code/iOD/detectron2/engine/defaults.py", line 406, in train
super().train(self.start_iter, self.max_iter)
File "/data/yu/code/iOD/detectron2/engine/train_loop.py", line 152, in train
self.run_step()
File "/data/yu/code/iOD/detectron2/engine/train_loop.py", line 281, in run_step
loss_dict = self.model(data)
File "/root/anaconda3/envs/iOD/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/root/anaconda3/envs/iOD/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 447, in forward
output = self.module(*inputs[0], **kwargs[0])
File "/root/anaconda3/envs/iOD/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/data/yu/code/iOD/detectron2/modeling/meta_arch/rcnn.py", line 179, in forward
proposals, proposal_losses = self.proposal_generator(images, features, gt_instances)
File "/root/anaconda3/envs/iOD/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/data/yu/code/iOD/detectron2/modeling/proposal_generator/rpn.py", line 201, in forward
outputs.predict_proposals(),
File "/data/yu/code/iOD/detectron2/modeling/proposal_generator/rpn_outputs.py", line 422, in predict_proposals
pred_anchor_deltas_i, anchors_i.tensor
File "/data/yu/code/iOD/detectron2/modeling/box_regression.py", line 79, in apply_deltas
assert torch.isfinite(deltas).all().item(), "Box regression deltas become infinite or NaN!"
AssertionError: Box regression deltas become infinite or NaN!`

How many GPUs are you using? I wonder whether the inconsistency in training is due to that. Kindly reopen if the issue persists.


🚀 Feature: Support for MINIO Object Storage

🔖 Feature description
MinIO offers high-performance, S3 compatible object storage.
Native to Kubernetes, MinIO is the only object storage suite available on
every public cloud, every Kubernetes distribution, the private cloud and the
edge. MinIO is software-defined and is 100% open source under GNU AGPL v3.
https://min.io/
🎤 Pitch
Minio is a great candidate to add to the growing library of storage adapters
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Gents,
To be honest, all the S3 drivers could have been made aliases of the parent class S3 by simply having the service URL as a parameter instead of hardcoding the URL into the code. The latter always being a bad idea to start with?  The $bucket is never used again but to insert it into the hardcoded URL. It may in fact not even be required to have as parameter with some services if the bucket name is not part of the hostname or path or where a S3 service has either just one bucket or a completely different bespoke URL for each bucket? And so, if you had the URL as parameter, the bucket is superfluous in the constructor parameters?
There are thousands of S3 API compatible services online today, makes no sense to code a driver for each of them, when the only difference between them all is the initial URL. It makes complete sense to code a single driver for all of them. Making the URL a constructor parameter, would have solved @groschi24 immediate problem to add MinIO support to appwrite. As it is, appwrite can also current only consume a single bucket per appwrite instance & config restrictions. Would also have solved the SSL/problem, and would make the S3 driver class simply what the name implies, an S3 API compatible driver, instead of what it now is, that is, an Amazon service specific driver.  That is, a driver coded to a standard instead of coded to a specific vendor.
I humbly request to reconsider the current architecture path of the S3 driver, if at all possible.

Gents,
From the initial request appwrite/appwrite#3989 (comment)
To be honest, all the S3 drivers could have been made aliases of the parent class S3 by simply having the service URL as a parameter instead of hardcoding the URL into the code. The latter always being a bad idea to start with? The $bucket is never used again but to insert it into the hardcoded URL. It may in fact not even be required to have as parameter with some services if the bucket name is not part of the hostname or path or where a S3 service has either just one bucket or a completely different bespoke URL for each bucket? And so, if you had the URL as parameter, the bucket is superfluous in the constructor parameters?
There are thousands of S3 API compatible services online today, makes no sense to code a driver for each of them, when the only difference between them all is the initial URL. It makes complete sense to code a single driver for all of them. Making the URL a constructor parameter, would have solved @christyjacob4 's immediate problem to add MinIO support to appwrite. As it is, appwrite can also currently only consume a single bucket per appwrite instance & config restrictions. Would also have solved the SSL/problem, and would make the S3 driver class simply what the name implies, an S3 API compatible driver, instead of what it now is, that is, an Amazon service specific driver. That is, a driver coded to a standard instead of coded to a specific vendor.
A humble request to reconsider the current architecture path of the S3 driver, if at all possible.

Check out #106

please, can be generate a new version using main codebase?
The latest merged don't generated tag version, with the resolution.
@lohanidamodar can help us ❤ ?

please, can be generate a new version using the main codebase? The latest merged don't generated tag version, with the resolution.
@lohanidamodar can help us ❤ ?

As said above, please check out: https://github.com/utopia-php/storage/pull/106.
This PR is not needed anymore.

Hi @docimin.
This project has a commit on main branch to use generic host for S3, but does't trigged a release version.
Latest commit:  9c89ea2759175c36f75e4688bd155022ccb1e368
latest version release commit: (version 0.18.4) 94ab8758fabcefee5c5fa723616e45719833f922


Fix failing smoke tests for VMware

Please review and check if we've valid regressions on master, we're seeing new intermittent test failures:
test_07_reboot_ssvm | Failure | 25.34 | test_ssvm.py
test_11_migrate_vm | Error | 73.73 | test_vm_life_cycle.py
Seen in:
https://github.com/apache/cloudstack/pull/4131
https://github.com/apache/cloudstack/pull/4248#issuecomment-672502101

With @Pearl1594 cc @Spaceman1984

@rhtyd I'll take a look

Seems like an environment issue for test_vm_life_cycle.py.
MigrationCommand failed due to Exception: java.lang.RuntimeException\\nMessage: The target host does not support the virtual machine\'s current hardware requirements.
@rhtyd Should I proceed with manual testing?

@Spaceman1984 good idea, I think you can setup a Vmware 6.5 or 6.7 env with two host and try to excute the two failing tests manually (manually execute marvin tests or manually perform the migrate VM and reboot SSVM operations). Please also check if  the ESXi hosts are on two different underlying hosts with different processors (i.e. one on Intel and another on AMD which could be an issue).

I have tested manually
Intel to AMD = Fail
Intel to Intel = Pass
Definitely an env issue.

Thanks @Spaceman1984 verified. The same issue is causing xenserver-71 deployment/test issues.

@Spaceman1984 @Pearl1594
reboot_ssvm fails with error that NFS storage is not mounted
enableHumanReadableLogs fails due to config. mismatch could be timeout/run related

enableHumanReadableLogs fails due to config. mismatch could be timeout/run related
Possibly, the test waits 1 minute for a capacity log, not sure if the same happens with vmware, I have to test.

Closing both issues env related, handled.


GrandMA3 Feedback

Just getting into using this module in my companion instance and I was curious if there were ever plans to add feedback from MA or if that is even possible with OSC.

Hey @ethanmatthews ✌🏼
MA does not natively support feedback for OSC. You'd have to write a plugin that sends every X seconds feedback via the OSC interface of the MA, that then could be received by this companion module. If u have LUA experience, you could do it yourself. It is possible that I will provide such an plugin, but not im nest future.


ENH: use Datafit class

I guess we should maintain Xw and not R (for logreg for example). It may require storing Xj @ y in the datafit class to avoid recomputing it at every gradient step, but I am not sure how to handle it for CV or more generally when new X and y's are passed

I don't know how much more costly it is to do Xj @ (y - Xw) than Xj @ R

I would bet on an additional O(n) per update of coordinate descent.
IMO the 2 questions become:

how much do we loose with Xj @ (y - Xw) instead of Xj @ R
is it possible to keep X_j R for quadratic datafit, and Xw for other with too much code duplication

Codecov Report

Merging #29 (8f7ecc3) into master (b8ce7d3) will increase coverage by 7.69%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   56.19%   63.88%   +7.69%
==========================================
  Files          12       11       -1
  Lines        1098      623     -475
  Branches      242      101     -141
==========================================
- Hits          617      398     -219
+ Misses        406      194     -212
+ Partials       75       31      -44

Impacted Files
Coverage Δ

andersoncd/tests/test_docstring_parameters.py
73.91% <ø> (-0.73%)
:arrow_down:

andersoncd/penalties.py
40.17% <40.17%> (ø)

andersoncd/datafits.py
64.70% <64.70%> (ø)

andersoncd/solver.py
68.90% <68.90%> (ø)

andersoncd/data/synthetic.py
72.41% <69.23%> (-18.50%)
:arrow_down:

andersoncd/__init__.py
100.00% <100.00%> (ø)

andersoncd/data/__init__.py
100.00% <100.00%> (ø)

andersoncd/estimators.py
100.00% <100.00%> (ø)

andersoncd/tests/test_estimators.py
100.00% <100.00%> (ø)

andersoncd/utils.py
28.76% <0.00%> (-4.11%)
:arrow_down:

... and 7 more

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 029037c...8f7ecc3. Read the comment docs.

WDYT of doing it properly and putting the n_samples in the lipschitz constant, in the gradient, etc ? IMO this will be easier for external contributors, and may solve ussome headaches without being more costly

seems better than what we currently have indeed.
I propose to do it in an other PR


Add OpenstreetMap

This app had Google Maps in the past. Is it an option to add OpenstreetMap as an replacement? Could work with offline maps as well.

Yes, you are right - Google Maps was included in MyTracks.
However, I am (at the moment) not a big fan of introducing a map into OpenTracks.
Besides adding technical complexity (and there is still a big amount of legacy left), it usually requires Internet access.
What functionality do you need: showing a map while recording or showing the track on a map afterwards?
For now, OpenTracks can send tracks to ask apps to show the data (KML/KMZ via ACTION_VIEW).
This works well with OsmAnd~ (shows even some diagrams) and also MapsME (sadly, also imports the track).
Only issue with OsmAnd~ is (at the moment) that the loading process cannot be aborted (see https://github.com/osmandapp/Osmand/issues/7967) and it is rather slow.
This also works while recording, although the track is not updated in the app that is showing it.
This functionality is available via the menu (small map icon):

Anyhow, if you have time and know an awesome solution, I am happy to integrate it.

My main usecase is to look at the track on the map afterwards. Up to know I opened the track with Locus Map and it always wanted to import the track in some of its folders. That was a bit cumbersome. With OsmAnd it's easier and faster. Thanks for this suggestion.
I understand that this feature is not necessarily one of your goals and it adds complexity. I would treat it as a nice to have comfort feature.
For another app I introduced openstreetmap via mapsforge API. There you can choose between online maps (which requires mobile data) or offline maps (which requires some configuration steps to be done by the user).

I just slept a night over your request.
What do you think about adding this as a plugin (like https://github.com/siacs/ShareLocationPlugin).
This has the advantage that the main application does not need android.permission.INTERNET.
This way every user can decide what is actually required...
I don't know if this is technically possible, but it would be great to (re-)add this as a tab in the TrackDetailActivity.
However, I have no clue (at the moment) how to actually implement this.

I've seen App Features extracted as separate plugins, but never developed one myself.
Maybe I find some time to look into it. That looks like an interesting approach.

Up to know I could only find out how to check if a PlugInApp is installed (via PackageManager) and call one of its Activities via Intents. But I couldn't find a way to use Fragments with their own layouts from another App. I doubt that this is possible.

Calling an activity would be possible - it could just show the map as well as the statistics dashboard. One practical issue would be the connectivity to the TrackRecordingService / Database to get live updates about the state of the track (while recording).

One practical issue would be the connectivity to the TrackRecordingService / Database to get live updates about the state of the track (while recording).

I did a small proof of concept and started another activity with the content URI of the trackpoints table. The CustomContentProvider already offers this functionality. I was able to receive updates while the TrackRecordingService was running.

Nice!
One option would be to provide the functionality of the TrackDetailActivity  as a plugin. Then the user could select which one to use (i.e., default vs one with a map).
That would also allow to provide different layouts of the stats page / charts etc.

That could also be a solution. But then I guess common functionality   should be extracted into a library project. Otherwise there will be lots of  duplicate code.

That's for sure!
@pstorch Did you have a specific architecture in mind?
And did you need to export the TrackRecordingService or something else?
And could you share your code?

@pstorch Did you have a specific architecture in mind?

No, I haven't worked with library projects yet.

And did you need to export the TrackRecordingService or something else?
And could you share your code?

The PoC is already shared:

https://github.com/pstorch/OpenTracksOSMPlugIn
https://github.com/pstorch/OpenTracks/tree/79_osm_plugin I hijacked the "Show on Map" function for the time being

@pstorch I just looked into the code and it looks good.
A very cool solution to use a ContentObserver - that is quite beautiful.
So going with a separate activity works!
Only one thing would need to be improved: hardcoding the activity's name would be rather difficult.
Could we move to implicit intent (e.g., defining a custom action like ACTION_OPENTRACKS_SHOW_MAP [just made up])?

FWIW, the current map button does a great job of displaying the workout in OsmAnd.

Only one thing would need to be improved: hardcoding the activity's name would be rather difficult.
Could we move to implicit intent (e.g., defining a custom action like ACTION_OPENTRACKS_SHOW_MAP [just made up])?

The hard coded package name was only used to hijack the map button. The actual connection is done via the mimeType vnd.android.cursor.dir/vnd.de.dennisguse.trackpoint when starting the intent.
But I found another way: we can actually prepare the Action View Intent and check if an app is installed which can handle the intent. Of course the calling of this activity can be placed somewhere else.

There is a first version of a map implementation which shows the track.

Functionality was integrated into OpenTracks.
A first draft for the map dashboard is also worked upon: https://github.com/OpenTracksApp/OSMDashboard


add shadcn select item, replace i18nDropdown and onChain select

Used the manual installation in https://ui.shadcn.com/docs/installation/manual
Replaced i18nDropdown and the fee selector in sendOnChain
Before:

After:

Will do nextUI instead as discussed with @escapedcat


project header view

Description
Concise description of proposed changes, We recommend using screenshots and videos for better description
Additional Information

[ ] I have read the contributing docs (if this is your first contribution)
[ ] This is not a duplicate of any existing pull request

Related Issues
Closes #{issue number}
Note: If your changes are small and straightforward, you may skip the creation of an issue beforehand and remove this section. However, for medium-to-large changes, it is recommended to have an open issue for discussion and approval prior to submitting a pull request.
Your ENS/address:

Run yarn next:lint --max-warnings=0
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
./pages/project.tsx
3:3  Error: 'ArrowTopRightOnSquareIcon' is defined but never used.  @typescript-eslint/no-unused-vars
4:3  Error: 'ArrowUturnRightIcon' is defined but never used.  @typescript-eslint/no-unused-vars
5:3  Error: 'DocumentIcon' is defined but never used.  @typescript-eslint/no-unused-vars
6:3  Error: 'EllipsisHorizontalIcon' is defined but never used.  @typescript-eslint/no-unused-vars
7:3  Error: 'FlagIcon' is defined but never used.  @typescript-eslint/no-unused-vars
8:16  Error: 'HeartFilledIcon' is defined but never used.  @typescript-eslint/no-unused-vars
10:10  Warning: Replace HeartIcon·}·from·"@heroicons/react/24/outline with AdjustmentsHorizontalIcon,·SquaresPlusIcon·}·from·"@heroicons/react/20/solid  prettier/prettier
10:10  Error: 'HeartIcon' is defined but never used.  @typescript-eslint/no-unused-vars
11:8  Warning: Replace ProjectList·from·"~~/components/op/projects/ProjectList";⏎import·{·Address·}·from·"~~/components/scaffold-eth with {·HeartIcon·}·from·"@heroicons/react/24/outline  prettier/prettier
11:8  Error: 'ProjectList' is defined but never used.  @typescript-eslint/no-unused-vars
12:10  Error: 'Address' is defined but never used.  @typescript-eslint/no-unused-vars
14:8  Warning: Replace {·AdjustmentsHorizontalIcon,·SquaresPlusIcon·}·from·"@heroicons/react/20/solid";⏎ with ProjectList·from·"~~/components/op/projects/ProjectList";⏎import·{·Address·}·from·"~~/components/scaffold-eth";  prettier/prettier
14:10  Error: 'AdjustmentsHorizontalIcon' is defined but never used.  @typescript-eslint/no-unused-vars
18:10  Error: 'likedModal' is assigned a value but never used.  @typescript-eslint/no-unused-vars
18:22  Error: 'setLikedModal' is assigned a value but never used.  @typescript-eslint/no-unused-vars
19:10  Error: 'isLiked' is assigned a value but never used.  @typescript-eslint/no-unused-vars
19:19  Error: 'setIsLiked' is assigned a value but never used.  @typescript-eslint/no-unused-vars
21:1  Warning: Insert ····  prettier/prettier
22:1  Warning: Insert ····  prettier/prettier
22:3  Warning: Using <img> could result in slower LCP and higher bandwidth. Consider using <Image /> from next/image to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
24:3  Warning: Insert ····  prettier/prettier
25:1  Warning: Insert ····  prettier/prettier
25:5  Warning: Using <img> could result in slower LCP and higher bandwidth. Consider using <Image /> from next/image to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
26:3  Warning: Insert ····  prettier/prettier
28:1  Warning: Insert ····  prettier/prettier
29:5  Warning: Replace <h1·className="font-bold·pt-[20](https://github.com/scaffold-eth/OP-RetroPGF3-Discovery-Voting/actions/runs/5723912438/job/15569738288#step:6:21)·pl-20">⏎······Orbiter·Finance⏎···· with ····<h1·className="font-bold·pt-20·pl-20">Orbiter·Finance  prettier/prettier
33:1  Warning: Replace ···· with ········  prettier/prettier
34:1  Warning: Replace ⏎ with ····  prettier/prettier
36:9  Warning: Insert ····  prettier/prettier
37:1  Warning: Replace ······ with ··········  prettier/prettier
39:1  Warning: Insert ····  prettier/prettier
40:1  Warning: Insert ····  prettier/prettier
40:9  Warning: Using <img> could result in slower LCP and higher bandwidth. Consider using <Image /> from next/image to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
41:1  Warning: Replace ······ with ··········  prettier/prettier
43:1  Warning: Insert ····  prettier/prettier
44:1  Warning: Insert ····  prettier/prettier
44:9  Warning: Using <img> could result in slower LCP and higher bandwidth. Consider using <Image /> from next/image to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
45:1  Warning: Replace ······ with ··········  prettier/prettier
47:1  Warning: Insert ····  prettier/prettier
48:1  Warning: Insert ····  prettier/prettier
48:9  Warning: Using <img> could result in slower LCP and higher bandwidth. Consider using <Image /> from next/image to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
49:1  Warning: Replace ······ with ··········  prettier/prettier
51:1  Warning: Insert ····  prettier/prettier
52:1  Warning: Replace ········ with ············  prettier/prettier
53:1  Warning: Insert ····  prettier/prettier
54:7  Warning: Insert ····  prettier/prettier
55:1  Warning: Insert ····  prettier/prettier
56:7  Warning: Insert ····  prettier/prettier
57:1  Warning: Replace ⏎ with ····  prettier/prettier
59:3  Warning: Insert ····  prettier/prettier
60:1  Warning: Replace </div>⏎⏎⏎⏎⏎⏎⏎⏎····⏎ with ····</div>  prettier/prettier
info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
Error: Process completed with exit code 1.

@CMD10M Thanks for your hard work. Here is a PR by @electrone901 that covers this segment. You can glance at it to get some ideas about how someone more familiar with this code would go about doing some of the stuff you worked at. https://github.com/scaffold-eth/OP-RetroPGF3-Discovery-Voting/pull/25


Add a DSL in order to ease view model creation

Description
This provides a DSL in order to create common VM components, we can use it as follows:
text("My label")
localImage(ImageResource.MY_IMAGE)
buttonWithText("My button") {}

Instead of:
VMDComponents.Text.withContent("My label", cancellableManager)
VMDComponents.Image.local(ImageResource.MY_IMAGE, cancellableManager)
VMDComponents.Button.withText("My button", cancellableManager)

Motivation and Context
Most of the time when creating view models we are already inside a VMDViewModelImpl context, so we should be able to create components view models easily without passing the cancellableManager  / coroutineScope everywhere. Using an interface we can easily extend the DSL with custom definitions inside each projects if needed. Also if we are in the context of a "content" class or anything other than a view model we just need to implement the interface in order to be able to use the DSL.
How Has This Been Tested?
This has been tested locally in other projects
Types of changes

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

@marcantoinefortier this surely can be done, on it!

I think we're missing the newest picker component here! But overall looks clean


main module field that could not be resolved

I'm getting an error that reads:
"While trying to resolve module react-navigation-material-bottom-tabs from file /.../Nav.js, the package /.../node_modules/react-navigation-material-bottom-tabs/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (/.../node_modules/react-navigation-material-bottom-tabs/src/index.js. Indeed, none of these files exist:"
when using Expo and versions:
react-navigation": "^4.0.2",
react-navigation-material-bottom-tabs": "^2.0.0",
very frustrating.  I was able to downgrade to 3.11.1 and 1.0.0 to fix the problem. Any idea why this is happening? I seems to be looking for index.js and there is only an index.tsx

Please update to latest version


Fix race condition in Query Listener Test

Synchronize when get and set the listener token in QueryTest class.

Yes, that is what users will need to do now too. I tried to synchronize from CBL-C, but in the end, there will always be a race on the user's code side. One way to help with this problem (which I plan to propose for the change) is to add the token to the callback's parameter as well so the token will be ensured to be there to use to get the result.

I have added token to the CBLQueryChangeListener.


WIP: updating time examples to use doubles / ints.

See Discussion: https://github.com/orgs/cf-convention/discussions/383
I think the consensus on that discussion was to:
[x] Change the float time examples to double
and
[x] Change some of the double examples to an  integer type.
I've done the first one -- more to follow.
Release checklist

[ ] Authors updated in cf-conventions.adoc? Add in two places: on line 3 and under .Additional Authors in About the authors.
[ ] Next version in cf-conventions.adoc up to date? Versioning inspired by SemVer.
[ ] history.adoc up to date?
[x] Conformance document up to date? (no impact)

For maintainers
After the merge remember to delete the source branch.
Tags are set at the conclusion of the annual meeting; until then, main always is a draft for the next version.

OK -- I've now changed all float times to double.
And I changed a number of the other examples to integer types. I tried to pick types, and units,  that are appropriate to the data.
It's all pretty arbitrary,  but I think it's better that there be a variety of examples.
Feedback welcome if you have any better ideas on what units should be used in any particular case.

Needs more discussion.


Markdown Rendering raises syntax error

The feature is not implemented yet, but it's on the roadmap.

The feature has been implemented. There's an issue with forking though, so I'll keep this issue open for now.


chore(bootstrap): manual bootstrap + version updates + fixes

What this PR does / why we need it:  automatic bootstrap/version update PRs fail - this one combines all the latest reactor goodies into one, with linter warning fixes.

JIRA ID: [DTSS-00]

Notes for your reviewer:

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


Deck landing page

re: https://github.com/Kong/developer.konghq.com/pull/41
https://deploy-preview-44--kongdeveloper.netlify.app/deck_landing/

Merging to get x_with_y in to main and provide an example for the new tabs block to be added as a separate PR


[Crash] transitive URL installs from localhost are erroneously interpreted as local paths

Using uv version 0.1.33.
First of all let me jump to the root cause. This line:
https://github.com/astral-sh/uv/blob/25deddd3bf04c28a07180e8d73a5da1320425747/crates/uv-installer/src/site_packages.rs#L401
treats URL dependencies on localhost as a local path. (See the special case for it described here.) Under some circumstances this causes a crash, as the local path provided does not actually exist.

On to the more specific details.
I have a library foo with a dependency of the form bar @ http://localhost:8000/bar-0.0.1-py3-none-any.whl. The first time I run uv pip install "foo @ http://localhost:8000/foo-0.0.1-py3-none-any.whl", then things work as normal. The second time I run this command (which should be idempotent), then when it tries to validate the library:
https://github.com/astral-sh/uv/blob/25deddd3bf04c28a07180e8d73a5da1320425747/crates/uv/src/commands/pip_install.rs#L164
it will crash with
error: failed to query metadata of file `/bar-0.0.1-py3-none-any.whl`
  Caused by: No such file or directory (os error 2)

I've not tracked through the details too closely, but it looks like specifically the transitive dependency is needed to trigger this.
For context, I am trying to use the URL dependency on localhost as an escape hatch to work around #3121. (Spinning up a quick local server that packages up a git repository appropriately, and then spits back a wheel file.)
Let me know if you need any more details!

Thanks, that does seem unintended.

Assigning to myself.

Wonderful stuff! I've checked and version 0.1.34 works on my full use-case as well.
Thank you for such a quick fix.

Awesome, thank you for following up.


Track Screen Resolution

I do not know if that could be a unimportant task right now, but the major gripe I have right now with the project is that it does not track screen resolution, which is helpful in optimizing the size based on the audience.
Any change we get this implemented into the project?

FWIW: The tracking code already sends this in its collect request to umami, it may already be stored in the DB, just not exposed in the UI.
https://github.com/mikecao/umami/blob/master/tracker/index.js#L6
https://github.com/mikecao/umami/blob/master/tracker/index.js#L68

I was able to show the explicit screen sizes on the WebsiteDetails page, though for my needs, that level of granularity isn't needed as the "device type" metric is good enough

@nickradford is right, the screen data is stored in the database in case you ever want to query it, but it's not exposed in the UI. The reason being there is a lot of logic that goes into calculating device types that info is much more valuable.

Thanks @nickradford for your solution. I have added also screen sizes to my UI. If anyone wants to add it, follow these steps:
metric.js
Add screen to line 5:
const sessionColumns = ['browser', 'os', 'device', 'country', 'screen', 'language'];

WebsiteDetails.js
Add import code import ScreenTable from 'components/metrics/ScreenTable';
And, update the lines beetween 132 and 140 (Note: Search ReferrersTable and add ScreenTable. Also, I have change responsive structure on the below code).
          <GridRow>
            <GridColumn md={12} lg={4}>
              <PagesTable {...tableProps} />
            </GridColumn>
            <GridColumn md={12} lg={4}>
              <ReferrersTable {...tableProps} />
            </GridColumn>
            <GridColumn md={12} lg={4}>
              <ScreenTable {...tableProps} />
            </GridColumn>
          </GridRow>


iOS build failed when use yandex-mapkit-kmp-compose:0.0.2

The error is reproduced on the sample project, when use implementation("ru.sulgik.mapkit:yandex-mapkit-kmp-compose:0.0.2")
error: org.jetbrains.kotlin.backend.konan.llvm.NativeCodeGeneratorException: Exception during generating code for following declaration:
Inside: FILE fqName:ru.sulgik.mapkit.sample fileName:/Users/evgeniypavlov/ProjectsFolder/yandex-mapkit-kmp-main 2/sample/composeApp/src/commonMain/kotlin/ru/sulgik/mapkit/sample/Map.kt
@Composable
private fun MapScreen$lambda$8($mapController: YandexMapController, /* var */ $composer: Composer?, $changed: Int) {
var $composer: Composer? = $composer
when {
when {
areEqualByValue(first = $changed.and(other = 11).reinterpret<Int, Int>(), second = 2.reinterpret<Int, Int>()).not() -> true
true -> $composer.().not()
} -> { // BLOCK
MapActions(mapController = $mapController, modifier = <get-$companion>().fillMaxWidth$default(fraction = // COMPOSITE {
0.0F.reinterpret<Float, Float>()
// }, $mask0 = 1), $composer = $composer, $changed = 48.or(other = #ru_sulgik_mapkit_compose_YandexMapController$stable), $default = 0)
}
true -> $composer.skipToGroupEnd()
}
return theUnitInstance()
}

Thanks, for your report. I reproduced this bug and find the solution. This is not a bug in my library, it's Kotlin 2.0 bug. You can track it here https://youtrack.jetbrains.com/issue/CMP-4809.
Now, you can fix it by adding the following lines to your gradle.properties file:
kotlin.native.cacheKind=none
compose.kotlin.native.manageCacheKind=false

I would keep your issue until this bug will not be fixed by stable Kotlin version or finding another way to fix this bug.


Non-OSS licensed vstest binary in the VMR

Upon updating scancode to 32.1.0, a vstest binary was detected as being under a non-OSS license:
  {
      "path": "test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinX86.exe",
      "detected_license_expression": "proprietary-license"
    }

https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/rules/proprietary-license_975.RULE
This binary should be removed from the VMR. The allowed-vmr-binaries should also potentially be updated.

No idea why it think it's a proprietary license. It's only meant to scan text files so who knows what it's finding in a binary file. But yeah, all of the files in this directory are binary: https://github.com/dotnet/dotnet/tree/main/src/vstest/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets. Note too the files with no file extension are also binaries. Are those being detected by the binary scanner?

Are those being detected by the binary scanner?

Yes, the binaries in that directory are detected by the binary scanner, but they are currently allowed in the VMR under https://github.com/dotnet/dotnet/blob/f7296fb63b584e0e7a5cac463daac7183c9d8d9e/eng/allowed-vmr-binaries.txt#L124-L125.

It's only meant to scan text files

Since we're now allowing binaries into the VMR, should we scan binary files for non-OSS licenses? I was under the impression that the scanner scanned binary and text files.
The permissible sources documentation describes that non-OSS licensed binaries are not allowed in the VMR: https://github.com/dotnet/dotnet/blob/f7296fb63b584e0e7a5cac463daac7183c9d8d9e/src/arcade/Documentation/UnifiedBuild/VMR-Permissible-Sources.md?plain=1#L85

Looking at the scanner, I see that certain binary extensions are not being excluded (exe, dll, etc).

That's because at the time this was authored, there were no such binary files in the VMR.

Since we're now allowing binaries into the VMR, should we scan all binary files for non-OSS licenses? I was under the impression that the license scanner scans binary and text files.

While the tool does say it supports scanning binary files, I can't see how that provides any accurate information regarding the license of such a file. In other words, a binary file can potentially have a license without containing any mention of that license in the file itself. I'm guessing they're just running the equivalent of strings on the file and scanning that content. That being said, we may as well scan them as long as they're scannable.


DNMY: lazy constraints

Stab at implementing lazy constraints from JuMP
cc @chriscoey

Potential design for optionally loading JuMP-specific functionality.
Aside from a few magic sauce lines, we're almost back to the JuMP 0.18 syntax for lazy constraints.

Okay, see updated structure. I propose that the top part of GurobiExtensions.jl (which is identical to GLPKExtensions.jl) be added to JuMP.


Merge pull request #48 from loopmediagroup/dev

Dev

Pull Request Test Coverage Report for Build 137

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.732%

Totals

Change from base Build 136:
0.0%

Covered Lines:
186

Relevant Lines:
205

💛  - Coveralls


Auto run animation when activity start

I have a Button like this, at the start of activity I want to have all run popup animation, but I cannot find anyway to achieve this.
< carbon.widget.Button
android:id="@+id/new_task_enter_number"
style="@style/contact_select_btn"
android:text="{fa-plus} Enter"
app:carbon_inAnimation="pop"
app:carbon_outAnimation="pop"/>
I have tried set view to Button "gone" (in both code and xml) and change to "visible" in code but no luck. Thanks in advance.

Could you please elaborate? The button is visible, but not animating, right? Did you try to launch the animation later in the app, for example in an OnClickListener? What device and Android version are you using?
My guess is that the Activity creation process is taking too long and the animation goes unnoticed. You can try launching the animation in onResume or even later.
i will try to reproduce your case as soon as possible.

Hi Zielony,
My goal is to start an blank activity and then all the vies appear.
I have tried to change the visibility in onResume but the first time the view state changes from "gone" to "visible" it won't be animated. Even if the view state is controlled by an onClickListener, the first time that view goes visible there is no animations but after that when I continue clicking on the button, the view pop in and out perfectly.

I was able to reproduce your issue. The appearing animation changes alpha value from current to 1. Invisible views have alpha value set to 1, because visibility is a flag, not an alpha value. The workaround for this one is to set alpha to 0. You can do that in xml for more recent phones or using nineolddroids for older devices.
android:alpha="0"

button.setAlpha(0.0f);

ViewHelper.setAlpha(button,0);

I'm marking this issue as a bug. Thanks for finding this!

fixed in 0.6.5


US Ansi Shifted Keys to respect shift?

Hi,
This is feature/idea reqest, if it is already possible I couldn't find it in docs.
Us ansi shifted codes are great and I am using them in my Ergodox EZ layout:
https://docs.qmk.fm/#/keycodes_us_ansi_shifted
However we need different modifier that inverts current shift state, so without shift pressed KC_EXCLAIM should register '!' but with shift pressed it should register '1'.
It would be very useful to be able to have LSFT(kc) as primary key and plain (kc) as same key when shift pressed. Ideally something like: INVERTSFT(KC_1)
Thanks.

This issue is more appropriate for https://github.com/qmk/qmk_firmware/.
Transferring.


Not loading on mobile browser.

https://kotlin.github.io/kotlin-wasm-compose-template/
This live demo app not loading on mobile browsers.
Is wasm not supported on mobile browsers?

Which browser and OS do you use?


feat(datepicker): add monthColumns to DatepickerConfig

#5515

Thanks for review comments. Have updated the PR with the changes.

@wesleycho, what needed work on this?  is it good to merge or do we need more info?

Would love to get this into the next release. Do let me know if anything is outstanding. Addressed all the comments raised in the initial review.

Sorry for the long wait - this LGTM


Error: failed to fetch from registry: coffee-script

I tried to use npm to install CoffeeScript, and it got an error and told me to report it.
C:\>npm install -g coffee-script
npm http GET https://registry.npmjs.org/coffee-script
npm ERR! Error: failed to fetch from registry: coffee-script
npm ERR!     at C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\npm-reg
istry-client\get.js:139:12
npm ERR!     at cb (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\npm
-registry-client\request.js:32:9)
npm ERR!     at Request._callback (C:\Program Files (x86)\nodejs\node_modules\np
m\lib\utils\npm-registry-client\request.js:137:18)
npm ERR!     at Request.callback (C:\Program Files (x86)\nodejs\node_modules\npm
\node_modules\request\main.js:104:22)
npm ERR!     at Request.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\
npm\node_modules\request\main.js:181:58)
npm ERR!     at Request.emit (events.js:88:20)
npm ERR!     at ClientRequest.<anonymous> (C:\Program Files (x86)\nodejs\node_mo
dules\npm\node_modules\request\main.js:329:14)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1225:11)
npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:31)
npm ERR! Report this *entire* log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR<EMAIL_ADDRESS>npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "coffee-scri
pt"
npm ERR! cwd C:\
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! message failed to fetch from registry: coffee-script
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\npm-debug.log
npm not ok

When I try to connect to the URL it's using (https://registry.npmjs.org/coffee-script), FireFox warns me (rather loudly) that the site's certificate is invalid and I should go no further. I don't know whether that's the problem or not (npm may have its own list of trusted SSL certificates, for all I know).
I got this error after doing a fresh install (on a computer that had never had node.js installed before) of the latest node.js Windows installer (node-v0.6.6.msi), which says it includes npm 1.1.0-beta-4.

I have the same error.
According to the docs config option "strict-ssl = false" should help with the certificate check. Alas it does not help.
Either "strict-ssl = false" does not work or there is another issue. The message is a bit terse and (at least in my case) npm-debug.log is nonexistent.

I tried again at home. There is no proxy here and npm installed fined what I wanted.
I had (have) http_proxy in the environment.

hi k5e,how can i do that?where is the globalconfig

The related error is:
Error: failed to fetch from registry
In case someone encounter this problem in UBUNTU
npm config set registry http://registry.npmjs.org/

Thanks!


pls help me out in this

File "/home/robotics/linux-sdk-python/examples/audio/classify.py", line 5, in
from edge_impulse_linux.audio import AudioImpulseRunner
ModuleNotFoundError: No module named 'edge_impulse_linux'

@govindsaudagar you need to install the Linux Python SDK as per these directions: https://docs.edgeimpulse.com/docs/edge-impulse-for-linux/linux-python-sdk.

Resolved. For any other assistance, please visit our forum https://forum.edgeimpulse.com/


DE1793/DE1853 SG/iptables rule left over under certain race condition.

If devices not be found, delete related sg rules.
If devices cannot be found in br-int, the security
group rules should also be deleted.Do this to avoid
resource leak.
Change-Id: Ib7d8c454e68637295c3741f7832793654a1aaa76
Closes-rally-bug: DE1793/DE1853
Upstream-Review: https://bugs.launchpad.net/neutron/+bug/1403729
Closes-Bug: #1403729

+1, as we tested in svl3

The upstream review is actually here: https://review.openstack.org/#/c/142669/ and was marked as abandoned on January 26, 2015 because it miserably failed Jenkins verification and no one bothered to try to fix it.
That being said, that's for master. If we've tested this in SVL3 and are confident it's not going to break anything, then I'm keen to merge it.
Since Havana dev is winding down, I won't hold up the merge for this, but in the future we really need unit tests to be included. If we fall behind on unit testing we'll never catch up and it makes the whole product less stable.


Feature/3165 recursive comparison assert

Check List:

Fixes #3165
Unit tests : YES
Javadoc with a code example (on API only) : YES

Add RecursiveComparisonAssert.withEqualsForTypes and RecursiveComparisonAssert.withComparatorForTypes methods to compare different type objects in a type-safe way. For the latter, I've added a BiComparator functional interface to avoid the declaration of a Comparator<Object> that requires a forced cast of the instances to be compared.
Furthermore, to fix the type clash generated by this kind of registration
assertThat(actual).usingRecursiveComparison()
                  .withComparatorForTypes(comparator1, String.class, LocalTime.class)
                  .withComparatorForTypes(comparator2, String.class, LocalDate.class)

I've modified the internal TypeHolder data structure from
protected final Map<Class<?>, T> typeHolder;
to
protected final Map<Pair<Class<?>, Class<?>>, T> typeHolder;
This allows us to associate a Comparator to a type's pair ([String, LocalTime] -> comparator1).
Retro compatibility is maintained; in the following scenario
assertThat(actual).usingRecursiveComparison()
                  .withComparatorForType(comparator1, String.class)

The typeHolder will contain this entry ([String, null] -> comparator1).
The only method that has changed the signature is TypeHolder.entityByTypes from
public Stream<Entry<Class<?>, T> entityByTypes()
to
public Stream<Entry<Pair<Class<?>, Class<?>>, T>> entityByTypes()
that's why this cannot be considered as a safe change...let's talk about this

Thanks @amodolo, I will review your PR in the next few weeks.

That's a very nice feature to have! I frequently need to compare generated Avro objects with their DTO copies to verify the mapping behavior, and being able to compare ObjectId (in DTO) with String (in Avro) would make my life so much easier. Imagine replacing this:
assertThat(avro.getPublisherId()).isEqualTo(dto.getPublisherId().toHexString());
assertThat(avro.getPropertyId()).isEqualTo(dto.getPropertyId().toHexString());
assertThat(avro.getPlacementId()).isEqualTo(dto.getPlacementId().toHexString());
assertThat(avro.getThemeId()).isEqualTo(dto.getThemeId().toHexString());
assertThat(avro.getId()).isEqualTo(dto.getId().toHexString());

with something like this:
assertThat(avro)
    .usingRecursiveComparison()
    .withComparatorForTypes(comparator1, String.class, ObjectId.class)
    .isEqualTo(dto);

Are there still any plans to merge this PR?

This has fallen under our radar but yes, this is still planned to be integrated, most likely in 2.8.0 since we are going to release 3.27.0 very soon.


board size does not fit on iphone 6 plus

I have same issue board size get double than in should be. Can anyone have fixed this?

Is that 5x5 board? Do you have a screenshot @virajpadsala ?

in my case I just add below line to scene
_board.size = CGSizeMake(self.frame.size.width, self.frame.size.height);


Remove joda time dependency from netflix-sel module

To remove it, we have to implement those SEL methods using Java time libraries than Joda time.

@jun-he Could you assign this issue to me. I would like to work on it.

@jun-he
I’m starting on the task to remove the Joda-Time dependency from the Netflix-SEL module and replace it with Java's java.time API. Here’s my plan for the migration:
Migration Plan
1. Affected Parts in netflix-sel:

com.netflix.sel.type Package:

SelJodaDateTimeDays
SelJodaDateTimeFormatter
SelJodaDateTimeProperty
SelJodaDateTime
SelJodaDateTimeZone

com.netflix.sel.security Package:

SelClassLoader

Test Module:

SelJodaDateTimeDaysTest
SelJodaDateTimeFormatterTest
SelJodaDateTimePropertyTest
SelJodaDateTimeTest
SelJodaDateTimeZoneTest
MockTypeTest

2. Update Documentation:

Update README.md and any other documentation files to reflect the migration from Joda-Time to java.time.

3. Update Main Classes:

Replace Joda-Time classes and methods with equivalent java.time classes and methods.
Ensure all date-time manipulations and formatting are correctly migrated.

4. Update Test Classes:

Refactor test classes to use java.time.
Ensure all tests cover the same functionality as before.

5. Test and Validate:

Run all existing tests to ensure they pass.
Validate the correctness of the migration by verifying outputs and behaviors.

Any input or concerns before I proceed? Let me know if there are specific things I should keep in mind!
Also, should we divide this into smaller tasks/issues, or handle it as a single issue?

@pranaybattu  thanks for the interest and taking time to draft a plan. I assign this task to you.
To upgrade SEL, there are some investigations needed

SEL is highly secured and restricted. It cannot even load a unloaded class into the class loader after initialized. So not sure if java date did any (e.g. start a thread or ask Java security manager for anything).
Due to above issue, SEL have to cache all the loaded objects to avoid GC to unload them. Not sure how big the java time package is, comparing to jodatime.
the jodatime interface is actually great. It's better to keep them. It means users will still use the same SEL functions to build their expression. We only rewrite the internal implementation by using java time.

Sure, will explore those.


Easy way to control the logo title and link

We just upgraded to the latest version and was using InjectOnCompleteJavaScript to control the logo and logo link but I'm not even seeing a clear cut way or any examples on how to do this easily.  Would it be possible to build this very common scenario into swashbuckle?
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/tree/v2.0.0#apply-swagger-ui-parameters

As mentioned in the contributing guidelines and issue template, this is really a question for the Swagger-ui project and should be posted to that repo instead of SB.
Off the top of my head, the new version ships with a new system for customizing components. SB supports this by allowing a custom version of index.html to be used. This is described in the SB readme.

Granted though, it is a very common use case. So, if we can figure out the right v3 way to do it, we can add an example to the docs

@niemyjski - so, I figured out how to use the swagger-ui plugin system to customize the Topbar, added to the CustomUIIndex sample app, and updated the docs.
Here's the commit da753de95cc11260b11ea86655ec9d85a6cc3187

Awesome!!! Thank you

I tried to bring in your example as an embedded resource but the only thing that gets rendered is the h1 div for the top bar. I'll try and pull this repo and take a look if I get some time, if you have any ideas let me know. I didn't see any errors in the console.


use stream transform / pipe

Instead intermediate event emitter

Done https://github.com/Purexo/EventStream/commit/aaeb4c837e703200dfc681eff77593fbea6d2415


Move to Spark 2.x

Hoodie 0.3.0 is moved to Spark 2.1.0

Awesome
On Wed, Mar 8, 2017, 6:12 PM prazanna<EMAIL_ADDRESS>wrote:

Closed #51 https://github.com/uber/hoodie/issues/51.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/uber/hoodie/issues/51#event-992253792, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAy4Jawim-ud9gQn5gpHk3eo9vRbQDH3ks5rjzXxgaJpZM4LdDxp
.


eachLike objects can't have objects

Having a object with a eachLike with a object inside turns up this weird behaviour where you can only close the array with closeObject and the top object with closeArray and the output JSON is broken.
Example code:
                        .object("myParent")
                            .stringType("myString")
                            .eachLike("myArr")
                                .stringType("myString2")
                                .object("myArrSubObj")
                                    .stringType("myString3")
                                .closeObject()
                            .closeArray()
                        .closeObject()

Returns
Caused by: java.lang.UnsupportedOperationException: can't call closeArray on an Object (row: 8)
While:
                        .object("myParent")
                            .stringType("myString")
                            .eachLike("myArr")
                                .stringType("myString2")
                                .object("myArrSubObj")
                                    .stringType("myString3")
                                .closeObject()
                            .closeObject()
                        .closeObject()

Says
Caused by: java.lang.UnsupportedOperationException: can't call closeObject on an Array (row: 9)
And:
                        .object("myParent")
                            .stringType("myString")
                            .eachLike("myArr")
                                .stringType("myString2")
                                .object("myArrSubObj")
                                    .stringType("myString3")
                                .closeObject()
                            .closeObject()
                        .closeArray()

Works but the output looks like this
-    "myParent": {
-        "myString": "string",
-        "myArr": [
-            {
-                "myString2": "string",
-                "myArrSubObj": {
-                    "myString3": "string"
-                }
-            }

The brackets for closing the array and myParent are missing.

The .eachLike method does 3 things, sets up the matchers to do type matching, creates a new array and then creates a new object to be the example in the array. So it is similar to doing
.array("myArr")
    .object()

Thus you need to first close the inner object and then the array:
.object("myParent") // create object myParent
    .stringType("myString")
    .eachLike("myArr") // create array myArr and create object myArr[0]
        .stringType("myString2")
        .object("myArrSubObj") // create object myArrSubObj
            .stringType("myString3")
        .closeObject() // close object myArrSubObj
        .closeObject() // close object myArr[0] (this was missing)
     .closeArray() // close array myArr
.closeObject() // close object myParent

Oh of course, I missed the closeObject() in the example because it was indented with the object spec, thank you for explaining this to me.
Maybe consider updating the example, because it is a little weird to have id, string and closeObject on the same indentation level.
    DslPart body = new PactDslJsonBody()
        .minArrayLike("users", 1)
            .id()
            .stringType("name")
            .closeObject()
        .closeArray();

Good point, I'll update the docs. Maybe have closeArray() auto close the object too.


Rename preprocess_ode

I think we should change it to something like mtk_to_si in the 0.5 release

I agree. Note that the function is used in SIAN.jl and may become used in Catalyst, so we have to keep the old name as an alias for a while.


Formatting Modifications

pages/about.vue

Replaced HTML file with reformatted HTML & CSS code.

Added customized SVG paths.

pages/index.vue

Removed Nuxtjs logo

Static/favicon.ico

Replaced old data triad image with new image.

Fixed errors after running npm run lint

Vue component Events.vue is not populating inside of about page.

LGTM


Redefinition error after installation of mss/msui

Hello there and happy new year!
I just started msui after a new installation (version 7.0.7) and I received a RefedinitionError.
Error message below:

(mssenv) 10:25:16 dkunkel@arctic:~$ msui
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/mssenv/bin/msui", line 7, in
from mslib.msui.msui import main
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/msui.py", line 67, in
from mslib.utils.qt import ui_mainwindow as ui
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/utils/qt.py", line 639, in
globals()[mod] = importlib.import_module("mslib.msui.qt5." + mod)
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/qt5/ui_sideview_window.py", line 66, in
from mslib.msui.mpl_qtwidget import MplSideViewWidget
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/mpl_qtwidget.py", line 46, in
from mslib.utils.thermolib import convert_pressure_to_vertical_axis_measure
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/utils/thermolib.py", line 31, in
from mslib.utils.units import units, check_units
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/utils/units.py", line 48, in
units.define(pint.unit.UnitDefinition(_name, '', (),
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/pint/registry.py", line 470, in define
self._define(definition)
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/pint/registry.py", line 2124, in _define
definition, d, di = super()._define(definition)
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/pint/registry.py", line 1459, in _define
definition, d, di = super()._define(definition)
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/pint/registry.py", line 549, in _define
self._define_adder(d_def, d, di)
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/pint/registry.py", line 557, in _define_adder
self._define_single_adder(
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/pint/registry.py", line 579, in _define_single_adder
raise RedefinitionError(key, type(value))
pint.errors.RedefinitionError: Cannot redefine 'sigma' (<class 'pint.definitions.UnitDefinition'>)

I had a similar error with version 7.0.5 which led to a new installation. However, in version 7.0.5 I received an attribute error:

(mssenv) 10:17:59 dkunkel@arctic:~/.config/msui$ msui
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/mssenv/bin/msui", line 7, in
from mslib.msui.msui import main
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/msui.py", line 67, in
from mslib.utils.qt import ui_mainwindow as ui
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/utils/qt.py", line 639, in
globals()[mod] = importlib.import_module("mslib.msui.qt5." + mod)
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/qt5/ui_sideview_window.py", line 66, in
from mslib.msui.mpl_qtwidget import MplSideViewWidget
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/mpl_qtwidget.py", line 46, in
from mslib.utils.thermolib import convert_pressure_to_vertical_axis_measure
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/utils/thermolib.py", line 31, in
from mslib.utils.units import units, check_units
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/utils/units.py", line 48, in
units.define(pint.unit.UnitDefinition(_name, '', (),
AttributeError: module 'pint' has no attribute 'unit'. Did you mean: 'Unit'?

I wonder, if someone else has similar issues.
Best, Daniel

please show the pint version e.g.
mamba list pint
The fixation of pint  was done for 7.0.6 because of the failure you see in 7.0.5
https://github.com/Open-MSS/MSS/issues/1582
Have also a look if this works when you apply manually:
https://github.com/Open-MSS/MSS/pull/1584/files

pint version:

(mssenv) 12:03:00 dkunkel@arctic:~$ mamba list pint
pint                      0.19.2             pyhd8ed1ab_0    conda-forge

The manual fix did not work, I still get the same error. Interestingly, it does only crash as
units.define("sigma = 1") while I also included the line  units.define("level = 1") before.
I comment the line:
# units.define("sigma = 1")
I get a totally different error:

(mssenv) 12:09:11 dkunkel@arctic:~$ msui
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/fastkml/geometry.py", line 35, in
from shapely.geometry import asShape
ImportError: cannot import name 'asShape' from 'shapely.geometry' (/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/shapely/geometry/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/mssenv/bin/msui", line 7, in
from mslib.msui.msui import main
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/msui.py", line 71, in
from mslib.msui import tableview, topview, sideview, linearview
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/topview.py", line 42, in
from mslib.msui import kmloverlay_dockwidget as kml
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/kmloverlay_dockwidget.py", line 30, in
from fastkml import kml, geometry, styles
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/fastkml/init.py", line 30, in
from .kml import KML, Document, Folder, Placemark
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/fastkml/kml.py", line 37, in
from .geometry import Geometry
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/fastkml/geometry.py", line 42, in
from pygeoif.geometry import as_shape as asShape
ImportError: cannot import name 'as_shape' from 'pygeoif.geometry' (/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/pygeoif/geometry.py)
CRITICAL:root:MSS Version: 7.0.7.
CRITICAL:root:Python Version: 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:23:14) [GCC 10.4.0]
CRITICAL:root:Platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.35 (('64bit', 'ELF'))
CRITICAL:root:Fatal error: Traceback (most recent call last):
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/fastkml/geometry.py", line 35, in
from shapely.geometry import asShape
ImportError: cannot import name 'asShape' from 'shapely.geometry' (/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/shapely/geometry/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/mssenv/bin/msui", line 7, in
from mslib.msui.msui import main
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/msui.py", line 71, in
from mslib.msui import tableview, topview, sideview, linearview
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/topview.py", line 42, in
from mslib.msui import kmloverlay_dockwidget as kml
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/kmloverlay_dockwidget.py", line 30, in
from fastkml import kml, geometry, styles
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/fastkml/init.py", line 30, in
from .kml import KML, Document, Folder, Placemark
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/fastkml/kml.py", line 37, in
from .geometry import Geometry
File "/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/fastkml/geometry.py", line 42, in
from pygeoif.geometry import as_shape as asShape
ImportError: cannot import name 'as_shape' from 'pygeoif.geometry' (/usr/local/miniconda3/envs/mssenv/lib/python3.10/site-packages/pygeoif/geometry.py)
QWidget: Must construct a QApplication before a QWidget
Abgebrochen (Speicherabzug geschrieben)

geometry has more than one option ;(
try:
    from shapely.geometry import Point, LineString, Polygon
    from shapely.geometry import MultiPoint, MultiLineString, MultiPolygon
    from shapely.geometry.polygon import LinearRing
    # from shapely.geometry import GeometryCollection
    # Sean Gillies:
    # I deliberately omitted a geometry collection constructor because
    # there was almost no support in GEOS for operations on them. You
    # couldn't buffer a collection, for example, or find its difference
    # to another geometry. I've seen some signs of this changing in GEOS,
    # but until it does I don't think there's any point to the class.
    # It wouldn't be much more than a list of geometries.
    from pygeoif.geometry import GeometryCollection
    from shapely.geometry import asShape

except ImportError:
    from pygeoif.geometry import Point, LineString, Polygon
    from pygeoif.geometry import MultiPoint, MultiLineString, MultiPolygon
    from pygeoif.geometry import LinearRing
    from pygeoif.geometry import GeometryCollection
    from pygeoif.geometry import as_shape as asShape

shapely was also updated,
try with sigma disabled and installing shapely version
 mamba install shapely==1.8.5
with the recent 2.0 asShape is removed see https://shapely.readthedocs.io/en/latest/migration.html?highlight=asShape#other-deprecated-functionality

https://github.com/conda-forge/fastkml-feedstock/issues/7

btw. we catched the problem here too
https://github.com/Open-MSS/MSS/actions/runs/3728746732/jobs/6324018066
unfortunately end of year ....

raise RedefinitionError(key, type(value)) is described at
https://github.com/hgrecco/pint/issues/1304

We fixated fastkml==0.11 in the fastkml 0.12 pygeoif is fixated < 1.
Because shapely is updated and got not working we have the wrong pygeoif too and it crashes.

The sigma "problem" occures now because of metpy==1.4.0 new release. It is undefined in older versions.

I close this after we released 7.0.8.


bugfix: must stop docker before remove docker rpm

Signed-off-by: Michael Wan<EMAIL_ADDRESS>bugfix: push local uncommitted code .

LGTM


New Feature: when timepicker is enabled, if start/end days are the same, it should be shown only once

When timepicker is enabled, if startDate and endDate have the same day, the day should only be shown once.
Here is an example with the following code:
    <input type="text" date-range-picker="{format: 'MM/DD/YYYY h:mm A', timePicker: true, timePickerIncrement: 30}" id="daterange3"
           class="form-control date-picker" type="text"
           name="daterangepicker" ng-model="class.dateRange"
           required/>

Instead of showing 10/09/2014 2:30 PM - 10/09/2014 5:30 PM, it would be nice to show 10/09/2014 2:30 PM - 5:30 PM

That'd be cool man!


Split Import Data dialog code into model and UI-independent 'importing engine' for testability

Also extract dialog content into UserControl so it can be moved to the Components assembly

Unlikely, more than a year passed


Adding pauses to the input text

Hi. I was wondering if there was any way to add (longer) pauses in between sentences of the input text?
I've also seen in some other issues the idea of controling this with a factor, but I was unable to find it in the code. Could you give a few tips on this?
Thanks

Hi, the common way to add pauses between sentences is to synthesize each sentence independently and manually add silent wavs in-between:
one_sec_pause = np.zeros(22050)

@cschaefer26 Thanks!


Correctly set matplotlib colorbar tick locators

Fixes issue #565, the locators were being set using a non-existent method.

Looks good. Merging.


refactor(Feature): Refactor the Feature component

Overview
The point of this is to reduce nesting and make the PageFeatures component more composable internally.

Refactor the features component

📬Published Alpha Packages:@codecademy/gamut-labs@7.15.1-alpha.de9f22.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-labs@7.15.1-alpha.de9f22.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6013104bce29f35d816b2b33--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://6013104bce29f35d816b2b33--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@8.0.3-alpha.782486.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60181aced9325cc24681cdc7--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@8.0.3-alpha.1432cc.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://601961e327a775ab03b31db4--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://60196bdc0ef83ca909f1cdd1--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@8.1.2-alpha.ef26c4.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-labs@8.1.3-alpha.2f5afb.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60197485709efe00b06d67ac--gamut-preview.netlify.appDeploy Logs


False positive: UnconditionalJumpStatementInLoop with elvis operator ?:

Expected Behavior
The elvis operator is a conditional so code like this should be accepted:
for (resource in Detektor::class.java.classLoader.getResources("META-INF/MANIFEST.MF")) {
    return runCatching { readVersion(resource) }.getOrNull() ?: continue
}

Observed Behavior
It fails
Context
We found this false positive at #2387
Your Environment

Version of detekt used: 1.6.0

Fixed by a9bb93e

I'm getting this in 1.18.1.
fun function(items: List<Int?>): String? {
    for (item in items) {
        val intItem = item ?: continue
        return intItem.toString()
    }
    return null
}

Yes, please, open a new issue.

Will do. :)


How to use custom SVG icons in the SidebarNav?

Hi.
It seems that the component only accepts class names for CSS. But how do I use my own SVG icons?

Has there been any progress on this? Or any workaround?

In v3 there is a possibility of passing SVG/JS icons to the sidebar

Were you able to use custom icons in the sidenav? I'm facing the same issue in angular.


Add Dockerfile and Required Configuration Files to Run the Application

Description:
Create a Dockerfile and a Docker Compose file. Add all necessary configuration files for the application to run in a Docker container. The setup should ensure the application builds and runs seamlessly in a containerized environment.

Tasks:

Create a Dockerfile with the following:

Use a lightweight base image appropriate for the application (e.g., node:alpine for Node.js, python:slim for Python, etc.).
Copy application files into the container.
Install dependencies.
Define the necessary CMD or ENTRYPOINT to run the application.
Expose the required port(s).

Add a .dockerignore file:

Include files or directories that should not be copied to the container (e.g., .git, node_modules, __pycache__, etc.).

Test the Docker build process:

Run docker build to ensure the image builds successfully.
Verify the application runs without errors using docker run.

Update project documentation:

Add instructions for building and running the application in a Docker container to the README.md.

Optional:

Add a docker-compose.yml file if the application depends on additional services (e.g., a database).

Acceptance Criteria:

[x] A working Dockerfile and Docker Compose file are added to the project.
[x] The application can be built and run in a Docker container.
[x] The .dockerignore file excludes unnecessary files from the container build context.
[x] Instructions for using Docker are added to the documentation.
[x] All changes are tested and verified.

Additional Notes:

Ensure the Docker image is optimized to reduce its size.
Consider multi-stage builds if the application has a build step.
Provide logs or screenshots of the successful Docker container running as evidence of completion.

Screenshots of the successful Docker container running as evidence of completion:


DCA and schematic REST API: Shiny Server Pro deployment specification

Shiny Server Pro is currently the only secure hosting service for apps in production that access/process PHI/PII. We don't know when a scicomp solution will be available - see #353. We do know that there are projects like VEOIBD that would contribute sensitive data soon (~Aug) so we'd like to be ready in case #353 is not resolved by then.
AC: DCA has been deployed or a deployment path has been fully spec-ed out so that we can deploy next sprint.

Start syncing up with Sage IT.

Current procedures are documented on jira

Of note, we have not released a version of DCA that uses the Schematic REST API. @milen-sage for this interim state should we stick with the reticulate workflow? I am hesitant to roll out a new python workflow because we don't have access to the Shiny Server Pro.

Shiny Server Pro is currently the only secure hosting service for apps in production that access/process PHI/PII. We don't know when a scicomp solution will be available

Please note that the Shiny Server Pro server IS a sci-comp hosted solution.  The above comment is misleading.  It makes it sound like there is not a sci-comp solution today.

Thanks for the clarification @brucehoff. I always associated sci-comp with AWS services provided by Sage IT and didn't appreciate the Shiny Server Pro is part of the family there.