no ~/.config/mwm/config.toml file

> c r
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
     Running `target/debug/mwm`
thread 'main' panicked at src/config.rs:63:10:
Unable to read config.toml file from ~/.config/mwm/config.toml: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/result.rs:1654:5
   3: core::result::Result<T,E>::expect
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/result.rs:1034:23
   4: mwm::config::get_config
             at ./src/config.rs:62:23
   5: mwm::main
             at ./src/main.rs:140:26
   6: core::ops::function::FnOnce::call_once
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

I don't see any config file in the repo, so i thought i would report this issue

Oh that on the main branch


Relation to kustomize or ship?

What's mortar's relation to kustomize in upstream or ship from replicatedhq? Is it purely an alternative approach, or do you see the tools interacting with each other?
Our use case involves doing overlays to customize existing helm charts in a managed way. Unfortunately the helm charts are using a lot of lifecycle hooks (both standard and custom) so just piping e.g. helm template into kustomize is not working very well.

kustomize really only allows you to use overlays to customize the deployments e.g. per environment. I haven't looked at ship really at all, so cannot really comment on the relation to that. With a super quick look at the docs, "overlays" seems to be the chosen approach to customization there too.
What Mortar enables is basically overlays, templating with ERB and the overall management of complex apps as one "shot". Something similar you can do with Helm. But not adding all the complexity that comes with Helm. :) And not to mention
Essentially Mortar "just" processes the templates and overlays and outputs the resulting resources into k8s api. There are flags to just output to stdout so technically it should be possible to pipe it with other tools.
There was a PR to integrate Mortar with skaffold but that never got accepted upstream.


Fix the color scheme

@byxorna @roymarantz @defect

What's wrong with the colors?  Shouldn't you include a before and after picture :-)
:+1:

Before:

After:

Real Before:

Real after:

ohh man basic bootstrap theme is soooooo ..... basic

I think you meant to say 'wonderful' instead of 'basic'

:cake: :cake: :cake:


Support different types of README

Looks like that only README.md files are parsed for Markdown. Could you please add support for reStructuredText as well? Also, it would be nice to have a better looking formatting for plaintext (README files that do not use Markdown).

This is already tracked at https://github.com/go-gitea/gitea/issues/374


Incorrect formatting with long tuples

rustfmt appears to be adding a comma after the last item in a tuple if it breaks the tuple construction over multiple lines:
   fn update_lambda_n(&mut self) {
       let (obs, avg) = self.pstate.num_clients;
       self.pstate.num_clients = (
           obs_prime,
           update_running_avg(avg, obs, self.pstate.unique_clients.len()), // <--- This comma is wrong
       );
   }

This is mildly annoying because it causes code not to compile after being formatted.

This is mildly annoying because it causes code not to compile after being formatted.

I can't reproduce this - the compiler seems happy with training commas in tuple literals. Are you using a very old compiler by any chance.

I can't reproduce this

:confused: Hmm... neither can I... I was using 1.18 from a few weeks ago. I keep a short log of bugs/annoyances I come across while working, and this was on that log, but I'm not getting the same error I was a few days ago. Sorry for the noise :no_bell:


[SMALLFIX] Use sleeping UFS instead of root ufs cluster

@gpang Thanks for the fix, should this be done for the other tests which are using sleeping ufs?

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14736/Failed Tests: 21org.alluxio:alluxio-tests: 21alluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentCreateNonPersistedDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadSameFileMetadataalluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadFileMetadataNonPersistedDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentCreatealluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentListFilesExistingDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentListFilesNonPersistedDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadFileMetadataalluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentListDirsalluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadSameDirMetadataalluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadFileMetadataExistingDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadDirMetadataalluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadSameFileMetadataExistingDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadDirMetadataNonPersistedDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadSameDirMetadataNonPersistedDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentListDirsExistingDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentCreateExistingDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadSameDirMetadataExistingDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentListDirsNonPersistedDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadSameFileMetadataNonPersistedDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentLoadDirMetadataExistingDiralluxio.master.file.ConcurrentFileSystemMasterCreateTest.concurrentListFiles
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14737/
Test PASSed.

@calvinjia Yes, it can apply to the other concurrent tests. However, what should we do about the root test cases?

@gpang I think to fix the currently failing tests your change is fine. As a long term solution, we should make the sleeping ufs tests only run in default profile where we can set the root mount point to sleep. Running these tests in other profiles with a mounted sleeping ufs is redundant.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14741/
Test PASSed.

@calvinjia I updated the pom to exclude the sleeping ufs tests for non-default profiles.

@gpang LGTM, I like this solution a lot more. Is there any way to avoid the repetition?

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14743/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.master.file.FileSystemMasterIntegrationTest.concurrentCreateDelete
Test FAILed.

Jenkins, test this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14747/
Test PASSed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14750/
Test PASSed.

@calvinjia I'm not sure. I briefly looked into having a profile activate another profile, but that isn't supported. http://stackoverflow.com/questions/943411/can-i-make-one-maven-profile-activate-another


LHN- Unread message is not displayed in bold after reply by email

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

Action Performed:

Launch the app
Go to chat.expensify.com and log in as account A
As account A send some messages to an account that must be a main email address without the +. Wait 10 minutes. This will trigger an email notification to this account
Log out of Account A
After 10 min has passed, check the main account email inbox and open the mail with this name "Chat between  and ".
Answer to the email with any message.
Wait a minute or 2 and log into both accounts (A and main account).

Expected Result:
Unread message is displayed in bold after reply by email
Actual Result:
Unread message is not displayed in bold after reply by email
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/187818973-e400e4ff-ded6-4454-91b3-451ac99a519c.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Not sure if this is a front or back-end issue will investigate

I believe this issue is because the response trigger when we use the email isn't kicking off the unread indicator properly, but I also think we're doing a lot of changes to the LHN and unread messages so going to hold on solving this since its also has a small effect on the app

I wonder if this is related to reports from Guides that no new messages in #admins or are showing in bold as unread in LHN

Just adding that the message would not be bold for the person who sent it. That expectation is 100% wrong. If you send a message and then log in as the person who sent it the chat should be marked as read.

Going to open this up to the pool, but I also think that the email triggers for this shouldn't be too hard to resolve on the backend

Sorry, too much on my plate, unassigning myself

I was not able to reproduce this. The unread message was bold when I came back to the account. This appears to be working as intended so I'm leaning towards closing this out.

Ok I'm going to close this out. Please reopen if you can reproduce.


Setup compodoc

To improve documentation, we can setup compodoc:
https://docs.nestjs.com/recipes/documentation

Do you want to deploy it somewhere? Or running locally will be enough for a time being?

We just used the nest itself to serve it in development environment / or adjustable via env var. That is probably the best way.


Not able to update from <IP_ADDRESS> to 1.6.0

I'm not able to update de zigbee2mqtt addon from <IP_ADDRESS> to 1.6.0. I'm using HASSIO on a rpi 3b+
with HA version 99.3. I tried to update when I was on HA version 97.2 but I didn't succeed so I'll updated HA to 99.3 but still not possible to update.
I'll moved de cc2531 stick to a different usb poort, i'll removed the home-assistant.db, i'll rebooted
but without luck. Can you give me some suggestions were to look ?
Below my z2m addon config: (Which is working fine with <IP_ADDRESS> )
{
    "data_path": "/share/zigbee2mqtt",
    "devices": "devices.yaml",
    "groups": "groups.yaml",
    "homeassistant": true,
    "permit_join": false,
    "mqtt": {
        "base_topic": "zigbee2mqtt",
        "server": "mqtt://homeassistant:1883",
        "user": "admin",
        "password": "xxxxxxx"
    },
    "serial": {
        "port": "/dev/ttyACM0",
        "disable_led": true
    },
    "advanced": {
        "pan_id": 6754,
        "channel": 11,
        "network_key": [
            1,
            3,
            5,
            7,
            9,
            11,
            13,
            15,
            0,
            2,
            4,
            6,
            8,
            10,
            12,
            13
        ],
        "availability_blacklist": []
    },
    "ban": [],
    "whitelist": [],
    "queue": {},
    "zigbee_shepherd_devices": true

Below is the Z2M Log after I it's updated to 1.6.0.
Log
npm ERR! A complete log of this run can be found in:
npm
ERR!     /root/.npm/_logs/2019-09-29T15_14_51_880Z-debug.log
2019-09-29T17:14:52: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-09-29T17:14:52: PM2 log: App [npm:0] starting in -fork mode-
2019-09-29T17:14:52: PM2 log: App [npm:0] online
><EMAIL_ADDRESS>start /zigbee2mqtt-1.6.0
> node index.js
/zigbee2mqtt-1.6.0/lib/util/utils.js:44
        .map((mappedModel) => mappedModel.zigbeeModel));
                                          ^
TypeError: Cannot read property 'zigbeeModel' of undefined
    at flatten.map.map (/zigbee2mqtt-1.6.0/lib/util/utils.js:44:43)
    at Array.map (<anonymous>)
    at Object.<anonymous> (/zigbee2mqtt-1.6.0/lib/util/utils.js:44:10)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
npm
 ERR! code ELIFECYCLE
npm ERR! errno 1
npm
 ERR<EMAIL_ADDRESS>start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm
 ERR!     /root/.npm/_logs/2019-09-29T15_14_58_080Z-debug.log
2019-09-29T17:14:58: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-09-29T17:14:58: PM2 log: App [npm:0] starting in -fork mode-
2019-09-29T17:14:58: PM2 log: App [npm:0] online
><EMAIL_ADDRESS>start /zigbee2mqtt-1.6.0
> node index.js
/zigbee2mqtt-1.6.0/lib/util/utils.js:44
        .map((mappedModel) => mappedModel.zigbeeModel));
                                          ^
TypeError: Cannot read property 'zigbeeModel' of undefined
    at flatten.map.map (/zigbee2mqtt-1.6.0/lib/util/utils.js:44:43)
    at Array.map (<anonymous>)
    at Object.<anonymous> (/zigbee2mqtt-1.6.0/lib/util/utils.js:44:10)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
npm
 ERR! code ELIFECYCLE
npm ERR! errno 1
npm

ERR<EMAIL_ADDRESS>start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
     /root/.npm/_logs/2019-09-29T15_15_04_044Z-debug.log
2019-09-29T17:15:04: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-09-29T17:15:04: PM2 log: App [npm:0] starting in -fork mode-
2019-09-29T17:15:04: PM2 log: App [npm:0] online
><EMAIL_ADDRESS>start /zigbee2mqtt-1.6.0
> node index.js
/zigbee2mqtt-1.6.0/lib/util/utils.js:44
        .map((mappedModel) => mappedModel.zigbeeModel));
                                          ^
TypeError: Cannot read property 'zigbeeModel' of undefined
    at flatten.map.map (/zigbee2mqtt-1.6.0/lib/util/utils.js:44:43)
    at Array.map (<anonymous>)
    at Object.<anonymous> (/zigbee2mqtt-1.6.0/lib/util/utils.js:44:10)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
npm
 ERR! code ELIFECYCLE
npm ERR! errno 1
npm
 ERR<EMAIL_ADDRESS>start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
     /root/.npm/_logs/2019-09-29T15_15_09_637Z-debug.log
2019-09-29T17:15:10: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-09-29T17:15:10: PM2 log: App [npm:0] starting in -fork mode-
2019-09-29T17:15:10: PM2 log: App [npm:0] online

Hi,
I had the same issue.
I have removed "database.db" and now its working.

Just remove the database.db ? Do I have to re-pair every device again ?

I also got that error. I removed node_modules subdirectory and recreate it with npm install. Then, I restarted my Pi and everything is running fine now.

@alfem   I'm a total noob on linux so can you tell me how to recreate the node_modules folder with the npm install command within hassio ?

I am afraid I am not using hassio but a local custom installation of zigbee2mqtt and home-assistant. Try to find the folder where zigbee2mqtt is installed, and you will find the node_modules subdirectory under it.

Hi there, did anyone manage to get this fixed? I just updated my hassio and also upgraded zigbee2mqtt add on from 1.5.1 to 1.6.0 and now I can't seem to get any log at all out of it. It doesn't even attempt to start.
19-10-14 12:25:37 ERROR (MainThread) [hassio.addons.addon] Add-on 7ad98f9c_zigbee2mqtt have wrong options: Missing option availability_blacklist in advanced. Got {'data_path': '/share/zigbee2mqtt', 'devices': 'decices.yaml', 'groups': 'groups.yaml', 'homeassistant': True, 'permit_join': False, 'mqtt': {'base_topic': 'zigbee2mqtt', 'server': 'mqtt://homeassistant', 'user': 'XX', 'password': 'XXXXXXXXXXXXX'}, 'serial': {'port': '/dev/ttyACM0'}, 'advanced': {'pan_id': 6754, 'channel': 11, 'network_key': [1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13]}, 'ban': [], 'whitelist': [], 'queue': {}}
This was all I managed to get. To be clear I managed to get past the 1.5.1 upgrade issue and all was working normally.

@baldfox You have a problem in your config for the addon. See:
wrong options: Missing option availability_blacklist in advanced

@baldfox You have a problem in your config for the addon. See:
wrong options: Missing option availability_blacklist in advanced

Can you expand a little? I never had any issues before, and didn't see anything about needing to add the above availability_blacklist in the read me files? thx

@baldfox it's probably a change in the configuration that adds this parameter as required, even if empty. Look at the config from the original poster, you need in your advanced section the line with "availability_blacklist": []
@proton999 Did you fix your installation? Things to try: reinstall the addon, backup data in /share/zigbee2mqtt somewhere else and start the addon without that.

@ciotlosm I hadn't fixed it yet and I was about to try youre suggestion but I had added "zigbee_shepherd_devices": true to the config to control a new light bulb a few z2m versions ago.
This was working fine.  So I'll thought before reinstalling the addon again I remove the "zigbee_shepherd_devices": true line from the config. After removing that line the update from <IP_ADDRESS> to 1.6.0 went fine. For me this issue can be closed. Thanks !

Thanks for sharing.

It seems the required config options have changed between updates, but the upgrade doesn't automatically upgrade the config.
I had to remove:
advanced:
  "availability_blacklist": []
'ban': [],
'whitelist': [],

And then insert:
advanced:
  availability_blocklist: []
  availability_passlist: []

This is a known issue as documented here: https://github.com/danielwelch/hassio-zigbee2mqtt/issues/384


Porting: Timeout based on time rather than number of retries for Pyth…

…on (#174) (#175)

Timeout based on time rather than number of retries for Python (#174)

Bug fix (#176)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: 21630827 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


ModuleNotFoundError: No module named 'torch._custom_ops'

The ERROR occur when I try to train the data.I was using CUDA=11.8 and pytorch3D==0.7.4,I don't sure whether this is a potential reason or not.
The full ERROR report are as follow:
(base) PS F:\hhy\Spring-Gaus-main> python train.py -g 0 --cfg config/real_capture/burger.yaml --eval_cam 0 --exp_id burger
Traceback (most recent call last):
File "F:\hhy\Spring-Gaus-main\train.py", line 30, in
from lib.utils.transform import inverse_sigmoid, uniform_sampling
File "F:\hhy\Spring-Gaus-main\lib\utils\transform.py", line 11, in
import torchvision.transforms.functional as tvF
File "C:\Users\Administrator\anaconda3\Lib\site-packages\torchvision_init_.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "C:\Users\Administrator\anaconda3\Lib\site-packages\torchvision_meta_registrations.py", line 4, in
import torch._custom_ops
ModuleNotFoundError: No module named 'torch._custom_ops'

also I'm using python=3.11 in the base env

Hi, it looks like a package version problem, maybe try reinstall pytorch and torchvision can help.

I have the same problem.Have you solved it?

I tried reinstalling torch and torchvision,but it didn't work.

I tried reinstalling torch and torchvision,but it didn't work.

Can you provide your torch version?

I didn't solve the problem.

I didn't solve the problem.

What's your pytorch version and torchvision version?

Hi, it looks like a package version problem, maybe try reinstall pytorch and torchvision can help.
You can use the recommend environment at https://github.com/Colmar-zlicheng/Spring-Gaus?tab=readme-ov-file#rocket-dependencies
Thank you vert much.I guess maybe the main reason of error is I didn't install pytorch3D==0.7.1 which is supported for python==3.7 and CUDA==11.6 at the same time.
But I only found the linux download source from here:https://anaconda.org/pytorch3d/pytorch3d/files?page=7
Since I am using windows and my homework was ended  I give up on this project.

It seems that windows only supported pytorch3D==0.7.4 and it is no longer support python==3.7


Update sources for KG2.7.7

Check and update all relevant upstream sources:

[x] SemMedDB: 43 (2021) - No change needed
[x] UMLS: 2020AA  to UMLS: 2022AA
[x] ChEMBL: 27 to ChEMBL: 30
[ ] DrugBank: 5.1 to Drugbank: 5.1.9
[x] Ensembl: 103 to Ensembl: 106
[ ] GO annotations: 2021-11-08 to GO: 2022-07-01
[ ] UniProtKB: 2021_04 to UniProtKB: 2022_02
[x] UniChem: 385 - No change needed
[x] DrugCentral: 48
[ ] KEGG: 101.0 to 103.0

SemMedDB made changes to their database schema since 2.0.
The existing extract-semmed.sh says version 43 but the list on kg2-versions.md says 23. Not sure why there's a discrepancy.

SemMed version 43 is the correct current version of the DB. No changes needed at this time.

KEGG queries an API to create a flat file, so I think it should get the latest release upon full build, but I will need to verify that.

Finally got download approval for drugbank! Added drugbank_5.1.9.xml.gz to S3 bucket


Error[E0599] : no method named get_notify_fd found for struct ScmpFilterContext in the current scope.

When running command: make build and later, when compiling libcontainer v0.0.3.
Repo git hash: 184c21b79485ece170d1ee9da52eaf9ec745ce61
OS kernel: 5.15.0-47-generic
OS:  x86-64, ubuntu 22.04

Hey @92hackers , can you try running make clean and re-run make build? I tried building both main branch at current commit and the commit you have mentioned, and both seem to build fine without any errors.
It might be possible that some existing dependency of old version of libseccomp might be giving error , as I also remember getting a similar error in past. Unfortunately I don't remember what was the root issue, and how I solved it :sweat_smile:
Can you try cleaning and rebuilding as I mentioned above and let us know if the error is still there?
Thanks

@92hackers May I ask you to make sure that you can compile runc without errors in your env?

@utam0k , you are right.
After i installed libseccomp-dev on my ubuntu, then i can build youki successfully, with libcontainer v0.0.3。
Thanks.

@92hackers I'm glad to help you

I have the very same error on a pretty old ubuntu (18.04.6 LTS) using libseccomp-dev 2.5.1
What is the minimal version of libseccomp-dev needed?

@ms140569 libseccomp-dev 2.5+ should work, can you once try cleaning and re-compiling? (Even though that should not be a reason for error)

@YJDoc2 although I did a separate make clean and then a make youki-dev before which showed this error I've now done it in one go which solved the issue:
make clean && make youki-dev
I have no idea why this now works. I've doublechecked my command-history to make sure that I really did a make clean and nothing relevant in between ...  I will now do it again and again to verify ...

I also ran into this compilation failure, in my case it was due to libseccomp not being available in my dev environment / accessible by pkg-config. After making it available, it compiled successfully.

I did some more digging.
In build.rs, the libseccomp crate discovers via pkg-config if it can find the libseccomp-dev, and then sets cfg libseccomp_v2_5.
libseccomp/lib.rs only imports the notify mod on #[cfg(any(libseccomp_v2_5,doc))] in libseccomp/lib.rs,
so during build-time of libseccomp crate, libseccomp-dev needs to be available.

@flokli Thanks for your investigation. Do you know how to avoid this error?

I guess this project is making use of the functionality, and it already documents it needs to be installed. Not sure what else to do.


Remove dead translations

Just some housekeeping: remove translations of non-existing strings.
This way we stop getting messages about them every time we compile.

Codecov Report

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

@@          Coverage Diff           @@
##           master    #816   +/-   ##
======================================
  Coverage    6.79%   6.79%
======================================
  Files         103     103
  Lines        5123    5123
  Branches      467     467
======================================
  Hits          348     348
  Misses       4748    4748
  Partials       27      27

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 0f696ca...006d8d1. Read the comment docs.


Sprites do not respect Z layering properly.

Bevy version
0.8.1
What you did
Attempted to render Text2D on top of a separate non-batched Transparent2D phase item.
What went wrong
The order of draw calls is random and a Text2D can draw under a lower z axis Transparent2D entity.
Additional information
I believe this is due to how batches are handled within the sprite renderer which is what Text2D uses.
bevy_sprite sorts extracted sprites by transform.translation.z value twice. Once during the phase sort and once here:
https://github.com/bevyengine/bevy/blob/main/crates/bevy_sprite/src/render/mod.rs#L412
Sorting extracted_sprites with the z axis value is fine if all you are rendering is sprites, but when you have other Transparent2D calls you can't guarantee the correct order of draw calls without batching by z axis as well. A fix would be to batch by z axis. This can be done by adding the sort key to SpriteBatch.
I've tested this fix with a local copy of bevy and this resolved my issue.

#5942 was merged recently and seems potentially related. Could you test on main?

Here is a reproducible example:
//! Displays a single [`Sprite`], created from an image.

use bevy::{prelude::*, sprite::MaterialMesh2dBundle};

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_startup_system(setup)
        .run();
}

fn setup(
    mut commands: Commands,
    asset_server: Res<AssetServer>,
    mut meshes: ResMut<Assets<Mesh>>,
    mut materials: ResMut<Assets<ColorMaterial>>,
) {
    let font = asset_server.load("fonts/FiraSans-Bold.ttf");
    let text_style = TextStyle {
        font,
        font_size: 60.0,
        color: Color::WHITE,
    };
    let text_alignment = TextAlignment::CENTER;

    commands.spawn_bundle(Camera2dBundle::default());
    commands.spawn_bundle(MaterialMesh2dBundle {
        mesh: meshes.add(Mesh::from(shape::Quad::default())).into(),
        transform: Transform::from_xyz(0.0, 0.0, 10.0).with_scale(Vec3::splat(128.)),
        material: materials.add(ColorMaterial::from(Color::PURPLE)),
        ..default()
    });
    // Demonstrate changing translation
    commands
    .spawn_bundle(Text2dBundle {
        text: Text::from_section("translation", text_style.clone())
            .with_alignment(text_alignment),
        transform: Transform::from_xyz(0.0, 0.0, 12.0),
        ..default()
    });

    commands
    .spawn_bundle(Text2dBundle {
        text: Text::from_section("Hello!", text_style.clone())
            .with_alignment(text_alignment),
        transform: Transform::from_xyz(-100.0, 0.0, 0.0),
        ..default()
    });
}

#5942 was merged recently and seems potentially related. Could you test on main?

Yeah I'll take a look with the latest bevy.

@rparrett Yes that does appear to also fix the issue.
I think if that's the case then the Z sort here is pointless:
https://github.com/bevyengine/bevy/blob/main/crates/bevy_sprite/src/render/mod.rs#L412
As the phase sort will already be sorting correctly.


⚠ Bofrost.at has degraded performance

In 9e73726, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 960 ms

Resolved: Bofrost.at performance has improved in e93f084.


Programme listing generates correct programmes LESQ-605

Description
Music year: 1982

Utilises generateCorrectProgrammes function on programme listing page
Amends test and fixture data

Acceptance Criteria:

[ ]  Owa should look and behave the same as it does now with regards to the new tag on content
[ ]  programme listing pages should look the same, in particular KS4 Maths (new) and KS4 Combined science (legacy)

Issue(s)
Fixes #LESQ-605
How to test

Go to https://deploy-preview-2216--oak-web-application.netlify.thenational.academy

Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner
[ ] Does this PR update a package with a breaking change

:tada: This PR is included in version 1.336.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Unittests were added

No unit tests created - added folder tests + created some unittests.
Rounding issue - added rounding in the file converter.py

@OleksiiBulba please review and approve.


result of async code isnt logged correctly in 'Logs' tab

result of async code isnt logged correctly in 'Logs' tab

Expected behavior:
should log 'b', then 'a' inside log tab (like in dev tools)
Actual behavior:
only logs 'b' in log tab.
System: Mac with Chrome Version 80.0.3987.163

Thanks - this is a dupe of https://github.com/microsoft/TypeScript-Website/issues/367


API: deactivate_my_account is undocumented.

This line: https://github.com/zulip/zulip/blob/33d7a2268563cc89dca662369ccacfd0d35a8a7f/zerver/openapi/zulip.yaml#L4383 is undocumented. https://chat.zulip.org/api/deactivate-my-account currently returns 404. This issue was discussed at https://chat.zulip.org/#narrow/stream/127-integrations/topic/go-zulip-api/near/991579.

@akashaviator would you be up for taking this issue?
I believe the bug is that we just haven't written a /api/ page for this.

@zulipbot claim

@zulipbot claim

I have opened a PR on this issue, and am unassigning myself so that I may work on another while this gets reviewed.
@zulipbot abandon

I have opened a PR on this issue, and am unassigning myself so that I may work on another while this gets reviewed.
@zulipbot abandon


fix: fixed reference to redis client

there was an error when referencing this.redisCli

lgtm. thanks


Yet another Lexmark no-reattach quirk (E310)

This is for an Optra E310. I just get a flashing error light after a few seconds, no output.
This saves the day:
# echo 0x043d 0x000c no-reattach > /usr/share/cups/usb/lexmark-e310
I found this following these bug reports: #4448, #4778, #4994.

For 2.2.7 and 2.3...

[master ea95f7fe1] Add USB quirk rule for Lexmark Optra E310 printers (Issue #5259)
[branch-2.2 5e1869029] Add USB quirk rule for Lexmark Optra E310 printers (Issue #5259)


Bot does not post messages to the chat that contains several topics

There is a target chat with several topics. Bot does not accept commands nor post messages to any o the topic including the General one.
I've referenced to the API and in the sendMessage method  there is the following in the  sendMessage API description:

message_thread_id
Integer
Optional
Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

Possible to add message thread ID  to the sendMessage method of your library?
Thank you!

Yes, I can add it, but later

Thank you! That would be great addition to the existing library.

Done in FastBot2 library


Validate function names and parameter count

Only 2500 lines added jake should be ezmode.
(99% are tests)

lgtm


Allow for adjusting minimum vertical and horizontal drag distances

What changed?
Allowed user to adjust the minimum vertical and horizontal drag distances so that they can make drag & drop operations more or less sensitive than the default of SystemParameters.MinimumHorizontalDragDistance and SystemParameters.MinimumVerticalDragDistance. Defaults to the SystemParameters values so that the default library settings remain the same.

@Deadpikle 👍


Update README.md

Describe the pull request
Some typo errors and linguistical mistakes

Spam due to hacktoberfest.

Due to overwhelming community dislike and this not being a meaningful improvement, closing this as "invalid".

@BillyONeal please tag this as "invalid" or "spam" so this user will not receive hacktoberfest credit. :)

@Hoikas How do I do that? (Do we need to create a label for this?)

Yes, per the Hacktoberfest FAQ, any "[p]ull requests that contain a label with the word invalid or spam won’t be counted toward Hacktoberfest." I'm not sure how robust the "word detection" is though. IME most projects use a label named exactly "spam" or "invalid".


Progress during requests

Hello, awesome work done in this repo.
I wanted to ask if there is any way to see the progress of the requests.
I.e. while getting followers can I see how many of them are retrieved?
Then compare it to the number of followers retrieved from profile info.
Thank you

You can use the updateHandler parameter on methods such as UserHandler.followed.
It accepts a block as such:
public typealias PaginationUpdateHandler<R, P> = (
        _ update: P,
        _ inserting: [R],
        _ nextParameters: Bookmark,
        _ runningResponse: [R]
    ) -> Void

inserting represents the newly fetched Users.
runningResponse represents all Users returned until then.


Can't register a code as snippet and make it works.

The following code:
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
Isn't right, raising this error: Uncaught TypeError: Cannot read property 'InsertAsSnippet' of undefined. Rather that even I specify 4 for "insertTextRules" attribute nothing happens.
I need this attribute to "registerCompletionItemProvider".

@inocencio I suggest you try to reproduce the problem in the Monaco Editor Playground.
This code works fine for me.
monaco.languages.registerCompletionItemProvider('json', {
    provideCompletionItems: function(model, position) {
        return {
            suggestions: [
                {
                    label: '"options"',
                    kind: monaco.languages.CompletionItemKind.Function,
                    insertText: '"${1:option1}": "${2:option2}"',
                    insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet
                }
            ]
        };
    }
});

monaco.editor.create(document.getElementById("container"), {
    value: "",
    language: "json"
});

@rcjsuen
Thank you for reply.
I'm trying to custom a language, so I configured the environment to run on Electron and Monaco Editor so far. Running your sample, it executes just fine, however, I cannot reproduce my code on Playground and I don't know why yet.
Basically, I'm loading from dev version:
const path = require('path'); const amdLoader = require('../node_modules/monaco-editor/dev/vs/loader.js'); const amdRequire = amdLoader.require; const amdDefine = amdLoader.require.define;
The relative code to a snippet is:
`
//Register the custom completion function into Monaco Editor
monaco.languages.registerCompletionItemProvider(lang, {
provideCompletionItems: function(model, position, context, token) {
// let textUntilPosition =
// 	model.getValueInRange(new monaco.Range(1, 1, position.lineNumber, position.column))
// 	model.getValueInRange({startLineNumber: 1, startColumn: 1, endLineNumber: position.lineNumber, endColumn: position.column})
				//console.log('Text: ' + textUntilPosition)
                return [
                    {
                        label: 'sop',
                        kind: monaco.languages.CompletionItemKind.Snippet,
                        documentation: "Show a debug message on console terminal",
                        insertText: 'show_debug_message($0);'
                    },
                    {
                        label: 'ifelse',
                        kind: monaco.languages.CompletionItemKind.Snippet,
                        insertText: [
                            'if ${1:condition} {',
                            '\t$0',
                            '} else {',
                            '\t',
                            '}'
                        ].join('\n'),
                        //insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
                        documentation: 'If-Else Statement'
                    }
                ];
            }
        });

`
If I uncomment this line: //insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
it raises the error I mentioned before, even if I specify "insertTextRules: 4" for this attribute. If I remains it as commentary, it executes like a raw text, not a snippet.

@inocencio Perhaps you are using an older version of the monaco editor? i.e. haven't upgraded to the latest one?


parse jsdoc to handle @param/@return properly

When emitting a function, we want to preserve any JSDoc describing
the parameters but supply our own values for the types.
TypeScript has a JSDoc parser, but it's not exposed in a place
where we can use it.  So for now do a hacky regexp-based parse
of JSDoc.  The interfaces used here are pretty similar to the
TypeScript ones so if the API does expose them, it shouldn't be
too hard to adjust.
Fixes issue #67.

PTAL.  I rewrote it to your suggested pattern of "merge existing JSDoc with known types into a data structure, then emit".  I think it is much nicer now.

LGTM.

This failed due to Closure compile timing out after 20 seconds.  It takes 4.2s locally, so I think maybe it just got unlucky with a slow VM?  If will try landing this and if it still times out I will investigate either upping the time out again or figuring out some other approach for how we compile...


Issue: ConversationalRetrievalChain Fails to Distinguish User's Intention for Chat History Only or Chat History + Vector Store Answer

Issue you'd like to raise.
In my application, I am using the ConversationalRetrievalChain with "stuff" chain type, FAISS as the vector store and ConversationBufferMemory. I have noticed that when I ask a question related to a previous response (i.e. a request that is only looking for answers from chat history, such as a summarization request), the system still searches for answers from both the vector store and chat history. This often leads to incorrect or irrelevant answers (the summarization will include data from chat history as well as data that is never presented in previous conversation from vector store).
I've tried to address this issue by passing a custom prompt using combine_docs_chain_kwargs to specify whether a response should be generated based on the chat history only, or the chat history and the vector store. However, this approach hasn't been effective.
It seems that the system is currently unable to correctly discern the user's intention to exclusively use the chat history for generating a response. It's crucial that the system can accurately determine this to provide relevant and accurate responses.
Suggestion:
I propose that the system should be enhanced with a mechanism to first detect the user's intention to either:
Select a response from the chat history only, or
Select a response from the chat history in combination with the vector store.
This could possibly be achieved by conditionally including or excluding certain parts of a prompt, such as {context} (from stuff_prompt.py, this is the default prompt used by stuff chain type), based on user input or intentions. However, this logic would need to be implemented during the data preparation for the template.
I haven't figured out a way to do so. Looking forward to your help!

Can you not use a router chain to facilitate this?

Can you not use a router chain to facilitate this?

After a quick glance through the router chain, this might be a pretty good solution to the above problem. Thanks for your info!

After a quick glance through the router chain, this might be a pretty good solution to the above problem. Thanks for your info!

Have you solved the problem in this way？

+1


Anki import images from link source

Is there a way I can write the "img" string directly into the HTML code of the anki card??

No, this is currently not possible as all HTML is stripped when moving over to Anki. That's something I want to improve, see #3.

I found a workaround by using HTML codes like this:
<img src="EXTERNAL LINK HERE
" width="300px">
The line break is necesarry for it to work properly.

Interesting, that sounds like a bug if it's possible. Please don't rely on that continuing to work in the next version. I am planning proper support for this in the next release.

This should be fully supported using normal unescaped HTML in just-released 1.2. Let me know if anything doesn't work for you.


ir: Make macro constants not being architecture-dependent.

Fixes #1185

r? @fitzgen or @pepyakin

@bors-servo r=nox

:pushpin: Commit ed57762 has been approved by nox

:hourglass: Testing commit ed5776206ccd3873e372d4960208fe6cec1235f7 with merge 079d8383cc02cdce355af4cc8110317dfd362e37...

:sunny: Test successful - status-travis
Approved by: nox
Pushing 079d8383cc02cdce355af4cc8110317dfd362e37 to master...


Test commit

Root Cause of the Issue

Description of Change

Issues Fixed

Fixes #

Screenshots
Before:
After:

Test comment


More then 4000 Warnings when compiling with Visual Studio

I always try to get my code warning free, to see if there is a problem.
When I now compile the lib, I get more then 4000 Warnings for the lib.
Are you interested in fixing this?
They are almost not so special, but if they would be gone, you can find real problems.
One example in ac_context.h
JXL_DASSERT((1u << log2_covered_blocks) == covered_blocks);
warns, because 1u is 32 bit, the rest is 64 bit, better would be
JXL_DASSERT(((size_t)1 << log2_covered_blocks) == covered_blocks);
or
return num_ctxs * kNonZeroBuckets + kZeroDensityContextCount * block_ctx;
creats a 64 Bit value that is implicit converted to 32 bit. Better would be
return (uint32_t)(num_ctxs * kNonZeroBuckets + kZeroDensityContextCount * block_ctx);
to tell the compiler that you know that there will be no problem. The same problem in line 124 and 137.
To be continued.

Feel free to make a pull request to get rid of these. I agree that it would be good to get things warning-free (for clang and gcc we make warnings fatal for that reason).

#935


Update rosenheim scraper and geojson

This PR updates Rosenheim scraper and geojson.
However, two questions came up:

I'm not aware of the conventions regarding backward compatibility. In rosenheim.get_lot_infos() I currently still request v1 lot_info information but don't use it. Only currently via source_url retrievable lot information is returned. How should these be merged? Should old parking lots still be returned and with which ID? the new one converted to the legacy ID?
rosenheim publishes two publications, one providing static lot information, one dynamic occupancy data. Both are linked via an external, numeric id, which currently can't be persisted via LotInfo. This is a scenario, which I expect to become a lot more usual, especially for cities publishing DATEXII publications. IMHO, LotInfo should be extended and receive a new optional external_id, wdyt?

For now, I request the LOT_URL on each get_data to retrieve the internal_id external_id.
In consequence, rosenheim.geojson would not be required currently, as we request it for every get_data request.
However, in mid-term, LotInfo should receive an optional external_id wich lets us skip the call to LOT_URL for every update.

Sometimes a parking lot name changes which can lead to a change of the ID which requires updating the scraper. Sometimes there are external IDs present which i used in the beginning but then went back to keep the legacy IDs, because of some decision that i can't really remember..

I remember we had the same discussion with IDs in the legacy ParkAPI. I think the our reason to stick with internal IDs was that the availability and uniqueness of external IDs was so inconsistent that we had to use internal IDs anyway so we kept them instead of maintaining two different IDs for each lot.


4.19-4.20 MVP Stage Assignments

Liangyu's work

[ ] add support for Vicuna pretrained LLM, https://github.com/lm-sys/FastChat#vicuna-weights. @liangyuch
[ ] support interactive chat (may init from alpaca or vicuna to better support for chat demo) @liangyuch
[ ] support language only chat @liangyuch
[ ] !!!!support in-context learning example @liangyuch
[ ] host collie demo on one or multiple  3090 GPU

run python collie_chat.py --checkpoint_path xxx

Bo's work

[x] check image preprocess (image mean/variance) in (1) finetuning stage on multi-instruct (2) pretraining stage on mmc4. they need to be aligned. @Luodian
[ ] check trained model's ability to support (1) interactive chat (2) different instructions.
[x] check special tokens are correctly aligned during training and demo evaluation.

Yuanhan's work

[x] test accelerator training, or give Bo's access to a prepared environment to test accelerator on 8x32G V100.
[ ] prepare datasets card, introduce our multi-instruct in-context learning dataset.
[x] deepspead config, solve hard-code problem.
[x] review training code;
[x] Add LoRA

Data Paths

We use {azure_blob} as the mounted blob's start path

Trained Model Paths

Train on GQA: {azure_blob}/models/collie9B_gqa

Helpful Discussion

confirm training data for current stage
setup demo and support interactive chat.
fsdp, 8bit Adam, LoRA for efficient and distributed tuning.
support Collie9B inference on consumer GPU
enrich instructions from ChatGPT.

Hello, it seems you have successed in running training on 32G V100 GPUs? If it's true, could you please share the distributed running cmds? I've struggled in it for several days T_T. Looking forward to your early reply.

hi I am contacting people who are still using V100 to run Otter to let some of them to show the commands. What error you have encountered? You can share it with us.

export PYTHONPATH=.
export CUDA_LAUNCH_BLOCKING=1
accelerate launch --config_file=./pipeline/accelerate_configs/accelerate_config_fsdp_v100.yaml \
pipeline/train/instruction_following.py \
--pretrained_model_name_or_path=luodian/OTTER-MPT7B-Init  \
--mimicit_path="/mnt/lustre/dwzhou/data/gpt/m3it/vqa/st-vqa/st-vqa_instructions.json" \
--images_path="/mnt/lustre/dwzhou/data/gpt/m3it/vqa/st-vqa/st-vqa_00.json" \
--train_config_ic_path="/mnt/lustre/dwzhou/data/gpt/m3it/vqa/st-vqa/st-vqa_train.json" \
--batch_size=4 \
--num_epochs=1 \
--report_to_wandb \
--wandb_entity=ntu-slab \
--run_name=OTTER-LLaMA7B-densecaption \
--wandb_project=OTTER-LLaMA7B-3mpt  \
--workers=1 \
--lr_scheduler=cosine \
--learning_rate=1e-5 \
--warmup_steps_ratio=0.01 \

compute_environment: LOCAL_MACHINE
distributed_type: no
downcast_bf16: false
machine_rank: 0
main_training_function: main
mixed_precision: fp16
num_machines: 1
num_processes: 1
rdzv_backend: static
same_network: false
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false
main_process_port: 20687

Thanks very much, I want to run it in distribute with deepspeed, but when I change the accelerate config with below( from accelerate_config_zero2_slurm.yaml), I got this error, have you ever met this？
1.the accelerate config:
compute_environment: LOCAL_MACHINE
deepspeed_config:
gradient_accumulation_steps: 1
gradient_clipping: 1.0
offload_optimizer_device: cpu
offload_param_device: cpu
zero3_init_flag: false
zero_stage: 2
distributed_type: DEEPSPEED
fsdp_config: {}
machine_rank: 0
main_process_ip: null
main_process_port: null
main_training_function: main
mixed_precision: fp16
num_machines: 1
num_processes: 8
use_cpu: false
2. the submitted cmd
workspace=$(realpath $(dirname $(dirname $0)))
cd $workspace
export PYTHONPATH=${workspace}:$PYTHONPATH
partition=Model
jobname=$1
LOG_DIR=$workspace/logs/debug
mkdir -p $LOG_DIR
START_TIME=date +%m%d-%H%M%S
LOG_FILE=$LOG_DIR/${jobname}_${START_TIME}
GPU_NUM=$2
gpus_per_node=$(($GPU_NUM>8?8:$GPU_NUM))
export MASTER_ADDR=<IP_ADDRESS>
MASTER_PORT=6001
export CUDA_LAUNCH_BLOCKING=1
GLOG_vmodule=MemcachedClient=-1
srun --mpi=pmi2
-p ${partition} -n${GPU_NUM} --gres=gpu:${gpus_per_node} --ntasks-per-node=${gpus_per_node}
--cpus-per-task=5
--job-name=$jobname --kill-on-bad-exit=1
--quotatype=auto
-x "SH-IDC1-10-198-6-[242,243,110]"
accelerate launch --config_file=/mnt/lustre/wuruijia/workspace/MLLM/projects/debug/Otter/scripts/zero2.yaml
pipeline/train/instruction_following.py
--pretrained_model_name_or_path="/mnt/lustre/share_data/wuruijia/MLLM/models/OTTER-LLaMA7B-INIT"
--mimicit_path="/mnt/lustre/share_data/wuruijia/MLLM/data/MIMIC-IT/DC/DC_instructions.json"
--images_path="/mnt/lustre/share_data/wuruijia/MLLM/data/MIMIC-IT/DC/DC.json"
--train_config_path="/mnt/lustre/share_data/wuruijia/MLLM/data/MIMIC-IT/DC/DC_train.json"
--batch_size=4
--num_epochs=1
--report_to_wandb
--wandb_entity=ntu-slab
--run_name=OTTER-LLaMA7B-densecaption
--wandb_project=OTTER-LLaMA7B-3mpt
--workers=1
--lr_scheduler=cosine
--learning_rate=1e-5
--warmup_steps_ratio=0.01
--model_name="flamingo"
2>&1 | tee $LOG_FILE > /dev/null &
3. the error

--config_file=/mnt/lustre/wuruijia/workspace/MLLM/projects/debug/Otter/scripts/zero2.yaml
Basically you can not run the model with zero2 on non A100 GPU. Since it costs around 79G to run it. And if you use fsdp you should set the num_processes=1 inside the accelerate config and for zero3, it matches with actually used gpu nums (e.g. 8, 16).

Thanks, I'll try zero3 soon. But the error is as below (the error info img is failed to upload in the last reply), it seems I haven't got a correct setting for the slurm submit cmd, and I wanna ask for the cmd you've successed.
WARNING:torch.distributed.run:                                                                                *****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable
for optimal performance in your application as needed.                                                                                *****************************************
[W socket.cpp:426] [c10d] The server socket has failed to bind to [::]:29500 (errno: 98 - Address already in use).
[W socket.cpp:426] [c10d] The server socket has failed to listen on [::]:29500 (errno: 98 - Address already in use).                                      [W socket.cpp:426] [c10d] The server socket has failed to bind to [::]:29500 (errno: 98 - Address already in use).
[W socket.cpp:426] [c10d] The server socket has failed to listen on [::]:29500 (errno: 98 - Address already in use).
[W socket.cpp:426] [c10d] The server socket has failed to listen on [::]:29500 (errno: 98 - Address already in use).                                      [W socket.cpp:426] [c10d] The server socket has failed to bind to [::]:29500 (errno: 98 - Address already in use).
WARNING:torch.distributed.run:


Add cgmanifest.json Files to Track Dependencies from SupportFiles Packages

The cgmanifest.json files will surface otherwise undetectable dependencies in component governance in the Microsoft-internal Azure DevOps instance.

/azp run


Added GetUser, Updated stuff

Made commands, player package
Added permissions
fixed command bug
added /getuser <username/uuid>

Thanks!

No problem :)


Upgrade nginx base image

to fix a vulnerability
https://quay.io/repository/giantswarm/docs/manifest/sha256:e0461a5b5094d4df57e365b3351198559b084a65798641ca47cfc5d2e27794d3?tab=vulnerabilities&fixable=true

This doesn't actually fix the problem, but it keeps us more up to date.


Null safety feedback: Improve error message to encourage for null check

Currently, if you use nullable variable in a place where only non-nullable should be you get error message about types incompatibility.
int definitelyInt(int? aNullableInt) {
  int aInt = aNullableInt;
  return aNullableInt;
}

Error: A value of type 'int?' can't be assigned to a variable of type 'int'.

For me it sounds like I should convert nullable type to non-nullable. And it is easy to find "!" operator, while searching the solution, what will give runtime error, and it's not a purpose of "Null safety". It can be tricky for people who less experience with "Null safety" languages.
Proposition:
It's possible to mention null checking in the error message to encourage people not to use "!" operator or typecasting.

There is some amount of user education needed for the null safety feature. The warning you get here is not like other similar warnings.
In most other cases, "a Foo is not  assignable to a Bar" means that you have something, but it's not the right thing. For the nullable to non-nullable assignment, it means you have nothing and you need something.
The solutions include ! (aka as int), which should only be used when you know it can't fail, ?? 0 which provides a something instead of the nothing.
So, when you see "nullable type cannot be assigned to non-nullable type", your first thought should not be to convert because such a conversion can fail.  It should be "why is that thing nullable to begin with?" or "Why did I not expect it to be nullable?"
If that question comes back with "I'm certain it won't be null here", then using ! is the right approach (preferably along with documentation static why it's safe). Otherwise, go with ??.
The error message would be a good place to make that distinction visible to the author, so maybe we could add something suggesting using ??.

Just curious: should Null safety feedbacks be moved to https://github.com/dart-lang/language?

Only if the feedback is about the language design. Issues with the implementations, which includes error messages provided by compilers or the analyzer, should stay in the SDK repository.

I wonder if we might consider changing the error message to something like "Error: A nullable value of type 'int?' can't be assigned to a non-nullable variable of type 'int'.", @lrhn ?

That depends on when you'd give that error.
If it would also say that:

Error: A nullable value of type 'String?' can't be assigned to a non-nullable variable of type 'int'.

then it's just repeating the null-ness of the type in prose as well, and people will quickly learn to ignore that.
If that message is only used when the assignment would be allowed if the first type had been non-nullable, then it might help to highlight the specific problem at the point. It still isn't saying how to fix the problem, and I worry people will just add ! to shut up the analyzer.
I still think it would be nice to suggest using ??. Maybe:

Error: A value of type 'int?' value might be null, and cannot be assigned to 'int'. Consider adding '?? defaultValue' to produce a non-nullable value.


Shape sizes

Description
When testing small (11x11) gridworlds, we need smaller shape sizes. The current shape sizes extend past this grid.
This PR changes the max shape sizes as well as the grid offsets.
NOTE: Should all shape sizes in an 11x11 gridworld be size 1x1?
Fixes # (issue)
Type of change
Please check the options that are relevant.

[ ] Bug fix (non-breaking change that fixes an issue)
[x] Proposes a change (non-breaking change that isn't necessarily a bug)
[ ] Refactor
[ ] New feature (non-breaking change that adds a new functionality)
[ ] Breaking change (fix or feature that would break some existing functionality downstream)
[ ] This is a unit test
[ ] Documentation only change
[ ] Datasets Release
[ ] Models Release

Type of requested review

[x] I want a thorough review of the implementation.
[ ] I want a high level review.
[ ] I want a deep design review.

Before and After
If this PR introduces a change or fixes a bug, please add before and after screenshots (if this is causes a UX change) or before and after examples(this could be plain text, videos etc ) to demonstrate the change.
If this PR introduces a new feature, please also add examples or screenshots demonstrating the feature.
Testing
Please describe the tests that you ran to verify your changes and how we can reproduce.
Checklist:

[ ] I have performed manual end-to-end testing of the feature in my environment.
[ ] I have added Docstrings and comments to the code.
[ ] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] New and existing unit tests pass locally with my changes.
[ ] I have added relevant collaborators to review the PR before merge.
[ ] [Polymetis only] I ran on hardware (1) all scripts in tests/scripts, (2) asv benchmarks.

I think this was fixed by @aszlam  in another PR.


Direct new users to the internal exporter

A new customer tried to use this external exporter. This tries to be clearer that new customers should use the internal exporter.

@alonho -- tagging you for visibility when you're back from your travels.


Single libvirtd instance support

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug

/kind enhancement
What happened:
Normally there is a per container instance of libvirtd.
What you expected to happen:
Wouldn't it better to have a single instance of libvirtd on host? Is there any limitations? Why current implementation runs per-container instance?

Wouldn't it better to have a single instance of libvirtd on host? Is there any limitations? Why current implementation runs per-container instance?

The idea is we want VM guests scheduled and self contained as Pods. libvirtd simply exists as a shim for starting/stopping the qemu process within our pod.
having a centralized libvirtd per host means a 1:many relationship of libvirtd to VM guest pods. That centralized libvirtd would have to exist outside of the Pod environments on the host level, and then coordinate launching qemu processes within these containerized environments. Practically, we found that to be much more fragile than putting libvirtd within the pod using a 1:1 relationship of libvirtd to VM guests.

Thanks


want to know from where  the message receive is initiated after send button is pressed how does the tinode bot reply ?

Exactly i want to know the point where messages are received.. like if i send "hi" message that can be found from send message() function.The reply for that chat is done by Tino the bot, so from which function the reply messages are shown in the chat. like function which awaits reply or where i can see what is the reply and accordingly i can alter the message before it is received by the user

Received by the server from the client? From client by the server? By The chatbot from the server? From the socket? From the channel? Processed? You have to ask more specific questions otherwise it's not very productive. Your question about the chatbot is answered in my previous reply but you did not respond to my answers so I don't know if that's what you are looking for or not. You may also want to describe your use case and I'll try to figure out what you want.
Please do your homework and try to be more specific. Thanks.


Fixed potential memory leak when error occurs in paranoid mode.

When error would occur in paranoid mode there was no cleanup of previously allocated objects (e.g. stack).

Good catch!


Explore using multi diff editor for previewing workspace edit

We now have a diff editor that can show multiple (textual) diff in a single editor. We currently use this in source control contexts but it would be worth exploring to use this with previewing workspace edits, they are also across different files and from a single logical unit. This would also help with todays two step UI which shows a view which reveal individual diff editors

fyi @hediet


Spawn pod by side

Codecov Report

Merging #47 into master will increase coverage by 7.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage   61.75%   69.09%   +7.34%
==========================================
  Files          17       14       -3
  Lines         400      288     -112
==========================================
- Hits          247      199      -48
+ Misses        139       79      -60
+ Partials       14       10       -4

Impacted Files
Coverage Δ

adapter/sql.go
75.86% <ø> (ø)
: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 c493404...e5b5c4c. Read the comment docs.


Update README and add comunity standard docs

This PR updates the README (view updated forked here) and adds the code of conduct and contributing docs that are suggested by the github communtiy standards.

Potential issues:

the gifs' file sizes are too large
the exogon or something else is outdated/irrelevant
contribution info is missing something/inaccurate
code of conduct is not well aligned with the community (adopted from A-frame/Rust's)

Awesome job cleaning this up 👏!
First thing that comes to mind is -- would this work better or worse with the Exobot or the Exogon? Right now the readme is the main thing displaying the latter.

Talk about this on chat a bit — unless we change the rest of content to be exogons, I think we should put the exobot image up top here.

I agree, it is best to keep consistent with the exobot, updated:


Update README memory limit resources typo

Current documentation provides an invalid value for memory limit.
The K6 "k6-sample-1" is invalid: spec.runner.resources.limits.memory: Invalid value: "1000mi": spec.runner.resources.limits.memory in body should match '^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$'

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Render TagHelper to String

It could be useful to be to get the rendered html from a TagHelper, optionally passing a ViewContext. Maybe an extension method.
HtmlString str = MyTagHelperClass.ToHtml();
HtmlString str = MyTagHelperClass.ToHtml(attributes);
HtmlString str = MyTagHelperClass.ToHtml(attributes, viewContext);

Similar to Rendering views into strings #2274.

Hi @RandyBuchholz.
Is there an actual scenario where this would be used?

It's interesting but I don't think it aligns with the areas we plan to focus on in an upcoming release. It overlaps with other ideas we have around Razor templating and even concepts currently being tested out in Blazor so I don't think we'd do a one-off here that would make sense in the longer term.

I'm really impressed with how Blazor is coming along and the design decisions. Great job!
It would be nice to see WebSockets (with RPC) as a foundational part of Blazor. The ability to JIT Blazor Components would be awesome. So would be the ability to instantiate classes residing on the server in client code, and/or call methods on server-side objects from the client. SPA's are nice, but three-tiered applications with C#-Browser clients would be even better (IMHO). Just as WebAssembly is changing the use of JavaScript, I think WebSockets is changing the use of HTTP. With C# in the Browser and C# on the server, WebAPI can be replaced with WebSocketsAPI, that exposes raw methods on classes, and returns C# objects, even in a binary form - skipping the whole Json encode/decode.

Closing per @DamianEdwards's response.


What the cleanest why to integrate iconify in a Deno fresh project ?

Hi,
I want to use iconify SVG in my fetch website, the way I use them in Vite projects.
For now, I'm creating by hand iconify component in a folder components/icon/ like components/icon/ant-design/ant-design-home-outlined.tsx
That works, but I'm sure there are better ways to do it suitable.

Test 1
in import_map.json
 "@iconify/react": "https://esm.sh/<EMAIL_ADDRESS>in index.tsx
import { Icon } from "@iconify/react";
<Icon icon="mdi-light:home" />
Failed with Error:
An error occurred during route handling or page rendering. Error: [object Object] is not a valid HTML tag name in <[object Object] icon="mdi-light:home">
    at E (https://esm.sh/v95/preact-render-to-string@5.2.4/X-ZS8q/deno/preact-render-to-string.js:12:2370)

After multiple publishing issues: react_icon for fresh is out.
SThe implest way to use it is to update import_map.json with:
{
  "imports": {
    "preact"<EMAIL_ADDRESS>    "preact/"<EMAIL_ADDRESS>    "react-icons/ai"<EMAIL_ADDRESS>    "react-icons/bs"<EMAIL_ADDRESS>    "react-icons/bi"<EMAIL_ADDRESS>    "react-icons/ci"<EMAIL_ADDRESS>    "react-icons/di"<EMAIL_ADDRESS>    "react-icons/fi"<EMAIL_ADDRESS>    "react-icons/fc"<EMAIL_ADDRESS>    "react-icons/fa"<EMAIL_ADDRESS>    "react-icons/gi"<EMAIL_ADDRESS>    "react-icons/go"<EMAIL_ADDRESS>    "react-icons/gr"<EMAIL_ADDRESS>    "react-icons/hi"<EMAIL_ADDRESS>    "react-icons/im"<EMAIL_ADDRESS>    "react-icons/io"<EMAIL_ADDRESS>    "react-icons/md"<EMAIL_ADDRESS>    "react-icons/ri"<EMAIL_ADDRESS>    "react-icons/si"<EMAIL_ADDRESS>    "react-icons/sl"<EMAIL_ADDRESS>    "react-icons/tb"<EMAIL_ADDRESS>    "react-icons/tfi"<EMAIL_ADDRESS>    "react-icons/ti"<EMAIL_ADDRESS>    "react-icons/vsc"<EMAIL_ADDRESS>    "react-icons/wi"<EMAIL_ADDRESS>    "react-icons/cg"<EMAIL_ADDRESS>  }
}

The uses it like in the official doc.


data model validation

Provide basic validation check on the topology, link, nodes, and port definitions according to the required fields in the data model schema

wrapped up the parsers (handlers) and validators for all the objects defined.


Updated Russian translations

Hello there!
I updated russian translations for portal.

@malikyantizhanov You'll need to fix the syntax errors in your JSON before we can merge it 🙂

@malikyantizhanov You'll need to fix the syntax errors in your JSON before we can merge it 🙂

Sorry! I fixed it)

@malikyantizhanov We've since merged some other translations for Russian, so this PR conflicts heavily. Please open a new PR if you'd like to make amendments 🙂


Galaxy job readiness probe

changed some behavior; python script for server is now executed through bash to pipe to tee which writes the output to a file, /tmp/log.
readiness probe checks this log for "is running", a string output when the job service is ready to accept jobs.
let me know what i can do to improve the quality of this PR

Closing in favor of https://github.com/galaxyproject/galaxy-helm/pull/127


Bump model-registry to v0.1.1

Description

Update the model-registry library to the lates tag https://github.com/opendatahub-io/model-registry/releases/tag/v0.1.1.
Updated the e2e test to make use of that version for the container as well.
How Has This Been Tested?

Unit tests:
make test

and e2e tests:
kind create cluster --config test/config/kind-e2e-config.yaml

IMG=quay.io/$USER/odh-model-controller:$(git rev-parse HEAD) && make IMG=$IMG docker-build && kind load docker-image $IMG

make IMG=${IMG} deploy-dev

make e2e-test

Merge criteria:

[ ] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

/test all


It would be great if all the documentation was on a single page.

What is the ideal scenario for using this feature?
New users trying to find information in the documentation.
Is your feature request related to a problem? Please describe.
Currently it is difficult to search the docs as information is hidden when selecting different subheadings. If the documentation was a single page users could use the find functionality in their browser to locate information that is relevant. For a project of this size this is preferable dedicated search functionality.

There are simply too many docs to put in one page. We're working on improving the docs to be searchable, though. If we had a search system that was responsive and inclusive of all the content in the docs, do you think this would have helped you?

Search in docs has been added since this was filed.


Timer example is incorrect

If the interrupt is not cleared, it will immediately retriggered after the ISR has finished.
    timer.clear_interrupt(Event::TimeOut);

Good catch, thank you!

@hannobraun could you add good first issue as a label, I can't. Thanks.

Good call!

@systec-ms  is there a repro case, or was this found by inspection?

@systec-ms is there a repro case, or was this found by inspection?

Inspection.

Fixed in #169. Closing.


bugfix: Unable to record from MIB

bugfix: Unable to record from MIB
https://github.com/etingof/snmpsim/issues/163


Possibility to extend formatters?

Words passed as parameters should be capitalized/lowercased depending on translation.
We're using message formats as the only source of translations.
It would be great to extend built-in formatters select, plural with own ones, like lowercased, capitalized.
I see this change would also involve intl-messageformat-parser package.
Do you think it's a good idea?

@Metallium we are implementing the specified formatters from ICU Messages: http://userguide.icu-project.org/formatparse/messages.
I believe lowercase, and capitalization should be baked into the translation rather than a runtime cost. It might require some duplications in the messages you send to the client side, but I think it is worthy to keep that separation.

These injected words are dynamic and are used in lots of messages. Thought about that, but it seems more natural to polish it in concrete translation.

formatter customization is available by default in c# implementation
https://github.com/jeffijoe/messageformat.net/blob/master/src/Jeffijoe.MessageFormat/Formatting/FormatterLibrary.cs#L25

@caridy you can still implement the specified formatters from ICU Messages, but make the set of formatters customizable.

ah, thanks for the link @Metallium. I will talk to the other folks about this, give us some time to review it. /cc @ericf

@Metallium can you write an example message in the message syntax to demonstrate what you're suggesting? I think it would help be better understand what you're running into and how you're proposing to solve it.

example that is unsolveable now:
data remains the same for all languages, but specific language can force lowercasing of words inside string
format('Add 1 {itemName}', {itemName: 'Bug'}) => 'Add 1 Bug'
format('(Translation) Add 1 {itemName, lowercased}', {itemName: 'Bug'}) => '(Translation) Add 1 bug'
as for me, formatters seem to be good extensibility point, allowing to define

text/numbers transformation aliases
specific stuff like html wrappers around text parts (allowing to add specific behavior on message parts while preserving source string sanity)
...

@Metallium I see, so you want to define lowercased() in your app code, pass it to IntlMessageFormat() as a custom format, and when used in a message it'll be called the locale and value?

yep, to make it possible to provide custom formatters, e.g.
new IntlMessageFormat('The price is: {price, number, USD}', 'en-US', {
    lowercased: function(value) {
        return value.toLowerCase();
    }
})

in general it would be great if default formatters (plural, select, selectordinal, ...) would use the same API as custom ones

Another potential use-case for this I've had in the past (#99) is to turn lists into sentences, it would be great to be able to define a sentence formatter:
format('Selected {items, sentence}', {items: ['one', 'two', 'three'})
// => "Selected one, two and three"

@rlivsey that's a different feature request, and it is an ongoing effort: https://github.com/tc39/ecma402/issues/33

@caridy awesome, thanks for pointing me towards that, I've added a comment to the original issue pointing others over there too.


GPGPU implementation of SOI part

As for the nonlocal current under the spin orbit interaction, I wrote the code for GPGPU. @syamada0 san, could you review this PR?

Thank you for the modification!
I checked this with several conditions such as multi-GPU and it works well.

I'm really glad to hear the comment. Thank you.


Bug: Error 403 strikes again

Same as #437 , #363 , #354 and many more, this seems to be happening quite often, so i presume it's caused by youtube "patching" non-premium downloads like they "patch" adblock
I encountered the issue, and it didnt change despite using vpn.Even the possibility of it being caused by too many downloads is small, because i dint use the app for a solid few months, and previous downloads were limited to 1-2 videos max
OS - desktop Windows 10, app version -v1.9.25 (at the moment latest), tried installing the latest update again on top,results didnt change
(May just be a me issue, because i dont see other people talking about that)

Thanks, I'll check this out

having the same problem!


GH-44668: [Docs] Fix ColumnChunkMetaData offset documentation in pyarrow

Rationale for this change
The pyarrow documentation of ColumnMetaData is contradicting the C++ implementation.
The pyarrow documentation says:
The data_page_offset and dictionary_page_offset are relative to the column chunk offset
The C++ comments in the code say:
The offsets are byte offsets from the beginning of the file to first data_page / dictionary_page
What changes are included in this PR?
Update comments that data_page_offset and dictionary_page_offset are relative to start of file
Are these changes tested?
Verified locally that C++ code comments are correct
Are there any user-facing changes?
Documentation
GitHub Issue: https://github.com/apache/arrow/issues/44668

GitHub Issue: #44668

merged, thanks @GeorgKreuzmayr


eventDelay on mobile

When a hover event is converted to click on mobile I expect the floater to disappear after eventDelay time value has elapsed, instead the floater remains until the user click on the trigger again.
Is this a possible new feature? Or is there another way of achieving this?

Hey,
eventDelay only works with hover.
You can control the floater with the open prop.


DataSet .complete and .fraction_complete do not work

A minimal example is included below. The DataSet.complete returns while the loop is still running.
import time
import numpy as np
import qcodes
from qcodes.tests.data_mocks import DataSet2D
from qcodes.tests.instrument_mocks import DummyInstrument

dataset = DataSet2D()
A = DummyInstrument(server_name='test')
sweepvalues=A.dac2[0:100:.05]

#%%
#%Loop in background
data=qcodes.Loop(sweepvalues, progress_interval=.2, delay=.001).each(A.dac1).run(background=True)
print('sync %s' % data.sync())
print('fraction %.3f' % data.fraction_complete())
data.complete() # should wait on data to be ready

for ii in range(20):
    data.sync()
    print('sync %s' % data.sync())
    print('fraction %.3f' % data.fraction_complete())
    time.sleep(0.2)

@giulioungaretti @alexcjohnson

Yeah, this is a confusing situation... you need to explicitly enable the DataManager too, then it works:
data=qcodes.Loop(sweepvalues, progress_interval=.2, delay=.001).each(A.dac1).run(
    background=True, data_manager=True)

Without the DataManager there's no way for the background process to sync data back to the main process.
I suppose we could change the run flags so you only need one of them to enable multiprocessing. I wrote it this way because there are reasons you might want background and no data manager or vice versa, though they're kind of edge cases. So perhaps a better way, if you're going to be running this way most of the time while the new architecture is still being developed, would be to set config.core.legacy_mp = True which turns them both on by default.
One thing we could do is throw a warning if you use background=True without data_manager=True. That would help any legacy_mp users to get to the right settings.


unable to login powerbi in china

unable to login power in china
Login-PowerBI only works for ms global, however, in China the URL is different

Try changing to:
Login-PowerBI -Environment China

In each PowerShell script where that command is mentioned. See docs .

Oh. I see you submitted a pull request already. Thanks. I will let the owners review.


Calibrate cicd build trigger file

WHAT DOES THIS PR DO?
A file to trigger redeployment of the calibrate microservice

Just added a file to trigger redeployment of the calibrate microservice. It works locally but failing to work on production and staging. @Baalmart @123MwanjeMike


Frontend updates

Description

Extended Search to the topic content
Unified Add topic dialog
Linked Treeselect to graph data selection

/run-ci


Fix langdata config for Chinese, Japanese and German

@Shreeshrii, these are similar changes as for langdata. Please review.


🐛 [Bug]: Broken Pricing Page

Description
Pricing page is broken

This one might be a bit urgent as we are driving traffic to this page.
CC: @giseleblair
To Reproduce
1. Visit -> https://www.zesty.io/pricing/

Current vs. Expected behavior
No response
Which area(s) are affected? (Select all that apply)
No response
Additional context
No response

@giseleblair  Looks like the one-to-many relationship returning a string of item_zuid for some reason.  This should have been an array and I figure this breaking the pricing page.

Also, your screenshot doesn't look like what's in prod, can you confirm

@giseleblair  I'm closing this as resolve, this is the same issue last night for webengine returning one-many data's as string


move to_date out from mix-up in DataFusion

In #88, we mix to_date function impl into DataFusion. After #154, we have dedicated CH mod. It is better to move to_date impl as ToDate in that mod.

I will fix it.

@pandaplusplus thanks! No rush! Have a good night!

it seems we have solved this issue in #173 !


Hand landmark 3D model

I put in hand_landmark_3d.tflite but got this error instead:
kp_orig = (self._pad1(joints) @ Minv.T)[:,:2]
ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 3 is different from 4)

did you use the 3d landmark fork?

what do you mean?

so this repository does not implement 3d keypoint detection. However there is a fork of the project that supports 3d point regression, you just have to look through the issues and find it.


Convert to Ember CLI addon.

Fixes #8. I've converted this into an Ember CLI addon. I've made it to where you can specify which orbit files you want included in your environment.js file. I've updated the README but it the install instructions won't fully work until my pull request is accepted. Further, the instructions will change when it goes on npm.

I say, lets build an addon. The pattern is much more stable now and model blueprints would be nice.
@dgeb Have you seen ember-simple-auth? All the packages/libraries are maintained in a single repository and separate repositories are used to maintain the different addons for each library.
core:

ember-simple-auth

addons:

ember-cli-simple-auth
ember-cli-simple-auth-oauth2
ember-cli-simple-auth-device
etc.

Seems like that setup has worked pretty well.

Superceded by https://github.com/orbitjs/ember-orbit/pull/87


Add support for olderThan parameter

This parameter works the same as "after" parameter in react-native CameraRoll (https://facebook.github.io/react-native/docs/cameraroll.html)

Great PR. Will merge

@RalfNieuwenhuizen Hi, I was working on a newerThan parameter, and I'm having some trouble. How is olderThan passed in from the JS side?

@CrazyPython it's the timestamp of the previous photo, in string format. Passed in in the fetchOptions like this:
const images = await RNPhotosFramework.getAssets({
        fetchOptions: {
            olderThan,
            fetchLimit,
            mediaTypes: ["image"],
            sourceTypes: ["userLibrary", "cloudShared", "itunesSynced"],
            sortDescriptors: [
                {
                    key: "creationDate",
                    ascending: false,
                }
            ]
        },
        includeMetadata: true,
        includeResourcesMetadata: true,
    });


A Command [native!] binds my [ctrl-shift-F] makes my Atom can't use [project-find:show]

Description
I reinstalled my system yesterday, and installed Atom 1.5.3. I found I couldn't use [ctrl-shift-F] to do a [project-find]. I checked the page [Keybindings], and found a command [native!] binds my [ctrl-shift-F].

Actually, what is [native!] ? How can I delete the keybinding? How to make [ctrl-shift-F] working for [project-find:show]
Versions
System: Win7x64

C:\Users>atom --version

1.5.3

C:\Users>apm --version
apm  1.6.0
npm  2.13.3
node 0.10.40
python
git 2.7.1.windows.2
visual studio

Sorry. I just found that it's my fault.
I found [ctrl-f] is binded to [native!] too, and I can use [ctrl-f] to find. Now I know what does that mean.
I checked my computer and found hypersnap binded [ctrl-shift-F] to snapscreen. I exit hypersnap and the [ctrl-shift-F] on atom is working.
Please close this issue, sorry.

Thanks for the update @catscarlet!


Dependency of bp-convert is missing

bp-convert is not available, because there is no primitives branch in bp-core anymore.
https://github.com/BP-WG/bp-wallet/blob/0009dc615ff4c44420408663ed09de9ea5a2c2b7/convert/Cargo.toml#L25

Closed in https://github.com/BP-WG/bp-wallet/commit/4543cc05bc7f4e5b80a1ac796ba72aac2a066de5


style(GUI): reduce eslint-disable no-var scope

Change-Type: patch

Amazing catch! I'll approve.
The tests are failing due to some angular mocks weirdness, which seems to be biting  https://github.com/resin-io/etcher/pull/1154 as well


⚠ Bofrost.de has degraded performance

In fb99d55, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1099 ms

Resolved: Bofrost.de performance has improved in bf0dc9c after 6 minutes.


added unit depths & changes to Hugging Face datasets

How much of the code in the ndt1.py file is for ndt? Should we maybe have the Masker + tokenization + data preparation in different files @PPWangyc for reusuability and modularity?

Looks great though!

The depths will be super useful. Glad you added this @yzhang511

How much of the code in the ndt1.py file is for ndt? Should we maybe have the Masker + tokenization + data preparation in different files @PPWangyc for reusuability and modularity?

Hi @colehurwitz , the code in ndt1.py is all for ndt. I think for current stage, we don't need to change a lot, since we are conducting ssl test on it.

Sounds good. I think the PR looks good then! Feel free to merge when ready @PPWangyc @yzhang511

We can store all these results in a table and using wandb :)

Sounds good, I just learned about wandb today :)
On Wed, Mar 6, 2024 at 8:40 PM Cole Hurwitz @.***>
wrote:

We can store all these results in a table and using wandb :)
—
Reply to this email directly, view it on GitHub
https://github.com/colehurwitz/IBL_foundation_model/pull/9#issuecomment-1982183998,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGINHRGNBPG6KYWU7UFOTRTYW7AQ3AVCNFSM6AAAAABEF5B4SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSGE4DGOJZHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ready to merge? @yzhang511

Updates:

Add more hyper-param options, e.g., dropout, to decoders
Give option to save using wandb
Add multi-session data loaders and model
Add options for regression or classification
Changed data splits to compare to poyo
Ready to be run on clusters

Can we merge this into main soon? The PR is getting pretty long!

Yes, I think this thread is ready to be merged now :)
On Mon, Apr 1, 2024 at 10:31 AM Cole Hurwitz @.***>
wrote:

Can we merge this into main soon? The PR is getting pretty long!
—
Reply to this email directly, view it on GitHub
https://github.com/colehurwitz/IBL_foundation_model/pull/9#issuecomment-2029849309,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGINHRFEHRDKH4K46SNG7SLY3FVTVAVCNFSM6AAAAABEF5B4SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZHA2DSMZQHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ok, you can merge when ready :)


Implemented iqs5xx driver

This PR is to implement the driver and API for the iqs5xx trackpad controller

@Machine-Hum thanks for your contribution. Please format your commits according to our guidelines:
https://docs.zephyrproject.org/latest/contribute/guidelines.html#contribution-workflow
Remember to amend existing commits, not add new ones. Also you will need to remove the merge commit you have now.

Should those twister/clang CI tests be passing? I don't see where I would have broken anything.
If there is something else I should be doing or reading please let me know :)

@carlescufi I think things should look a little better now. Formatted as per the guidelines and ran the clang linter. I tried running twister and it took over 24hrs to get to 75%. Is this normal?

You tried to run twister locally? Yes, that's gonna take a long time. Use CI instead of running locally.

Could someone rerun the workflows please :)

I think we really need an input subsystem, not another API to handle a type of input device (touch).

So what's the action on my part? Should this be rewritten? I moved this to #52649 because I broke this PR, it's not updated from my remote. Closing.


Enable third-party podspec sources to be fetched from mirrored git repositories

Summary:
At OEBB we currently facing an issue we're not able to use our mirrored git repositories for third-party podspecs. This is due to the fact podspecs contain hardcoded git repository urls. With this change we could specify urls to our mirrored git repositories.
Changelog:
[IOS] [ADDED] Enable third-party podspec sources to be fetched from mirrored git repositories
Test Plan:
# Define env vars for git mirrors

export FMT_GIT_URL="https://my-git-host.com/my-mirrored-repo.git"
export GLOG_GIT_URL="https://my-git-host.com/my-mirrored-repo.git"
export FOLLY_GIT_URL="https://my-git-host.com/my-mirrored-repo.git"
export DOUBLE_CONVERSION_GIT_URL="https://my-git-host.com/my-mirrored-repo.git"
export BOOST_GIT_URL="https://my-git-host.com/my-mirrored-repo.git"

# Pod install command run from ios app folder
pod install

Hi @RailByteOEBB, thanks for the proposal.
I do understand your use case, but I don't really like the idea of having those ENV var spread across the codebase.
I think that it would be better if we find a different way to handle this.
one way to go could be:

from the react_native_pods.rb file, we export a function that returns the repository given the name of the pod
the pods consume that function, so the code is clean and polished
we find a way to define those mirrors in the Podfile, so there is no need for environment variables.
what do you think?

Hi @cipolleschi, thanks for your quick response.
I would propose the following solution:

Adding default values foreach third party dependency in helpers.rb as it's currently done with folly. E.g  Helpers::Constants.folly_config
Adding getter and setter functions to react_native_pods.rb similar to current existing solution for folly get_folly_config .

The setter function would override the specified default values in helpers.rb

The setter function would be callable from podfile of the application. One could override it like set_glog_config(mirrored_url)

What do you think?

@RailByteOEBB sorry for the late reply!
Yep, the approach can work, if you are up for the changes, we can then test them and upstream them.

Hi @cipolleschi,
thanks for your reply. I've implemented the changes. May I ask you to review it again?


Bug: First letter removed while composing in specific condition. (MacOS only)

Lexical version: 0.11.2
MacOS version: Ventura 13.4.1
Steps To Reproduce

Enter any text.
Remove All text with "backspace".
Enter single composition text with any other letters. ex) "아." or "아!"
The first letter "아" will be removed.

It's only happens after text got removed with backspace.
I can confirm this issue only on MacOS.
Link to code example:
No Code changes. Tested on playground (https://playground.lexical.dev/)
The current behavior

The expected behavior
The first text should stay there.

I found a workaround solution.
I don't know how it works, but blurring and focusing when 'textContent' is empty solved the issue.
Here's my code:
import {useLexicalComposerContext} from '@lexical/react/LexicalComposerContext';
import {useEffect} from 'react';

export function CompositionBugFixerPlugin() {
  const [editor] = useLexicalComposerContext();

  useEffect(() => {
    const removeTextContentListener = editor.registerTextContentListener(
      (textContent) => {
        if (!textContent) {
          editor.update(() => {
            editor.blur();
            editor.focus();
          });
        }
      },
    );

    return () => {
      removeTextContentListener();
    };
  }, [editor]);

  return null;
}

I found a simple workaround solution.
I don't know how it works, but blurring and focusing when 'textContent' is empty solved the issue.
Here's my code:
import {useLexicalComposerContext} from '@lexical/react/LexicalComposerContext';
import {useEffect} from 'react';

export function CompositionBugFixerPlugin() {
  const [editor] = useLexicalComposerContext();

  useEffect(() => {
    const removeTextCotnentListener = editor.registerTextContentListener(
      (textContent) => {
        if (!textContent) {
          editor.blur();
          editor.focus();
        }
      },
    );

    return () => {
      removeTextCotnentListener();
    };
  }, [editor]);

  return null;
}

I have the same problem with IBus Vietnamese keyboard on Ubuntu
Ubuntu version: 18.04
IBus version: 1.5.17


Remove quorum set hashes from SCP protocol messages

In our quorum algorithm design the quorum is always known for all the active validator nodes in the system.
Therefore sending the quorum hash in each SCP message becomes superfluous. Removing it should save quite a bit on network bandwidth too.
This should be fairly simple to do because SCP already abstracts this away in the getQuorumSetFromStatement function.

We can directly use the code by @AndrejMitrovic for this issue. But applying the code could be started as soon as issue #1191 is solved because we will use the validator index as NodeID instead of 'UTXO' after issue #1191 being solved and this issue is tightly related to the NodeID.

This is solved by PR #2325.


add grpc api of container signal

Signed-off-by: haozhang<EMAIL_ADDRESS>

@laijs added test case

@laijs updated and rebased.

need rebase. see #482

woo... Sorry for introduce conflict for you...

Rebased.
@gnawux either of us need to do that :wink:

I1221 05:21:54.559450   22372 server.go:152] Calling GET /v0.7.0/images/get
# github.com/hyperhq/hyperd/integration
/home/travis/gopath/src/github.com/hyperhq/hyperd/integration/hyper_test.go:517: too many arguments in call to s.client.StartPod
FAIL	github.com/hyperhq/hyperd/integration [build failed]
!!! Error in /home/travis/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:129
  'go test github.com/hyperhq/hyperd/integration -check.vv -v' exited with status 2
Call stack:
  1: /home/travis/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:129 hyper::test::integration(...)
  2: hack/test-cmd.sh:161 runTests(...)
  3: hack/test-cmd.sh:191 main(...)
Exiting with status 1
I1221 05:21:59.463920   22372 daemon.go:345] The daemon will be shutdown
I1221 05:21:59.464034   22372 daemon.go:346] Shutdown all VMs
+++ [1221 05:21:59] Clean up complete

@laijs  fixed.  Seems failure in CI not concerned with this patch.

!!! Error in /home/travis/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:51
'sudo env PATH=$PATH hyperctl run --rm -a -p $1' exited with status 1
Call stack:
1: /home/travis/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:51 hyper::test::run_attached_pod(...)
2: /home/travis/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:67 hyper::test::insert_file(...)
3: hack/test-cmd.sh:171 runTests(...)
4: hack/test-cmd.sh:191 main(...)
Exiting with status 1

close it, and reopen it later with the hope that it will be tested with the newest hyperd

@laijs travis can pass now.

retest this please, @hykins

could you also add the signal api for process(exec) please?

@laijs yep, will do


Update README.md

Fixed jwt example
Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for discussion)

[ ] npm test succeeds
[ ] Pull request has been squashed into 1 commit
[ ] I did NOT manually make changes to anything in apis/
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate JSDoc comments were updated in source code (if applicable)
[ ] Approprate changes to readme/docs are included in PR

I signed it!

Codecov Report

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

@@           Coverage Diff           @@
##           master     #813   +/-   ##
=======================================
  Coverage   74.57%   74.57%
=======================================
  Files           4        4
  Lines         236      236
  Branches       53       53
=======================================
  Hits          176      176
  Misses         43       43
  Partials       17       17

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 e22d58c...7a082a3. Read the comment docs.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #813   +/-   ##
=======================================
  Coverage   74.57%   74.57%
=======================================
  Files           4        4
  Lines         236      236
  Branches       53       53
=======================================
  Hits          176      176
  Misses         43       43
  Partials       17       17

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 e22d58c...7a082a3. Read the comment docs.

Thanks for the PR!


#66 The last undo action is raising an error.

Fix #66.
Description
The bug was in the initialization of the stack array, specifically in the clean() method.

The test were updated.

@MarioRodriguezS since this plugin is in a stable version, we should use the correct semantic versioning: v1.0 instead of v0.3

@MarioRodriguezS since this plugin is in a stable version, we should use the correct semantic versioning: v1.0 instead of v0.3

Done!, thanks!


Include CADPAC TZ2P basis set.

These come from the CADPAC basis set file I got from Aron Cohen, and are

3S2P for H
4S2P for Li
5S4P2D for B-Ne
9S6P3D for Si-Cl

Cartesian basis functions are used.
For the first-row elements, the composition matches with the one given in J. Chem. Phys. 108, 2545 (1998). The second-row composition was given by Aron, but it is also the only "custom" basis set in the CADPAC file that has these atoms with polarization functions.

Codecov Report

Merging #245 (8098cc5) into master (b2fc88f) will decrease coverage by 0.01%.
The diff coverage is n/a.