Items get cut off and overlap when app is sized small

A few things can help solve this.

Search box should get smaller when the app is resized.
Labels on app bar buttons hide when app is sized smaller. (You would want to add tool-tips to the commands since only the icon would be showing)
Items go in to overflow menus.

I think it's a good idea to get rid of the search box completely and only show an icon when it's that small.
I also think that the padding between the back, forward and refresh icons should be reduced (not just when small).

Padding between the back, forward and refresh will be reduced when #148 is done.

@Poopooracoocoo Padding has been reduced between those button and the ribbon in general is more responsive when resizing it. There is still some work to do for the search icon but at least some of the changes will be included he next release (v0.7).

You can download v0.7.0 here.

I think it's a good idea to get rid of the search box completely and only show an icon when it's that small.
I also think that the padding between the back, forward and refresh icons should be reduced (not just when small).

Thank you for your feedback, the search box is now hidden behind a button and the padding and overall design has been improved. These changes will be included in the next update.


BITOP lshift string in tests/unit/bitops.tcl error

when i make test on centos 7, there are some errors:
*** [err]: BITOP lshift string in tests/unit/bitops.tcl
Expected 'ïg' to equal or match 'abcdefg'
Cleanup: may take some time... OK
make[1]: *** [test] Error 1
make[1]: Leaving directory `/data/KeyDB-5.1.1/src'
make: *** [test] Error 2

I think this is a dupe of: https://github.com/JohnSully/KeyDB/issues/99
Can you check if this repros in the unstable branch?  Its a test only issue related to the older TCL version on CentOS.

i use the 5.1.1 release

Then its a dupe as the fix hasn’t been released yet. This is a test only issue.


Engineering soft suits + Syndicate EVA suit buff & resprite + EVA suit resprite

About the PR
Woh!
Gives engineering snazzy new softsuits with 0.9 movement speed and welding protection that go in their lockers. Intended to go with [PR number here when i put it up] so that engineers will still have the hardsuits for when they really need them.
Also buffs the syndicate EVA suit a good bit so that it can keep up with the engineering suit better. It now has no movement slowdown, and the helmet can resist both flashes and welding. The visor of the helmet now glows in the dark however, so you'll want to be careful if you're trying to evade sec with it in maintenance.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

add: Added lightweight soft suits for engineering that replace the hardsuits present in the engineer locker.
tweak: The syndicate EVA suit no longer slows down the user.
tweak: The syndicate EVA suit's helmet now has flash and welding protection.
tweak: Resprited the basic EVA suit and syndicate EVA suit.

What is the benefit of soft suits instead of hard ones?

they are lightweight

ci failure is unrelated

dont know how i feel about the eva suit resprite

But my Dead Space drip :(

But my Dead Space drip :(

you'll still have it, it's just going to be more limited and in suit storage units only.

dont know how i feel about the eva suit resprite

for the record, the original was literally under the "hardsuits" category in the sprites folders. i also plan to bring it back as a "basic" hardsuit, but that will take time since it needs a clean-up before that imo (it has very little outlining and looks kind of weird because of it.)

I love the sprites, previous eva looked like ass, and would have a neck clipping issue where depending on the character rotate direction you can see their neck, having these 3 suits similar is pretty satisfying.

I think the replacement EVA sprites would make great emergency suit sprites but i dont like them as a replacement for the existing EVA suit.

you should put the eva suit resprite in another pr since it seems to be controversial

i really like em since they fits with the other soft suits, so unless a maintainer dislikes them i would be okay with merging em

goncflicts

i'll turn this into just the resprites soon, after thinking it over i'm not sure if the engi softsuits are a good idea (at least for base engineering.)


Feature Request: minio(s3 protocol compatible) storage engine support.

First of all, thanks the author make this amazing project.
Could you please add support for minio?

Since minio is S3 compatible, I believe you can support minio using S3 Storage, by providing the custom S3_ENDPOINT?

Thanks a lot.
It works with custom S3_ENDPOINT


:arrow_up: Update stdx for tuple improvements

PR before this one:  https://github.com/intel/compile-time-init-build/actions/runs/9746161086/job/26895799470
Total Execution Time: 21.9938 seconds (24.1359 wall clock)
This PR: https://github.com/intel/compile-time-init-build/actions/runs/9764902985/job/26954332231
Total Execution Time: 18.8705 seconds (20.8872 wall clock)


Multi-line URLs for poster and Discover endpoint adds spaces

When I tried to use the module I got an HTTP status code of 401.  It didn't like my API key because of an extra space.  I believe that the "" character used to wrap multi-line strings is adding a space.  So, in node_helper.js an extra space is included after primary_release_date.gte and api_key.  In MMM-MovieInfo.js a space is added before v2$ in poster.src.
After removing these, I was able to use the module without errors.

Hi John, thanks for reporting. I merged a pull request which among others adressed this problem, so it should be fixed now.

Oh, great!


Duplication check

Describe the bug
The bot accepts the duped item without asking manual review.
Screenshots and logs
https://i.imgur.com/nO4KPo3.png - the log
https://backpack.tf/item/2111219510 - The hat
Version: v3.4.0

I switch the admin to my other bots so it won't accept because I am the admin

The bot didn’t do a dupe check on the item. Make sure that you have enabled dupe checks and check your minimum key value for the dupe checks, I think that’s what is wrong.

Where to enable dupe check? Ecosystem.json?

I see. My ecosystem.json file is outdated.

Where do I set the minimum key value for dupe checks?

Also, it doesn't work when users use chat command, eg !sell Stormy Storm Slick Cut, as the bot will send the trade offer to the user.

Well... you're not using the dupe-check branch... that's because I see your log there's no such:
... checking 1 item for dupes...
Dupe checking #assetid
bla bla...
FYI, the duped check feature is still not in the branch master yet. If you want to try this feature, open cmd and navigate to your bot folder and type in the command git checkout dupe-check, update your .env or ecosystem.json and you'll have dupes check feature enabled.

https://github.com/Nicklason/tf2-automatic/pull/420

https://github.com/Nicklason/tf2-automatic/pull/420

I just test that again with the version with dupe checks and it is still not working. Both received and sent ones.
Here's the log:
Receives offer: https://i.imgur.com/kutPizh.png
Sends offer: https://i.imgur.com/YsBodWa.png
I am still testing with the old duped hat I mentioned above.

You’re running v3.3.13?

Yes

Sad. It's v3.5.0 now. This version have duped check feature. Please update it now and try it again.

Retry with v3.5.0 but it still accepts the offer.
https://i.imgur.com/0XmXxwU.png

Huuurrmmm for some reason, it skips some step.
@Nicklason


MangaForFree.net not fetching all chapters

Source information
MangaForFree.net 1.4.36
Source language
All
Steps to reproduce
on the website MangaForFree.net , there are chapters that end with raw. for example Chapter 89 raw.
in the app, the extension does not show any chapters that end with raw.
Expected behavior
the extension in the app should show all chapters that are available on the website
Actual behavior
the extension is not showing chapter that end with raw
Mihon/Tachiyomi version
tachij2k 1.7.4
Android version
android 14
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

That's the expected behavior if you're browsing the English source. If you want raw chapters you need to use the source under Multi or 한국어. If they don't show up you can check if it's disabled by the filter in the top right corner.


Don't use innerHtml to build menus

Fixes #89410
Switches to use safer methods to construct menu items: innerText and append

@sbatten Are you aware of any cases besides mnemonic where we rely on parsing the label as html?

Tested with changes, seems that cases 1 and 2 work:

Even without changes, case 3 doesn't work:


Check cinder volume attach status and setup volume metadata

Check cinder volume attach status
Setup cinderVolume.metadata for attached volumes

I confirm this works well in our testing environment.

lgtm


Two CertificateRequest are created if I specify my custom CertificateRequest

So I'm creating a CertificateRequest with my own CSR. The creation is successful. However when I try to create Certificate, it creates another CertificateRequest and doesn't use the one that I created before.
Do I need to add some annotations to my CertificateRequest or Certificate for them to recognise each other?

You can set the owner reference to your certificate, however cert-manager isn't meant to be used that way and it might cause more issues than you want.
(EDIT: I just realised that is not possible as cert-manager doesn't have the private key of your CSR it cannot do anything with that cert)
If you use the CertificateRequest API directly that is possible and done by many use cases (like the CSI driver) however it assumes the creator will fetch the certificate from there and manage the storing of the certificate and renewing it themselves.
/triage support

This is working as intended - you either want to manually create a CertificateRequest resource, or create a Certificate resource and have cert-manager manage this for you.
There isn't a way to have cert-manager 'adopt' a CertificateRequest, and it wouldn't make much sense to support this functionality either. Hope that helps! 😄


Rename NewReport -> MakeReport

Depends on #178 & #180

This PR includes both of those, correct?

Yes as it depends on them.  I won't submit this until they are submitted, so eventually it'll just have one.
Conversely, I could rebase this against master and get it in before #178 if that makes it easier for you?

If you can merge #178 and #180, I'll review this with the proper diff.

I've merged #180 already, so here is this off master; no dependancies.

LGTM


python312Packages.testcontainers: 4.7.2 -> 4.8.0

Description of changes
Changelog: https://github.com/testcontainers/testcontainers-python/releases/tag/testcontainers-v4.8.0

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 334632 run on aarch64-darwin 1

4 packages marked as broken and skipped:

python311Packages.apache-beam
python311Packages.apache-beam.dist
python312Packages.apache-beam
python312Packages.apache-beam.dist

8 packages built:

python311Packages.aio-pika
python311Packages.aio-pika.dist
python311Packages.testcontainers
python311Packages.testcontainers.dist
python312Packages.aio-pika
python312Packages.aio-pika.dist
python312Packages.testcontainers
python312Packages.testcontainers.dist

Result of nixpkgs-review pr 334632 run on aarch64-linux 1

4 packages marked as broken and skipped:

python311Packages.apache-beam
python311Packages.apache-beam.dist
python312Packages.apache-beam
python312Packages.apache-beam.dist

8 packages built:

python311Packages.aio-pika
python311Packages.aio-pika.dist
python311Packages.testcontainers
python311Packages.testcontainers.dist
python312Packages.aio-pika
python312Packages.aio-pika.dist
python312Packages.testcontainers
python312Packages.testcontainers.dist

Result of nixpkgs-review pr 334632 run on x86_64-linux 1

8 packages marked as broken and skipped:

python311Packages.apache-beam
python311Packages.apache-beam.dist
python311Packages.dm-sonnet
python311Packages.dm-sonnet.dist
python311Packages.tensorflow-datasets
python311Packages.tensorflow-datasets.dist
python312Packages.apache-beam
python312Packages.apache-beam.dist

8 packages built:

python311Packages.aio-pika
python311Packages.aio-pika.dist
python311Packages.testcontainers
python311Packages.testcontainers.dist
python312Packages.aio-pika
python312Packages.aio-pika.dist
python312Packages.testcontainers
python312Packages.testcontainers.dist

Thank you!


Minimal update to support agp 8

Minimal update to gradle version and namespace
lockfiles

Second attempt without dependency updates.
https://github.com/flutter/flutter/issues/125181
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8783181311295663521/+/u/run_test.dart_for_build_tests_shard_and_subshard_1_3/test_stdout
Caused by: com.android.builder.errors.EvalIssueException: Android Gradle plugin requires Java 17 to run. You are currently using Java 11."


Remove default_app_config

default_app_config is now deprecated and will be removed. If it's important to preserve this for backwards compatibility, taking an approach like waffle may make sense: https://github.com/django-waffle/django-waffle/blob/95dc760fd6b0a7e2769a991641c7213c05b0073d/waffle/init.py#L10
Warning for reference:
RemovedInDjango41Warning: 'ninja_extra' defines default_app_config = 'ninja_extra.apps.NinjaExtraConfig'. Django now detects this configuration automatically. You can remove default_app_config.
    app_config = AppConfig.create(entry)

@nbhargava Thanks. I will look into it


Identify if ServiceAlerts data should be included in API

Should the information needed to populate ServiceAlerts be included within the same API?

Is that information documented somewhere?

Somewhat. There's a TRANSIT-alerts channel on the Adjusted Schedule Project Team with some overview / background information. We haven't gotten into any details mapping data fields from TransitMaster to TRANSIT-alerts.


Can you get the event id when you set an event in calendar?

Hello, is it possible to set an event with event id event name of the event when you set events in intialization ?
var calendar = app.calendar.create({
    containerEl: '#test-calendar',
    monthNames : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August' , 'September' , 'October', 'November', 'December'],
    dayNamesShort: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
    firstDay: 0,
    weekHeader: true,
    events: [
        {
          id: 1, //example
          title: 'my event',
          from: new Date(year, month, day),
          to: new Date(year, month, 14),
        },
         {
          id: 2, //example
          title: 'my event',
          from: new Date(year, month, day),
          to: new Date(year, month, 14),
        }
    ],
    toolbar: false,
  });

thanks for answeing cheers!

Yes, it is possible to pass it there, but it will be ignored. Store your events meta somewhere else and use dayClick event to compare clicked date with some of your events


How to Not AUTO Complete Past Planner Items

as readme says, we can choose to not automatically complete past items.
How to do this?
Where can I find the command? Or what code should I learn?
Thanks.

If you go to the Settings menu, click on Day Planner in the left column. The second option (and first toggle), Complete past planner items should be off (to the left). This should solve your issue.

Got it.


My Own image inference

I took my image and made it based on the data from ECON + EMOCA. As you said in the previous issue, EMOCA can solve face alignment, but even if I put the results from EMOCA, my face comes out weird. Is there anything I missed? Below is config.yaml.
# Do not forget to modify the root dir
root: "./examples/demo_image"

# Set to False to skip
settings:
  use_econ: False
  # subdivide: False
  # sns: False
  # complete: False
  use_emoca_face: True
  face_smooth: False
  # refine: False
  # color_projection: False

files:
  image: "front_origin.png"
  mask: "front_mask.png"
  front_normal: "front_normal_f.png"
  back_normal: "front_normal_b.png"
  mesh: "front_0_full.obj"
  smplx_param: "front_smpl_00.npy"
  smplx: "front_smpl_00.obj"
  emoca_face: "mesh_coarse_detail.obj"

parameters:
  # <-- Change as desired -->
  sns:
    use_thuman_smplx_param: False
    # smplx_gender: 'neutral'
    # t_max_sample_dis: 0.1
    # t_angle: 2
    # t_area: 3
    # t_edge: 3
    # t_s_angle: 2
    # t_s_area: 3
    # t_s_edge: 3
    # t_s_connect: 500
  inpaint:
    # TODO: dilation:
    use_smplx: None #[None, 'face', 'head']
  refine:
    normal_flip: False
    # refine_iter: 2  # need pytorch3d if greater than 1
    # smooth_iter: 3
    # smooth_lambda: 0.5
  color_projection:
    front_only: True
  #   vertex_color: False

Thank you for your quick response. I haven't tried it yet, and I'll try as you said

Does the "face substitution" process alone not change it?

This part is used to replace the facial geometry with EMOCA. And you do not need to change if it works well.

texture_flame2smplx I made it using this. I think it will work well post-processing. Thank you!

@puppy9207 Hi, may I ask how you put the texture image properly onto the SMPL model? I was trying to apply the texture to the SMPL obj generated by ECON using Blender but the image texture would not appear on the it.

@liaochenchieh Hi, see here.

texture_flame2smplx I made it using this. I think it will work well post-processing. Thank you!

Hey, bro, would you please show a example about the flame texture to smplx texture? In this function
def face_substitution(files, cfg_resources, sampler, device, flame_texture, save_root=None):

    # flame to smplx
    verts, _, _ = load_obj(files['emoca_face'])
    v_face_sample, _ = flame_to_smplx(verts, cfg_resources, sampler, device, flame_texture)
    v_face_sample = v_face_sample[0].detach().cpu().numpy()

    face_vertex_index = np.load(cfg_resources.index.face_verts_index)

    # subsmplx
    v_sample, vts, faces = load_obj(files['subsmplx'])
    v_d2, faces_d2 = face_clip_smooth(v_sample, faces, face_vertex_index, smooth=True)

    # align
    v_ori, _, f_ori = load_obj(files['completed_mesh'])
    _, _, rot_face = load_obj(cfg_resources.models.face_clip_norm)

    rot_face = rot_face[..., 0] - 1
    faces_d2 = faces_d2 - 1

    verts = face_rotate_align(v_face_sample, rot_face, v_d2, faces_d2, face_vertex_index)
    v_ori[face_vertex_index] = verts[face_vertex_index]

    if save_root is not None:
        save_path = os.path.join(save_root, 'face_substitution.obj')
        save_obj(v_ori, f_ori, save_path, single=True)
        return save_path
    return v_ori

I pass a flame texture to flame_to_smplx , the second resturn parameter is the smplx texture, but it seems that this parameter not use in face_substitution function. Appreciating for your reply. I would be very gratitude if you could show me an example about how to operate it .

I think you can get the result by using this value _ in L.196. See here.
v_face_sample, _ = flame_to_smplx(verts, cfg_resources, sampler, device, flame_texture)

v_face_sample, smplx_tex_uv = flame_to_smplx(verts, cfg_resources, sampler, device, flame_texture)

I think you can get the result by using this value _ in L.196. See here.
v_face_sample, _ = flame_to_smplx(verts, cfg_resources, sampler, device, flame_texture)

v_face_sample, smplx_tex_uv = flame_to_smplx(verts, cfg_resources, sampler, device, flame_texture)

yes, thanks for your quick response. To be honest, I don't know how to invoke this function,  I use emoca to get a emoca face mesh with texture.

And as you mentioned before, this texture is flame topology, I should transfer it to smplx, or there will be a face misalignment. Then which specify  flame texture should I pass to function flame_to_smplx and how can I use the smplx_tex_uv to get the texture in smplx texture? Really sorry to bother you too much time!! Thanks a lot!!

 The following result is the partial_color.obj I get using the unprocessed emoca face.

Hi, @lililuya , feel free to ask me more questions about this project.
I write a small test to show you how to get the processed facial texture map from EMOCA's result.
from lib.tools.flame_to_smplx import flame_to_smplx
import cv2
import numpy as np
import torch
from lib.utils.mesh_util import load_obj, save_obj
from lib.utils.uv_sample.FLAME import texture_flame2smplx
from lib.utils.config import  get_cfg_defaults
from lib.utils.uv_sample.divided_uv_generator import Index_UV_Generator

# FLAME Texture
flame_texture = cv2.imread('zxy_debug/emoca/199.png')
# FLAME facical mesh
v, _, _ = load_obj('zxy_debug/emoca/199_detail.obj')

cfg_resources = get_cfg_defaults("lib/configs/resources.yaml")

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

smplx_sampler = Index_UV_Generator(UV_height=1024, UV_width=-1, uv_type='SMPLX', data_dir='data/smplx').to(device)

v, uv = flame_to_smplx(v, cfg_resources, smplx_sampler, device, flame_texture=flame_texture)
v = v[0].detach().cpu().numpy()
_, vts, f = load_obj('data/smplx/smplx_div2_template.obj')

cv2.imwrite('zxy_debug/emoca/smplx_facial_uv.png', uv)

Then you can get the SMPLX facial texture(Left) from the original FLAME one(Right)

Hi, @lililuya , feel free to ask me more questions about this project.
I write a small test to show you how to get the processed facial texture map from EMOCA's result.
from lib.tools.flame_to_smplx import flame_to_smplx
import cv2
import numpy as np
import torch
from lib.utils.mesh_util import load_obj, save_obj
from lib.utils.uv_sample.FLAME import texture_flame2smplx
from lib.utils.config import  get_cfg_defaults
from lib.utils.uv_sample.divided_uv_generator import Index_UV_Generator

# FLAME Texture
flame_texture = cv2.imread('zxy_debug/emoca/199.png')
# FLAME facical mesh
v, _, _ = load_obj('zxy_debug/emoca/199_detail.obj')

cfg_resources = get_cfg_defaults("lib/configs/resources.yaml")

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

smplx_sampler = Index_UV_Generator(UV_height=1024, UV_width=-1, uv_type='SMPLX', data_dir='data/smplx').to(device)

v, uv = flame_to_smplx(v, cfg_resources, smplx_sampler, device, flame_texture=flame_texture)
v = v[0].detach().cpu().numpy()
_, vts, f = load_obj('data/smplx/smplx_div2_template.obj')

cv2.imwrite('zxy_debug/emoca/smplx_facial_uv.png', uv)

Then you can get the SMPLX facial texture(Left) from the original FLAME one(Right)

Yes, I make it. Really thanks a lot!!

Hi, have you used the flame_to_smplx function to transfer the EMOCA's FLAME texture map to SMPLX format? (do not forget to provide the var flame_texture) Please try this first and directly use the facial part of the transferred texture to replace your current one (a facial mask is needed for combination).

Hi, I am back here again(LOL!). I just don't konw how to use this emoca smplx texture. As you mentioned use the facial part of the transferred texture to replace your current one , is this part in EMOCA? Looking forward to your reply, thanks a lot!

Just use the emoca's face to replace the projected texture image. You can use any method to generate a facial mask and obtain with emocamask + projct(1-mask). The facial uv mask in data/mask can also be used for combination.
--------------原始邮件--------------
发件人："WenLi @.>;
发送时间：2024年11月12日(星期二) 凌晨0:43
收件人："ZhanxyR/SHERT" @.>;
抄送："Xiaoyu Zhan @.>;"Comment @.>;
主题：Re: [ZhanxyR/SHERT] My Own image inference (Issue #3)
Hi, have you used the flame_to_smplx function to transfer the EMOCA's FLAME texture map to SMPLX format? (do not forget to provide the var flame_texture) Please try this first and directly use the facial part of the transferred texture to replace your current one (a facial mask is needed for combination).
Hi, I am back here again(LOL!). I just don't konw how to use this emoca smplx texture. As you mentioned use the facial part of the transferred texture to replace your current one , is this part in EMOCA? Looking forward to your reply, thanks a lot!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Just use the emoca's face to replace the projected texture image. You can use any method to generate a facial mask and obtain with emocamask + projct(1-mask). The facial uv mask in data/mask can also be used for combination.
…
--------------原始邮件-------------- 发件人："WenLi @.>; 发送时间：2024年11月12日(星期二) 凌晨0:43 收件人："ZhanxyR/SHERT" @.>; 抄送："Xiaoyu Zhan @.>;"Comment @.>; 主题：Re: [ZhanxyR/SHERT] My Own image inference (Issue #3) ----------------------------------- Hi, have you used the flame_to_smplx function to transfer the EMOCA's FLAME texture map to SMPLX format? (do not forget to provide the var flame_texture) Please try this first and directly use the facial part of the transferred texture to replace your current one (a facial mask is needed for combination). Hi, I am back here again(LOL!). I just don't konw how to use this emoca smplx texture. As you mentioned use the facial part of the transferred texture to replace your current one , is this part in EMOCA? Looking forward to your reply, thanks a lot! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

In DECA data files, I find the uv mask and uv eyes mask as following present:

How can i get the uv mask in this part:

And is a facial mask and obtain with emoca*mask + projct*(1-mask).  refer to the 2D face mask like face parsing method do or some other method?

I found that i forgot to upload a facial only mask. As an alternative solution, you can use the mask editor tool in gradio demo to manually paint the area need to be replaced.
--------------原始邮件--------------
发件人："WenLi @.>;
发送时间：2024年11月12日(星期二) 凌晨1:40
收件人："ZhanxyR/SHERT" @.>;
抄送："Xiaoyu Zhan @.>;"Comment @.>;
主题：Re: [ZhanxyR/SHERT] My Own image inference (Issue #3)
Just use the emoca's face to replace the projected texture image. You can use any method to generate a facial mask and obtain with emocamask + projct(1-mask). The facial uv mask in data/mask can also be used for combination.
…
--------------原始邮件-------------- 发件人："WenLi @.>; 发送时间：2024年11月12日(星期二) 凌晨0:43 收件人："ZhanxyR/SHERT" @.>; 抄送："Xiaoyu Zhan @.>;"Comment @.>; 主题：Re: [ZhanxyR/SHERT] My Own image inference (Issue #3) ----------------------------------- Hi, have you used the flame_to_smplx function to transfer the EMOCA's FLAME texture map to SMPLX format? (do not forget to provide the var flame_texture) Please try this first and directly use the facial part of the transferred texture to replace your current one (a facial mask is needed for combination). Hi, I am back here again(LOL!). I just don't konw how to use this emoca smplx texture. As you mentioned use the facial part of the transferred texture to replace your current one , is this part in EMOCA? Looking forward to your reply, thanks a lot! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
In DECA data files, I find the uv mask and uv eyes mask as following present:
image.png (view on web)
How can i get the uv mask in this part:
image.png (view on web)
And is a facial mask and obtain with emocamask + projct(1-mask).  refer to the 2D face mask like face parsing method do or some other method?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

emocamask + projct(1-mask)

Really thanks for your guidance very much!! I finally made it. But it is very instrested that, when the hand is hanging down by the sides of the thighs, the cloth texture is mismatched with the hands.

What the specific reason caused this phenomenon？

There are mainly two reasons that may lead to such situations. If it occurs during projection, the reason could be that the predictd SMPLX is not aligned with the image well. Or if it occurs after inpainting, the reason could be that there remained only a little skin in the arm part, so the diffusion miatakenly transferred the leg's pattern to the arms.
Inpaint the incorrect part with specific prompts may have improvements. But i'm afraid, in your case, it's a little hard since the most parts of texture in uv are consist by such pattern, while network refers more to the adjacent area and the correct arm info is really restricted. During my experiments, a small number of redraws with local mask is much better than one to inpaint whole area.
--------------原始邮件--------------
发件人："WenLi @.>;
发送时间：2024年11月12日(星期二) 凌晨2:48
收件人："ZhanxyR/SHERT" @.>;
抄送："Xiaoyu Zhan @.>;"Comment @.>;
主题：Re: [ZhanxyR/SHERT] My Own image inference (Issue #3)
emocaemocamask + projct掩模 + 项目(1-mask)（1面罩）
Really thanks for your guidance very much!! I finally made it. But it is very instrested that, when the hand is hanging down by the sides of the thighs, the cloth texture is mismatched with the hands.真的非常感谢你的指导！！我终于成功了。但非常令人困惑的是，当手垂在大腿两侧时，布料的质地与手不匹配。
image.png (view on web)image.png（在网页上查看）
What the specific reason caused this phenomenon？造成这种现象的具体原因是什么？
——
Reply to this email directly, 直接回复这封邮件，view it on GitHub在GitHub上查看, or ，或unsubscribe取消订阅.
You are receiving this because you commented.你收到这个是因为你发表了评论。Message ID: 消息ID:<ZhanxyR/SHERT/issues/3/2468823918<ZhanxyR/SHERT/issues/3/2468823918@@githubGitHub的.com>com >

There are mainly two reasons that may lead to such situations. If it occurs during projection, the reason could be that the predictd SMPLX is not aligned with the image well. Or if it occurs after inpainting, the reason could be that there remained only a little skin in the arm part, so the diffusion miatakenly transferred the leg's pattern to the arms.  Inpaint the incorrect part with specific prompts may have improvements. But i'm afraid, in your case, it's a little hard since the most parts of texture in uv are consist by such pattern, while network refers more to the adjacent area and the correct arm info is really restricted. During my experiments, a small number of redraws with local mask is much better than one to inpaint whole area.
…
--------------原始邮件-------------- 发件人："WenLi @.>; 发送时间：2024年11月12日(星期二) 凌晨2:48 收件人："ZhanxyR/SHERT" @.>; 抄送："Xiaoyu Zhan @.>;"Comment @.>; 主题：Re: [ZhanxyR/SHERT] My Own image inference (Issue #3) ----------------------------------- emocaemocamask + projct掩模 + 项目(1-mask)（1面罩） Really thanks for your guidance very much!! I finally made it. But it is very instrested that, when the hand is hanging down by the sides of the thighs, the cloth texture is mismatched with the hands.真的非常感谢你的指导！！我终于成功了。但非常令人困惑的是，当手垂在大腿两侧时，布料的质地与手不匹配。 image.png (view on web)image.png（在网页上查看） What the specific reason caused this phenomenon？造成这种现象的具体原因是什么？ —— Reply to this email directly, 直接回复这封邮件，view it on GitHub在GitHub上查看, or ，或unsubscribe取消订阅. You are receiving this because you commented.你收到这个是因为你发表了评论。Message ID: 消息ID:<ZhanxyR/SHERT/issues/3/2468823918<ZhanxyR/SHERT/issues/3/2468823918@@githubgithub的.com>com >

Very thankful, I 'll reading the coding carefully to learn more. Thank you for your valuable advice. Best wishes~

If the predicted SMPLX does not fit the human shape in image well, it will cause such mismatch since the partial texture is obtained by the image projection. Our reconstruction will both consider the input detailed mesh and the SMPLX.
And sorry about that I'm not sure what does 'Actually the texture is positive for the next texture inpaiting? If I use the output mesh and fitted smpl from ECON(way1:python -m apps.quick_demo), what the specific mesh.' means.

If the predicted SMPLX does not fit the human shape in image well, it will cause such mismatch since the partial texture is obtained by the image projection. Our reconstruction will both consider the input detailed mesh and the SMPLX.
And sorry about that I'm not sure what does 'Actually the texture is positive for the next texture inpaiting? If I use the output mesh and fitted smpl from ECON(way1:python -m apps.quick_demo), what the specific mesh.' means.

Sorry for confusion the concept, I understand your reponse. I've tried 5 single image to recontruct the impainted texture mesh, but nearly all image are texture-mismatched. So, I am concerned if I use the code uncorrected. I am intented to compare this method to some single image body reconstruction  methods like TeCH、SITH.
By the war ,can I repose the mesh to A-star pose? How can I do that? Thanks for your reply!

Oh, I see. ECON will crop the input image. It may also lead to such mismatch. I think it's better to use the processed image or do not use the image crop.

To repose the generated mesh, you can check here.


pydantic doesn't appreciate property setters

pydantic doesn't like setters on properties
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.8.2
            pydantic compiled: False
                 install path: C:\Users\...\src\pygasus\pyenv\Lib\site-packages\pydantic
               python version: 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:05:41) [MSC v.1929 32 bit (Intel)]
                     platform: Windows-10-10.0.19042-SP0
     optional deps. installed: ['typing-extensions']

pydantic seems to tolerate read-only properties on model objects.  However, setters pose an additional challenge.  Although I know they could possibly conflict with pydantic fields, properties (including writable properties) do have their advantages in Python, so using both would be great!
from pydantic import BaseModel

class User(BaseModel):
    last_name: str
    first_name: str
    @property
    def full_name(self):
        return f"{self.first_name} {self.last_name}"
    @full_name.setter
    def full_name(self, full_name):
        self.first_name, self.last_name = full_name.split()

user = User(first_name="Vincent", last_name="lg")
print(user.full_name)
user.full_name = "Alex LG"

Error output
The last line raises this exception:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\...\src\pygasus\pyenv\lib\site-packages\pydantic\main.py", line 422, in __setattr__
    raise ValueError(f'"{self.__class__.__name__}" object has no field "{name}"')
ValueError: "User" object has no field "full_name"

Is there a quick workaround?  I couldn't find any information on this topic... except code that didn't work.
Thanks,

Hi @vincent-lg, you may use JSONClasses. It supports ORM and calculated getters and setters.

It seems that pydantic cannot be used with descriptors.
from pydantic import BaseModel

class User(BaseModel):
    last_name: str
    first_name: str

    @property
    def full_name(self):
        return f"{self.first_name} {self.last_name}"

    @full_name.setter
    def full_name(self, full_name):
        self.first_name, self.last_name = full_name.split()

user = User(first_name="Vincent", last_name="lg")

type(user).__dict__['full_name'].__get__(type(user)) # AttributeError: type object 'User' has no attribute 'first_name'

Had the same problem (#3663), still an issue in pydantic 1.9.0

I found this: https://github.com/justengel/pydantic_property
Would be nice if this was fixed though.

Pydantic V2 has much better support for @proprty on models (as well as computed fields!!). This example works great in V2:
from pydantic import BaseModel

class User(BaseModel):
    last_name: str
    first_name: str

    @property
    def full_name(self) -> str:
        return f"{self.first_name} {self.last_name}"

    @full_name.setter
    def full_name(self, full_name: str) -> str:
        self.first_name, self.last_name = full_name.split()

user = User(first_name="Vincent", last_name="lg")
print(user.full_name)
user.full_name = "Alex LG"

Since this is fixed in V2 and unlikely to be backported to V1, I'm closing this as completed. Please re-open if you have any more questions.


Configuration changes in 2.0

Affects fundamentals/configuration.md and others.
Document Options 2.0 changes #3469

Hi all.
I created project from web template (Asp.Net core 2.0) and found that signature of Startup constructor was changed. Now it receives IConfiguration instead of IHostingEnvironment. Can you reference me to the document with best practice how to  add UserSecrets to the configuration.
Thanks.

@rachelappel There's a question that's come up while I was working these config samps. Not working this topic; just updating the samps to 2.0 on PRs: #4197, #4198, #4199, #4200, #4201, #4205, #4206, #4207 (all to address getting rid of dnxcore50 on #1950) ... and three upcoming PRs on Tue 9/5 (no dnxcore50, but I may as well ... I'm on a roll! :smile:). One sample, IOptionsSnapshot2 is outside of the src folder. Not sure why that was placed there, but it's also unclear if you want to move all of the samps out of src and into the sample folder. I'll (quickly) get the samps updated, then get out of your way here.

[Dots indicate orphaned samps that are slated for obliteration.]

@guardrex @rachelappel I recommend moving all the sample code under "sample" and deleting the "src" folder. The "src" folder was used in VS 2015 project templates. Since it isn't used in the VS 2017 project templates, it's probably best to move away from it.

Very good. There was one other one in my batch for #1950 that had has an (unnecessary) src+test folder layout. IIRC the test projects are well-named, so they can sit in the sample folder next to the project folder. I've made a note here to circle back around to it.
This batch is a little different in that the src folder holds completely separate projects ... not test vs. app ... so yeah ... it makes very little sense here at all, even under VS2015.
I'll take care of the other one, but I'll leave these Configuration projects in the src to be worked on this PR.
There are three here that need upgrade to 2.0, and I'll get them today right after I get back from the 💪 gym and a quick 🚴 bike ride.

Cross-ref: https://github.com/aspnet/Configuration/issues/728
... but it isn't 100% clear if this the tracking topic for ALL configuration topic updates for 2.0 (e.g., ConfigureAppConfiguraton).

@guardrex I'll be adding a small section to the existing migration doc to outline ONLY major breaking changes. (see issue https://github.com/aspnet/Docs/issues/4277). This issue should remain open, and the resulting doc should serve as a much more detailed reference.

@rachelappel I'm looking at https://github.com/aspnet/Docs/issues/1382 and wondering if you think I have time to sneak a quick-ish (24-48 hours) PR in there to cover that before you go to work on this issue?

@guardrex  Yep. I am working on another issue at the moment and have another I can bump up in the queue in the meantime so no problem there.

@scottaddie Ok with you? ... kills two :bird: :bird: ... that issue and wraps up https://github.com/aspnet/Docs/issues/2409. Be nice if [@]Rick-Anderson comes back to fewer issues than he left (if that's possible lol).

@guardrex Sounds good to me!

@rachelappel Update on https://github.com/aspnet/Docs/pull/4307 The work is done ... just waiting on review. I'll jump on feedback asap to get out of your way here.

@Rick-Anderson Since options are part of the config topic and probably will be addressed at the same time, should #3469 be closed and tracking that work be done over here?


Not found in marketplace error in VSCodium - Why?

I installed Volar from Open VSX Registry on VSCodium. The moment it finished installing, I got this error: The 1 extension(s) below, in workspace recommendations have issues: vue.volar (not found in marketplace). Why? Thank you.

If I search for Volar on VSCodium I get this extension:

It's not maintained buy Vue and I think it searches for the Volar from Vue. This extension is also outdated, it seems.

Hi there, at Open VSX, we're working on fixing this (see https://github.com/open-vsx/publish-extensions/pull/626).
It would be really great if @johnsoncodehk and the team could consider publishing to Open VSX directly to prevent issues like this in the future 🙏. I would love to assist with the process if needed.

linking https://github.com/johnsoncodehk/volar/pull/1255

Resolved by #1255


tcas not accounting for LaTeX size when taking you to a post

before yeah edited his pagebreaking post, it messed with the site taking you to the correct post since the site didn't account for the size of the latex.

My thought for a fix for this is to wait until after the latex is rendered (not sure if MathJax has a signal or if we just need a fractional second delay), and then jump to wherever the post ID is afterwards.


Bump CLI to 13.0.0

Summary:
Updates the RN CLI to v13.0.0, which targets main and future 0.74
Changelog:
[GENERAL] [CHANGED] - Bump CLI to v13.0.0
Test Plan:

Since this update targets main branch, we created a new major version 13.x to disambiguate from 12.x which is intended for 0.73 release.


chore(Archive): remove most bare open Classical

A few files remain, which use it pretty pervasively: I was not sure if removing it there would have been an improvement.

Thanks! :tada:
bors merge


[ci skip] adding user @mukhery

Hi! This is the friendly automated conda-forge-webservice.
I've added user @mukhery as instructed in #31.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #31

Resolved with #33


Native swapchain on Mac/GL with a custom layer

@mstange got a CA layer implemented for GL that manages and presents IOSurface objects. We could technically get this as a WSI layer on Mac/GL that has little friction with Vulkan API (unlike the regular GL framebuffer stuff).
https://github.com/mstange/core-animation-opengl-two-windows
@ZeGentzy any thoughts on that? Maybe you've already got this covered, I just don't know the current state of GL backend very well.

I got no familiarity with OSX. Know nothing about this.

I'm thinking of dropping macOS support from OpenGL completely, see #3468


Unhandled exception

Hello, I just installed SoundFlower and Soundcast as mentioned in the README, but forgot that I did not install the Google Cast extension through Chrome, and after that done, it works perfect.
The only comment I would do is to find a way to detect such misconfiguration and indicating it at some point, because here, before installing Google Cast, the app was showing me a JS exception stacktrace in the "Cast To" contextual menu, which I believe would not mean anything for non-developer users.
A pretty error message instead would be less confusing probably.
And thanks for this app it works great!

Oh and also some icons look pixelized on Retina displays

Hmm it seems actually that this error is not related to the fact, as I described above, that I hadn't Google cast installed, since the exceptions happened again while I had Google cast installed.
For the record, here is what it looks like :

After a restart of the app it worked again though. If you have an idea of what could have caused this I would be curious to know.

I get a similar error now and then.

Hello @newkek and @TapaniTseni,
This looks like an error happening in the mdns submodule when using it to search for available Chromecasts. I'll take a look at it a try to find a solution. If you want to help too, you're 100% encouraged.
Thank you very much for your feedback!


following the instructions gives the error that the current tenant isnt authorized for the subscription that is hosting the image

When using Azure CLI inside azure Devops and following the steps in this document im getting the following error:
however the current tenant '***' is not authorized to access linked subscription

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

ID: a777eea0-acf4-6f1d-9e56-e6069dddc577
Version Independent ID: d858a0bd-ec1c-4e32-e1d1-784feecd57c0
Content: Share gallery images across tenants - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/share-images-across-tenants.md
Service: virtual-machines
Sub-service: gallery
GitHub Login: @cynthn
Microsoft Alias: cynthn

It looks that this workaround is just not possible in combination with az deployment. / arm templates.
That kind of defeats the purpose for us as we are using bicep to manage our customer environments at scale.
I really hope there will be a better way to do is because right now we simply cant use gallery images.

#please-close This article has been retired. A Direct Shared gallery is a better option for sharing across tenants: https://docs.microsoft.com/en-us/azure/virtual-machines/azure-compute-gallery#sharing


error - related to I/O API MXFILE3 = 64 open file limit when testing CMAQ_DDM

Obtained this error when testing a run of CMAQ v5.2 DDM at UNC
Compiler: gcc   (on UNC systems used command module load openmpi_gcc/4.8.1)
I/O API version: 3.1
 >>--->> WARNING in subroutine OPEN3     Could not open S_CGRID         Maximum number of files already have been opened.
     *** ERROR ABORT in subroutine WR_CGRID on PE 000
     Could not open S_CGRID file
     Date and time 0:00:00   July 2, 2011   (2011183:000000)
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 32767.

Work around:
Reduced the number of files opened by changing the following settings in the run script.
(These settings also matched the run script run.ddm.cmas provided by Sergei)
setenv CTM_ABFLUX N
setenv CTM_GRAV_SETL N

Proposed fix:
Recompile I/O API with a larger MXFILE3 setting

Sounds good Liz. Then do we have to tell every user to do this as well?

Yes - if they obtain the same error, this would be a workaround.  It may be too much to ask for folks to recompile the ioapi library.  I haven't tried this myself.

A DDM run I set up returned the same error "Could not open A_SENS_1 Maximum number of files already have been opened."  Neither the workaround nor recompiling ioapi would fix the problem.  MXFILES3 has been increased to 64, 256, and 1024 but the same error persisted.  What other changes need to be made in order to fix the problem?  Also, is there a way to know the number of files ioapi has open?
compiler: pgi version 16.9, ioapi 3.1, netcdf 3.6.3.  Regular CMAQ5.2 run (without DDM) and DDM with CMAQ5.0.2 did not have this problem with "max files open".
Jin

There is a now an I/O API version 3.2 "large" that is designed for applications with a large number of model output files (e.g. utilizing all of CMAQ's optional diagnostic output files) and/or a large number of model variables (e.g. CMAQ-HDDM or CMAQ-ISAM applications). I/O API v3.2-large increases the MXFILE3 variable from 64 to 512 and increases the MXVARS3 varialbe from 2048 to 16384. This version is available as a zip file from the following address:
https://www.cmascenter.org/ioapi/download/ioapi-3.2-large.tar.gz
Installation instructions for I/O API v5.3-large are provided in README.txt in the .tar.gz file.


Support gradle multi-project

Signed-off-by: civitaspo<EMAIL_ADDRESS>Fix https://github.com/github/licensed/issues/301
This PR supports gradle projects with multi-project configuration. The settings.gradle defined in the project was ignored when executing printDependencies, which is a task to output dependencies, so it is now used. Running a Gradle Task without settings.gradle in a project that defines settings.gradle could lead to unintended behavior, so this fix ensures that Gradle Tasks run correctly. Just to make sure that backwards compatibility is not broken, I've tested this on a few projects I manage and found no change in behavior. The support for build.gradle.kts and settings.gradle.kts written in Kotlin mentioned in https://github.com/github/licensed/issues/301 will be done in the next PR after this PR is merged.

@jonabc I will try to add some test cases. This is going to be a bit of a big pull request as there is currently no code to test the behavior of gradle itself. I'll probably add some gradle projects to the repository for testing.

@jonabc Thanks for taking care of it. Test / gradle (11) (pull_request) still haven't passed, so I'll need to fix that a bit more. I've been busy with work and haven't had time to fix it, so please wait a little longer.

@civitaspo no problem at all, I'm just checking in from time to time to see how things are going since I don't have much experience in the problem space 😄

closing this PR, multi-project support was implemented in https://github.com/github/licensed/pull/583


[full-ci] Postprocessing Bulk restart

Allows restarting all uploads currently in a specific postprocessing step

Need to adjust MOVE related API test expectations again. I could have pushed the changes but the PR is from the fork

I added you to the fork. Can you accept the invite and retry?

Need to adjust MOVE related API test expectations again. I could have pushed the changes but the PR is from the fork

Thanks, I will push the test changes

Updated the tests. :+1: from the CI. :sparkles:


Testing VotingPeriod update

An idea thats been floating with lots of support on commonwealth is raising the voting period from 3 days to 5 days. Unfortunately the blocker for this going on-chain is testing that a voting length increase breaks nothing on testnet. I view what we need to test to ensure this works as follows:
For simplicity, lets say that voting period I start with is 5 minutes, and then I go to 20 minutes. (Can do whatever times)
At voting period of time T, pre-upgrade:
(1) Have a proposal thats already finished voting > 20 minutes ago.
(2) Have a proposal thats already finished voting, but under 15 minutes ago.
(3) Have a proposal thats in voting
(4) have a proposal thats in deposit phase.
Do parameter change proposal to 20 minutes. (2) at time of param change should be through voting, but not 15 minutes through voting.
Check that:

Prop 1's end voting time did not change
Prop 2's end voting time did not change / its decision is final. Check again on this once its 20 min passed prop creation
See what happens with prop 3, does voting end time change or no? Does it end when voting end time says it'll end / is there any oddities
Move prop 4 to voting, see what its end time is. Double check that it ends when it says it should
Try making a new prop (5), and just double check it has 20 minutes as voting period, and it ends in 20 minutes

Is the issue or concern here that increasing the voting period slightly would impact proposals that in the current voting period?

TLDR: All checks out, we should be good to make this param change in prod.

I tested the following using the local multinode script. The only thing I started off differently with was initial voting time to 300 seconds (5 minutes). @ValarDragon If you are happy with the following testing and have no further edge cases, you can close the issue and I will kill the VM.
Commands / Sequence
Prop 1: Set max validators to 110
osmosisd tx gov submit-proposal param-change proposal1.json --from validator1 --keyring-backend=test --home=$HOME/.osmosisd/validator1 --chain-id=testing -b block --yes
osmosisd tx gov deposit 1 10000000uosmo --from=validator1 --keyring-backend=test --chain-id=testing --broadcast-mode=block --yes --home=$HOME/.osmosisd/validator1
osmosisd tx gov vote 1 yes --from=validator1 --keyring-backend=test --chain-id=testing -b block --yes --home=$HOME/.osmosisd/validator1
osmosisd tx gov vote 1 yes --from=validator2 --keyring-backend=test --chain-id=testing -b block --yes --home=$HOME/.osmosisd/validator2

Waited 20 minutes. Prop 2: Set max validators to 120.
osmosisd tx gov submit-proposal param-change proposal2.json --from validator1 --keyring-backend=test --home=$HOME/.osmosisd/validator1 --chain-id=testing -b block --yes
osmosisd tx gov deposit 2 10000000uosmo --from=validator1 --keyring-backend=test --chain-id=testing --broadcast-mode=block --yes --home=$HOME/.osmosisd/validator1
osmosisd tx gov vote 2 yes --from=validator1 --keyring-backend=test --chain-id=testing -b block --yes --home=$HOME/.osmosisd/validator1
osmosisd tx gov vote 2 yes --from=validator2 --keyring-backend=test --chain-id=testing -b block --yes --home=$HOME/.osmosisd/validator2

Waited for 5 minutes to pass. Initialize but do not start Prop 3: Set max validators to 130.
osmosisd tx gov submit-proposal param-change proposal3.json --from validator1 --keyring-backend=test --home=$HOME/.osmosisd/validator1 --chain-id=testing -b block --yes

Leave Prop 4: Set max validators to 140 in deposit period
osmosisd tx gov submit-proposal param-change proposal4.json --from validator1 --keyring-backend=test --home=$HOME/.osmosisd/validator1 --chain-id=testing -b block --yes

Prop 5: Set voting time from 300s to 1200s
osmosisd tx gov submit-proposal param-change proposal5.json --from validator1 --keyring-backend=test --home=$HOME/.osmosisd/validator1 --chain-id=testing -b block --yes
osmosisd tx gov deposit 5 10000000uosmo --from=validator1 --keyring-backend=test --chain-id=testing --broadcast-mode=block --yes --home=$HOME/.osmosisd/validator1
osmosisd tx gov vote 5 yes --from=validator1 --keyring-backend=test --chain-id=testing -b block --yes --home=$HOME/.osmosisd/validator1
osmosisd tx gov vote 5 yes --from=validator2 --keyring-backend=test --chain-id=testing -b block --yes --home=$HOME/.osmosisd/validator2

Wait 2 minutes, then get Prop 3 voting to start.
osmosisd tx gov deposit 3 10000000uosmo --from=validator1 --keyring-backend=test --chain-id=testing --broadcast-mode=block --yes --home=$HOME/.osmosisd/validator1
osmosisd tx gov vote 3 yes --from=validator1 --keyring-backend=test --chain-id=testing -b block --yes --home=$HOME/.osmosisd/validator1
osmosisd tx gov vote 3 yes --from=validator2 --keyring-backend=test --chain-id=testing -b block --yes --home=$HOME/.osmosisd/validator2

Checks
Prop 1's end voting time did not change
Did not change.
Prop 2's end voting time did not change / its decision is final.
Did not change. The only thing I sadly realized after all the tests was the following props overrided this prop so the 20 minute check wasn't checked. I can re-run with a separate param change if this is something we want to ensure.
See what happens with prop 3, does voting end time change or no?
Voting time starts off at 5 minutes. Once prop 5 passes, the end time stays at 5 minutes. When 5 minutes pass, prop does in fact execute.
Move Prop 4 to voting. See what its end time is. Double check that it ends when it says it should
End time is 20 minutes. When greater than 5 minutes passes, checked param, did not change. When 20 minutes goes by, checked param, changed as expected.
Make Prop 6, just double check it has 20 minutes as voting period, and it ends in 20 minutes
Has 20 minute voting period and behaves as expected.
Files
proposal1.json
{
  "title": "Staking Param Change",
  "description": "Update max validators",
  "changes": [
    {
      "subspace": "staking",
      "key": "MaxValidators",
      "value": 110
    }
  ]
}

proposal2.json
{
  "title": "Staking Param Change",
  "description": "Update max validators",
  "changes": [
    {
      "subspace": "staking",
      "key": "MaxValidators",
      "value": 120
    }
  ]
}

proposal3.json
{
  "title": "Staking Param Change",
  "description": "Update max validators",
  "changes": [
    {
      "subspace": "staking",
      "key": "MaxValidators",
      "value": 130
    }
  ]
}

proposal4.json
{
  "title": "Staking Param Change",
  "description": "Update max validators",
  "changes": [
    {
      "subspace": "staking",
      "key": "MaxValidators",
      "value": 140
    }
  ]
}

proposal5.json
{
  "title": "Gov Param Change",
  "description": "Update voting period",
  "changes": [
    {
      "subspace": "gov",
      "key": "votingparams",
      "value": { "voting_period": "1200000000000" }
    }
  ]
}

proposal6.json
{
  "title": "Staking Param Change",
  "description": "Update max validators",
  "changes": [
    {
      "subspace": "staking",
      "key": "MaxValidators",
      "value": 160
    }
  ]
}

Is the issue or concern here that increasing the voting period slightly would impact proposals that in the current voting period?

Yeah that was the exact concern. Since all parameter validation in the SDK is stateless atm, I want to be extra-careful around us ensuring on a testnet that the param change won't break things! (We already bricked govenrance once 😅 )

Awesome! Thank you so much for testing this adam!


[Bug Report] Selects don't open correctly when placed inside sticky blocks that are at the bottom of the viewport with Chrome

Element UI version
1.3.7
OS/Browsers version
Ubuntu 17.04, Chrome 59.0.3071.115 (Official Build) (64-bit)
Vue version
2.3.4
Reproduction Link
https://jsfiddle.net/yosn38tq/
Steps to reproduce
Place a select or paginator with built-in select within a sticky container (position: sticky) and place the container at the bottom of the viewport (bottom: 0).
Open the select.
What is Expected?
The select should open upward as it does when placed in a non-sticky container when there is not enough room below the element
What is actually happening?
The select opens downward and the options are invisible in Chrome. The error does not occur with Firefox 54.0.

It seems Chrome has fixed this.


Can't unlock chair 8

After you buy 7 the upgrade shop will say all have been purchased.

Fixed in b34659d0e53eb0095492b310a355321e5af51885


combined M/EEG and apply_inverse and extract_label_time_course

Hi all,
I have a brief question about how apply_inverse and extract_label_time_course handle combined M/EEG data. Are the source estimates a combination of the MEG and EEG data, or based only on the MEG data?
The epochs used in the forward model contain mag/grad and EEG channels.
Thank you,
Sam

it's combined so inverse pb is done jointly with all available channels. It's made possible by the whitening step. See for example https://www.ncbi.nlm.nih.gov/pubmed/25541187 and https://hal-imt.archives-ouvertes.fr/hal-01183551/document

Thank you very much. I did not realize this; I hope it is okay that I ask a follow-up question. To provide some background: I have M/EEG (tSSS'd) data + structural MRIs of children with many epochs (~800-900). I expect the noise to be heteroscedastic. I am using MNE to extract the current values and dSPM for visualization.

The epochs used to estimate the covariance matrix are already tSSS'd, and artifacts are rejected with ICA. I have been using the Shrunk method, but I was wondering if I should use FA instead?

I appreciate any help you can provide!
Best,
Sam

please the mailing list
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
and not the issue tracker to ask your questions.
To know if you should use FA or Shrunk just use the builtin
cross-validation procedure.
That's the whole point of our work with @dengemann to automate this decision.

Apologies. Will do, thank you.


Carla cannot load Town01 (Ubuntu - carla_0.9.5)

I have been using the documentation to load the maps that come with carla with the command
$ ./CarlaUE4.sh /Game/Maps/Town01
and I get the following message
"The map specified on the commandline '/Game/Maps/Town01' could not be found. Would you like to load the default map instead?"

image of error: https://imgur.com/a/kZh6MPY

I just downloaded the carla 0.9.5 release and I have not moved any of the maps around
I tried to access the map using another directory path which seems to be more accurate
$ ./CarlaUE4.sh /CarlaUE4/Content/Carla/Maps/Town01.umap
but this just resulted in the a segmentation fault.
Can someone explain how to run Town01 or any map from the 0.9.5 build? I'm really lost.
Thanks!

Try ./CarlaUE4.sh /Game/Carla/Maps/Town01

Yep, that worked. Thanks for the quick fix!

Try ./CarlaUE4.sh /Game/Carla/Maps/Town01

hi bro, I'm also meeting this question too.
but Carla couldn't find maps directory in 0.8.4 in ubuntu , do u had met this problem before?
waiting for u reply and more than appreciated for it.


Update config to fix builds

Builds were failing using the docker-compose of the repository, because the config file was not up to date.

I tested it and now my build envs are working.
Thanks @pierrotsmnrd


0.5.0 release?

Time for a new release? There's a lot of good stuff in the "unreleased" section of the change log! :-)

I wonder if the rebranding from presslabs to bitpoke is slowing this down, was there an announcement about this that I missed?

Hi! We are indeed in the process of completing a transition for the operator and other projects to a new home. It will take a few more days for the process to complete and also for the announcement, so thank you for your patience!

Thank you @milero -- we're super looking forward to proper mysql 8.0 support!


Use custom Strapi Admin URL suffix instead of /admin

Is your feature request related to a problem? Please describe.
By default, when starting project in dev mode, the Strapi Admin Url that is shown in console is http://localhost:1337/admin/.
However, admin URL can be customized / different in Strapi (ex : http://localhost:1337/dashboard/).
Describe the solution you'd like
Add option to customize Strapi Admin URL suffix

I fixed it for myself 😄
You have to edit a view files.
in<EMAIL_ADDRESS>
add admin: "/admin", to the defaults section:

  defaults: {
    url: process.env.STRAPI_URL || "http://localhost:1337",
    prefix: "/api",
    admin: "/admin",
    version: "v4",
    cookie: {},
    auth: {},
    cookieName: "strapi_jwt",
    devtools: false
  }

change: const adminUrl = joinURL(nuxt.options.runtimeConfig.public.strapi.url, "/admin/");
to: const adminUrl = joinURL(nuxt.options.runtimeConfig.public.strapi.url, nuxt.options.runtimeConfig.public.strapi.admin);

in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Edit the interface ModuleOptions.
add:
/**
* Strapi Admin Prefix
* @default '/admin'
* @type string
*/
admin?: string;

in nuxt.config.ts add admin: '/dashboard',  to the strapi section:
strapi: {
  url: process.env.STRAPI_URL || 'http://localhost:1337',
  prefix: '/api',
  admin: '/dashboard',
  version: 'v4',
  cookie: {},
  cookieName: 'strapi_jwt',
  devtools: true
},

Restart both your strapi backend and your nuxt frontend. Now you can use a custom admin url and you'll be able to run the strapi dashboard in NuxtDevtools

Oh thank you very much ?
Do you want to send a PR for this ? Or can I do it for you ?

Go ahead and do it 😄

You did the PR 👍🏽

@Striffly congrats! It got merged 🥂  😄


chore(deps)/drop-apollo-server+typesnode

Drop apollo-server from peerDependencies in benefit of apollo-server-core/apollo-server-types.
Every apollo-server-* extension relies on apollo-server-core.
apollo-server is not used by apollo-server-koa for example.

Also drop unnecessary @types/node

Codecov Report

Merging #177 (86f04a5) into main (9203f6b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #177   +/-   ##
=======================================
  Coverage   98.75%   98.75%
=======================================
  Files          16       16
  Lines         241      241
  Branches       54       54
=======================================
  Hits          238      238
  Misses          3        3

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Reading manufactured data giving raw bytes

I am reading advertisement packet and sometime it gives me raw packet. when i connect to Ble and after disconnection i changed the manufacturer packet information. but on the application side i have to scan it again for the reading of new advertisement packet information and it gives me raw data most of the time.

can you provide example code? I do not understand what the issue is.


IP Priority TOS support

Need support to update TOS values from 0-7
As of now, DSCP supports values 0, 8, and above. As per the sonic test case, have to update the TOS value from 0 to 7
Sonic Test cases:
On SONiC DUT configure the following:
Enable watchdog with default storm detection time (400ms) and restoration time (2sec).
Configure a single lossless priority value Pi (0 <= i <= 7).
To minimize configuration complexity, it is recommended that the SONiC DUT be configured as either Top of Rack (ToR) or Tier 0 (T0) switch with three VLAN interfaces.
Configure following traffic items on the Keysight device:
Traffic 1<->2 : Bi-directional traffic between Keysight port 1 and port 2, with DSCP value mapped to lossless priority Pi configured in the DUT. Traffic Tx rate should be configured as 50% of line rate.
Traffic 2<->3 : Bi-directional traffic between Keysight port 2 and port 3, with DSCP value mapped to lossless priority Pi configured in the DUT. Traffic Tx rate should be configured as 50% of line rate.
PFC pause storm: Persistent PFC pause frames from Keysight port 3 to et3 of DUT. Priority of the PFC pause frames should be same as that configured in DUT and the inter-frame transmission interval should be lesser than per-frame pause duration.

This has been modeled and needs to be implemented.


Remove deprecated qiskit.algorithms module

Summary
This PR partially addresses #10991 by removing qiskit.algorithms and test.python.algorithms, updating the related sphinx references, and removing the API reference entry.
Details and comments
This is PR # 2 of the "Opflow & Algorithms deprecation series", it is on hold until #11099  is merged, and blocks the opflow removal PR (#11111).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 15 (93.33%)  changed or added relevant lines in 2 files are covered.
380 unchanged lines in 34 files lost coverage.
Overall coverage decreased (-1.1%) to 85.836%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/transpiler/synthesis/aqc/aqc.py
10
11
90.91%

Files with Coverage Reduction
New Missed Lines
%

qiskit/circuit/library/blueprintcircuit.py
1
92.24%

qiskit/circuit/library/evolved_operator_ansatz.py
1
85.12%

qiskit/opflow/state_fns/operator_state_fn.py
1
80.22%

qiskit/opflow/state_fns/state_fn.py
1
81.88%

qiskit/primitives/utils.py
1
87.34%

qiskit/providers/backend.py
1
81.76%

qiskit/providers/basicaer/basicaerprovider.py
1
94.34%

qiskit/quantum_info/operators/symplectic/pauli_list.py
1
83.16%

qiskit/quantum_info/operators/symplectic/pauli.py
1
83.47%

qiskit/quantum_info/operators/symplectic/random.py
1
96.97%

Totals

Change from base Build<PHONE_NUMBER>:
-1.1%

Covered Lines:
65414

Relevant Lines:
76208

💛  - Coveralls

What is the intent to deal with qiskit/utils/validation.py. That was used by algorithms and some apps (not sure about opflow). Maybe it needs to stay for 0.46 given it was overlooked when the algorithms&opflow were initially deprecated. It presumably does vanish for 1.0 which this PR is labelled for.

What is the intent to deal with qiskit/utils/validation.py. That was used by algorithms and some apps (not sure about opflow). Maybe it needs to stay for 0.46 given it was overlooked when the algorithms&opflow were initially deprecated. It presumably does vanish for 1.0 which this PR is labelled for.

I was planning to remove the deprecated utils (validation and algorithm globals) in a follow-up PR, I don't remember the exact reason why I didn't do it all at once, but I remember trying and concluding that it would be difficult before the opflow removal. So the plan is to merge this PR, then #11111 and finally the PR deleting these utils you mentioned.


Prints out attributes hash, even on objects with overridden #to_s and #inspect

In Rails, if I have a model with an overridden to_s and inspect, and I use AwesomePrint.irb in console, it correctly prints my overridden string, but then it appends the object's attributes to the end of it. This is pretty annoying - Is this expected behavior?

Hi,
I also experienced this with an object that inherits from Struct.
The object had to_s, inspect and pretty_print methods defined but it was still displayed as a Struct.
I know too little about how the gem works but I'd be happy if it respected inspect or at least pretty_print methods defined on a class itself.

After playing with this locally I managed to make awesome_print respect the inspect method defined on a class inheriting from Struct.
Here's the example class and a "fix":
class SomeClass < Struct.new(:var)
  def inspect
    "SomeClass #{some_method}"
  end

  def some_method
    var.to_s + foo
  end
end

# lib/awesome_print/formatter.rb
def awesome_struct(s)
  # inspect method must be defined on an object itself
  if s.public_methods(false).include?(:inspect)
    s.inspect
  else
    hash = {}
    s.each_pair { |key, value| hash[key] = value }
    awesome_hash(hash)
  end
end

I know too little about the project to think this is a valid solution. But if you think this might be okay, I'd be happy to work on proper implementation (tests, making sure it works on older ruby versions).

I think we should be able to define our own inspect and have awesome print use that.  If that's not considered reasonable, perhaps AP could check if an object responds to awesome_inspect or something that we could return whatever we want.

+1. Bummed that there's no way to customize display of my Structs.


fix: Failed to analyze an event whose lastTimestamp is null

ISSUE TYPE

Bug fix Pull Request

SUMMARY
The lastTimestamp field of the event is sometimes null and sometimes not empty, but these are normal, just because the old and new APIS are called differently. So we need to add a judgment here, using the EventTime field if lastTimestamp is empty
Fixes https://github.com/infracloudio/botkube/issues/548

@PrasadG193  Could you help to review another PR? Thanks~


Live

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/connect-your-device/MBB.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/SoCsAndCustomBoards.md
:white_check_mark:Succeeded

windows-iotcore/windows-iot-enterprise.md
:white_check_mark:Succeeded

windows-iotcore/windows-iot.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Anthropic models

Anthropic has released the models for research, and has opened their code on GitHub:
https://github.com/anthropics/anthropic-sdk-python/blob/main/anthropic/tokenizer.py
In this repo, there's a link to a file:
CLAUDE_TOKENIZER_REMOTE_FILE = "https://public-json-tokenization-0d8763e8-0d7e-441b-a1e2-1c73b8e79dc3.storage.googleapis.com/claude-v1-tokenization.json"
Can this help in extending Tiktoken to support 'claude-v1' models?

Hi @enricoros!
Looking at the tokenizer.py file, it seems like they are using huggingface/tokenizer, which do already have NodeJS bindings: https://www.npmjs.com/package/tokenizers.
Here is an example code using huggingface/tokenizer:
const util = require("util");
const { Tokenizer } = require("tokenizers");

let tokenizer = Tokenizer.fromFile("claude-v1-tokenization.json");

const encode = util.promisify(tokenizer.encode.bind(tokenizer));
const decode = util.promisify(tokenizer.decode.bind(tokenizer));

async function main() {
  const encoded = await encode("Hello from Anthropic!");
  console.log({ encoded: encoded.getIds() });

  const decoded = await decode(
    encoded.getIds(),
    true // skipSpecialTokens: true
  );

  console.log({ decoded });
}

main();

However, it does seem that the huggingface/tokenizers have some issues with supporting newer NodeJS versions and/or arm64 support.
https://github.com/huggingface/tokenizers/issues/911

It's cool that afaict the core is also in rust?
I could see this following a similar pattern to what we have with tiktoken :D

Very interesting approach, and I love the playground too. Thanks for the update!
I believe this bug can be closed now, as you got it to work!


Expandable rows data being exported even with hiddenColumns

Hello, if you have a table with a table inside the expandable row it will get exported along the [0] column.
That means that if in the main table uses [hiddenColumns]='[0]' it will hide both the column 0 and the expandable row containing the mat table.
To make it clear, the structure is:
Mat Table (main)
|-->column 0
|-->column 1
|-->column 2
|-->column 3
|-->expandable column definition
-----|-->Mat-table (inside the expandable row)
----------|-->column 0
----------|-->column 1

Hello @MatiasProietti, thanks for reporting the issue, by any chance could you provide a stackblitz of what you are experiencing?

Hello! Thank you for answering so fast, here is a demo code that you can use. It doesn't have a table inside a table but still the bug is there: Export expandable rows bug. Everything seems to be fine but if you remove the [hiddenColumns]="[0]" you will get not only the column 0 but the expandable row data as well.
Also with [hiddenColumns]="[0]" you get blank rows between each data row in the exported file.

Hi again, although what you have demonstrated seems a buggy output it is actually an expected behavior. You are rendering an extra row for each row of your table which is the expandableness implementation. That row has one column and its column index is of course zero.  That's why [hiddenColumns]="[0]" is hiding it but since the expandable row is being rendered it ends up as a blank row in the exported file.
For now the easiest workaround to this could be unrendering the expandable row right before exporting the file and rendering it again when the export completed. However there could be a bug with exportComplete event #41. If you will use it you should use it by setting a timeout.

+1 I would also like to have the empty rows removed in the exported file when using expandableRows.

+1 I would also like to have the empty rows removed in the exported file when using expandableRows.


⚠ Minecraft has degraded performance

In d897123, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1401 ms

Resolved: Minecraft performance has improved in c243f5d.


Continuous playback does not work in background

In background, continuous playback does not chain medias automatically. This is probably due to the fact that timers are paused in background and do not fire, and probably is a consequence of the changes made to reduce player activity in background.
Issue type
Incorrect behavior
Environment information

Library version: 3.0.0 (probably affecting 2.0.0 as well)
iOS version: Any
Device: Physical

Reproducibility
Always reproducible
Steps to reproduce

Open the demo.
Enable continuous playback in the settings.
Play SRF audio example, seek near the end.
Send the app to the background. Playback does not continue. If you wake up the app, the countdown looks frozen, but if you wait playback continues automatically.

I investigated this issue.
When playback ends, the app is suspended since there is no active audio anymore. This is why the continuous timer does not fire until the app is woken up again.
I tried using the background processing capability and the associated API to ask for some more time. The notification is fired correctly, but playback does not start and remains paused in background.
I attempted to use an AVQueuePlayer to see whether queued items continue playing in the background, but this is not the case either.
We will have either to figure out a solution, or maybe to drop continuous playback in the background.

Rewriting SRG Media Player to support item enqueuing with a single controller would be a huge task. This would require us to store the media to be played with its context (initial position, segments, etc.), but also to add dedicated APIs to mange the queue itself (e.g. cancel playback of the current item and all remaining ones).
I verified that the issue we have with continuous playback is due to the fact that we are recreating an AVPlayer instance when after the current item has ended (AVPlayerItemDidPlayToEndTimeNotification). This is namely how SRGMediaPlayerController is implemented.
If we use an AVQueuePlayer instead and do not destroy the player, but only insert the new item after the first has ended (the same AVPlayerItemDidPlayToEndTimeNotification), playback will continue. Note that this only works if insertion is made directly, we cannot delay playback.
I therefore recommend the following strategy to ensure SRGMediaPlayerController can chain playback:

Use AVQueuePlayer instead of AVPlayer in SRG Media Player. Make the necessary adjustments so that the behavior stays the same.
In Letterbox, always immediately start continuous playback when in background. Document this new behavior.

As noted by @pyby, the above approach assumes we readily have the URL at the end of the first media. But with Letterbox, and if the controller does not fetch the next media in advance, the URL is not known directly, and can take some time to be retrieved with a network request.
Using AVQueuePlayer is probably the right way to go, but we definitely need a better strategy to chain medias.

A rough draft of what we could make:

SRG Media Player must be implemented with AVQueuePlayer. The player must be created once and for all at initialisation time, then reused with player item insertion.
An API must be added to prepare next items to be played directly after the current one. This means providing the full context (start position, user info, etc.).
At Letterbox level, we could implement a queue approach as well, or have a playlist service retrieve and prepare next item playback. If needed, we can perform background tasks to extend the liftetime in background, though I doubt this will be actually required (we can retrieve next media resource information while playing the previous media).

Anyway, this is no small task (and the above idea might probably need some thoughts).

Our SRF fellow colleagues found a workaround by registering a dummy remote control center command enabled at all times.
We should:

Integrate this fix in the service.
Build a LB demo.
Play some content on the device, close the player and check the command is still there after closing the player.
Let the device stay asleep for several hours on battery and check if the battery system reporting tool mentions a high background activity or not.

If the answer is negative we can then deliver this workaround officially in Letterbox.

Workaround works on iOS 16 beta 3.


Extra pair of braces for step definition in gherkin file

Regex matching results in callback == value and thus actual callback not defined.
needs replacement of  (((?!of type).)) with ((?!of type).)
https://github.com/apickli/apickli/blob/58a347d4cc62046149ace65dd90d763866f69014/source/apickli/apickli-gherkin.js#L194-L199

@rohan-m - there are various tests in httpbin.feature and they all seem to be passing at the moment with the additional paran.
I've also put a console.log(callback); inside that function and I seem to be getting the callback function correctly.
Please check your setup one more time (cucumber, node versions, etc).


fix: critical mistake in the README.md

Hello,
just passing by and found a little error in the README file, the link was redirecting to a 404 page and I assumed that you wanted to refer to http://dokku.viewdocs.io/dokku/ ... Feel free to cestinate this PR if it's not the expected behaviour.
cheers ✌

a-w-e-s-o-m-e
🚨 thanks for fixing this critical issue, you saved the project 🙇


Test values of buffers

Mentioned in https://github.com/data-apis/dataframe-api/pull/75#issuecomment-1199047898 that we could test the values of buffers. Not sure how hard it'll be for all the types of examples we generate, so I'll at least give it a go to scope it out. My initial impression is our round-trip testing would end up covering the vast majority of problems anywho.

My initial impression is our round-trip testing would end up covering the vast majority of problems anywho.

I think this is true. The round-trip tests cover testing the actual values of buffers, implicitly but extensively. Testing the values of buffers could be useful when trying to pinpoint issues, but the effort doesn't seem worth it.


Add unit tests for parser

There are other areas that could be tested too, but I feel like the parser is a good start.

Which of these do you prefer?

https://jestjs.io/ (has mocking built in)
https://github.com/avajs/ava

Jest. I've never used ava, but I do have a ton of experience with Jest.

Jest it is then, I've been wanting to use it. 😄

OK awesome! I should be able to get it set up. The part where I struggled with AVA was getting tsc to ignore the test files, so hopefully I can figure that out second time around.

Will there be a separate lib used for assertions, or will just the assert package be used?

Really thorough man, loving these additions. 😄


AttributeError: 'Settings' object has no attribute 'USING_NOTIFICATIONS'

Following the instructions set forth by the README.md for local deployment, I got up to the point where I have to call up on manager.py by python manage.py createsuperuser, and also if I tried to do python manage.py runserver, I get the AttributeError (see title above).  I got the same issue when starting from datamade/councilmatic-starter-template point too.

I got the same error and fixed it by adding this to councilmatic/settings.py
USING_NOTIFICATIONS=False

Hey @feydan  Thanks!


/summon command returns unexpected chicken types

Issue Description:
I would like to artificially increase spawn rates of tier 1 chickens using BiomeTweaker, unfortunately when attempting to find IDs for the chickens i don't get what im expecting
Step to reproduce (important):
OPTION A: Type the command /summon chickens:chickenschicken ~ ~ ~ {ChickenType:{id:"chickens:flintchicken"}}
OPTION B: Type the command /summon chickens:chickenschicken ~ ~ ~
What happens:
OPTION A: Smart Chicken is summoned
OPTION B: Log Chicken is summoned
What you expected to happen:
OPTION A: I expected a Flint Chicken
OPTION B: this was fine

Affected Versions (Do not use "latest"):

Chickens: 6.1.0
Minecraft: 1.12.2
Forge: 2847

Welp you probably inproperly formatted your command, also it doesn't always come out as you want it to. I'm still trying to figure out how to do it.
Try this:
/summon chickens:chickenschicken {Type:"chickens:flintchicken"}


Update stats.py

Error in sortino formula, you forgot to subtract the mean in semi-deviation calc

Sortino Ratio = (r – rf ) / σd, where:

r = expected return of strategy x
rf = risk-free rate of return
σd = downside deviation of the expected return of strategy x

There's no need to subtract the mean from the downside as well ;-)


TLS 1.3 endpoint handshake testing

Please note that while we are transitioning from travis-ci to AWS CodeBuld, some tests are run on each platform. Non-AWS contributors will temporarily be unable to see CodeBuild results. We apologize for the inconvenience.
Issue # (if available): https://github.com/awslabs/s2n/issues/1458
Description of changes: This PR updates s2n_client_endpoint_handshake_test.py so that it now runs a second set of endpoint handshake tests, but with TLS 1.3 enabled.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request head (tls13-endpoint-fix@0c7b1ee). Click here to learn what that means.
The diff coverage is n/a.

What does the output look like? It's nice to see what we're adding :)

Sure! Here's a screenshot of the output for TLS 1.3. It's formatted just like it was prior to the TLS 1.3 addition.


Add Big Endian support to Pure Java Snappy

Added code to allow Pure Java Snappy to work on BIG_ENDIAN systems
This allows snappy to work on a wider range of systems such as z/OS, where the native DLL required for JNI call may not exist

ok. The code change is fairly large, but basically it looks like adding BE version of PureJavaSnappy.
Unlike the concerns discussed in airlift/aircompressor#116, the pura-java support is just a fallback when no native library is built, so merging this PR should be ok if we can test running it somewhere.
@kiwi1969 Any thought? Can you run ./sbt test on your big-endian platform?

Hi , once the PR is merged, Will this package be upload to maven central repo? How to use this code in other project such as presto? Thanks.

Yes, only difference is the loader conditionally loads the alternative BE class, which uses alternative BE subclasses.
The only difference in those classes, is reversebytes method happening in some of the places used for encoding/decoding. (I didn't need the reversebytes for the simple memory copies, so is better than my original code)
Note the 'fallback' currently doesn't happen automatically, as you throw an error, which stops the code from falling into else statement in snappy-loader.
Only way I could get to the pure was via the JVM parm
My employer doesn't have any Java CI build/test system on Z/OS, so I just currently compile on my Mac, and copied the resulting jar files to Z/OS, then just ran a very simple test case (which worked, and encoded a UTF string exactly same byte code as on Mac, and decoded correctly).
I will have a look at ./sbt test to see what other test cases I can run.

Note the 'fallback' currently doesn't happen automatically
try ... catch(Exception e) { ... }  didn't work? We may need to switch to catch(Throwable e).

For CI, I see you already have a Linux s390x test running. I am not sure how the previous 'Snappy Pure' tests listed in the logs are currently working, as s390x is Big Endian and will fail with "Big Endian not supported" error.
Maybe you could just tweak what you have there now, and double check that the libsnappy.so is not being used.

@kiwi1969 Ah. That's right. s390x is a big-endian machine. Travis CI provides an emulation environment for s390x.
Then adding this line to .travis.yml can be used for testing BE version of this PR:
 - ./sbt -Dorg.xerial.snappy.purejava=true "testOnly *Pure*"

A weird thing is if s390x emulation on Travis is a big-endian, it should have thrown an error because aircompressor doesn't support it. But no error was shown.

I swapped to the version that matches what I uploaded to Aircompressor, as the overhead really wasn't that much. Having issue with build system. I don't think it is me

I have found that my work project utilizing Apache Avro with snappy compress option, is working very well with my patches to  snappy-java-<IP_ADDRESS> on Z/OS (when I add snappy-java-<IP_ADDRESS> to Maven .pom file) and specify PureJava JVM directive for snappy.
Note: Rather than do a complete rebuild, we just compiled the 3 class files, and replaced them directly in the .jar (aka zipfile).
The other application jar files then did not notice the difference, and did not need rebuilding (which would be needed if I changed the name of the jar)
Anyone needing a quick fix until officially merged can do the same.

Thanks for the update. Let me take a look later so that we can merge this PR and ship a new version

OK. The code became simple enough and we can expect JIT optimization will work for such a switch for the endian check. I'll merge this PR. Thanks!


feat(docs) use plugins provide insted of globalProperties

according to the docs in a plugin we can return an object to automatically provide an helper

LGTM


Search path on OS X breaks DNS resolution

DNS resolution in the CLI doesn't work properly when a search path is configured on OS X.
Here's a packet dump.
This is almost certainly due to using the "netgo" resolver instead of the native OS X APIs. It may be fixed in newer versions of Go.

This appears to be fixed on Go 1.6


The next button is still not in the debugger on the top bar.

Dear reader, last month I found out that the new version of spyder does not have the necessary
debug buttons/features. I cant work without these :( and I am wondering when they will be back.
I press this button around 100-200 times a day and debug a lot, without these buttons life gets much more complicated.
I beg you to put them back in the next release!

Hey @Leohanhart, thanks for reporting. This problem was already fixed in our 6.0.2 version, released last month.
So, please update to it in case you're not using it. If you are already, then check the new behavior in https://github.com/spyder-ide/spyder/pull/22702: the debugger buttons are only shown when a debugging session is active.

Dear Friend,
This is a screenshot of the new spyder version 6.0.2 if I'm correct.
Am I doing something wrong? I updated the spyder before startup;

Please see again the video I posted in #22702: the buttons that control the debugger are shown only when you start a debugging session.
Since you don't even have an active console in the screenshot you posted (because you didn't install the right spyder-kernels version before starting Spyder), that's why the buttons are not shown.

OOH BRO, I totally underestimated you and your team man, this is brilliant.
I will start with using it from now on and will give you feedback if needed.
Thank you for everything you do for us. Expect a big donation soon.

Great! Glad you liked the way we decided to solve this problem.


Too difficult to reimplement your project !

Hi! I am very interesting in your project! But it seems that there are some difference between the Traindataset process script and the actual script in your paper. And can you provide me the training detail, such as the epoch for stage1 and stage2, and the learning rate. The network you provide on the Internet also cant reach the accuracy in your paper! Looking forward to you kind rely. Thank you!

Hi,
The scripts for creating the datasets are the same as in the paper, the pre-trained DNNs should give results exactly the same as reported in the paper. Which DNNs are you using, and which results do not reproduce?
As for the epochs: I do not have the exact numbers, but I did stop the training of stage1 once it stopped improving quickly, I did not train it to the very end.
Best regards,
Marek

@MarekKowalski Hi！Did you test the 300Wtestset using your network on the Internet?  Thank you!

Hi, like I said before, the results should be identical to the ones in the paper. Which DNN did you use and what results do you get on the other datasets?
Thanks,
Marek

Hi! @MarekKowalski  Thank you for your help! there is another question, the bounding box in your pkl file, are the boxes produced by your own face detector, or the bounding boxes are from the 300W web, you just changed the form from mat to pkl?

Hi,
The bounding boxes are from the 300W dataset.
Marek


No utility classes were detected in your source files

Expected behavior
updated tailwind.sass file with detected utility classess
Actual behavior
does not update tailwind.sass file with newly added utility classess
Steps to reproduce behavior
stencil start
npm run tailwind
add tailwind utility class to any component

Hey @kstulgys, thanks for submitting a report. I'm having issues replicating your findings. Can you be more specific and detailed with your steps to reproduce?
Checking out a fresh copy of our main branch yielded a successful result for me. Here is what I did.

Run npm run tailwind
Add tw-w-full in a component in the templates/components/account/add-wishlist.html file.

Tailwind compiled my changes correctly at the bottom of the assets/scss/tailwind.scss file.

@travish Thank you for the response. It's my mistake, I have theme: {} (empty object) in tailwind.config.js where it should be at least theme: { extend: {} }

All good! Thanks for reporting back!


[Bug]: Snake Game

Give a brief about the bug ✍
The home icon and the heading are not properly aligned in the navbar
What is the expected behavior? 🤔
Proper alignment of the two elements
Provide step by step information reproduce the bug 📄
I will align them in the same line for a good look
Please assign me this issue under GSSOC @kunjgit
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @suma30 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Can you please assign me this issue!!

Hii @kunjgit , I am a contributor at GSSoC'24 . I have a good knowledge of HTML & CSS , I can solve this issue with my knowledge , So I request you to please assign me this issue.

/assign

Hey @suma30 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Could not load image elements properly after storing in LocalStorage

I'm trying to utilized excalidraw with our backend but I'm testing it out first with localStorage to see how it'll look like.
So far, saving and loading to localStorage works well apart from image elements. I followed the instruction on how to save files but when I reload them, I can see the image placeholder but the content is not loaded.
I'm not sure what I'm doing wrong.
// ExcalidrawComponent.js
import React, { useState, useCallback, useRef } from "react";
import { Excalidraw, getSceneVersion } from "@excalidraw/excalidraw";
import debounce from "lodash/debounce";

const DrawBoard = () => {
  const [elements, setElements] = useState([]);
  const [files, setFiles] = useState([]);
  const [excalidrawAPI, setExcalidrawAPI] = useState(null);
  const sceneVersionRef = useRef(0);

  const saveDrawing = () => {
    const referencedFiles = {};
    elements.forEach((element) => {
      if (element.type === "image" && element.fileId && files[element.fileId]) {
        referencedFiles[element.fileId] = files[element.fileId];
      }
    });
    const data = { elements, files: referencedFiles };
    localStorage.setItem("excalidraw", JSON.stringify(data));
    console.log("Saved drawing data:", JSON.stringify(data));
  };

  const loadDrawing = () => {
    const savedData = localStorage.getItem("excalidraw");
    if (savedData) {
      const data = JSON.parse(savedData);
      console.log("Loaded drawing data:", data);
      excalidrawAPI.updateScene(data);
      setElements(data.elements);
      setFiles(data.files);
    } else {
      console.log("No saved drawing data found");
    }
  };

  const handleSceneChange = useCallback(
    debounce((elements) => {
      if (excalidrawAPI) {
        const newSceneVersion = getSceneVersion(elements);
        if (newSceneVersion !== sceneVersionRef.current) {
          sceneVersionRef.current = newSceneVersion;
          const elements = excalidrawAPI.getSceneElements();
          const files = excalidrawAPI.getFiles();
          setElements(elements);
          setFiles(files);
        }
      }
    }, 300),
    [excalidrawAPI],
  );

  return (
    <div style={{ height: "90vh" }}>
      <Excalidraw
        excalidrawAPI={(api) => setExcalidrawAPI(api)}
        initialData={{ elements, files }}
        onChange={handleSceneChange}
      />
      <button onClick={saveDrawing}>Save Drawing</button>
      <button onClick={loadDrawing}>Load Drawing</button>
    </div>
  );
};

export default DrawBoard;

This is what I see after it loads.

Hi @toby12352.. Have you checked this #issue8118
https://codesandbox.io/p/sandbox/excalidraw-files-example-r7ophm?file=%2Fsrc%2FApp.js%3A18%2C1

Issue is resolved with this tiny code
excalidrawAPI.addFiles([   {     id: "pika",     dataURL: pikaDataURL,     mimeType: "image/jpeg",   }, ]);
Just pass the array of files in addFiles function from excalidrawAPI.
from https://codesandbox.io/p/sandbox/excalidraw-files-example-r7ophm?file=%2Fsrc%2FApp.js%3A83%2C29-89%2C32