Changing Automatically ?

Hi , Thanks for this amazing package,
is this package converting the emojis automatically?
or should I use Emoji::findByAlias("Emoji_name") for each emoji ?
because I want to use it on a textarea and I want it to convert them automatically.. so I just need a clarification :)
thank you

You have to use the findByAlias method
Best Regards,
Otemuyiwa Prosper | Technical Writer | Auth0  auth0.com
https://auth0.com/
(c) +234-708-909-5645 | @unicodeveloper https://twitter.com/unicodeveloper |
prosper.otemuyiwa1 ( Skype )
On Sat, Oct 8, 2016 at 10:59 PM, Ahmad Yousef<EMAIL_ADDRESS>wrote:

Hi , Thanks for this amazing package,
is this package converting the emojis automatically?
or should I use Emoji::findByAlias("Emoji_name") for each emoji ?
because I want to use it on a textarea and I want it to convert them
automatically.. so I just need a clarification :)
thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/unicodeveloper/laravel-emoji/issues/8, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACz20czEmaM5tOpOcahJzVjXmdHhlqUdks5qyBI4gaJpZM4KR1nx
.

Thank you 😄


[BUG] Error unreachable when open xlsx file after add picture by withDraw

Prerequisites

[x] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[x] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[x] Checked that your issue isn't already filed.
[x] Checked if no PR was submitted that fixes this problem.
[x] Filled in the entire issue template

Versions

PHP version: 7.2
Laravel version: 5.6
Package version: 3.0

Description
Hello everyone, please help me with this bug :
Here is my code :
if (file_exists($data['house']['img_url'])) {
$drawing = new \PhpOffice\PhpSpreadsheet\Worksheet\Drawing();
$drawing->setName('House_icon');
$drawing->setDescription('House_icon');
$drawing->setPath($data['house']['img_url']);
$drawing->setCoordinates('AC9');
$drawing->setOffsety(0);
$drawing->setOffsetx(-100);
$drawing->setRotation(0);
$drawing->setHeight(80);
$drawing->getShadow()->setVisible(true);
$drawing->getShadow()->setDirection(0);
$drawing->setWorksheet($worksheet);
}
When export complete, i open file and get error

If i comment the code below , the file is opened with no error, I gonna be stuck in this bug for all this morning @@@

If you believe there's a bug with PhpSpreadsheet drawings, I'd recommend opening a bug report over there.


Autoformat with Black

All of the pantsbuild codebases use Black + Isort, except for Pex. This brings us alignment across the organization.

Much more feasible now that we have little BUILD file boilerplate! Earlier, I'd say it would be overkill, but Pants is starting to get the point where it makes sense even in small repos :)
Related to this, I tried setting up Docformatter and it was too hard to get working without Pants. No way to easily exclude the vendored folder without explicitly enumerating every single file to format. If we had Pants, this would be easy.


Support Leaflet 1.0

Needs some testing.

I've tested all of the examples with Leaflet v1.0 beta 2. Impressively, it looks as though not even the CSS has changed enough to require changes to this project.
I welcome re-opening this bug or creating new bugs if I turn out to be wrong here.


Error Failed to Save Config

Describe Your Problem:
when I try to save the config file in Homebridge Config UI X, I get an "error failed to save config " see attached
Logs: see attached
homebridge.log
Show the Homebridge / Homebridge Config UI X logs here.
```[9/9/2020, 4:49:51 PM] Loading 5 platforms...
[9/9/2020, 4:49:51 PM] [Aircon] Initializing SensiboSky platform...
[9/9/2020, 4:49:51 PM] [Aircon] Fetching Sensibo devices...
[9/9/2020, 4:49:51 PM] [Wemo Platform] Initializing BelkinWeMo platform...
[9/9/2020, 4:49:51 PM] [Config] Initializing config platform...
[9/9/2020, 4:49:51 PM] [Config] Running in Service Mode
[9/9/2020, 4:49:51 PM] [TV] Initializing SamsungTizen platform...
[9/9/2020, 4:49:51 PM] [Boom Bar] Initializing SoundTouchPlatform platform...
[9/9/2020, 4:49:51 PM] [Boom Bar] Searching accessories...
[9/9/2020, 4:49:51 PM] TV is running on port 64198.
[9/9/2020, 4:49:51 PM] Please add [TV] manually in Home app. Setup Code: 720-01-055
[9/9/2020, 4:49:51 PM] [Wemo Platform] Online: Right Garage Door [94103ED3A75C]
[9/9/2020, 4:49:51 PM] [Wemo Platform] Online: Left Garage Door [94103ED3D2D4]
[9/9/2020, 4:49:51 PM] [Wemo Platform] Left Garage Door - Get Current Door State: Closed
[9/9/2020, 4:49:51 PM] [Wemo Platform] Right Garage Door - Get Current Door State: Closed
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Failed 1B:CF:C2:29:E7:5E via http://<IP_ADDRESS>:6200/accessories
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Could not register to device with username 1B:CF:C2:29:E7:5E
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Found HAP device with username EC:EB:1D:B5:1E:EC
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Testing EC:EB:1D:B5:1E:EC via http://<IP_ADDRESS>:64198/accessories
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Failed 92:68:53:2F:63:B1 via http://<IP_ADDRESS>:80/accessories
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Could not register to device with username 92:68:53:2F:63:B1
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Success EC:EB:1D:B5:1E:EC via http://<IP_ADDRESS>:64198/accessories
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: [<IP_ADDRESS>:64198 (EC:EB:1D:B5:1E:EC)] Instance Registered
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Failed 95:19:83:12:96:83 via http://<IP_ADDRESS>:80/accessories
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Could not register to device with username 95:19:83:12:96:83
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Failed EC:1E:CB:0B:BA:48 via http://<IP_ADDRESS>:80/accessories
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Could not register to device with username EC:1E:CB:0B:BA:48
[9/9/2020, 4:49:52 PM] [Aircon] Aircon : AI State:  false , RefreshCycle:  30000 , fixedState, AI, hideFan : auto false false
[9/9/2020, 4:49:52 PM] [Aircon] GWVcuJ6r Setting fan up
[9/9/2020, 4:49:52 PM] [Aircon] Device Added (Name: Aircon, ID: GWVcuJ6r, Group: pods)
[9/9/2020, 4:49:52 PM] Initializing platform accessory 'Aircon'...
Setup Payload:
X-HM://0024NSSGV6F4N
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 720-01-055 │
    └────────────┘

[9/9/2020, 4:49:52 PM] Homebridge is running on port 51152.
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Failed FD:83:F2:BB:8C:C5 via http://<IP_ADDRESS>:80/accessories
[9/9/2020, 4:49:52 PM] [Config] [HapClient] Discovery :: Could not register to device with username FD:83:F2:BB:8C:C5
[9/9/2020, 4:49:53 PM] [Config] [HapClient] Discovery :: Found HAP device with username 0E:23:40:26:93:4F
[9/9/2020, 4:49:53 PM] [Config] [HapClient] Discovery :: Testing 0E:23:40:26:93:4F via http://<IP_ADDRESS>:51152/accessories
[9/9/2020, 4:49:53 PM] [Config] [HapClient] Discovery :: Success 0E:23:40:26:93:4F via http://<IP_ADDRESS>:51152/accessories
[9/9/2020, 4:49:53 PM] [Config] [HapClient] Discovery :: [<IP_ADDRESS>:51152 (0E:23:40:26:93:4F)] Instance Registered
[9/9/2020, 4:49:54 PM] [Config] [HapClient] Discovery :: Failed A4:5E:20:78:5E:4C via http://<IP_ADDRESS>:80/accessories
[9/9/2020, 4:49:54 PM] [Config] [HapClient] Discovery :: Could not register to device with username A4:5E:20:78:5E:4C
[9/9/2020, 4:49:56 PM] [Boom Bar] [Boom Bar] Found device
[9/9/2020, 4:49:56 PM] [Boom Bar] [Boom Bar] Found local source 'PRODUCT' with account 'HDMI_1' on device
[9/9/2020, 4:49:56 PM] [Boom Bar] [Boom Bar] Found local source 'BLUETOOTH' with account '' on device
[9/9/2020, 4:49:56 PM] [Boom Bar] [Boom Bar] Found local source 'PRODUCT' with account 'TV' on device
[9/9/2020, 4:49:56 PM] [Boom Bar] [Boom Bar] Found local source 'QPLAY' with account 'QPlay1UserName' on device
[9/9/2020, 4:49:56 PM] [Boom Bar] [Boom Bar] Found local source 'QPLAY' with account 'QPlay2UserName' on device
[9/9/2020, 4:49:56 PM] [Boom Bar] [Boom Bar] Device ready
[9/9/2020, 4:49:56 PM] [Boom Bar] Finish searching accessories
[9/9/2020, 4:50:00 PM] [TV] Opening handshake has timed out
[9/9/2020, 4:50:50 PM] [Config] [HapClient] Discovery :: Ended

**Homebridge Config:**

```json
Show your homebridge config.json here
```{
    "bridge": {
        "name": "HomeBridge",
        "username": "0E:23:40:26:93:4F",
        "pin": "720-01-055",
        "port": 51152
    },
    "description": "HomeBridge",
    "accessories": [],
    "platforms": [
        {
            "platform": "SensiboSky",
            "name": "Aircon",
            "apiKey": "a0BMxivx576dLL1w6Kh364YZqVEhjT"
        },
        {
            "platform": "BelkinWeMo",
            "name": "Wemo Platform",
            "ignoredDevices": [
                "221511K1100057",
                "221402K1300421",
                "24D10P0B701410",
                "231445B0100C5A",
                "221402L1100009"
            ]
        },
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "c",
            "lang": "auto",
            "sudo": true,
            "log": {
                "method": "null"
            },
            "accessoryControl": {
                "debug": true
            },
            "platform": "config"
        },
        {
            "name": "TV",
            "app_list": true,
            "devices": [
                {
                    "name": "TV",
                    "ip": "<IP_ADDRESS>",
                    "mac": "D0:03:DF:66:04:06"
                }
            ],
            "platform": "SamsungTizen"
        },
        {
            "platform": "SoundTouchPlatform",
            "name": "Boom Bar",
            "discoverAllAccessories": true,
            "global": {
                "verbose": true,
                "sources": [
                    {
                        "source": "BLUETOOTH",
                        "enabled": false
                    },
                    {
                        "source": "switch",
                        "enabled": false
                    },
                    {
                        "source": "QPLAY",
                        "enabled": false
                    },
                    {
                        "source": "PRODUCT",
                        "enabled": false
                    }
                ]
            }
        }
    ]
}

**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->
![image](https://user-images.githubusercontent.com/37004336/92563966-c2d88f80-f2bb-11ea-8fd3-6d74946bb0dc.png)

* **Node.js Version**: <v12.18.3>
* **NPM Version**: <v6.14.8>
* **Homebridge Version**: <Version 1.1.6>
* **Homebridge Config UI X Version**:homebridge-config-ui-x v4.27.1
* **Operating System**: / macOS /
* **Process Supervisor**:  hb-service

Thanks for your help

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->

SIGTERM, shutting down Homebridge...
[8/28/2020, 4:47:07 PM] Error: EACCES: permission denied, mkdir

The permissions on your homebridge storage directory are not correct.
Re-installing the service should fix this:
sudo hb-service uninstall
sudo hb-service install

Hello and thanks for the quick response but unfortunately it didn’t fix the issue
Kind Regards
Wayne Pulbrook
<EMAIL_ADDRESS>Mobile<PHONE_NUMBER>

On 9 Sep 2020, at 17:12, oznu<EMAIL_ADDRESS>wrote:
sudo hb-service uninstall

Can you manually edit the file as your local user (without sudo)?

homemini@Waynes-Mac-mini ~ % hb-service uninstall
ℹ Removing Homebridge Service
✖ ERROR: This command must be executed using sudo on macOS
✖ sudo hb-service uninstall
homemini@Waynes-Mac-mini ~ %

Can you manually edit the "config.json" file as your local user (without sudo)?

yes I am using atom

Try
sudo chown -R $USER: ~/.homebridge

all I really want to do is add a switch as an accessory and have tried a few plug ins and they have settings which I also try to add and they won't save so I am a bit lost at adding them manually to the config.json file

sudo chown -R $USER: ~/.homebridge worked thanks

close this if you like and thanks for your help, Homebridge is great , thanks


Fix polymorphism for UniquePtr<> and OrphanablePtr<>.

This has been bugging me for a while, and I finally figured out how to fix it.
@soheilhy, note that this simplifies the change you made in #19386, but I think the result is the same.

Known issues: #20427 #20421 #20428 #20395


Fix missing ancestry information in LD table

Encoding of ancestry info by GWAS Catalog makes it very difficult to parse. This results in no ancestry information for the below 23 studies. This need to be fixed in ld_analysis_input.tsv.gz(the manifest used to run the LD analysis).
Will fix post-October.
GCST000115
GCST000116
GCST000117
GCST000119
GCST000120
GCST000740
GCST001581
GCST001788
GCST002123
GCST002621
GCST002718
GCST003391
GCST003451
GCST003470
GCST003471
GCST003743
GCST004172
GCST004174
GCST004585
GCST004781
GCST004794
GCST004797
GCST004826

There are a number of "compound" ancestries, e.g. European, Asian   unspecified, African American or Afro-Caribbean, Greater Middle Eastern   (Middle Eastern, North African or Persian), Oceanian, Native American, Other admixed ancestry=10874.
We must decide how to deal with these. Currently taking the last column.

The GWAS Catalog ancestry paper has a mapping of ancestry -> 1000G super-populations. We should use this instead of my own mapping.


log marker still useful?

In cache lists on the left hand of the screen a colored block is shown for caches with logs. This is duplicated by the log markers on the cache icon. Is this still needed?
Implemented in :
logs_item.xml:log_mark
LogType.java:markerId

https://github.com/cgeo/cgeo/issues/11684


Fix blindspot warning animations

This PR fixes the broken blindspot warning animations.
Before and after videos:
https://photos.app.goo.gl/yAcqJDs6wAVcVdt47
TL;DW: the animation was broken because for every bs warning can message, the animation would be restarted causing it to barely flicker. The toast would do the same, thus not showing until the bs warning was cleared.
Now we use a toggle (similar to AP warning animation) to ensure the animations are only created and started upon state change from no warning to yes warning. The difference to the AP warning animation is that when the blindspot clears, we fade back to normal from the current point in the animation, rather than suddenly snapping back.
This also slows the animation down from a frantic 250ms to a less frantic but still urgent 500ms

Tested with my model 3:

AP hands warning has no regression.
No blindspot warning appears when triggering turn signal next to car while on AP.
Blindspot warning appears as expected when not on AP.


misc(libs/header/p2p): store already fetched headers in case of timeout

Overview
In mocha we already faced an issue when we do not have enough time to fetch all headers, mainly because of their size, and in case of any error, we discard all fetched headers and start from the beginning. This PR aims to fix this issue. So, now if we get a timeout/deadline error, we will try to store all headers that we've already fetched, rebuild the request with the new range and send it to the processLoop.
NOTE: in case the timeout is reached and we've fetched even 1 header, then the peer will not be punished and will be added to the queue as ready to be used.
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

Just realized that this improvement allows the server side to return only available headers and do not respond w ErrNotFound

NOTE: in case the timeout is reached and we've fetched even 1 header, then the peer will not be punished and will be added to the queue as ready to be used.

I am slightly concerned about this statement, as it means that even slow peers will get good scores, which defeats the purpose of scoring in the first place

I am slightly concerned about this statement, as it means that even slow peers will get good scores, which defeats the purpose of scoring in the first place

It's ok. If you'll take a look at the peerScore formula, you'll notice that we are calculating it by dividing amount of bytes on the request time. After this, we are calculating new as peerScore = (prevPeerScore + newScore) / 2;
In case when we are punishing the peer, we are decreasing its score by 20%. I'm pretty sure that the case that you've concerned about will punish peers more than 20%

I see, then no more concerns

Can you also create a test for this (partial response from peer)
Will do in scope of https://github.com/celestiaorg/celestia-node/pull/1807, bc the current implementation is client-side. But I also need the server-side

Got it. We still may want to decrease the score of a peer, because it does have nothing and we don't really want to request it again.

But there can be a peer that is syncing rn, so it would be unfair to decrease its score just because we get ErrNotFound. But I'm open to any suggestions and we can discuss it

But there can be a peer that is syncing rn, so it would be unfair to decrease its score just because we get ErrNotFound.

We don't block him, but we just decrease his score to avoid wasting time on it. As we can recursively as that peer over and over again, while it is still syncing. I think the solution is to make the score to be affected by time.

We don't block him, but we just decrease his score to avoid wasting time on it. As we can recursively as that peer over and over again, while it is still syncing. I think the solution is to make the score to be affected by time.

Ok, agreed

Codecov Report

Merging #1803 (44e35a2) into main (233c9aa) will decrease coverage by 0.08%.
The diff coverage is 58.82%.

@@            Coverage Diff             @@
##             main    #1803      +/-   ##
==========================================
- Coverage   57.15%   57.08%   -0.08%
==========================================
  Files         242      242
  Lines       16141    16191      +50
==========================================
+ Hits         9226     9243      +17
- Misses       5962     5992      +30
- Partials      953      956       +3

Impacted Files
Coverage Δ

libs/header/p2p/exchange.go
79.61% <0.00%> (-2.39%)
:arrow_down:

libs/header/p2p/session.go
80.47% <53.12%> (-2.86%)
:arrow_down:

libs/header/p2p/helpers.go
72.46% <72.00%> (+3.37%)
:arrow_up:

libs/header/sync/sync.go
67.68% <100.00%> (+0.19%)
:arrow_up:

nodebuilder/p2p/pubsub.go
60.39% <0.00%> (-5.54%)
:arrow_down:

core/listener.go
47.14% <0.00%> (-4.29%)
:arrow_down:

share/eds/byzantine/bad_encoding.go
66.00% <0.00%> (-3.00%)
:arrow_down:

share/eds/byzantine/pb/share.pb.go
32.88% <0.00%> (-1.97%)
:arrow_down:

nodebuilder/p2p/config.go
81.08% <0.00%> (ø)

... and 4 more

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


[Python] Something went wrong during the nnUNet processing.

I am having touble shoot problems in windows 10, could you help me

[Python] Failed to load the segmentation.
[Python] Something went wrong during the nnUNet processing.
[Python] Please check the logs for potential errors and contact the library maintainers.
Manufacturer: ASUSTeK Computer Inc.
Processor: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, 2.59 GHz
Installed Memory (RAM): 32.0 GB (31.9 GB usable)
System Type: 64-bit Operating System, x64-based processor
Pen and Touch Input: Touch Input Available (handwriting compatible)
Additionally:
Windows Edition: Windows 10 Home Single Language
Activation Status: Windows is activated

2024/09/28 14:12:15.834 :: nnUNet is already installed (2.5.1) and compatible with requested version (nnunetv2).
2024/09/28 14:12:15.839 :: Downloading model weights...
2024/09/28 14:15:36.931 :: Transferring volume to nnUNet in C:/Users/aeoor/AppData/Local/Temp/Slicer-QtlqIb
2024/09/28 14:16:04.093 :: Starting nnUNet with the following parameters:
2024/09/28 14:16:04.093 ::
2024/09/28 14:16:04.093 :: C:\Users\aeoor\AppData\Local\slicer.org\Slicer 5.7.0-2024-09-26\lib\Python\Scripts\nnUNetv2_predict.exe -i C:/Users/aeoor/AppData/Local/Temp/Slicer-QtlqIb/input -o C:/Users/aeoor/AppData/Local/Temp/Slicer-QtlqIb/output -d Dataset111_453CT -tr nnUNetTrainer -p nnUNetPlans -c 3d_fullres -f 0 -npp 1 -nps 1 -step_size 0.5 -device cuda -chk checkpoint_final.pth --disable_tta
2024/09/28 14:16:04.093 ::
2024/09/28 14:16:04.093 :: JSON parameters :
2024/09/28 14:16:04.093 :: {
2024/09/28 14:16:04.093 ::     "folds": "0",
2024/09/28 14:16:04.093 ::     "device": "cuda",
2024/09/28 14:16:04.093 ::     "stepSize": 0.5,
2024/09/28 14:16:04.093 ::     "disableTta": true,
2024/09/28 14:16:04.093 ::     "nProcessPreprocessing": 1,
2024/09/28 14:16:04.093 ::     "nProcessSegmentationExport": 1,
2024/09/28 14:16:04.093 ::     "checkPointName": "",
2024/09/28 14:16:04.093 ::     "modelPath": {
2024/09/28 14:16:04.093 ::         "_path": "C:\Users\aeoor\AppData\Local\slicer.org\Slicer 5.7.0-2024-09-26\slicer.org\Extensions-33036\DentalSegmentator\lib\Slicer-5.7\qt-scripted-modules\Resources\ML"
2024/09/28 14:16:04.093 ::     }
2024/09/28 14:16:04.093 :: }
2024/09/28 14:16:04.129 :: nnUNet preprocessing...
2024/09/28 14:16:10.977 :: Traceback (most recent call last):
2024/09/28 14:16:10.977 ::   File "C:\Users\aeoor\AppData\Local\slicer.org\Slicer 5.7.0-2024-09-26\lib\Python\Lib\runpy.py", line 197, in _run_module_as_main
2024/09/28 14:16:10.979 :: return _run_code(code, main_globals, None,
2024/09/28 14:16:10.979 ::   File "C:\Users\aeoor\AppData\Local\slicer.org\Slicer 5.7.0-2024-09-26\lib\Python\Lib\runpy.py", line 87, in run_code
2024/09/28 14:16:10.979 ::     exec(code, run_globals)
2024/09/28 14:16:10.979 ::   File "C:\Users\aeoor\AppData\Local\slicer.org\Slicer 5.7.0-2024-09-26\lib\Python\Scripts\nnUNetv2_predict.exe_main.py", line 4, in
2024/09/28 14:16:10.979 ::   File "C:\Users\aeoor\AppData\Local\slicer.org\Slicer 5.7.0-2024-09-26\lib\Python\Lib\site-packages\nnunetv2\inference\predict_from_raw_data.py", line 12, in
2024/09/28 14:16:10.979 ::     from batchgenerators.dataloading.multi_threaded_augmenter import MultiThreadedAugmenter
2024/09/28 14:16:10.979 ::   File "C:\Users\aeoor\AppData\Local\slicer.org\Slicer 5.7.0-2024-09-26\lib\Python\Lib\site-packages\batchgenerators\dataloading\multi_threaded_augmenter.py", line 26, in
2024/09/28 14:16:10.996 :: from threadpoolctl import threadpool_limits
2024/09/28 14:16:10.996 :: ModuleNotFoundError: No module named 'threadpoolctl'
2024/09/28 14:16:11.225 :: Loading inference results...
2024/09/28 14:16:28.665 :: Error loading results :
2024/09/28 14:16:28.665 :: Failed to load the segmentation.
2024/09/28 14:16:28.665 :: Something went wrong during the nnUNet processing.
2024/09/28 14:16:28.665 :: Please check the logs for potential errors and contact the library maintainers.

Hi @aeoorto,
Your problem seems to indicate an install error :
 ModuleNotFoundError: No module named 'threadpoolctl'
You may want to try to :

Reinstall with a clean 3D Slicer (latest preview release)
Installing the missing modules manually

For the threadpoolctl, you can trigger the install manually from the console using the slicer.util.pip_install method
slicer.util.pip_install("threadpoolctl")
You may be interested in this related thread on the Slicer discourse : https://discourse.slicer.org/t/totalsegmentor-showing-missing-threadpoolctl-module/38452

There has been another occurrence: https://discourse.slicer.org/t/dentalsegmentator-failed-to-load-the-segmentation-something-went-wrong-during-the-nnunet-processing/40682/2


ValueError: sequences must be a list of iterables. Found non-iterable: 0.0382184

I am extracting Mel spectrogram from the audio file then I want to apply padding
y,sr = librosa.load(r"/content/test.WAV") mel = librosa.feature.melspectrogram(y=y, sr=sr) mel=np.mean(mel, axis=0) mel=tf.keras.preprocessing.sequence.pad_sequences(mel,maxlen=1500)
but I am receiving TypeError: object of type 'numpy.float32' has no len()During handling of the above exception, another exception occurred:
ValueError: sequences must be a list of iterables. Found non-iterable: 0.0382184 I tried changingmel=tf.keras.preprocessing.sequence.pad_sequences(list(mel),maxlen=1500)
and it didn't work .
tried doing some reshaping by using mel=mel.reshape(1,mel.shape[0]) it works without error but it gives an array full of zeros

@amine-boukriba Can you please share a simple standalone code to reproduce the issue? You could use public datasets. Thanks!


sqlconnection is not available in .net core 2.1

@DoubleCouponDay commented on Sun Jun 17 2018

It is also missing when using the system.data.sqlclient namespace from nuget.
why is this?

@svick commented on Sun Jun 17 2018
When I add a reference to the System.Data.SqlClient package, SqlConnection compiles for me on both .Net Core 2.0 and 2.1. Do you have an example (including .csproj) where it doesn't?
If the issue is only in the documentation, the it should be reported at the dotnet/docs repo.

We're actually removing that reference from the 2.0 docs as well. The support to document NuGet packages and appropriately show the supported platforms is coming on a later release of docs.microsoft.com.

@mairaw Is this fixed now?

I missed this ping. Binaries are up-to-date and search shows sqlconnection for all releases of .NET Core as well .NET Platform Extensions. The ability to show the NuGet package is on the backlog and coming on a later release.


SN74LS641-1 Substitutes?

With the great chip shortage of 2021 now affecting logic chips, is there a “best” substitute for the SN74LS641-1 transceiver?
From the list here:
https://github.com/akuker/RASCSI/wiki/Transceiver-Comparison
SN74ALS245A-1 or SN74F245DW are options.
Has anyone tried either?

This is very tangential to the question at hand, but I am also rather curious whether a bidirectional MOSFET based level shifter such as the ones described in this page could work for SCSI:
https://learn.sparkfun.com/tutorials/bi-directional-logic-level-converter-hookup-guide/all
Obviously this would require an entirely new board design, and many, many little SMD components, but it would be amazing to have a sort of "universal" Raspberry Pi adapter that could interface with all sorts of retro things, not just SCSI.

@marciot - That could be an interesting experiment. With the low cost PCB assembly available now, it isn't very expensive to use a TON of small transistors instead of a pricey IC. Definitely something worth looking into.
In the interest of cleaning things up, I'm going to merge this ticket into #591. They both have the same end goal.


Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

Looks good!


Fixed the grammar for the messages

References: https://github.com/qishibo/AnotherRedisDesktopManager/issues/1102

Thx!


histo won't graph with GraphVisual

You get a problem within morph::Scale

To reproduce, rewrite randvec.cpp example with ints

histo is now hist<int, float> where int is for the histogrammed data and float is for the proportions computed (bin widths etc). histo is the same as histo<int, float> and both would be graphed with GraphVisual.


Note ignoring folders

I have 2 folders listed in the ignore folders, but it is still adding a note chain. This is making it difficult to have templates that are just and insert into a note because it adds the yaml into the middle of my note.

I'm also getting an failed to update error when I try to update it.

I'm also getting an failed to update error when I try to update it.

I update this plugin to 1.1.8 for Obsidian 1.7.7. Will it work by update both obsidian and notechain?


Checkbox component doesn't support ghost color

Hi,
I've noticed that the Checkbox component doesn't support the ghost color. Is this intended behavior?
https://github.com/daisyui/react-daisyui/blob/a010e43cc73a5dec8d36a77654da20dbf7aff7d8/src/Checkbox/Checkbox.tsx#L46

That's almost right. The reason there's no example is that the original daisyUI checkbox doesn't support the ghost color—so neither can we.


Feature/set up associations

This PR is raised to implement the following tasks:

[x] Create a class Classroom with the following:

@label instance variable, should be initialized in the constructor.
Setter and getter for @label (remember about attr_accessor).

[x] Create the has-many/belongs-to relationship between Classroom and Student. The following should be implemented:

Create the has-many side (a classroom has many students).
Create the belongs-to side (a student belongs to a classroom).
Make sure that when adding a student to a classroom it also sets the classroom for the student.
Make sure that when setting the classroom for a student it also adds it to the classrooms' students.

[x] Create a class Book with the following:

@title and @author instance variables, should be initialized in the constructor.
Setters and getters for instance variables (remember about attr_accessor).

[x] Create a class Rental with the following:

@date instance variable, should be initialized in the constructor.
Setter and getter for @date (remember about attr_accessor).

[x] Create the many-to-many (also has-many-through) relationship between Person and Book using the intermediate class Rental. The following should be implemented:

Create the has-many side of Book and Rental (a book has many rentals).
Create the belongs-to side of Rental and Book (a rental belongs to a book).
Create the has-many side of Person and Rental (a person has many rentals).
Create the belongs-to side of Rental and Person (a rental belongs to a person).
Modify the constructor of Rental so Book and Person are set in it.

Thank you @joel-kalema for the thorough review 🥳


Add backups selection to add a linode flow

Closes #194

In the spirit showing more/hiding less I'm suggesting we show every Linode with it's backups in the backup select screen on the add a linode tab. Also, the date/time labels added nothing so I removed them.

I think we should make the user pick one, and we should paginate the selection UI. Some users will have a bajillion linodes.

Think the user should pick one Linode (as in the old select a linode UI)? Most (literally, right?) people don't have many Linodes (more than 3) and most people with more than that are probably using a more specialized interaction with the API than the manager, right?

As in some kind of select a linode UI. And I'm not sure, we'd have to dig into some stats to find out. We should definitely design our UI under the assumption that it'll be handling the worst case scenario, i.e. a billion linodes.

Then how about we keep this UI showing every linode with all four backups but 1) add pagination 2) add a search/filter bar and potentially a sort feature similar to the stackscripts selection.

:-1:

A search bar would be a better idea for a billion linodes than a dropdown I'd think.

How about a paginated table with a search?

I don't like the multi-step idea of selecting a Linode and then select its backup. Although we do do that sometimes (StackScript selection/form-fillout), I think we should try to avoid it as much as possible. I don't think there's a huge difference in UI between a table of your linodes and this row view of Linode and backups.

Coverage remained the same at 92.784% when pulling d653a9bca74442c7b5580e7ad2efb707e76334cd on eatonphil:master into 6b1c1b7c21abb5b36c8f2a5cdc3dedf969fbef8d on linode:master.

I think it should be two steps.

What data would we show in the table of Linodes? The only relevant information we could show is the label, maybe the actual number of backups (most of the time 4) and maybe when the last backup was taken (most of the time a day ago). My point is that there is not that much info to show about a Linode by itself. There's also just not a lot of backup info in general even with the four cards. I can't see what we'd gain from hiding what little information we have to show.

Coverage increased (+0.1%) to 93.814% when pulling d30af4dd808b9aea1ecf8e871f2eeb64cefbd948 on eatonphil:master into 6b1c1b7c21abb5b36c8f2a5cdc3dedf969fbef8d on linode:master.

Coverage increased (+0.1%) to 93.814% when pulling d30af4dd808b9aea1ecf8e871f2eeb64cefbd948 on eatonphil:master into 6b1c1b7c21abb5b36c8f2a5cdc3dedf969fbef8d on linode:master.

Label + last backup time sounds like enough information to me.

Coverage increased (+0.1%) to 93.814% when pulling d30af4dd808b9aea1ecf8e871f2eeb64cefbd948 on eatonphil:master into 6b1c1b7c21abb5b36c8f2a5cdc3dedf969fbef8d on linode:master.

If you have a small number of Linodes then displaying the backups directly would make more sense and lead to fewer clicks.  If you have a larger number of linodes then you would want to find the Linode you're looking for; then find the backup of that Linode that you're looking for, in which case you're not looking at number of clicks you're looking at time spent looking for this backup.

As far as a final decision and whatnot let's revisit this in another issue and/or during review? Adding filtering and sorting can already be a new issue.

Coverage increased (+0.2%) to 93.9% when pulling e285e477c7f978e24ca19c52ab47954c5a9d52d7 on eatonphil:master into 6b1c1b7c21abb5b36c8f2a5cdc3dedf969fbef8d on linode:master.

Huh. those tests ran really quickly...

Coverage increased (+0.2%) to 93.9% when pulling e9167a0ca17eb6a49be0ce52eb7e73e99b37ffda on eatonphil:master into ba858aa1c8e9d3648ba85f1b93a19ab40bc5cd30 on linode:master.

Coverage increased (+0.2%) to 93.9% when pulling ff44a4d188acfc637974f13cfc178672faa2838d on eatonphil:master into ba858aa1c8e9d3648ba85f1b93a19ab40bc5cd30 on linode:master.

As far as a final decision and whatnot let's revisit this in another issue and/or during review? Adding filtering and sorting can already be a new issue.

Thoughts on my earlier comment?

I would still prefer to not merge this without pagination, and I still don't like the one-step design.

Here is working filtering and pagination. Don't have tests for it yet.

Coverage decreased (-0.3%) to 93.452% when pulling 9ef91730a3b7e9a208a9481c6080580768b0f586 on eatonphil:master into ba858aa1c8e9d3648ba85f1b93a19ab40bc5cd30 on linode:master.

Coverage increased (+0.3%) to 93.963% when pulling 31529eb5a4e6db88d227148a8697c4bdfc40e9e9 on eatonphil:master into 23e9f40096a6e4b13167526caf950c0d4b47e19c on linode:master.

Man I don't like that at all. That takes up more than an entire page of screen real estate. Table please.

Also pagination would be better with page numbers and such. Use the bootstrap pagination classes.

Yeah I'm hard-pressed to say this is better.

Also pagination would be better with page numbers and such. Use the bootstrap pagination classes.

Good call.

No tests for the new UI yet.

The invalid date you see there is because we've got the special case where you have one manual backup and no auto backups. Only linodes with backups will show up here so this will never happen once we resolve the issue with last_backup ignoring manual backups...

Coverage decreased (-0.8%) to 92.935% when pulling f631360e9926f650bb277a5ad8de43124630ce0b on eatonphil:master into 23e9f40096a6e4b13167526caf950c0d4b47e19c on linode:master.

Coverage increased (+0.1%) to 93.86% when pulling 19b9aea83b321f49b12d003809a7b40d48cba415 on eatonphil:master into 23e9f40096a6e4b13167526caf950c0d4b47e19c on linode:master.

Ping

:+1: will review shortly

/review

Coverage increased (+0.09%) to 93.797% when pulling 8165b72186577bbf8008c63db86e101c76004e65 on eatonphil:master into 0b778cc946062ba2aaba688c3fe47051cc03c131 on linode:master.

Coverage increased (+0.09%) to 93.797% when pulling 8165b72186577bbf8008c63db86e101c76004e65 on eatonphil:master into 0b778cc946062ba2aaba688c3fe47051cc03c131 on linode:master.

Ping

👍


Can't cross-compile to darwin

I don't know how to reproduce this "normally", but I'm using go 1.8.1 on linux, https://glide.sh/get to manage my dependencies (of which go-daemon is one), and github.com/gobuild/gopack to build release zips for different platforms. Here's what happens when it tries to build the darwin version:
# github.com/VertebrateResequencing/wr/vendor/github.com/sevlyar/go-daemon
vendor/github.com/sevlyar/go-daemon/lock_file.go:53: undefined: lockFile
vendor/github.com/sevlyar/go-daemon/lock_file.go:58: undefined: unlockFile
vendor/github.com/sevlyar/go-daemon/lock_file.go:121: undefined: getFdName
2017/06/07 15:11:28 [Fatal] pack.go:80 exit status 2

This error doesn't make much sense to me, since I can grep for lockFile in that directory and its found in vendor/github.com/sevlyar/go-daemon/lock_file_darwin.go.
I didn't investigate further. Instead I had to specify in my glide configuration that I use old commit 01bb5caedcc4ad839213b4ff96c363f6fab40adb of go-daemon before this would work.

If you want to cross-compile the package you should enable cgo (CGO_ENABLED=1) because the package uses cgo and cgo is disabled by default when cross-compiling. I do not recommend you to use 01bb5ca commit because some bugs was fixed by next commits.


API: different (duplicated) ways to create a CRS

From discussion in https://github.com/pyproj4/pyproj/pull/263#discussion_r275495702, moving it here.
The CRS object has multiple ways to be created:

CRS(..): the actual class constructor, accepts WKT string, a proj,4 string, a proj.4 dictionary, or with proj.4 keyword arguments (and actually also an 'authority:code' string, which is not documented)
CRS.from_epsg(..): accepts an integer EPSG number
CRS.from_string(..): accepts an EPSG, PROJ, or WKT string
CRS.from_user_input(..): accepts various input, "dispatches to from_epsg, from_proj, or from_string" according to its documentation. And also accepts objects that have a to_wkt method.

So in the other PR, I was wondering if this __init__ is actually needed? (I mean the user facing functionality part of it). Because now that means that you can do both CRS("..some string..") as CRS.from_string("..some string..") ? Which means we give users two ways to do exactly the same, I would be fine to only have the from_.. methods as the user facing way to create a CRS object.
Another observation now I am writing this: there was the idea at one point to have a from_proj method? (if we keep the different from_.. methods, that seems nice to have as well)
I think it would be nice to make a choice ourselves. What is the point of having a CRS.from_user_input(..) for the user if CRS(..) gives you exactly the same? (or the other way around)

I will need time to think on this one.

Okay, so I haven't made any decisions on this yet, but I figured a brain dump here might help me think though things and also give you more insight into what I am thinking at the same time.
The design for the pyproj.CRS initialization was a combination of the rasterio.CRS and Proj style initializations.
The __init__ method on the CRS class is nice to have. It goes along with the Geod and Proj classes initalization methods. My current preference would be to allow the from_user_input style in the __init__ method and just let the user throw whatever they want at it. But, from_user_input it does not support all initialization methods such as from_auth or from_cf (probably could add support for that if we wanted to).
The reasoning for having the current initialization options is for a couple of reasons:

To allow the CRS initialization methods be in alignment with the rasterio.CRS and likely the future fiona.CRS classes. This way, the user can easily switch between using rasterio.CRS, fiona.CRS, or pyproj.CRS in their code bases without much change necessary.
It is nice to break out the code for each initialization method into its own method. And since it is there, let the user use it as well if they so choose.

Currently rasterio supports initialization from the __init__ with proj mappings:
https://github.com/mapbox/rasterio/blob/c2a495d536db6328e018cb65ce7cc0b8c559a937/rasterio/crs.py#L46
My preference is to leave all initialization methods as it allows for interoperability between CRS classes as I believe the fiona.CRS class will be similar to the rasterio.CRS class.
Thoughts? Opinions?

Sorry for the slow reply here.
Putting some more random thoughts here:
I was also looking that the from/to methods consistency. Currently we have

to_cf and from_cf
to_epsg and from_epsg

and

to_proj4
to_proj4_dict
to_wkt

and

from_string
from_user_input
from_auth

So given the above, we might also want to have from_wkt and from_proj4? (rasterio has both) And maybe from_proj4_dict.
But then I was thinking, what's the difference between from_string and from_user_input ?

My preference is to leave all initialization methods as it allows for interoperability between CRS classes as I believe the fiona.CRS class will be similar to the rasterio.CRS class.

But I don't think it currently does allow for interoperability?
Eg passing a rasterio.CRS class to pyproj.CRS(..) will fail, I think? And the other way around as well.
It is currently the from_user_input method that checks for a to_wkt method and in this way does give some interoperability.

Also, probably want a to_auth method.

Your points about from_wkt or from_proj or from_dict missing definitely poke holes in my argument :-). Well, I think that rethinking the CRS class initialization strategy is warranted

Also, probably want a to_auth method.

For this one, I would say: practically beats purity, nobody will need that if you already have to_epsg (because if you build a CRS from authority, it is already in its name / srs)

Well, I think that rethinking the CRS class initialization strategy is warranted

To be clear, I am not necessarily saying that we should remove all accepted values from CRS(..) itself, I am also not yet convinced of what would be best. It only seems that it currently is somewhat arbitrary (at least from a user perspective) what is accepted and what not.
From a code perspective, it could also make sense to accept in CRS(...) whathever proj_create(..) accepts directly (so basically like the current from_string, I think)

The thinking behind the to_auth would be for times when the CRS was initialized from a WKT string. It would be nice to identify the authority. But, I guess you would need the authority name or a known list to iterate over. This would be useful in the repr.

I think reorganizing the initialization of the CRS class code would be a good thing to increase clarity. I have some ideas, but will need to turn them into code and tinker a bit and come back to this issue.

we might also want to have from_wkt and from_proj4

I guess one could argue that from_string is not really necessary at all. If we have from_user_input, then from_string is not needed and neither is from_wkt or from_proj4.

On possible reorganization in #307

After sleeping on it, I think having more methods like the rasterio.CRS is better. It just makes interoperability much nicer and it makes transitioning back and forth as simple as changing an import.
So, instead of removing, adding would be the way to go.
Next steps I am thinking about:
Add:

from_wkt
from_proj4
from_dict
Rename:
to_proj4_dict to to_dict

Not sure about adding a to_string method though. I almost would just return srs in that case. But, I guess you could use to_authority and convert to string first and if it fails use srs (take the code from the repr and put it in a method).

I merged in #307, because I liked the changes and it had some important fixes in it. However, it doesn't mean it is the final version before release. If you have time to try it out and let me know what you think, I would appreciate it @jorisvandenbossche.

Yeah, sorry for the delay here. I added some comments now. Mainly about the main __init__ I have some differing opinion.
In light of what you actually proposed in #309 (a clearer direct interface to proj_create), my suggestion would be that we can perfectly have that in the python CRS class: let the __init__ be a basically direct interface to proj_create, and then we have all the from_.. methods that preprocess and convert the user input to something that proj_create can handle, as we already have now.

Rename to_proj4_dict to to_dict

Was there a rationale for this one? I personally like to_proj4_dict, as it is much more explicit
(in general we should discourage users to use proj4 representations, so also for that reason having it in the name is clearer)

So, I think the answer for the direction to go on __init__ and to_proj4_dict depends on how closely pyproj.CRS should mirror rasterio.CRS.
I definitely agree with what you have said like idea of making the __init__ string based without any filters. I hesitate only because of the current rasterio.CRS class implementation of __init__ and the to_dict method that already exists.

Note that rasterio.CRS actually does not have such a flexible __init__. There, it only supports a dictionary of proj4 params, and it has all the other from_.. methods for other ways of instantiation.
Mirroring rasterio exactly here is something I would personally not do, given that with the new proj 6, we want to demote the importance of proj4 strings/dicts, and thus not give it as the only argument for the main init.
So since we are already deviating from rasterio for the main init function, I think we can just try to make a best possible design for pyproj itself (of course, this is very subjective .. :-)). Having somewhat consistency for the other from_../to_.. methods with rasterio is certainly a good goal.
Still accepting the kwargs/dict for consistency with pyproj.Proj is a good argument. Looking at it from a new user point of view, it is still not fully clear to me what the usecase of pyproj.Proj is, though.
Since sometimes it is easier to show with code what you mean, a quick idea here: https://github.com/pyproj4/pyproj/commit/ac9b10af3395339c127a9dfeb21fdfbbd6924e88 (didn't actually test it, so there will probably be errors in it)

I currently think of the initialization of the rasterio.CRS and pyproj.Proj classes as the baseline functionality desired for the pyproj.CRS. Definitely don't want to restrict ourselves to an exact mirror (otherwise we have much of the existing additions that would need to be thrown out :stuck_out_tongue:). But, if there was a user of one of those classes who had input that originally worked in one of those classes and they wanted to try using it with the pyproj.CRS class in its place, it would be nice if it JustWorked and also had a few additional useful features.

we want to demote the importance of proj4 strings/dicts, and thus not give it as the only argument for the main init.

I definitely agree that PROJ strings/dicts should not be the only argument in the intitialization and am fully supportive of more than just that. Also, I don't think we need to demote the usage of PROJ strings/dicts as input as much as make it clear that if you didn't start with one, it is a bad idea to convert to one as information can be lost (one reason why I didn't originally have a to_dict`` method). In that vein, adding warnings to the docstrings of to_dictandto_proj4` would be a good idea.

it is still not fully clear to me what the usecase of pyproj.Proj is

It is an essential class used for transformations in pyproj 1.9.6 and is there at the very least for backwards compatibility. I think most use cases could simply switch to the pyproj.CRS class instead. So, having its __init__ behavior the same as pyproj.Proj would be a good idea I think.

I like the change in the names of the preparation functions in: https://github.com/pyproj4/pyproj/commit/ac9b10af3395339c127a9dfeb21fdfbbd6924e88 :+1:

Okay, so after some thought on this, I think the "duplicated" part is finally dawning on me.
So, the holes in my thinking are:

I don't personally use the __init__ from rasterio and just use the to/from methods (mostly from_user_input). And having the to/from methods provide interoperability.
If transitioning from Proj to use CRS, have to make changes anyway, so not a big deal if the __init__ is different.
I like the simplicity and reduced overhead of the __init__ in #309. So, maybe no __init__ is needed for the pyproj.CRS and just use the base class __init__?
....

Anyway, @jorisvandenbossche, if you would like to make a PR based on https://github.com/pyproj4/pyproj/commit/ac9b10af3395339c127a9dfeb21fdfbbd6924e88, I would be open to it.

Thanks for the recommendations! Definitely helped to improve the interface. I am going to close this due to inactivity. But, feel free to reopen if you would like to continue the discussion.


Add bitters as a dependency for Roll

Bitters is used by Roll since https://github.com/craftsmen/roll/commit/f9bdcd63c181b2863227ff37c440fe37dee24e75. This adds it as a Roll dependency.

:+1:

:+1:


[PowerRename] files are not sorted alphabetically

ℹ Computer information

PowerToys version: 0.31.2
PowerToy Utility: PowerRename
Running PowerToys as Admin: yes
Windows build number: 20H2 19042.804

📝 Provide detailed reproduction steps (if any)

select some files with timestamp in the filename (so, basically alphabetically consecutive files)
send them to PowerRename from the context menu (left click)
Apply a find-replace rule

✔ Expected result
The replacement should be applied keeping the same filename order
❌ Actual result
The order is random
📷 Screenshots

@rallets
there is no concept of alphabetically sorting in PowerRename, the order is the order that you see in the preview.
If you want to have the preview sorted alphabetically, just sort the file alphabetically in Explorer and then right click on the first file of the list to open PowerRename.

@enricogior ah I see, thanks, that can help.
In my specific case I have selected some files from the Desktop (CTRL + SHIFT) and then I got the random order you see in my screenshot.
The "Original" header was clickable, and that drove me to the impression it could sort the files.


fix #250: BP skeleton updates where not performed on BP's using u# types (i.e. as function parameters or variables)

-replace more remaining data in BPS to update for reinstancing. also unreals api is used to trigger skeleton updates and changed events so recompilation will trigger like it would with c++  class changes.

This is solving the case shown above. Using a BP class not inheriting from c# with a function using a struct from c# in its parameters and the BP will use a variable of type of the c# struct too,

You are mistaking. The function is implemented in the same BP not in the Parent as stated.
According to your report i tested also the case you stated like shown here https://github.com/UnrealSharp/UnrealSharp/issues/250#issuecomment-2474940568:

Confusing stuff! Looks like you've replicated the exact scenario. I do find some odd behavior if I use make struct, the error highlighting on the nodes goes away, and this remains as long as the project is open, even if I delete the make struct and goes back to the variable struct. The output log still reports the error regardless...
https://github.com/user-attachments/assets/ff5143fe-2a0f-4fe2-baaf-c6014ab71bbf

The only thing i am thinking of is that you did not yet load the updated plugin code into your project.
Even though i think you know by yourself ensure the following:

Git load up to commit b03985234f8539f272db6f60714cf00b7c74a3ce (https://github.com/rob-ack/UnrealSharp/commit/b03985234f8539f272db6f60714cf00b7c74a3ce)
go to your project and run UBT (unreal build tool) like i stated in comment here https://github.com/UnrealSharp/UnrealSharp/issues/250#issuecomment-2474940568
this will update the plugin code. make sure the code actually compiled.

try out the project.
if you still not seeing an update:

make sure UBT actually build. its a bit tricky that it may silently fail. the user experience is not that great here.
make sure you have no local plugin git repo modifications
i have recently seen issues with Visual Studio V17.12.0. i had to revert back to 17.11.6. my unreal project was unable to build.
you can try to load the VS Solution and run the editor from there. by this you have the best user feedback if the updated code is actually running and the project build.

I created another project at my home computer, pulled UnrealSharp and set git to commit https://github.com/UnrealSharp/UnrealSharp/commit/b03985234f8539f272db6f60714cf00b7c74a3ce
(This is another test project I have at home, so the method names, BP names etc. doesn't match the other)
Everything seems to be compiled correctly and the source code looks to be the correct one. I'm able to attach the debugger and the breakpoint is hit for refreshing the blueprints after compiling.
https://github.com/user-attachments/assets/64f83c73-717d-449c-a218-585d38a6f80b
I'm sure it's something I completely misunderstand or did wrong... right now I'm at a loss. I'm throwing out some info just in case that might reveal something...
UE Ver:

System:

Thank you. Oh boy so far my project does not reproduce the issue.
But i recognized that a cast is involved and we have not now reinstating code for casts.
It must be the source of the errors.
Im adding it now.
I also want to share what we are actually looking for about this error for all to understand what and how so far:
Its about references to our old class types where for now after a recompile all our c# classes are marked as '_Old'.
It looks like this:

The hard stuff is to find all the nodes, which are of different types ofc, and replace such data.
As soon as such data is found i need to look into a way to replace it.
This is the way it was working until now but with many missing code for references.
Maybe in the future we could do it completely differently but for now its done this way.
Ill push updates fixing the casts.

The crazy thing is that the error doesn't always reproduce. If for some reason the error goes away, I must close the UE project and open fresh to have the error come back.
I appreciate the insight, and gave me an idea to try. Instead of casting directly, I used an interface, and that approach seems to work.

@John-Storm
Thank you for the feedback and the testing. I just pushed a new commit which now handles dynamic casts.
Also i found inconsistencies in the deep hierarchies of BP types deriving directly or indirectly from u# types (like shown above before).
For this i also added a UE API calls which will update those. I also found a way to reproduce via another completely new UE project . 🤕
Pls try with the new commit.
There still might be more stuff which we need to update on reinstancing. If you have more BP code which might be broke let me know. Thx.

The latest commit solved the issue. Thanks for all the hard work!

Nice. Thank you for the committed support :)

Awesome work tracking this bug! Thank you so much ⭐


Duplicate product GUID but different product Names

Detected this in the CSV first since I regularly use it in scripts.
a403ebcc-fae0-4ca2-8c8c-7a907fd6c235
The GUID appears 4 times in the table with two of each of the following.
Microsoft Fabric (Free)  POWER_BI_STANDARD
Power BI (free) POWER_BI_STANDARD
Do they really have the same GUID?

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

ID: 7c245452-161d-89a1-c026-99a0721cf071
Version Independent ID: 16dec59a-eb83-1837-4efd-4645e7aeaed2
Content: Product names and service plan identifiers for licensing - Microsoft Entra
Content Source: articles/active-directory/enterprise-users/licensing-service-plan-reference.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @Nicholak-MS
Microsoft Alias: nicholak

@mprentice22153
Thanks for your feedback! We will investigate and update as appropriate.

Hi @mprentice22153 I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1

@Nicholak-MS
Can you please check and add your comments on this doc update request as applicable.


Email reminders - backoffice

GOAL
Librarian to be able to send email reminders to the patrons who exceeded the loan end date without returning the book.
Implementation
Manual trigger should be available in the 'Actions' column of the results table of OVERDUE Loans and on the LOANS detail page - (reusable component).
After clicking the button the UI should display "Are you sure" modal.

For the first case of the Overdue loans list, we have calculated on the backend and we know that they are overdue.
When we are on the LoansDetails page though the loan does not have the information if it is expired or not, thus we don't know if we should render the send email button. I can think of two ways to address the issue.

a celery task that runs after midnight and updates a loan property is_expired (that property is new to for the loan schema)
to make the comparison of loan end_date and now, in the ui on the fly

I consider the first approach is cleaner since we keep all logic in the backend.


Clear unused blocks Issue#2582

I have added a function to remove unused blocks.
a confirmation dialog will be shown and when user press okay unused blocks will be deleted
see this issue for more idea
https://github.com/mit-cml/appinventor-sources/issues/2582

Can one of the admins verify this patch?

@AppInventorWorkerBee OK to test

@devarsh-mavani-19 you need to change the base branch from ucr to master.

@ewpatton fixed the above mentioned changes as well. Can you please check the latest commit I have made? Thanks

@ewpatton  removed catch block. Please check it

@devarsh-mavani-19 The behavior looks good, but I question placing the "Remove all orphan blocks" between the Enable all blocks and Disable all blocks options since it might make it easy to accidentally hit one of those two. It might be better to place it below the Clean up blocks item to group it with another "cleaning" function.

@ewpatton  I have placed the item along with clean block item. Can you please check the latest commit I have made? Thanks


Cannot read property 'split' of undefined (error with new Grid stuff)

Just updated some of my packages today and noticed this error off the bat:
TypeError: Cannot read property 'split' of undefined
    at gridColumn (C:\dev\_projects\vibescout-web-workspace\node_modules\inline-style-prefixer\lib\plugins\grid.js:32:36)
    at Array.grid (C:\dev\_projects\vibescout-web-workspace\node_modules\inline-style-prefixer\lib\plugins\grid.js:110:5)
    at prefixValue (C:\dev\_projects\vibescout-web-workspace\node_modules\inline-style-prefixer\lib\utils\prefixValue.js:9:36)
    at prefix (C:\dev\_projects\vibescout-web-workspace\node_modules\inline-style-prefixer\lib\createPrefixer.js:52:57)
    at C:\dev\_projects\vibescout-web-workspace\node_modules\fela-plugin-prefixer\lib\index.js:36:65
    at objectReducer (C:\dev\_projects\vibescout-web-workspace\node_modules\fast-loops\lib\objectReduce.js:9:20)
    at addVendorPrefixes (C:\dev\_projects\vibescout-web-workspace\node_modules\fela-plugin-prefixer\lib\index.js:32:37)
    at C:\dev\_projects\vibescout-web-workspace\node_modules\fela-utils\lib\processStyleWithPlugins.js:19:14
    at arrayReduce (C:\dev\_projects\vibescout-web-workspace\node_modules\fast-loops\lib\arrayReduce.js:9:20)
    at processStyleWithPlugins (C:\dev\_projects\vibescout-web-workspace\node_modules\fela-utils\lib\processStyleWithPlugins.js:18:38)
    at Object.renderer._renderStyle (C:\dev\_projects\vibescout-web-workspace\node_modules\fela-monolithic\lib\index.js:108:65)
    at Object.renderer.renderRule (C:\dev\_projects\vibescout-web-workspace\node_modules\fela-monolithic\lib\index.js:100:21)
    at css (C:\dev\_projects\vibescout-web-workspace\node_modules\react-fela\lib\useFela.js:28:21)
    at css (C:\dev\_projects\vibescout-web-workspace\node_modules\@gt\gt-frontend\src\react\vibescout-ui\fela/FelaLayers.tsx:78:55)
    at processChild (C:\dev\_projects\vibescout-web-workspace\node_modules\react-dom\cjs\react-dom-server.node.development.js:2871:14)
    at resolve (C:\dev\_projects\vibescout-web-workspace\node_modules\react-dom\cjs\react-dom-server.node.development.js:2795:5)

I have a Fela rule where I pass a lot of things of which some properties are allowed to be undefined - which are then forgotten in the regular behaviour. I use the fela plugin for inline style prefixing. But it seems that for the grid rules, there is no check being run to ignore prefixing on undefined values:
export default function grid(
  property: string,
  value: any,
  style: Object
): ?Array<string> {
  if (property === 'display' && value in displayValues) {
    return displayValues[value]
  }

  if (property in propertyConverters) {
    const propertyConverter = propertyConverters[property]
    propertyConverter(value, style)
  }
}

So this property converter is throwing an error:
gridColumn: (value: any, style: Object) => {
    if (isSimplePositionValue(value)) {
      style.msGridColumn = value
    } else {
      const [start, end] = value.split('/').map(position => +position)
      propertyConverters.gridColumnStart(start, style)
      propertyConverters.gridColumnEnd(end, style)
    }
  },

If you're curious what my rule looks like:
export const FelaRuleFlexbox: TFelaRule<IFelaFlexboxProps> = ({
  basis,
  align,
  direction,
  justify,
  wrap,
  grow,
  shrink,
  overflow,
  zIndex,
  position = "relative",
  alignSelf,
  justifySelf,
  gridColumn,
  gridRow,
  padding,
  margin,
}) =>
  ({
    position,
    zIndex,
    display: "flex",
    overflow,
    flexBasis: basis,
    alignItems: align,
    flexDirection: direction,
    justifyContent: justify,
    flexWrap: wrap,
    flexGrow: grow,
    flexShrink: shrink,
    transition: "background 0.15s ease-out, box-shadow 0.15s ease-out, color 0.15s ease-out",
    alignSelf,
    justifySelf,
    gridColumn,
    gridRow,
    padding,
    margin,
    ...position === "sticky" && {
      top: 0,
    },
  } as Properties);

All those parameters passed in are optional. Haven't had an issue until the recent update to inline-style-prefixer.
I guess this could be seen as an issue in fela-plugin-inline-style-prefixer. But I think the prefixer should be smart enough to ignore undefined values (or at least throw a decent error).

So I actually had some incorrect properties defined on a rule meant only for flex box css.
I removed the:
gridColumn,
gridRow,

And all seems fine now. Still, it never threw an error before and its a little strange that it does now (setting too many css rules incorrectly shouldn't be cause for error).

Sorry for being that late with the response. Didn't see that issue at all.
Yet, I'm still open for a PR with check for string or number.

@robinweser  I don't think this is the same error as it was made last year. But there was a regression with the latests update:
https://github.com/robinweser/inline-style-prefixer/pull/186

@matthetherington Would you be willing to add a PR adding a string check before that .split call happens? I won't get to it before Wednesday otherwise.

@robinweser  https://github.com/robinweser/inline-style-prefixer/pull/190 here you go
Maybe not the most concise code but tests are passing

We can close this now I think.

Hi, I'm realizing that this issue is actually not fixed.
I was previously passing a default empty string "" as gridColumn or gridRow when it wasn't defined as a prop on a fela rule. But if I return a fela rule with undefined for either of those, I get this error still.
TypeError: Cannot read property 'split' of undefined

This doesn't happen with other properties as far as I know. (Fela just ignores them, as expected).

https://github.com/necolas/react-native-web/issues/2081

#https://github.com/necolas/react-native-web/issues/2081


az aks install-cli fails with "CERTIFICATE_VERIFY_FAILED" error

Describe the bug
az aks install-cli fails with "CERTIFICATE_VERIFY_FAILED" error
Ubuntu 18.04.2 (WSL)
I've tried without https_proxy set and while not connected to the corporate network.
Command Name
az aks install-cli
Errors:
The command failed with an unexpected error. Here is the traceback:
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/opt/az/lib/python3.10/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/opt/az/lib/python3.10/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/opt/az/lib/python3.10/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/opt/az/lib/python3.10/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/opt/az/lib/python3.10/http/client.py", line 975, in send
    self.connect()
  File "/opt/az/lib/python3.10/http/client.py", line 1454, in connect
    self.sock = self._context.wrap_socket(self.sock,
  File "/opt/az/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/opt/az/lib/python3.10/ssl.py", line 1071, in _create
    self.do_handshake()
  File "/opt/az/lib/python3.10/ssl.py", line 1342, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1433, in k8s_install_cli
    k8s_install_kubectl(cmd, client_version, install_location, base_src_url, arch=arch)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/acs/custom.py", line 1548, in k8s_install_kubectl
    version = urlopen(source_url + '/stable.txt', context=context).read()
  File "/opt/az/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/opt/az/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/opt/az/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/opt/az/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/opt/az/lib/python3.10/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/opt/az/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az aks install-cli

Expected Behavior
cli is installed.
Environment Summary
Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.27, Ubuntu 18.04.2 LTS
Python 3.10.8
Installer: DEB

azure-cli 2.45.0

Extensions:
interactive 0.4.6
managementpartner 0.1.3

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

route to CXP team

@mbeckergit  Thanks for reaching out to us and reporting this issue. From the error message it is pretty clear that there seems to be a proxy within your network. Please follow the below action plans to isolate if this is indeed related to the proxy.
Plan 1:
Could you please try to run the same command from a different machine which is on a completely different network? and check if that works.
Plan 2:
Try appending standard Python root CAs to your pem file and check if that helps to run the CLI command.
REQUESTS_CA_BUNDLE=$HOME/certs/internal.pem

Plan 3:
Try disabling SSL certificate verification temporarily by setting the REQUESTS_CA_BUNDLE environment variable to None and check if that helps to run the CLI command.
export REQUESTS_CA_BUNDLE=None
az aks install-cli

Plan 4:
Does other AzCLI commands like az login --debug commands like work fine ?
Plan 5:
Run this command and check the result:
python.exe" -c "import urllib.request; print(urllib.request.getproxies())"
Plan 6:
Please follow this article to make sure the issue is not caused by Azure CLI, but by Python and proxy.
https://github.com/jiasli/azure-notes/blob/master/cli/proxy-cert-linux.md
And to work behind a proxy follow this, please follow the instruction at https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy to trust the root certificate and add the root CA of the proxy to your CA bundle.

@mbeckergit I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

@navba-MSFT Thanks for your suggestions, I ended up using brew on Linux to install kubectl and things seem to be working for me.

I'm having the same issue using az aks install-cli. Using Choco I have no issues.

export REQUESTS_CA_BUNDLE=None
$ az webapp log tail --resource-group abc --name def

REQUESTS_CA_BUNDLE environment variable is specified with an invalid file path


Close lease when tenant wallet is empty

add reason field to closing tx
facilitator checks for empty wallets and sends closing tx with reason


feat: add C ndarray implementation for blas/base/caxpy

Progresses #2039.
Description

What is the purpose of this pull request?

This pull request adds C ndarray implementation for caxpy.
Related Issues

Does this pull request have any related issues?

This pull request:

resolves #2039

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@kgryte, updated.


Add twitter social share metadata to image cached images

Much like permalink content, image cached urls should have twitter card metadata on them, so they can be shared & a twitter card created.

@angaither since we updated #4404 this one is no longer needed correct?

@mikefantini correct


Project Level 8

Hi, can you guys provide some suggestions on how to solve this level?
My idea is to record down the first self-checkout ID to display in WaitEvent but in the background the customer will wait for the self-checkout with the earliest nextAvailableTime, but somehow I can't get this to work. Do I need to create a new SelfCheckout class that extends server or what else can I do? Thanks!

Do u need to create a new selfcheckout class? prob not, depending on ur implementation.
But I did create a separate class that extends server, and have found some success in that

I created a new SC class that extends server and it works :)

@wk1267 @Yang990121 thank you! May i know how did you guys implement the shared queue for self-checkout?


Add spawn progress watch modal, replace spawn_pending page

Fixes:
Jira: https://issues.redhat.com/browse/ODH-513
Analysis / Root cause:
As a DS user, I want to be able to track the progress of starting the NB server, so I can take appropriate action if there are any issues.
Solution Description:
Replace the spawn-pending.html file with the spawn.html file and update the spawn application to start the server spawn process and display the progress in a dialog.
Screen shots / Gifs for design review:

/cc @dlabaj

@cdcabrera @dlabaj @kywalker-rh PTAL

Would it be possible to add an id to the progress bar element/div? e.g. progress-bar would be perfect for QE and ensure our test suite keeps working correctly with the new UI


Feature/bphh 1340/external api file

Description

Adds the ability for the external API to handle files.
Adds energy step code files
Also adds submitter info in the api

What type of PR is this? (check all applicable)

[X ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📦 Chore (Release)
[ ] ✅ Test

Related Tickets & Documents
https://hous-bssb.atlassian.net/browse/BPHH-1340

Steps to QA
Pre rquisite

Generate an API key for jurisdiction of choice
Ensure there is a template with files and energy step code published
As a submitted create and submit a permit application with the above template in the jurisdiction of the api

QA

visit /integrations/api_docs, route to access the swagger documentation for the external api
enter api token for authorizing
call the search end point
in the returned data, you should be able to see file requirements and energy step code files

@taw27 approved but note the failing RSpec


Tests: Fix socket in use error, and move a 'missing' file

update the test servers to actively close the used sockets and use the REUSEADDR socket option.
additionally moved a misplaced file that caused a tricky test problem (actually using another file than the one being tested)

Tests still fail. I actually wrote the test on Windows, and it works there, but somehow there are some details different on unix causing it to fail.
Found some new info: http://stackoverflow.com/questions/11684691/socket-bind-fails-even-after-using-so-reuseaddr-with-ipv6

Ok, what I get from that is that having 2 active sockets (what the test does) is not allowed, hence the test failing is by design. Tricky part is that it ('it' being REUSEADDR option) only works when the socket is in state TIME_WAIT. But that is something we cannot 'create' reliably for a test.
Concluding: keep the code, drop the test.
Or am I missing something?

It is strange that the tests work locally for us (master + next) on OS X. I have somehow lost the progression on this. Could we clarify exactly which tests are failing and on which platform? Then we will wisely decide which ones need to be dropped.
The need to have very reliable CI (Travis/Circle) is very important imo, so I will back any decision improving their reliability. Thanks!

Sorry I should have been more clear; not the randomly failing tests should be dropped, but the "test for the test function", so tests in here: spec/unit/cli/utils_spec.lua.
Maybe just comment them out, and see how the CI behaves for the next dozen commits/PRs

No problem. yes, we should try that, I will open a PR.

Could you push the pending() on this test than, and we'll see how CircleCI behaves on this commit. I am trying to see why Travis does not trigger anymore.

It seems the
# .travis.yml
branches:
  only:
    - master

is preventing the builds from running in travis if they are coming from another branch than master. Feel free to remove it too to enable the Travis build on this PR (and all others, once it's merged).

(BTW, I believe you have push access to the repo, feel free to push directly to it so we can easily add contributions to your PRs, and vice-versa)

@thibaultCha please review, I think it's good to go now.

Ci log says the lib is already at its latest version iirc. So not slowing anything down. But if you want it removed, I'll drop it.

Ok good. Well, can you remove it just for the sake of simplicity? I think this is good to go after that!


Improve Windows CI

Small follow up to #662.

Nice.  JFYI, all the recent Ruby Windows releases (2.5.8, 2.6.6, 2.7.1) include reline.  I've been working a lot on actions lately, so I haven't been following a lot of other things.  You may have already looked at reline.

I know. That's why I'm explicitly sticking with the previous series for the Windows CI for now until I can have a closer look at reline.


Re-add old Validate functions to JsonSchema to fix backwards compatability issues.

Fix for #1519

Just ensure you use the same versions,
current releasable version will be v11 and it will anyway breaking.


Optimize the ads1115 driver-code

-- refactor
       1. configure the sampling channel and continuous mode in the device tree.

-- new
	1. add dts/bindings/sensor/ti,ads1115.yaml file

And the .overlay :

And the overlay:
//0x48,0x49,0x4b
	adc0: ads1115_0@48 {
		compatible = "ti,ads1115";
		reg = <0x48>;
		sampling_channel = <0x00>;
		continuous_mode = <0>;
		label = "ADS-ADC0";
	};

	adc1: ads1115_1@49 {
		compatible = "ti,ads1115";
		reg = <0x49>;
		sampling_channel = <0x01>;
		continuous_mode = <0>;
		label = "ADS-ADC1";
	};

	adc2: ads1115_2@4b {
		compatible = "ti,ads1115";
		reg = <0x4b>;
		sampling_channel = <0x02>;
		continuous_mode = <0>;
		label = "ADS-ADC2";
	};


pyflakes warnings not removed

From contrebasse on 2013-09-04T06:25:16Z
Spyder Version:  2.3.0dev
Python Version:  2.7.4
Qt Version    :  4.8.4, PyQt4 (API v1) 4.10 on Linux
pyflakes 0.5.0  :  0.6.1 (NOK)
pep8 >=0.6      :  1.4 (OK)
IPython >=1.0   :  0.13.2 (NOK)
rope >=0.9.2    :  0.9.2 (OK)
sphinx >=0.6.6  :  1.1.3 (OK)
matplotlib >=1.0:  1.2.1 (OK)
pylint >=0.25   :  0.26.0 (OK)
What steps will reproduce the problem?

Create a new file and enter incorrect python code such as "from libc.math cimport sin" (this is cython code but it doesn't matter)
Wait for pyflakes to flag the line as incorrect
Save the file with a .pyx extension What is the expected output? What do you see instead? I expect spyder to remove the pyflakes flag. Instead, as the file is not a python fiel anymore, the file is not parsed and the warning is not removed and still sitting in the margin.

Please provide any additional information below
. The problen is not directly linked to cython, the behavior is the same with a .rst file for example.
Also, sometimes it seems that pyflakes fails to analyze a python file for some syntax errors, but the previous warnings stay in place, which makes it difficult to find the exact problem. I'll file a new bug when I find a test example.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1547

From contrebasse on 2013-10-31T08:34:30Z
Actually I found that the problem is more general : even in python files it seems that pyflakes and pep8 are not updated correctly. I had to completely disable the automatic checks because I have lots of false positive and new warnings are not displayed. This is a big productivity decrease.

From contrebasse on 2014-03-14T06:48:55Z
My comments are fixed by this PR: https://bitbucket.org/spyder-ide/spyderlib/pull-request/30/correctly-decode-string-code-after-pep8/diff It doesn't fix the initial issue.
(Those captcha are really hard to read)

From contrebasse on 2013-11-07T00:34:57Z
And now, if I enable both pyflakes and pep8, I have no warning. But when I disable pep8 (keeping ony pyflakes), then the pyflakes warnings show up.
There's something nasty here.

From ccordoba12 on 2014-04-09T20:20:17Z
Thanks for the fix. Seems you have worked hard to solve it and since it's a bugfix, it belongs to 2.3. I'll try to review your PR and give you feedback soon.
Status: Accepted
Labels: MS-v2.3

From ccordoba12 on 2014-04-29T06:47:40Z
This issue was updated by revision 35485ff9030f .

Lines with pep8/flake warnings and non-ascii chars were not updated
after the warning was fixed. Moreover, no new warnings were generated
after that.

Status: Started

From ccordoba12 on 2014-05-04T14:46:00Z
Labels: -MS-v2.3 MS-v2.3.1

From ccordoba12 on 2014-08-17T18:42:33Z
Labels: -MS-v2.3.1 MS-v2.4


Add "device" hardware type

This hardware type allows enrolling edge devices into the CHI@Edge v2.0 testbed. There are a few new workers:

Tunelo: for provisioning channels via Tunelo, the tunneling/channel service.
Balena: for configuring and registering the device on Balena
Blazar (for devices): for enrolling the device in Blazar similar to hosts.

Tunelo is the 3rd worker to interface w/ a keystone service so I abstracted that mechanism.
⚠ This includes a significant refactor of the Blazar module! The device plugin was almost identical to physical hosts (in particular the need to deal w/ availability windows), so I generalized into a BlazarBaseWorker. There is a DB migration as well to handle migrating the internal tracker of blazar resource state, this is what I am most concerned about re: the refactor.
⚠ This includes a significant refactor of calling Keystone services! I moved them to a common helper construct so we don't have so much boilerplate.

 Doni "device" hardware type

Thanks for the review!


Initial support for Fcitx5

This PR adds a theme.conf (yep they are called "themes" now) that enables Fcitx 5 to recognize us as a Classic UI theme. However due to the incompleteness of Fcits 5's theming support, only basic backgrounds and font colors are ported.
BTW, Fcitx 5 now looks at ~/.local/share/fcitx5/themes and /usr/share/fcitx5/themes for themes.
See Fcitx 5's GitLab repo for a list of available options.

Thanks! :+1:


Android Small Peer Info not syncing

Using the latest version of the this app from the Play Store, Small Peer Info does not show up in the Portal for Android (iOS is working).
I've tested multiple times with a mix of iOS and Android devices, and can see the devices syncing data and in the presence viewer but the Android devices do not appear in the Portal

After 2 days of it not working then it suddenly worked this evening. I don't have an explanation but I'm going to close the issue for now.


Support for module_variable_optional_attrs

terrascan version:
1.10.0
Operating System:
Windows 10 x64

Description
Enable terraform expierments support
terraform {
experiments = [module_variable_optional_attrs]
}
What I Did
2021-09-22 17:39:31 [INFO]   File:[/github/workspace/versions.tf]
2021-09-22 17:39:31 [ERROR]   Found errors in [terrascan] linter!
2021-09-22 17:39:31 [ERROR]   Error code: 1. Command output:
------
2021-09-22T17:39:31.362Z	error	cli/run.go:120	scan run failed{error 26 0  failed to load iac file '/github/workspace/versions.tf'. error:
/github/workspace/versions.tf:5,18-48: Experimental feature "module_variable_optional_attrs" is active; Experimental features are subject to breaking changes in future minor or patch releases, based on feedback.

If you have feedback on the design of this feature, please open a GitHub issue to discuss it.
}
------

I cannot find any documentation that will let me get past this error.

Is there really no answer on how to work around this? I rather not stop validating my terraform with terrascan?

@codezninja what version of terrascan are you using? Do you have a sample terraform file to trigger this issue? I just tried with v1.15.0 and wasn't able to replicate using the 1st example on this page.
➜ ls
main.tf

➜ cat main.tf
terraform {
  # Optional attributes and the defaults function are
  # both experimental, so we must opt in to the experiment.
  experiments = [module_variable_optional_attrs]
}

variable "storage" {
  type = object({
    name    = string
    enabled = optional(bool)
    website = object({
      index_document = optional(string)
      error_document = optional(string)
    })
    documents = map(
      object({
        source_file  = string
        content_type = optional(string)
      })
    )
  })
}

locals {
  storage = defaults(var.storage, {
    # If "enabled" isn't set then it will default
    # to true.
    enabled = true

    # The "website" attribute is required, but
    # it's here to provide defaults for the
    # optional attributes inside.
    website = {
      index_document = "index.html"
      error_document = "error.html"
    }

    # The "documents" attribute has a map type,
    # so the default value represents defaults
    # to be applied to all of the elements in
    # the map, not for the map itself. Therefore
    # it's a single object matching the map
    # element type, not a map itself.
    documents = {
      # If _any_ of the map elements omit
      # content_type then this default will be
      # used instead.
      content_type = "application/octet-stream"
    }
  })
}

output "storage" {
  value = local.storage
}

➜ terrascan scan -i terraform

Scan Summary -

	File/Folder         :	/Users/cesar/programming/temp/experiment
	IaC Type            :	terraform
	Scanned At          :	2022-05-25 01:56:52.8007 +0000 UTC
	Policies Validated  :	786
	Violated Policies   :	0
	Low                 :	0
	Medium              :	0
	High                :	0

So I'm using superlinter and it seem to be locked to 1.14.0
I'll open a PR with that repo to use the latest version of terrascan

using the latest 1.15.2 in superlinter. I'm still getting this error. Trying to figure out why its being thrown

@cesar-rodriguez it seems that it might be because superlinter scans each file indivdually like so https://github.com/github/super-linter/blob/1e1f71f145d50ddd3a6e68d49ff3f80a091d9ad4/lib/linter.sh#L968
So for the same example you shared. see below
$ terrascan version
version: v1.15.2

$ cat main.tf
terraform {
  # Optional attributes and the defaults function are
  # both experimental, so we must opt in to the experiment.
  experiments = [module_variable_optional_attrs]
}

variable "storage" {
  type = object({
    name    = string
    enabled = optional(bool)
    website = object({
      index_document = optional(string)
      error_document = optional(string)
    })
    documents = map(
      object({
        source_file  = string
        content_type = optional(string)
      })
    )
  })
}

locals {
  storage = defaults(var.storage, {
    # If "enabled" isn't set then it will default
    # to true.
    enabled = true

    # The "website" attribute is required, but
    # it's here to provide defaults for the
    # optional attributes inside.
    website = {
      index_document = "index.html"
      error_document = "error.html"
    }

    # The "documents" attribute has a map type,
    # so the default value represents defaults
    # to be applied to all of the elements in
    # the map, not for the map itself. Therefore
    # it's a single object matching the map
    # element type, not a map itself.
    documents = {
      # If _any_ of the map elements omit
      # content_type then this default will be
      # used instead.
      content_type = "application/octet-stream"
    }
  })
}

output "storage" {
  value = local.storage
}

$ terrascan scan -i terraform

Scan Summary -

        File/Folder         :   /Users/ezbon.jacob/Desktop/test
        IaC Type            :   terraform
        Scanned At          :   2022-08-24 22:42:58.605276 +0000 UTC
        Policies Validated  :   786
        Violated Policies   :   0
        Low                 :   0
        Medium              :   0
        High                :   0

$ terrascan scan -i terraform -t all -f main.tf
2022-08-24T17:43:02.063-0500    error   cli/run.go:138  scan run failed{error 26 0  failed to load iac file '/Users/ezbon.jacob/Desktop/test/main.tf'. error:
/Users/ezbon.jacob/Desktop/test/main.tf:4,18-48: Experimental feature "module_variable_optional_attrs" is active; Experimental features are subject to breaking changes in future minor or patch releases, based on feedback.

If you have feedback on the design of this feature, please open a GitHub issue to discuss it.
}

So basically terrascan scan -i terraform -t all -f main.tf & terrascan scan -i terraform behavior are different when I believe when we use -f we shouldn't throw an error.

@cesar-rodriguez is this something we can fix? ^

The module_variable_optional_attrs is gone from Terraform 1.3, dup https://github.com/tenable/terrascan/issues/1468#issuecomment-1423234053

See https://github.com/tenable/terrascan/issues/1532#issuecomment-2433484258


static assets

Hey is there anyway I can point to the location of static assets like you use public folder inside any react app. I have many static  assets I wanna use in my project other that images, like json. What do you think the best way to go about this in this boilerplate

Would you try using the chrome.runtime.getURL API on static assets. see here: https://developer.chrome.com/docs/extensions/reference/runtime/#method-getURL


How to create *model.json for value?

When i train the network ( reinforcement_policy_trainer,reinforcement_value_trainer,and supervised_policy_trainer ),I used the prepared my_model.json in advance.
But only the reinforcement_value_trainer didn't work.

Error : "Unable to open object (Object 'states' doesn't exist)"

I guess this reason is: I need a model for the value network.
So,how to generate the model as *.json by myself ?(for policy ,for value),what command should I execute?

Thank you for answering my question!

It is possible to train a value net but there are some "issues" with it.
first you have to generate data by using the generate_value_training.py it requires a trained policy net and lets it play games vs itself ( or vs a reinforcement trained policy net)
unfortunately this is pretty slow.. (i managed to generate 4M samples in 2weeks...)
@oriskunk used data released by another team creating a bot and managed to train a value net with that data.
in this folder you can find all the available models and a model.json file is created the same way as for the policy net:
from AlphaGo.models.value import CNNValue arch = {'filters_per_layer': 128, 'layers': 12} # args to CNNValue.create_network() features = ['board', 'ones', 'turns_since'] # Important! This must match args to game_converter policy = CNNValue(features, **arch) policy.save_model('my_model.json')
please be aware that the the last 'zeros' feature layer in the policy net is replaced by a 'colour' feature in the value net. keep the amount of filters the same and you can pre-initialize a part of the value net with the trained policy net.
This brings us to the second 'issue' or more a TODO, there is not yet a convenient way to provide the value trainer with a policy net so it can initialize the value net. you have to do that yourself
and please use the cython-optimization branch, a few more changes have to be made but i think it is the best branch to use right now, especially when generating value net data

@MaMiFreak
Thank you for your answer! i solved my problem and get my models for "value training"," policy-training",even "rollout-training" . cool !
But i meet a new question when i play the game , this question bothered me for several days.

When i want to use MCTS to play , i write a "run_MCTS.py" as:

from AlphaGo.ai import MCTSPlayer

from AlphaGo.models.value import CNNValue
from AlphaGo.models.policy import CNNPolicy
from AlphaGo.models.rollout import CNNRollout

from interface.gtp_wrapper import run_gtp

#value model
MODEL1 = 'my_value_model.json'
WEIGHTS1 = 'weights_value.hdf5'

value = CNNValue.load_model(MODEL1)
value.model.load_weights(WEIGHTS1)

#policy model
MODEL2 = 'my_policy_model.json'
WEIGHTS2 = 'weights_policy.hdf5'

policy = CNNPolicy.load_model(MODEL2)
policy.model.load_weights(WEIGHTS2)

#rollout
MODEL3 = 'my_rollout_model.json'
WEIGHTS3 = 'weights_rollout.hdf5'

rollout = CNNRollout.load_model(MODEL3)
rollout.model.load_weights(WEIGHTS3)

#player
player = MCTSPlayer(value,policy,rollout)

run_gtp(player)

those *.json and *.hdf5 are matched.

then i runing "run_MCTS.py" using gtp and gogui

 gogui-twogtp -black 'python run_MCTS.py' -white 'gogui-display' -size 19 -komi 7.5 -verbose -auto

error is coming!

============================================
Game 1
============================================
B>> boardsize 19
B<< =
B<<
B>> clear_board
B<< =
B<<
W>> boardsize 19
W<< =
W<<
W>> clear_board
W<< =
W<<
B>> genmove b
Traceback (most recent call last):
  File "run_MCTS.py", line 35, in <module>
    run_gtp(player)
  File "/home/ubnutu-2/Documents/AlphaGo/RocAlphaGo-debug-value/interface/gtp_wrapper.py", line 152, in run_gtp
    engine_reply = gtp_engine.send(cmd)
  File "/home/ubnutu-2/anaconda2/lib/python2.7/site-packages/gtp.py", line 154, in send
    message_id, getattr(self, "cmd_" + command)(arguments))
  File "/home/ubnutu-2/anaconda2/lib/python2.7/site-packages/gtp.py", line 222, in cmd_genmove
    move = self._game.get_move(c)
  File "/home/ubnutu-2/Documents/AlphaGo/RocAlphaGo-debug-value/interface/gtp_wrapper.py", line 114, in get_move
    move = self._player.get_move(self._state)
  File "/home/ubnutu-2/Documents/AlphaGo/RocAlphaGo-debug-value/AlphaGo/ai.py", line 238, in get_move
    move = self.mcts.get_move(state)
  File "/home/ubnutu-2/Documents/AlphaGo/RocAlphaGo-debug-value/AlphaGo/mcts.py", line 202, in get_move
    self._playout(state_copy, self._L)
  File "/home/ubnutu-2/Documents/AlphaGo/RocAlphaGo-debug-value/AlphaGo/mcts.py", line 151, in _playout
    action_probs = self._policy(state)
TypeError: 'CNNPolicy' object is not callable
B>> final_score
W>> final_score
W<< ? unknown command: final_score
W<<
B>> quit
W>> quit
W<< =
W<<

gogui-display can't runing and pop up a window " GTP stream was closed "
and i have to quit .
The problem did not happen when I was running policy player alone . so i suspect that the problem is caused by MCTS integrated three networks(polocy value rollout) , or have any other problems I did not find.
Do you have any advice?
Thanks again !   ^_^

@zongshuai818 good to hear!
unfortunately i can't help you with the MCTS part, when i joined this project i heard some remarks there was an issue with it but i never had a look at it. first i want to get some multithreading going and depending on how that is going to look like i think the MCTS part is going to be rewritten. but i am afraid that will take some time, i the meantime if you find out how to fix it please create a pull request fixing it=)

@MaMiFreak ok , no porblem~
I was trying to solve this problem, and for the quick fix, I also left the same question to another author on this page, if the problem solved, I will sort out a file about simple MCTS for pull request to further improve this function.  ＾▽＾

@zongshuai818
MCTSPlayer need write functions get move probabilities by policy/value network.
from AlphaGo.ai import MCTSPlayer
from AlphaGo.models.value import CNNValue
from AlphaGo.models.policy import CNNPolicy
from AlphaGo.models.rollout import CNNRollout
from interface.gtp_wrapper import run_gtp

def policy_network(state):
    move_probs = policy.eval_state(state, state.get_legal_moves())
    return move_probs

def value_network(state):
    vn_winrate = value.eval_state(state)
    return vn_winrate

def rollout_policy(state):
    move_probs = rollout.eval_state(state, state.get_legal_moves())
    return move_probs

#value model
MODEL1 = 'my_value_model.json'
WEIGHTS1 = 'weights_value.hdf5'

value = CNNValue.load_model(MODEL1)
value.model.load_weights(WEIGHTS1)

#policy model
MODEL2 = 'my_policy_model.json'
WEIGHTS2 = 'weights_policy.hdf5'

policy = CNNPolicy.load_model(MODEL2)
policy.model.load_weights(WEIGHTS2)

#rollout
MODEL3 = 'my_rollout_model.json'
WEIGHTS3 = 'weights_rollout.hdf5'

rollout = CNNRollout.load_model(MODEL3)
rollout.model.load_weights(WEIGHTS3)

#player
player = MCTSPlayer(value_network,policy_network,rollout_policy)

run_gtp(player)

@RHF2 This was the answer I was looking for .
I added these functions , return the state.
Thank you very much!