Apps are gone randomly (only using Material Skin, default works fine)

Hi,
I have a weird issue and I don't know if it's Material Skin, or maybe something else is bugged which causes this. So I notice multiple times a day my 'apps' suddenly don't list apps from mysqueezebox.com I use Tidal a lot and have it as a shortcut on the main menu as well. When it's gone from 'apps' the icon on the homescreen is still there, but opening it results in an empty list (since the app is gone).  P.S. I'm running latest LMS 8.0 (17-nov) with Squeezelite-X (both on Windows) and a separate Squeezelite player add-on on a Raspberry Pi through Home Assistant. I'm using LMS for a week now, so I have no prior experiences with this issue.
However, when I refresh the browser and don't open the Material Skin but the default one, it's all there fully working. One thing I also notice, is that the plugin Online Music Integration keeps turning Tidal off. However, with the default skin, Tidal still works even when this is turned off .
Here are two screenshots, 2 seconds apart of the exact same instance and player.

I have no idea how this is related to the Material Skin and if mysqueezebox.com and/or Online Music Integration plugin have anything to do or not. One thing I do know, is that it has no issues running the default skin and only when using Material Skin.
I'm still not sure what I do to get them back, I tried different stuff every time and the apps returned, but it's unclear what helped. Maybe it was just a coincidence and it comes back automatically. or maybe restarting the server triggers it to work again (untill they're gone again). Also the apps themselves work fine. As I said, using the default theme shows them and they work fine. Also when using Material Skin while the apps are disappeared, playlists I have favorited also just work (in this case Tidal).
Any thoughts what the issue can be?

Sorry, but list of apps comes from LMS. Your missing ones are, or appear to be, ones that come from mysqueezebox. For these, they need to be enabled for each player. As of 2.0.2 Material will refresh the apps list if a player changes.

Sorry, but list of apps comes from LMS. Your missing ones are, or appear to be, ones that come from mysqueezebox. For these, they need to be enabled for each player. As of 2.0.2 Material will refresh the apps list if a player changes.

Hi thanks for the explanation! Can you explain to me how I can enable it for each player? I still don't understand how Material Skin shows all apps and then after a while they disappear. I'm confused by your explanation how they appeared in the first place and then suddenly disappear.

I don't use your system, so I have no idea what is happening. But, the list of apps comes from LMS - the same message is used each time. If apps show with playerA active, and you switch to playerB - then Material will refresh the apps list. If Tidal is not registerd (on mysqueezebox.com) for playerB it will be removed (or rather LMS will not return it when Material asks for the app list).

I don't use your system, so I have no idea what is happening. But, the list of apps comes from LMS - the same message is used each time. If apps show with playerA active, and you switch to playerB - then Material will refresh the apps list. If Tidal is not registerd (on mysqueezebox.com) for playerB it will be removed (or rather LMS will not return it when Material asks for the app list).

Thank you for the explanation. I did notice that the Squeezelite player running on Home Assistant as an add-on does not show on mysqueezebox.com while the squeelite-x app on Windows does show there. So if I understand you correct, this is why sometimes the apps dissapear while using Material Skin? If one of the players doesn’t show, Material Skin mignt reload the app list which will remove the apps on all player views.
Then I’ll contact the dev of the add-on to see how this can be fixed to appear on mysqueezebox.com


Feature Request: Extend changelog when using github/pullrequest

Is your feature request related to a problem?
If the changelog is empty when using githubrelease, I'd like to support some kind of extension so I could synthetically modify the changelog within the pipeline definition.

But its changelog is empty:

Solution you'd like
I'd like to somehow being able to modify the changelog as part of the kind github/pullrequest
actions:
  chart:
    kind: github/pullrequest
    scmid: githubConfig
    spec:
      extchangelog: https://github.com/golang/go/issues?q=milestone%3AGo{{ source "latestGoVersion" }}+label%3ACherryPickApproved

Alternatives you've considered
https://github.com/updatecli/updatecli/issues/1125 could be the new way?
Anything else?
No response

Thanks for bringing back this topic on the table, handling Changelog correctly is a large and not so easy topic :D that I didn't have to dig into yet...
So the short answer, I usually use the field "description" for github pullrequest to provide additional information such as civo/kubernetes-marketplace:/.github/updatecli.d/argocd.yaml  that generate https://github.com/civo/kubernetes-marketplace/pull/394

The challenge for https://github.com/updatecli/updatecli/issues/1125 is to be able to have more than one changelog in the PR body while having constant data across Updatecli pipeline run.
I already have prototype working which I need to fine some time to finalize

Thanks Olivier, I've been using the description and works quite well. Just found the changelog being empty somehow a bit misleading. That's a bit of edge-case as the release notes for Golang is somewhere elsse.
Probably this can be closed as description is a good workaround, while https://github.com/updatecli/updatecli/issues/1125 can be the solution
Thanks again!

I always wanted to work on the changelog but lack of time and the current status quo is enough for my needs.
I have been considering having something like
sources:
  elastic:
    # Get latest elasticsearch version
changelogs
   elastic:
     kind: githubrelease
targets:
   action:
     kind: file
     sourceid: elastic
     changelogid: elastic
    # provide

based on the source and target we would be able to build a dif


Unix Domain Socket support (UDS)

Is there any plan to support unix sockets like
$server = Socket\listen("server.sock");

while ($client = $server->accept()) {
    // You shouldn't spend too much time here, because that blocks accepting another client, so we use async():
    async(function () use ($client) {
        // Handle client connection here
    });
}

You just have to give it a proper scheme, e.g.unix://server.sock.


Add support to V9 Keybinding

Nothing happens when pressing 'r' and the following error message is shown in the console log:

Versions:

FVTT 9.242
PF2e <IP_ADDRESS>03
foundryvtt-pf2e-reach-templates 1.0.2

This particular issue isn't with the keybinding, it's that a bunch of things were moved around in v9 and thus the locations changed. In this case, e.getFlag doesn't work, but e.document.getFlag does.
I've been looking into it in some spare time, and if you fix the calls to getFlag, setFlag, unsetFlag (all with document.getFlag, etc), and replace the Drawing.create() (which doesn't exist anymore), it does work again.
Drawing.create has to be replaced like this:
DrawingDocument.create([{the existing properties in the call}], {parent: canvas.scene})
The keybindings themselves should also be updated to foundry v9 because that lets you customize them in the UI, but that isn't required to get the module running.
I've got a working local copy, going to see if I can clean it up if the author doesn't want to do it.

Cool. I'll look into fixing it thanks for the response @Tridus

To be more specific, the things I changed were this.
Drawing.create needs to be DrawingDocument.create:
const [o] = await DrawingDocument.create([{
type: CONST.DRAWING_TYPES.FREEHAND,
author: game.user._id,
x: e.x - (t / 5) * canvas.scene.data.grid,
y: e.y - (t / 5) * canvas.scene.data.grid,
fillType: CONST.DRAWING_FILL_TYPES.NONE,
strokeWidth: 4,
strokeColor: n(),
strokeAlpha: 0.75,
points: r.map(([e, t]) => [e * canvas.scene.data.grid, t * canvas.scene.data.grid]),
}], {parent: canvas.scene});
e.SetFlag (and getFlag/unsetFlag) can be e.document.setFlag
Those changes appear to get it working again in my limited testing. I didn't do things with the keybinds, but the new v9 keybinding system appears to be pretty easy to implement and also creates a UI element in the Foundry keybindings to edit it.

This has been a lot harder than expected. Fix one thing and another thing is broken. Seems like everything has changed. Token attacher isn't working anymore, drawing isn't working, and updating the server isn't working.

This should be fixed. It's published. Just update.
@jocolamarco
@Tridus


Update opensearch-ruby dependency to pin major version as 1.0

Signed-off-by: Vijayan Balasubramanian<EMAIL_ADDRESS>Description
opensearch-ruby 2.0 has breaking changes. Hence, update opensearch-ruby to use only from 1.x release.
Issues Resolved
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has documentation added

[x] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Created an issue to include 2.0 in CI #148


Enum does not seem to work

Hello !
I am using Enum for translations like so:
fr/categories.php
return [     EnumCategory::FIRST->value => 'Première catégorie',     EnumCategory::SECOND->value => 'Seconde catégorie', ];
It appears that in my Vue Component (in Blade view), it does not show up :
  {{ $t('categories.' + item.category) }}
Key is defined this way : "categories.undefined":"Première catégorie"
Nevertheless, when I define hardcoded values, it is working great :
fr/categories.php
return [     'first_category' => 'Première catégorie',     'second_category' => 'Seconde catégorie', ];
Key is defined this way : "categories.first_category":"Première catégorie"
Thanks for reading me!

Can you create a public repo with this issue?
Thanks

I will attempt to replicate the issue from the private app I'm currently developing. The challenge lies in the fact that this particular app was initially built with Laravel 9 and later updated to version 10.x, where the i18n functionality is functioning correctly.
However, whenever I try to create a Laravel 10 application from scratch, I encounter the same issue mentioned in this GitHub thread: https://github.com/xiCO2k/laravel-vue-i18n/issues/128

Got it, will follow up on the #128


xctool hangs "Collecting info for testables..." on CI only

xctool clean test works fine locally, but consistently hangs on CI after:
    [INFO] Collecting info for testables...

This happens both on Travis CI and Circle-CI. Here's the Circle build and Travis build. Too see more failures look at the Travis CI builds list.
Some related issues:

https://github.com/travis-ci/travis-ci/issues/3986
https://github.com/travis-ci/travis-ci/issues/5743

The fact that it hangs on different CI providers makes me think the issues is related with xctool itself rather that the CI.
I'd like to help fixing this if I can, although I'm not sure where to begin, apart from the fact that this is where that log is fired.
Any ideas on how to diagnose this?

I get also this message in this moment but in local with a Swift project. Nothing happen after.

Make sure xctool was built with currnet xcode version. I've seen this a lot on xctool built with Xcode 7.2.1 vs one with Xcode 7.3.1

Any updates on this?

I don't think it is xctool issue. I remember seeing something similar when xcodebuild -showBuildSettings was hanging. Can you run with -showTasks and tell where exactly xctool is stuck?

xcodebuild -showBuildSettings on xcode 7.3.1 has a known race condition.


debugging doc page

OK. Do you want to reject the pull request and I'll make the necessary changes? Is the general directory OK for the file(s) or should I create another one? Once I get the hang of this, I will look to see if I can improve other parts of the documention.

I've squashed the two commits and given a new PR.

@aidylewis Finally taking the time to review, sorry for being this late. As you can see, your PR doesn't compile. Could you please fix?

OK. I will look into it,

@aidylewis Could you please fix the small error so it can be shipped, please?
Sorry for the delay :(

Forgot all about this. I will create a new fork.

I can deal with it myself, but you wouldn't appear as the committer. Let me know if it matters.

Doesn't matter. Not out for the glory.

OK :)
Will do then.


bump up version to v1.0.0

Signed-off-by: Lai Jiangshan<EMAIL_ADDRESS>

LGTM, let's celebrate the 1.0 release


A exception occurred when debug source code

Is this a Bug ? the follow

Description of the problem:
debug  mvc source code
Version of
Microsoft.AspNetCore.App：2.2.0-preview2-35157

Thanks for contacting us, @wangpengxpy.
Can you please share a small repro project with us?

Hi @rynowak thanks get it .
I can understand the more detail information is aboved. BTW, the problem is occurred if i download the branch directly,is right?if so  i download the releases the next.

If you want a stable target to do some local development, I'd suggest just checking out the release/2.1 branch - that's the last official release, and it won't be changing much.


Tests fail with the latest resin-request from master

This means even without my latest changes.
This is because the baseUrl is not being passed to the request module from the resin-pine.
I'll fix it during my work on browser-compat.

Tests are now passing, so I think this is fixed @emirotin?

I seem them failing in the AppVeyor

But it's a different issue now, I think I've fixed this one in the previous PR.


Thermostat status not updated in HomeKit/Homebridge

Thermostat status is not updated when being modified via app or from the thermostat itself. Changing it on/off or changing mode has no impact on how it's displayed in Homebridge.

Change heating mode via thermostat or via Fenix app
Open home bridge, check values.

Expected behavior:

When you change values from thermostat/app, expectation is that those values would be changed as well in homebridge.
Logs:
No logs are present regarding any actions/sync in homebridge
Plugin Config:
{
"accessToken": xxx,
"refreshToken": "xxx",
"temperatureCheckInterval": 30,
"temperatureUnit": 0,
"platform": "FenixTFTWifi",
"_bridge": {
"username": "xxx",
"port": xxx
}
Screenshots:
Screenshot from application:

Actual case in homebridge:

Environment:

Plugin Version: homebridge-fenix-tft-wifi v1.1.0
Homebridge Version: 1.6.0
Node.js Version: v18.16.0
NPM Version: 9.6.4
Operating System: Raspbian

Turn off thermostat

@falinka
I know about the thermostat shutdown situation and I am trying to solve it. Hombridge does not respond to switching off and on at this time. However, as soon as you turn off the thermostat through the Fenix application, the status will be reflected according to the information below.
As for the update, it takes place once every 30 minutes. If necessary, this interval can be changed using "temperatureCheckInterval".
I will look at the functionality and adjust it in the next version.

@falinka you can try to update on 1.2.0 and modify temperateCheckInterval

Hi,
I did update to v2.1.0, now I get:
[4/20/2023, 9:35:12 AM] [homebridge-fenix-tft-wifi] Cannot to retrieve base data. Do you have valid token?
I downgraded to 1.2.0, and token is valid.

@falinka
This happens to me sometimes too, but that's mainly because the Fenix server responds with an error. Is it possible to deploy version 2.1.0 and restart the homebridge or plugin?

So,
Updated to v2.1.0 - immediately I got the token error. Then, I removed cashed accessories, restarted entire homebridge. Same thing, token issue.
Here is debug log, though not much there:
[4/20/2023, 12:04:47 PM] [Homebridge UI] Sending SIGKILL to Homebridge
[4/20/2023, 12:04:47 PM] [HB Supervisor] Homebridge Process Ended. Code: null, Signal: SIGKILL
[4/20/2023, 12:04:52 PM] [HB Supervisor] Restarting Homebridge...
[4/20/2023, 12:04:52 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[4/20/2023, 12:04:52 PM] [HB Supervisor] Started Homebridge v1.6.0 with PID: 29213
[4/20/2023, 12:04:54 PM] Loaded config.json with 0 accessories and 7 platforms.
[4/20/2023, 12:04:54 PM] Loaded 5 cached accessories from cachedAccessories.
[4/20/2023, 12:04:54 PM] ---
[4/20/2023, 12:04:56 PM] Plugin /usr/lib/node_modules/homebridge-config-ui package.json does not contain the keyword 'homebridge-plugin'.
[4/20/2023, 12:04:56 PM] Loaded plugin<EMAIL_ADDRESS>[4/20/2023, 12:04:56 PM] Registering platform 'homebridge-config-ui-x.config'
[4/20/2023, 12:04:56 PM] ---
[4/20/2023, 12:04:56 PM] Loaded plugin<EMAIL_ADDRESS>[4/20/2023, 12:04:56 PM] Registering platform 'homebridge-fenix-tft-wifi.FenixTFTWifi'
[4/20/2023, 12:04:56 PM] ---
[4/20/2023, 12:04:57 PM] Loaded plugin<EMAIL_ADDRESS>[4/20/2023, 12:04:57 PM] Registering platform 'homebridge-govee.Govee'
[4/20/2023, 12:04:57 PM] ---
[4/20/2023, 12:04:57 PM] Loaded plugin<EMAIL_ADDRESS>[4/20/2023, 12:04:57 PM] Registering platform 'homebridge-homeconnect.HomeConnect'
[4/20/2023, 12:04:57 PM] ---
[4/20/2023, 12:04:57 PM] Loaded plugin<EMAIL_ADDRESS>[4/20/2023, 12:04:57 PM] Registering platform 'homebridge-lg-thinq.LGThinQ'
[4/20/2023, 12:04:57 PM] ---
[4/20/2023, 12:04:58 PM] Disabled plugin<EMAIL_ADDRESS>[4/20/2023, 12:04:58 PM] ---
[4/20/2023, 12:04:58 PM] Loaded plugin<EMAIL_ADDRESS>[4/20/2023, 12:04:58 PM] Registering platform 'homebridge-webos-tv.webostv'
[4/20/2023, 12:04:58 PM] ---
[4/20/2023, 12:04:58 PM] Loading 7 platforms...
[4/20/2023, 12:04:58 PM] [HomeConnect] Initializing HomeConnect platform...
[4/20/2023, 12:04:58 PM] [HomeConnect] new HomeConnectPlatform
[4/20/2023, 12:04:58 PM] [HomeConnect] homebridge-homeconnect version 0.29.0
[4/20/2023, 12:04:58 PM] [HomeConnect] Node.js version 18.16.0 (satisfies >=20.0.0 || ^18.12.1 || ^16.18.1 || ^14.21.2)
[4/20/2023, 12:04:58 PM] [HomeConnect] Homebridge version 1.6.0 (satisfies >=1.4.0)
[4/20/2023, 12:04:58 PM] [HomeConnect] Homebridge API version 2.7 (satisfies ^2.7)
[4/20/2023, 12:04:58 PM] [HomeConnect] Homebridge HAP version 0.11.0 (satisfies >=0.9.0)
[4/20/2023, 12:04:58 PM] [LGThinQ] Initializing LGThinQ platform...
[4/20/2023, 12:04:58 PM] [webostv] Initializing webostv platform...
[4/20/2023, 12:04:58 PM] Ignoring config for the platform "Meross" in your config.json as the plugin "homebridge-meross" has been disabled.
[4/20/2023, 12:04:58 PM] [Govee] Initializing Govee platform...
[4/20/2023, 12:04:58 PM] [Govee] Initialising plugin v8.1.2 | System linux | Node v18.16.0 | HB v1.6.0 | HAPNodeJS v0.11.0...
[4/20/2023, 12:04:58 PM] [FenixTFTWifi] Initializing FenixTFTWifi platform...
[4/20/2023, 12:04:58 PM] [FenixTFTWifi] Initializing child bridge 0E:5C:7A:B3:1B:B6
[4/20/2023, 12:04:58 PM] [LGThinQ] Loading accessory from Homebridge cache: Washer
[4/20/2023, 12:04:58 PM] [LGThinQ] Loading accessory from Homebridge cache: Dryer
[4/20/2023, 12:04:58 PM] [LGThinQ] Loading accessory from Homebridge cache: Refrigerator
[4/20/2023, 12:04:58 PM] [HomeConnect] Restored 1 cached accessories
[4/20/2023, 12:04:58 PM] [LGThinQ] Executed didFinishLaunching callback
[4/20/2023, 12:04:58 PM] [webostv] Init - initializing devices
[4/20/2023, 12:04:58 PM] [webostv] [LG TV] Init - got TV configuration, initializing device with name: LG TV
[4/20/2023, 12:04:58 PM] [Govee] Plugin initialised. Setting up accessories....
[4/20/2023, 12:04:58 PM] Publishing external accessory (name: LG TV, publishInfo: {
  username: '44:9D:CD:E3:DF:B7',
  pincode: '***-**-***',
  category: 31,
  port: undefined,
  bind: [ 'eth0', [length]: 1 ],
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
[4/20/2023, 12:04:58 PM] Publishing bridge accessory (name: Homebridge, publishInfo: {
  username: '0E:C5:14:72:19:D5',
  port: 51669,
  pincode: '***-**-***',
  category: 2,
  bind: [ 'eth0', [length]: 1 ],
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
Setup Payload:
X-HM://0024IIT7F2FB5
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 631-37-371 │
    └────────────┘

[4/20/2023, 12:04:58 PM] LG TV BD70 is running on port 43291.
[4/20/2023, 12:04:58 PM] Please add [LG TV BD70] manually in Home app. Setup Code: 631-37-371
[4/20/2023, 12:04:58 PM] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge) is running on port 51669.
[4/20/2023, 12:04:58 PM] [webostv] [LG TV] Connecting to TV
[4/20/2023, 12:04:58 PM] [HomeConnect] Attempting authorisation
[4/20/2023, 12:04:58 PM] [Govee] [LAN] disabling client as disabled in config.
[4/20/2023, 12:04:58 PM] [HomeConnect] Using saved access token
[4/20/2023, 12:04:58 PM] [HomeConnect] Successfully authorised
[4/20/2023, 12:04:58 PM] [HomeConnect] Home Connect request #1: GET /api/homeappliances
[4/20/2023, 12:04:59 PM] [HomeConnect] Scheduling configuration schema write
[4/20/2023, 12:04:59 PM] [HomeConnect] Home Connect request #1: 200 OK +386ms
[4/20/2023, 12:04:59 PM] [HomeConnect] Found 1 appliances
[4/20/2023, 12:04:59 PM] [HomeConnect] Connecting accessory 'Dishwasher'
[4/20/2023, 12:04:59 PM] [HomeConnect] Starting events stream for all appliances
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Bosch Dishwasher (xxx)
[4/20/2023, 12:04:59 PM] [HomeConnect] Home Connect request #2: GET /api/homeappliances/events
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Connected, so reading appliance state...
[4/20/2023, 12:04:59 PM] [HomeConnect] Home Connect request #3: GET /api/homeappliances/010100518398001687
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Cache loaded (19 entries)
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Cache "Appliance power" [en-GB, updated 20 hours 48 minutes ago]
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Cache "Appliance commands" [en-GB, updated 20 hours 48 minutes ago]
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Cache "Appliance settings" [en-GB, updated 20 hours 48 minutes ago]
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Cache "Appliance settings" [en-GB, updated 20 hours 48 minutes ago]
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Restored details of 7 programs
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Can be switched off
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Does not support Functional Light
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Does not support a child lock
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Cache "Appliance settings" [en-GB, updated 20 hours 48 minutes ago]
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Does not support Ambient Light
[4/20/2023, 12:04:59 PM] [LGThinQ] [request] get https://route.lgthinq.com:46030/v1/service/application/gateway-uri
[4/20/2023, 12:04:59 PM] [HomeConnect] Home Connect request #2: 200 OK +167ms
[4/20/2023, 12:04:59 PM] [HomeConnect] Started events stream for all appliances after 319 milliseconds
[4/20/2023, 12:04:59 PM] [Govee] [HTTP] client enabled and found 1 device(s).
[4/20/2023, 12:04:59 PM] [HomeConnect] Home Connect request #4: 200 OK +151ms
[4/20/2023, 12:04:59 PM] [HomeConnect] [Dishwasher] Inactive (Inactive)
[4/20/2023, 12:04:59 PM] [Govee] [AWS] client enabled.
[4/20/2023, 12:04:59 PM] [Govee] [BLE] disabling client as disabled in config.
[4/20/2023, 12:05:00 PM] [homebridge-fenix-tft-wifi] Launched child bridge with PID 29247
[4/20/2023, 12:05:00 PM] Registering platform 'homebridge-fenix-tft-wifi.FenixTFTWifi'
[4/20/2023, 12:05:00 PM] [homebridge-fenix-tft-wifi] Loaded homebridge-fenix-tft-wifi v2.1.0 child bridge successfully
[4/20/2023, 12:05:00 PM] Loaded 0 cached accessories from cachedAccessories.0E5C7AB31BB6.
[4/20/2023, 12:05:00 PM] [homebridge-fenix-tft-wifi] Finished initializing platform: undefined
[4/20/2023, 12:05:00 PM] Publishing bridge accessory (name: homebridge-fenix-tft-wifi, publishInfo: {
  username: '0E:5C:7A:B3:1B:B6',
  port: 52475,
  pincode: '***-**-***',
  category: 2,
  bind: [ 'eth0', [length]: 1 ],
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
[4/20/2023, 12:05:00 PM] [homebridge-fenix-tft-wifi] Executed didFinishLaunching callback
[4/20/2023, 12:05:00 PM] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-fenix-tft-wifi) is running on port 52475.
[4/20/2023, 12:05:00 PM] [homebridge-fenix-tft-wifi] Loading tokens from custom config
[4/20/2023, 12:05:00 PM] [homebridge-fenix-tft-wifi] Check tokens from custom config
[4/20/2023, 12:05:00 PM] [Govee] ✓ Setup complete. This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful!
[4/20/2023, 12:05:02 PM] [HomeConnect] Scheduled configuration schema write complete
[4/20/2023, 12:05:06 PM] [homebridge-fenix-tft-wifi] Cannot to retrieve base data. Do you have valid token?```

@falinka
v2.1.0 have another storage for new access token. Could you check .fenixTftWifi.config.json file in the homebridge folder?
The file contains json, where the new access and refresh token are stored. It is quite possible that you have an invalid one stored there. If it doesn't match the one you have in the plugin settings, just delete the file.
Fenix has a token validity of only 24h, therefore the renewal takes place there and the new one is saved in this file.
Data from the access token can be analyzed using https://jwt.io/ where there is also information about the expiration as a timestamp.

You are correct. .fenixTftWifi.config.json contained the old token, thus it wasn't really working. Authentication is now back to normal. Original problem still persists though :)

what? Do you have any debug log from v2.1.0?

Yes, I do. Tell me, do you want to chat somewhere, instead of ping-pong here?

Update:
I removed all the settings regarding this plugin, recreated everything, and it seems to be better now. Changing modes from HK/HB works, and these actions are reflected on the thermostat and in Fenix app. I will continue to monitor and test various scenarios, and if something, I'll let you know.
Thanks for the updates :)

Great news! Have you also tried wiping the accessories cache?
If necessary, I can be found, for example, on Discord Hombridge as TomášKulhánek#1148

Yeap, I did clean cached accessories, cleaned up all the settings, and did almost fresh start, and so far, still looking good :) I'll let you rest a bit, before I submit something else :)


Create a terraform plan for Google cloud

Similar to AWS / Digitalocean but for Google. Depends on #13

might want to use this as an example https://github.com/ContainerSolutions/terraform-mesos

This is closed by https://github.com/Capgemini/Apollo/commit/6cf1736eeb56559d6bf7e4e90fea16f1f7c14424
Using https://github.com/Capgemini/terraform.py for the inventory.
There is also some work here https://github.com/Capgemini/apollo-inventory for a Go version


x11rb on OpenBSD

when i do cargo build
error[E0599]: no function or associated item named `new_abstract` found for struct `UnixAddr` in the current scope
   --> /home/bilal/.cargo/registry/src/github.com-1ecc6299db9ec823/x11rb-0.10.0/src/rust_connection/stream.rs:557:44
    |
557 |     connect(socket.as_raw_fd(), &UnixAddr::new_abstract(path)?)?;
    |                                            ^^^^^^^^^^^^ function or associated item not found in `UnixAddr`

error[E0277]: the size for values of type `dyn SockaddrLike` cannot be known at compilation time
   --> /home/bilal/.cargo/registry/src/github.com-1ecc6299db9ec823/x11rb-0.10.0/src/rust_connection/stream.rs:557:34
    |
557 |     connect(socket.as_raw_fd(), &UnixAddr::new_abstract(path)?)?;
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
    |
    = help: the trait `Sized` is not implemented for `dyn SockaddrLike`
    = note: all local variables must have a statically known size
    = help: unsized locals are gated as an unstable feature

error[E0277]: the size for values of type `dyn SockaddrLike` cannot be known at compilation time
   --> /home/bilal/.cargo/registry/src/github.com-1ecc6299db9ec823/x11rb-0.10.0/src/rust_connection/stream.rs:557:62
    |
557 |     connect(socket.as_raw_fd(), &UnixAddr::new_abstract(path)?)?;
    |                                                              ^ doesn't have a size known at compile-time
    |
    = help: the trait `Sized` is not implemented for `dyn SockaddrLike`
note: required by a bound in `Break

there is something i should do to use nix package with x11rb ?

Recently, we added support for using abstract sockets within the X protocol. It seems that, from a nix standpoint, abstract sockets are only supported on Android and Linux. Therefore, we need to feature-gate the abstract socket code to only use those platforms.
Side note: Does Android even use X11? I never really thought about that before.

i'll try to check of the side of nix (if  I could do something) to give a support on OpenBSD for cargo (amd64) !...
I know you can install X11 server (apps on play store or in termux iirc).
by  the way (thx man for this package dude 👍). Now I can rewrite my game engine on Rust !

@bilaliscarioth x11rb 0.10.1 is released and should fix your build. Sorry for the problem!


add code of conduct

We could add the full numfocus coc: https://github.com/numfocus/numfocus/blob/master/manual/numfocus-coc.md or a reduced version linking to the version on their website llike jupytercon did for example: https://jupytercon.com/codeofconduct/.

added it in index.md!

Great! Short version and link works great.
Some minor comments:

I would create the CODE_OF_CONDUCT.md file and then use the include directive to add that to the index. The short version is fine. This will make it more visible for people looking at github instead of the website as well as automatically pulling that in at https://github.com/pymc-devs/sprint-pymc-data-umbrella/community (which now defaults to the one I added at https://github.com/pymc-devs/.github)
We should also include a link and mention the numfocus reporting form. It is great to have an email to report to which will always be much faster but it is also important to allow anonymous reports.
Even though we are writing markdown (myst), the website is generated with sphinx which does not support non-consecutive header levels. That is, after a ## title, in markdown we can use ##### to change formatting, in sphinx ##### raises a warning and is interpreted as ###


Draft: alan's pipeline test please ignore

this is my test pr

Closing this, thanks for your PR to get the Linux render tests green again.


Closure::once will cause Error closure invoked recursively or destroyed already？

Some codes:
use js_sys::Promise;
use wasm_bindgen::prelude::wasm_bindgen;
use wasm_bindgen::prelude::Closure;
use wasm_bindgen::JsValue;

#[wasm_bindgen]
extern "C" {
    #[wasm_bindgen(js_namespace = console)]
    fn log(s: &str);
}

#[wasm_bindgen]
pub fn test() {
    let handle_resolve = Closure::<dyn FnMut(JsValue)>::new(|_| {
        log("resolve");
    });

    Promise::resolve(&JsValue::UNDEFINED).then(&handle_resolve);
    handle_resolve.forget();
}

I found the wasm-bindgen guide use .forget, but admits that that is essentially leaking memory.

Normally we'd store the handle to later get dropped at an appropriate time but for now we want it to be a global handler so we use the forget method to drop it without invalidating the closure. Note that this is leaking memory in Rust, so this should be done judiciously!

So i change my code to:
#[wasm_bindgen]
pub fn test() {
    let handle_resolve = Closure::once(|_| {
        log("resolve");
    });

    Promise::resolve(&JsValue::UNDEFINED).then(&handle_resolve);
    // handle_resolve.forget();
}

I use once method to create closure and remove forget call. (Because resolve callback will only be executed once).
But I get this error in chrome console:
Uncaught (in promise) Error: closure invoked recursively or destroyed already
    at __wbindgen_throw (wasm_bindgen_webpack_bg.js:130:11)
    at 601c8939635acefd5b21.module.wasm:0x342e
    at 601c8939635acefd5b21.module.wasm:0x2cb3
    at __wbg_adapter_8 (wasm_bindgen_webpack_bg.js:92:64)
    at real (wasm_bindgen_webpack_bg.js:68:20)

Is there something wrong with my code?

The function you're looking for is Closure::once_into_js. It directly returns a JsValue, and deallocates the closure after it gets called once.
Closure::once, on the other hand, basically behaves the same as the standard Closure::new, except that it accepts an FnOnce. It still requires that the Closure be kept around as long as it's used.

@Liamolucko Thank you for your help!


Crick overlapping local frame edition.

Hi
I have this issue that i created a frame with a typo on the project name and i synced with crick. No wi have two projects:

Project1
Porject1 (typo)

I edit the frame(watson edit) on my computer but if i sync with crick the wrong project name overlaps my edition.
How can i make the local frame priority higher than the server one, or there is a way to delete the frames on the server?

🤔 This is a Watson issue: the watson sync command pulls changes from the server and then pushes new/edited frames to it. We might consider to add watson push and watson pull commands.

Hi @mfrata! If you want to get involved in Watson's future synchronization strategy, I invite you to join the discussion in this Watson's issue.


docs: fix typo in pnpm CONTRIBUTING

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
📝 Checklist

[ ] I have linked an issue or discussion.
[x] I have added tests (if possible).
[x] I have updated the documentation accordingly.

Hi @guesant 👋
Thanks for catching the typo. Could you please open a new PR based on main, so we can merge it into it? The current PR is based off the authjs migration, branch which is still going to take a while to complete!


Post weekly performance stats in a Slack channel

We want to provide an easy way to track the performance metrics from
Find a Lost TRN.
It was decided that a message in Slack was the most appropriate way of
doing this.
We followed the lead of the Apply project to implement the scheduling
piece of this work with Clockwork.
Right now, the message we post is very simple and only contains the
total number of TrnRequests created in the last week.
To complete setup of this, a Slack bot authorisation token is required,
ie. SLACK_TOKEN, and also the channel it posts to is customisable,
SLACK_CHANNEL.
These configuration variables allow us to run this in staging and verify
it works.
Checklist

[ ] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[ ] Tested by running locally

Could we please consider NOT using clock. It doesn't play well with terraform so much that we have to delete and recreate it at each deployment: https://github.com/DFE-Digital/apply-for-teacher-training/blob/main/.github/actions/deploy/action.yml#L96
Teacher services have aligned on https://github.com/ondrejbartas/sidekiq-cron instead. It's easy to use (example: https://github.com/DFE-Digital/teaching-vacancies/blob/main/config/schedule.yml) and uses standard sidekiq workers

@saliceti thanks for the suggestion!


Values via props.change() in componentDidMount() will be overwritten

I assume this is a bug, since it worked in previous versions of redux-form.
Edit: Can confirm it worked in 7.1.2
We have a form with a few fields which may have a default value. Those are set via props.change(),
see the shortened code below.
componentWillMount() {
  this.preSelectCountry = locale === 'de';
}

componentDidMount() {
    if (this.preSelectCountry) {
      this.props.change('country_code', Object.keys(this.CountryList)[0]);
    }
}

What is the current behavior?
@@redux-form/INITIALIZE is dispatched as first action, followed a couple of @@redux-form/REGISTER_FIELD
@@redux-form/CHANGE is dispatched with correct values. country_code is a registered field the action results in the correct change of the values state for country_code.
Then again @@redux-form/INITIALIZE is dispatched resulting in overwriting the previously set values. Then fields are registered and unregistered again.
To this time there is not a single action which is not dispatched by redux-form.
Some information to set the initial value of those fields are only available as props, I am unsure about how to usereduxForm({ ...initialValues: { ... }}) to do this. This would work, since we use this method to set a initial value to a field.
Form Validation will somehow consider those set values, they are even displayed correctly. But are missing when submitting.
Note: There is not much more logic in this app besides sending the form to server and displaying a result page.
What is the expected behavior?
I don't expect the form the initialize twice, resulting in overwriting previously set data.
Sandbox Link
I will setup a demo for this as soon as I have time for it.
Edit: I condensed the application we have: https://codesandbox.io/s/konx6r9zpv
What's your environment?
redux-form: 7.2.0
the app is tested with: Chrome, Firefox, Safari, IE10/11 (😢) on osx/window

Published fix in v7.2.2.


Implement swcx compile to feature parity to @swc/cli

Describe the feature
Related with https://github.com/swc-project/swc/discussions/3859.
We want to establish initial feature parity to existing @swc/cli to plan out migration with possible breaking changes.
These are initial flags we'd like to have.

[ ] config
[x] config_file
[x] filename (https://github.com/swc-project/swc/pull/4016)
[x] env_name
[x] ignore
[x] source_maps (https://github.com/swc-project/cli/blob/d60fa69498e970ec045b194bf13a31c9ed6ce413/src/swc/file.ts#L78)
[x] source_maps_target
[x] source_file_name (https://github.com/swc-project/swc/pull/6973)
[x] source_root (https://github.com/swc-project/swc/pull/6973)
[ ] watch
[x] out_file (https://github.com/swc-project/swc/pull/4016)
[x] out_dir
[x] extensions
[x] files
[x] experimental_trace
[x] trace_out_file

Babel plugin or link to the feature description
No response
Additional context
No response

just found filename is Implemented in #4016

I'm looking to contribute to this project, but it seems all the flags here have already been implemented according to the docs.

It is not, please see above list with checkboxes.

It is not, please see above list with checkboxes.

Oh, I'm sorry, I got confused with the JS cli tool. I will open a PR hopefully soon to add one of these.

Hi, just wanted to report that looks like the commonjs target outputs es6.

[x]  source_maps

was resolved in https://github.com/swc-project/swc/pull/6708

[x]  source_maps
[x]  source_maps _target

were resolved in https://github.com/swc-project/swc/pull/6708

[x]  source_maps
[x]  source_maps_target

were resolved in https://github.com/swc-project/swc/pull/6708

I'm working on the implementation of the --config option.

Another TODO item: document the CLI options on the docsite somewhere. Right now tools like Bazel have to recommend that users run swcx --help to see how to use it.

+1 on the documentation. I see the --config option was implemented, but when I run it I get an error with the old syntax
❯ ~/Downloads/swc-darwin-arm64 compile --config=jsc.transform.react.importSource=@emotion/core
error: Invalid value "jsc.transform" for '--config <CONFIG>': expected value at line 1 column 1

@realtimetodie Would you be able to explain the changes here? I see this just came out in 1.3.34 so no worries, I know it's fairly new.

https://github.com/swc-project/swc/pull/6835

We document that in a user example now too: https://github.com/aspect-build/rules_swc/commit/8db4ee5e5e26ba6dce331fca9164dbcfcdc1e1ff

Thanks @alexeagle and @realtimetodie . So it looks like the --config now takes a json object instead of a dot notation object when switching between the node and rust based cli(s)

FWIW I suspect that's not intentional. @titanous when you added the --config support, did you mean for the syntax to be different from @swc/cli ?

Should we revert it for now? Maybe it should be another name...
cc @kwonoj

Ah, I didn't know that it was already implemented in @swc/cli. Maybe we should rename to --config-json? I don't really feel like implementing a custom parser for whatever syntax was previously used.

I think so, we should rename it

Renamed in #6932.

Hello, is adding the --copy-files flag planned aswell ?

[x]  source_file_name
[x]  source_root

were resolved in https://github.com/swc-project/swc/pull/6973

I work on an Apple M1 machine. arch: arm64.
The problem described occurs regardless of whether swc_cli is also available as a binary installed by cargo.
As described here (https://swc.rs/docs/getting-started) I installed @swc/cli and @swc/core.
 It's probably not supported.
at BinWrapper.download (/....../swc_cli/node_modules/@mole-inc/bin-wrapper/index.cjs:33675:10)
at BinWrapper.findExisting (/....../swc_cli/node_modules/@mole-inc/bin-wrapper/index.cjs:33658:17)
at async BinWrapper.run (/........./swc_cli/node_modules/@mole-inc/bin-wrapper/index.cjs:33619:3)
at async executeBinary (/......../swc_cli/node_modules/@swc/cli/lib/swcx/index.js:145:5)
swcx is available at node_modules/.bin/.
The swc.darwin-arm64.node file is located in the node_modules/@swc/core-darwin-arm64/ directory. I tentatively made swc.darwin-arm64.node executable with chmod 755. But I can't run it stand alone. This error message appears:
zsh: exec format error: ./swc.darwin-arm64.node

Should I open a new issue?

There is a difference in output directory structure when using swcx cli vs classic swc.
npx swcx compile src --out-dir dist will generate :
➜  swc tree dist
dist
└── src
    └── index.js

npx swc src --out-dir dist will generate :
➜  swc tree dist
dist
└── index.js

1 directory, 1 file

The src folder is kept in new version of the cli.
Is that a expected behavior ?
It gives me some issues when uploading source-map to Sentry because I have to manipulate some path
Thanks !

@linux-system-roles @bachradsusi @jamacku @pcahyna @sergio-correia @tyll @wrabcak
Please, we need your help. Apparently, rhel-system-roles does not work with ansible-lint on Red Hat OpenShift.

Was trying this out but two issues (already mentioned) are blockers for using the new version:

No --copy-files, use case is .json files and other arbitrary files inside the source tree that are required by the application.
Output directory changes to include top level directory in output structure. i.e. src folder is included. I doubt this is intentional?

@Klaitos @giraffesyo

Output directory changes to include top level directory in output structure. i.e. src folder is included. I doubt this is intentional?

The workaround for this, is to use the --strip-leading-paths CLI flag.
Build command could be the following: swc ./src --out-dir ./build --strip-leading-paths --delete-dir-on-start.

The workaround for this, is to use the --strip-leading-paths CLI flag.

Is there a way to specify this in the config file?

I can +1 the arm mac issue. This is on 0.4.1-nightly.30340914.


PR: Rename variables (by refactoring) with rope

I don't think this is quite ready to be merged yet (and given that you are in beta testing, you may prefer to wait till the next release), but I thought it would be good to solicit feedback. I implemented a basic "rename variable" functionality via rope. This is part of issues #415 and #1937.
I'm quite a beginner with Spyder and GitHub and Python GUI so please don't hesitate to comment.
User experience

You put the cursor on the variable that you want to rename:

You select Rename from the Edit menu:

You type the new name in the variable box:

And Spyder renames the variable:

In this example, both occurrences of the variable num in the function double are renamed to arg. Note that the variable num in the main block is not renamed (which I think is the correct behaviour) even though it is highlighted in yellow at step 1.
Implementation

In Editor.get_plugin_actions(), create the new menu item and connect it to Editor.rename_variable().
In Editor.rename_variable(), find the current editor stack and call its rename_variable().
In EditorStack.rename_variable(), find the current editor and call its open_rename_variable_dialog().
In CodeEditor.open_rename_variable_dialog(), find the word currently highlighted and ask the user for the new variable name. Return this information, or None if the user cancels.
Back in EditorStack.rename_variable(), assuming that the user did not cancel, find the associated PluginManager and call its rename().
PluginManager.rename() searches through all registered introspection plugins for one that implements a rename() member function and calls it.
Only RopePlugin has a rename() member function. It saves the current buffer contents in a temporary file and uses the rope library to get the new code with the renamed variable.
The new code is returned to EditorStack.rename_variable() which calls CodeEditor.change_text() which replaces the old code with the new code.

Questions and to do

Everything is done synchronously. This is easier to implement, but it may also be confusing for the user: otherwise it may be that the user tries to rename a variable, nothing seems to happen for a second so the user continues editing, but then the rename function suddenly returns, the contents of the buffer is replaced with the result, and the user loses the edits. However, is there a possibility of interference with other plugin actions executed in a different thread (I don't check plugin.busy)?
If it is better done asynchronously, I guess it should wait until #2932 is merged.
Should I have used Qt signals?
Is it okay to save the contents to a temporary file? The rope library seems to be written with files in mind, but it may be possible to work around it.
The rename functionality in rope comes with many options; I should check them and maybe expose them to the user. In particular, rope can do a rename over multiple files. Could this work with Spyder projects (which, as I understand it, are going to be re-implemented)?
After renaming the variable, the cursor is moved to the top of the file which is probably annoying for the user.
It needs to be made more robust: what if the user clicks on 'Rename' if the cursor is on Python keyword or anything else that is not an identifier? What if the file being edited is not Python? What if the new name the user types in is not a valid identifier? What if rope is not installed? What if in RopePlugin, project is None (can this happen?)? What if rope throws an exception for any reason? All this needs to be handled gracefully.

@jitseniesen, this is very nice!! Thanks for working on it :-)
@Nodd, could you review this one?

I had a look at the code but I don't know this part so I don't know if I've missed something.

I think it's ok to have it synchronous, since all user modifications would be erased
Where would you use Qt signals ?
It would be really better to not use temporary files.
Don't bother with spyder projects, they will be modified and are a bit broken in their current state.

@Nodd thanks a lot for having a look so promptly and your comments. I agree with all of them. I'll need some time to act on them and to play with rope in order to avoid the temporary files (which I don't like either).
I saw that go-to-definition uses Qt signals to communicate with the introspector so that's why I wondered whether signals should also be used here. However, go-to-definition is asynchronous while rename-variable is synchronous. Besides, it turns out to be actually quite straightforward to implement rename-variable without signals (once I found out how to do it). So I'm happy not to use Qt signals.

Yes, it's fine with no signals.

I addressed @Nodd 's concerns (thanks again), I made some improvements (allow undo, more robust handling of invalid renames), and I rebased (necessary after #2932 which forced me to do some changes). As far as I am concerned, this is ready to be merged.

@Nodd, do you have more comments?

After a quick overview the code looks fine but I didn't test it.

I rebased the branch so that it merges cleanly after the changes in pyqt.

Thanks a lot @jitseniesen! I'll release beta3 and then I'll come back to you to merge this one :-)

@jitseniesen, could you rebase or merge with master to solve conflicts?
@Nodd, could you review this one?

I will rebase, but I wouldn't mind if this were postponed to 3.1 in the interest of getting 3.0 out of the door as soon as possible.

Thanks Jitse!

I can have a look next week. I agree that it's not needed for 3.0. We should set a feature freeze at some point.

@jitseniesen, please rebase or merge with master so we can review this one for 3.1 :-)

Hi @jitseniesen you are probably in unittest mode, just chiming in to see if you plan to continue with this work :-)

Yep, it'd be awesome if you could finish this one and also attach it to our projects :-)

This needs to be handled through pyls now.


Multiuse wrapper

This PR is not meant to be merged!
I just wanted to show you some code I am currently using, in case you consider it useful. The wrapper defined in "wrapper.py" adds the following features:

Request.get_structure(flow_id)
Request.get_data() does caching to HDF5 for quickly re-accessing the same data
Request.get_data() accepts a "split_by" argument to split along some dimension(s) requests which are too big for a single download
(... and progress can be shown with a counter, which however currently depends on external code)

If you think some of this is worth including in pandaSDMX, I will happily provide a specific patch.

Thanks.
The Request.get API can indeed be improved. An example is the plotting
API in Pandas 0.17. It probably uses descriptors. Alongside the
traditional Syntax One could then write things like:

ecb=Request('ECB')
d=ecb.get.data('xyz')
struct=ecb.get.datastructure('xyz')
...

The descriptor should dynamically Access the items in
Request._resources to make the attributes available and call
get('data', 'xyz') etc. behind the scenes. Tab completion should be
possible.
I hav never written any descriptor myself. And on a quick
read through the docs including the "Descriptor HowTo" by R.
Hettinger, I found this Feature somewhat mind-blowing.
If you're interested in taking the lead, this could certainly be merged.
Leo
On 25/11/2015, Pietro Battiston<EMAIL_ADDRESS>wrote:

This PR is not meant to be merged!
I just wanted to show you some code I am currently using, in case you
consider it useful. The wrapper defined in "wrapper.py" adds the following
features:

Request.get_structure(flow_id)
Request.get_data() does caching to HDF5 for quickly re-accessing the
same data
Request.get_data() accepts a "split_by" argument to split along some
dimension(s) requests which are too big for a single download
(... and progress can be shown with a counter, which however currently
depends on external code)

If you think some of this is worth including in pandaSDMX, I will happily
provide a specific patch.
You can view, comment on, or merge this pull request online at:
https://github.com/dr-leo/pandaSDMX/pull/25
-- Commit Summary --

Avoid Python 2 SyntaxError
Subclass of "Request" doing some things useful to me

-- File Changes --
M pandasdmx/utils/__init__.py (4)
A pandasdmx/wrapper.py (120)

-- Patch Links --
https://github.com/dr-leo/pandaSDMX/pull/25.patch
https://github.com/dr-leo/pandaSDMX/pull/25.diff

Reply to this email directly or view it on GitHub:
https://github.com/dr-leo/pandaSDMX/pull/25

Hi,
I struggle even pulling this change. hg does not support remote branch
lookup. But I've seen the wrapper class online. It has some very useful
features.
I've committed some good stuff, too: Request class has now wrappers to
call get method without specifying the resource_id. It uses a descriptor
to return a partial object with fixed resource_id.
So now you can do:
from pandasdmx import Request
ecb=Request('ECB')
flows_df = ecb.dataflow().write()
data_df = ecb.data('EXR', key={...}).write()
Tab completion works as 'dataflow', 'data' etc. are just attributes.
Am 25.11.2015 um 21:48 schrieb Pietro Battiston:

This PR is not meant to be merged!
I just wanted to show you some code I am currently using, in case you
consider it useful. The wrapper defined in "wrapper.py" adds the
following features:

Request.get_structure(flow_id)
Request.get_data() does caching to HDF5 for quickly re-accessing
the same data
Request.get_data() accepts a "split_by" argument to split along
some dimension(s) requests which are too big for a single download
(... and progress can be shown with a counter, which however
currently depends on external code)

If you think some of this is worth including in pandaSDMX, I will
happily provide a specific patch.

    You can view, comment on, or merge this pull request online at:

https://github.com/dr-leo/pandaSDMX/pull/25
    Commit Summary

Avoid Python 2 SyntaxError

Subclass of "Request" doing some things useful to me
File Changes

M pandasdmx/utils/init.py
https://github.com/dr-leo/pandaSDMX/pull/25/files#diff-0 (4)

A pandasdmx/wrapper.py
https://github.com/dr-leo/pandaSDMX/pull/25/files#diff-1 (120)
Patch Links:

https://github.com/dr-leo/pandaSDMX/pull/25.patch

https://github.com/dr-leo/pandaSDMX/pull/25.diff

—
Reply to this email directly or view it on GitHub
https://github.com/dr-leo/pandaSDMX/pull/25.

Hi,
I've looked at your wrapper. It has some interesting ideas. Some
should be implemented more generally in v0.4.0: it will allow
exporting structural metadata to Pandas so you can write it to hdf.
However, I don't think I'll implement the split_by Feature as this
should be done concurrently and I don't know yet how to do that or
never will.
Thanks for your contributions and merry Christmas!
Leo
On 01/12/2015, Dr. Leo<EMAIL_ADDRESS>wrote:

Hi,
I struggle even pulling this change. hg does not support remote branch
lookup. But I've seen the wrapper class online. It has some very useful
features.
I've committed some good stuff, too: Request class has now wrappers to
call get method without specifying the resource_id. It uses a descriptor
to return a partial object with fixed resource_id.
So now you can do:
from pandasdmx import Request
ecb=Request('ECB')
flows_df = ecb.dataflow().write()
data_df = ecb.data('EXR', key={...}).write()
Tab completion works as 'dataflow', 'data' etc. are just attributes.
Am 25.11.2015 um 21:48 schrieb Pietro Battiston:

This PR is not meant to be merged!
I just wanted to show you some code I am currently using, in case you
consider it useful. The wrapper defined in "wrapper.py" adds the
following features:

Request.get_structure(flow_id)
Request.get_data() does caching to HDF5 for quickly re-accessing
the same data
Request.get_data() accepts a "split_by" argument to split along
some dimension(s) requests which are too big for a single download
(... and progress can be shown with a counter, which however
currently depends on external code)

If you think some of this is worth including in pandaSDMX, I will
happily provide a specific patch.

    You can view, comment on, or merge this pull request online at:

https://github.com/dr-leo/pandaSDMX/pull/25
    Commit Summary

Avoid Python 2 SyntaxError

Subclass of "Request" doing some things useful to me
File Changes

M pandasdmx/utils/init.py
https://github.com/dr-leo/pandaSDMX/pull/25/files#diff-0 (4)

A pandasdmx/wrapper.py
https://github.com/dr-leo/pandaSDMX/pull/25/files#diff-1 (120)
Patch Links:

https://github.com/dr-leo/pandaSDMX/pull/25.patch

https://github.com/dr-leo/pandaSDMX/pull/25.diff

—
Reply to this email directly or view it on GitHub
https://github.com/dr-leo/pandaSDMX/pull/25.

Maybe I should add two thoughts on your split_by algorithm:

It seems to disregard constraints. So some requests may result in
empty data sets.
As certain dataflows result in data sets containing time series
with incommensurate indices (such as monthly and daily observations),
generating Pandas DataFrames may fail as one cannot generate a
dataframe from sufficiently dissimilar period indices. Capturing all
These Corner cases is likely to become overly complex.

This is why I hesitate to embrace split_by.
Leo
On 22/12/2015, Leo<EMAIL_ADDRESS>wrote:

Hi,
I've looked at your wrapper. It has some interesting ideas. Some
should be implemented more generally in v0.4.0: it will allow
exporting structural metadata to Pandas so you can write it to hdf.
However, I don't think I'll implement the split_by Feature as this
should be done concurrently and I don't know yet how to do that or
never will.
Thanks for your contributions and merry Christmas!
Leo
On 01/12/2015, Dr. Leo<EMAIL_ADDRESS>wrote:

Hi,
I struggle even pulling this change. hg does not support remote branch
lookup. But I've seen the wrapper class online. It has some very useful
features.
I've committed some good stuff, too: Request class has now wrappers to
call get method without specifying the resource_id. It uses a descriptor
to return a partial object with fixed resource_id.
So now you can do:
from pandasdmx import Request
ecb=Request('ECB')
flows_df = ecb.dataflow().write()
data_df = ecb.data('EXR', key={...}).write()
Tab completion works as 'dataflow', 'data' etc. are just attributes.
Am 25.11.2015 um 21:48 schrieb Pietro Battiston:

This PR is not meant to be merged!
I just wanted to show you some code I am currently using, in case you
consider it useful. The wrapper defined in "wrapper.py" adds the
following features:

Request.get_structure(flow_id)
Request.get_data() does caching to HDF5 for quickly re-accessing
the same data
Request.get_data() accepts a "split_by" argument to split along
some dimension(s) requests which are too big for a single download
(... and progress can be shown with a counter, which however
currently depends on external code)

If you think some of this is worth including in pandaSDMX, I will
happily provide a specific patch.

    You can view, comment on, or merge this pull request online at:

https://github.com/dr-leo/pandaSDMX/pull/25
    Commit Summary

Avoid Python 2 SyntaxError

Subclass of "Request" doing some things useful to me
File Changes

M pandasdmx/utils/init.py
https://github.com/dr-leo/pandaSDMX/pull/25/files#diff-0 (4)

A pandasdmx/wrapper.py
https://github.com/dr-leo/pandaSDMX/pull/25/files#diff-1 (120)
Patch Links:

https://github.com/dr-leo/pandaSDMX/pull/25.patch

https://github.com/dr-leo/pandaSDMX/pull/25.diff

—
Reply to this email directly or view it on GitHub
https://github.com/dr-leo/pandaSDMX/pull/25.


BQ-BQ Comparison : Issue in running DVT Validation using custom query with random rows and composite pk

I was trying to run dvt validation where source is bigquery external table and target is bigquery native table. I have used custom query with random rows as 500.
Primary key used in query was composite primary key. Below is the yaml used :
result_handler:
project_id: <project_id>
table_id: .results
type: BigQuery
source: BQ_CONN
target: BQ_CONN
validations:

calculated_fields: []
comparison_fields:

cast: null
field_alias: attribute_value
source_column: attribute_value
target_column: attribute_value
cast: null
field_alias: attribute_subvalue
source_column: attribute_subvalue
target_column: attribute_subvalue
cast: null
field_alias: preferred_upc_ind
source_column: preferred_upc_ind
target_column: preferred_upc_ind
cast: null
field_alias: create_dte
source_column: create_dte
target_column: create_dte
cast: null
field_alias: create_operator_id
source_column: create_operator_id
target_column: create_operator_id
cast: null
field_alias: last_maintenance_dte
source_column: last_maintenance_dte
target_column: last_maintenance_dte
cast: null
field_alias: last_operator_id
source_column: last_operator_id
target_column: last_operator_id
custom_query_type: row
filter_status: null
filters: []
format: table
labels:
!!python/tuple

validation_type
row

!!python/tuple

category
source_to_landing_validation

!!python/tuple

source
product_attributes_fw_ext

!!python/tuple

target
product_attributes

!!python/tuple

load_dt
'2023-06-23'
primary_keys:

cast: null
field_alias: item_nbr
source_column: item_nbr
target_column: item_nbr
cast: null
field_alias: upc_nbr
source_column: upc_nbr
target_column: upc_nbr
cast: null
field_alias: attribute_name
source_column: attribute_name
target_column: attribute_name
random_row_batch_size: '500'
schema_name: null
source_query: select NULLIF(TRIM(SUBSTR(column1,1,7)),'') as item_nbr,NULLIF(TRIM(SUBSTR(column1,8,40)),'')
as attribute_name,NULLIF(TRIM(SUBSTR(column1,48,60)),'') as attribute_value,NULLIF(TRIM(SUBSTR(column1,108,60)),'')
as attribute_subvalue,NULLIF(TRIM(SUBSTR(column1,168,12)),'') as upc_nbr,NULLIF(TRIM(SUBSTR(column1,180,1)),'')
as preferred_upc_ind,NULLIF(TRIM(SUBSTR(column1,181,10)),'') as create_dte,NULLIF(TRIM(SUBSTR(column1,191,8)),'')
as create_operator_id,NULLIF(TRIM(SUBSTR(column1,199,10)),'') as last_maintenance_dte,NULLIF(TRIM(SUBSTR(column1,209,8)),'')
as last_operator_id from <project_id>.<dataset>.products_attributes_fw_ext
where ra_load_dte='2023-06-23'
table_name: null
target_query: select item_nbr, attribute_name, NULLIF(TRIM(attribute_value),'')
as attribute_value, attribute_subvalue, upc_nbr,preferred_upc_ind,create_dte,create_operator_id,last_maintenance_dte,last_operator_id
FROM <project_id>.<dataset>.products_attributes
where ra_load_dte = '2023-06-23'
target_schema_name: null
target_table_name: null
threshold: 0.0
type: Custom-query
use_random_rows: true

While analysing the results, below query is executed to verify success count of each column. Count present was 5783 for every column.
select
run_id,
validation_name,
source_column_name,
target_column_name,
start_time,
end_time,
count(*) as count
from <project_id>.<dataset>.results
where
run_id = '0d549773-2a32-4101-a043-5b4be002b4a4'
and
validation_status = 'success'
group by
run_id,
validation_name,
source_column_name,
Target_column_name,
start_time,
end_time

Random row only applies to the first primary key 'item_nbr'. The query to generate random rows is
SELECT item_nbr FROM table WHERE ra_load_dte='2023-06-23' ORDER BY RAND() LIMIT 500.
Then the final query for validation will take the above results and add it to the filter WHERE item_nbr IN (1,2,3,...500) AND ra_load_dte='2023-06-23'. Since this is a composite PK, there are probably 5783 rows for which the above filter applies.

Hi Neha,
This seems the current capability of providing multiple comma separated primary keys in DVT command is not supported. Even though we provide multiple columns as primary key, it would pick only first column and treat it as pk.
As it's a very likely case for tables to have composite primary keys, is there any plan of including composite primary key support in DVT?

@madhu-jain We do support composite PKs when doing validation and comparison of source and target tables - we only do not support it for random row.
We have an Issue #774 open for addressing this. As described there, a composite PK can become very complex due to the complexity it will add when specifying a batch size.
For example, if you have 3 PKs with batch size 5, the filter would need to be WHERE id in (1,2) and first in (1,2) and last in (1).


C_CPP: Why to Overload Operators Using Friend Functions?

Description
Description
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


item displayName problem

How do I get the translate key using adventure?
At present, I can only use this stupid method to get it, and when the item is renamed, the Component of the two seems to be different, which makes me puzzled...
String json = GsonComponentSerializer.gson().serialize(item.displayName());
JSONObject jsonObject = new JSONObject(json);
String key = jsonObject
        .getJSONArray("with")
        .getJSONObject(0)
        .getJSONArray("extra").getJSONObject(0)
        .getString("translate");

Use anvil and rename it to test as an example
before renaming
{"color":"white","hoverEvent":{"action":"show_item","contents":{"id":"minecraft:anvil"}},"translate":"chat.square_brackets","with":[{"extra":[{"translate":"block.minecraft.anvil"}],"text":""}]}

after renaming
{"color":"white","hoverEvent":{"action":"show_item","contents":{"id":"minecraft:anvil","tag":"{display:{Name:\u0027{\"text\":\"test\"}\u0027}}"}},"translate":"chat.square_brackets","with":[{"italic":true,"extra":[{"text":"test"}],"text":""}]}

Tried the following, but I get chat.square_brackets as a result whether or not the item has been renamed
System.out.println(((TranslatableComponent) item.displayName()).key());


Error on reading API for latitude

The problem
When I start the instance and it is trying to connect to husqvarna, the adapter return an error:

Version of "husqvarna-automower"-adapter
installed from git
Husqvarna Automower Type
405x
Version of Node.js
14.20
Version of ioBroker js-controller
4.0.24
Version of "admin"-adapter
6.4.2
Operating system incl. version running ioBroker
Linux Docker
Checklist of files to include below

[X] iobroker.current.log (Please share the logs in debug mode and check that there are no personal information)
[ ] Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads
Attached Screenshot above.

whitch version of ioBroker.husqvarna-automower is shown in the adapters-tab?
could you set log on debug and show the log? be careful to remove all secrets and so on before posting

Version is v0.3.2-beta.1
I added a line of code to catch the issue. Please consider the PR.

No, it is still the same.
I have some areas where no gps is available on the device. Then comes the error...


Adding file to Android build at app/src/main/assets for getAssets()

@bradmartin commented on Thu Feb 02 2017
Please, provide the details below:
Trying to build a plugin which is calling the following code:
 public static Cancellable fromAssetFileName(Context context, String fileName, OnCompositionLoadedListener loadedListener) {
        InputStream stream;
        try {
            stream = context.getAssets().open(fileName);
        } catch (IOException e) {
            throw new IllegalStateException("Unable to find file " + fileName, e);
        }
        return fromInputStream(context, stream, loadedListener);
    }

The public method to get to that ^^^ is just accepting a string for the fileName argument. The README for the android lib says to put the file at app/src/main/assets. I've tried creating an assets folder in app_resources which obviously doesn't package up there. I've tried at the root of the app folder and no good. So is there some way to add files (this is a .json file) to that location for an android build with NS. The android code calling getAssets() returns the AssetManager and is calling open() with the given file name. So how do we get files to be accessible with this in a NS app is the question now that I think about it 😄
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes.
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
NS 2.5 everything - just updated.
Please tell us how to recreate the issue in as much detail as possible.
Create an app, try to create an .apk with a file located in app/src/main/assets at the output I suppose.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
No, just wrapping a lib.

@bradmartin commented on Thu Feb 02 2017
There is another method to go about, but was hoping to access the simplest of them with just passing the file name 👍

@bradmartin commented on Thu Feb 02 2017
And opening up platforms/android/src/main/assets and placing the .json file isn't really a good solution for new NS devs or anyone since it'll be blasted during a build/platform clean. Doing this does work, so the native lib is expecting the file to be located in the assets folder.

Any news on this?

Hi @vjoao
This is part of a more complex task that we need to resolve (https://github.com/NativeScript/android-runtime/issues/561) At this moment, only resource files in App_Resources/Android will be copied in src/main/res.
The feature however won't be available in the upcoming 3.0 release. I'll let you know if there are news around it.

@vjoao , @Pip3r4o ,
I created a small hook to avoid this issue:
https://github.com/rhanb/nativescript-dev-assets/
Hope it can help 😄

Addressed by introducing the resources-update command in the CLI that will migrate the App_Resources/Android subdirectory structure to support user-defined assets, java classes and resources - https://github.com/NativeScript/nativescript-cli/pull/3347


Webcam Stream not showing up

First of all, thank you very much for your really great work and contribution!!!
I currently need help accessing some of your demos and running my own App on the Streamlit Cloud.
When accessing the demos and starting the webcam (after granting access) it looks like this :

or

I have written a short sample app:
import streamlit as st
from streamlit_webrtc import webrtc_streamer, WebRtcMode

# Streamlit app
st.title("DEMO APP")

# Instantiate WebRTC (and show start button)
ctx = webrtc_streamer(
    key="FaceIDAppDemo",
    mode=WebRtcMode.SENDONLY,
    media_stream_constraints={"video": True, "audio": False},
    rtc_configuration={"iceServers": [{"urls": ["stun:stun.l.google.com:19302"]}]},
    video_receiver_size=1,
    async_processing=True,
)

# Live Stream Display
image_loc = st.empty()

if ctx.video_receiver:
    while True:
        try:
            frame = ctx.video_receiver.get_frame(timeout=1)
            img = frame.to_ndarray(format="rgb24")
        except:
            continue

        # Display Live Frame
        image_loc.image(img)

, which is running fine locally. But on Streamlit Cloud, after I press start, it seems to get a connection to the webcam (the text turns to "Stop", but after a few seconds the text turns back to "Start". In the logs, my app got stuck at "Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False."
Do you have any suggestions, on what I could have done wrong here? Or where the error is?
Thank you,
Cheers,
Martlgap

Found the error:
In https://github.com/whitphx/streamlit-webrtc/blob/64885865cf076bd78a0ed8f0af99426f71402276/sample_utils/turn.py
is written:
""" Use Twilio's TURN server because Streamlit Community Cloud has changed
its infrastructure and WebRTC connection cannot be established without TURN server now. """
So I guess the former solution with a free STUN server from google is not working anymore.
Using a twilio TURN server, my app is working now.

@Martlgap Same issue for me. Could you provide me with the twilio TURN server code part?


Typing in storage actuator triggers other mod hotkeys

The most annoying thing is on the interface when you are typing to find an item, it conflicts with other hotkeys from other mods, this bug is weird because it doesn’t happen with any other storage mod that has that search bar. For example: when typing “pot” or any word with P it opens the Players menu from minecraft. Or when typing anything with G it opens baubles inventory. The workaround I found for this was to link the search with JEI and search on JEI’s search bar. But that sometimes also bugs with the mod and it double taps the key I’m typing so when typing “torch” it types “ttoorrcchh”.

See https://github.com/klikli-dev/occultism/issues/1046

Note from neo discord: compare to anvil


⚠ Spryr has degraded performance

In 5badd9f, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3469 ms

Resolved: Spryr performance has improved in fe97bf9 after 14 minutes.


update the istio.io/api SHA (https://github.com/istio/api/pull/575) and istio.io/proxy SHA

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: vadimeisenbergibm
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
Assign the PR to them by writing /assign @geeknoid in a comment when ready.
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

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

@vadimeisenbergibm You may want update proxy SHA as well?

@hklai I see that the dependency on istio/proxy is usually updated automatically, by a robot executing https://github.com/istio/test-infra/blob/master/prow/test-infra-update-deps.sh. If so, only the dependency of istio/api must be updated. Could you please merge this PR? Or should I update the istio/proxy dependency manually?

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai, vadimeisenbergibm
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 [hklai]

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


The file register-with-ledger.sh failed to be executed

First of all, I'm very grateful for this open source project, a fantastic project.
I reinstalled a ubuntu18.04, a clean environment. I builded PDO followed by host_install.md. Everything is ok! And  I rebuild it after changed the value of SGX_MODE from SIM to HW. It break down at register-with-ledger.sh, its output as follow:
registering enclave and IAS public key on the ledger . /root/private-data-objects/bin/activate && /root/private-data-objects/eservice/bin/register-with-ledger.sh  register-with-ledger.sh: Download IAS certificates and Compute the enclave information  register-with-ledger.sh: operation failed: eservice-enclave-info --spid ABAC66755CB4E6424B04F96CC07C21C7 --save /tmp/pdo-test.sPkasxVmc --loglevel warn --identity eservice1 --config eservice1.toml enclave.toml --config-dir /root/private-data-objects/opt/pdo/etc/  register-with-ledger.sh: Clean up temporary files Makefile:227: recipe for target 'register' failed make: *** [register] Error 111
I tried the following:
When I execute this command alone eservice-enclave-info --spid ABAC66755CB4E6424B04F96CC07C21C7 ..., there are no errors.
But I execute this shell file alone register-with-ledger.sh, it fail as above.How can I solve it?
I have done as follows：
It can be successfully built and tested in Docker. But I need non-docker build. So I followed by host_install.md now. And I have deployed the sawtooth ledger service on a new ubuntu16.04. The variables are configured correctly，such as PDO_LEDGER_URL.
My plan is as follows：
If PDO in HW mode can be builded successfully, I'll replace Gipsy with Wawaka.

when I execute wawaka benchmarks in /root/private-data-objects/contracts/wawaka with command
pdo-test-contract --no-ledger --interpreter wawaka --contract benchmarks/fibonacci  --expressions ./benchmarks/fibonacci/test-short.json --logfile __screen__ --loglevel info.
Program output error:
[WARNING STDERR] unable to load contract source; [Errno 2] file does ot exist: '/root/private-data-objects/contracts/wawaka/_benchmarks/fibonacci'
I found the path benchmarks  was modified to _benchmarks,
Is this a bug? thank you very much!

First of all, I'm very grateful for this open source project, a fantastic project.
I reinstalled a ubuntu18.04, a clean environment. I builded PDO followed by host_install.md. Everything is ok! And I rebuild it after changed the value of SGX_MODE from SIM to HW. It break down at register-with-ledger.sh, its output as follow:
registering enclave and IAS public key on the ledger . /root/private-data-objects/bin/activate && /root/private-data-objects/eservice/bin/register-with-ledger.sh register-with-ledger.sh: Download IAS certificates and Compute the enclave information register-with-ledger.sh: operation failed: eservice-enclave-info --spid ABAC66755CB4E6424B04F96CC07C21C7 --save /tmp/pdo-test.sPkasxVmc --loglevel warn --identity eservice1 --config eservice1.toml enclave.toml --config-dir /root/private-data-objects/opt/pdo/etc/ register-with-ledger.sh: Clean up temporary files Makefile:227: recipe for target 'register' failed make: *** [register] Error 111
I tried the following:
When I execute this command alone eservice-enclave-info --spid ABAC66755CB4E6424B04F96CC07C21C7 ..., there are no errors.
But I execute this shell file alone register-with-ledger.sh, it fail as above.How can I solve it?
I have done as follows：
It can be successfully built and tested in Docker. But I need non-docker build. So I followed by host_install.md now. And I have deployed the sawtooth ledger service on a new ubuntu16.04. The variables are configured correctly，such as PDO_LEDGER_URL.
My plan is as follows：
If PDO in HW mode can be builded successfully, I'll replace Gipsy with Wawaka.

I got more accurate information:
[14:37:20, 40, pdo.eservice.pdo_enclave] invalid report fields  54 [14:37:20, 30, STDERR] Traceback (most recent call last):  55 [14:37:20, 30, STDERR]   File "/root/private-data-objects/bin/eservice-enclave-info", line 33, in <module>  56 [14:37:20, 30, STDERR] sys.exit(load_entry_point('pdo-eservice==0.0.1.dev1', 'console_scripts', 'eservice-enclave-info')())  57 [14:37:20, 30, STDERR]   File "/root/private-data-objects/lib/python3.6/site-packages/pkg_resources/__init__.py", line 474, in load_entry_point  58 [14:37:20, 30, STDERR] return get_distribution(dist).load_entry_point(group, name)  59 [14:37:20, 30, STDERR]   File "/root/private-data-objects/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2846, in load_entry_point  60 [14:37:20, 30, STDERR] return ep.load()  61 [14:37:20, 30, STDERR]   File "/root/private-data-objects/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2450, in load  62 [14:37:20, 30, STDERR] return self.resolve()  63 [14:37:20, 30, STDERR]   File "/root/private-data-objects/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2456, in resolve  64 [14:37:20, 30, STDERR] module = __import__(self.module_name, fromlist=['__name__'], level=0)  65 [14:37:20, 30, STDERR]   File "/root/private-data-objects/lib/python3.6/site-packages/pdo_eservice-0.0.1.dev1-py3.6-linux-x86_64.egg/pdo/eservice/scripts/ESe    rviceEnclaveInfoCLI.py", line 195, in <module>  66 [14:37:20, 30, STDERR] Main()  67 [14:37:20, 30, STDERR]   File "/root/private-data-objects/lib/python3.6/site-packages/pdo_eservice-0.0.1.dev1-py3.6-linux-x86_64.egg/pdo/eservice/scripts/ESe    rviceEnclaveInfoCLI.py", line 190, in Main  68 [14:37:20, 30, STDERR] LocalMain(config, spid, save_path)  69 [14:37:20, 30, STDERR]   File "/root/private-data-objects/lib/python3.6/site-packages/pdo_eservice-0.0.1.dev1-py3.6-linux-x86_64.egg/pdo/eservice/scripts/ESe    rviceEnclaveInfoCLI.py", line 102, in LocalMain 70  [14:37:20, 30, STDERR] GetIasCertificates(config)  71 [14:37:20, 30, STDERR]   File "/root/private-data-objects/lib/python3.6/site-packages/pdo_eservice-0.0.1.dev1-py3.6-linux-x86_64.egg/pdo/eservice/scripts/ESe    rviceEnclaveInfoCLI.py", line 87, in GetIasCertificates  72 [14:37:20, 30, STDERR] pd_dict =  json.loads(enclave_data.proof_data)  73 [14:37:20, 30, STDERR] AttributeError  74 [14:37:20, 30, STDERR] :  75 [14:37:20, 30, STDERR] 'NoneType' object has no attribute 'proof_data'

@zlonqi It seems like you're reporting a couple of different issues in this thread, and your first and third messages are related, while the benchmarks issue is separate. If this is correct, could you please open separate issues for the different problems you're having? This'll help us better understand the errors you're reporting, and address each separate issue more effectively. Thank you!

PDO is behaving correctly.
For some reason (I cannot say what exactly), the Intel Attestation Service reports a CONFIGURATION_NEEDED status for your hardware attestation.
Such status is currently not accepted in PDO.
You can see it here (lines 313-317).
However, you (developer/user) may want to change that.
As described in the SGX attestation API spec, your quote was correctly verified; the platform was not identified as compromised, but some configuration is necessary.
So, it is up to you to decide whether you want to accept such a quote or not.
You can modify PDO's behavior by updating the code snippet linked above as follows -- I have not tested the code! -- to display a warning, without failing:
if _ias.last_verification_error() == "GROUP_OUT_OF_DATE":
                logger.warning("failure GROUP_OUT_OF_DATE (update your BIOS/microcode!!!) keep going")
elif _ias.last_verification_error() == "CONFIGURATION_NEEDED":
                logger.warning("Warning: CONFIGURATION_NEEDED, keep going")
else:
                logger.error("invalid report fields")
                return None

This part clearly needs some refactoring from our side.
The user/developer should be able to easily specify what quotes are acceptable, without modifying the code.
So, thanks for spotting that!

@zlonqi Thanks for the update. Did you resolve the issues with running the benchmarks? If not, please feel free to open an new issue for this, so I can help you resolve this.

PDO is behaving correctly.
For some reason (I cannot say what exactly), the Intel Attestation Service reports a CONFIGURATION_NEEDED status for your hardware attestation.
Such status is currently not accepted in PDO.
You can see it here (lines 313-317).
However, you (developer/user) may want to change that.
As described in the SGX attestation API spec, your quote was correctly verified; the platform was not identified as compromised, but some configuration is necessary.
So, it is up to you to decide whether you want to accept such a quote or not.
You can modify PDO's behavior by updating the code snippet linked above as follows -- I have not tested the code! -- to display a warning, without failing:
if _ias.last_verification_error() == "GROUP_OUT_OF_DATE":
                logger.warning("failure GROUP_OUT_OF_DATE (update your BIOS/microcode!!!) keep going")
elif _ias.last_verification_error() == "CONFIGURATION_NEEDED":
                logger.warning("Warning: CONFIGURATION_NEEDED, keep going")
else:
                logger.error("invalid report fields")
                return None

This part clearly needs some refactoring from our side.
The user/developer should be able to easily specify what quotes are acceptable, without modifying the code.
So, thanks for spotting that!

bvavala, thank you very much. I think it will be work.

@zlonqi Thanks for the update. Did you resolve the issues with running the benchmarks? If not, please feel free to open an new issue for this, so I can help you resolve this.

a good advice.


Read Real number

I want to read values from PLC which gives me Real (data type) number too. How to read it? Function readInputRegister has data type Uint16List. Is it possible to change this function to read Real numbers?

All registers internally has uint16 type.
So, you should make all other conversions in your code.


Title: Adding a navbar and global search on that navbar to easily access the projects

Is your feature request related to a problem? Please describe.
Its a feature request!!
Describe the solution you'd like.
Having a navbar and a search bar makes the website look more proficient and search bar helps easy search for the project
@swapnilsparsh  if u find this enhancement a good one ... do assign it to me

@Simran2337 Good Luck 👍🏻

#346


Refactor : Probability/distributions/Exponential

Refactor most proofs of Probability/distributions/Exponential.lean in terms of the proofs in Probability/distributions/Gamma.lean, as the exponential distribution is a special case of the Gamma distribution.
Remove stronglyMeasurable_exponentialPdfReal as this is a one-line result.
Style : improve consistency in notation.

Thanks!
Can you please restore stronglyMeasurable_exponentialPdfReal? Many lemmas about real valued functions ask for strongly measurable so that's good to have (even if it is easily obtainable from the other one). Also can you add the [measurability] tags to both lemmas? That makes those lemmas available in the measurability tactic.

Thank you, I will do that and incorporate the other replies as well! I’ll also add the related result to Probability/Distributions/Gamma!

I've implemented all changes in the PR!
I think that two further things for exponential/gamma distributions should be modified:

The case (a = 0 or r = 0) is a degenerate special case (where the corresponding distribution is the dirac distribution at 0), perhaps we should extend the results, where possible, for that?
The parameters for 'a' and 'r' should be positive or non-negative (depending on the previous item), so perhaps we should constrain them to be NNReal at some point: I think from the point where we define gammaMeasure and exponentialMeasure in Probability/Distributions/Gamma and Probability/Distributions/Exponential respectively?

I'm happy to open a new PR after this one to incorporate these points, or tag them along to the current PR. If you'd like to discuss them, I'm also happy to move that discussion to Zulip?

Remove stronglyMeasurable_exponentialPdfReal as this is a one-line result.

Is this still accurate? If not, please update the top comment. It will become the commit message when this PR is merged into master.

Remove stronglyMeasurable_exponentialPdfReal as this is a one-line result.

Is this still accurate? If not, please update the top comment. It will become the commit message when this PR is merged into master.

That is outdated, I've changed it! I'll incorporate your reviews soon!

Let's merge this and put further changes in another PR. Thanks!
bors r+


first keystroke not responding on entering Vim with certain config and terminal

Describe the bug
This seems to be a(nother) terminal compatibility issue introduced in #2126.
To Reproduce
Detailed steps to reproduce the behavior:

In xfce4-terminal (<IP_ADDRESS>, vte3 0.62.1)
Run vim --clean -c $'set <M-P>=\x1bP' -c 'nmap <M-t> a' (P is important, A-O are untested, others (Q-Z, a-z, 0-9 etc) don't cause this issue; the latter mapping is arbitrary as long as it's <M- something)
Type any key
Vim doesn't respond to the first key. Also there is a Ã character shown in the pending operator area for a while.

Expected behavior
Vim should respond to the first key too.
Environment (please complete the following information):

Vim version 8.2.0936+
OS: Arch Linux, Manjaro Linux
Terminal: xfce4-terminal (gnome-terminal and konsole are ok)

Additional context
I'm mapping <M-x> to ^[x so that they work in most terminals (which send these keys by default for Alt combinations).

These issues look similar: https://github.com/vim/vim/issues/2581 and https://github.com/vim/vim/issues/6206.

Does it help if you clear 't_RV'?
set t_RV=

What's the value of TERM in xfce4-terminal?  Is it different in gnome-terminal and konsole?
Does it change anything if you reset TERM (maybe to xfce):
TERM=xfce vim --clean -c $'set <M-P>=\x1bP' -c 'nmap <M-t> a'
^-------^

I'm mapping  to ^[x so that they work in most terminals (which send these keys by default for Alt combinations).

This might cause an issue when trying to insert some accented characters.  For a workaround, see this answer.  I don't know whether it would help for the current issue, but it's worth a try.

@lacygoill you mean this explanation https://github.com/vim/vim/issues/2581#issuecomment-639762344 ?

@lacygoill you mean this explanation #2581 (comment) ?

Well, yes it might be relevant here, as well as the previous comment.

TERM=xterm-256color (reproducible with TERM=xterm). Setting TERM=xfce prevents this issue.
set t_RV= prevents this issue too and a simple test on my config doesn't reveal other issues.
An update: it does happen with gnome-terminal, just not when also in tmux (TERM=tmux-256color) and the tmux session is only attached by one client. With two clients attaching to the same tmux session, no matter what combinations of xfce4-terminal and gnome-terminal, it reproduces. Weird. (I'm updating the original report.)
I didn't verify but konsole should have TERM=konsole.
I also verify that only <M-P> has this issue. I'm going to not set this key.

This might cause an issue when trying to insert some accented characters.

Yes, but it doesn't bother me much. modifyOtherKeys doesn't seem to work in my case last time I checked (terminal doesn't support).


Create Moshi Middleware

Related: #39

Looked at it more. There's no reason to do Reader as an input to moshi. Remove that one, keep other two and we'll wait for one more reviewer. Thanks for contributing

@digitalbuddha You're right, thanks for the feedback. Fixed.

I'll do a release Monday..


[TEMPLATE] QR Code Generator and Verifier

Describe the template
This app generates QR code and lets the users to verify the code by scanning on it.
Link to the public app
Link
Integrations and features
A list of specific integrations, data sources, and specific features
-QR code Generation API
-QR Code Scanner
Screenshots

Hi - the app seems to be blank. Perhaps you need to deploy your changes or update your public app link?
Also, can you export and attach the JSON for the app: https://docs.appsmith.com/advanced-concepts/more/backup-restore#export-application

@rlnorthcutt, I have made the changes

Congratulations! You won a gold prize for this submission and 10 coins for use in the swag store!


move safebooru/hentai to https://ibsear.ch

https://ibsear.ch

The site hasn't indexed in quite a while, not a single one in all of 2016. Use search "upload>2016-01-01" to see all images after then.

O.o that's true, i did not know that. Thanks.

Guess We're out of luck then. Last uploaded image was at the end of november last year >.<

Hope I saved you some time, though I'm also kind of saddened by this fact.


Issue #SB-5591 feat: CircleCI Config changes for Web Build

[ ] Have you followed Contribution Guidelines

Hello @lakhanmandloi, This is a auto-generated response.  Click the URL for review pull request - http://35.www-qa.sunbird.org .


Dan's team upload data

Hi @djj4tree, were you able to sync the work you and your team did last Friday? I want to make sure I'm not repeating columns. Thanks!

Yes


Tweaks to Solo play / lone wolf

The Chore
Want to remove the team related terminology from Solo play
Tasks

[x] Change the options for signup to the three in the sketch in that order
[x] When you hit play as individual

[x] On the create team screen change "create solo team" to "Create my profile"
[x] Instead of Team Name display "Trading alias"
[x] Replace "Provide a link so users can learn more about your team" with "Provide a link so users can learn more about you"
[x] When you submit the TX ensure it is setting a whitelist with only your key on it

Additional details / background info

Feedback

When you already have a referral set and you look to upgrade to a team you get some helpful text

"Note that your existing referees will not be automatically added to your team. Share your team profile to have them join you in competitions. You will still earn commission from their trading even if they do not join."
This text doesnt make sense when signing up to play as an individual so dont show it on that screen, on the regular create team it is fine

Other than that this all works well.  Re-opening just for that tiny bit which is petty ... but shrug emoji


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 95 ms

Resolved: ClamAV performance has improved in 13f17ca after 5 minutes.


NNBD. No error if local late final wariable is written to twice

The code below works without any errors
main() {
  late final String l;
  l = "Lily was here";
  print(l);
  l = "Show must go on";
  print(l);
}

Dart VM version: 2.8.0-dev.0.0 (Wed Dec 11 10:31:10 2019 +0100) on "windows_x64"
According to the NNBD specification

Let D be a late and final local variable declaration named v without an initializing expression. It is a run-time error, throwing an instance of LateInitializationError, to assign a value to v if a value has previously been assigned to v.

So, there must be a LateInitializationError at a runtime on  = "Show must go on";

This example now results in a compile-time error:
foo.dart:5:3: Error: Late final variable 'l' definitely assigned.
  l = "Show must go on";
  ^