Collection not found after create the document on the Collection "Userdata" database

Hi All,
I tried to create the document on database.  I created Collection "Userdata" and get the collectionID.  After run the below createUser function.  I got the error Collection not found.  But I have provided the collectionID.  What happen on the AppWrite server or on my code?
  Client appwriteClient = Client();

  appwriteClient
        .setEndpoint(appWriteServerUrl)
        .setProject(_projectId)
        .setSelfSigned();
  account = Account(appwriteClient);
  database = Database(appwriteClient);
  storage = Storage(appwriteClient);

  createUser({String username}) {
    dynamic _data;
    _data = {"username": username};
    Future result = database.createDocument(
      collectionId: '5f2c17b7d74ae',
      data: _data,
      read: [],
      write: [],
    );

    result.then((response) {
      print("create user in Users database success====================");
      print(response);
    }).catchError((error) {
      print("create user in Users database error====================");
      print(error.response);
    });
  }

Error throw on below
flutter: create user in Users database error====================
flutter: {"message":"Collection not found","code":404,"version":"0.6.2"}

@patricktslee check your collection permissions:

Hi Eldadfux,
I added * for both Read and Write Access.  But I got another error "flutter: {"message":"Unauthorized action","code":401,"version":"0.6.2"}".  Actually, my logic is create user, upload the image and create database document.  Create user and upload the image are successfully.  However create database document fail.  What happen again on server or my code?
flutter: Initial the Chat AppWrite
flutter: Starting Signup====================
flutter: Initial the Chat AppWrite
flutter: create account success====================
flutter: {"$id":"5f2d6a84b2528","email":"joni4@gmail.com","registration":1596811908,"name":"Joni4","roles":["*","user:","role:0"]}
flutter: 5f2d6a84b2528
flutter: Trying to login
flutter: Login success====================
flutter: Get login success====================
flutter: Joni4
flutter: file.path----------/Users/patrick/Library/Developer/CoreSimulator/Devices/E15F6EA6-8D1F-4E79-9867-86AB8CDEE10D/data/Containers/Data/Application/27836D22-50BF-4EA0-B886-3A5AE4CF358D/tmp/image_picker_9867AF64-6491-4320-B11F-350A6F30D8DC-26320-0001653B5CEDD5CF.jpg
flutter: create user in Users database error====================
flutter: {"message":"Unauthorized action","code":401,"version":"0.6.2"}

flutter: success====================
flutter: {"$id":"5f2d6a8a49fe3","$permissions":{"read":["user:5f2d6a84b2528"],"write":["user:5f2d6a84b2528"]},"$collection":"files","dateCreated":1596811914,"folderId":"","name":"5f2d6a84b2528.jpg","path":"/storage/uploads/app-5f266d4fb3846/5/f/2/d/5f2d6a8a4141b.jpg","signature":"b664265e8d47bc5b426e8394bc4c0881","mimeType":"image/jpeg","sizeOriginal":15027,"sizeActual":15124,"algorithm":"gzip","token":"8485404cbc02709b1fddd798f0c73e538896b8e82b8a4d450916c29cf15e09291d7b65cc4699e30c70ea403a803ffd872f76546c3d8abc6aacccf4c7b22e35d9","comment":"","fileOpenSSLVersion":"1","fileOpenSSLCipher":"aes-128-gcm","fileOpenSSLTag":"44d2c101977370275ae9ca4ec89b2901","fileOpenSSLIV":"1164f5c71d5429440b143882"}

Thanks
Patrick Lee

@patricktslee please share your request data, and specifically the document data you're trying to post to the database API.

@eldadfux
Here is my code to createdoucment.  It is simple data {"username": username}.
  createUser({String username}) {
    dynamic _data;
    _data = {"username": username};
    Future result = database.createDocument(
      collectionId: '5f2c17b7d74ae',
      data: _data,
      read: [],
      write: [],
    );

    result.then((response) {
      print("create user in Users database success====================");
      print(response);
    }).catchError((error) {
      print("create user in Users database error====================");
      print(error.response);
    });
  }

And here is my rule on server.  The data type of username is text.

The error message
flutter: create user in Users database error====================
flutter: {"message":"Unauthorized action","code":401,"version":"0.6.2"}

Thanks
Patrick Lee

@patricktslee just add read and write permission when sending the document, '*' for wildcard access or 'user:[user_id]' should be fine.

@eldadfux It works.  Thanks your help.

🥳 your'e welcome, feel free to join us on https://appwrite.io/discord in case you need more help or advice


[Bug] [File Connector V2] Data file name will duplicate when use SeaTunnel Engine

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

SeaTunnel Version
ALL
SeaTunnel Config
CI: https://github.com/apache/incubator-seatunnel/pull/3456#pullrequestreview-1198820624

Running Command
CI: https://github.com/apache/incubator-seatunnel/pull/3456#pullrequestreview-1198820624

Error Exception
CI: https://github.com/apache/incubator-seatunnel/pull/3456#pullrequestreview-1198820624

Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I want to try this issue.Please assign to me.

This is probably not a bug and the file name is renamed to right form during the 2PC commit phase.

JobId was initialized before dag was resolved, but PipelineId was created for executeplan after dag was resolved. Therefore,
JobId and Pipelineid were created at different locations. I have communicated with @Hisoka-X ,this does not seem to be able to pass jobId+pipelneId directly to the connector.

JobId was initialized before dag was resolved, but PipelineId was created for executeplan after dag was resolved. Therefore, JobId and Pipelineid were created at different locations. I have communicated with @Hisoka-X ,this does not seem to be able to pass jobId+pipelneId directly to the connector.

Yes, you are right. We plan fix it in file sink connector. @Hisoka-X  will finish this work.
Thanks.

OK. Thanks for your reply.


All products shouldn't be shippable by default

We can add boolean field like shopify does:

In my opinion, weight field should be optional field (now it's required). And I agree that we should add boolean field as you suggest :+1:

:+1:

@patrys What do you think about implementing requries shipping flag as a part of ProductClass?

I requested this when discussing product classes initially but it was not implemented.


Support other devices

Can it support ULTIMATEHOME 500 UV? Thanks
https://www.electrolux.com.tw/appliances/air-purifiers/ep53-48uga/#/

I need the json payload for that device to be able to know if it can be supported. Try the integration and enable debug logs and post the payload.

我需要該裝置的json有效載荷，以便能夠知道它是否可以支援。 嘗試整合並啟用除錯日誌並釋出有效負載。

How do I provide it? I am a novice

I caught the physical device but can't use the buttons

I caught the physical device but can't use the buttons

any news here?

這裡有什麼消息嗎？

Where do I need to get the information?

這裡有什麼消息嗎？

記錄器: homeassistant.components.switch
來源: helpers/entity_platform.py:350
整合: 開關 (相關文件, 問題)
首次發生: 上午1:10:39 (1 事件)
上次登入: 上午1:10:39
Error while setting up wellbeing platform for switch
Traceback (most recent call last):
File "/config/custom_components/wellbeing/switch.py", line 15, in async_setup_entry
WellbeingSwitch(coordinator, entry, pnc_id, "Ionizer"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wellbeing/switch.py", line 26, in init
self._is_on = self.get_entity.state
^^^^^^^^^^^^^^^
File "/config/custom_components/wellbeing/entity.py", line 28, in get_entity
return self.get_appliance.get_entity(self.entity_type, self.entity_attr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wellbeing/api.py", line 231, in get_entity
return next(
^^^^^
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform
await asyncio.shield(awaitable)
RuntimeError: coroutine raised StopIteration
記錄器: homeassistant.components.fan
來源: helpers/entity_platform.py:576
整合: 風扇 (相關文件, 問題)
首次發生: 上午1:10:39 (1 事件)
上次登入: 上午1:10:39
Error adding entity fan.wellbeing_kong_qi_qing_jing_ji_fanspeed for domain fan with platform wellbeing
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 576, in _async_add_entities
await coro
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 865, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1328, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 992, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1052, in __async_calculate_state
attr.update(self.state_attributes or {})
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/fan/init.py", line 427, in state_attributes
data[ATTR_PERCENTAGE_STEP] = self.percentage_step
^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/fan/init.py", line 384, in percentage_step
return 100 / self.speed_count
^~~~~~~~~~~~~~
ZeroDivisionError: division by zero

Enable logging and post the results here
logger:
  logs:
    pyelectroluxgroup.appliance: debug

Dear Johan Nenzén,
I hope this email finds you well.
I am attaching a document for your review. Please take a look and let me
know if it contains the information you need. If it does not meet your
requirements, kindly inform me, and I will be happy to assist further.
Thank you for your attention.
Best regards,
Marx Lee
Johan Nenzén @.***> 於 2024年8月10日 週六 上午3:33寫道：

Enable logging and post the results here
logger:
logs:
pyelectroluxgroup.appliance: debug
—
Reply to this email directly, view it on GitHub
https://github.com/JohNan/homeassistant-wellbeing/issues/80#issuecomment-2278615211,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBLXU7YZNGXBJQTBEGSBYS3ZQUKP3AVCNFSM6AAAAABDBZV2POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYGYYTKMRRGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Here’s the translation: “So, is this what you need? Do I need to put the
following code:
logger:
logs: pyelectroluxgroup.appliance:
debug
into the configuration.yaml file?”
Johan Nenzén @.***>於 2024年8月16日 週五，上午6:18寫道：

Closed #80 https://github.com/JohNan/homeassistant-wellbeing/issues/80
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/JohNan/homeassistant-wellbeing/issues/80#event-13903464493,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBLXU7Y3NHTNYTFY23YPIADZRUSJ7AVCNFSM6AAAAABDBZV2POVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTHEYDGNBWGQ2DSMY
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Here’s the translation: “So, is this what you need? Do I need to put the following code: logger: logs: pyelectroluxgroup.appliance: debug into the configuration.yaml file?” Johan Nenzén @.>於 2024年8月16日 週五，上午6:18寫道：
…
Closed #80 <#80> as completed. — Reply to this email directly, view it on GitHub <#80 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBLXU7Y3NHTNYTFY23YPIADZRUSJ7AVCNFSM6AAAAABDBZV2POVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTHEYDGNBWGQ2DSMY . You are receiving this because you authored the thread.Message ID: @. com>

Try the latest version version 1.2.3 and let me know how it works out. If it still doesn't work you can enable debug logging on the integration instead. It should now log more info than before.


Periodic transactions

Summary
Implement periodic transactions as per the project roadmap documentation:

Periodic transactions use smart dates and period expressions. Those features need to be implemented
before work on this feature is started. Periodic transactions are used for budgeting and forecasting.
Documentation.
More documentation.

This issue requires completion of #16.
Other Information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The periodic transaction list should be included in the cooked journal as a top-level item.


Added sound support

Added option to add a custom banner sound. Does not currently check to make sure wav is a proper length

The length thing may have to be checked through the CLI. That much I can (probably) do.

This does actually work. Thanks!


WIP: Add test for _check_schema_name()

@atodorov Good idea putting a test in I will let you fix the test

@tomturner I am seeing only 1 error in CI ATM which doesn't seem to be related to this PR. However I want to see passing CI before we can merge.
I will rebase once tests on master are working once again.

@atodorov First sorry that my bad commit caused a problem. I should have done it in branch. The only problem left is an error with Python 3.8 that only happen 50% of the time as stated in #335.

@atodorov I thought it was only domain names that you were stopping the underscores not schema name. I use underscores in my project.    schema name  tom_1234  points to a domain name of tom.mydomain.net. This check in will crash my app. I happy to stop underscores in the domain name however not in the schema name.  I am also happy to stop people having uppercase character in both domain names and schema names.

@atodorov I thought it was only domain names that you were stopping the underscores not schema name. I use underscores in my project. schema name tom_1234 points to a domain name of tom.mydomain.net. This check in will crash my app. I happy to stop underscores in the domain name however not in the schema name. I am also happy to stop people having uppercase character in both domain names and schema names.

From what I can see the path is match the domain, then get the tenant object and it's schema name.  So how do you create your tenants/domains ?
In my app we create the tenants first then the domain name and the left-most sub-domain matches the schema_name.
It looks like this is app specific but I don't see an obvious place like view/Form that deals with data validation where such check, only for domains, can be enforced or a function that can be reused by other apps.
On my end I can solve it with a custom form validation function but others may hit the same issue.

For my app the only internal member of staff create my tenants so we type the domain and schema name in. However I do see what you are trying to do so we could put a setting in to allow users to do what you are trying to do.

@tomturner I've taken a step back on this PR. I've dropped the last commit which changes the schema name validation regex so you can merge the tests and the rest of the changes.
I will examine more closely my own app and this about a different solution. So far I'm leaning towards documentation + maybe a helper function to validate domain names or convert schema_name to domain name. Will open a separate PR, probably later today.

@atodorov do I close this or are you redo it.

@atodorov do I close this or are you redo it?

@tomturner from what I can tell this PR should be ready to merge. I see removal of 1 unused function, merger of 1 helper function in the function that uses it and tests. Previous comments indicate I've dropped changes which were debatable and unwanted and I don't see them in the diff.
If there's anything left to do on my side let me know where exactly.

@tomturner ping. Can you please review this PR ?

@atodorov I will look this however I got to check it doesn't break my schema name.   Can you confirm that understores are allowed?

Can you confirm that understores are allowed?

Yes, the latest version of this PR doesn't change the original behavior, only removes unnecessary helper functions.

@atodorov Thanks I will now merge


Question: Will rover for level 3/4 app landing zones play well with terraform-azurerm-caf-enterprise-scale

I'm looking at implementing enterprise scale for an organization and was hoping to use the contoso template for enterprise scale found in this repo as the starting point. My goal is to implement the level 0,1,2 baselines across multiple subscriptions, but the feeling I get from trying contoso is that it's not fully baked yet.
I'm wondering if we can leverage terraform-azurerm-caf-enterprise-scale to stand up the baseline  - management groups, policies, management, connectivity, and identity subscriptions, and then transition to using rover to deploy application landing zones for level 3 & 4.
Specifically, I'm curious if Lvl 3/4 app landing zones stood up by rover will require visibility/access to the tf state from the contoso level 0, 1, 2 implementation, which wouldn't exist if we use terraform-azurerm-caf-enterprise-scale.

We will be adding more docs soon for l3/l4 spin up, but this is already in 2203.0, stay tuned! https://aztfmod.github.io/documentation/docs/enterprise-scale/landingzones/eslz-intro


Desynchronized Facility Interior

I think I've found a bug, seems happens randomly tho.
I was in a public lobby with three other players using the vanilla game. I was using this profile:
0190bde0-3d3e-3b8d-a185-3835cd1f4da1
We did an Assurance run and a Titan run without problems. But on the second Titan run, the inside of the facility looked totally different for me compared to the others. I fell to my death because I went in through the fire exit, which put me in a bottomless pit. After that, every run had the same issue until I restarted the game.

Could you send the logs?

LogOutput.log

I'll have a look at the issue more tomorrow and see if I can recreate it and make a patch

Encountered the same problem, which resulted in inconsistent map seeds loaded by different players.
After excluding the random first day map seed function in ButteryFixes and GeneralImprovements,I can only guess the problem is caused by Loadstone.

Based on the reports I'm getting, it seems that 0.1.7 should be stable. If not, 0.1.0 should be stable, unless another mod is involved in the issue. I'm working on debugging the issue to see if I can get a proper fix out

Oh!
I was just made aware that SolidLib's recent update is known to cause this issue. Try disabling SolidLib and its dependents, and see if that fixes the issue

yes,i haven't install SolidLib.
here is my libraries mod:

I don't know if this can help you:
My mods that have been updated after the loadstone update：

And all of my mods are client-side.

Is there any progress?
If there is no quick fix, can we release a version of v0.1.7+v0.10.0? When I rolled back to 0.1.7, the mod was no longer compatible with LethalPerformance.

sorry I've been a bit distracted recently. 0.1.7 is full compatible with LP, I just changed how certain things get displayed so it doesn't look like it's incompatible in newer versions

In fact, what is 0.1.7 incompatible is LP's dependency HarmonyXTranspilerMix.
I am completely certain about this because when I use 0.17+LP, loading the map will cause the game to become unresponsive.
Using 0.1.13+LP can load the map normally.

I encountered the issue of desynchronized again yesterday.
All player have Loadstone 0.1.13.
After the ship lands, my friend said this is a solar eclipse Titan. But what I see is the Storm Titan.

I am currently trying to disable the newly added feature on 0.1.12 for gameplay

Interesting
I was trying it myself and I was unable to recreate the issue. I tried going in and out of the challenge moon to see if that would generate differently, and I also tried checking assurance seeds 1 and 5 both before and after doing a bunch of random seeds, and I wasn't able to get it to happen. If this happens again, could I get the logs from the desynced player(s), as well as the host?

I think I found the issue! I took another look at the code and realized there was some undefined behaviour in my new dungeon optimizations patch. I'm pushing a fix now. I'll leave this issue open for now just in case

it 's encouraging :)

I played a couple times with the new update and it seems to be fixed, i will close the issue for now but in case it start happening again i will reopen the issue(doubt it will tho).

Ran into the issue again today
LogOutput.log

Could possible be related with the new Lethal Performance update since it only started happening after the update, could be because it mentions that it doesn't wait for loadstone to load first anymore.

my apologies, I must have missed this issue getting re-opened
is this issue still happening? If so with what mods installed?
I've not gotten reports from anyone else about this issue recently, so I'd wager it's a mod compatibility issue

It seems to happen when using AsyncDungeon although VERY rare, turning that off prevents the de-syncs.

I see
if you could find a way to consistently recreate the issue, that would be a great help
otherwise I'll look and see if I can find out what might be causing it
my best guess is that some mod in your modpack is assuming the map will be generated in one frame, so if async dungeon has to spend multiple frames generating, it can result in desync. Could you send the modpack?

Here is the modpack 0193fa45-c9af-7664-b0dc-1e2e29398a2b with AsyncDungeon enabled.

I compared your pack with one other known bad pack, and two known good packs
this is a list of the mods that remain
I doubt that any of these are causing the issue, but it might be worth trying
I'll have a look and see if I can recreate the issue tonight
LunxBingo-USBParadoxAdds.txt

Just now had this issue whilst playing a run with friends. Host had v0.1.14 of Loadstone, clients had no Loadstone. Host was only running mods from the following list (all of which are fixes & QoL):

A couple other users have ran into the same issue within our discord. If you need more info, feel free to ask.
Here is client logs:
Player_2024-12-25_10-18-14.log
Here is host logs:
Player_2024-12-25_12-40-39.log
Should we be using a more recent version of loadstone to fix this?

No, the version of Loadstone you're using should be fine
If it's happening with just those mods it must be some issue with Loadstone itself
Out of curiosity, do any specific people have it happen more often? Also, could you list the specs of the host that these logs are from, including whether their game is installed on an HDD or SSD?

Just checked, one of the other clients was actually running v0.1.12, which is why it was happening. Makes a lot more sense why we were having issues. I'll see if I can grab information from the other players who have encountered this issue in our discord and send them over.

Ok thanks
0.1.12 did have issues, which were fixed in 0.1.14 as a result of this issue


7/24 - Add Scroll Screen Tracer link

The link is to Murray Sargeant's account of how SST helped to get Windows to work in protected mode.

Thanks!


Widen CatChen/check-git-status-action version from v1.0.0 to v1

Current dependencies on/for this PR:

main

PR #21   👈

This comment was auto-generated by Graphite.


Fix using expired cert in tests

StoreLeaf1.cer expired today. This is a band-aid until 3/22/24.
Real fix should be using certs that expire in a long long time, but I don't want to keep PRs broken.
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-cli/pull/3435&drop=dogfoodAlpha

Those expired certs are actually real store certs. And they update yearly.


Functional snap

Issue
Lack of backup tool for charms. Related to dpe-646 and dpe-653
Solution
This PR creates a functional snap version, compatible with current mysql version (8.0.31) and with classic strict confinement.

Just a general comment: I'd prefer we used strict confinement wherever possible - I think using the system-backup interface will make that possible in this case.

@jnsgruk

Just a general comment: I'd prefer we used strict confinement wherever possible - I think using the system-backup interface will make that possible in this case.

This was the initial approach, but we are lacking definitions on how to interact with other snaps from the stack (mysql-server snap), hence keeping classical flexibility for now

Yeh I just think we will struggle to get classic approved in the store, and in reality this will need to be strict.
Let's sync up this week and figure out how to make this work in strict confinement? 🙂

Maybe convert it to draft while it is not review for the review?

Nah, i'm to stubborn


feat: Update to 24.0.5

What issues does this PR close?
### Checklist
- [X] The PR title is short and expressive.
- [X] I have updated the CHANGELOG.md. See [changelog_update.md](https://github.com/sovity/authority-portal/tree/main/docs/dev/changelog_updates.md) for more information.
- [X] I have updated the Deployment Migration Notes Section in the CHANGELOG.md for any configuration / external API changes.
- [X] I have performed a **self-review**

Closing, because we will move to 26 directly.


Flesh out the contributing section

We should add the following to the contributing section:

[ ] List of "New Concept Exercises" issues (from issues with label)
[ ] List of "Concept Exercises That Need Updating" issues (from issues with label)

Closed by #46


Unable to replicate decoding: missing a file with lengths

Hi,
when I try to run eval_scripts/generate.sh, it complains that a file de2en_lengths.pkl does not exist. Now, the train.sh script did not create such file, nor there is a script that generates one. It is not included with the pretrained models, either.
From what I gathered, the file should contain a src-tgt mapping of lengths, but I can't really tell what the contents should be, so it would be great if you could provide a script that generates this.
Thanks!

I forgot to include those files, thanks for noticing it.
Here is the link to dataset with updated files https://drive.google.com/file/d/149vO36tEE5Nyh7-pvqAs_3yhS7GfxME0/view?usp=sharing
I have updated README as well

That does not look ok, the archive contains only three files, codes, train.de-en.de.tok (only 26MB, ~190k lines), and vocab.de-en.

Oops thats an archive with not fully downloaded train dataset
This one should be correct https://drive.google.com/file/d/11hZN2bctJsGOBUx6of5en4eZw-A66mQs/view?usp=sharing


Powershell shows path, context not correct

German(Austrian) Windows 10, Powershell
Here how it looks like:

I launched the container with
docker run -it --rm -v ${home}.kube:/root/.kube -v ${home}.helm:/root/.helm paulbouwer/k8s-cli-toolset:0.15

Kubie is now part of this image - I no longer include kubectx and kubens. Have a look at the kubie documentation to understand how to use it to change clusters and namespaces.

Closing.


Feature create office setup config

Hi @michaeldraftz, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Hi @michaeldraftz, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


[v0.11] Outliner plugin with Neutral theme got wrong font size in outliner panel

What is happening?
When I enable Outliner plugin and Neutral theme at the same time, the font size in the outliner panel is broken.
What should be happening?
Screenshots (if applicable):

Operating system/browser name & version:

Win 10
Chrome  96.0.4664.110

notion-enhancer and/or notion-repackaged version:

notion-enhancer browser extension ver <IP_ADDRESS>

notion-enhancer configuration (enabled/disabled mods and their settings):
enabled plugins

outliner

enabled theme

Neutral

closing in favour of #30


[Toggler] [Docs] foundation.util.triggers.js should be required

The docs only declare as dependencies the following files:
foundation.toggler.js
foundation.core.js
foundation.util.motion.js
However, Toggler wont work without foundation.util.triggers.js

Fixed via a5713bd26c42efaf0cf5db9455f075e5f025b6bb


npm i error

on windows 11 laptop

git clone the repo
npm run start

I was also getting this error but as suggested it got resolved after
"npm i --force"

I was also getting this error but as suggested it got resolved after "npm i --force"

Yes, i also got same error at first

i was able to resolve this when i checkout to node js previous version, for instance i change from node version 16.xx to 14.xx.

same error

same here


Video Creator: gray preview bars no longer show

Hard to tell cropping dimensions of output. Maybe a z-index issue from geometry.

Failed to reproduce.


Ehnacing the Search Page of FreeCodeCamp.org

Describe the Issue
Currently, the Search page of FreeCodeCampshows a list of results but doesn't show what are the results for and the text in the search bar is also cleared in the new tab of the search query. This is not good for enhancing User Experience. I have suggested some changes below . I would like to work on them please assign issue to me
Affected Page
https://www.freecodecamp.org/news/search?query=SQL Queries
Steps to Reproduce

Go to https://www.freecodecamp.org/
Click on SEARCH button
Type your query and hit enter
See the error

Expected behavior
It should have a heading something like "Search Results for "<SEARCH_TEXT>""
just like we have on google.com

Screenshots
Problem  :

Solution :

System

Browser: Firefox

Additional context
I would like to take this issue I'd do the changes in very less time and the code will also be documented and maintainable

Dear Maintainers ,  I would like to work on this issue.

As far as accessibility is concerned, the new results page should have a <title> that describes the purpose of the page. So in this case the title should probably at least include the phrase "search results" and even better if it could include the string searched for (e.g. "Search results for [query string]"). All of this should come before "freeCodeCamp.org". This is a WCAG 2.4.2 requirement, although there is some potential wiggle room in defining what adequately describes the topic or purpose of the page. But currently the title is just "Search - freeCodeCamp.org" and I would argue that that is too ambiguous and needs to be defined a little better as described above.
As for an h1 heading, it's not technically a WCAG requirement but I agree, it is a best practice. It should mimic the <title> for the most part but it would probably be cool to add the number of results found as well. And even if you don't include the query string in the <title> I would definitely include it in the h1.

BTW, it's freeCodeCamp or freeCodeCamp.org - never FreeCodeCamp - the "f" is small as in camelCase like iPhone and eBay

BTW, it's freeCodeCamp or freeCodeCamp.org - never FreeCodeCamp - the "f" is small as in camelCase like iPhone and eBay

Ok sir 👍 can I work on this  ?

As far as accessibility is concerned, the new results page should have a <title> that describes the purpose of the page. So in this case the title should probably at least include the phrase "search results" and even better if it could include the string searched for (e.g. "Search results for [query string]"). All of this should come before "freeCodeCamp.org". This is a WCAG 2.4.2 requirement, although there is some potential wiggle room in defining what adequately describes the topic or purpose of the page. But currently the title is just "Search - freeCodeCamp.org" and I would argue that that is too ambiguous and needs to be defined a little better as described above.
As for an h1 heading, it's not technically a WCAG requirement but I agree, it is a best practice. It should mimic the <title> for the most part but it would probably be cool to add the number of results found as well. And even if you don't include the query string in the <title> I would definitely include it in the h1.

@bbsmooth  I agree 👍

I'm getting lot of warnings. Any suggestion ?

The news repository is a particular case.
To work with it locally, you must set up Ghost on your local machine. Once you do, you can create keys for, say, English and add them to your .env file. Look at the sample file for reference. You don't need all, any one language should be fine - I would go with English.
Now - even with that, we would have to make an exception when you are ready to submit a PR - because we block PRs from forks for security reasons.

@raisedadead Ghost link is not working.
On clicking it taking me to https://github.com/freeCodeCamp/freeCodeCamp/issues/ghost.org

https://www.google.com/search?q=ghost.org

We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.
Issues labeled with help wanted or first timers only are open for contributions.
Please make sure you read our guidelines for contributing. We prioritize contributors following the instructions in our guide. Join us in our chat room or the forum if you need help contributing - our community will be happy to assist you.

After deliberation, we gave this some more thought and think that this is a non-trivial issue at the moment.
i.e, the OP is suggesting implementing a form of:
"Showing results for X, search instead for Y."
The search results are rendered from an Algolia-based index. While, in theory, it is possible to show this in the style the OP suggests, the implementation is involving and is a low priority for the staff members.
We will reconsider this sometime in the future when we can open up the repository for contributions from the community.


Must have at least one series exception occurs when changing page before the page fully loaded.

Hi,
I have a blazor details page of an item, when I open this page LineChart shows up, all works good but when I click to navigate to this page and quickly before even the chart would load itself i get an exception:
"Chart 52b8a3b825e34ddfa67f944ea24b8266 must have at least one series" on UpdateSeriesAsync if I wait fully load it does not happen. How could I solve this?

Hello,
Please make sure you are on the latest version

Indeed I could solve this with:
if(itemChartRef.Series > 0)
{
UpdateSeriesAsync()
}

Just curious if there is an another way and it should not throw system exception, could be apexexception.


Error: IFrame removed from DOM during signinSilent

I have enabled automaticSilentRenew on my Angular app and I am able to renew my session without any issues. However I saw this error being logged on my console during the silent sign in process. I was wondering if this means there is something wrong with how I have implemented my silent sign in.
[Event('Window navigation aborted')] raise: Error: IFrame removed from DOM
    at HTMLIFrameElement.<anonymous> (oidc-client-ts.js:2141:29)
    at _ZoneDelegate.invokeTask (zone.js:406:31)
    at core.mjs:23888:55
    at AsyncStackTaggingZoneSpec.onInvokeTask (core.mjs:23888:36)
    at _ZoneDelegate.invokeTask (zone.js:405:60)
    at Object.onInvokeTask (core.mjs:24189:33)
    at _ZoneDelegate.invokeTask (zone.js:405:60)
    at Zone.runTask (zone.js:178:47)
    at ZoneTask.invokeTask [as invoke] (zone.js:487:34)
    at invokeTask (zone.js:1661:18)

I am implementing the Silent Sign In via an Angular component that has no HTML template. Wonder if that is what is causing this iframe error.
Here are my logs if that helps;
[Timer('Access token expiring')] init: using duration 1
VM89 vendor.js:165681 [UserManagerEvents] load: registering expired timer, raising in 54 seconds
VM89 vendor.js:165681 [Timer('Access token expired')] init: begin
VM89 vendor.js:165681 [Timer('Access token expired')] cancel: begin
VM89 vendor.js:165681 [Timer('Access token expired')] init: using duration 54
VM89 vendor.js:165686 [UserManager] getUser: user loaded
VM89 vendor.js:165681 [UserManagerEvents] load: begin
VM89 vendor.js:165681 [UserManagerEvents] load: access token present, remaining duration: 53
VM89 vendor.js:165681 [UserManagerEvents] load: registering expiring timer, raising in 1 seconds
VM89 vendor.js:165681 [Timer('Access token expiring')] init: begin
VM89 vendor.js:165681 [Timer('Access token expiring')] init: skipping since already initialized for expiration at<PHONE_NUMBER>
VM89 vendor.js:165681 [UserManagerEvents] load: registering expired timer, raising in 54 seconds
VM89 vendor.js:165681 [Timer('Access token expired')] init: begin
VM89 vendor.js:165681 [Timer('Access token expired')] init: skipping since already initialized for expiration at<PHONE_NUMBER>
VM90 main.js:33099 got user succesfully
VM89 vendor.js:165681 [UserManager] signinSilentCallback: begin
VM89 vendor.js:165681 [IFrameNavigator] callback: begin
VM89 vendor.js:165686 [UserManager] signinSilentCallback: success
oidc-client-ts.js:48 [IFrameWindow] navigate: got response from window
oidc-client-ts.js:48 [IFrameWindow] _dispose: begin
oidc-client-ts.js:48 [UserManager] _signinEnd: begin
oidc-client-ts.js:48 [OidcClient] processSigninResponse: begin
oidc-client-ts.js:48 [OidcClient] readSigninResponseState: begin
oidc-client-ts.js:48 [WebStorageStateStore] remove('194296cbee11450cb1df4da1944e5a6b'): begin
oidc-client-ts.js:48 [SigninState.fromStorageString] begin
oidc-client-ts.js:48 [OidcClient] processSigninResponse: received state from storage; validating response
oidc-client-ts.js:48 [ResponseValidator] validateSigninResponse: begin
oidc-client-ts.js:48 [ResponseValidator] _processSigninState: begin
oidc-client-ts.js:48 [ResponseValidator] _processSigninState: state validated
oidc-client-ts.js:48 [ResponseValidator] validateSigninResponse: state processed
oidc-client-ts.js:48 [ResponseValidator] _processCode: begin
oidc-client-ts.js:48 [ResponseValidator] _processCode: Validating code
oidc-client-ts.js:48 [TokenClient] exchangeCode: begin
oidc-client-ts.js:48 [MetadataService] _getMetadataProperty('token_endpoint'): begin
oidc-client-ts.js:48 [MetadataService] getMetadata: begin
oidc-client-ts.js:48 [MetadataService] getMetadata: using cached values
oidc-client-ts.js:48 [MetadataService] _getMetadataProperty('token_endpoint'): resolved
oidc-client-ts.js:48 [TokenClient] exchangeCode: got token endpoint
oidc-client-ts.js:48 [JsonService] postForm: begin
oidc-client-ts.js:48 [JsonService] appendExtraHeaders: begin
oidc-client-ts.js:48 [JsonService] postForm: url: https://my.identity.service.com/identity/connect/token
oidc-client-ts.js:48 [Event('Window navigation aborted')] raise: Error: IFrame removed from DOM
    at HTMLIFrameElement.<anonymous> (oidc-client-ts.js:2141:29)
    at _ZoneDelegate.invokeTask (zone.js:406:31)
    at core.mjs:23888:55
    at AsyncStackTaggingZoneSpec.onInvokeTask (core.mjs:23888:36)
    at _ZoneDelegate.invokeTask (zone.js:405:60)
    at Object.onInvokeTask (core.mjs:24189:33)
    at _ZoneDelegate.invokeTask (zone.js:405:60)
    at Zone.runTask (zone.js:178:47)
    at ZoneTask.invokeTask [as invoke] (zone.js:487:34)
    at invokeTask (zone.js:1661:18)
oidc-client-ts.js:48 [JsonService] postForm: HTTP response received, status 200
oidc-client-ts.js:48 [TokenClient] exchangeCode: got response
oidc-client-ts.js:48 [ResponseValidator] validateSigninResponse: code processed
oidc-client-ts.js:48 [ResponseValidator] _validateIdTokenAttributes: begin
oidc-client-ts.js:48 [ResponseValidator] _validateIdTokenAttributes: decoding ID Token JWT
oidc-client-ts.js:48 [ResponseValidator] validateSigninResponse: tokens validated
oidc-client-ts.js:48 [ResponseValidator] _processClaims: begin
oidc-client-ts.js:48 [ResponseValidator] _processClaims: loading user info
oidc-client-ts.js:48 [UserInfoService] getClaims: begin
oidc-client-ts.js:48 [MetadataService] _getMetadataProperty('userinfo_endpoint'): begin
oidc-client-ts.js:48 [MetadataService] getMetadata: begin
oidc-client-ts.js:48 [MetadataService] getMetadata: using cached values
oidc-client-ts.js:48 [MetadataService] _getMetadataProperty('userinfo_endpoint'): resolved
oidc-client-ts.js:48 [UserInfoService] getClaims: got userinfo url https://my.identity.service.com/identity/connect/userinfo
oidc-client-ts.js:48 [JsonService] getJson: begin
oidc-client-ts.js:48 [JsonService] getJson: token passed, setting Authorization header
oidc-client-ts.js:48 [JsonService] appendExtraHeaders: begin
oidc-client-ts.js:48 [JsonService] getJson: url: https://my.identity.service.com/identity/connect/userinfo
oidc-client-ts.js:48 [JsonService] getJson: HTTP response received, status 200
oidc-client-ts.js:48 [UserInfoService] getClaims: got claims {xxxxxxxxxx}
oidc-client-ts.js:48 [ResponseValidator] _processClaims: user info claims received from user info endpoint
oidc-client-ts.js:48 [ResponseValidator] _processClaims: user info claims received, updated profile: {iss: 'https://my.identity.service.com/identity', iat:<PHONE_NUMBER>, exp:<PHONE_NUMBER>, aud: 'xxxxxxxx', sid: '23C17D9E2CC7CAA258B2FE550FE89431', …}
oidc-client-ts.js:48 [ResponseValidator] validateSigninResponse: claims processed
oidc-client-ts.js:48 [UserManager] _signinEnd: got signin response
oidc-client-ts.js:48 [UserManager] _buildUser: begin
oidc-client-ts.js:48 [UserManager] _buildUser: current user matches user returned from signin
oidc-client-ts.js:48 [UserManager] storeUser: begin
oidc-client-ts.js:48 [UserManager] storeUser: storing user
oidc-client-ts.js:48 [User] toStorageString: begin
oidc-client-ts.js:48 [WebStorageStateStore] set('user:https://my.identity.service.com/identity:my:client'): begin
oidc-client-ts.js:48 [UserManager] _buildUser: user stored
oidc-client-ts.js:48 [UserManagerEvents] load: begin
oidc-client-ts.js:48 [UserManagerEvents] load: access token present, remaining duration: 120
oidc-client-ts.js:48 [UserManagerEvents] load: registering expiring timer, raising in 60 seconds

Its coming from here:
https://github.com/authts/oidc-client-ts/blob/6cb34ab9d128e4a2a7a6e1b35976f912d52008c6/src/navigators/IFrameWindow.ts#L58-L71
You will need to debug...

This seems to be something that's logged within the internal logic of the library, it does not surface during the execution. After I turned off my logs I wasn't able to replicate or see this error.
I would have expected an error to have being thrown from the UserManager.signinSilentCallback if there was something wrong with my implementation, however the promise returned by signinSilentCallback resolved succesfully for me.
I was hoping for some clarification as to why this was an internally error logged, perhaps this is insignificant.

this._abort.raise is used for the communication between the iframe window and the parent window. Such that the parent window can dispose stuff related to that iframe.

I don't think I understood you.
Is this abort.raised error something to be concerned?

Is this abort.raised error something to be concerned?

no

I'm sure there are lot of enhancements on the backlog of this project.
However, would it be worth modifying that logic to not be logged as an error?
It would definitely improve the developer experience, as the current implementation implies something is wrong in the background when referring the logs. Just thought I'd mention that.

i think normally this should not be logged, but in your case it does, i am not sure why. this needs some debugging...

Couldn't make head way with this bug. However, I tried to isolate this from my app and I have been able to replicate this in the sample Angular app mentioned in the library's docs.
I've forked and updated the sample angular app with the latest client package and did some tidy up; https://github.com/MFredX/sample-angular-oidc-client-ts
To replicate the issue, you can swap in your own Identity Service properties and click on the Renew Token button after having signed in. You will then be able to see this issue in the Console (I've enabled logging).
On an unrelated note, I can update the existing sample angular app with this as it has some improvements.

This issue (question) staled some time ago, closing it for now.


c3d feats extraction example

Hello! Thank you for your work! Is c3d features currently not supported? I saw some traces in sources, but not sure. Could you please give any hints? Is these features have to be extracted as resnet features and later simply jointed?

It supports. you can use video-classification-3d-cnn-pytorch to extract c3d features, then mean pool to get 2048 dim feature for each video

Where is the preprocess file?

Hi! I do used the repo video-classification-3d-cnn-pytorch, but its output is a json. How can I use that with your codes?
Thank you for your work!

I used this to turn the json into npy:
import json
import numpy as np
import os

videos = json.load(open('./output.json', 'r'))

if not os.path.exists("data/3dfeature/"):
    os.makedirs("data/3dfeature/")

for video in videos:
    name = str(video["video"].split(".")[0])
    segments = video["clips"]
    feat = []
    for segment in segments:
        feat += segment["features"]
    np.save("data/3dfeature/" + name + ".npy", feat)


Create registration page/form

Please do work for this task in a branch called issue-069.
Update current sign up page

Created signup/registration page. Added position dropdown


Retry Fly.io environment metadata update on HTTP 429

The fly.Environment can fail to set the primary status if the state changes too quickly. For example, a node can startup as a "replica" and immediately get promoted to "primary" but this exceeds the rate limit of the API.

Closed via https://github.com/superfly/litefs/pull/366


Integrate w/ LLaMA

We use Ollama for integration w/ LLaMA:

Follow setup instructions note in the linked docs.

Note: output formatting for lists requires particular prompts.

Good topic for prompt management @efriis

I can get the app to run locally end-to-end w/ LLaMA2-7b as configured in this PR:

But, some notes as I hit a bunch of system errors running this:

Many additional pkgs needed beyond pip installs:brew install fontconfig, harfbuzz, pango, glib
Mismatch btwn chrome and chromedriver versions most likely throwing below error (seen in final prompt).

Message: Can not connect to the Service /Users/rlm/.cache/selenium/chromedriver/mac-arm64/116.0.5845.96/chromedriver

But these are issues independent of LLaMA, and I'm not sure they are reproduced for others.
In any case, the changes reflected here should enable running gpt-researcher locally w/ LLaMA.

Hi, i revised your code, but with this code, We cannot use it with OpenAI.... it makes more sense a selector, IMHO


Relax Designated Type Parsing; Parse Pack Expansions

Designated type parsing is pretty buggy, so we need to relax the constraints to match it
Parse pack expansion ellipses everywhere

@swift-ci test


add slash_staking_credit_update_credit_history

get_credit_map calculates PoCr earnings based on credit score history changes, and must update credit score history when unstake deducts staking credit score

Codecov Report

Merging #254 (29af549) into master (2dddbc0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #254   +/-   ##
=======================================
  Coverage   70.27%   70.27%
=======================================
  Files          53       53
  Lines       15465    15466    +1
=======================================
+ Hits        10868    10869    +1
  Misses       4597     4597

Impacted Files
Coverage Δ

pallets/credit/src/lib.rs
69.46% <100.00%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2dddbc0...29af549. Read the comment docs.


summary tag being removed

Describe the bug
I have customized rendering of markdown using customHTMLRenderer.
customHTMLRenderer.htmlBlock = {
    details(node){
        return [
                { type: 'html', content: node.childrenHTML }
            ];
    }
}

MD

  Epcot Center

Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.

Output HTML

Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.

summary tag is being removed

@ats1999
Our incremental mark-down parsing now does not support this grammar properly. I think this feature should be developed by adding it as a separate plug-in later on. It's a little bit of a future story, but I want you to wait.

I'm waiting!


Add hold-right-click as a modifier

OS
13.4.1 (22F82)
LinearMouse
0.9.2
Is your feature request related to a problem?
I'd like to be able to have an option to scroll very fast without involving keyboard. Currently I use a keyboard modifier for that
Describe the solution you'd like
Be able to assign "hold right click" or any other mouse button (like side buttons) as a modifier while scrolling
Describe alternatives you've considered
Tried BTT, but it couldn't get the level of smooth scrolling that linearmouse is capable of
Additional context
Another bright idea :) given that right mouse click is default for context menu that would prevent scrolling from working, maybe a smarter way would be to allow disabling it WHILE scrolling, so that you could start scrolling normally, then click and hold right mouse button, and instead of a contex menu you'd just get uber-fast scrolling!

Thanks for your feedback!
Perhaps this feature requires careful consideration. The easiest way to implement it would be to use a certain button (like the right mouse button) only as a modifier, thereby depriving it of its original function. However, this clearly does not meet your expectations.
Enabling this feature only when scrolling normally and then right-clicking during scrolling may also cause some issues. For instance, if the mouse wheel is not continuous, there is no real "scrolling during" period. Furthermore, this operation appears to be somewhat nonintuitive.
One solution that comes to mind is to simply do nothing when the right mouse button is pressed. If scrolling actions triggered before the button is released, it would be treated as a modifier key. Otherwise, the button press and release actions would be sent simultaneously upon release. The downside of this approach is that the right mouse button press action would be delayed until the button is released, causing the context menu to appear only after the right mouse button is released. In certain applications, such as games, this could have a significant impact.
So, I haven't figured out how to implement this feature yet. If you have any better ideas, feel free to continue the discussion.

Thanks for considering this feature

For instance, if the mouse wheel is not continuous, there is no real "scrolling during" period.

Sure, that would be the obvious limitation, but then for better mice it would still work, so it's still a net positive. But even for those mice you would be able to use it - just have to press the modifier before a scroll

Furthermore, this operation appears to be somewhat nonintuitive

Maybe, to me it's just another "speed boost" modifier no different from my current keyboard mod (which also allows pressing during scrolling)

In certain applications, such as games, this could have a significant impact.

That's why your great app has app filters! Although as far as I understand currently it only has app-specific settings and doesn't allow "all apps except for" exclusions, so maybe in addition to the "All apps" menu item you could have "Except for apps"?
Otherwise usually context menu clicks are very short, so it should't have an impact
So then there are two ways to add this feature:

before scrolling: your approach of hiding key down until key up (with an exclusion list of "games")
during scrolling: suppress key down to avoid context menu from appearing (key up shouldn't bring it up, so doesn't need to be suppressed?)

.

.

.

.

.

.


Changed type of “id” initialization parameter for LabelEntity in “add_labels” function: datasets/mmdataset.py

Due to upcoming changes in input parameters validation for OTE SDK entities in Pull Request https://github.com/openvinotoolkit/training_extensions/pull/890:
•	Changed type of “id” initialization parameter of “LabelEntity” object from integer to expected ID in “add_labels” function
Task: CVS-77297

Please, change the name of the PR: it should be simpler.
E.g. "Fix type of ID parameters in OTE SDK interface"


Simplify GitHub actions test matrix

What type of PR is this?
/kind ci
What this PR does / why we need it:
Remove the exclude section by restructuring the input data.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

@cri-o/cri-o-maintainers PTAL

/lgtm


Set up jest and cover the existing functionality with tests

@mattmilburn Could I take this task in progress?

@BorysShulyak Yes please, that would be helpful!

https://github.com/mattmilburn/strapi-plugin-do-not-delete/pull/11


(Bug) or + and incompatibility

I am unsure if this is intentional or not, but we cannot combine the conditions and and or, on execute events, for example:
%var1% contains yes or %var2% contains yes and %var3% contains yes execute TEST

As said here: https://ajneb97.gitbook.io/conditionalevents/conditions#basic-functionalities:
"You can only use a condition separator of one type in the same line. Meaning you can't mix ORs and ANDs in one condition line."


Support WebSockets in LiteFS Proxy

I successfully tested litefs on fly.io, but it seems that websocket connections are not working though the proxy.
The ws GET request arrives at the proxy, it gets proxied to the backend and in the browser I see a 101 Switching Protocols with the response headers and size 0. No messages are received. When I try to send a message from the browser the connection gets closed (Connection Closed: 1006).
2024-02-08T17:56:57Z app[178157ea245398] ams [info]level=INFO msg="proxy: GET /chat: node is primary, proxying to target"
2024-02-08T17:56:57Z app[178157ea245398] ams [info] INFO call: playground::chat: ams patte wants to connect ws

When I expose the backend port directly (so not going through the litefs proxy) everything works.
While writing this I found this thread in the forum, which seems to confirm that ws is not supported. It would be nice if this limitation is documented: Either litefs (with proxy) or websockets for one fly app.
Could I use litefs without the proxy and fly-replay write requests myself? How would I know if the local sqlitedb is synced up? I'd also be up to try to "fix" ws proxying in litefs if you think that would be a good idea to have and don't see any big roadblocks.

@patte I added a PR (https://github.com/superfly/docs/pull/1341) to document the WebSockets limitation. The tricky thing about supporting WebSockets is that messages don't have traditional HTTP verbs that indicate a read-only request versus read/write request so it's hard to know what to proxy.

Until this is merged, how to proxy secure websocket requests? (wss://). This is a blocker for using Electric Clojure with LiteFS on Fly.io.


Cloning Environment

Change Type
Correction
Proposed Changes
https://docs.cloudmydc.com/environment-management/cloning-environment

Remove jelastic domain

@cml-paul
This needs to be retaken from the platform


assert(arg->OperIsPutArg()) in Lowering::CheckCallArg

There appears to be a problem around CORINFO_HELP_JIT_PINVOKE_END that happens while compiling RuntimeExports.RhGetCurrentThreadStackTrace. To repro, just compile a hello world program with a CHK version of RyuJIT.
Not sure if codegen issue or driver issue.
JIT dump:
jitdump_rhgetcurrentthreadstacktrace.txt

The problem is that  Lowering::InsertPInvokeCallProlog creates frameAddr as local variable address and doesn't lower it.


Fix typo in files input class

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13903/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13903/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13903/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13903/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13903/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13903/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13903/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13903/merge#BCU1XR#0


Integrate with new lora_plan module

Seems like there must be a log line somewhere in the lora lib:
datarate_to_index Binary=<<83,70,56,66,87,49,50,53>>
datarate_to_index Atom='SF8BW125'
...

Could we try to remove it? Looks like an io:format/2


Latest react native

is there something in the latest react native (0.5.0) that prevents this from working?  Otherwise, can you please bump the dependency requirement?  Thanks!

@nuggien done with a5cb9f16181367d10925dd0e5f3f19e3d40c22a0. Published a new version to npm!


ignore lint errors recently added to golangci-lint

This should fix the build for the time being. We should consider using golint and go vet in the future.

Codecov Report

Merging #125 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #125   +/-   ##
=======================================
  Coverage   68.71%   68.71%
=======================================
  Files           7        7
  Lines         537      537
=======================================
  Hits          369      369
  Misses        151      151
  Partials       17       17

Impacted Files
Coverage Δ

service/client.go
84.65% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ce62fb...abe64f1. Read the comment docs.


Implementation of the very basic UI on current Jetty server

Why are the changes needed?

thanks to the pr original author @yaooqinn https://github.com/apache/incubator-kyuubi/pull/1670
After this pr, the endpoint of OpenAPI will change fromhttp://${ip}:${port}/openapi.json to http://${ip}:${port}/api/openapi.json
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[x] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

I'm looking forward to use the Kyuubi UI !

Codecov Report

Merging #2061 (969b7d3) into master (f8d9010) will decrease coverage by 0.06%.
The diff coverage is 82.60%.

@@             Coverage Diff              @@
##             master    #2061      +/-   ##
============================================
- Coverage     60.44%   60.38%   -0.07%
- Complexity       69      108      +39
============================================
  Files           305      314       +9
  Lines         14973    15172     +199
  Branches       1937     1947      +10
============================================
+ Hits           9051     9162     +111
- Misses         5156     5235      +79
- Partials        766      775       +9

Impacted Files
Coverage Δ

...e/kyuubi/server/api/v1/KyuubiOpenApiResource.scala
0.00% <0.00%> (-82.86%)
:arrow_down:

...cala/org/apache/kyuubi/server/ui/JettyServer.scala
86.95% <72.72%> (ø)

...scala/org/apache/kyuubi/server/ui/JettyUtils.scala
81.48% <81.48%> (ø)

...in/scala/org/apache/kyuubi/server/api/v1/dto.scala
68.51% <83.33%> (+3.13%)
:arrow_up:

...ala/org/apache/kyuubi/session/SessionManager.scala
85.95% <100.00%> (ø)

...ache/kyuubi/server/KyuubiRestFrontendService.scala
92.30% <100.00%> (+1.39%)
:arrow_up:

.../apache/kyuubi/server/api/v1/ApiRootResource.scala
87.50% <100.00%> (-4.50%)
:arrow_down:

...apache/kyuubi/server/api/v1/SessionsResource.scala
68.22% <100.00%> (+2.87%)
:arrow_up:

...rg/apache/kyuubi/engine/trino/TrinoStatement.scala
67.46% <0.00%> (-2.41%)
:arrow_down:

... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f8d9010...969b7d3. Read the comment docs.

thanks, merged to master


Still getting !!! Exception during processing !!! Given groups=1, weight of size [320, 4, 3, 3], expected input[2, 8, 116, 128] to have 4 channels, but got 8 channels instead

I've updated to fix channel padding branch but still getting this error
WARNING SHAPE MISMATCH diffusion_model.input_blocks.0.0.weight WEIGHT NOT MERGED torch.Size([320, 12, 3, 3]) != torch.Size([320, 4, 3, 3])
loaded completely 0.0 1639.406135559082 True
0%|          | 0/25 [00:00<?, ?it/s]
!!! Exception during processing !!! Given groups=1, weight of size [320, 4, 3, 3], expected input[2, 8, 116, 128] to have 4 channels, but got 8 channels instead
Traceback (most recent call last):
File "/home/ubuntu/ComfyUI/execution.py", line 317, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/home/ubuntu/ComfyUI/execution.py", line 192, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/home/ubuntu/ComfyUI/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/home/ubuntu/ComfyUI/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/home/ubuntu/ComfyUI/nodes.py", line 1429, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "/home/ubuntu/ComfyUI/nodes.py", line 1396, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/sampling.py", line 116, in acn_sample
return orig_comfy_sample(model, *args, **kwargs)
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/utils.py", line 116, in uncond_multiplier_check_cn_sample
return orig_comfy_sample(model, *args, **kwargs)
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Impact-Pack/modules/impact/sample_error_enhancer.py", line 22, in informative_sample
raise e
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Impact-Pack/modules/impact/sample_error_enhancer.py", line 9, in informative_sample
return original_sample(*args, **kwargs)  # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations.
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/sampling.py", line 420, in motion_sample
return orig_comfy_sample(model, noise, *args, **kwargs)
File "/home/ubuntu/ComfyUI/comfy/sample.py", line 43, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 829, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 729, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 716, in sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 695, in inner_sample
samples = sampler.sample(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 600, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/utils/contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/home/ubuntu/ComfyUI/comfy/k_diffusion/sampling.py", line 688, in sample_dpmpp_2m_sde
denoised = model(x, sigmas[i] * s_in, **extra_args)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 299, in call
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 682, in call
return self.predict_noise(*args, **kwargs)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 685, in predict_noise
return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 279, in sampling_function
out = calc_cond_batch(model, conds, x, timestep, model_options)
File "/home/ubuntu/ComfyUI/comfy/samplers.py", line 226, in calc_cond_batch
output = model_options['model_function_wrapper'](model.apply_model, {"input": input_x, "timestep": timestep, "c": c, "cond_or_uncond": cond_or_uncond}).chunk(batch_chunks)
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-IC-Light-Native/ic_light_nodes.py", line 116, in wrapper_func
return existing_wrapper(unet_apply, params=apply_c_concat(params))
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-IC-Light-Native/ic_light_nodes.py", line 108, in unet_dummy_apply
return unet_apply(x=params["input"], t=params["timestep"], **params["c"])
File "/home/ubuntu/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/utils.py", line 68, in apply_model_uncond_cleanup_wrapper
return orig_apply_model(self, *args, **kwargs)
File "/home/ubuntu/ComfyUI/comfy/model_base.py", line 142, in apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/home/ubuntu/ComfyUI/comfy/ldm/modules/diffusionmodules/openaimodel.py", line 852, in forward
h = forward_timestep_embed(module, h, emb, context, transformer_options, time_context=time_context, num_video_frames=num_video_frames, image_only_indicator=image_only_indicator)
File "/home/ubuntu/ComfyUI/comfy/ldm/modules/diffusionmodules/openaimodel.py", line 50, in forward_timestep_embed
x = layer(x)
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/home/ubuntu/ComfyUI/comfy/ops.py", line 106, in forward
return super().forward(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 458, in forward
return self._conv_forward(input, self.weight, self.bias)
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 454, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
RuntimeError: Given groups=1, weight of size [320, 4, 3, 3], expected input[2, 8, 116, 128] to have 4 channels, but got 8 channels instead

same

Had the same problem. First you need to make sure you installed [layerdiffuse]. What works for me is to upgrade this custom node via comfyUI manager. Click "try update" button.

same

same

Had the same problem. First you need to make sure you installed [layerdiffuse]. What works for me is to upgrade this custom node via comfyUI manager. Click "try update" button.

Have you updated your comfyUI?

Had the same problem. First you need to make sure you installed [layerdiffuse]. What works for me is to upgrade this custom node via comfyUI manager. Click "try update" button.

Have you updated your comfyUI?

LayerDiffuse encounters the same error even when properly installed and loaded. The same workflow functions correctly in ComfyUI 0.10. However, in upgraded versions of ComfyUI, the aforementioned error occurs.
Version 0.10 operates on 2.3.1+cu121, while the upgraded versions run on 2.4.0+cu121. For testing purposes, I recently installed version v0.1.3 separately and tested the same workflow, resulting in the same error.
In the current situation, temporary solutions to test include:
Using ComfyUI v0.1.0
Installing the latest version of ComfyUI and then downgrading to 2.3.1+cu121
Using ComfyUI-IC-Light instead of ComfyUI-IC-Light-Native

Update your ComfyUI and this extension to latest veresion. https://github.com/huchenlei/ComfyUI-IC-Light-Native/pull/43 should fix this issue.

I found a solution. Delete ComfyUI-IC-Light-Native and use ComfyUI-IC-Light. Go to ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IC-Light where IC-Light is installed, open CMD, and type git pull to run it. The update will proceed and no errors will occur afterward. There are many cases where the update does not proceed properly even when ComfyUI-Manager is updated, so proceed with the update as above.
Thanks for your hint. I solved it.      by git pull native

I found a solution. Delete ComfyUI-IC-Light-Native and use ComfyUI-IC-Light. Go to ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IC-Light where IC-Light is installed, open CMD, and type git pull to run it. The update will proceed and no errors will occur afterward. There are many cases where the update does not proceed properly even when ComfyUI-Manager is updated, so proceed with the update as above.
Thanks for your hint. I solved it.      by git pull native

Are u kidding ?Delele ComfyUI-IC-Light-Native？
ComfyUI-IC-Light-Native and use ComfyUI-IC-Light are different node and use different UNET,i found that the way of lighting solution been reached is more better than ComfyUI-IC-Light, now i want to use ComfyUI-IC-Light-Native but you tell use delele it ?

https://github.com/huchenlei/ComfyUI-IC-Light-Native/issues/47#issuecomment-2315243914  @JimWang151

#47 (comment) @JimWang151

I think IC-Light and Ic-light native no relationship.


Fix some untested doctest for namespace

Found the doc test of 'notna' is not tested properly like below.

Fixed some mistakes in how to execute the function so that it is properly tested.
And add doctest for when object not DataFrame or Series.

could someone check this out when available?
Thanks :)

Codecov Report

Merging #748 into master will decrease coverage by 2.3%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #748      +/-   ##
==========================================
- Coverage   93.86%   91.55%   -2.31%
==========================================
  Files          32       32
  Lines        5671     5671
==========================================
- Hits         5323     5192     -131
- Misses        348      479     +131

Impacted Files
Coverage Δ

databricks/koalas/namespace.py
80.66% <ø> (-0.34%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
77.5% <0%> (-7.5%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/frame.py
94.53% <0%> (-1.71%)
:arrow_down:

databricks/koalas/plot.py
93.82% <0%> (-1.13%)
:arrow_down:

databricks/koalas/utils.py
97.24% <0%> (-0.69%)
:arrow_down:

databricks/koalas/testing/utils.py
77.35% <0%> (-0.63%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f06f47...33f53eb. Read the comment docs.


Deprecation Warnings

Hi.After the swift 4 update alot of deprecation warnings appeared. Are you still maintaining this library?Thanks for the help beforehand.

Fixed version 0.1.4


Multiple apps

When using the powershell sript, it requires the AppID. What if the user is to be authorised for use of more than one application?

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

ID: f8e1cf65-2201-42ab-7513-de1833ad1c66
Version Independent ID: e6e10378-90cf-6e9f-41ae-10510e35e012
Content: Grant B2B users access to your on-premises apps - Azure Active Directory
Content Source: articles/active-directory/b2b/hybrid-cloud-to-on-premises.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@Lonnard Thanks for reaching out to us. The script provided is just used to create the user objects in AD and does not involve authorizing the users to the application.
The AppID used in the script is used to get an access token and pull the details of the B2B users from Azure AD. Hope this helps.

Thanks, it is what I suspected but wanted to be sure so I can add to my design proposal.


Duplicate files returned onSuccess when uploading more than 5 files

When uploading 5 or more files, the files returned in the callback on success contains duplicate files. The metadata (handle, file size, file type, file name) is correct, but when you visit the file link it all points to the same files.

I found the issue. The path in storeTo must end in / or it'll return the wrong files


'resolve()' in 'CourseRequestHandler' can cause an infinite loop with certain file name

resolve() in L249 keeps calling changeName until a new unique filename has been set by the changeName(). However changeName() does nothing to files that have no extensions or those that have extensions with strings between paranthesis. This causes an infinte loop L248.

This could also be the reason for the ANR when refreshing courses in the MyCoursesFragment and not because of a large number of enrolled courses as mentioned in #225.


SingleFileGenerator and ResX generation support

This adds support for creating pkgdef elements that specify SingleFileGenerators in remote assemblies. I've also defined the SFG's for ResX code file generation. However, the designer currently expects the IVsHierarchy to implement IVsSingleFileGeneratorFactory, and it does not, the combobox is disabled. Manually changing the CustomTool property, or using the Run Custom Tool entry in the right-click project menu, produces the right results.

Tagging @dotnet/project-system for review.

@dotnet-bot retest this please

@dotnet-bot retest release please

👍

@Srivatsn, do I need to include anything for VB in here as well?

Ah yes please do.

I've retried the release build twice, still no luck on getting past that vsix bug.


vendor: update moby/ipvs v1.0.1

full diff: https://github.com/moby/ipvs/compare/v1.0.0...v1.0.1

Fix compatibility issue on older kernels (< 3.18) where the address
family attribute for destination servers do not exist
Fix the stats attribute check when parsing destination addresses
NetlinkSocketsTimeout should be a constant

@arkodg @cpuguy83 PTAL

Unit tests failing. I can't re-run them.

DEBU[0212] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10033: connect: connection refused

DEBU[0212] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10034: connect: connection refused

DEBU[0212] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10035: connect: connection refused

ERRO[0212] Failed to join memberlist [<IP_ADDRESS>:10033 <IP_ADDRESS>:10034 <IP_ADDRESS>:10035] on retry: 3 errors occurred:

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10033: connect: connection refused

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10034: connect: connection refused

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10035: connect: connection refused

DEBU[0213] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10034: connect: connection refused

DEBU[0213] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10033: connect: connection refused

DEBU[0213] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10034: connect: connection refused

DEBU[0213] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10035: connect: connection refused

ERRO[0213] Failed to join memberlist [<IP_ADDRESS>:10033 <IP_ADDRESS>:10034 <IP_ADDRESS>:10035] on retry: 3 errors occurred:

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10033: connect: connection refused

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10034: connect: connection refused

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10035: connect: connection refused

DEBU[0213] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10033: connect: connection refused

DEBU[0213] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10034: connect: connection refused

DEBU[0213] memberlist: Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10035: connect: connection refused

ERRO[0213] Failed to join memberlist [<IP_ADDRESS>:10033 <IP_ADDRESS>:10034 <IP_ADDRESS>:10035] on retry: 3 errors occurred:

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10033: connect: connection refused

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10034: connect: connection refused

	* Failed to join <IP_ADDRESS>: dial tcp <IP_ADDRESS>:10035: connect: connection refused

--- FAIL: TestNetworkDBIslands (123.83s)

    networkdb_test.go:846: timeout hit after 2m0s: node4:Waiting for all nodes to cleanly leave

FAIL

Kicked CI


More robust Docstring summary

Prevents unclosed parentheses to break the summary.
Please, see Process.detach at http://www.rubydoc.info/stdlib/core/Process and IO.select at http://www.rubydoc.info/stdlib/core/IO.

I like this, thanks!


Is tree-shaking working?

I see my issue https://github.com/IBM/carbon-addons-iot-react/issues/793 is already closed. I tried the steps mentioned in it with latest version 2.55.2, but I don't think tree-shaking is working. Then I tried 'npx create-iot-react-app' to create a hello world app, and run 'yarn build', I got the following after running source map analyzer against the biggest bundle files generated.

In App.js, only 5 components are imported, but the bundled index.js is 1.34MB. So I doubt if tree-shaking is really working, or I need apply any additional steps in the created simple app.
import {
  HeaderContainer,
  Header,
  SideNav,
  Button,
  PageTitleBar
} from "carbon-addons-iot-react";

Per my understanding, to support tree-shaking, carbon-addons-iot-react should be bundled in es module, i.e. there should be "module" entry in package.json, and "sideEffects:false" as well. But I didn't find them.
And I see lots of unused components are bundled from carbon-component-react even they are not used in App.js. If I directly import components from carbon-component-react, tree-shaking works well.
I really need to get the answer since after importing carbon-addons-iot-react, our bundle becomes extremely bigger than before and I am still only using Stateful component.  Thanks!

Do you have webpack configuration that you can post?  I think this could be a potential easy bug to miss.

Also, this statement sounds like you are looking for this configuration in our packages.json. This would need to be in the consuming applications package.json

Per my understanding, to support tree-shaking, carbon-addons-iot-react should be bundled in es module, i.e. there should be "module" entry in package.json, and "sideEffects:false" as well. But I didn't find them.

I am trying to test to see if I am able to get the packages to tree shake. Will update once I have more information.

@scottdickerson was able to confirm that they are able to achieve tree shaking without having to change any configuration.

Hey @ilovepumpkin i think we need to add the sideEffects property in our Package.json like you mention above. Will test and update.

@ilovepumpkin thank you for making us look at this again. I am testing a fix and should have a PR open soon.

Oh, great! I am glad you have found the solution so quickly. Just let me know once you fix it -  I can not wait to try it, :D

just an FYI @ilovepumpkin and @davidicus I don't think the Source Bundle Analyzer really helps you understand tree shaking in webpack 4: https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/161
I had to actually look at my uglified production file size to verify the tree was shaken.

Hi @scottdickerson, actually I am using source-map-analyzer for the above screenshot, not webpack-bundle-analyzer.

:tada: This issue has been resolved in version 2.61.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@davidicus  Today when I was testing your new build in my application, I was very glad to see that the bundle size issue is fixed (thank you so much!), but the carbon-addons-iot-react styles are all gone - carbon-addons-iot-react.css is imported in my App.jsx and it works well with previous version.
After investigation, I found the sideEffects should be set in the following way so it can work.
"sideEffects":[ "**/*.css", "**/*.scss"]
With '"sideEffects": false',  if I import carbon-addons-iot-react.css in my project main.scss, it also works.
But you don't know how consuming applications use it, so I would suggest your fix it.  Will you?


Cannot draw loose selection when marching ants is active

When using the loose selection tool a dotted line is drawn around the "loose selection". The first time using the loose selection tool the dotted line is draw fine however after the first loose selection is made the second selection used marching ants to draw instead of the dotted line. It seems like a switch in modus is mage because drawing of the ants seems far more laggy.
Related files (?):
loose.directive.js
edit-engine.ts
draw-eninge.ts

Fixed in commit 634313e


Add Homatic I (Local) integration fails with :"Invalid handler specified"

I agree to the following

[X] I have read the documentation right now
[X] I have read the FAQs right now
[X] I am aware of the latest release notes
[X] I am aware that an integration that was installed via HACS also needs to be updated via HACS
[X] The Backend (CCU/Homegear/...) is working as expected, devices are taught in and are controllable by its own UI.
[X] I am running the latest version of the custom_component (and Home Assistant)

The problem
I try to add the Homatic I (Local) integration on the Integrations Dashboard (config/integrations/dashboard).
The Homematic(IP) Local HAC is installed in the latest 1.64.0 on my fresh Home Assistant 2024.8.0.
I try to finish step "Configuring custom_homematic" in the tutorial.
After pressing "ADD INTEGRATION" i can search and find the "Homeatic(IP) Local" integration.
When I click on the integration, an error message appears with:
Config flow could not be loaded: {"message":"Invalid handler specified"}

What version of HomematicIP (local) has the issue?
1.64.0
What was the last working version of HomematicIP (local)?
No response
What type of installation are you running?
Home Assistant Container
What type of installation are you running for your homematic backend?
CCU3
Which version of your homematic backend are you running?
No response
What hardware are you running for your system?
No response
Which config details do you use

[ ] TLS
[ ] callback data (see)

Which interfaces do you use?

[ ] Homematic IP
[ ] Homematic (Bidcos-RF)
[ ] Groups (Heating-Group)
[ ] BidCos-Wired (HM-Wired)

Diagnostics information (no logs here)
No response
Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!
No response
Additional information
No response

Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!

Please add logs.

Goo point... added the log output which shows another error message as well.

Please add the whole log.

📃 Full log
home-assistant_2024-08-10T12-25-32.937Z.log

Error occurred loading flow for integration homematicip_local: No module named 'hahomematic'

This indicates that your HA is not able to download the required backend dependency 'hahomematic'.
This is more of a problem in HA on your system than an integration issue.
Restart HA try again, If that doesn't help you should enable debug logging for HA (not only for this integration) restart HA and try again.

@SukramJ Thanks for your support.
I downloaded the HARC again, and now it works.


confusing error when PHANTOM_PATH is bad

when I updated to newest Meteor release today I all of a sudden was getting this error from CircleCI that used PHANTOM_PATH
probably should be fixed upstream but wanted to capture it somewhere
W20150226-01:37:48.301(0)? (STDERR) fs.js:408
W20150226-01:37:48.301(0)? (STDERR)   return binding.close(fd);
W20150226-01:37:48.302(0)? (STDERR)                  ^
W20150226-01:37:48.303(0)? (STDERR) TypeError: Bad argument
W20150226-01:37:48.303(0)? (STDERR)   at fs.closeSync (fs.js:408:18)
W20150226-01:37:48.303(0)? (STDERR)   at Object.closeSync (/home/ubuntu/.meteor/packages/velocity_core/.0.4.5.bned78++os+web.browser+web.cordova/npm/node_modules/chokidar/node_modules/readdirp/node_modules/graceful-fs/graceful-fs.js:114:12)
W20150226-01:37:48.303(0)? (STDERR)   at ChildProcess.<anonymous> (/home/ubuntu/amplifield/.meteor/local/build/programs/server/packages/xolvio_webdriver.js:256:19)
W20150226-01:37:48.303(0)? (STDERR)   at ChildProcess.emit (events.js:98:17)
W20150226-01:37:48.303(0)? (STDERR)   at Process.ChildProcess._handle.onexit (child_process.js:810:12)

latest version uses Meteor's phantom, but the error should still be fixed I guess for custom paths


Expose classpathElementOrderURLs

I am very interested in your library to solve a typical problem. Fetching the effective classpath. I have two suggestions to make, and would like to know what you think about them:

I have seen that ScanResult exposes public List<File> getUniqueClasspathElements()  but there is no getter for classpathElementOrderURLs. I think it makes sense you stop working with File, and move to things like Path, or just plain URL. For us, that we work exclusively with Path (as you can better unit test it), is seems unnecessary having to transform the output of your library.

I see that the classpath fetching is very much inside the Scan. Now, I am not really interested on requesting a full scan, just to fetch the classpath. I suspect the performance difference to be huge. Why dont you extract the functionality to fetch the classpath into a different artifact?

Thanks for your code. It is very useful.

Hi @rupebac,
I agree that fetching the effective classpath is a major usecase for FCS. It has been a lot of work to get FCS to work with the myriad of classpath specification mechanisms that exist out there in the wild, and nobody should have to repeat that work.
There are several reasons that I didn't just return the raw URLs obtained from the classloaders. Currently, getUniqueClasspathElements() is guaranteed to only return File classpath elements that actually exist, and that pass file canonicalization (i.e. where there is no exception thrown during canonicalization). The reason it passes through Scanner is that canonicalization can be very time consuming on some filesystems -- in benchmarks, it amounted to quite a significant percentage of total scan time for some scanning workloads -- so I wanted to fully parallelize all the canonicalizations. (Canonicalization is required to find duplicate classpath elements, as well as elements that are rooted within other classpath elements, to eliminate duplicated scanning, among other things.) Also, if a classpath URL is a reference to a jar within a jar, then the inner (or innermost) jar is extracted to a temporary file, and the path to that innermost file is returned to the caller. Similarly, any http(s):// URLs on the classpath are fetched to temporary files before being returned. This happens right before the canonicalization step, and is also performed in parallel. And, importantly, a jar manifest file can contain a Class-Path: entry that pulls another jarfile into the classpath, so to get the whole classpath, you actually have to have physical access to every jarfile on the classpath (including jars within jars, and remote jars). Manifest file reading is also parallelized.
In Scanner.java line 301, you will see if (enableRecursiveScanning) { ... } -- a full scan is not performed if you are only getting classpath elements. So in general, if you are only interested in the actual classpath elements, you are only paying the cost of canonicalization and testing for file existence.
Ultimately you should test the performance of the call as it is implemented, and if there are performance issues, please let me know. I think you'll find that the call is generally very fast, since none of the classpath elements are actually opened for reading, except to read the manifest file in the case of jars.
You're right though, I had meant to add getUniqueClasspathElementURLs(), but forgot to do so when I added that field to ScanResult. That method is now in both ScanResult and FastClasspathScanner in git master.
If you want just the raw URLs reported by the classloaders, I could also provide a function for fetching these, but they don't provide the full picture, since additional Class-Path: manifest entries may be present somewhere in the classpath. I don't think it makes sense to report the raw URLs.
Also, just as a heads-up, I'm working on adding Java 9 support in the near future, and for modules, there really isn't a concept of classpath URLs anymore (you can get a module URI, but it's not a real URL), so I'm not sure how this will affect the API.

PS the reason I don't work with Path is because it is a horribly slow and inefficient API. I benchmarked the heck out of a range of systems for working with paths, files and URLs, and Path was really slow in some cases, so I don't even use it internally, except in one or two cases where it was necessary.

Alright. Thanks for the explanation. It makes fully sense now. I did not think on canonicalization.
I was not aware of the inefficiency of the Path implementation in Java 8.
As you have explained I do not think it makes much sense to add support to return the URLs as it from the class loaders.
Interesting discussion about NIO vs IO performance:
https://stackoverflow.com/a/7611531/1043677
Feel free to close the issue.
Thanks!

Path is probably not particularly inefficient given all that it does, and it's a nice API (perhaps the only nice way to deal with paths and URLs in a unified way in Java). But there are just faster ways to get the job done when you care about speed, and when you're processing a large number of paths.
Thanks for reporting, will close the issue. I'm pushing out version 2.9.4 now with the additional API calls.


Ensure that the node status is no longer pending when checking lock/unlock.

This is an addendum to https://github.com/docker/docker/pull/28997.  cc @aaronlehmann

Earlier I suggested doing this, but now I'm not sure.
Won't Restart block until the node leaves the pending state, unless something is really wrong and the node doesn't come up by the deadline?
ping @tonistiigi

@aaronlehmann I'm not sure if something went very wrong, but I saw a test run where it ended up in pending state.  Looking at the logs, it seems like it couldn't connect to the other 2 nodes immediately (I see some health check failure errors), and it took it about 50 seconds to acknowledge a leader - it looks like the query to the /info endpoint happened before that happened?  Not sure I'm interpreting this right:
https://gist.github.com/cyli/9bc0ced5fc582b47d80a787441a2c106

@aaronlehmann Yes, restart waits for 20 seconds for the node to become active. In https://gist.github.com/cyli/9bc0ced5fc582b47d80a787441a2c106#file-docker-log-L826 it shows that it didn't finish in time for that. I'm not sure if it not finishing in time shows a bug or wrong timeouts. Previously we have discussed about these timeouts being in swarmkit side where it could make a more precise decision to give up or wait more if the election has not finished.

@cyli: Do you have the Git revision corresponding to that log? The problem is supposed to be fixed by https://github.com/docker/swarmkit/pull/1779, which was vendored on master yesterday.

@aaronlehmann https://github.com/cyli/docker/commit/083511414d339d6621ea7ef2d1422f62919b4c5d - I basically copied and pasted swarmkit master with some log stuff into the docker repo, since I was actually trying to reproduce a different error (in the gist I stripped out my debugging messages, since they didn't seem relevant).
https://github.com/cyli/docker/commit/083511414d339d6621ea7ef2d1422f62919b4c5d#diff-5bdd3b513fc40e864b6b1974f1e8328c seems to have your changes from https://github.com/docker/swarmkit/pull/1779.

Should https://github.com/docker/swarmkit/pull/1797 supersede this PR?  This would make it less likely the tests would fail, but perhaps we want the tests to be flakey if leader election takes too long?

👍, I think there is an SwarmKit bug delaying convergence that hopefully docker/swarmkit#1797 will fix. I agree it's better to address the root cause than change the tests to tolerate the issue.


x/exp/shiny/driver/windriver: Consider using BV4*Mask instead of swizzle.BGRA(b.buf)

Hi, everyone.
Why not use BITMAPV4HEADER fields BV4{Red, Green, Blue }Mask instead of moving bytes around?
https://github.com/golang/exp/blob/master/shiny/driver/windriver/windraw.go#L19
bi := internal.BITMAPV5HEADER{}
bi.Size = uint32(unsafe.Sizeof(bi))
bi.Width = int32(size.X)
bi.Height = -int32(size.Y)
bi.Planes = 1
bi.BitCount = 32
bi.Compression = internal.BI_BITFIELDS
bi.SizeImage = uint32(size.X * size.Y * 4)

// no bytes shuffling
bi.BV4RedMask = 0x000000FF
bi.BV4GreenMask = 0x0000FF00
bi.BV4BlueMask = 0x00FF0000
bi.BV4AlphaMask = 0xFF000000

var ppvBits *byte
hbitmap, err := internal.CreateDIBSection(0, &bi, internal.DIB_RGB_COLORS, &ppvBits, 0, 0)

I`ve tried it on my Windows 10 machine, and it works quite well.
Should be supported from Windows 2000.

@ngreduce that sounds like good suggestion to me. Would you like to send a change to implement this? See https://golang.org/doc/contribute.html for how to contribute.
Thank you very much.
Alex

Yes, I can send a patch to Gerrit next week.
Issue was opened in case there is a known drawback with this change.


Animation panel doesn't show properties....

...or I'm doing something wrong.

Yes, I did something wrong!


paper connected

Is there any paper on this project? or  May I have your permission to refer to your project to complete my coursework？

@HKDZ11 :
Yes, there is indeed a paper on this project.
It is accessible in IEEEXPLORE.
Authors' copy is accessible at here.
It would be our pleasure to refer to it and cite it: 👍
Here is the BIBTEX code to do so:
@INPROCEEDINGS{10629612,
  author={Yehya, Batoul Abo and Salhab, Nazih},
  booktitle={2023 4th International Conference on Data Analytics for Business and Industry (ICDABI)},
  title={Telecommunications Fraud Machine Learning-based Detection},
  year={2023},
  volume={},
  number={},
  pages={656-661},
  keywords={Surveys;Measurement;Industries;Deep learning;Accuracy;Reviews;Prevention and mitigation;Fraud Detection;Telecommunications Fraud;Machine learning;International Revenue Share Fraud (IRSF);Wangiri;Calling Line Identification (CLI) Spoofing},
  doi={10.1109/ICDABI60145.2023.10629612}}


TileLayer WMS displacement on IITC Leaflet map

I've been trying to load an overlay with tiles using L.tileLayaer.wms but result contains a displacement on the tiles which I first assumed it was due to projections but it is not.
The IITC map.options.crs.code returns "EPSG:3857", which is the same projection the WMServer is using.
Check these two images showing an example on IITC and on a new Leaflet map: http://imgur.com/a/TN8yR
edit: The same thing happens when adding an imageOverlay

Could you provide sample plugin for reproducing the issue?


Hi kikto

I would like to use your script to md5sum a file. However, it doesn't work really well. I read the file into a string, However, even I change the part of file. The value is same and different from the Linux md5sum

With the data you gave me there's very little I can do. You might be trying to open the file in text mode instead of in binary mode.
You can read more about that here: http://www.lua.org/pil/21.2.2.html
I will close down this issue now. If you need more help, feel free to reopen it (make sure that you include the code that you are using, the file you are testing, the linux version you are using, and the exact linux md5 command)

Hello @rc3097 ,
Recently we discovered an issue with Lua 5.2 (not LuaJIT or Lua 5.1) - it was not calculating the md5 correctly for big files (details in #4). If you where using Lua 5.2, it's possible that your problem was related to this. Please try the new version in master (I have also pushed a new version to luarocks).
Regards!

I found the way to figure out that. Tell you later
On Mon, Apr 6, 2015 at 1:01 PM, Enrique García<EMAIL_ADDRESS>wrote:

Hello @rc3097 https://github.com/rc3097 ,
Recently we discovered an issue with Lua 5.2 (not LuaJIT or Lua 5.1) - it
was not calculating the md5 correctly for big files (details in #4
https://github.com/kikito/md5.lua/issues/4). If you where using Lua
5.2, it's possible that your problem was related to this. Please try the
new version in master (I have also pushed a new version to luarocks).
Regards!
—
Reply to this email directly or view it on GitHub
https://github.com/kikito/md5.lua/issues/3#issuecomment-90156793.