Only export deforming bones

I have a bit of a problem with exporting my animations, where my non-deforming bones in my rig also gets outputted. Would it be possible to add an option to only export deforming bones, similar to the one in the Blender FBX exporter?

I make simple IK-rig and add non-deform bones for this. Off constraint and load bvh-animation.
Some constraint is on (for fingers, etc)
In Blender all OK. If i export to glb - mesh heavily damaged.
Blend-file and GLB included and named "deform"
If i delete additional non deform bones, export to GLB normal, with mesh all OK.
Blend-file and GLB included and named "non-deform".
if it is still relevant.
bug glTF.zip

See #460
A PR #479 is currently in test

I also really need this.  Using rigify ends up exporting a TON of bones, and Godot struggles with all of them.  The better collada exporter has an option for this but I'd prefer to use glTF since the files are like 1/40th the size and better collada doesn't work in 2.8.

Hello,
I know this is a required feature. This is on our TODO list, but I can't say when it will be implemented.

I was hoping it would be as simple as checking if bone.use_deform is true before calling gather_joint, but I obviously screwed something up with my first attempt.

@jitspoe Of course this is not as simple as you said, this would be already done for a long time.
Bones inherit location, rotation and scale from parents that can be non deformation bones, so some "baking" is needed for these bones

Bones inherit location, rotation and scale from parents that can be non deformation bones, so some "baking" is needed for these bones

Would it be OK to keep the bones, but not include them in the joint list of the skin? So for example:

bone_1

bone_2

empty_object

bone_3

That would make the export simple enough (I hope), and we probably wouldn't even need an option for this behavior. Whether Godot would perform better with empty objects than with non-deforming bones, I don't know...

I'm not sure how Godot would handle it.  I think it would be preferable to completely exclude the bones from the export and bake the transforms into the deformation bones.  I know glTF is designed to allow transmission between different applications, but, for many, it's a format that can be imported into a game engine, so we'd like to only have game-relevant information in it.
Doesn't one of the settings bake the animations already?  Does that not bake the full transforms?

@jitspoe this bake local transformations, but not inheritance from parents. This is the next step

Might be worth looking at the source to the better collada exporter, as that seems to work well (aside from collada being a terribly bloated format -- also, I don't think it's compatible with 2.8).
https://github.com/godotengine/collada-exporter

Will be done in #713

Very thanks!


add disk-virt-sysprep task

Introduces a task which will run virt-sysprep on a target pvc: README. It should be similar to virt-customize task.
cc @fabiand @jelkosz
@fzdarsky can you please check the API if it covers all your use cases?

Do you need support for attaching multiple PVCs?
Do you need support for uploading some files/k8s objects to the VM's disk by using --upload command?

@suomiy sorry for the slow response.

@fzdarsky can you please check the API if it covers all your use cases?
LGTM.

Do you need support for attaching multiple PVCs?
No, single PVC for rootdisk is ok for us.

Do you need support for uploading some files/k8s objects to the VM's disk by using --upload command?
I assume the virt-customize task will support that, or? In that case, no, we wouldn't need it for virt-sysprep task, too.

Do you need support for uploading some files/k8s objects to the VM's disk by using --upload command?

I assume the virt-customize task will support that, or? In that case, no, we wouldn't need it for virt-sysprep task, too.

Both virt-customize and virt-sysprep will support it in a sense that the library is able to conduct these commands. But it will not be useful since the only availbale source destinations would be in the task container itself.
For it  to be useful we would have to come up with some input; like mounting ConfigMap / PVC / etc. to the container.

/retest

/retest

/retest

/retest


Service discovery between multiple apps

Prerequisites

[x] I searched to see if the issue already exists.
Found #126.

Description
Hi there, I'm looking into Up, looks very interesting! Wondering how communication between apps/microservices works with Up. Can't find any examples but looks like there is no name resolving. Should domains be used? If so, does that result in all traffic between services being outbound?

Hello! You're right that there's nothing built-in at the moment. I typically map mine to sub-domains anyway, like I have teams.apex.sh etc since it doesn't cost anything extra.
You could also use env vars for now, grab the up url production of one app and use it for up env set AUTH_API=xxx of another.
#535 may help there since it would be account-wide and not app-specific.
At the moment don't want to get too opinionated about "discovery" since I think getting too "micro" with services does more harm than good, at that point I think FaaS is superior anyway, but personally I like these medium to large sized apps, but I think env vars are ok there. Happy to consider something else though!

Roger that, thank you for the quick and detailed response! Think I'm going with the subdomains solution too.
Sidenote, I'm used to Kubernetes & Docker Compose where the 'service' names are automatically set in the environment like $SERVICE_NAME_HOST. They use a full-blown DNS solution underneath. But it might already be a nice improvement if Up would add environment variables automatically pointing to the mapped domain of each service.

How I do it is having a domain for each stage, so development.example.com and staging.example.com and example.com. Then underneath API Gateway map each domain to the correct api gateway endpoint, so '/create-userdevelopment stage todevelopment.example.com`.
Then each service will always use the domain it is based on to know where to find the correct service.
So a request to development.example.com/api wants to call /create-user, but not the production deployment, will simply take the domain and call development.example.com/create-user and the same will work in staging, production and feature deploys.

This issue has been automatically closed because it has not had recent activity.


[Workspace feeds] Last updated field in card details is blank after assigning a card

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @joekaufmanexpensify
Slack conversation (hyperlinked to channel name): quality
Action Performed:
Prerequisite:
Members and company cards added in workspace , 8+ export options for card

Go to staging.new.expensify.com
Choose the workspace from settings
Assign card to a employee
Click company cards >Card Details
Click on the update card

Expected Result:
In step 4: Last updated date should be the card assigned date
In step 5: Should update to the most recent update
Actual Result:
Last updated field in card details is blank after assigning a card. we update cards once a day automatically.
If we haven't done that yet (or the customer hasn't manually updated), I think this should just be the relative time since the card was assigned (as that is an update event, in that it pulls in any applicable transactions.)
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
https://github.com/user-attachments/assets/1799025b-25ab-4d13-9248-3c5ebcdef87f

View all open jobs on GitHub

BZ team member, Callstack will work on this issue, please wait for them to comment before moving the issue forward.

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Handling this as part of the project I have worked on

@mountiny My guessing is that it's the same reason that the fields are not populated is what @VickyStash mentions here: https://callstack-hq.slack.com/archives/C05LX9D6E07/p1730882581577809?thread_ts=1730402876.727509&cid=C05LX9D6E07 as the data for the employee is not from the cardList (because the cardList object has only the current user cards)  and we get the data from cards_ object we don't have lastScrape (last updated) and scrapeMinDate (transaction start date) fields. So this will be solved when adding these fields.
cc @robertjchen

I can check it when the fields are added and hopefully we can close it then 🙂

Small PR which fixes card details page display if the card is assigned not to the current user: https://github.com/Expensify/App/pull/52107
More context can be found in the slack.
^^ @allgandalf

ok, it turns out that it was not a problem with the lack of the field, but there must be something it the code. @mountiny I can continue working on this issue, please assign me.

On my list

still on my list

Note for myself: This is using the oldDot card format so hence why the format is a bit different

A PR raised, gonna have to look into tests

PR merged awaiting deploy

looks like it's working now
cc @mountiny

Slay


Commiting Homework

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
adding image of HW1
What did you learn from the changes you have made?
visualizing tables is critical
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
choose a differe3nt table combination
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
N/A
How were these changes tested?
it was a image file
A reference to a related issue in your repository (if applicable)
Checklist

[X] I can confirm that my changes are working as intended

PLease find updated HW1 ERD

Relationship type is missing. It would be one to many as a single booth (identified by booth number in the booth table) can be assigned to multiple vendors over time, each with a different market_date.

Please find updated HW1 ERD

Union question missing from HW 4 7/10

Hi, No, it is not missing, please check homework_5_sql file, it was on the same commit and my commit message. It was mentioned by Thomas there was a miss-match of md and sql file due to his shift-around. Please update my marks accordingly

Thank you


[v0.18] Update winit/glutin -> 0.19/0.20

Bumped for release

gfx_window_dxgi -> 0.19
gfx_window_glutin -> 0.30

Also updated gfx_app env_logger and some dev-dependencies because why not?
PR checklist:

[x] tested examples with the following backends: gl

I assume you need those updates to be published?

Yes please, at least gfx_window_glutin which is what I'm using.

https://crates.io/crates/gfx_window_glutin/0.30.0
https://crates.io/crates/gfx_window_dxgi/0.19.0


First microwave support

Hello !
This is my first contribution to this cool project !
I'm not sure if I did that correctly :/
I'm trying to add microwave support.
It still misses microwave status (cooking state /cook time left/...) but I'm able to set different settings like: time/sound/weight/light/... and add a new HA service (see screenshots)

This PR tries to fix https://github.com/ollo69/ha-smartthinq-sensors/issues/385
Please feel free to change my code to make it mode similar to the base code :)

Following as I recently got an LG ThinQ microwave. I can try to test it out on the weekend.
Also not sure if it's exposed via the API but there's an additional setting for the turntable on/off. You can set it on the microwave itself but not in the ThinQ app so it might not be exposed.

Got it set up and working with my microwave. First observations:

Turning Clock 24h format on seems to just clear the clock. I see that option is gone from my ThinQ app (it was there last weekend)
Light has a low and high setting not present in this integration
I think the weight units should be a dropdown with lbs/kgs instead of a toggle
App has night light setting, possible to implement?
App has timer icon in top left for 'oven' timer, I don't think it's worth implementing in HA
Cooking features, do you want to implement? I see there's microwave/defrost/timed defrost modes, cook time, power strength and 'Send' to start the cook

Got it set up and working with my microwave. First observations:

Turning Clock 24h format on seems to just clear the clock. I see that option is gone from my ThinQ app (it was there last weekend)
Light has a low and high setting not present in this integration
I think the weight units should be a dropdown with lbs/kgs instead of a toggle
App has night light setting, possible to implement?
App has timer icon in top left for 'oven' timer, I don't think it's worth implementing in HA
Cooking features, do you want to implement? I see there's microwave/defrost/timed defrost modes, cook time, power strength and 'Send' to start the cook

Just FYI on cook time, it can only add time to an already cooking microwave but not start a new cook.

Just FYI on cook time, it can only add time to an already cooking microwave but not start a new cook.

That's not what I'm seeing with the ThinQ. You pick the settings you want and press 'Send'. It sends them over to the microwave. Then you have to press start. When it's running, the app only shows the status and you can't change it.

24 hour time select still just turns the clock (if off) and sets it to 12:00 AM. The setting is gone from the ThinQ app so I don't think it's a thing anymore? I installed my new ThinQ range this weekend and it does have a (working) 24 hour clock setting. Annoying they aren't consistent.

@titilambert, any news on changes requested?

@titilambert, any news on changes requested?

I fixed the easy ones, Trying now to improve the set_time services as suggested.
I don't understand which wash service should I "copy"

@ollo69 I finally got the service done as suggested.
I will try to fix the last two comment in few the days

Updating to the latest (8012b34) removes my microwave from HASS. I have the MVEL2033F. Shows up as WMVEL2137 from the LG API. I'll upload my diagnostics file for the microwave.
smartthinq_sensors-33e935dee672f618b22a784d3e770f66-Microwave-a0ef3857fc07022ae5c09b1957ec8ba4.json.txt

Please take a look to failing Linting test.

@titilambert,
when do you think you will be able to complete this PR? I would make some changes to codebase to respect last HA changes but this will create conflict with PR, so should be better to merge before.

@titilambert,
when do you think you will be able to complete this PR? I would make some changes to codebase to respect last HA changes but this will create conflict with PR, so should be better to merge before.

Hello, I do not know when I will be able to achieve it I don't have a lot of time, and I'm stuck with Fan state :/
Can you merge it then disable the microwave ?
I can continue after your changes.
Thanks !

@titilambert,
when do you think you will be able to complete this PR? I would make some changes to codebase to respect last HA changes but this will create conflict with PR, so should be better to merge before.

Hello @ollo69, I do not know when I will be able to achieve it ... I don't have a lot of time, and I'm stuck with Fan status :/
Can you merge it then disable the microwave ?
I can continue after your changes.
Thanks !

any progress on this I have a over the range microwave that is waiting to find its way into home assistant thanks

I yoo am interested in this.  Would ve nice to set timers through HA and control automations with it.

well the model number of my microwave is MHEC1737D if that makes any difference though this seems to have lost momentum

I have the same one!  Just a different color. lol

you got the MHEC1737F one eh?

All,
I'm currently working on this PR, but it require times. Please be patient.

Thanks for the update, I'll do a test.  My network switch just bricked itself last night so I'm waiting on my replacement first.

Thanks for the update, I'll do a test. My network switch just bricked itself last night so I'm waiting on my replacement first.

its not uploaded yet so if it is then it does not work

its not uploaded yet so if it is then it does not work

What do you mean? This PR is still not merged, to test this you must update your installation with this branch.

Thanks for the update, I'll do a test. My network switch just bricked itself last night so I'm waiting on my replacement first.

its not uploaded yet so if it is then it does not work

@trentjw Sounds like you may not be familiar with Github or how Home Assistant operates as an open source platform. If you're not pulling code to test manually, then I advise that you be patient and wait for the PR to be merged and Home Assitant updated. ollo69 is doing this in his free time in an effort to help the community.

Thanks for the update, I'll do a test. My network switch just bricked itself last night so I'm waiting on my replacement first.

its not uploaded yet so if it is then it does not work

@trentjw Sounds like you may not be familiar with Github or how Home Assistant operates as an open source platform. If you're not pulling code to test manually, then I advise that you be patient and wait for the PR to be merged and Home Assitant updated. ollo69 is doing this in his free time in an effort to help the community.

always one in the crowd that has to inject themselves and offer nothing

Thanks for the update, I'll do a test. My network switch just bricked itself last night so I'm waiting on my replacement first.

its not uploaded yet so if it is then it does not work

@trentjw Sounds like you may not be familiar with Github or how Home Assistant operates as an open source platform. If you're not pulling code to test manually, then I advise that you be patient and wait for the PR to be merged and Home Assitant updated. ollo69 is doing this in his free time in an effort to help the community.

Might I suggest you tell us how to do that as I too am new and assumed that this would have shown up as an update for me to install when I got home and got a new working switch installed? :-D  Do I just use this as a new custom repository?

@ollo69
In attempt to get this discussion back on track to this PR...
Here are my findings with the current PR code
I deleted the SmartThinq LGE Sensors integration from Home Asssistant
I shutdown Home Assistant then deleted my existing smartthinq_sensors folder and then fetched/checked out this PR
I then started my Home Assistant instance, and then re-added the integration as a new integration
I'm not home to test the sensor states, but am able to test everything else
Fan Entity

Vent entity shows up, but looks like it is unavailable.

Changing the Vent Speed in the app has no effect on this

Light entity does not show up at all

Configuration Switch/Select Entities

These all populate and do set the specific config setting on the microwave**
**Only the config entity you change is set, then everything else goes to a default value

if anything other than Clock Display is changed, Clock Display changes to On/Show
If anything other than Display Scroll Speed is changed, Display Scroll Speed changes to Slow
If anything other than Sound is changed, Sound is changed to Off
If anything other than Weight Unit is changed, Weight Unit changes to KG

For example, if I change Weight Unit to LB the setting is reflected in the app correctly, but then the 3 other applicable config entities get changed to the default value listed above

Sensor Entites

I am unable to test the sensor entities below until I am home with the unit

sensor.microwave, sensor.microwave_oven_mode, sensor.microwave_oven_state

Might I suggest you tell us how to do that as I too am new and assumed that this would have shown up as an update for me to install when I got home and got a new working switch installed? :-D Do I just use this as a new custom repository?

@teek541,
until this PR is not merged, the only way to test this is to manually install integration taking the code from this branch. This is not so simple as install from HACS and if you don't have experience it will be simple to make mistake. I you don want to take risk, just wait for tests finish and new release available.

On an Over-The-Range Microwave, you use the vent when the range (stove) below is in use

So the vent can be always turned on or there are some condition when it is not possible?

I could be mistaken, but I thought I read on the LG api documentation that it is expecting all of them to be sent

I will try to change implementation to always send all values, anyway doesn't seems a good approach always set time. It would be good if you will be able to do a mitm

Ok, I implemented some changes based on test results, please try again and give me your feedback

I got mitm proxy setup today
It appears settings are all set even when individual setting is changed
Here's what I've poked in to so far, I think this should be conclusive enough - but let me know if you want any other information @ollo69
I will also try out your changes
Turned vent on (direct to Low) in app
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 0,
            "mwoLampOnOff": "DISABLE",
            "mwoVentOnOff": "ENABLE",
            "mwoVentSpeedLevel": 1
        }
    },
    "dataValue": null
}

Turned Light On (direct to low) in App
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 1,
            "mwoLampOnOff": "ENABLE",
            "mwoVentOnOff": "DISABLE",
            "mwoVentSpeedLevel": 0
        }
    },
    "dataValue": null
}

Turned clock from Show -> Hide in app
{
    "command": "Set",
    "ctrlKey": "SetPreference",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_SETTING",
            "cmdOptionDataLength": "REMOTE_SETTING",
            "mwoSettingClockDisplay": "CLOCK_HIDE",
            "mwoSettingClockSetHourMode": "NOT_SET",
            "mwoSettingClockSetTimeHour": 128,
            "mwoSettingClockSetTimeMin": 128,
            "mwoSettingClockSetTimeSec": 128,
            "mwoSettingDefrostWeightMode": "NOT_SET",
            "mwoSettingDemoMode": "NOT_SET",
            "mwoSettingDisplayScrollSpeed": "NOT_SET",
            "mwoSettingSound": "NOT_SET"
        }
    },
    "dataValue": null
}

Turned clock from Hide -> Show in app
{
    "command": "Set",
    "ctrlKey": "SetPreference",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_SETTING",
            "cmdOptionDataLength": "REMOTE_SETTING",
            "mwoSettingClockDisplay": "CLOCK_SHOW",
            "mwoSettingClockSetHourMode": "NOT_SET",
            "mwoSettingClockSetTimeHour": 128,
            "mwoSettingClockSetTimeMin": 128,
            "mwoSettingClockSetTimeSec": 128,
            "mwoSettingDefrostWeightMode": "NOT_SET",
            "mwoSettingDemoMode": "NOT_SET",
            "mwoSettingDisplayScrollSpeed": "NOT_SET",
            "mwoSettingSound": "NOT_SET"
        }
    },
    "dataValue": null
}

Set clock time in app
{
    "command": "Set",
    "ctrlKey": "SetPreference",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_SETTING",
            "cmdOptionDataLength": "REMOTE_SETTING",
            "mwoSettingClockDisplay": "NOT_SET",
            "mwoSettingClockSetHourMode": "NOT_SET",
            "mwoSettingClockSetTimeHour": 15,
            "mwoSettingClockSetTimeMin": 55,
            "mwoSettingClockSetTimeSec": 24,
            "mwoSettingDefrostWeightMode": "NOT_SET",
            "mwoSettingDemoMode": "NOT_SET",
            "mwoSettingDisplayScrollSpeed": "NOT_SET",
            "mwoSettingSound": "NOT_SET"
        }
    },
    "dataValue": null
}

I got mitm proxy setup today

Great, this is really useful.
I suggest to wait that I align the code with discovered commands before trying my last changes, now is clear to me how to properly manage preference.
Thanks a lot.

I got mitm proxy setup today

Great, this is really useful.
I suggest to wait that I align the code with discovered commands before trying my last changes, now is clear to me how to properly manage preference.
Thanks a lot.

Glad to help!
I just updated my comment to add a few more entries (most notably Timer, but also cook time and defrost info), as well as made it collapsible to make the discussion page here a bit more managable.
Please let me know if there's anything I can pull from it for you, though I think I covered the main control functions.
Thanks again for the hard work!

@zimmra,
could you please make a last test? What is the command sent if you turn on the vent when the light is on (or viceversa the command sent to turn on the lamp when the vent is on).
Not sure if DISABLE means "turn off" or "ignore the command".
Thanks.

Light Turned On (VENT ALREADY ON)
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 1,
            "mwoLampOnOff": "ENABLE",
            "mwoVentOnOff": "ENABLE",
            "mwoVentSpeedLevel": 1
        }
    },
    "dataValue": null
}

Vent Turned On (LIGHT ALREADY ON)
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 1,
            "mwoLampOnOff": "ENABLE",
            "mwoVentOnOff": "ENABLE",
            "mwoVentSpeedLevel": 1
        }
    },
    "dataValue": null
}

Vent turned off, light left on
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 1,
            "mwoLampOnOff": "ENABLE",
            "mwoVentOnOff": "DISABLE",
            "mwoVentSpeedLevel": 0
        }
    },
    "dataValue": null
}

Light turned off, vent left on
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 0,
            "mwoLampOnOff": "DISABLE",
            "mwoVentOnOff": "ENABLE",
            "mwoVentSpeedLevel": 1
        }
    },
    "dataValue": null
}

Ok, now it should be ready for merge, just wait for final test.
I also restored the set_time service because now are clear required parameters.

just wait for final test.

Light (select) entity turns light on/off, but always goes to low

WHEN SET TO HIGH IN LG APP - Home Assistant updates the select entity state correctly
WHEN SET TO HIGH IN HOME ASSISTANT - Home Assistant initially shows the state as the selected state, but it is actually set to LOW in reality/the LG app. This eventually updates to LOW in Home Assistant

Vent Speed (select) entity turns vent on/off, but always goes to high

WHEN SET TO ANYTHING OTHER THAN HIGH IN LG APP - Home Assistant updates the select entity state correctly
WHEN SET TO ANYTHING OTHER THAN HIGH IN HOME ASSISTANT - Home Assistant initially shows the state as the selected state, but it is actually set to HIGH in reality/the LG app. This eventually updates to HIGH in Home Assistant

**Additional Control Commands (Expandable)**
All control commands sent to https://aic-service.lgthinq.com:46030/v1/service/devices/{redacted}/control-sync
Fan to Low
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 0,
            "mwoLampOnOff": "DISABLE",
            "mwoVentOnOff": "ENABLE",
            "mwoVentSpeedLevel": 1
        }
    },
    "dataValue": null
}

Fan to Mid
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 0,
            "mwoLampOnOff": "DISABLE",
            "mwoVentOnOff": "ENABLE",
            "mwoVentSpeedLevel": 2
        }
    },
    "dataValue": null
}

Fan to High
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 0,
            "mwoLampOnOff": "DISABLE",
            "mwoVentOnOff": "ENABLE",
            "mwoVentSpeedLevel": 3
        }
    },
    "dataValue": null
}

Fan to Turbo
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 0,
            "mwoLampOnOff": "DISABLE",
            "mwoVentOnOff": "ENABLE",
            "mwoVentSpeedLevel": 4
        }
    },
    "dataValue": null
}

Light to Low
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 1,
            "mwoLampOnOff": "ENABLE",
            "mwoVentOnOff": "DISABLE",
            "mwoVentSpeedLevel": 0
        }
    },
    "dataValue": null
}

Light to High
{
    "command": "Set",
    "ctrlKey": "setVentLampLevel",
    "dataGetList": null,
    "dataKey": null,
    "dataSetList": {
        "ovenState": {
            "cmdOptionContentsType": "REMOTE_VENT_LAMP",
            "cmdOptionDataLength": "REMOTE_VENT_LAMP",
            "mwoLampLevel": 2,
            "mwoLampOnOff": "ENABLE",
            "mwoVentOnOff": "DISABLE",
            "mwoVentSpeedLevel": 0
        }
    },
    "dataValue": null
}

Light (select) entity turns light on/off, but always goes to low

Probably level must be provided as int and not as string. Please try again.
Thanks

If you ever need other people to get info from a mitm setup, I logged what I did for my own future reference here, feel free to point people to it if you need API info in the future. All they need is a WSA-capable Windows 11 PC, and know how to use terminal

This is a great info and would probably help a lot for future implementation in this integration. If is ok for you I would add this information in read-me (or if you prefer you can create a PR for this).
Thanks again.

If is ok for you I would add this information in read-me (or if you prefer you can create a PR for this).

Like I said, glad to help! Feel free to use/modify/scrap https://github.com/ollo69/ha-smartthinq-sensors/pull/582

Probably level must be provided as int and not as string. Please try again.

That seems to have done it, all levels are properly controllable.
Everything seems to be functioning as intended in this iteration

Tried this out the light control works and is controllable but the Fan shows unavailable and does not work

@trentjw ,
this PR is closed and merged and new integration release is available, so please do not post here but open a dedicated issue providing detail and attaching integration diagnostic.
Thanks👍


Dispute guidelines link in settings not working

There is no hover state, and nothing happens when you click:

(this may be limited to the multi-wallet-order branch)

Closed in #1603


Can you execute raw queries from code?

I want to execute raw sql queries from code. For example I would like to export a collection to a json file. I know you can do that in LiteDb.Studio but what about c#?

Try the Execute method on (I)LiteDatabase: https://github.com/mbdavid/LiteDB/blob/master/LiteDB/Client/Database/LiteDatabase.cs#L243

@akashchopra this returns an IBsonDataReader. How do you convert that into the collection type?

@akashchopra I don't see why it would be a big task - you would indicate the return type with a generic type argument. This is how most such tools work e.g. Dapper has had this for years.

Sorry to jump in on this but it would be good if the docs for Execute(sql, params) could be updated to indicate how you are supposed to use params, i.e do you just put Execute("SELECT $ FROM a WHERE $.b = @v1", new { v1 = "value"}); or something? its not clear as to how the variable replacement mechanism works.


Sharepoint modern  hub site and association

Hello team,
Is there any way for get all associated modern site collection based on hub site id?
I want to make one web part from where i can show all associated site with current hub site.
Any one can help me here?
Thanks
Sandip Pal

@sandippal972258 did you ever get a resolution for this?
The always-amazing @wobba has a great article that may help you achieve what you want.
I'll close this issue as there hasn't been any activity for a while, but feel free to re-open it if you need more help.

contentclass:sts_site DepartmentId:<site id of hub> -SiteID:<site id of hub>
should do what you want, listing all sites, excluding the hub using KQL and search


Speed bar makes GET request every change to the bar without mouse button being released

its a bug in chrome and safari where onchange and oninput are the same thing when they should not be

This is partially fixed now, but there still seems to be some server-side issues with syncing the speed


Confuse about model SimultaneousTFWaitKNMT

Class SimultaneousTFWaitKNMT
def forward(self, batch, **kwargs):
        """
        Performs a forward pass.
        :param batch: The batch.
        :param kwargs: Any extra arguments.
        :return: The output from the forward pass.
        """
        k = int(self.opts.model['translator_args']['k'])
        if self.training:
            epoch_count = kwargs['ectr']
            if epoch_count <= self.opts.model['consecutive_warmup']:
                # warming up, use full contexts
                k = int(1e4)

        # Pass 'k' to the model.
        return super().forward(batch, k=k)

In the forward process of SimultaneousTFWaitKNMT, encoders uses full context rather than 'first k token' which may cause feature leakage. I think transformer encoders should recalculate encoder hidden state in every encode step.
Although k is passed to super class, but not used

Hello,
Thank you for reaching out. I am happy to walk you through the code in a bit more details and hopefully clarify your questions.
You are correct that the traditional transformer has a bidirectional encoder which in a simultaneous setting means that we would need to recompute these states. However, as this slows down training considerably, in the Wait-K version that we have implemented, we decided to only allow for a unidirectional encoder, as seen in the assertion in the model which employs a lookahead mask similar to the one in the decoder self-attention layer, as done by Elbayad et al. [1], Ma et al. [2], to prevent tokens from attending to future positions.  See this line in the TFEncoder .
Regarding, passing k to the superclass, you can see that here we pass the kwargs to the decoder which could contain the value for k. The TFDecoder uses this value and if it's present creates another mask to be applied in the cross attention layer which ensures that at timestep t the decoder can only attend up to the k+t−1 source tokens. We can do this only because the encoder is unidirectional and there is no information about future states encoded in each encoder state.
I hope this makes sense. Feel free to let me know if you have any further questions.
[1] M. Elbayad, L. Besacier, and J. Verbeek.  Efficient wait-k models for simultaneous machine translation.arXiv preprint arXiv:2005.08595, 2020.
[2] X. Ma, J. Pino, J. Cross, L. Puzon, and J. Gu.  Monotonic multihead attention.arXiv preprint arXiv:1909.12406, 2019.

Hello,
Thank you for reaching out. I am happy to walk you through the code in a bit more details and hopefully clarify your questions.
You are correct that the traditional transformer has a bidirectional encoder which in a simultaneous setting means that we would need to recompute these states. However, as this slows down training considerably, in the Wait-K version that we have implemented, we decided to only allow for a unidirectional encoder, as seen in the assertion in the model which employs a lookahead mask similar to the one in the decoder self-attention layer, as done by Elbayad et al. [1], Ma et al. [2], to prevent tokens from attending to future positions.  See this line in the TFEncoder .
Regarding, passing k to the superclass, you can see that here we pass the kwargs to the decoder which could contain the value for k. The TFDecoder uses this value and if it's present creates another mask to be applied in the cross attention layer which ensures that at timestep t the decoder can only attend up to the k+t−1 source tokens. We can do this only because the encoder is unidirectional and there is no information about future states encoded in each encoder state.
I hope this makes sense. Feel free to let me know if you have any further questions.
[1] M. Elbayad, L. Besacier, and J. Verbeek.  Efficient wait-k models for simultaneous machine translation.arXiv preprint arXiv:2005.08595, 2020.
[2] X. Ma, J. Pino, J. Cross, L. Puzon, and J. Gu.  Monotonic multihead attention.arXiv preprint arXiv:1909.12406, 2019.

Thank you for quick reply. It helps me a lot.
Comparing with unbidirectional encoder, some papers show that a bidirectional encoder significantly improves translation quality. I hope to know if you have any further plan about applying bidirectional encoders?

Thank you for quick reply. It helps me a lot.
Comparing with unbidirectional encoder, some papers show that a bidirectional encoder significantly improves translation quality. I hope to know if you have any further plan about applying bidirectional encoders?


POC/Spike: Convert Inbox to use a FC

This PR was originally intended to fix a simple problem - refetching the active inbox view when the user exits and revisits so they always get the latest data. This was a result of testing and QA where people coming in fresh didn't intuitively pull to refresh which led to reports that new data wasn't loading. We discussed 2 possible approaches: either manually refetching data when the view reappears or doing something with relay to make it always refetch.
In the process we did a spike on converting the inbox to use a function component because the class component was very old and hard to understand. Tests are still passing and it all appears to work fine but this would be a big diff so we should be strategic if we decide to merge.
Some problems that remain with this approach:

the isVisible prop passed in from Objective C code doesn't flip until you have exited the inbox by at least 2 screens, so it fundamentally doesn't work.
Still relying on refs and class components for the underlying bids/conversations views. We don't know if this is an anti-pattern. In any case we are duck-typing our children views so we can call the same refetchData method on either active tab.
even though the view refreshes immediately, in some cases we don't see the new data we expect right away. Maybe this is fine UX since the problem is coming from the backend.

I think our main question for now is whether we want to go with this big of a change or if there is a better way to make the inbox refresh automatically (maybe a relay container/renderer setting?).
Co-authored-by: Lily Pacegit<EMAIL_ADDRESS>

Closing because #4280 is a more complete draft of the same refactor.


Added an id to identify tooltips uniquely

Hey Marijn!
I've been facing an issue where new tooltips are created every codemirror event, instead of existing ones being updated. I narrowed it down to how the tooltip library choses whether to create new tooltips or update an existing one.
The code depends on the identity of Tooltip.create being the same between invocations of TooltipViewManager.update. When creating multiple tooltips that depend on a field, a new identity for the create function is made every run, causing new tooltips to be created instead of the update function for existing ones being called.
While one could solve this issue by memoizing the create function, using an id seems nicer, especially for keeping code functional.
Here's an example:
// code anchors store a position in code and have an id
const codeAnchors = StateField.define({
  create() {
    return [];
  },
  update(anchors, txn) {
    // update anchors according to txn
  },
  provide(f) {
    return [
      showTooltip.computeN([f], (state) => {
        const anchors = state.field(f);
        return anchors.map((anchor) => {
          return {
            create() {
              const dom = document.createElement("div");

              // since we're using a value from the anchors.map closure, we
              // can't have a constant identity for this create() function, unless
              // we create a function that returns a memoized value for it
              // outside this statefield.
              dom.textContent = anchor.id;
              return {
                dom,
                update() {
                  // this update is never called! every time the codeAnchors
                  // field updates, it runs the create() method for a new tooltip
                },
              };
            },
          };
        });
      }),
    ];
  },
});

Adding an id to the tooltip, and using it in addition to the create function solves the issue. If you're happy with this solution, I will also make PRs to update the docs / references elsewhere.
Thanks!

While one could solve this issue by memoizing the create function

Yes, that's the intended way to do this. String ids may clash, locally declared functions won't. So I don't think this is a necessary addition.


Crosslink bug with database partition!!!

When database is partitioned, the current crosslink search is not able to find Beta peptide in another partition.

Related with #1962


Mixcloud profile / uploads download not working

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.04.30
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: [u'-x', u'-f', u'bestaudio', u'--audio-format', u'best', u'--add-metadata', u'--embed-thumbnail', u'--metadata-from-title', u'%(artist)s - %(title)s', u'-o', u'/home/czechball/Hudba/%(uploader)s/%(title)s (%(acodec)s - %(abr)skbps).%(ext)s', u'-i']
[debug] Custom config: []
[debug] Command-line args: [u'https://www.mixcloud.com/officialsjc/uploads/', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.30
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-9-amd64-x86_64-with-debian-9.9
[debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1
[debug] Proxy map: {}
[mixcloud:user] officialsjc_uploads: Downloading user profile
[download] Downloading playlist: SJC (uploads)
[mixcloud:user] officialsjc_uploads: Download list of uploads (page 1)
[mixcloud:user] playlist SJC (uploads): Downloading 0 videos
[download] Finished downloading playlist: SJC (uploads)

Description

Even tho there are seemingly no errors in the process, youtube-dl won't download any songs when url of a MixCloud profile is used (I tried both https://www.mixcloud.com/profile/uploads/ and https://www.mixcloud.com/profile/ ). Single shows can be downloaded without any issue.

MixCloud profile is used ,,

The "profile" is meant to be a placeholder for an actual username. For example, https://mixcloud.com/czechball/uploads/

It appears that the issue occurs with playlists as well. I'm working on a fix now.

The issue still persists in 2019.05.20

Any news on this? :heart:


Fix tracker reset logic

The tracker reset logic was changed in #1057, this broke AutoBone by causing the recorded trackers to be reset. This PR should fix the logic, though I'm not exactly sure what was intended by the logic. I've also added comments because it's not super readable.

This’ll change behaviour. You should just set the Autobone trackers as internal if you don’t want them reset as that’s what they are

If I set it to internal, then HumanSkeleton won't accept it. It's not internal anyways, that's not what that flag was supposed to mean. And why should the default behaviour be ignoring the needsReset flag?

IIRC it’s because the HMD has the needReset flag to false.
Would need to set that flag to true in the SteamVRDriver class and then there might be a condition to change in the resetHandler or HumanSkeleton.


[Gssoc'21] Bug in contact Us

Describe the bug:
There is s bug in contact us page please watch this video.
https://user-images.githubusercontent.com/55352601/113180497-6b593b80-926e-11eb-86a7-0fc20f3d9f9b.mp4
As you can see any one can overload the server by clicking submitting repetitively.
Also there are no success/error messgage.
To Reproduce:
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See an error

Expected behavior:
All the fields must be required with some validations
Screenshots:
If applicable, add screenshots to help explain your problem.
Additional context:
Add any other context about the problem here.

Note:

If you want to work on an issue, you should check if it has already been assigned to anyone.

@Akshay6890 Kindly assign me this issue .

You can work on this and make sure to add a link just like login/ signup for the contact page in header.html file, if you have any trouble in understanding, message me back.

@Akshay6890 can you please guide me what's the use of this.

because of this internal server error is occurring. Please check video which will be in next cmnt

@Akshay6890 kindly watch this video very care fully Its a very crucial bug that I have just found
https://user-images.githubusercontent.com/55352601/113301149-533ff580-931c-11eb-965f-a5a27a310c74.mp4

@Akshay6890 What should i do ?? Can I remove that line if it is not necessary??

@Akshay6890 What should i do ?? Can I remove that line if it is not necessary??

include the following line just below the method declaration
@login_required

@Akshay6890 but  that means only logged in members can access contact page.
Don't you think contact us page should be open to all no matter they login or not , just a suggestion.
For now I had added the login required.

@Akshay6890 but that means only logged in members can access contact page.
Don't you think contact us page should be open to all no matter they login or not , just a suggestion.
For now I had added the login required.

yes, I referred the same to the participant who worked on this to add it simply in the header page, so that it does not matter whether you are logged in or not, if you want to work on this issue, raise a issue and I will assign you.

ok @Akshay6890 let me solve the bug in contact form only in this issue , I am going to create a new issue for this that right now

@Akshay6890 but that means only logged in members can access contact page.
Don't you think contact us page should be open to all no matter they login or not , just a suggestion.
For now I had added the login required.

yes, I referred the same to the participant who worked on this to add it simply in the header page, so that it does not matter whether you are logged in or not, if you want to work on this issue, raise a issue and I will assign you.

@Akshay6890 Kindly review my PR #69  and assign me the new issue #70  for making contact page available for all .


export-name: detect export declarations

Previously, the export-name rule would detect an export assignment
like
export = Fish;
// or
export default Fish;

but it would not detect an export like
export { Fish }

Fixes #444

Awesome.
Technically, this is a breaking change, as it should start flagging violations it wasn't before.


add "hint" cells in the ipynb for tricky questions

Add "hints" hidden cells.
For example in "2_pandas.ipynb" bellow the Wrapping it all together :

Hint
If you can't find the right pattern to look for, take a peak at the spelling of the categories by printing the column content.

Do you know if we can hide cells in Colaboratory ?
I have been unsuccessful in this environment, and googling only enabled me to figure out how to do this in Jupyter book.


v14.4.25 JS: cleanup "cell" prototype

[Current coverage][cc-pull] is 99.18%

Merging [#344][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #344   diff @@
==========================================
  Files            24         24
  Lines           366        366
  Methods          77         77
  Messages          0         77    +77
  Branches          0          0
==========================================
  Hits            363        363
  Misses            3          3
  Partials          0          0

Powered by Codecov. Last updated by [b203e82...99332dc][cc-compare]
[cc-base-branch]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/compare/b203e82429808f8632969281705d19955361ea74...99332dc5b530970c19311065024bf3377070346f
[cc-pull]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/pull/344?src=pr


Please don't actually use this...

Noticed a lot of people are still starring this... this is primarily just an idea, but I don't use it nor do I recommend anyone actually use this.
For authors
The only time semver is a problem is when you have a famous module where people don't like frequently breaking changes. For example, it would be detrimental for Express to make breaking changes every few months. Semver isn't a problem for modules like browserify where breaking changes are usually JS APIs that 99% of users don't actually care about.
Personally, I try to never write a module where this would be a problem.
For users
With semver, it's easier to write your dependencies like:
"express": "4"

This assumes that the author abides by semver, so use ~ and pin whenever appropriate.

Semver isn't a problem for modules like browserify where breaking changes are usually JS APIs that 99% of users don't actually care about.

But even if you introduce a breaking change for the remaining 1% of users, semver requires major increment. Which is a problem for any package large enough.

Anyway, if you deprecate something, it'd be nice to see a replacement. I don't see any. It's not semver, because your idea includes two major points, both of which contradict it:

patch versions of a package never break
minor versions of a package might break

So instead of copy-pasting this to every single README file, it's easier to say "look, we use ferver here". Even though the rest of the ideas is not used, and I didn't even remember seeing dev-channels used anywhere.
Maybe write an actual standard or something?


Update tests to use testify/require instead of value comparisons and Fatal

@krishnaindani all yours, thanks for contributing!

Thank you, I will go through


[Chore] Update server 2023-01-16

This comes with a lot of config changes so cutting a release
The most notable is that it renames all the checkOnSave settings

I don't code in rust but seems to work when doing quick sanity check.


Still waiting for v1 :|

u just said the v1 will release around next week :|

Please stop making issues like these — they aren't helpful and contribute nothing to the project. I'm one person working on making this happen and I'm working on the documentation for the alpha.


Compile on BSD and use snprintf().

This is a bit messed up. You might want to cherry-pick instead of merging, to avoid the merge commit.

Thanks!


Some QOL changes

I posted this in the Spigot discussion tab, but here might be faster.
Hey there, a few things that would be great QOL changes.
First off, not being able to change text color in the language files is not great. Please allow the typical color codes. (&f etc)
Please also let us edit the action bar countdown message, as well as where the countdown occurs. having the countdown in chat would be more consistent to every other message.
There are also some messages that do not reflect properly ingame, such as the called-number section. In the config, there is no !, but ingame there is.
Secondly, being able to edit the GUI would be nice. I don't really need the Status: recruiting part especially when autohost is on. There is then also no need for the Back to main menu option when a game is active.
Third, the bingo card gui itself needs some changes. the call bingo button's (and really any gui item) name should be editable. This can be wrapped in the gui customization mentioned above.
The biggest fix this plugin needs is to have the numbers in the card numerically ordered. It's much more confusing when 5 comes after 11.
Fourth, the config needs an option to toggle the full card option off. It really dampens a game when someone completes a row, only to have the game continue. It's more fun to have quick games.
Fifth, a tweak to how selecting a number tile would be great. Being able to just spam click down the rows does not promote attentive gameplay, so please make it a toggleable item instead. click to "place a chip" then when clicked again, returns to its previous state of numbered paper.
Finally, after every number has been called, please add an option to either send a configurable message or force stop the game.
I hope all this helps! It's a great plugin so far that just needs a few changes.
Please contact me on discord @Swirren#8879 if you have questions.

Thank you so much for this in depth review! I will be looking into adding these features. I can not promise that I will get to do all of them but I will try to do some. I don't really understand what you mean with "The biggest fix this plugin needs is to have the numbers in the card numerically ordered. It's much more confusing when 5 comes after 11."

Any updates on this? Happy new year.


[BUG] robot.typeString(...) is extremely slow in Windows

Looks like robot.js npm package is not updated. It is very slow to use in windows OS.
Related Issues:
https://github.com/octalmage/robotjs/issues/652
https://github.com/octalmage/robotjs/issues/530

The master branch of https://github.com/octalmage/robotjs already implemented the fix for this but it is not synced with the npm package, but installing from the github directly gives this issue:
><EMAIL_ADDRESS>install
> prebuild-install || node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\bibek\miniconda3\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'.   For instance:
npm install https://github.com/octalmage/robotjs.git --save --ignore-scripts


jenkinsx-quickstart-nuxeo-poc to 1.0.17

Promote jenkinsx-quickstart-nuxeo-poc to version 1.0.17

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-x-bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Python 3 Support for Ifconfig-parser

Without Python 3 support, this package is unusable. What's the status on Python 3 support?


Caculations in drawMetaball

Hello, I want use code in drawMetaball method for custom my widgets, but the caculations is too hard. Can you provide me some clues or geometric drawing? Thank you.

Hello, ltvu93. The code itself is pretty much self documented. The best way to understand it to use in your project is by passing your own parameters to drawMetaball method, i.e.
canvas: Canvas, paint: Paint, path: Path, circle1: RectF, circle2: RectF, topBorder: Float,
riseDistance: Float, maxDistance: Float, cornerRadius: Float, topSpreadFactor: Float, bottomStartSpreadFactor: Float, bottomEndSpreadFactor: Float, handleRate: Float
You will see how it behaves, so it will be easier to understand the logic of it.


Sporadic lock ups

I've seen a number of odd lock ups when certain warriors are loaded at the point the simulator is initialised.
I don't see any errors from anywhere but the lock seems to nail chrome.
Requires investigation.

Is it reproduceable?  Is there a particular warrior which breaks it?

Working on that! Just a placeholder ATM. It seems to be after I've already 'run' a match.
 I'll show you tomorrow

Is the pubsub asynchronous then?  I would have throught any delay in the pubsub would delay the run routine...

I'm not sure it is which is, or if it is it's not fast enough to keep up with the core...or it is and the UI isn't responding to the messages fast enough. I made the run method return a promise as the setTimeout wasn't working as I wanted.
Generally what I see is:

Run
UI updates to show the data access for the first 60 or so cycles
Promise resolved from run showing 80000 cycles completed (in a couple of seconds)
Console trying to log another 79000 events
Slowdown
Possibly never finishes which may be why the second run / initialise often seems to lock up

I can confirm that the pubsub is async, so it must be the consumer not processing things fast enough.
I can probably tweak the component updates to batch changes and have a bit more a dig to figure out what is happening

getValidAddress

Figured out what causes the infinite loop, although I don't understand why it doesn't happen every time.  Not only do you need to set the minSeparation to 1, you also need to reduce the instructionLimit.  The logic is that two warriors must be at least minSeparation + instructionLimit apart.  The default instructionLimit is 100 so this makes it impossible to place a warrior in a core of size 64.
As I say, unsure why this ever worked - I'll look at making the core library more defensive so that it will reject invalid settings.

Amazin' I was just digging into the numbers to take a look at that side of things, saved me the work

Should be resoved by #74


"result" Error while trying to Play episode or movie

I'm submitting a ...

[x ] bug report
[ ] feature request
[ ] support request

General information
Addon version used
Latest release from repository (0.14.6)
Description
Video playback does not work. Popup with error "result".
KeyError: u'result' in Logfile found.
Steps to Reproduce

Log in
Choose Profile
Try to Play something

Installation

[x ] I'm using this Netflix Repo
[ ] I'm using other Netflix Repo (Please specify which)
[ ] I'm using a different source (Please tell which)

Operating System

[ x] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[ ] Linux (ARM)
[ ] Android

Additional informatin on the environment
Libreeelec Milhouse 9.1 Build 621
Debug log
http://ix.io/1Nr6

I need more informations,
please try to install this test and put a new debug log
plugin.video.netflix_TEST1.zip

Here is the new logfile with your test plugin:
http://ix.io/1NBP

Ther error detail is: Email or password is incorrect
but something doesn't work in the python libraries of your librelec,
could be the main cause that does not make the addon work properly
I suggest you to use Kodi 18 stable version not 19 alpha

Hello,
i downgraded to Kodi 18.2rc1 with milhouse 9.1 Build 415 and the error persists.

2019-07-01 20:10:36.627 T:140117972858624    INFO: [plugin.video.netflix (0)] Initialized new session
2019-07-01 20:10:36.629 T:140117972858624    INFO: [plugin.video.netflix (0)] Login prefetch: No stored credentials are available
2019-07-01 20:12:33.695 T:140117972858624   DEBUG: [plugin.video.netflix (0)] Failed to load stored cookies: MissingCredentialsError
Looks that your are carrying old version files and cookies.
I would suggest to remove the add and settings as well, uninstall it and check that /sotrage/.kodi/userdata/addon_data/plugin.video.netflix does NOT exists alsodelete request, response and challange files on /storage/.kodi/cdm/
then, reboot your LE, remove the Netflix Repository(Vrey Important) and then install from zip and reboot and finally, try again.

The issue is when usinng this kind of ESN
NFCDCH-LX-FJTJ6H3KV34X4YJA6A72H6LXFNA1QF
Change LX to 01
NFCDCH-01-FJTJ6H3KV34X4YJA6A72H6LXFNA1QF
It should  work

Manifest is being requested fine, but the issue is when requesting a license, it uses a challenge and the esn, the undecoded challenge includes the requested User Agent and Widevine version, something likes this:
architecture_namearm
company_nameGoogle
model_name	ChromeCDM
platform_nameChromeOS"
widevine_cdm_version
<IP_ADDRESS>82 ,
Your ESN flavour should match the arch. company. model, platform,version, etc on requested user-agent, if not,it will fail

I did a clean installation. It is now Librelec 9.0.2 Stable Branch.
After Installing the Plugin from your Repository i got the same error. Even changing the ESN did not work

Ok now it works. I uninstalled the repo and the addon, made sure that there are no files left (no files were left) and installed a daily build (plugin.video.netflix_0.14.5_20190624.zip) manually.

@Thenin2 means you reverted to 0.14.5 instead of 0.14.6...
@CastagnaIT I feel there's something in https://github.com/CastagnaIT/plugin.video.netflix/commit/388fd74b82dd5439271afc947cd6bb465bb22e56 that might cause the issue, but I may be wrong ^^

@Thenin2 would you get a try on the latest daily build to see if the error come back or not? http://www.mediafire.com/file/c05qz9je1dlr655/plugin.video.netflix_0.14.6_20190708.zip/file
You still can revert to 0.14.5_20190624 if it don't works...

i think the latest daily build works correctly, try as Smeulf suggested

Hey, sry that answer took so long, i was on vacation..... i just tried Smeulfs suggestion and it works fine


Multi part form-data file uploading is getting failed in API Manager

Description:
Multi-part form-data file uploading is getting failed in API Manager when the message is mediated due to following reasons:
File content is base64 encoded.
Filename="sample1.txt"[\r][\n]" attribute is missing.
Suggested Labels:
Type/Bug
Affected Product Version:
APIM 1.9.1

Reopening since the fix is not added yet.


[REVIEW] MedusaJS: The open-source Shopify alternative

Project link
https://github.com/medusajs/medusa

Looks great, some suggestions

remove stale branches
needs a code of conduct
add pull request template
if not using project boards, suggest hiding the tab


Amendment with change recommendation: wrong original version

Create new amendment
create change recommendation for this amendment
=> original and changed version are visible and show the same text! Expected: original version shows original amendment without change recommendation

I hope this fixes it: https://github.com/OpenSlides/openslides-client/pull/1822


fix dependabot alert

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I'm skipping the code review since this is such a trivial change.


[BUG] Fix use of declarations after nested rules (deprecated in Sass 1.77.7)

Describe the bug
When using Dart Sass 1.77.7 or later, Hugo displays several deprecation warnings about the use of declarations after nested rules.
To reproduce

Install Dart Sass 1.77.7 or later
Set transpiler = "dartsass" in [main.build] of params.toml
Run hugo

Log file
WARN  Dart Sass: file:///[...]/gethinode/hinode/_vendor/github.com/twbs/bootstrap/scss/_reboot.scss:502:2: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`.

Host environment

Hinode version: [v0.24.23]

Hugo environment
hugo v0.129.0+extended darwin/arm64 BuildDate=2024-07-17T13:29:16Z VendorInfo=brew
GOOS="darwin"
GOARCH="arm64"
GOVERSION="go1.22.5"
github.com/sass/libsass="3.6.5"
github.com/webmproject/libwebp="v1.3.2"
github.com/sass/dart-sass/protocol="2.7.1"
github.com/sass/dart-sass/compiler="1.77.8"
github.com/sass/dart-sass/implementation="1.77.8"

Additional context
The issue has been fixed in https://github.com/twbs/bootstrap/pull/40623 all will be released in Bootstrap v5.3.4.

A new setting has been added to suppress the deprecation warnings. Add the following configuration to params.toml:
[main.build]
    transpiler = "dartsass"
    silenceDeprecations = true


add token as an alias for auth

influx auth matches the API, but it's not what a user thinks about when they want to work with tokens. we should consider an alias that is influx token for this command.

For max discoverability, we could make token the official name of the command, and demote auth to an alias.
Would we also want to add an alias for v1 auth? Should it become v1 user (with an alias of v1 auth), since it's a username/password-based system?


Add WhenAnyObservable overloads that combine latest

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature.
What is the current behavior? (You can also link to an open issue here)
The WhenAnyObservable operator does not work in the same fashion as other WhenAny* operators. All observables must be the same type, and the resulting observable sequence is the result of a Merge of those observables. Consider this:
public IObservable<bool> First { ... }

public IObservable<bool> Second { ... }

public IObservable<string> Third { ... }

// elsewhere
this
    .WhenAnyObservable(x => x.First, x => x.Second)
    .Select( /* er, umm, how do I distinguish whether the value came from First or Second? */ )

// somewhere else
this
    .WhenAnyObservable(x => x.First, x => x.Third)  // oops, this is not even possible

What is the new behavior (if this is a feature change)?
This PR adds overloads of WhenAnyObservable that work in the same fashion as other WhenAny* operators. Each observable can be of a different type, and a selector must be provided to combine the results. In our example above, it would look like this:
this
    .WhenAnyObservable(x => x.First, x => x.Second, (first, second) => /* do whatever here to select an appropriate value */)

this
    .WhenAnyObservable(x => x.First, x => x.Third, (first, third) => /* do whatever here to select an appropriate value */)

Does this PR introduce a breaking change?
No.
Please check if the PR fulfills these requirements

[X] The commit follows our guidelines: https://github.com/reactiveui/reactiveui#contribute
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

LGTM


Minor doc fixes

Change-type: patch
Signed-off-by: Ken Bannister<EMAIL_ADDRESS>

@balena-ci I self-certify!


doc: releases: add python 3.6 requirement to notes

Add a release notes line item about the move to Python 3.6.

 mbolivar requested review from dbkinder,

That was an accident, sorry dbkinder. No need to re-review. I've made no changes.


Attestation: DDL

#2474

Isn't this going to break a load of code ?   Was expecting to see some java changes as well as old attestation stuff needs ripping out....

@davidwatkins73 was looking to do that in a separate commit.. but you're right I should do this with this pull.. in case someone runs it.. Let me do that now..

thanks!


Use middleware instead Rails controller for model query

By using middleware instead of a Rails controller, it skips many middlewares that aren't needed for our model query request. In big Rails apps, this could be a big performance improvement.
Although Rails engine also supports being used as a middleware, it still requires registering routes to the application. That doesn't always work depends on the app's own rules on how to register routes.
Compare to Rails engine, middleware is a more flexible way to integrate with Rails apps and also a lot lighter.

Closes https://github.com/Shopify/ruby-dev-exp-issues/issues/898

I'll try it out shortly, but I assume that since this is done at the rack level, we'll no longer see any /ruby_rails_lsp/... requests in the Rails server log?

The middleware is not injected that early in the stack, so you should still see it in logs, like:
Started GET "/ruby_lsp_rails/models/User" for <IP_ADDRESS> at 2023-04-20 11:56:51 +0100


No files created

Hello, I am on osx, I have successfully installed inkscape_merge,
It seems to run file, I see in the log output that he is processing my file row by row,
But in the end no files are created.
After some reasearch I have foudn my mistake :-D
Actualyl the issue was the ouput path was wrong. By writing a fullpath for the ouput, it worked like a charm !
Hope this will help poeples in the future.
inkscape_merge -f tag.svg -d codes.csv -o /Users/XXXXXX/Documents/XXXXXX/Certificate_Generator/test%d.pdf

Thanks for the tip. I added a patch that should automatically turn output file to absolute path. Should fix this issue.


docs(k8smeta): update k8smeta doc

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind documentation
Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:
This PR  updates the k8smeta doc
Which issue(s) this PR fixes:
Fixes #420
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Andreagit97
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 67b979f6b46b8d831f55598e22d569bc101d93e9


Add a test using implicit default zone

Looks to me like we didn't have a test for this any more.

Fine, no need for this then!


Fix mysterious unicode segfault

The issue is that on some systems lit defaults to the POSIX locale, which causes a segfault when decoding decision tree YAML. This PR fixes the issue by just forcing a UTF-8 locale for the new test case.
We can't really recover from the issue, but the PR also adds some nicer error reporting to prevent the confusing segfaults we were seeing previously.

Ah, really nice work - that's definitely a better fix! I'll close this PR @Scott-Guest - please go ahead and open one with your fix and I'll review.


On docker after some time: No compatible CUDA device is available

The Environment:
Running on Docker 20.10.12-3 on RHEL 7.9 with 4x NVIDIA Corporation GV100GL [Tesla V100 PCIe 32GB] cards.
CUDA version on this host is 11.4.
I also get this version reported, when doing a
  docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi

Seems fine to me?
The Problem:
So I am running alphafold (version from beginning of march 2022) like this:
python3 /software/alphafold2/alphafold/docker/run_docker.py \
--fasta_paths=/software/db/alphafold2/example_input/T1050.fasta \
--max_template_date=2020-05-14 --data_dir=/software/db/alphafold2/alldata

This is using python3 from a venv installed like this:
    python3 -m venv $envPath
    source $envPath/bin/activate
    pip3 install --upgrade pip
    pip3 install -r /software/alphafold2/alphafold/docker/requirements.txt

After quite some hours this is comming up exactly a 100 times:
I0316 18:50:27.090867<PHONE_NUMBER>31136 run_docker.py:247] I0316 17:50:27.090230<PHONE_NUMBER>99392 amber_minimize.py:408] Minimizing protein, attempt 100 of 100.
I0316 18:50:29.051809<PHONE_NUMBER>31136 run_docker.py:247] I0316 17:50:29.049898<PHONE_NUMBER>99392 amber_minimize.py:69] Restraining 6213 / 12189 particles.
I0316 18:50:29.170636<PHONE_NUMBER>31136 run_docker.py:247] I0316 17:50:29.170062<PHONE_NUMBER>99392 amber_minimize.py:417] No compatible CUDA device is available

... ultimately leading to this:
I0316 18:50:29.207758<PHONE_NUMBER>31136 run_docker.py:247] Traceback (most recent call last):
I0316 18:50:29.207883<PHONE_NUMBER>31136 run_docker.py:247] File "/app/alphafold/run_alphafold.py", line 445, in <module>                                           I0316 18:50:29.207957<PHONE_NUMBER>31136 run_docker.py:247] app.run(main)
I0316 18:50:29.208023<PHONE_NUMBER>31136 run_docker.py:247] File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 312, in run                             I0316 18:50:29.208087<PHONE_NUMBER>31136 run_docker.py:247] _run_main(main, args)
I0316 18:50:29.208148<PHONE_NUMBER>31136 run_docker.py:247] File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 258, in _run_main
I0316 18:50:29.208209<PHONE_NUMBER>31136 run_docker.py:247] sys.exit(main(argv))
I0316 18:50:29.208268<PHONE_NUMBER>31136 run_docker.py:247] File "/app/alphafold/run_alphafold.py", line 429, in main
I0316 18:50:29.208327<PHONE_NUMBER>31136 run_docker.py:247] is_prokaryote=is_prokaryote)
I0316 18:50:29.208385<PHONE_NUMBER>31136 run_docker.py:247] File "/app/alphafold/run_alphafold.py", line 250, in predict_structure
I0316 18:50:29.208454<PHONE_NUMBER>31136 run_docker.py:247] relaxed_pdb_str, _, _ = amber_relaxer.process(prot=unrelaxed_protein)
I0316 18:50:29.208513<PHONE_NUMBER>31136 run_docker.py:247] File "/app/alphafold/alphafold/relax/relax.py", line 66, in process
I0316 18:50:29.208570<PHONE_NUMBER>31136 run_docker.py:247] use_gpu=self._use_gpu)
I0316 18:50:29.208626<PHONE_NUMBER>31136 run_docker.py:247] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 483, in run_pipeline                      I0316 18:50:29.208684<PHONE_NUMBER>31136 run_docker.py:247] use_gpu=use_gpu)
I0316 18:50:29.208741<PHONE_NUMBER>31136 run_docker.py:247] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 419, in _run_one_iteration
I0316 18:50:29.208799<PHONE_NUMBER>31136 run_docker.py:247] raise ValueError(f"Minimization failed after {max_attempts} attempts.")
I0316 18:50:29.208857<PHONE_NUMBER>31136 run_docker.py:247] ValueError: Minimization failed after 100 attempts.

The Questions:

What is Alphafold (docker) considering a "compatible CUDA device"?
As I think I have such one - what can I do to make it acknowledged by Alphafold running in docker?

Hi Wolf-Z,
I saw the same exception thrown.
Is the GPU set to the exclusive mode? The algorithm may try to create multiple GPU context (someone please confirm) but the GPU in exclusive mode prevents creating multiple contexts. https://github.com/openmm/openmm/issues/3518
Question to AlphaFold2 developers
Is it possible to disabling the multiple GPU context creation in amber_minimize.py?

Following - same error - Nvidia has already been set to exclusive mode

@jarunan Thanks! That looks like another way of changing CUDA's operation to the default mode.. nvidia-smi -c 0 fixed it for me.
@Augustin-Zidek You may want to mention in the requirements that GPU compute mode must be set to default or MPS should be enabled as @jarunan mentioned.
I did not see this behavior in previous versions of alphafold.

By the way.
What I've realized in the meantime:
I don't get the error when running the container as root. Only as user.
But running this as user is still my main aim.
Please notice: When running the test command (see original issue) then those "sub processes" from the container run fine:

/usr/bin/jackhmmer (2 times)
/usr/bin/hhsearch
/usr/bin/hhblits
maybe more - I've just started a new calculation some hours before and the hhblits really takes its time

Anyway - thanks for all the suggestions so far.

nvidia-smi -c 0

didn't help - every GPU (4 GPUs are installed within the machine) already was in default mode

nvidia-cuda-mps-control -d

leads to a crash right after the "TPU driver" check:

I0412 [...] run_docker.py:247] Fatal Python error: Segmentation fault

The full error in "nvidia-cuda-mps-control -d" mode is (deleted all the time stamps and run_docker.py prefixes):
Current thread 0x00007fd41dac3740 (most recent call first):
"/opt/conda/lib/python3.7/site-packages/jaxlib/xla_client.py", line 98 in make_gpu_client
"/opt/conda/lib/python3.7/site-packages/jax/lib/xla_bridge.py", line 192 in backends
"/opt/conda/lib/python3.7/site-packages/jax/lib/xla_bridge.py", line 228 in get_backend
"/opt/conda/lib/python3.7/site-packages/jax/lib/xla_bridge.py", line 249 in get_device_backen
"/opt/conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 138 in _device_put_arr
"/opt/conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 133 in device_put
"/opt/conda/lib/python3.7/site-packages/jax/_src/lax/lax.py", line 1596 in _device_put_raw
"/opt/conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 2996 in array
"/app/alphafold/alphafold/model/utils.py", line 80 in flat_params_to_haiku
"/app/alphafold/alphafold/model/data.py", line 39 in get_model_haiku_params
"/app/alphafold/run_alphafold.py", line 393 in main
"/opt/conda/lib/python3.7/site-packages/absl/app.py", line 258 in _run_main
"/opt/conda/lib/python3.7/site-packages/absl/app.py", line 312 in run
"/app/alphafold/run_alphafold.py", line 445 in <module>
/app/run_alphafold.sh: line 3:     9 Segmentation fault      python /app/alphafold/run_alphafold.py "$@"

My last thought (for Today):
There were suggestions that OpenMM is the source of the problem. In order to check if OpenMM is working fine, they say: Check its included test cases. Unfortunately building those test cases from inside the container is really a lot of work because of missing compilers (obviously), RO Conda Env, include paths and libpaths all over the place under /opt - not really something I'd like to do.
All I want to check is: Can OpenMM see my Cuda devices, where does it look for those and are there maybe some permission problems?
Are there any suggestions how to check openMM without building it's test cases from within the container?

Hi, I ran into the same issue, in case others read this, maybe it helps someone.
the error "No compatible CUDA device is available" (see orgininal post #403 ) happened to me when I on the same workstation started 2 AF-multimer predictions.
apparently whats happening is that the program uses only the first of my (3 in total) GPUs. When I start 2 precictions, both seem to compete over the same GPU and as a result I got the No compatible CUDA device is available error.
when I add the parameter   --gpu_devices= 0 on the first prediction and   --gpu_devices=1 to the second, both seem to be runnig without the above error. So, apparently one cannot have more than one job per GPU, and the GPU should be specified if one wants to run several predictions on the side.
As others also had reported, I did not managed to get more than one GPU utilized per job

I've been having the same problem, anyone have any idea how to fix it?

I think the root cause is in amber_minimize.py in the _openmm_minimize() function.
OpenMM does allow multiple GPUs, but you have to define properties["DeviceIndex"]
to explicitly enumerate the devices available. See: http://docs.openmm.org/latest/userguide/library/04_platform_specifics.html#cuda-platform
However, _openmm_minimize() in v2.3.1 does not do so after defining the Platform.
Wrote a bit more about this in my issue in alphafold_singularity that is auto-linked above.

嗨，我遇到了同样的问题，如果其他人读到这篇文章，也许会对某人有所帮助。
当我在同一工作站上开始两个多聚体预测时，发生了错误“没有可用的兼容 CUDA 设备”（请参阅原始帖子#403 ）。
显然发生的事情是该程序仅使用我的第一个（总共 3 个）GPU。当我开始 2 个预测时，两个预测似乎都在竞争同一个 GPU，因此我收到了“没有可用的兼容 CUDA 设备”错误。
当我在第一个预测中添加参数 --gpu_devices= 0 并在第二个预测中添加参数 --gpu_devices=1 时，两者似乎都在运行而没有出现上述错误。因此，显然每个 GPU 不能有多个作业，如果想要同时运行多个预测，则应指定 GPU。 正如其他人也报告的那样，我没有设法为每个作业使用多个 GPU ，因此 --gpu_devices=0,1 与 --gpu_devices=0 相同，看起来第二个 GPU 被忽略

Enabling MPS helps. (nvidia-cuda-mps-control -d) https://docs.nvidia.com/deploy/mps/index.html

Yes, this solution fixed. Thx

Enabling MPS helps. (nvidia-cuda-mps-control -d) https://docs.nvidia.com/deploy/mps/index.html

This works!~

更新
由于某种原因，在不改变任何东西的情况下（好吧 - 我在启动之前运行了“nvidia-smi -c 0”，但它告诉我，所有 4 个 GPU 都已处于默认模式），并且仅在正在运行的容器内并行寻找一些提示 -我以用户身份运行了示例计算。 所以整个问题可能只是一个巨大的干扰 - 如果是这样的话，我很抱歉。 我唯一的想法是，我们有一个 systemd-tmpfiles 作业正在运行，在我第一次尝试时可能已经删除了 /tmp/alphafold 文件夹，而这对于 alphafold 容器的工作似乎非常关键。
原始评论
顺便说一句。与此同时 ，我意识到： 以 root 身份运行容器时，我没有收到错误。只有以用户身份运行才会收到错误。
但以用户身份运行它仍然是我的主要目标。
请注意：运行测试命令时（参见原始问题），容器中的那些“子进程”运行良好：

/usr/bin/jackhmmer（2次）
/usr/bin/hhsearch
/usr/bin/hhblits
可能更多 - 我几个小时前才开始进行新的计算，hhblits 确实需要花费一些时间

无论如何 - 感谢您迄今为止提出的所有建议。

nvidia-smi -c 0

没有帮助——每个 GPU（机器内安装了 4 个 GPU）已经处于默认模式

nvidia-cuda-mps-control -d

在检查“TPU 驱动程序”后立即导致崩溃：

I0412 [...] run_docker.py:247] Fatal Python error: Segmentation fault

“”模式下的完整错误nvidia-cuda-mps-control -d是（删除了所有时间戳和run_docker.py前缀）：
Current thread 0x00007fd41dac3740 (most recent call first):
"/opt/conda/lib/python3.7/site-packages/jaxlib/xla_client.py", line 98 in make_gpu_client
"/opt/conda/lib/python3.7/site-packages/jax/lib/xla_bridge.py", line 192 in backends
"/opt/conda/lib/python3.7/site-packages/jax/lib/xla_bridge.py", line 228 in get_backend
"/opt/conda/lib/python3.7/site-packages/jax/lib/xla_bridge.py", line 249 in get_device_backen
"/opt/conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 138 in _device_put_arr
"/opt/conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 133 in device_put
"/opt/conda/lib/python3.7/site-packages/jax/_src/lax/lax.py", line 1596 in _device_put_raw
"/opt/conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 2996 in array
"/app/alphafold/alphafold/model/utils.py", line 80 in flat_params_to_haiku
"/app/alphafold/alphafold/model/data.py", line 39 in get_model_haiku_params
"/app/alphafold/run_alphafold.py", line 393 in main
"/opt/conda/lib/python3.7/site-packages/absl/app.py", line 258 in _run_main
"/opt/conda/lib/python3.7/site-packages/absl/app.py", line 312 in run
"/app/alphafold/run_alphafold.py", line 445 in <module>
/app/run_alphafold.sh: line 3:     9 Segmentation fault      python /app/alphafold/run_alphafold.py "$@"

我今天最后一个想法是：
有人认为 OpenMM 是问题的根源。为了检查 OpenMM 是否正常工作，他们说：检查其包含的测试用例。不幸的是，从容器内部构建这些测试用例确实是一项艰巨的工作，因为缺少编译器（显然）、RO Conda Env、包含路径和 libpath 遍布 /opt 下 - 这不是我真正想做的事情。我想检查的 是：OpenMM 是否可以看到我的 Cuda 设备，它在哪里寻找这些设备，是否可能存在一些权限问题？
有没有什么建议可以在不从容器内部构建测试用例的情况下检查 openMM？

I am also encountering the same problem, has your problem been solved?

Check Table 3 under this link to check if your driver version is up to date / compatible with your cuda version. https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html. For me i had to update my driver version for some reason the latest drivers were not installed.


Change default color values

Is it possible to change the default color values for drawing tools and the background color.
For some reason new drawings default to solid white drawing tools and solid black background, it should use the default color values that excalidraw uses on the website or be user configurable.

You can change the theme (yours seems to be set to dark mode)


Remove version: MusicBee.MusicBee version 3.5.8447

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

[Policy] Highest-Available-Version

[Policy] Highest-Version-Removal


Add mandatory OpenBSD bits

This is the largest PR related to adding OpenBSD support but hard to split up.

These test failures on bot look real:
        		<stdin>:92:2: error: unknown type name ‘event_t’
        		<stdin>: In function ‘thr’:
        		<stdin>:103:3: error: implicit declaration of function ‘event_wait’ [-Werror=implicit-function-declaration]
        		<stdin>:104:3: error: implicit declaration of function ‘event_reset’ [-Werror=implicit-function-declaration]
        		<stdin>:107:3: error: implicit declaration of function ‘event_set’ [-Werror=implicit-function-declaration]
        		<stdin>: In function ‘execute_one’:
        		<stdin>:122:5: error: implicit declaration of function ‘event_init’ [-Werror=implicit-function-declaration]
        		<stdin>:127:4: error: implicit declaration of function ‘event_isset’ [-Werror=implicit-function-declaration]
        		<stdin>:135:4: error: implicit declaration of function ‘event_timedwait’ [-Werror=implicit-function-declaration]
        		<stdin>: In function ‘loop’:
        		<stdin>:179:3: error: implicit declaration of function ‘remove_dir’ [-Werror=implicit-function-declaration]
        		<stdin>: In function ‘execute_call’:
        		<stdin>:190:3: error: implicit declaration of function ‘syz_open_pts’ [-Werror=implicit-function-declaration]
        		cc1: all warnings being treated as errors

        		compiler invocation: gcc [-Wall -Werror -O1 -g -o /tmp/syz-executor613277355 -pthread -DGOOS_openbsd=1 -DGOARCH_amd64=1 -x c - -m64 -static]

This is related to generation of C reproducers and how they are combined from pieces of executor/common_openbsd.h.
You should be able to reproduce it locally by running:
go test -short -run=TestGenerate/openbsd ./pkg/csource
And when that passes also run it without -short flag.

I don't see where you add support for OpenBSD in executor code.
You need to at least update this part of executor.cc
#if GOOS_linux
#include "executor_linux.h"
#elif GOOS_fuchsia
#include "executor_fuchsia.h"
#elif GOOS_akaros
#include "executor_akaros.h"
#elif GOOS_freebsd || GOOS_netbsd
#include "executor_bsd.h"
#elif GOOS_windows
#include "executor_windows.h"
#elif GOOS_test
#include "executor_test.h"
#else
#error "unknown OS"
#endif

Not sure if you need to touch anything in executor_bsd.h or in common_bsd.h.

The tests should hopefully work by now. I cannot run the on OpenBSD since the cpp(1) implementation from Clang does not support -fdirectives-only. Didn't investigate that much time into fixing this...

The executor parts are now also pushed.

Regarding the syscall descriptions: I did copy them from NetBSD initially and removed everything related to Linux-compat, added kqueue.txt that hopefully could be shared between the BSDs, added two OpenBSD-specific syscalls pledge(2) and unveil(2).

On the ABI level BSD diverged too much to pretend a shared subset.
I recommend to keep BSD as distinct targets, also if something is shared between NetBSD and FreeBSD, it might be very different on other BSD and we will end up quickly with a lot of code such as '#if BSD && !OTHERBSD`.

@krytarowski

On the ABI level BSD diverged too much to pretend a shared subset.
I recommend to keep BSD as distinct targets

But there is a very large shared subset too, right. All of the fs, mm, socket, ipc calls, structures and flags. And it's not only the BSDs, also linux, darwin, fuchsia, akaros and potentially some other unix flavours. So we will have 7+ fold duplication there. Which is somewhat concerning. We put lots of effort into, say, linux, and it would be nice to immediately reuse that for an OS for which nobody has lots of resources (at least initially until we can prove that it is actually useful).

The latest build failed on Travis for Go 1.10:
--- FAIL: TestGenerate (7.33s)
    --- FAIL: TestGenerate/linux/arm64 (0.21s)
    	csource_test.go:51: seed=1535474048909453807
        --- FAIL: TestGenerate/linux/arm64/0/39 (10.55s)
<snip>
collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped

yikes...

The latest build failed on Travis for Go 1.10:

This is "OK". I guess it's an OOM, we periodically see these, don't know what to do yet. So if 1 of them passes, it generally means that the change is good.
I've skimmed through code and it looks good to me. I did not read every single line super carefully, because it's large. I am merging this now, we can fix up things later in smaller changes if necessary.

But there is a very large shared subset too, right. All of the fs, mm, socket, ipc calls, structures and flags.

Even if something might offer a similar feature it might contain different implementation details. We noted kqueue in this thread - a typical BSD interface, struct kevent differs on NetBSD and OpenBSD.
We were trying to do a similar thing in sanitizers and we ended up with lib/sanitizer_common/sanitizer_platform_limits_{linux,netbsd,openbsd,solaris,posix} as otherwise it was unmaintainable and every new kernel was difficult to handle.

BSDs diverged in 1995 and after the years a lot of internals started to differ.  This situation will get only worse over time.

BSDs diverged in 1995 and after the years a lot of internals started to differ. This situation will get only worse over time.

Lots of that is POSIX.

Even if something might offer a similar feature it might contain different implementation details. We noted kqueue in this thread - a typical BSD interface, struct kevent differs on NetBSD and OpenBSD.

I wonder what's the ratio between common interfaces and os-specific. Say, if kqueue is the same except for the kevent struct, then we can have a common kqueue description and then say that if an os includes this file then it needs to define own kevent struct elsewhere (all these *.txt files are in "global namespace" and order does not matter, so it's perfectly fine to just define kevent in any other .txt file).
For example, BSD sockets is quite large API, it would be nice to share common parts, but os-specific setsockopt's can go into os-specific files.
I don't know, maybe if we will try to share them, it will turn out that it's worse than what we have now. But I think we should try to prototype that sharing and see how bad/good it is actually in practice.

OS-specific syscalls can go into OS-specific files.
For flags I was thinking about the following syntax:
// in a common file
mmap_flags = ... posix mmap flags...

// in a linux-specific file:
mmap_flags += ... linux flags ...

Re ptrace, we can decide for each subsystem separately. If ptrace is radically different, then we may not create a common file.
Copy-pasting is very fast solution in short term, but it creates problems long-term.
We had lots of copy-pasting in executor/* and that made adding new features hard, some important features were not implemented for anything other than linux, and everything other than linux were lower quality, and I periodically broken bsd's.
Recently I unified most of code and it all become better.
 It makes it even more important to not have it copy-pasted, because eventually somebody will notice the stupid typo (today, most likely on linux) and fix it, but not necessary in 10 copies. We do have lots of such cases, I suspect it already affects bsd's.

OK, so let's give it a try and evaluate in future.


Detects the same printer multiple times, likes to ignore driver and send PDF, huge waste of paper

I have a Samsung ML-2950 which supports ipp but not Airprint; it uses PCL. CUPS seems to detect it multiple times. For example, here are the options if I choose Modify Printer in CUPS on http://localhost:631:

I only have the one printer.
I don't get offered so many copies in GNOME settings or applications that can print, but there's usually more than one. AIUI this is handled by CUPS libraries which gnome-settings and other applications are linked with. The trouble is, the auto-detected ones often show up as driverless, so if I print to one by mistake it sends PDF to the printer, which appears as a few lines of garbage before it encounters a byte which it interprets as form feed, so it ruins several sheets of paper very quickly if I'm not at the printer ready to pull the plug. Reconfiguring it to use the correct driver only works temporarily, I just get another bogus entry turning up next time.
Can't CUPS do a better job of working out that this is always the same printer, eg by checking its MAC address, and make sure it remembers which driver I want to use with it?

First, it isn't always possible to get the MAC address of a printer without connecting to it, which will wake it. Try doing that on a network with 1000 printers!
Second, it looks like you may have extra backends that are discovering the same printer with different protocols, making it impossible for CUPS to (reliably) know that they are the same printer, or even which backend should be used in a given circumstance - for example, HPLIP includes a backend that is optimized for use with their drivers. When you just have the stock CUPS configuration this doesn't happen because we've integrated the discover of all standard protocols to avoid this.
Anyways, there isn't anything we've come up with to resolve this issue, but you can limit the number of duplicates by removing print drivers you don't need...

The only thing that seems like I can remove is foomatic-db-engine. I've done that and restarted CUPS, but CUPS still offers multiple copies of this printer when it's switched on. It even seems that once I choose one and configure it, CUPS no longer recognises it as the same detected printer, because it presents the same one as a "new" printer.
There's also a difference between Modify Printer and Add Printer:

Why the discrepancy? Perhaps the printer offers multiple protocols that have support built into CUPS? I need some way to filter out the protocols I don't want to use, but how?

The "driverless" one is cups-browsed.
The "beh" backend might also be doing discovery, not sure.
You can also check whether your distro has enabled SNMP lookups by default in the /etc/cups/snmp.conf file.

FWIW I'm using Arch Linux, but I'm pretty sure I used to have the same problem in Debian. cups-browsed isn't running, it's masked/disabled in systemctl. AFAICT I should disable SNMP, which can be done by setting Address <IP_ADDRESS> and/or removing the Community name in /etc/cups/snmp.conf. Is that right?

@realh Just comment the "Address" like out in snmp.conf.


JPG format is not supported

OS:
PyQt version:

It is the plugin dlls loading problem.
Find the proper qt4 plugin path. For me, using anaconda, that is
/<path-to-Anaconda-or-env>/lib/qt4/plugins
Add following code into labelImg.py
from PyQt4 import QtCore
QtCore.QCoreApplication.addLibraryPath('/<path-to-Anaconda-or-env>/lib/qt4/plugins')

you can use  to install the plugins


.gitignore, UIColor+BFW, placeholder image

This has conflicts, and it's 3.5 years old so it probably should be closed

Thanks Tom. I think, from memory, that I absorbed some of your changes but not all.

All good - I was actually recommending BFWDrawView to someone today and dropped by here to see what was happening with it :)
Is this the primary repo or is BitBucket the source of truth these days? (note: nowunlimited free repos on GitHub if that was your reasoning for using BitBucket in the past).

BFWDrawView is still alive and active. Swift 4.2 etc. It's mirrored on both Bitbucket and GitHub.
I've spent more time lately on BFWControls:
http://github.com/BareFeetWare/BFWControls/
http://bitbucket.org/BareFeetWare/BFWControls/


Can you provide Chinese language support In Exceptionless.Web?

Can you provide Chinese language support In Exceptionless.Web?

Hello,
I'm not sure what all we'd translate server side (maybe email templates) but we'd be more than happy to accept pull requests for this. Would you be willing to fork this repo in the pr (https://github.com/exceptionless/Exceptionless.UI/pull/155) and reopen this pr with any changes that need to be done which I think are very limited. This would be greatly appreciated and a huge help as we are all native English speaking and need community assistance.
In the mean time I'm going to close this issue to keep the issue list clean but we would LOVE community assistance on translating the app and wiki text / readme. Please let us know if you have any questions or how we can help assist by replying to this issue.