some typos in installation and usage guide (alguns erros de Digitação nos guias de instalação e uso)

Describe the bug
A clear and concise description of what the bug is.
From https://github.com/g0dkar/qrcode-kotlin
In installation:

Repo qrcode-kotline:4.1.1 not found
Execution failed for task ':compileKotlin'.

Could not resolve all files for configuration ':compileClasspath'.
Could not find io.github.g0dkar:qrcode-kotlin:4.1.1.
Searched in the following locations:
https://repo.maven.apache.org/maven2/io/github/g0dkar/qrcode-kotlin/4.1.1/qrcode-kotlin-4.1.1.pom

In usage:

val pngBytes = helloWorld.render() // return error None of the following functions can be called with the arguments supplied.
write(ByteArray!) defined in java.io.FileOutputStream
write(Int) defined in java.io.FileOutputStream
All issues was solved by changing :
Todos os problemas foram resolvidos alterando

// Use this for both Android and JVM
implementation("io.github.g0dkar:qrcode-kotlin:4.1.1")

To
implementation("io.github.g0dkar:qrcode-kotlin:4.1.0")

// By default, QRCodes are rendered as PNGs.
val pngBytes = helloWorld.render()
FileOutputStream("hello-world.png").use { it.write(pngBytes) }
To
// By default, QRCodes are rendered as PNGs.
val pngBytes = helloWorld.renderToBytes()
FileOutputStream("hello-world.png").use { it.write(pngBytes) }

Heya! Thanks for the report! I had some issues with the release process but this should be fixed soon 😅

I have the same problem.
This way fixed to me:
.render() --> .renderToBytes()

Heya, finally found out what was going wrong with the deployment. The 4.1.1 version should be up soon!
Sorry for the delay, I had COVID and wasn't feeling well at all x_x
Let me know if you can access the 4.1.1 version and if it solves the issues :)


validation rules: error in docs

Laravel Version: 5.4
Voyager Version: 0.11.8

Description:
As indicated in the voyager docs https://the-control-group.github.io/voyager/docs/0.11/#core-concepts-bread-validation under "Validation" rules can be declared like this:
{     "validation": {         "rules": [             "required",             "max:12"         ]     } }
IMO it only works with the singular "rule" instead of "rules":
{     "validation": {         "rule": [             "required",             "max:12"         ]     } }
This can be verified under Controller.php starting at line 45.

This has since been resolved.

how to validatate number


[SPARK-4644][Core] Implement skewed join

Skewed data is not rare. For example, a book recommendation site may have several books which are liked by most of the users. Running ALS on such skewed data will raise a OutOfMemory error, if some book has too many users which cannot be fit into memory. To solve it, we propose a skewed join implementation. Design Doc

@rxin @zsxwing what is the status of this PR?

Let's close this pull request for now. I think we should revisit this topic in the future to implement sort-based join and aggregation for DataFrames and SQL. We can reuse some of the code from here then.

OK. Closing it.


node-permissions

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: node-permissions
Document link: node-permissions.md
My Issue/Suggestion
Please explain how to unlink a node from an app

Hi Carles, saw your post on Slack as well, does this cover what you're looking for?: https://docs.mendix.com/developerportal/deploy/licensing-apps/#unlink-licensed

Yes, you're right. I was reading the document but I skip this part! :-) Sorry and thanks for being so quick!

No problem, glad we sorted it out, cheers!


Handle filenames of the form 'xxx_June-13-2018'

This is a bit complex to implement and I'm not sure it's needed.


Standardize formatting of manifests/i/Iterate/MountainDuck/<IP_ADDRESS>33

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


add 35K loot drop box to page

on the page https://live.sovryn.app/liquidity
at the top we have a box which shows 40k loot drop for the  SOV/rBTC pool.
request is to add another box next to it for the 35K loot drop for the ETHs/rBTC pool.

Start date on the ETH pool needs to be changed to the 27th. (in the box)


Android-SDK

Could you try this Android-SDK template for a cloud9 workspace. I don't think my testing it will prove anything about it working on Cloud9.

Awesome! Will review and test and keep you posted!

@hpssjellis this is sweet, I've been anticipating the first template PR for a while and it's finally here!

Might be a good idea to install the SDK visible within the users workspace (not sure if that messes things up). Keep me posted this week about the errors. I can't help much with Docker but can help with testing various bash commands. If you want me to do some testing on a trial workspace give
jerteach
read or read/write access.

Looks good, just put a few comments on things to fix before we merge it

Can we close this one in favour of #10 which cleans up a lot of these things?

@justin8 agreed. Perhaps @nonken is an owner of this and can move forward with that or else @hpssjellis can make that happen since he opened it up. Let's move forward in #10

Never done that before but I was able to merge the pull request with the
main branch. It seemed to work. Thanks for all your help.
What next?
Jeremy Ellis

Closed in favour of #10
@hpssjellis We just need to get it reviewed and then merged. Since I helped write part of it I'll have to get someone else to review it ;)

I suggest @justin8 be the maintainer. If you want to see what I plan to do with this Android-SDK checkout the very cool github at https://github.com/hpssjellis/bash-install-android-sdk-auto-app-create-on-cloud9 it makes the android app and puts it on a webpage.
The docker file will make it even easier.


Break the UI into several pieces.

Move the different panel into different files. This way, work can happen
in several of them independently.

Hello,
Just a preview of what I wanted to do. This is not ready yet and there a couple of things from the previous interface I liked a lot that I would like to bring back.

Thanks for this @ArthurSonzogni. I realize the idea of making it modular is very much needed.

Hi @SAtacker,
I believe this is ready. Could you please take a look?
I didn't managed to reproduce the previous style with 3 sub menu. I believe this could be easily done by implementing:
https://github.com/ArthurSonzogni/FTXUI/issues/126

Thanks for this @ArthurSonzogni. I haven't yet tried it, will report here asap.

I updated the patch. It is now containing multiple section, using the work from:
https://github.com/ArthurSonzogni/FTXUI/pull/131
Please let me know if you have comments on this patch.

@ArthurSonzogni it's so much better than panel and scrolling works too.

Great to hear!
Do you need anything from me, before merging this patch?

No @ArthurSonzogni. That's a lot of help already. :smile:


Hierarchy API does not support @public on vals in constructors

Type of issue: feature request

Impact: API addition (no impact on existing code)

Development Phase: request
Other information

This is pretty easy to work around, but it might be nice to have support for this.
https://scastie.scala-lang.org/debs-sifive/zAVcJfvxTnGqhKLbTa7sUw/51
This does not work:
@instantiable
class PassThrough(@public val hello: String) extends Module {
  ...

Workaround:
@instantiable
class PassThrough(val hello: String) extends Module {
  @public val hello = hello
  ...

Please tell us about your environment: See Scastie.

What is the use case for changing the behavior? Less typing.

I think this is the documented behavior...

@mwachs5 do you know where that's documented?

See the hierarchy cookbook, search for @public val clock

https://github.com/chipsalliance/chisel3/blob/master/docs/src/cookbooks/hierarchy.md
To mark a superclass's member as @public, use the following pattern (shown with val clock).
import chisel3._
import chisel3.experimental.hierarchy.{instantiable, public}

@instantiable
class MyModule extends Module {
  @public val clock = clock
}

Oh gotcha, yes the workaround is pretty much to do what's normal. I just think it's kind of confusing/verbose to have to make another val and @public the second one.


Windows x64 build not visible on official website

You have to grab it off the releases page.

That's because plot twist the 64 bit build is not 64 bit....
It is a copy of the 32bit version named that way so 64bit windows users can update to 3.0.0

oh
i feel dumb now


add test for compute task retry

This is a revival of https://github.com/SubstraFoundation/substra-tests/pull/27

cc @inalgnu FYI

@samlesu the test takes 50 seconds on my machine (15 seconds with this change in substra-backend: https://github.com/SubstraFoundation/substra-backend/pull/85)

LTGM thanks!


PP-12015: Add GHA to check docker sources are manifests

WHAT
Use the reusable workflow in pay-ci to ensure all FROM lines in the Dockerfile are pointing to manifest files

This repo isn't one that uses manifests (until we get to java 21) so we don't want this for now


Error when clicked...

I clone the repo in my pc, in the index page when I click in the "I'd like to create..." occurs a error "Error fetching data. Please try again". I'm using Brave web browser.

Hello @gabriel-q7.
Thanks for pointing this out, I'm going to try and reproduce it and see if I encounter the same issue.

The error is caused by the fact that you're not using a local server that serves both the resources and the index.html file. If you open it using VSCode live server extension, everything will work fine.
But this issue would trigger a feature for it to run on Vite, so everyone contributing can easily get along.
So I'm going to close this issue and create a new issue with a feature tag. But if you are interested in adding Vite yourself (because you discovered it and you should take the credit), please let me know.

Got it. I try it with live server, it worked. I'm not used to Vite, but this topic could be in a further discuss.


Enable virtual-assistant release to NPM

RHCLOUD-32302
This issue is to enable virtual-assistant extension release to NPM

Added do-not-delete branch.  This allowed virtual assistant to be released as a prerelease to npm.


Refactor and clean up the decode/encode_pg_control functions

See commit messages.
This tries to document the transmute issues (https://github.com/zenithdb/zenith/issues/207) in code comments. How to solve that is a separate discussion, but let's at least add warnings to the code about it, until it's fixed.

In #208 I was able to tidy up the crc code: link. No OFFSETOF_CRC const needed.
Also, encoding and decoding functions should be implemented against the struct; no need for them to be free-floating functions.

In #208 I was able to tidy up the crc code: link. No OFFSETOF_CRC const needed.

Ah, cool, I missed that part of #208. Cherry-picked that here.

Thanks for the review so far. Can you please take another look now, this has changed quite a bit since the first version. Notably:

I adopted the memoffset::offset_of! replacement for C offsetof()
I turned encode/decode into method in ControlFileData
I added a comment at the top of controlfile_utils.rs to give an introduction to what the control file is
I removed the ControlFileData::new() constructor, it was unused


Error: SSL error 40 on Wifi connection

Seems to be an issue getting the internet connection, I've been using this for a few years and usually just grabbing a new Auth code would fix it, but nowadays I get the following in Putty after it connects to Wifi:
reconnect
espconn_secure_connect 0
client handshake start.
client handshake failed
Error: SSL error 40
reconnect
etc.

i am having the same problem. I contacted Andrei. Spotify has changed the SSL protocol. Andrei didn't have much time to change the code. :(

damn, that sucks. Renders the project useless unfortunately :(
I may try to ask a friend if he can have a look at it but it won't be any time soon and I can't promise anything. From what I understand SSL is a pain to deal with


Replicate MS MARCO Document Leaderboard

https://github.com/castorini/anserini/blob/master/docs/experiments-msmarco-doc-leaderboard.md
seems we don't have this index anymore
index-msmarco-doc-expanded-per-passage-20201126-1b4d0a.54ea30c64515edf3c3741291b785be53
target/appassembler/bin/SearchCollection -topicreader TsvString -index ~/.cache/pyserini/indexes/index-msmarco-doc-expanded-per-passage-20201126-1b4d0a.54ea30c64515edf3c3741291b785be53 \
  -topics src/main/resources/topics-and-qrels/topics.msmarco-doc.dev.txt -output runs/doc2query-t5-per-passage/dev.trec.txt \
  -bm25 -bm25.k1 2.56 -bm25.b 0.59 -hits 1000 -selectMaxPassage -selectMaxPassage.delimiter "#" -selectMaxPassage.hits 100 &

I tried to replace with index-msmarco-doc-per-passage-20201204-f50dcc.797367406a7542b649cefa6b41cf4c33
but the result gives:
#####################
MRR @100: 0.2727185871733738
QueriesRanked: 5193
#####################

which is not what we expected.

Closed by #1446 - @MXueguang please send PR with replication log entry.

Closed by #1446 - @MXueguang please send PR with replication log entry.


API tests fail Intermittently on folder creation step

While creating folder in test steps, 409 response code is returned
Previously this type of intermittent test failure was encountered as in the issue https://github.com/owncloud/ocis/issues/6630
Since this type of failure was not reproducable locally, code for retrying on 409 status code was added in the pr https://github.com/owncloud/ocis/pull/6796
Currently this type of test failure is again encounterd and the response is still 409 after retrying for multiple times.
Build:
https://drone.owncloud.com/owncloud/ocis/26826
https://drone.owncloud.com/owncloud/ocis/26786

 Scenario: sharee uploads a chunked file with correct checksum to a received share folder should work                                                                                # /drone/src/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature:248
    Given user "Alice" has created folder "/FOLDER"                                                                                # FeatureContext::userHasCreatedFolder()
      │ ### RESPONSE
      │ Status: 409
      │ Headers:
      │ Access-Control-Allow-Origin: *
      │ Content-Length: 230
      │ Content-Security-Policy: default-src 'none';
      │ Content-Type: text/xml; charset=utf-8
      │ Date: Thu, 21 Sep 2023 11:44:56 GMT
      │ Vary: Origin
      │ X-Content-Type-Options: nosniff
      │ X-Download-Options: noopen
      │ X-Frame-Options: SAMEORIGIN
      │ X-Permitted-Cross-Domain-Policies: none
      │ X-Request-Id: apiSpacesShares/shareUploadTUS.feature:248-249
      │ X-Robots-Tag: none
      │ X-Xss-Protection: 1; mode=block
      │ Body:
      │ string(230) "<?xml version="1.0" encoding="UTF-8"?>
      │ <d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns"><s:exception>Sabre\DAV\Exception\Conflict</s:exception><s:message>create container: error: precondition failed: .</s:message></d:error>"
.....................................
......................................
.................................
│
      │ ### END RESPONSE
      │ ### RESPONSE
      │ Status: 409
      │ Headers:
      │ Access-Control-Allow-Origin: *
      │ Content-Length: 230
      │ Content-Security-Policy: default-src 'none';
      │ Content-Type: text/xml; charset=utf-8
      │ Date: Thu, 21 Sep 2023 11:45:06 GMT
      │ Vary: Origin
      │ X-Content-Type-Options: nosniff
      │ X-Download-Options: noopen
      │ X-Frame-Options: SAMEORIGIN
      │ X-Permitted-Cross-Domain-Policies: none
      │ X-Request-Id: apiSpacesShares/shareUploadTUS.feature:248-249
      │ X-Robots-Tag: none
      │ X-Xss-Protection: 1; mode=block
      │ Body:
      │ string(230) "<?xml version="1.0" encoding="UTF-8"?>
      │ <d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns"><s:exception>Sabre\DAV\Exception\Conflict</s:exception><s:message>create container: error: precondition failed: .</s:message></d:error>"
      │
      │ ### END RESPONSE
      │
      HTTP status code was not 201 or 204 while trying to create folder '/FOLDER' for user 'Alice'
      Failed asserting that an array contains 409.
    And user "Alice" has shared folder "/FOLDER" with user "Brian"

this issue was produced in https://github.com/owncloud/ocis/pull/7298 due to not resetting of WebDavHelper::$SPACE_ID_FROM_OCIS after scenario so the next scenario was using the space id that is not available causing the error.
So the variable is set to empty after each api request in https://github.com/owncloud/ocis/pull/7298/commits/bcb366856f946784cfb0ac71976cb6c9c7b35f63
So closing the issue


Remove duplicated words

Although it is spelling mistakes, it might make an affects while reading.
Signed-off-by: Nguyen Hai Truong<EMAIL_ADDRESS>

looks like a duplicate of #6570 which has an additional duplicate removal, I assume you were looking at the code together @truongnh1992 @longkb

looks like a duplicate of #6570 which has an additional duplicate removal, I assume you were looking at the code together @truongnh1992 @longkb

Opps, sorry. I did not check the PRs yet. I have closed my PR :)
I sorry about that :)

Thanks!


jstzd: client import secret key

Context
import secret key
Description
add import secret key for octez client.
I've replaced the spawn_command with spawn_and_wait_command as octez client won't have any long running processs and the methods won't have to work with Child
Manually testing the PR
added two integration tests that tests for importing the key
cargo test --package jstzd --test octez_client_test

Left some nit commit, lgtm otherwise.


vm clone windows template?

Apologies if this more of a general question than an issue, but is it currently possible to clone a windows vm with any amount of spec customization? Or does anybody have an example of a custom spec plugin that does that? I keep getting the error "A specified parameter was not correct: spec.identity" and when I dumped the identity spec I see:
identity: CustomizationLinuxPrep(...
so i assume that's the root of my error.
What I'm looking to do is clone a windows VM, change the hostname and ip, regenerate the sid, change the admin password.
My (sanitized) command line is:
knife vsphere vm clone lamont-test --template W2008R2_STD_x64_template --chostname lamont-test --cdomain foo.xxxxxxx.com --cips yyy.zzz.67.106/24 --cvlan hav-guest-dev-4 --folder templates --resource-pool "poolfolder/realpool" --ccpu 2 --cram 2 --cdnsips "<IP_ADDRESS>,<IP_ADDRESS>" --cdnssuffix foo.xxxxxxxx.com
I'm running against vsphere 5.0.0, knife vsphere plugin 0.9.5.
Looking at the vmware api docs, it seems like I could swap the CustomizationLinuxPrep for CustomizationSysprepText and use that to write out the sysprep.inf file. Does that seem like a reasonable task to accomplish via a spec plugin?
Thank you.

Closing as this seems to be solved. If not, please re-open or create a new issue.


H7130 feature request

Please explain your feature request in a one or two sentences.

Heater shows as fan with fan speed instead of heater with temp controls and oscillation on/off. Can you add this?  Thanks!

Is your feature request related to a problem? Please describe.

Any particular Govee devices that this relates to?

H7130

Anything else?

H5103 isnt available. DO you have a timeline of when it will be?

Hi @dabreu70
Do you own the H5103?

Yes just got it the other day.
On Oct 8, 2022, at 2:58 AM, Ben @.***> wrote:

Hi @dabreu70https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdabreu70&data=05|01||3b421b7438124cb4615608daa8fa7496|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638008090897909587|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=5f0xWno1t82OBT47s9fCBZxtt45d6vLIRzmukAsdJEo%3D&reserved=0
Do you own the H5103?
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbwp91%2Fhomebridge-govee%2Fissues%2F319%23issuecomment-1272247614&data=05|01||3b421b7438124cb4615608daa8fa7496|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638008090897909587|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rZ50oz%2Bn8ixDu%2BuIplLZX3hoporz66QmcHTx9R8qNas%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA3P3VCO2WUL4TIZ3CSHHN3LWCELP7ANCNFSM6AAAAAAQ77E5EE&data=05|01||3b421b7438124cb4615608daa8fa7496|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638008090897909587|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Wkork3NlDLnKT8oeAr75gnKQGDe8MCGVvBrqiokM4yM%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

is there a message in your homebridge log when the plugin starts about adding this device?

Closing this as a bit overwhelmed with issues.
Please update to the beta version of the plugin, and if you are still having issues, do reopen this ticket!
Thanks and apologies if closing prematurely.

It states the following - [Wifi Thermometer] is not currently supported, do create a Github issue with the following info: {"device":"4A:73:C1:32:37:36:7A:35","deviceName":"Wifi Thermometer","model":"H5103","httpInfo":{"groupId":0,"device":"4A:73:C1:32:37:36:7A:35","sku":"H5103","spec":"","versionHard":"3.02.02","versionSoft":"1.00.25","deviceName":"Wifi Thermometer","deviceExt":{"lastDeviceData":"{"online":false,"tem":2290,"hum":5300,"lastTime":1665175440000}","deviceSettings":"{"pactType":1,"battery":100,"humMax":10000,"temCali":0,"humMin":0,"address":"C1:32:37:36:7A:35","temMax":6000,"wifiMac":"D4:AD:FC:7E:4D:A6","humCali":0,"bleName":"GVH5103_7A35","pactCode":1,"temMin":-2000,"temWarning":false,"humWarning":false,"uploadRate":10,"deviceName":"Wifi Thermometer"}","extResources":"{"skuUrl":"","headOnImg":"","headOffImg":"","ext":"","ic":0}"},"goodsType":106}}

From: Ben @.>
Sent: Saturday, October 8, 2022 7:23 AM
To: bwp91/homebridge-govee @.>
Cc: dabreu70 @.>; Mention @.>
Subject: Re: [bwp91/homebridge-govee] H7130 feature request (Issue #319)
is there a message in your homebridge log when the plugin starts about adding this device?
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbwp91%2Fhomebridge-govee%2Fissues%2F319%23issuecomment-1272296645&data=05|01||15780031d608427cf6f108daa91f8222|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638008250032784086|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ryRse5a5pdcy%2BUtNBlYF31EuML5T%2BqLHEuHwVnv%2FJ74%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA3P3VCJ4WPWSIQNTHUJWU6DWCFKSTANCNFSM6AAAAAAQ77E5EE&data=05|01||15780031d608427cf6f108daa91f8222|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638008250032784086|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=S5r02U0ecCFspmJDyWjM78NTs%2B5kIWcRY%2FCqJPe%2BtU4%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Please can you update to the beta version of the plugin?

Hi Ben I updated top the beta a couple days ago and it picked up both the thermometer but the heater still shows as a fan. Is there a way to align the setting with what it can actually do? i.e. heat settings, oscillation, modes?

From: Ben @.>
Sent: Tuesday, October 11, 2022 3:08 PM
To: bwp91/homebridge-govee @.>
Cc: dabreu70 @.>; Mention @.>
Subject: Re: [bwp91/homebridge-govee] H7130 feature request (Issue #319)
Reopened #319https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbwp91%2Fhomebridge-govee%2Fissues%2F319&data=05|01||bfb1026d95ef4c86b1dd08daabbbeb1e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638011120871458703|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=XmjR2NhvUmh8CzwZgiY3PGBq%2FFkN8VlADVV7B5aXqsQ%3D&reserved=0.
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbwp91%2Fhomebridge-govee%2Fissues%2F319%23event-7565646625&data=05|01||bfb1026d95ef4c86b1dd08daabbbeb1e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638011120871458703|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=QEFCfO35rPOAEn0GoKgj0752uAdlbchduJJcHgm7gac%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA3P3VCKUAGLROEWIGPGOVQ3WCW3JDANCNFSM6AAAAAAQ77E5EE&data=05|01||bfb1026d95ef4c86b1dd08daabbbeb1e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638011120871458703|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=e6zS9E7JH3rLppZZu74JL9dvSiGenriWE%2BXecn5Zo5M%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Closing, please see and reply in https://github.com/bwp91/homebridge-govee/issues/335
Thanks!


A typo and other feedbacks on "Connect to the emulator account using a shortcut"

"The is equivalent to fully specifying the account name, the account key and the endpoints for each of the emulator services you wish to use in the connection string."

I guess it's a typo for this, but does it refer the box above or below?
Could you provide an example for .NET Core 3.x? app.config is no longer used.
Where to check the connection string?  "For example, the value of your connection string will look like this"

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

ID: 61008c1e-a107-ff6a-a5e8-26cd0b42b443
Version Independent ID: b7a1b3c9-4165-8930-d309-da6420f26360
Content: Configure a connection string - Azure Storage
Content Source: articles/storage/common/storage-configure-connection-string.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@autohub7 , Thanks for the feedback! We are currently investigating and will update you shortly.

#reassign: @tamram

@autohub7 - Thanks for your feedback. I've rewritten that section to correct the typo and to provide a code snippet that uses the emulator shortcut directly.
In terms of #3, there isn't any way that I can think of to check the connection string for the emulator, which is why we put it in the documentation. But I believe I've made clear what the emulator connection string looks like and how to use the shortcut to reference it.
#please-close


WIP: Transform Schur form into eigenvectors

Thanks, I'll review

Please add tests first before you start refactoring! I don't see a test for the backward substitution bit.

Can you also remove the lapack stuff from the PR?

Starting to look good, test failure is unrelated. Do you have an idea how to do things in real arithmetic here?

Btw, you're not including the new test in runtests.jl, so it doesn't run on CI

Needs rebase


Collections not loading

I sometimes find the collections list loads indefinitely.  See screenshots.   Here are the steps that I followed today

Went to Tina.io/admin: saw collections
Went to Tina.io/docs and opened the sidebar: collections did not load
Refreshed the page: collections did not load
In a new tab, opened up app.tina.io (I was already signed in)
Went back to Tina.io/docs and reloaded the page for a 3rd time: collections loaded

I can't seem to reproduce this one. It's a bit old, so maybe fixed? @scottgallant


AWS CLI VERSION

This is my first time posting an issue in github. My apologies if the format isn't correct. The instructions  for the Blinky Hello World example walks you through installing AWS CLI Version 2, but I realized that the requirements.txt file found in the "Core2-for-AWS-IoT-EduKit/Blinky-Hello-World/utilities/AWS_IoT_registration_helper" folder actually has it installing AWS CLI version "awscli>=1.18.202" is this correct?
Actually I was really confused as the instructions for this have changed in the past week. It had you installing the miniconda and creating an environment and using Jupyter notebook to edit and run a file "TNGTLS_aws_connect", but it appears that whole process was replaced by this registration helper.py file.
One other issue I noticed was that If you download the Core2-for-aws-iot-edukit and extract it from github, you get messages saying that some of the filestrings are too long for the windows/dos environment and can't be installed.
Thanks

Hi, yes the requirements file lists 1.18 and up. AWS CLI 2.x satisfies this requirement without throwing an error for individuals who might already have the CLI installed and for whatever reason do not want to upgrade. The APIs used do not have a conflict so we've chosen to not cause an issue where there wouldn't be one.
We removed the Jupyter steps since people found it cumbersome and without value. We only included it since the utility provided by Microchip was in Jupyter for some reason. Would it be helpful to have a notice for when the content/repo has been updated?
Thank you for letting me know about the file length issue in Windows. We will evaluate cloning from C:\ or something to that effect.

Ok Thanks! Yes, maybe if the instructions were dated or had a revision date or something, it would be helpful indeed.

Added revision date to the repo link on edukit.workshop.aws: https://edukit.workshop.aws/

Added revision date to the repo link on edukit.workshop.aws: https://edukit.workshop.aws/


feature: Support gui highlight

@eightpigs Thanks! Look nice. 👍

@eightpigs There was a small bug in my old code https://github.com/rafcamlet/tabline-framework.nvim/commit/f0d229cc2c103bbc356d26c928eff02be40b230f which I've fixed in the newest commit, so you probably want to fetch it. :)


do workload.NewInfo when inserting and updating

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
call NewInfo in manager.go to improve the performance.
Which issue(s) this PR fixes:

ref: https://github.com/kubernetes-sigs/kueue/issues/162
Special notes for your reviewer:

/approve
Please squash.

/approve Please squash.

Squashed.

/lgtm
Thanks. @cmssczy


Animated images bug

I visited the website nespolibt.com and I've seen animated images are partially outside of my screen.
Check it out 😎

Is this repo alive?

Now I fully understand the problem: on mobile nothing is wrong, the problem persists on desktop.
A possible fix would be to remove the  justify-content: space-between; in .project.svelte-cbpt41.svelte-cbpt41 (boundle.css). This will keep the wobble effect while justifying the image even for desktop users.

Nice!

Now I fully understand the problem: on mobile nothing is wrong, the problem persists on desktop.
A possible fix would be to remove the  justify-content: space-between; in .project.svelte-cbpt41.svelte-cbpt41 (boundle.css). This will keep the wobble effect while justifying the image even for desktop users.

@NespoliBT Do you agree with this solution?

@NespoliBT Do you agree with this solution?

I quite like this solution, I have implemented the fix as @archetipico suggested.
Closing


SQL delete is performed for commented query in some situations

Issue Type: Bug
Hello, this is second time when I have experience with running undesirable DELETE SQL query.
I had this code in editor (commented DELETE query):
-- delete from PP_BusinessCentralSyncHistory
-- where EntityType = 'UsersB2B'
-- go

SELECT TOP (1000) [BusinessCentralSyncHistoryID]
      ,[SiteName]
      ,[BusinessCentralSyncHistoryLastModified]
      ,[UnsuccessfulItems]
      ,[EntityType]
  FROM [dbo].[PP_BusinessCentralSyncHistory]
  order by BusinessCentralSyncHistoryID desc

First I had uncommented version and then commented DELETE part and pushed F5
But DELETE SQL performed and table was event completely deleted.
Probably performed this query:
delete from PP_BusinessCentralSyncHistory
This is very strange and dangerous behaviour, please check it or I have to return to SSMS.
Azure Data Studio version: azuredatastudio 1.36.1 (e56e1d931bbb110fe8f24751423c4e184bb8f22d, 2022-04-21T21:25:10.399Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz (12 x 4104)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.92GB (2.77GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

admin-pack
Mic
0.0.2

agent
Mic
0.48.0

dacpac
Mic
1.10.1

import
Mic
1.5.0

profiler
Mic
0.11.0

We have written the needed data into your clipboard because it was too large to send. Please paste.

not able to repro but will take another look later.
@martinfbluesoftcz do you remember doing anything special that might help the repro?

Hello, you need to comment DELETE statement with key shortcut (CTRL+K,C), then do not click to editor and run query.

@martinfbluesoftcz I did a quick test using latest version, the test was done solely by keyboard. Steps for the test:

I input a query like this then run the query by pressing F5

select 1
select 2

I use up arrow key to switch to line 1 and then press command + k, c to comment out the first line
I press F5 again to run the query.

Is this the same steps you were using? Are you able to repro the issue consistently?

The is a command "Run Current Query" (Ctrl-F5) which will run the current query or selected text.  If the delete statement was highlighted without the -- and this command was executed you would run the commented-out code.  Otherwise, I'm not sure how you could have the commented-out statements execute.  I also wasn't able to repro as described.

Needs more info for a repro, will close for now but feel free to reopen once you have it.


ResultSetMetaData#getTableName return same table when multi tables in the sql

        String sql = "select * from a,b"
        PreparedStatement preparedStatement = conn.prepareStatement(sql);
        ResultSet resultSet = preparedStatement.executeQuery();
        ResultSetMetaData resultSetMetaData = preparedStatement.getMetaData();
        for (int i = 1; i <= resultSetMetaData.getColumnCount(); i++) {
            String bindTable = resultSetMetaData.getTableName(i);
        }

resultSetMetaData.getTableName(i) only return String "a"

Thanks for the report @Sochene. ClickHouse does not provide enough metadata for a query, so the driver has to use SQL parser to extract table name, which apparently does not work for your case.
I thought about issuing an explain statement for each query, but it's probably not worthy due to it's poor performance.
Is this mandatory in your project? What's the user scenario?


Events tests

Refactoring the events tests to make them extensible.

LGTM

@vishh Thanks for the review This is done to make #11827 a bit easier.

LGTM


Investigate federated store bug

Codecov Report

Merging #2394 (4652c6f) into develop (3fe0943) will increase coverage by 9.72%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #2394      +/-   ##
=============================================
+ Coverage      66.13%   75.85%   +9.72%
+ Complexity      2464      185    -2279
=============================================
  Files            958       11     -947
  Lines          31404      584   -30820
  Branches        3820       50    -3770
=============================================
- Hits           20769      443   -20326
+ Misses          9006      100    -8906
+ Partials        1629       41    -1588

Impacted Files
Coverage Δ
Complexity Δ

...gov/gchq/gaffer/rest/ServletLifecycleListener.java

...q/gaffer/parquetstore/io/writer/ElementWriter.java

.../operation/graphframe/GetGraphFrameOfElements.java

...n/java/uk/gov/gchq/gaffer/cache/ICacheService.java

...gchq/gaffer/operation/impl/function/Transform.java

.../export/resultcache/GafferResultCacheExporter.java

.../gchq/gaffer/rest/example/ExampleDomainObject.java

...q/gaffer/parquetstore/utils/SparkParquetUtils.java

...gaffer/store/operation/resolver/ScoreResolver.java

...affer/store/operation/OperationChainValidator.java

... and 917 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 ea87939...4652c6f. Read the comment docs.

Codecov Report

Merging #2394 (4652c6f) into develop (3fe0943) will increase coverage by 9.72%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #2394      +/-   ##
=============================================
+ Coverage      66.13%   75.85%   +9.72%
+ Complexity      2464      185    -2279
=============================================
  Files            958       11     -947
  Lines          31404      584   -30820
  Branches        3820       50    -3770
=============================================
- Hits           20769      443   -20326
+ Misses          9006      100    -8906
+ Partials        1629       41    -1588

Impacted Files
Coverage Δ
Complexity Δ

...gov/gchq/gaffer/rest/ServletLifecycleListener.java

...q/gaffer/parquetstore/io/writer/ElementWriter.java

.../operation/graphframe/GetGraphFrameOfElements.java

...n/java/uk/gov/gchq/gaffer/cache/ICacheService.java

...gchq/gaffer/operation/impl/function/Transform.java

.../export/resultcache/GafferResultCacheExporter.java

.../gchq/gaffer/rest/example/ExampleDomainObject.java

...q/gaffer/parquetstore/utils/SparkParquetUtils.java

...gaffer/store/operation/resolver/ScoreResolver.java

...affer/store/operation/OperationChainValidator.java

... and 917 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 ea87939...4652c6f. Read the comment docs.

Closing for more investigation

Closing for more investigation


Wrap DisplacementFieldTransform for VectorImage

Specifically a VectorImage of double. We should also support VectorImage of float's.
This is important for registration.
We may need to the itk::VectorLinearInterpolateImageFunction with itk::LinearInterpolateImageFunction, which, according to its documentation, supports VectorImage`s.
Then add the type to the wrapping.

@PranjalSahu please take a look

Resolved with https://github.com/InsightSoftwareConsortium/ITK/pull/3345


[Feature]: Rollback to specific commit

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Ability to rollback to a specific commit if something isn't working right or to just experiment previous code version of the application.
Why should this be worked on?
I've had a problem with one of my application features where it wasn't working and I didn't have the time to fix it right now so I wanted to remove it, but found no way in the Coolify dashboard to rollback to a previous commit.

+1

i'd also love to see this, i'd appreciate it hugely. this is currently the only issue i have at all with coolify, everything else is wonderful!

Feature got merged! 🎉


chore(workflows): add release action

@mason-org/triage
 🤖 This is an automated comment.    📖 Source code


Remove notable project youtube-dl

The project received a DMCA takedown request so this can't serve as an example newcomers can follow.
I'm not sure of any other notable projects using this licence that could replace it, sorry.

I'm not sure of any other notable projects using this licence that could replace it, sorry.

How about scoop? (Found via this search.)

How about scoop?

Looks decent, has lots of stars and seems to be active. Shall I update the file with a link to that project's license?

I'd say so, yeah. Otherwise this PR will keep failing the tests, as there's one that checks that a license has 3 project examples.


Integrate ontologies from BioPortal

UMLS, MEDDRA, GO, HPO - phenotypes (priority)

We just want mappings from UMLS to GO, MEDDRA and HPO

ChemBL - food
FOODON - food items / categories
Mesh. - age
SNOMED-CT - population/social condition
MEDDRA - population/social condition

Mapping to UMLS

Example of MEDDRA URI:

<http://www.w3id.org/foodhkg/Instances/8kQlqiMhUiKUaIVgMBqkAEAwrbtUcv6PXg_Lq8Z4K68> a <http://www.w3id.org/foodhkg/Instances/4fVoSuRsWa7RG1eDylmRjre6zpeoXwngZ9oI1xbqOZU> ;
    rdfs:label "Lower post-prandial blood glucose rise" ;
    ns3:hasFood <https://foodb.ca/nutrients/FDBN00003> ;
    ns3:hasPhenotype <http://purl.bioontology.org/ontology/MEDDRA/10005557> ;
    ns3:hasTargetPopulation <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C18241> .

Example of HPO URI:

<http://www.w3id.org/foodhkg/Instances/77_h_aJQy1gO-VgFimWDujtOPoDWcQcRfWLouT17g3g> a <http://www.w3id.org/foodhkg/Instances/R4oxZQnJzMLsr6xdrgeVuPgXQNAMnwzOYRZk7vdciG0> ;
    rdfs:label "Lower/reduce blood cholesterol" ;
    ns3:hasFood <https://foodb.ca/compounds/FDB003714> ;
    ns3:hasPhenotype <https://hpo.jax.org/app/browse/term/HP:0003124> ;
    ns3:hasTargetPopulation <http://www.w3id.org/foodhkg/Instances/7O9nyITQrxfMfyE2ClRWNyfo6wLSELG6D1oqx8I-ykQ> .

GO URI:

<http://www.w3id.org/foodhkg/Instances/94FQFMD0wOPKThETyiNVYNrQnEnc5pW1eTg0DAH_lCE> a <http://www.w3id.org/foodhkg/Instances/SAolzedgZrIh4x-wL1NY8tmHzlT6KtH3hX5BRmURfHI> ;
    rdfs:label "Function of the nervous system" ;
    ns3:hasFood <https://foodb.ca/compounds/FDB000574> ;
    ns3:hasPhenotype <http://www.informatics.jax.org/vocab/gene_ontology/GO:0031644> ;
    ns3:hasTargetPopulation <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C18241> .

TODO: add same_as from those phenotypes to UMLS URI?
Easiest would do a SPARQL query to get all phenotypes, and search for mapping using the NodeNormalization API from the Translator:
https://nodenormalization-sri.renci.org/get_normalized_nodes?curie=HP%3A0003124&curie=MEDDRA%3A10005557&curie=GO%3A0031644

It resolves HP and MEDDRA to UMLS (it's actually the preferred identifier). But not for the GO phenotype I tried


Remove ObjectID aliasing from the API.

Note that this does not rip out all of the machinery for doing ObjectID aliasing. It just throws an exception if you try to do it.

I thought aliasing was unavoidable...?

Not unavoidable. Aliasing is desirable so that you can do things like this.
@ray.remote
def f():
  return 1

@ray.remote
def g():
  return f.remote()

However, things are simpler without it, so we're disabling it. If it seems critical for some applications, then we can add it back in later.


Remove deprecated flag from bazelrc

--experimental_allow_incremental_repository_updates has been deleted in https://github.com/bazelbuild/bazel/commit/fdf10c34c82c563fb7fc7f262de32e1f7af59e2d

poke @kyliau @mgechev

ping

https://github.com/bazelbuild/bazel/commit/fdf10c34c82c563fb7fc7f262de32e1f7af59e2d has only landed on master, but not released right? Shall we remove this after upgrading the version?

Yes, you should wait for the update. It looks like:
The flag default was made true on July 17, in fc057437ec054e8f154e97ef87eaeabcefed53bf
The flag was remove on July 31, in fdf10c34c82c563fb7fc7f262de32e1f7af59e2d
That would mean it exists and defaults false false in Bazel 3.4 and will not exist at all in Bazel 3.5.
We should have made that window bigger.

OTOH.... since you make releases, you might as well flip now and then you will work with Bazel at head and the bazel 3.5rc candidate. You are currently broken there. https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1608#ceace0eb-4175-4b53-8717-71e722856fe6

friendly ping

FWIW.  Bazel 3.5 rc4 is ready to go as the real release. We're just waiting on the blog post review.

@kyliau, it looks like this can be merged now?

Thanks! Could you merge too?


how to tune on Android device ?

Dear
I am trying to run dolly-v2-7b model on Android device By OpenCL.
But got poor performance on Qcom 8Gen2 device.
Use below command get the model:
python build.py --model /home/qq/dolly-v2-7b --quantization q4f16_0 --target android --max-seq-len 768

Is there any guide how to tune the Tir  Function for Android OpenCL ?
Thanks

We are working on dlight project, which allows users to get great performance without tuning. We will announce as soon as we finished it


Suggestion: Support private PyPI servers

It would be great if pyroma could look up other PyPI servers defined with $PIP_EXTRA_INDEX_URL environment varaible or in the pip.conf/pip.ini for the user's platform.

Looking at this, pip gathers information from many places, and has different filenames for Windows, etc.
Replicating that is likely a never ending work of tweaking things so that it behaves exactly like pip in all cases, and I definitely do not have the time for that.
So I think we need a different option here. Likely just a parameter for posting the URL to the index in question.


Tizen ACR

Add nntrainer to OBS project

Jira: https://bugs.tizen.org/browse/TRE-2498
status: Done

Add nntrainer package to Tizen Platform Image

Jira: https://bugs.tizen.org/browse/TRE-2501
status: Done
http://download.tizen.org/snapshots/tizen/unified/tizen-unified_20200710.1/

Add rule file for Coverity / Svace Component

PR: https://github.sec.samsung.net/RS-SA/tizen-components/pull/140
status: Done

ACR for ML training APIs

Jira: https://code.sec.samsung.net/jira/browse/ACR-1579
status: API review

:octocat: cibot: Thank you for posting issue #259. The person in charge will reply soon.

migrated from #419
ACR requirements

[x] Add tizen feature check #421 (@kparichay)
[ ] Add tizen privilege check (@kparichay)

TCM

[x] Meet tcm requirements
[ ] Make a report and request for verification & validation

TCT
UTC

[x] Add scaffolding
[ ] Add tcs
[ ] reviews (gerrit link: TBD)

ITC

[ ] Make an example(#342)
[ ] Update readme.md(#410)

Doc

TBD...

status update. UTC/ITC's are merged. docs are under review


ng update to 12 is pulling in 13.0.0-next.1

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[x] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: ....
Description
Old version 9
ng update --allow-dirty  @angular/core@12  @angular/cli@12  @angular/cdk@12  @angular/material@12
Looks like it has jumped to 13.0.0-next.1
errors
Package "@angular-devkit/build-angular" has an incompatible peer dependency to "@angular/compiler-cli" (requires "^12.0.0 || ^12.2.0-next", would install "13.0.0-next.1")
Package "@angular/animations" has an incompatible peer dependency to "@angular/core" (requires "13.0.0-next.1", would install "12.2.1")
Package "@angular/common" has an incompatible peer dependency to "@angular/core" (requires "13.0.0-next.1", would install "12.2.1")
Package "@angular/animations" has an incompatible peer dependency to "@angular/core" (requires "13.0.0-next.1" (extended), would install "12.2.1").
Package "@angular/forms" has an incompatible peer dependency to "@angular/core" (requires "13.0.0-next.1", would install "12.2.1")
Package "@angular/platform-browser" has an incompatible peer dependency to "@angular/core" (requires "13.0.0-next.1", would install "12.2.1")
Package "@angular/platform-browser-dynamic" has an incompatible peer dependency to "@angular/core" (requires "13.0.0-next.1", would install "12.2.1")
Package "@angular/router" has an incompatible peer dependency to "@angular/core" (requires "13.0.0-next.1", would install "12.2.1")
🔬 Minimal Reproduction

🔥 Exception or Error

🌍 Your Environment

Anything else relevant?

Can you please share you package.json before the update?

{
  "name": "xxxxx-ui",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "build-prod": "ng build --aot --baseHref=/pub/xxxxx/ --prod --preserve-symlinks --crossOrigin=anonymous --progress false",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^9.1.13",
    "@angular/cdk": "^9.2.4",
    "@angular/common": "^9.1.13",
    "@angular/compiler": "^9.1.13",
    "@angular/core": "^9.1.13",
    "@angular/forms": "^9.1.13",
    "@angular/material": "^9.2.4",
    "@angular/platform-browser": "^9.1.13",
    "@angular/platform-browser-dynamic": "^9.1.13",
    "@angular/router": "^9.1.13",
    "@fortawesome/fontawesome-free": "^5.15.4",
    "leaflet": "^1.7.1",
    "rxjs": "^6.6.7",
    "tslib": "^1.14.1",
    "zone.js": "^0.10.3"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^0.901.15",
    "@angular/cli": "^9.1.15",
    "@angular/compiler-cli": "^9.1.13",
    "@angular/language-service": "^9.1.13",
    "@types/jasmine": "^3.8.2",
    "@types/jasminewd2": "^2.0.10",
    "@types/node": "^12.20.19",
    "codelyzer": "^5.2.2",
    "jasmine-core": "~3.5.0",
    "jasmine-spec-reporter": "^5.0.2",
    "karma": "^5.2.3",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "^3.0.3",
    "karma-jasmine": "^3.3.1",
    "karma-jasmine-html-reporter": "^1.7.0",
    "protractor": "^7.0.0",
    "ts-node": "^8.10.2",
    "tslint": "^6.1.3",
    "typescript": "~3.8.0"
  }
}

This should now be corrected with the latest version of v12 (12.2.2).
If the issue is still being encountered, please let us know.


(documentation) docking oracle examples are badly out of date

Describe the bug
I'm trying to run the docking score example from the documentation
from tdc import Oracle
# 1. One can specify the binding pocket by a docked pdb file
oracle = Oracle(name = 'Docking_Score', software='vina',
                pyscreener_path = '/path/to/pyscreener',
                receptors=['examples/docking/5WIU.pdb'],
                docked_ligand_file='examples/docking/5WIU_with_ligand.pdb',
                buffer=10, path='./my_test/', num_worker=1, ncpu=4)

oracle('c1ccccc1')

I've verified that ADFR and Vina are installed correctly (e.g. can run which prepare_receptor and which vina successfully).  Currently I get the following error in a Jupyter notebook
File ~/miniconda3/envs/lambo-env/lib/python3.8/site-packages/tdc/oracles.py:39, in Oracle.__init__(self, name, target_smiles, num_max_call, **kwargs)
     37 	self.name = name
     38 self.evaluator_func = None
---> 39 self.assign_evaluator()
     40 self.num_called = 0
     42 if num_max_call is not None:

File ~/miniconda3/envs/lambo-env/lib/python3.8/site-packages/tdc/oracles.py:192, in Oracle.assign_evaluator(self)
    190 elif self.name == 'docking_score':
    191 	from .chem_utils import Vina_smiles
--> 192 	self.evaluator_func = Vina_smiles(**self.kwargs)
    193 elif self.name == 'drd3_docking_vina' or self.name == '3pbl_docking_vina':
    195 	from .chem_utils import Vina_smiles

TypeError: __init__() got an unexpected keyword argument 'software'

I assume this is some kind of dependency issue, it would be helpful if the required dependency versions could be made more explicit.
To Reproduce
Follow the documentation and try to run the example
Expected behavior
I expect the same output as the documentation
Environment:

OS: Ubuntu 18.04
Python version: 3.8.12
TDC version: 0.3.6
AutoDock Vina version: 1.1.2
ADFR version: 1.0
pyscreener version: https://github.com/futianfan/pyscreener.git@master

update:
Please update the docs!!!
It seems like this is an issue with the TDC version, I downgraded to 0.2.0 and now I get a different error.
Autoboxing ...
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Input In [3], in <cell line: 3>()
      1 from tdc import Oracle
      2 # 1. One can specify the binding pocket by a docked pdb file
----> 3 oracle = Oracle(name = 'Docking_Score', software='vina',
      4                 pyscreener_path = '/home/sam/Code/bo-protein-context/pyscreener',
      5                 receptors=['../lambo/assets/tdc/docking/5WIU.pdb'],
      6                 docked_ligand_file='../lambo/assets/tdc/docking/5WIU_with_ligand.pdb',
      7                 buffer=10, path='./my_test/', num_worker=1, ncpu=4)
      9 oracle('c1ccccc1')

File ~/miniconda3/envs/lambo-env/lib/python3.8/site-packages/tdc/oracles.py:21, in Oracle.__init__(self, name, target_smiles, num_max_call, **kwargs)
     19 	self.name = name
     20 self.evaluator_func = None
---> 21 self.assign_evaluator()
     22 self.num_called = 0
     24 if num_max_call is not None:

File ~/miniconda3/envs/lambo-env/lib/python3.8/site-packages/tdc/oracles.py:169, in Oracle.assign_evaluator(self)
    167 elif self.name == 'docking_score':
    168 	from .chem_utils import docking_meta
--> 169 	self.evaluator_func = docking_meta(**self.kwargs)
    170 # distribution oracle
    171 # ['novelty', 'diversity', 'uniqueness', 'validity', 'fcd_distance', 'kl_divergence']
    172 elif self.name == 'uniqueness':

File ~/miniconda3/envs/lambo-env/lib/python3.8/site-packages/tdc/chem_utils.py:1696, in docking_meta.__init__(self, software_calss, pyscreener_path, **kwargs)
   1693 else:
   1694     raise ValueError("The value of software_calss is not implemented. Currently available:['vina', 'dock6']")
-> 1696 self.scorer = screener(**kwargs)

File ~/Code/bo-protein-context/pyscreener/pyscreener/docking/vina.py:88, in Vina.__init__(self, software, receptors, pdbids, center, size, ncpu, extra, docked_ligand_file, buffer, score_mode, repeats, receptor_score_mode, ensemble_score_mode, distributed, num_workers, path, verbose, **kwargs)
     86 if center is None:
     87     print('Autoboxing ...', end=' ', flush=True)
---> 88     center, size = autobox.docked_ligand(docked_ligand_file, buffer)
     89     print('Done!')
     90     s_center = f'({center[0]:0.1f}, {center[1]:0.1f}, {center[2]:0.1f})'

File ~/Code/bo-protein-context/pyscreener/pyscreener/preprocessing/autobox.py:92, in docked_ligand(docked_ligand_file, buffer)
     90             break
     91     fid = chain([line], fid)    # prepend the first line to the generator
---> 92     ligand_atom_coords = [
     93         parse_xyz(line)
     94         for line in takewhile(lambda line: 'HETATM' in line, fid)
     95     ]
     97 return minimum_bounding_box(ligand_atom_coords, buffer)

File ~/Code/bo-protein-context/pyscreener/pyscreener/preprocessing/autobox.py:93, in <listcomp>(.0)
     90             break
     91     fid = chain([line], fid)    # prepend the first line to the generator
     92     ligand_atom_coords = [
---> 93         parse_xyz(line)
     94         for line in takewhile(lambda line: 'HETATM' in line, fid)
     95     ]
     97 return minimum_bounding_box(ligand_atom_coords, buffer)

File ~/Code/bo-protein-context/pyscreener/pyscreener/preprocessing/autobox.py:100, in parse_xyz(line)
     99 def parse_xyz(line: str) -> Tuple[float, float, float]:
--> 100     return tuple(map(float, line.split()[5:8]))

ValueError: could not convert string to float: 'CAB'

update:
finally got something working after digging around in the code. The docs are badly out of date, please update them soon so other don't have to waste half a day like I did trying out a broken example. I would suggest leaving this issue open until the docs are updated.
Also worth noting that even if echo $PATH looks right in the terminal make sure it's also right in the Jupyter notebook. I was running the notebook on a headless server in a tmux window and eventually noticed that the PATH variable didn't look right.
working snippet:
import os

from tdc import Oracle

print(os.environ.get('PATH'))
receptor_id = "3pbl"
oracle = Oracle(
    name=f'{receptor_id}_docking',
)
oracle('c1ccccc1')

output:
Found local copy...
2022-04-08 19:28:57,172	INFO services.py:1172 -- View the Ray dashboard at http://<IP_ADDRESS>:8265
Docking: 100%|███████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00,  1.41s/ligand]
-4.1

Hi Samuel, sorry for the confusion! we will be updating the doc ASAP!!

Good to hear! This seems like a very useful package, hopefully the onboarding process can be made a bit smoother.

Thank you! It is now updated! Let us know if there is any further question!


[QUESTION] About registration solvers

Hi. Thank you for releasing a great work :) I'm now enjoying your work.
Actually, I have some questions about the loop closure detection and registration solvers.

I found that there are two different solvers for the registration: DsgAgentSolver and DsgTeaserSolver. I guess that both solvers are used to get the registration_result when the function registerAndVerfiy() is running. Based on the released code, I could find how DsgTeaserSolver::solve() function works. (As stated in the paper, it uses teaser::RobustRegistrationSolver to get the valid result and correspondences in registerDsgLayer() function.) However, I wonder how DsgAgentSolver::solve() function works because I couldn't find the corresponding service client function. Does the service response the registration of visual features based on the standard RANSAC-based geometric verification, as you stated in the paper?

Also, I think that the registration service is related to kimera_vio_ros since the service frame_registration is remapped to /kimera_vio_ros/kimera_vio_ros_node/register_lcd_frames in dsg_builder.launch file. ( I guess this is the unreleased code of kimera-vio what you stated in here ). If you know whether the corresponding codes will be released in kimera_vio_ros or not, please let me know.

Enable scene graph loop closures: This will require no development on your part, but is the least tested of the options (we haven't had much of a reason to run the scene graph loop closure pipeline without BoW descriptors). As long as you have the pose_graph_publisher_node operating (which use_gt_frame:=true will enable), then all you have to do is set enable_dsg_lcd:=true and internal loop closure detection and registration will be enabled. You may also want to set min_glog_level:=0 and verbosity:=2 to see the current status for the internal loop closures.

Finally, I have understood scene graph loop closures can be enabled without additional development based on your mention in here as above. However, if lcd_queue_ is empty, I guess that loop closure detection would not be performed because it stops at the line 158 in here. ( I think lcd_queue_ will be always empty if bow vectors are not received. ) I wonder is it possible to enable scene graph loop closure without bow vectors.

Thank you for releasing your great work once more!

Thank you for your interest!

Does the service response the registration of visual features based on the standard RANSAC-based geometric verification, as you stated in the paper?

Yes. The service definition passes match_id and query_id to this section of the Kimera-VIO code (approximately, though we separate out the geometric verification code into another function and call it in a thread-safe manner in response to the service request)

If you know whether the corresponding codes will be released in kimera_vio_ros or not, please let me know.

Yes, it will get released, but I still don't have a definitive timeline. There is steady progress being made to the next Kimera-VIO release (where the changes needed to work with Hydra will be included), and hopefully we will have a more solid timeline for the next Kimera-VIO release soon.

However, if lcd_queue_ is empty, I guess that loop closure detection would not be performed because it stops at the line 158 in here. ( I think lcd_queue_ will be always empty if bow vectors are not received. )

Good question, this is a little tricky in the code. lcd_queue_ is actually a queue of added agent nodes (i.e. poses representing keyframes). As long as some external process is publishing a pose graph that Hydra subscribes to, this queue will be populated. The LCD module pops agent nodes from the queue periodically and performs loop closure detection with them regardless of whether or not they have an associated DBoW2 descriptor populated in their attributes here.  We assign the DBoW2 descriptors here to their associated agent nodes, but we only loosely couple assigning them and performing loop closure detection. We have a time delay before popping the next "query" node (roughly three seconds or so) where we hope that a) the DBoW2 descriptor for that node is received and assigned and b) the scene graph around the query node has a chance to get fully populated (we observed qualitatively that this helped the matching performance of the scene graph descriptors).

I wonder is it possible to enable scene graph loop closure without bow vectors.

As mentioned earlier, it is technically possible. I've tried it before myself, but not recently. If you end up trying it and it doesn't end up working, please let me know! As we haven't really been regularly testing that aspect of the pipeline, i.e. running with just scene-graph loop closures, there might be minor code issues (but I hope not :smile:)

Thank you for your very kind reply. Your descriptions help me a lot in understanding your great work. I will try what you have mentioned. Thank you once more :+1:

I'm going to close this issue. Feel free to re-open if you have further questions!


Fix buffer_iterator_index_expr

This addresses https://github.com/boostorg/compute/issues/665. I also made all index expression immutable.

Coverage increased (+0.002%) to 83.34% when pulling b9efc690c82ab29bdde152f7a9765c4d3c18743a on haahh:pr_fix_iterators_index_expr into 10b216f9cd3d46f5d4c9ef1a6e328cf1e728bbc2 on boostorg:develop.

Coverage increased (+0.002%) to 83.34% when pulling b9efc690c82ab29bdde152f7a9765c4d3c18743a on haahh:pr_fix_iterators_index_expr into 10b216f9cd3d46f5d4c9ef1a6e328cf1e728bbc2 on boostorg:develop.

Coverage increased (+0.002%) to 83.34% when pulling 7f3e66c1ddf099286a895b0f7590f892bdf3c6e5 on haahh:pr_fix_iterators_index_expr into 10b216f9cd3d46f5d4c9ef1a6e328cf1e728bbc2 on boostorg:develop.

Coverage increased (+0.002%) to 83.34% when pulling 79d90bcd3b72b664fdd0ff899963cc1bbd95e2cb on haahh:pr_fix_iterators_index_expr into 10b216f9cd3d46f5d4c9ef1a6e328cf1e728bbc2 on boostorg:develop.

looks good from my side!

@kylelutz Can you look at this? This pull request contains fix for OSX build on Travis-CI, and it would be great to have it, so contributors don't see their pull requests fail when they're perfectly fine. If you are not sure about introduced change to buffer_iterator_index_expr just tell me, so I'll isolate Travi-CI fix from this pull request.

Looks good! Thanks!


Trying again to change Logo URL

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

If you want to merge quickly check my profile, if you don't need help please disregard.

added in https://github.com/solana-labs/token-list/commit/93ca4cfc32719fbd9e376aa4ca44574df532f22e

we can't merge this due to a conflict:

please rebase to main and force-push onto this branch; sorry about that!


[BUG] Mistral SDK 1.2.0 Removes min_tokens Parameter

Required prerequisites

[X] I have read the documentation https://camel-ai.github.io/camel/camel.html.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

What version of camel are you using?
0.2.10
System information
3.10.15 (main, Oct  3 2024, 02:24:49) [Clang 14.0.6 ] darwin
0.2.10
Problem description
CAMEL integration with Mistral AI is failing due to an incompatible parameter in chat completion requests.
Mistral AI SDK version 1.2.0 (PR153) removed the min_tokens parameter from the Chat.complete() method, but CAMEL's configuration still includes this parameter.
Reproducible example code
Refer to the official docs: Graph RAG Cookbook
The Python snippets:
import dotenv
dotenv.load_dotenv()

from camel.models import ModelFactory
from camel.types import ModelPlatformType, ModelType
from camel.configs import MistralConfig, OllamaConfig
from camel.loaders import UnstructuredIO

# Set up model
mistral_large_2 = ModelFactory.create(
    model_platform=ModelPlatformType.MISTRAL,
    model_type=ModelType.MISTRAL_LARGE,
    model_config_dict=MistralConfig(temperature=0.2).as_dict(),
)

# Set instance
uio = UnstructuredIO()
kg_agent = KnowledgeGraphAgent(model=mistral_large_2)

# Set example text input
text_example = """
CAMEL has developed a knowledge graph agent can run with Mistral AI's most
advanced model, the Mistral Large 2. This knowledge graph agent is capable
of extracting entities and relationships from given content and create knowledge
graphs automaticlly.
"""

# Create an element from given text
element_example = uio.create_element_from_text(
    text=text_example, element_id="0"
)

# 🐛 Let Knowledge Graph Agent extract node and relationship information
ans_element = kg_agent.run(element_example, parse_graph_elements=False)
print(ans_element)

Command lines:
run the above code

Traceback
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[6], line 15
     10 element_example = uio.create_element_from_text(
     11     text=text_example, element_id="0"
     12 )
     14 # Let Knowledge Graph Agent extract node and relationship information
---> 15 ans_element = kg_agent.run(element_example, parse_graph_elements=False)
     16 print(ans_element)

File ~/anaconda3/envs/dkg/lib/python3.10/site-packages/camel/agents/knowledge_graph_agent.py:172, in KnowledgeGraphAgent.run(self, element, parse_graph_elements)
    164 knowledge_graph_generation = knowledge_graph_prompt.format(
    165     task=str(element)
    166 )
    168 knowledge_graph_generation_msg = BaseMessage.make_user_message(
    169     role_name="Graphify", content=knowledge_graph_generation
    170 )
--> 172 response = self.step(input_message=knowledge_graph_generation_msg)
    174 content = response.msg.content
    176 if parse_graph_elements:

File ~/anaconda3/envs/dkg/lib/python3.10/site-packages/camel/agents/chat_agent.py:633, in ChatAgent.step(self, input_message, response_format)
    622 except RuntimeError as e:
    623     return self._step_token_exceed(
    624         e.args[1], tool_call_records, "max_tokens_exceeded"
    625     )
    627 (
    628     response,
    629     output_messages,
    630     finish_reasons,
    631     usage_dict,
    632     response_id,
--> 633 ) = self._step_model_response(openai_messages, num_tokens)
    634 # If the model response is not a function call, meaning the
    635 # model has generated a message response, break the loop
    636 if (
    637     not self.is_tools_added()
    638     or not isinstance(response, ChatCompletion)
    639     or not response.choices[0].message.tool_calls
    640 ):

File ~/anaconda3/envs/dkg/lib/python3.10/site-packages/camel/agents/chat_agent.py:949, in ChatAgent._step_model_response(self, openai_messages, num_tokens)
    947 r"""Internal function for agent step model response."""
    948 # Obtain the model's response
--> 949 response = self.model_backend.run(openai_messages)
    951 if isinstance(response, ChatCompletion):
    952     output_messages, finish_reasons, usage_dict, response_id = (
    953         self.handle_batch_response(response)
    954     )

File ~/anaconda3/envs/dkg/lib/python3.10/site-packages/camel/utils/commons.py:271, in api_keys_required.<locals>.decorator.<locals>.wrapper(*args, **kwargs)
    264 if (
    265     not (args and getattr(args[0], '_api_key', None))
    266     and missing_environment_keys
    267 ):
    268     raise ValueError(
    269         f"Missing API keys: {', '.join(missing_environment_keys)}"
    270     )
--> 271 return func(*args, **kwargs)

File ~/anaconda3/envs/dkg/lib/python3.10/site-packages/camel/models/mistral_model.py:220, in MistralModel.run(self, messages)
    217 mistral_messages = self._to_mistral_chatmessage(messages)
    219 print(mistral_messages, self.model_type, self.model_config_dict)
--> 220 response = self._client.chat.complete(
    221     messages=mistral_messages,
    222     model=self.model_type,
    223     **self.model_config_dict,
    224 )
    226 openai_response = self._to_openai_response(response)  # type: ignore[arg-type]
    228 # Add AgentOps LLM Event tracking

TypeError: Chat.complete() got an unexpected keyword argument 'min_tokens'

### Expected behavior

_No response_

### Additional context

_No response_

Thanks @keli-wen for reporting this issue!


Issue #2123 - Adding AppendFormat to TagHelperContent.

https://github.com/aspnet/Mvc/issues/2123

:watch:

Updated.

:shipit: once everyone else is happy.

:watch:

Updated..

:shipit:

Thank you! https://github.com/aspnet/Razor/commit/585002baf8b6ef5239f66257ba565cdf71ed3b4d


Work with initial setup of altinn-components

Need to create a simple setup (PoC) consisting of a build step (using vite) and an instance of Storybook, which can be a contribution to https://github.com/Altinn/altinn-components

Merged. Will be working with several iterations. Already got some feedback.


A function that returns the IPFS addresses of files without uploading them

This would be useful for many applications, especially for experiments.

should be able to be done with ipfs add --only-hash (so ipfs.add({"only-hash": true}, ...) i think? cc @diasdavid @dignifiedquire

Exactly, you can do that with the only-hash option.

Thanks. But, when I pass opts with the key only-hash to ipfs.util.addFromFs, this function never calls the callback.. Help needed.

By try and error and some analysis, I think has nothing deal with ipfs.util.addFromFs. If the file was uploaded before or run with ipfs add --only-hash before, ipfs.util.addFromFs calls the cb almost immediately. But, if the file was brand new to the IPFS, it just hanged without error. I tried to understand the source code, but I haven't really understood it yet...

@yxliang01 you can take a look at this for inspiration
https://github.com/SafeMarket/ux/blob/master/lib/utils/getUnixMultihash.js
I believe the problem is that the multihash depends on the filesystem.

Thanks @aakilfernandes . While this is handy, I still think only-hash should work and do the job perfectly because it can guarantee that no matter how IPFS changes its way calculating the hash, the result is still accurate...

So... I think this is a bug instead of a question. Anyone has idea?

Okay, I think I know why. After dipping into the code, I found that add.js doesn't have options support which contradicts the documentation ipfs.files.add(data, [options], [callback]) at https://github.com/ipfs/interface-ipfs-core/tree/master/API/files#add .

What happens with this? I saw a branch containing with this which was deleted today.

Any news on this?

It looks like files.add does not support onlyHash right now but the unix dagNode creator thing (still trying to figure it all out), ipfs/js-ipfs-unixfs-engine, does so I think we might just need to connect the two.
js-ipfs-unixfs-engine can handle an onlyHash option as of https://github.com/ipfs/js-ipfs-unixfs-engine/pull/183.
In a little test, passing a hardcoded onlyHash option to the importer here and then avoiding the subsequent block call here seems to give the hash output but doesn't actually add to the fs.
I'd be happy to work on this. I think the pieces are something like:

connect the cli options to the fs engine
tests

Hello, can you tell me the function to produce only-hash using javascript.

@aiFreak A good starting point is the tests: https://github.com/ipfs/js-ipfs-api/blob/3f3ce8a998b42b15623aaed3ed80606cf5ed91cc/test/files.spec.js#L106-L117 You call ipfs.files.add() with {onlyHash: true} as option.

@vmx Thanks for your valuable suggestion but i want to generate ipfs hash on webpage without uploading so, that i can compare the hash. so, i want javascript or any client side code for web to generate multihash of ipfs.

@aiFreak You can use https://github.com/multiformats/js-multihashing-async to hash the actual data and then https://github.com/multiformats/js-multihash to create a multihash out of it.

@vmx Actually i have added the data to ipfs using ipfs.add() inside javascript code that gives a ipfs hash. Now, i want to genrate that same hash of the data without running the daemon means outside of ipfs so, for that i need javascrip function or code to generate the ipfs hash through webpage.

Actually there is a code in node js that gives the same hash but that is in nodejs but i want the code in javascript so that i can use it inside

@aiFreak It seems to be supported in js-ipfs (https://github.com/ipfs/js-ipfs/blob/8e3ea44ce260bdd56dd8691e907f55b0eea86c4c/src/core/components/files.js#L26). So you should be able to do something like:
const IFPS = require('ipfs')
IPFS.files.add(data, {onlyHash: true}, cb)

Please note that I haven't tried that, but I hope you get the general idea.

The onlyHash option is supported since https://github.com/ipfs/js-ipfs-api/pull/717 😄

If I understand right, there is no direct command in ipfs to just get the hash of a file without uploading or doing anything else with it? (Somehow this feels very odd, thats why I am confirming)

@JikkuJose you can use the --only-hash option. See https://github.com/ipfs/interface-ipfs-core/blob/master/SPEC/FILES.md#add

@JikkuJose
In command line, You can use -n with ipfs add command to do only hash.
For eg.. ipfs add -n abc.png
The command will return ipfs hash without uploading it.

@princesinha19 cool then! But wish there was a better named command for it than calling it add itself. I know -n is usually used in such context in unix but still feel a more explicit command would have helped.
Also, how did you verify it wasn't added to the repo?

I added the file first through  -n and then checked it on
http://<IP_ADDRESS>:8080/ipfs/IPFS_HASH
Then nothing occurred on screen.
After that, I removed -n and then again hit the URL http://<IP_ADDRESS>:8080/ipfs/IPFS_HASH. Now, I got the image on the browser screen.

Aah! I assumed there was a command line way to list the added files :)

Kindly, please could you move further conversation on this to https://discuss.ipfs.io/ - thank you


Need to combine different mixins

E.g. I have the same style for lanscape and portrait orientation, but from different screen width:
.block
    +portrait()
        +above(768px)
            position absolute
            top 0
            left 0
            right 0
            bottom 0
    +landscape()
        +above(960px)
            position absolute
            top 0
            left 0
            right 0
            bottom 0

Now I have to duplicate the code. Would be great to combine them to get something like:
@media screen and (orientation: portrait) and (min-width: 768px), screen and (orientation: landscape) and (min-width: 960px) {
    .block {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

I'm not sure that this is possible without a modification to stylus core, which is not really possible for me at the moment. Sorry!

Take a look please:
above($args)
	$media = ""
	$comma = ""
	for $orient, $bp in $args
		$media += $comma + "(min-width: " + $bp + ") and (orientation: " + $orient + ")"
		$comma = ", "
	$media = unquote($media)

	@media $media
		{block}

body
	+above({ portrait: 768px, landscape: 1024px })
		font-size: 18px

produces:
@media (min-width: 768px) and (orientation: portrait), (min-width: 1024px) and (orientation: landscape) {
  body {
    font-size: 18px;
  }
}

So, it is possible without stylus core modification.

Ok, would you be willing to submit a PR to add this functionality?

I tried to understand you code, but still no luck. Maybe later.


customer.driversLicense

[Enter feedback here]
FMLabCustomerEntity > field > DriversLicense  ( in this page, missing "S" in copy coding for testing this entity, it is not DriverLicense, should be DriversLicense

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

ID: 67eb6eeb-d9fc-4e83-6282-fff9783b1466
Version Independent ID: f16158fb-2a9b-6429-dd3e-05d4d1e1650b
Content: Build and consume data entities - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/data-entities/build-consuming-data-entities.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @Peakerbl
Microsoft Alias: peakerbl

@sisbio, thank you for pointing this out! The content has been updated to correct this issue. Thanks again!


3.2.7-b.18022023

3.2.7-b.180220231110
Additional Details

Last updated: 18 Feb 2023 11:10 (UTC)
Dependencies: none
Global values: none

+ Add
All Filters types

Blur
Brightness
Contrast
Drop Shadow
Grayscale
Hue Rotate
Invert
Saturate
Sepia
Backdrop Blur
Backdrop Brightness
Backdrop Contrast
Backdrop Grayscale
Backdrop Hue Rotate
Backdrop Invert
Backdrop Opacity
Backdrop Saturate
Backdrop Sepia

✓ This pull request has been approved ✓
Additional Details
Pull number: #1


[rhoai-2.10] RHOAIENG-8255: Fix spawn-fcgi-1.6.3-23.fc37.x86_64.rpm download location

RHOAIENG-8255: Fix spawn-fcgi-1.6.3-23.fc37.x86_64.rpm download location: PR
Related-to: https://issues.redhat.com/browse/RHOAIENG-8255

Merging this to get the RHOAI-2.10 branch ready.


How to use Doc2Vec instead of default document preprocessing of skflow

Hi,
In the text classification example with RNN, I think the document is represented by bag-of-words method.
I want to apply Doc2Vec method, then I have X_train.shape is (20000,500) and X_test shape is (5000,500) with the values are float.
Then I applied
def rnn_model(X, y):
    """Recurrent neural network model to predict from sequence of words
    to a class."""
    # Convert indexes of words into embeddings.
    # This creates embeddings matrix of [n_words, EMBEDDING_SIZE] and then
    # maps word indexes of the sequence into [batch_size, sequence_length,
    # EMBEDDING_SIZE].
    word_vectors = skflow.ops.categorical_variable(X, n_classes=n_words,
        embedding_size=EMBEDDING_SIZE, name='words')
    # Split into list of embedding per word, while removing doc length dim.
    # word_list results to be a list of tensors [batch_size, EMBEDDING_SIZE].
    word_list = skflow.ops.split_squeeze(1, MAX_DOCUMENT_LENGTH, word_vectors)
    # Create a Gated Recurrent Unit cell with hidden size of EMBEDDING_SIZE.
    cell = rnn_cell.GRUCell(EMBEDDING_SIZE)
    # Create an unrolled Recurrent Neural Networks to length of
    # MAX_DOCUMENT_LENGTH and passes word_list as inputs for each unit.
    _, encoding = rnn.rnn(cell, word_list, dtype=tf.float32)
    # Given encoding of RNN, take encoding of last step (e.g hidden size of the
    # neural network of last step) and pass it as features for logistic
    # regression over output classes.
    return skflow.models.logistic_regression(encoding[-1], y)

classifier = skflow.TensorFlowEstimator(model_fn=rnn_model, n_classes=15,
    steps=1000, optimizer='Adam', learning_rate=0.01, continue_training=True)

# Continuesly train for 1000 steps & predict on test set.
while True:
    classifier.fit(X_train, y_train, logdir='/tmp/tf_examples/word_rnn')
    score = metrics.accuracy_score(classifier.predict(X_test), y_test)
    print('Accuracy: {0:f}'.format(score))

then I met an error
TypeError: DataType float32 for attr 'Tindices' not in list of allowed values: int32, int64

What is a better way to apply Doc2Vec with RNN using skflow?

In the example you are referencing, a document is represented as a bag of embeddings that are co-learned in the model.
This part is responsible for mapping from word IDs to embedding (Word2Vec if you will)
word_vectors = skflow.ops.categorical_variable(X, n_classes=n_words,
        embedding_size=EMBEDDING_SIZE, name='words')

If you want to use Doc2Vec - you don't need LSTM (because you already mapped your document to an encoding). So you just need to do this:
def doc_vec_model(X, y):
    ... either nothing or skflow.ops.dnn for non linear transforms ...
    return skflow.models.logistic_regression(X, y)

classifier = skflow.TensorFlowEstimator(model_fn=doc_vec_model, n_classes=15,
    steps=1000, optimizer='Adam', learning_rate=0.01, continue_training=True)

# Continuesly train for 1000 steps & predict on test set.
while True:
    classifier.fit(X_train, y_train, logdir='/tmp/tf_examples/word_rnn')
    score = metrics.accuracy_score(classifier.predict(X_test), y_test)
    print('Accuracy: {0:f}'.format(score))

or you don't even need custom model, you can just use TensorFlowLinearClassifier or TensorFlowDNNClassifier instead.


Update requirements.txt

Motivation and Context

How has this been tested?

Checklist

[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Assigned myself to the PR
[ ] Added tests to cover my changes

Problematic pyspark-iris is passing ✔


componentWillUnmount not called when I go to new route

componentWillUnmount dosnt trigger when I go to a new route that is part of a tabBar router.
It happens when I to Action.toMyOtherRoute(), and when I press on one of the other buttons in the tabBar.
The problem with this is that if a reducer updates the store that the "Old-route" listens to, the old-route will re-render.

But 'old-route' still in the nav stack (that is why it will not be unmounted), right? Looks like it is not connected with this component, but general redux/flux question. I'm solving it by checking if route is "current route" then update, otherwise don't update.

how do you check if the component is "current route"? I can't see any such property on the route component

@aksonov  Have you found any solution for this fix ?

Please check latest 2.0 version. There is Actions.currentRouter property and Router has currentRoute property as well, so you could use Actions.currentRouter.currentRoute

I'm not sure if this is the same problem, but when I have tabbar router with tree routes in it and I click on the tab button, then Tabs component is rerendered four times. The view seems to be switched immediately but applying the "selected" style on the new selected tab button is lagging cca 1 second.

@sslash check Actions.currentRouter.currentRoute

@michalpetrov i saw such behavior as well, it seems not connected with this issue. You may create new ticket, PR is welcome!

@aksonov the problem with Actions.currentRouter.currentRoute is that if your current route is inside a tabBar, its name resolves to the tabBar route, not the current (nested) child route. Say I have
<Route name="tabbar">
                    <Router footer={TabBar} hideNavBar>
                    <Route name="home" schema="tab" component={Home} />
</Route>

And I am currently on "home", Actions.currentRouter.currentRoute.name = tabbar and not home

Strange, with 2.0.9 I've fixed that - it should deep into child route after Actions.route method:
            // deep into child router
            while (router.currentRoute.childRouter){
                router = router.currentRoute.childRouter;
                debug("Switching to child router="+router.name);
            }

@aksonov Is Actions.currentRouter.currentRoute still the recommended way to do this? I cannot seem to get this to work in 3.32.0

+1 latest version doesn't have Actions.currentRouter anymore. So how to access currentRoute?

@pewh have you found a solution for this?

create _createReducer function:
  _createReducer = (params) => {
    const { dispatch } = this.props
    const defaultReducer = Reducer(params)

    return (state, action) => {
      if (action.type === ActionConst.FOCUS) {
        dispatch(updateScene(action.scene.name))
      }

      return defaultReducer(state, action)
    }
  }

then in render,
return (
      <Router
        scenes={routes}
        createReducer={this._createReducer}
     ...
      />
    )

updateScene is just a redux action. Here is my updateScene function:
export function updateScene(sceneName) {
  return (dispatch, state) => {
    dispatch(createAction('SET_ROUTE')(sceneName))
  }
}

then in reducer:
export const routeReducer = handleActions({
  SET_ROUTE: (state, action) => ({
    ...state,
    currentScene: action.payload,
  }),
}, { currentScene: '' })

What I've done is simulate Actions.currentRouter function by create own reducer. Hope it solve your problem.


NPM package error

Hi!
Thanks for publish this package to npm, on our project we were using the CDN script, it worked perfectly, after switching to the npm package, the following errors are happening:

The first error happens when fetching the gravatar image, the second one when you submit your email.
We are using:
React 0.14.6
Webpack 1.12.9
I think is probably related to this issue: https://github.com/facebook/react/issues/2402 since this package install its own React version (0.14.5)

After update our React dependencies to be the same as this package (0.14.5) the last error was fixed, so.

@montogeek Thanks for reporting the issue!
I've fixed the Uncaught TypeError: (0 , _blueimopMd.md5) is not a function error and upgraded the react dependency to 0.14.6.
I'll need some more time to test before making a proper release tomorrow. In the meantime, I've pushed the changes to the branch webpack-fix. So, you can continue with the development of your application with the following dependency if you want to:
"auth0-lock-passwordless": "auth0/lock-passwordless#"

Thank you so much!

Is there any problem is you leverage the React version installed to NPM?
Instead of specify a version, leave npm decide the last version, like ^0.14.

I had some issues before during development were I ended up with different versions for some react packages. Anyways, I've relaxed the dependency version, lets see how it plays out.

Any idea why I am getting an empty folder?
package.json
"auth0-lock-passwordless": "auth0/lock-passwordless.git#webpack-fix"

@montogeek I've released 2.2.2.

Working smoothly, thank you!


Added functionality to show weeknumbers

Feature to show week numbers. Highly requested by Scandinavian countries. Fix #81

Awesome! Thanks... I'll do a code review... and then I'll merge it... be patient please.

Awesome! Thanks... I'll do a code review... and then I'll merge it... be patient please.

No hurry. Just in your own time. I just thought I would help where I could. Let me know if i should make any modifications. 👍

@kasperlegarth I didn't get the changes... where you able to do it?

@kasperlegarth hurra! Now we have the week numbers.
Still working in the build.

Is now merge into main in #319


The Peering Location for an Express Route Cross Connection ... cannot be modified from PL Name to .

This is a continuation of issue #18217 opened by @jbernardini, which was closed by our stale issue auto close system even though it is still an active bug.
 - Package Name: azure-mgmt-network

Package Version: 16.0.0b1, 16.0.0, 18.0.0, 19.3.0 and 25.3.0
Operating System: Win10
Python Version: 3.9.4

Describe the bug
Appears to be the same behavior as described in: https://github.com/Azure/azure-sdk-for-net/issues/20546. Only I've never had this working and can't find an example anywhere so I can't say for sure I haven't done something wrong. Note too I first worked through errors that seem to require the location and circuit id. These seem redundant to the skey (as does peering location) since you pull these values on a get(skey).
network_client.express_route_cross_connections.begin_create_or_update()
fails with:
File "./modify.py", line 38, in main
response = network_client.express_route_cross_connections.begin_create_or_update(
File "/home/user/.local/lib/python3.8/site-packages/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connections_operations.py", line 336, in begin_create_or_update
raw_result = self._create_or_update_initial(
File "/home/user/.local/lib/python3.8/site-packages/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connections_operations.py", line 292, in _create_or_update_initial
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
azure.core.exceptions.HttpResponseError: (PeeringLocationCannotBeModifiedForACrossConnection) The Peering Location for an Express Route Cross Connection /subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteCrossConnections/********* cannot be modified from PL Name to .
To Reproduce
Steps to reproduce the behavior:
expsrt = getexpressroute(skey)
resgrp = expsrt['id'].split('/')[4]
response = network_client.express_route_cross_connections.begin_create_or_update(
resgrp,
skey,
{
"location": expsrt['location'],
"service_provider_provisioning_state": "Provisioned",
"express_route_circuit": expsrt['express_route_circuit'],
"peering_location": expsrt['peering_location'] #same error if this is not included.
}
).result()
Expected behavior
Successful update of "service_provider_provisioning_state": "Provisioned",
Screenshots
If applicable, add screenshots to help explain your problem.

@jbernardini,
@nuts2890 from the Express Route group has identified the issue and they'll start working on a fix to be rolled out. I'll update this issue when there is more information.

Thanks for finding someone to address this @ronniegeraghty!