Assertion srcIndex < srcSelectDimSize failed while running test.

I ran into this when running python run_test.py  after recovering weights with this base model weights https://huggingface.co/huggyllama/llama-7b and released weights diff.
Number of tokens in this prompt:  2739
../aten/src/ATen/native/cuda/Indexing.cu:1146: indexSelectLargeIndex: block: [744,0,0], thread: [96,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1146: indexSelectLargeIndex: block: [744,0,0], thread: [97,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1146: indexSelectLargeIndex: block: [744,0,0], thread: [98,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1146: indexSelectLargeIndex: block: [744,0,0], thread: [99,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1146: indexSelectLargeIndex: block: [744,0,0], thread: [100,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1146: indexSelectLargeIndex: block: [744,0,0], thread: [101,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1146: indexSelectLargeIndex: block: [744,0,0], thread: [102,0,0] Assertion `srcIndex < srcSelectDimSize` failed.```

Any idea what I should be looking at. Thanks.

Hi,
I just pushed a commit that fixes a bug for generating with models not trained with flash attention. The bug happened after adding the triton implementation. Can you see if this fixes the issue for you? I tested running run_test.py and so far it has been working. If the problem persists, please provide additional details such as:
1- Full stack trace and (if you can) the location of the instruction that is raising this error.
2- If you have made any changes to the code base
3- Is this happening for inference with the base model or the landmark model?

Thank you for your reply and fix. I figure out I didn't do the weights recovery well. I set the  --path_tuned <your_path_tuned> incorrectly by pointing the base llama. Now, I used empty folder and it works now. Thanks a lot.


Is the ARG-category length correct when normalizing?

Hi, I found that when ARG-category is normalized here, the length of ARG-category is always the length of the first gene.
try:
    Atype[gtype][0] += int(count)
except:
    Atype[gtype] = [int(count), geneLen]

 Xtype[itype] = (Atype[itype][0]/float(Atype[itype][1])) / \
                (float(N16s)/L16s)

The sorting here is only based on gene names.
cmd = "sort -k1,1 -k2,2n "+inputFile + "  | bedtools merge -c 12,5 -o sum,distinct >"+inputFile+".merged"

The normalization is done that way for simplicity. We just need a reference to normalize to.


[BC][CO] Optimization

[CO] removed limitation, that optimization simulation output could only be of type Output
[BC] adapted plot_generation to recent changes in output of Optimization

Thank you for noticing, it should have been changed when we introduced XOutput.
Best regards,
Pierre


Error during 'LDAP Group Look Up': Permission denied

Hi All,
I am trying to integrate the freeipa with manageiq.
Version : Najdrof -1.3.
I successfully integrated the freeipa in appliance_console but i cannot able to create a group with Ldap Group Look up. it seems some permission denied.

Is there any update please ?

@jrafanie Can you take a look at this one.  Wonder if it's related to https://github.com/ManageIQ/manageiq-appliance_console/pull/215

@remo233 I'm not very familiar with ldap with ipa but I found a few locations with similar problems/solutions:
https://serverfault.com/questions/833056/centos-7-ldap-authentication-permission-denied
https://serverfault.com/questions/588180/ldap-login-fails-but-su-to-ldap-users-works
Can you cat /etc/pam.d/* ?  Each section is processed top to bottom so if you have a required      pam_deny.so for auth/password/etc. so all things that allow you in must occur before the required      pam_deny.so line for that section.

Hi @jrafanie ,
I shared the ouput below,
Command : cat /etc/pam.d/*
The PAM configuration file for the at daemon

auth       required    pam_env.so
auth       include     password-auth
account    required    pam_access.so
account    include     password-auth
session    required    pam_loginuid.so
session    include     password-auth
#%PAM-1.0
auth       sufficient   pam_rootok.so
auth       include      system-auth
account    include      system-auth
password   include      system-auth
session    include      system-auth
#%PAM-1.0
auth       sufficient   pam_rootok.so
auth       include      system-auth
account    include      system-auth
password   include      system-auth
session    include      system-auth
#%PAM-1.0
auth       required     pam_sepermit.so
auth       substack     password-auth
auth       include      postlogin
auth       optional     pam_ssh_add.so
account    required     pam_nologin.so
account    include      password-auth
password   include      password-auth
pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open env_params
session    optional     pam_keyinit.so force revoke
session    optional     pam_ssh_add.so
session    include      password-auth
session    include      postlogin
#%PAM-1.0
auth            sufficient      pam_rootok.so
auth            sufficient      pam_timestamp.so
auth            include         system-auth
account         required        pam_permit.so
session         required        pam_permit.so
session         optional        pam_xauth.so
session         optional        pam_timestamp.so

The PAM configuration file for the cron daemon

Although no PAM authentication is called, auth modules
are used for credential setting
auth       include    system-auth
account    required   pam_access.so
account    include    system-auth
session    required   pam_loginuid.so
session    include    system-auth
Generated by authselect on Fri Jun 23 10:46:48 2023
Do not modify this file manually.
auth required pam_debug.so auth=authinfo_unavail
auth    required pam_sss.so
account required pam_sss.so
#%PAM-1.0
auth    include  su
account include  su
session include  su
#%PAM-1.0
auth       substack     system-auth
auth       include      postlogin
account    required     pam_nologin.so
account    include      system-auth
password   include      system-auth
pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
session    optional     pam_console.so
pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open
session    required     pam_namespace.so
session    optional     pam_keyinit.so force revoke
session    include      system-auth
session    include      postlogin
-session   optional     pam_ck_connector.so
#%PAM-1.0
auth     required       pam_deny.so
account  required       pam_deny.so
password required       pam_deny.so
session  required       pam_deny.so
#%PAM-1.0
This tool only uses the password stack.
password   substack     system-auth
-password   optional    pam_gnome_keyring.so use_authtok
password   substack     postlogin
Generated by authselect on Fri Jun 23 10:46:48 2023
Do not modify this file manually.
auth        required                                     pam_env.so
auth        required                                     pam_faildelay.so delay=2000000
auth        [default=1 ignore=ignore success=ok]         pam_usertype.so isregular
auth        [default=1 ignore=ignore success=ok]         pam_localuser.so
auth        sufficient                                   pam_unix.so nullok
auth        [default=1 ignore=ignore success=ok]         pam_usertype.so isregular
auth        sufficient                                   pam_sss.so forward_pass
auth        required                                     pam_deny.so
account     required                                     pam_unix.so
account     sufficient                                   pam_localuser.so
account     sufficient                                   pam_usertype.so issystem
account     [default=bad success=ok user_unknown=ignore] pam_sss.so
account     required                                     pam_permit.so
password    requisite                                    pam_pwquality.so local_users_only
password    sufficient                                   pam_unix.so sha512 shadow nullok use_authtok
password    sufficient                                   pam_sss.so use_authtok
password    required                                     pam_deny.so
session     optional                                     pam_keyinit.so revoke
session     required                                     pam_limits.so
-session    optional                                     pam_systemd.so
session     [success=1 default=ignore]                   pam_succeed_if.so service in crond quiet use_uid
session     required                                     pam_unix.so
session     optional                                     pam_sss.so
#%PAM-1.0
auth       include      system-auth
account    include      system-auth
password   include      system-auth
session    include      system-auth
#%PAM-1.0
auth            include         password-auth
account         include         password-auth
Generated by authselect on Fri Jun 23 10:46:48 2023
Do not modify this file manually.
session     optional                   pam_umask.so silent
session     [success=1 default=ignore] pam_succeed_if.so service !~ gdm* service !~ su* quiet
session     [default=1]                pam_lastlog.so nowtmp showfailed
session     optional                   pam_lastlog.so silent noupdate showfailed
#%PAM-1.0
auth       substack     password-auth
auth       include      postlogin
account    required     pam_nologin.so
account    include      password-auth
password   include      password-auth
pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open
session    required     pam_namespace.so
session    optional     pam_keyinit.so force revoke
session    include      password-auth
session    include      postlogin
#%PAM-1.0
auth            sufficient      pam_rootok.so
session         optional        pam_keyinit.so revoke
session         required        pam_limits.so
session         required        pam_unix.so
#%PAM-1.0
auth            include         runuser
session         optional        pam_keyinit.so force revoke
-session        optional        pam_systemd.so
session         include         runuser
Generated by authselect on Fri Jun 23 10:46:48 2023
Do not modify this file manually.
auth required pam_debug.so auth=authinfo_unavail
#%PAM-1.0
auth       substack     password-auth
auth       include      postlogin
account    required     pam_sepermit.so
account    required     pam_nologin.so
account    include      password-auth
password   include      password-auth
pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open env_params
session    required     pam_namespace.so
session    optional     pam_keyinit.so force revoke
session    optional     pam_motd.so
session    include      password-auth
session    include      postlogin
#%PAM-1.0
auth        [success=done ignore=ignore default=die] pam_unix.so nullok try_first_pass
auth        required      pam_deny.so
account     required      pam_unix.so
account     required      pam_permit.so
#%PAM-1.0
auth            required        pam_env.so
auth            sufficient      pam_rootok.so
Uncomment the following line to implicitly trust users in the "wheel" group.
#auth           sufficient      pam_wheel.so trust use_uid
Uncomment the following line to require a user to be in the "wheel" group.
#auth           required        pam_wheel.so use_uid
auth            substack        system-auth
auth            include         postlogin
account         sufficient      pam_succeed_if.so uid = 0 use_uid quiet
account         include         system-auth
password        include         system-auth
session         include         system-auth
session         include         postlogin
session         optional        pam_xauth.so
#%PAM-1.0
auth       include      system-auth
account    include      system-auth
password   include      system-auth
session    include      system-auth
#%PAM-1.0
auth       include      sudo
account    include      sudo
password   include      sudo
session    optional     pam_keyinit.so force revoke
session    include      sudo
#%PAM-1.0
auth            include         su
account         include         su
password        include         su
session         optional        pam_keyinit.so force revoke
session         include         su
Generated by authselect on Fri Jun 23 10:46:48 2023
Do not modify this file manually.
auth        required                                     pam_env.so
auth        required                                     pam_faildelay.so delay=2000000
auth        [default=1 ignore=ignore success=ok]         pam_usertype.so isregular
auth        [default=1 ignore=ignore success=ok]         pam_localuser.so
auth        sufficient                                   pam_unix.so nullok
auth        [default=1 ignore=ignore success=ok]         pam_usertype.so isregular
auth        sufficient                                   pam_sss.so forward_pass
auth        required                                     pam_deny.so
account     required                                     pam_unix.so
account     sufficient                                   pam_localuser.so
account     sufficient                                   pam_usertype.so issystem
account     [default=bad success=ok user_unknown=ignore] pam_sss.so
account     required                                     pam_permit.so
password    requisite                                    pam_pwquality.so local_users_only
password    sufficient                                   pam_unix.so sha512 shadow nullok use_authtok
password    sufficient                                   pam_sss.so use_authtok
password    required                                     pam_deny.so
session     optional                                     pam_keyinit.so revoke
session     required                                     pam_limits.so
-session    optional                                     pam_systemd.so
session     [success=1 default=ignore]                   pam_succeed_if.so service in crond quiet use_uid
session     required                                     pam_unix.so
session     optional                                     pam_sss.so
This file is part of systemd.

Used by systemd --user instances.
account  sufficient pam_unix.so no_pass_expiry
account  include system-auth
session  required pam_selinux.so close
session  required pam_selinux.so nottys open
session  required pam_loginuid.so
session  include system-auth
#%PAM-1.0
auth       include      system-auth
account    required     pam_permit.so

Guys,
Do you have any news about the same

@remo233 Sorry, I reviewed it the other day and it looks like the ... required pam_deny.so lines all seem to be at the end of their sections so it must be something else.  You can check /var/log/secure /var/log/messages right after it fails and look for more information about the permission denied.  If you're using a system with journalctl, you can use it to review the logs just after it fails. Sorry, I don't remember if najdorf was using journalctl yet.


feature: 单据详情页返回 root_id

Codecov Report

Merging #222 (eaa17a6) into v2.6.x_develop (c936df0) will increase coverage by 0.01%.
The diff coverage is 83.33%.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #222      +/-   ##
==================================================
+ Coverage           51.76%   51.77%   +0.01%
==================================================
  Files                 445      445
  Lines               27416    27419       +3
==================================================
+ Hits                14191    14197       +6
+ Misses              13225    13222       -3

Impacted Files
Coverage Δ

itsm/ticket/views/ticket_remark.py
37.14% <ø> (+1.03%)
:arrow_up:

itsm/ticket/models/misc.py
80.95% <66.66%> (+1.04%)
:arrow_up:

itsm/ticket/serializers/ticket.py
61.21% <100.00%> (+0.19%)
: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 c936df0...eaa17a6. Read the comment docs.


Drag and Drop with bounds, snap, target drop, velocity/gravity?

I'm finding the drag element to be a bit limited - I would love to use Greensocks's Draggable with Pixijs - but so far haven't figured out how to do that as I guess I need a dummy dom element first.
Is there any plan to make a more robust drag and drop element? Features like snap, a bouncing ease on drop, throwing, etc - are really vital when it comes to kids games and educational apps.
Thanks very much for your library!!

There are no animations in the core lib. Plugins have some of those - pixi-animate, pixi-spine, but not exactly what are you describing ;)

We probably will not add something like this in the core, though it would make for a good plugin! You can use greensock with pixi, without DOM. You just have to sync the results of the tweening back into the pixi objects.
Good question!

Thanks I did finally find a great example from Blake at Greensock - will try to post the URL later as it's a great Codepen.


JCenter is at end of life

Hi,
Like the title says, JCenter is at end of life.
I get that notification in Android Studio.
Everything hosted there, should migrate to somewhere else, like Maven Central.
Can this be done please?
It still works for the moment with "jcenter()" in the repostitories, but once I remove it, I get errors. So the question is how long it will it still work.
Thanks in advance!

jcenter () will be available for one more year

I prepare migrate it to jitpack

I prepare migrate it to jitpack

When?

@xuuhaoo Do you have a plan to migrate this project to jitpack or mavenCentral?

@xuuhaoo Do you have a plan to migrate this project to jitpack or mavenCentral?

If you need i have jar file this library. Say email i slend you.

@xuuhaoo any news? thanks in advance


Doc feature request: How to build Tensorflow Slim

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
In https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/slim I see no steps on how to compile this module. In the case of Tensorflow serving I see the complete set of commands to build it. Could you add some steps on how to build Slim? Thanks in advance.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Never mind, I saw that it is part of Tensorflow, not a separate module


Update README.md

Refresh example provided (geoIP not working anymore)

hi @pawelwieszala , thanks for the update. I would recommend making changes to your pull request:
you have http://holidaywebservice.com//holidayservice_v2/holidayservice2.asmx?wsdl in the doc, is this a typo with the double slash?
also, for the example code I suggest to include both the input and output node, so:
[{"id":"7f8af178.1cd0f","type":"debug","z":"1b7a1e21.a54b72","name":"","active":true,"console":"false","complete":"false","x":690,"y":220,"wires":[]},{"id":"8ba16941.dbdd28","type":"soap request","z":"1b7a1e21.a54b72","name":"","topic":"","wsdl":"dbc70c06.f5df2","method":"GetHolidaysAvailable","x":510,"y":220,"wires":[["7f8af178.1cd0f"]]},{"id":"ce4946f5.ba43d8","type":"inject","z":"1b7a1e21.a54b72","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":354,"y":224,"wires":[["8ba16941.dbdd28"]]},{"id":"dbc70c06.f5df2","type":"soap-config","z":"","wsdl":"http://holidaywebservice.com/holidayservice_v2/holidayservice2.asmx?wsdl","auth":"0","user":"","pass":"","key":"","cert":"","token":""}]

Once you make the change I will merge your pull request. Thanks for your work!


Implement GAE

High-Dimensional Continuous Control Using Generalized Advantage Estimation

Reopen to check its validity. Does this really improve scores on MuJoCo or Roboschool tasks combined with PPO?

Compare w/ and w/o GAE on MuJoCo benchmark
$ cat run.sh
#!/bin/bash

cd ${HOME}/workspace/rl/tf2rl

# Set number of iterations to specify how many times run for each command
n_iteration=${1:=1}
echo ${n_iteration}

# Debug mode
if [[ "$-" == *x* ]]; then
  submit_command="echo python -u"
  sleep_time=1s
else
  submit_command="echo python -u"
fi

w_gae="--enable-gae --normalize-adv"
wo_gae="--normalize-adv"

halfcheetah="--env-name HalfCheetah-v2 --dir-suffix HalfCheetah"
invert_pend="--env-name InvertedDoublePendulum-v2 --dir-suffix InvertedDoublePendulum"

# MuJoCo
function run() {
    ${submit_command} examples/run_ppo.py ${w_gae} ${halfcheetah}_GAE --gpu 0
    ${submit_command} examples/run_ppo.py ${wo_gae} ${halfcheetah} --gpu 1
    ${submit_command} examples/run_ppo.py ${w_gae} ${invert_pend}_GAE --gpu 2
    ${submit_command} examples/run_ppo.py ${wo_gae} ${invert_pend} --gpu 3
}

# Run command
for i in `seq ${n_iteration}`
do
    run_mujoco_former
done

GAE improves performance on InvertedDoublePendulum task, but no big difference in HalfCheetah task (figure comes from InvertedDoublePendulum task)

This closes the issue.


Unused calls/variables about cl_xml_document

After calling the method parse_string (of cl_xml_document), the document instance is not used → removing the call and the unused variable.
The return code of method call parse_xstring (of cl_xml_document) is not used → removing the unused variable.
NB: it's needed to keep the calls to parse_xstring as they are followed by the use of the instantiated document instance.

Obvious fix, no regression, approving myself.


Write Problem Statement and Goals, and Development Plan (PoC Plan)

Summary

Write Problem Statement and Goals: @Nathaniel-Hu, @Ibrahimango02, @mohaanshpranjal
Development Plan (PoC Plan): @Tusharagg1, @Nathaniel-Hu
All members will review the documents.

Deadline

09/25/2023

Estimated Work Time (in hrs)

2 hrs

Project Files: https://mcmasteru365-my.sharepoint.com/:f:/r/personal/aggarwt_mcmaster_ca/Documents/Sem 7 - Fall 2023/SFWRENG 4G06A (Software Design IV - Capstone Design Project)/Submissions/Capstone Project?csf=1&web=1&e=R9slfe

Summary

Accountability notes added in the 'Revision History' of respective documents.

Related commits:

feat: Problem Statement and Goals Deliverable, Revision 0; Updated RE…

…ADME


add cross-platform solution to open the web app

#160 Done

 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.

Hey, you only add macos support can you also work about support for Windows. I was trying with start command but it was giving an error.

@DajmondFM what's the issue with using start that you saw?

When trying to use :Codeium Chat it shows widnows error message
Windows cannot find the file 'http://<IP_ADDRESS>:50848?api_key=MY API KEY HERE'. Make sure the name is typed correctly, and then try again.

and when you manualy enter the url it shows

with
{
  "url": "http://<IP_ADDRESS>:50848/",
  "connection": {
    "status": "CONNECTING",
    "error": {
      "name": "Error",
      "message": "Missing API key. Please make sure you are signed in to the Codeium plugin and close / reopen the chat window. If the problem persists, please restart the IDE."
    }
  },
  "isChatEnabled": false,
  "handshake": {},
  "params": {
    "ideTelemetryEnabled": false,
    "ready": false,
    "hasDevExtension": false,
    "hasEnterpriseExtension": false,
    "diffViewEnabled": false,
    "openFilePointerEnabled": false,
    "insertAtCursorEnabled": false
  },
  "data": {
    "numMessages": 0
  },
  "bridge": {
    "bridgeType": "null"
  },
  "health": {
    "checkStatus": null,
    "error": {
      "name": "TypeError",
      "message": "NetworkError when attempting to fetch resource."
    }
  }
}

@DajmondFM can I see your patch/branch which you tried this change out on?

 Like this SO answer: https://superuser.com/a/36730/171437

Yes. If that works then maybe @NONVME can integrate into this PR.

It's completely not working

Hey it's working. At least it's opening web app but I still get this error
{
  "url": "http://<IP_ADDRESS>:59021/?api_key=15be80b2-8251-4c9c-8056-16ea4abf4f81",
  "connection": {
    "status": "CONNECTING",
    "error": {
      "name": "Error",
      "message": "Missing chat language server URL. Please ensure that you are signed in to the Codeium plugin and close / reopen the chat window. If the problem persists, please restart the IDE."
    }
  },
  "isChatEnabled": false,
  "handshake": {},
  "params": {
    "ideTelemetryEnabled": false,
    "ready": true,
    "apiKey": "15be80b2-8251-4c9c-8056-16ea4abf4f81",
    "hasDevExtension": false,
    "hasEnterpriseExtension": false,
    "diffViewEnabled": false,
    "openFilePointerEnabled": false,
    "insertAtCursorEnabled": false
  },
  "data": {
    "numMessages": 0
  },
  "bridge": {
    "bridgeType": "null"
  },
  "health": {
    "checkStatus": null,
    "error": {
      "name": "TypeError",
      "message": "Failed to fetch"
    }
  }
}

Hey it's working. At least it's opening web app but I still get this error
{
  "url": "http://<IP_ADDRESS>:59021/?api_key=15be80b2-8251-4c9c-8056-16ea4abf4f81",
  "connection": {
    "status": "CONNECTING",
    "error": {
      "name": "Error",
      "message": "Missing chat language server URL. Please ensure that you are signed in to the Codeium plugin and close / reopen the chat window. If the problem persists, please restart the IDE."
    }
  },
  "isChatEnabled": false,
  "handshake": {},
  "params": {
    "ideTelemetryEnabled": false,
    "ready": true,
    "apiKey": "15be80b2-8251-4c9c-8056-16ea4abf4f81",
    "hasDevExtension": false,
    "hasEnterpriseExtension": false,
    "diffViewEnabled": false,
    "openFilePointerEnabled": false,
    "insertAtCursorEnabled": false
  },
  "data": {
    "numMessages": 0
  },
  "bridge": {
    "bridgeType": "null"
  },
  "health": {
    "checkStatus": null,
    "error": {
      "name": "TypeError",
      "message": "Failed to fetch"
    }
  }
}

I think you have an authorization issue, and it is not related to this pr. You should use config like this

Okey the issues is still here even after adding this build = ":Codeium Auth", but i will start new issue with it. And good job with this cross-platform support.

@NONVME just wanted to check that you're happy to merge this now before I go ahead and do so


You should run unit tests when a PR is created

To ensure the reliability and correctness of your code, it is crucial to run unit tests whenever a Pull Request (PR) is created. This practice helps catch bugs early, verify that new changes do not break existing functionality, and maintain code quality.

Tests are always run automatically by git actions


Howto requires Helm to be installed but there are no previous docs which instruct the user to install Helm.

Any howto should link to a "Install Helm howto" which doesn't exist yet so it's reusable.
AB#9733

Added in pre-reqs to jaeger/prometheus/grafana docs


Add core-graphics-rs to homu.

Already live

:pushpin: Commit 8bf9300 has been approved by metajack

@bors-servo r+

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io

:hourglass: Testing commit 8bf9300 with merge 00f26c6...

:sunny: Test successful - travis


Implement RFQ partial fill

Based on #209
The RFQ should support partial fill but only can be filled once.
Since the shared Offer struct become not enough for different contracts (always need to add more fields and handle the nested struct hash), having separated struct makes more sense now.

Good suggestion by @pilagod . I will open another PR for RFQ changes only and suspend this PR for now.

@pilagod
Q: So RFQ could only be filled once, even the partial fill flag is on?
A: Yes, any RFQ offer could be filled only once.

Hmmm, not sure why the gas diff is keep failing. Checkout to a new branch and rebase to master and got CI pass #212 . These two branch has no diff. Perhaps we can move to #212 ?


How can Datanator be cited?

Feedback reported on Thu Feb 27 2020 at 00:10:58 (GMT-0300)  from https://datanator.info/
Description
Comments

Hi I hope is all good. I would like to know how I can cite you. Thanks

Your name

Guillermo Yañez

Email

<EMAIL_ADDRESS>

Context

Browser : Chromium 80.0 undefined
Operating System : Ubuntu undefined
Display : 1920 x 1080
Language : Spanish 🇪🇸
IP / Location : <IP_ADDRESS> (Santiago, Santiago Metropolitan, CL)
Network : 3.6Mbps (down) / 4g (ECT)

Generated by Bruit.io. If you like it, let it be known !

1582773066070.application.log

Thanks for the encouragement. We hope to have a publication later this year.

We will post citation information at https://datanator.org/about.


Hide scroll bar but allow scrolling?

Hello,
is there a way to allow scolling while hiding the scroll bar? I tried applying the standard styles for hiding scroll bar (which works with any other scroll component):
.scroll-style {
scrollbar-width: none; /* Firefox /
-ms-overflow-style: none;  / Internet Explorer 10+ /
}
.scroll-style::-webkit-scrollbar { / WebKit */
width: 0;
height: 0;
}
But this does not work for the infinite scroll component. Also setting style "overflow" to hidden does not work.
I think it would be very nice if there was a way of hiding the scroll bar as it would look better in many applications and avoid a"jumping" scroll bar when fetching data.
Kind regards.

you can use this to help

set the property to initial all:initial; in scroll bar
don't forget to use force apply use !important in the css for overriding
Now you can style scroll bar as your wish


bind:value issue with Input on svelte 5

Describe the bug
I know that shadcn-svelte's support on svelte 5 is not out yet. Just want to report an issue I'm encountering.
I was working with svelte 5(5.0.0-next.262) and shadcn-svelte's Form component.
In my testing, the value from Input is not bound to the properties in form data.
<Input      {...attrs}     bind:value={$formData.email} />
I have to switch to
<Input      {...attrs}     on:input={(e) => ($formData.email = e.currentTarget.value)} />
Reproduction
Create a form using shadcn-svelte's Form, with Input component with bind:value. I also use SuperDebug as well.
Logs
No response
System Info
"svelte": "^5.0.0-next.262",
Safari: Version 18.0 (206<IP_ADDRESS>.6)

Severity
annoyance

https://github.com/user-attachments/assets/52d83e9f-cd8e-40f2-b069-26839c6eab42
Not able to reproduce this

Very strange.

In my testing cases, the bottom vanilla input always works.
However, the top input does not work on binding. When I type something in input, $formData.email is not updated. But if I manually update $formData.email somewhere else, the input is updated, which is a one-way street only.
Does it make a difference when the value in bind:value in the top one is light blue((property) HTMLInputAttributes.value?: any), but the bottom one is green color(no hover information)?
Could it be a Svelte 5 bug?

Perhaps, do you have a StackBlitz/repo with this reproduction so I can take a look?

somehow when I re-run npm run dev,  it started working again. I'm closing this issue for now and will investigate more. Thanks


example trouble: Single-mixed refrigerant (SMR) natural gas liquefaction process simulation optimization

Thank you for developing greatful tools!
I've been following the given examples verbatim, but I've encountered an issue as described below. It seems that the 'dof' argument is not being recognized. Are there any potential reasons for this you could think of?
I appreciate your assistance.
# Getting DWSIM path from system path
path2dwsim = []
for k,v in enumerate(os.environ['path'].split(';')):
    if v.find('\DWSIM')>-1:
        path2dwsim = os.path.join(v, '')
if path2dwsim == None:
    path2dwsim = "my_path"

# Loading DWSIM simulation into Python (Simulation object)
#sim_smr = SimulationOptimization(path2sim= os.path.join(dir_path, "examples\\SMR_LNG\\SMR.dwxmz"),
#                     path2dwsim = path2dwsim)
sim_smr = SimulationOptimization(dof=np.array([]), path2sim= os.path.join(dir_path, "examples\\SMR_LNG\\SMR.dwxmz"),
                     path2dwsim = path2dwsim)
sim_smr.savepath = os.path.join(dir_path, "examples\\SMR_LNG\\SMR2.dwxmz")
sim_smr.add_refs()
I

TypeError: init() got an unexpected keyword argument 'dof'``

Hi @tatsuya-takakuwa
Thanks for raising this issue.
Could you tell me what version of dwsimopt you are using? If you are using version >= 0.2.0, I would highly recommend the new class OptimiSim as instructed in examples/example_v0.2.ipynb. Please let me know if that solves your issue.
Kind regards,
Lucas.


problems with GitBash on Windows host.

I retrieve an error when using the Grunt Task on Windows inside a Git Bahs Shell
$ $ grunt copy:config --configname=test
bash: $: command not found
while same call under windows cmd shell works fine
c:\test>grunt copy:config --configname=test
Running "copy:config" (copy) task
Copied 1 file
Done, without errors.
Gitbash shell does not support the system command copy,
i saw some detection for os which is just checking for win32 system but not for actual used shell.
Lot of "Windows" developers work wit alternative shells which might be a problem
May occur for babun or cygwin aswell.

Run the command without the $. In the future, use Stack Overflow for support questions.


Expose entire prune config in CLI args

Describe the feature
Currently only the --full flag exists. The entire prune config should be exposed in CLI, that is, a flag for setting the prune setting for each segment individually.
Additional context
No response

exactly, so setting prune modes for each segment with a flag, smthg like ---prune.receipts.full xor --prune.receipts.distance <u64> xor --prune.receipts.before <u64>. see PruneModes struct and PruneMode enum.

Hey @emhane per https://github.com/paradigmxyz/reth/pull/10409#issuecomment-2306872336 could you assign me to this. I'll take a look and come back with a few questions

Hey @emhane could you point me to where the valid values for prune config in reth.toml are parsed/used? Ideally want to keep the semantics between how reth.toml and how the CLI args look roughly similar

@garwahl https://github.com/paradigmxyz/reth/blob/e18a46d0a59f776464c0c6905c5e7ef371bc06e3/crates/config/src/config.rs#L373-L382

Ah sorry I meant where the lines from reth.toml are serialized/mapped into a valid PruneConfig. ie how does say the string prune.receipts.full get mapped into a valid PruneConfig.segments.receipts value

@emhane Another question, currently --full creates a sane default of PruneConfig. Once we expose setting PruneModes for each segment, what is the intended behaviour with setting --full and for example prune.receipts.distance <u64> at the same time?
Do we expect the sane defaults to be created as it is today, but just the receipts part to be overwritten with our new value OR can you not configure any separate segment if --full is specified?

I've raised https://github.com/paradigmxyz/reth/pull/10639 as a draft, let's move discussion there.


[Flake] CI builds break when they consume all Bigtable Admin quota

The CI builds can consume all our daily quota for Bigtable Admin operations, they break when that happens.
The breakage tends to affect multiple builds at the same time, and because the CI builds do not update the cache until the build is successful the caches grow stale, so the next batch of builds is both slow and fails.

We were granted extra quota to run these tests - see #4422

oops, wrong bug

We were granted more bigtable quota on July 23, 2020, so I think this flake is fixed for now.


add support for Windows prefix delegation

Issue #, if available:
Description of changes:

This PR adds support for Windows prefix delegation to increase pod density per node. Instead of assigning secondary IPv4 address, this feature assigns IPv4 prefix to primary ENI on Windows node.
Can enable the feature by adding an entry enable-windows-prefix-delegation: true in amazon-vpc-cni config map after enabling IPAM.
Can set either warm-ip-target and/or minimum-ip-target, or warm-prefix-target in amazon-vpc-cni config map to fine-tune the warm pool configuration used in prefix delegation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

lgtm.


Configure node resolver

I'm not exactly sure how this is supposed to work, but it appears as though I'm doing things the right way.
In my .eslinrc.js I have:
module.exports = {
  ...
  env: {
    'node': true
  },
  settings: {
    'import/resolver': {
      'node': {
        'paths': ['./config'],
        'moduleDirectories': ['node_modules']
      }
    }
  }
};

but eslint is still complaining:
error  Unable to resolve path to module 'config/config'                                         import/no-unresolved
on a file that has const config = require('config/config'); at the top.
I'm using app-module-path for my package deps.
Opened issue from #506
Same deal for ./src in the rood dir. package.json is in the root dir. Have tried adding all the incantations to the paths and moduleDirectories arrays.

Adding the 'import/no-unresolved': [{commonjs: true}] to the .eslingrc.js removes the error, I'm not exactly sure what's going on here though. I'm not sure what the 2 is for in the import/no-unresolved: [2, {commonjs: true, amd: true}], it doesn't appear to be documented.

It means “error”, and it’s how all eslint rules are configured (with a severity of 0/1/2 or off/warn/error)
By adding it without the 2, you’re disabling the rule, which is unlikely to be what you want.
Can you share your entire eslintrc, with nothing elides?

Ah, OK, thanks.
.eslingrc.js source

The docs say that “paths” must be an absolute path - not a relative one. https://github.com/benmosher/eslint-plugin-import/tree/master/resolvers/node

Ah, tried that.

In that case, I'm not really sure (but i don't know what app-module-path is).

Ah, sorry... app-module-path

I'm using app-module-path for my package deps.

Looking briefly at the docs for app-module-path, your best bet is to use absolute paths (generally by using some sort of path.join(__dirname, './config') incarnation).
FWIW I thing you want paths: [__dirname] if I understand your layout. Module resolution will be attempted starting at the path as a root, so to resolve config/config you'd be resolving ./config/config/config.js given your pasted config.
Closing because it is tough to manage config questions but other ideas/responses from the community are still welcome.

@benmosher path.resolve("Source") worked for me. (for others who stumble across this thread)


Add in option to render the Effects' panel over other UI elements (like combat carousel etc.) Or add a way to customize the position of the effects' pennal.in different places, be able to move it.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Well I have a variety of UI elements display in the top, but sadly they overlap if not adjustable. The effects' panel is rendered on the bottom of them all, so I can't easily disable enable effects on the fly during combat with things like token bars and combat carousel getting in the way.
Describe the solution you'd like
A clear and concise description of what you want to happen.
As per the titles "Add in option to render the Effects' panel over other UI elements (like combat carousel etc.) Or add a way to customize the position of the effects' pennal.in different places, be able to move it."
Any other thing
That's about it. The only other option I would wish for would be to have add functional effects of Midi-qol, Token Magic  and the like to the commonly used dnd 5e status effects that are integrated by default. i mean it would be great if the grappled status would for example make the token unable to move, if the paralyzed one would make others auto crit them or if blind would make them unable to see anything, especially since I use the replace function of the effects for the token effect's sidebar. It would make it very convenient,

Yes, there are a few open issues surrounding this. I think I will add functionality to allow you to drag it wherever you want, and then remember that location (similar to Token Action HUD). If that ends up being clunky, it'll probably turn into a setting instead

The panel should now be drawn over base foundry apps. Since this was the original intention of this issue, I'll close it. Follow #4 for updates on moving it wherever


new film site

Source name
upmovies
Source link
https://upmovies.net/
Source language
English
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Good


Error "bad"

Hi,
I'm on the website with : http://<IP_ADDRESS>:5000/neptune
But i don't understand what is login and password ?
Thanks!

./python3 SocialFish.py hereputusername hereputpassword
change those last 2 options for whatever you want and go to http://<IP_ADDRESS>:5000/neptune and use those credentials

It's not working

It says bad when I put the password in browser

yeah same

Use google cloud console, worked for me :)


impacket installation errors

Great work on a great tool! On my fresh Kali 2.0 install I get the following when trying to run
"pip install -r requirements.txt"
I have attempted to install in a venv and normally.
Downloading/unpacking git+git://github.com/CoreSecurity/impacket (from -r requirements.txt (line 1))
  Cloning git://github.com/CoreSecurity/impacket to /tmp/pip-bxbV3L-build
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Connection timed out

  Complete output from command /usr/bin/git clone -q git://github.com/CoreSecurity/impacket /tmp/pip-bxbV3L-build:

----------------------------------------
Cleaning up...
Command /usr/bin/git clone -q git://github.com/CoreSecurity/impacket /tmp/pip-bxbV3L-build failed with error code 128 in None
Storing debug log for failure in /root/.pip/pip.log

**From pip.log:**

Cloning git://github.com/CoreSecurity/impacket to /tmp/pip-bxbV3L-build
  Found command 'git' at '/usr/bin/git'
  Running command /usr/bin/git clone -q git://github.com/CoreSecurity/impacket /tmp/pip-bxbV3L-build
  Complete output from command /usr/bin/git clone -q git://github.com/CoreSecurity/impacket /tmp/pip-bxbV3L-build:

----------------------------------------
Cleaning up...
Command /usr/bin/git clone -q git://github.com/CoreSecurity/impacket /tmp/pip-bxbV3L-build failed with error code 128 in None
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 290, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1198, in prepare_files
    do_download,
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1361, in unpack_url
    unpack_vcs_link(link, loc, only_download)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 344, in unpack_vcs_link
    vcs_backend.unpack(location)
  File "/usr/lib/python2.7/dist-packages/pip/vcs/__init__.py", line 240, in unpack
    self.obtain(location)
  File "/usr/lib/python2.7/dist-packages/pip/vcs/git.py", line 111, in obtain
    call_subprocess([self.cmd, 'clone', '-q', url, dest])
  File "/usr/lib/python2.7/dist-packages/pip/util.py", line 716, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/git clone -q git://github.com/CoreSecurity/impacket /tmp/pip-bxbV3L-build failed with error code 128 in None

Any help would be greatly appreciated.

@Slad3G Take a look at the error message, you appeared to have connectivity problems when downloading the dependencies


[Gradle] Inaccurate dependencies section in a multi-project gradle build

In a multi project gradle setup, the dependencies section has multiple blocks with the same root project ref, with different contents in the dependsOn array for each, pertaining to the sub-projects.
Essentially, the sub-project components are captured properly, but they're assigned to the same root project ref in different blocks.

@ajmalab any sample projects to reproduce this? Or could you share the gradle dependency tree output privately with me?

Hey @prabhu , feel free to use this repository for #249 and this issue. If you look at the included sbom in repository (generated with cdxgen@8.4.2), you can see the examples for both the issues. Hope this helps!

@ajmalab PR ready for your testing and approval - https://github.com/CycloneDX/cdxgen/pull/316


change start times to 3/2/22 22:00gmt

fix #74
note 3/2/22 22:00GMT is 3/2/22 17:00 ET also 3/2/22 14:00 PST

Might want to look into using UTC in the future to prevent any daylight savings issues,.


[WIP] DNM - Enable LiveUpdate before running guest console log tests

What this PR does
Before this PR:
DNM - debugging guest console log tests
After this PR:

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

None

/test pull-kubevirt-e2e-k8s-1.30-sig-compute

/test pull-kubevirt-e2e-k8s-1.29-sig-compute
/test pull-kubevirt-e2e-k8s-1.28-sig-compute

/test pull-kubevirt-e2e-k8s-1.30-sig-compute
/test pull-kubevirt-e2e-k8s-1.29-sig-compute
/test pull-kubevirt-e2e-k8s-1.28-sig-compute


(PUP-10853) Fix structured facts in acceptance tests

jenkins please test this with servertests

The PR testing appears to still not have run that test, because it only runs "high risk" ones. https://jenkins-master-prod-1.delivery.puppetlabs.net/job/platform_puppet-agent-extra_puppet-agent-integration-suite_pr/2087/RMM_COMPONENT_TO_TEST_NAME=puppet,SLAVE_LABEL=beaker,TEST_TARGET=ubuntu1604-64a/testReport/(root)/tests_reports/corrective_change_new_resource_rb/

The PR testing appears to still not have run that test, because it only runs "high risk" ones.

Argh... I believe we have a ticket to re-audit all acceptance tests so that we run them all again, since this has caused us many problems in the past. I set up a local beaker env to run all 4 tests and can confirm they pass now.


NAs  error

Dear,
I got this error
Do you have any idea how to fix it
Your help is appreciated .
Best regards
Error in current_scoring_matrix[unassigned_cells, cell_type_num[i]] <- GetScore(activation_prob_to_use,  :
NAs are not allowed in subscripted assignments
In addition: Warning messages:
1: In lineage_info$Cell_type_number == previous_level_type :
longer object length is not a multiple of shorter object length
2: In current_cell_type_assignment[, previous_level_round] == previous_level_type :
longer object length is not a multiple of shorter object length

Hi there! I think I also encountered this.
And I think I may have fixed the issue with this pull request: https://github.com/plevritis-lab/CELESTA/pull/11
You can check my forked repo for the corrected code: https://github.com/andrewjUTSW/CELESTA

Thanks for that

Hi, we have fixed the issue with empty unassigned cells in the main branch.  Please try it again. In addition, the warning messages may indicate that the input cell-type signature has some formatting errors, which may actually cause the error.

Hello,
I have recently installed the latest version of CELESTA and am still getting the following error:
Error in current_scoring_matrix[unassigned_cells, cell_type_num[i]] <- GetScore(activation_prob_to_use,  :
  NAs are not allowed in subscripted assignments
In addition: Warning message:
In lineage_info$Cell_type_number == previous_level_type :
  longer object length is not a multiple of shorter object length

If needed i can provide code, however it is essentially identical to the code given in README.


python311Packages.adafruit-platformdetect: 3.61.0 -> 3.62.0

Changelog: https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/3.62.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 293440 run on x86_64-linux 1

4 packages built:

python311Packages.adafruit-platformdetect
python311Packages.adafruit-platformdetect.dist
python312Packages.adafruit-platformdetect
python312Packages.adafruit-platformdetect.dist


Bump commons-compress from 1.4.1 to 1.19 in /hadoop-project

Bumps commons-compress from 1.4.1 to 1.19.
Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added and passed (for bug fixes / features)
[ ] HOPS JIRA issue has been opened for this PR
[ ] All commits have been squashed down to a single commit
[ ] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Jenkins test this please.

Jenkins test this please.


add scala-clippy

trying to get sttp green again

queued
https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/4203/

compile errors, first one is
[scala-clippy] [error] /home/jenkins/workspace/scala-2.12.x-integrate-community-build/target-0.9.16/project-builds/scala-clippy-8f5e9ba4bcce2b19544717ec09d1690d67e6898b/plugin/src/main/scala/com/softwaremill/clippy/Highlighter.scala:132: type mismatch;
[scala-clippy] [error]  found   : scalaparse.Scala.Semis.type (with underlying type fastparse.all.Parser[Unit])
[scala-clippy] [error]  required: ?{def ?: ?}
[scala-clippy] [error] Note that implicit conversions are not applicable because they are ambiguous:
[scala-clippy] [error]  both method parserApi in object all of type [T, V](p: T)(implicit c: T => fastparse.core.Parser[V,Char,String])fastparse.core.ParserApi[V,Char,String]
[scala-clippy] [error]  and method parserApi2 in class Wrapper2 of type [T, V](p0: T)(implicit c: T => fastparse.noApi.P[V])scalaparse.Scala.WhitespaceApi2[V]
[scala-clippy] [error]  are possible conversion functions from scalaparse.Scala.Semis.type to ?{def ?: ?}
[scala-clippy] [error]     P(Semis.? ~ (!blockSep ~ Statement ~~ WS ~~ (Semis | End)).!.repX)
[scala-clippy] [error]       ^

probably a fastparse version mismatch?

@adamw I'm abandoning this effort. in order to have scala-clippy in the community build, you would first have to update it to a modern version of fastparse
the next thing I'll try to get sttp green again is to see if we can disable or ignore scala-clippy there

Ah, it's the build plugin. I'll drop the clippy dep from there. Give me a couple of hours :)

Ah sonatype was fast this time :) Build updated, the clippy dependency should be gone


Revert to a  simpler FileSystem API provider

Looks like core team is making changes to FS code that we inherited.
A lot of changes have been made since we forked.
I think we should just go back to what it was earlier (that's basically what's been happening over time & with the recent changes in core extension as well).

Not sure we need to do anything here? Are you suggesting we skip using node to do any file reading and just use the vs code file system?
Looking at the current python implementation, it's almost identical to our own. Closing for now.


Column Header is not created when column is created runtime

Describe the bug
Column Header is not created when column is created runtime such as:
`        DataGridColumn col = new DataGridColumn() {
             Title = "Data Column1",
             PropertyName = "DATACOL1",
             Width = 200,
             HorizontalContentAlignment = LayoutOptions.Start
             };
        grd.Columns.Add(col);
`

To Reproduce
DataGrid grd=new DataGrid();         DataGridColumn col = new DataGridColumn() { Title = "Data Column1", PropertyName = "DATACOL1", Width = 200, HorizontalContentAlignment = LayoutOptions.Start };
Expected behavior
Header should be created with column outside xaml.
Desktop (please complete the following information):

OS: Maui Windows,Android
.net 7

Additional context
Also changing Column Width doesn't change Header Width
Regards
Ender

Good call. Feature merged.


CAP-196 search exception with postgresql -- move session init code to interceptor

Currently, user session information is populated by CalendarController. If another controller is hit, say from performing a search in portal, before calendar is visited, user session is not set.
Pulling the user session initialization code out from the CalendarController into an interceptor.

@bjagg this seemed to work for us. We aren't getting the "bytea" stacktrace now.


Add Slate block wrapper

Added a div wrapper to the ViewBlock when the block type is slate, to improve styles implementation.

@danalvrz Branching depending on a block is not elegant in a generic add-on, and generally we should avoid it if we are able to.
I've been thinking about this, and I think it's better to modify it on the fly in the light theme. So I did so and it's merged already.


Keep Vercel Function awake during telemetry exporting interval

Summary
Ensure telemetry data sent to observability backend by keeping Vercel Function awake during telemetry exporting interval
Related Issue

this PR resolves https://github.com/giselles-ai/giselle/issues/84

Changes

use waitUntil() to wait for 15 seconds after object generation finished

Testing
I confirmed telemetry arrived at observability backend (private environment)
Other Information
this change does not affect response time of core use case because waitUntil() does not block response
ref: https://vercel.com/docs/functions/functions-api-reference#waituntil

thanks, I applied the suggested changes @toyamarinyon

thx!


Introduction makes overly broad assumption about the reader

You are here because you’ve discovered a challenge or an opportunity in the public sector, and you suspect that software might help. …Now what? Well, you are in the right place.

This will be true of some readers. Those same readers will likely refer their co-workers and bosses to this content. While I can imagine that the sentence may be inviting to the first reader, I can also imagine it may be equally off-putting to the referred reader.

This is a good point, and I agree with your suggested sentence. Please go ahead and replace it!

On May 31, 2022, at 6:45 AM, Eric Herman @.***> wrote:

A more neutral stance and tone might look a bit like this:
If you are here because you’ve discovered a challenge or an opportunity in the public sector, and you suspect that software might help, then you are in the right place.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.


Remove Typo in Tutorials

I’ve been reading the tutorial website and noticed how the definition of newFile disappeared here. This should fix it :-)

 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.


Chapter 3 file produces pretty huge summaries

Chapter 3 file summarizes too many data stores.
File in question
If I type space in main text (and delete it), I see only 2 ops flowing in the system (as expected).
Yet, summary that follows modifies 24-27 trees, and a ton of maps (od directories):
"treeNodeCount":23,
"blobNodeCount":35,
"handleNodeCount":328,
"totalBlobSize":371195,
Size is also large. 105Kb of that is main Sequence (not ideal, but expected), the rest - seems like should not be there.
There is some impact due to us summarizing whole data store (no incrementality here - we should fix it), but it still does not explain why so many maps/directories are saved.

@agarwal-navin - FYI, I have a feeling Nicholas might need your help here (at least with breakpoints and overall flow)

Navin and I were looking at the data and we found 2 fronts to work on:
a) We are re-generating a full summary instead of partial one due to the code added due the BlobAggregationStorage  that forces the full summary for blobs and incrementing the node count.
           // If BlobAggregationStorage is engaged, we have to write full summary for data stores
            // BlobAggregationStorage relies on this behavior, as it aggregates blobs across DDSs.
            // Not generating full summary will mean data loss, as we will overwrite aggregate blob in new summary,
            // and any virtual blobs that stayed (for unchanged DDSs) will need aggregate blob in previous summary
            // that is no longer present in this summary.
            // This is temporal limitation that can be lifted in future once BlobAggregationStorage becomes smarter.
            const contextSummary = await context.summarize(true /* fullTree */, trackState);

b) There is also the fact that we add one treecount for every .channels we add to the code.
Ex.
            "458d5e02-c830-42de-aaa3-b01a87996c49": {
                "type": 1,
                "tree": {
                    ".channels": {
                        "type": 1,
                        "tree": {
                            "root": {
                                "type": 1,
                                "tree": {
                                    "header": {

I'm not sure why #b happens. Are we essentially regenerating whole tree, and reusing only blobs (leaf nodes)?

No, we aren't regenerating the whole tree. But when we do summarize a data store, we add 2 trees for it (one for the data store and one ".channels" to add its DDSs). So, for every data store summarized, there is one extra tree in the summary which is basically overhead.
We were wondering if we should make it clear in telemetry how many tree nodes there are for actual data stores and DDS and how many are just overhead. We can just subtract the number of ".channel" trees when looking at telemetry which is equal to number of data stores summarized + one at root for adding data stores.

I'm not sure I follow. There is /.channels/dataStoreA/.channels/DDS1 kinds of paths (I believe)
If nothing changed in datastore, I'd expect (in best case) to see only /.channels/dataStoreA entry that points to previous handle, and no sub-channels for dds. In other words, in a file that has few changes, number of nodes should asymptotically be number of data stores, not 2X, or 5x. Is there any reason we can't get there?

Yes, you are right. That is the behavior when nothing changes and that part is not a problem at all. I was talking about the scenario when something changes.
Let's say 1 DDS in 1 data store got an op. Assuming that the DDS adds only blobs in its summary data, one would think this would result in 2 node being summarized. However, the actual number of tree nodes in the summary is 4:

1 for /.channels that contains data stores.
2 = 1 each for the data store tree and .channels in it: /.channels/dataStoreA/.channels.
1 for the DDS: /.channels/dataStoreA/.channels/DDS1`.

So, we would want to ignore the /.channels sub-trees when looking at how many trees were summarized because of X number of ops.

Got it. I'd not worry that much about changed data stores, as ideally there should be 1-2 per summary (in most incremental cases).
I'd think most cases where summary metadata is large, it's because we have too many data stores in a file, likely due to too many deleted tables. GC will fix it, but for now that's likely the biggest issue - would be nice to confirm it (and not worry about it till we have GC done).

Sounds good.

https://dev.azure.com/fluidframework/internal/_workitems/edit/219


Low Priv User Login Exception

At URL:
http://<IP_ADDRESS>:8000/login
Client:Client credentials are used to log into application with a non-staff, non-superuser profile.
An exception is raised and the login process seems to halt at:
http://<IP_ADDRESS>:8000/metrics
However an authenticated session is created as navigating back and using the application works fine.
The issue seems to relate to a malformed SQL statement? Dumps and stack traces provided below:
The SQL query being generated is:
u'SELECT (SELECT IF(dojo_finding.mitigated IS NULL, DATEDIFF(CURDATE(), dojo_finding.date), DATEDIFF(dojo_finding.mitigated, dojo_finding.date))) AS "sql_age", (SELECT COUNT(*) FROM dojo_risk_acceptance INNER JOIN dojo_risk_acceptance_accepted_findings ON ( dojo_risk_acceptance.id = dojo_risk_acceptance_accepted_findings.risk_acceptance_id ) WHERE dojo_risk_acceptance_accepted_findings.finding_id = dojo_finding.id) AS "ra_count", "dojo_finding"."id", "dojo_finding"."title", "dojo_finding"."date", "dojo_finding"."cwe", "dojo_finding"."url", "dojo_finding"."severity", "dojo_finding"."description", "dojo_finding"."mitigation", "dojo_finding"."impact", "dojo_finding"."refs", "dojo_finding"."test_id", "dojo_finding"."is_template", "dojo_finding"."active", "dojo_finding"."verified", "dojo_finding"."false_p", "dojo_finding"."duplicate", "dojo_finding"."out_of_scope", "dojo_finding"."under_review", "dojo_finding"."review_requested_by_id", "dojo_finding"."thread_id", "dojo_finding"."mitigated", "dojo_finding"."mitigated_by_id", "dojo_finding"."reporter_id", "dojo_finding"."numerical_severity", "dojo_finding"."last_reviewed", "dojo_finding"."last_reviewed_by_id" FROM "dojo_finding" WHERE ("dojo_finding"."verified" = ? AND "dojo_finding"."severity" IN (?, ?, ?, ?, ?) AND "dojo_finding"."date" >= ? AND "dojo_finding"."date" < ? AND "dojo_finding"."out_of_scope" = ? AND "dojo_finding"."duplicate" = ? AND "dojo_finding"."false_p" = ? AND "dojo_finding"."verified" = ?) ORDER BY "dojo_finding"."numerical_severity" ASC, "dojo_finding"."date" DESC, "dojo_finding"."title" ASC'
See dump below:
OperationalError at /metrics
no such function: IF
Request Method: 	GET
Request URL: 	http://<IP_ADDRESS>:8000/metrics
Django Version: 	1.8.10
Exception Type: 	OperationalError
Exception Value:
no such function: IF
Exception Location: 	/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 318
Python Executable: 	/django-DefectDojo/venv/bin/python
Python Version: 	2.7.10
Python Path:
['/django-DefectDojo',
'/django-DefectDojo/venv/lib/python2.7',
'/django-DefectDojo/venv/lib/python2.7/plat-x86_64-linux-gnu',
'/django-DefectDojo/venv/lib/python2.7/lib-tk',
'/django-DefectDojo/venv/lib/python2.7/lib-old',
'/django-DefectDojo/venv/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/django-DefectDojo/venv/local/lib/python2.7/site-packages',
'/django-DefectDojo']
Server time: 	Mon, 23 Jan 2017 23:22:01 -0600
Environment:
Request Method: GET
Request URL: http://<IP_ADDRESS>:8000/metrics
Django Version: 1.8.10
Python Version: 2.7.10
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'polymorphic',
'overextends',
'django.contrib.admin',
'django.contrib.humanize',
'gunicorn',
'tastypie',
'djangobower',
'auditlog',
'dojo',
'tastypie_swagger',
'watson',
'tagging',
'custom_field',
'imagekit')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'dojo.middleware.LoginRequiredMiddleware')
Traceback:
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
110.                     response = view_func(request, *args, **kwargs)
File "/django-DefectDojo/dojo/metrics/views.py" in metrics
197.                                        relative_delta='months')
File "/django-DefectDojo/dojo/utils.py" in get_period_counts
368.         for finding in findings:
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django_filters/filterset.py" in iter
313.         for obj in self.qs:
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/models/query.py" in iter
162.         self._fetch_all()
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/models/query.py" in _fetch_all
965.             self._result_cache = list(self.iterator())
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/models/query.py" in iterator
238.         results = compiler.execute_sql()
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
840.             cursor.execute(sql, params)
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/backends/utils.py" in execute
79.             return super(CursorDebugWrapper, self).execute(sql, params)
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/backends/utils.py" in execute
64.                 return self.cursor.execute(sql, params)
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/utils.py" in exit
98.                 six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/backends/utils.py" in execute
64.                 return self.cursor.execute(sql, params)
File "/django-DefectDojo/venv/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute
318.         return Database.Cursor.execute(self, query, params)
Exception Type: OperationalError at /metrics
Exception Value: no such function: IF

Hi @a1ec thank you for your report! Will look into this today.

Hi sorry @a1ec I got deterred by a family event. Will absolutely look into this on Monday.

Thanks Greg. Update: setting the Staff flag in the user profile alleviates the issue. However, I wish to set up a low privilege 'Client' user that can only read a subset of the input data.

Hi @a1ec, unfortunately I'm not able to reproduce the issue. Can you try with the latest code? Is there some step I could be missing?

G'day @devGregA , I've done a git pull and I have the latest it seems.
Created another user with permissions below and access to the Product.

The same issue persists. Note sure yet what else I can try, open to suggestions.

Hi @a1ec would you be up for a video meeting so I could see it first hand? If so what time zone are you in?

Hi @devGregA, definitely! I am in AEDT, happy to convene when you can

Hi @a1ec, how about Tuesday? I'm free any time after 10:00 AM - 5:00 PM AEDT. Shoot an email to<EMAIL_ADDRESS>and I'll setup a Google Hangout for whenever works for you.

OH @a1ec are you using sqlite? I was looking back through you paste. Would it be possible to use maria or mysql instead?

Yes I am using sqlite as part of the standard docker install, it may be sqlite specific.
Is it a big with the django ORM?
I was looking to use the production docker-compose environment but I have had issues running it).

@aaronweaver I'm not very familiar with the Docker version. Could you look at this issue?

@devGregA sure, I'll review

@a1ec ah, nevermind don't change the DB just yet. I didn't realize this was for the Docker version. Aaron is looking into it. He is much more well-versed on the docker version than I am.

hey @aaronweaver have you had a chance to take a look?

Hi @aaronweaver @devGregA just wondering if there is any update? This issue hinders usability and presentation of the app, as some of our team think it's broken

@devGregA Was the metrics page built specifically to go against MySQL? I do remember coming across this issue, it's only if you do anything on the metrics page, all other functionality works.

@aaronweaver right now yes, I forgot about that. We preload some queries to improve performance. Why would an un-authed user be able to access it though while a staff user is not?

** non-staff user

I think what's happening is that it was the last URL visited so when you auth it's re-directing you to the metrics page which errors out. The login process worked correctly it's just the metrics page that errored out. I think for now what I'll do is just test to see if sqllite. At some point I'll see if it's worth writing it to support sqllite.

I can throw in a statement to do a check on the settings and avoid the preloading if it is not sql. This would enable other db options such as postgres, etc. Will take this as an action for next week.

@devGregA @aaronweaver - this is definitely because MySQL is not in use for this setup.  For 100% functionality, MySQL is required at this point.  Without the preloading in Metrics the pages are very slow and require a lot of sql queries.

@devGregA @aaronweaver @a1ec - I found the issue and believe I have fixed it with pull request #305 - @a1ec can you please check once that pull request is merged?  You will need to update to Django 1.11 - see docs here: https://defectdojo.readthedocs.io/en/latest/upgrading.html#upgrading-to-django-1-11

Closing due to stalled discussion. Believed to be fixed.


Native android error when building the plugin

Steps to reproduce

Create a flutter app with bugsnag_crashlytics: ^1.0.0
Run the app in Android

Expected result
The app launches normally
Actual result
There is an error related with a dependency:

FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':bugsnag_crashlytics'.

Could not resolve all artifacts for configuration ':bugsnag_crashlytics:classpath'.
Could not find com.bugsnag:bugsnag-android-gradle-plugin:5.9.5.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/bugsnag/bugsnag-android-gradle-plugin/5.9.5/bugsnag-android-gradle-plugin-5.9.5.pom
- https://jcenter.bintray.com/com/bugsnag/bugsnag-android-gradle-plugin/5.9.5/bugsnag-android-gradle-plugin-5.9.5.pom
Required by:
project :bugsnag_crashlytics
Could not get unknown property 'android' for project ':bugsnag_crashlytics' of type org.gradle.api.Project.

Same problem for me with 1.0.0 version, while with 0.0.7 everything works fine

@humbugz I will check it soon

I'm also experiencing this same issue!

Even after updating it with the above configuration, I still have the same issue, @Moujarkash  Could you please check it?

I think the problem is with the mvn repo, its returning 404/403

@Moujarkash the repo jcenter is not live anymore, can you change to mavenCentral?

Even I'm phasing the same issue. What is the solution for it? Thanks


How to turn off smoothing?

Is there any way to turn smoothing off with this library so that it's not anti-aliasing my textures?

Just added --monochrome flag for disable anti-aliasing.


invalidate unused with options when creating sink

dev=> create table t (v1 int, v2 int);
CREATE_TABLE
dev=> create sink s3 from t with (connector = 'console', type = 'append-only');
ERROR:  QueryError: Sink error: The sink cannot be append-only. Please add "force_append_only='true'" in WITH options to force the sink to be append-only. Notice that this will cause the sink executor to drop any UPDATE or DELETE message.
dev=> create sink s3 from t with (connector = 'console', format = 'append-only');
CREATE_SINK

It gives users the illusion that an append-only sink is created successfully.

May related: #7034.

Will it be better to print out a warning instead of rejecting the query?

Will it be better to print out a warning instead of rejecting the query?

better reject I think. Or mark it deprecated.


Add some test function for JSON testing

I add some testing method in boss_web_test to test put, delete method which are usefull for testing a rest API build with CB.
Also in boss_assert i add testing 401 status code, as i test an unauthorized event.
Naming of the func was http_not_authorized({Status, _, _, _} = _Response) , and in test will be called via boss_test:http_not_authorized(Res)
If can be merge will be great for Api dev, as i patch it for my own use.

merged, thanks

Thanks @danikp :)


Add ability to read from and save events data to calendar.json file

Adds sample data for events as well.
Minor changes to some test cases to as some constructors are changed.

Codecov Report

Merging #152 into master will decrease coverage by 0.80%.
The diff coverage is 27.47%.

@@             Coverage Diff              @@
##             master     #152      +/-   ##
============================================
- Coverage     65.35%   64.55%   -0.81%
- Complexity      676      689      +13
============================================
  Files           110      113       +3
  Lines          2283     2364      +81
  Branches        243      251       +8
============================================
+ Hits           1492     1526      +34
- Misses          673      718      +45
- Partials        118      120       +2

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/seedu/address/MainApp.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
15.00% <0.00%> (-5.00%)
1.00 <0.00> (ø)

...n/java/seedu/address/storage/JsonAdaptedEvent.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

src/main/java/seedu/address/ui/EventCard.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...eedu/address/storage/JsonSerializableCalendar.java
26.66% <26.66%> (ø)
1.00 <1.00> (?)

...ava/seedu/address/storage/JsonCalendarStorage.java
47.61% <47.61%> (ø)
4.00 <4.00> (?)

...ain/java/seedu/address/storage/StorageManager.java
76.31% <60.00%> (-5.83%)
13.00 <2.00> (+2.00)
:arrow_down:

...rc/main/java/seedu/address/logic/LogicManager.java
68.00% <100.00%> (+1.33%)
3.00 <0.00> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
69.56% <100.00%> (+1.08%)
32.00 <2.00> (+1.00)

src/main/java/seedu/address/model/event/Time.java
60.00% <100.00%> (-4.29%)
5.00 <1.00> (ø)

... and 6 more

Continue to review full report at Codecov.

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


Videos that are in webm aren't downlaoded correctly

VIdeos like https://www.youtube.com/watch?v=X6lf99WwFog&list=PLtVMHay5IxhMNDBk46rtEy_8bImMv9z6_&index=71
or someting

Why would you want to download that?
I think the fact that you can not it is a feature, not a bug.

Why should that be a feature I mean it just makes ist worse if you're downloading music or something half of it doesn't get downloaded


Get Slack notification when new user has been registered

New feature request :)
"Get Slack notification when new user has been registered" :)

Wups, sorry

+1

+1

+1

+1

+1


Things to do before releasing 0.6

Placeholder issue to keep track of things we need to do before releasing 0.6.

remove finalizer references from documentation

Done in #428


loading multiple structures loses non-covalent interaction rendering. Can it be maintained?

Hi PDBe-Molstar,
Thanks for a great package. I'd like to load a protein structure (PDB), then separately a ligand structure (SDF). I'd like also to visualize the non-covalent interactions, as would be done with ligandView or by clicking on the ligand in a full single structure.
However, when loading the structures separately, the non-covalent interactions aren't visualized. Is there any way to maintain these?
Compare, for example, the ligand view of retinoic acid in 1CBS with the two loaded separately. Example ligand interactions are here - basically hydrogen bonding between the carboxylic acid and the tyrosine and arginine is of interest.
Doing the same in pdbe-molstar doesn't show the hydrogen bonding interactions, presumably because the molecules are considered separate, and not just non-bonded (see below for example).
Thanks
Example HTML follows. Note that, because I'm including the raw PDB and SDF data as plaintext blobs, it's a bit long. It's also worth noting that, when doing this, CPU usage appears pinned to ~100%.
here's a plunker

Hi,
You are right about why the interactions are not shown. Unfortunately PDBe implementation has no support for such functionality. You'll have to write your own Mol* plugin to accomplish it. The discussion here - https://github.com/molstar/molstar/issues/578 might be a good reference for you.

Thanks a lot @mandarsd for the molstar link - that will work.


CamembertForTokenClassification model always predict the same label for a multi-classification problem

Hi every one !
I'm working with the pretrained CamembertForTokenClassification  model for NER task and I don't undersatnd why I got the same logits and so the same labels batch after batch. The model doesn't learn and I don't know why. Do you have a clue ?
Code :
def train(train_dataloader,validation_dataloader,num_epochs:int):
    """"
    Train phase. Train + Validation steps. Print train loss and flat accuracy epochs after epochs.
    ===================================================
    params:
        - train_dataloader : Data Loader of tensors train inputs, train labels and train masks.
        - num_epochs : Number of epochs for the train phase
        - num_batch : Size of the train batches

    returns :
            /
    """
    # Function to calculate the accuracy of our predictions vs labels

    def flat_accuracy(preds, labels):
        pred_flat = np.argmax(preds, axis=2).flatten()
        labels_flat = labels.flatten()
        return np.sum(pred_flat == labels_flat) / len(labels_flat)

    # Camembert fine-tuning parameters
    param_optimizer = list(model.named_parameters())
    no_decay = ['bias', 'gamma', 'beta']
    optimizer_grouped_parameters = [
        {'params': [p for n, p in param_optimizer if not any(nd in n for nd in no_decay)],
         'weight_decay_rate': 0.01},
        {'params': [p for n, p in param_optimizer if any(nd in n for nd in no_decay)],
         'weight_decay_rate': 0.0}
    ]

    optimizer = AdamW(model.parameters(), lr=1e-3, correct_bias=False)

    # Store our loss and accuracy for plotting
    train_loss_set = []

    # Number of training epochs
    epochs = num_epochs

    # Camembert training loop
    for _ in trange(epochs, desc="Epoch"):

        ## TRAINING

        # Set our model to training mode
        model.train()
        # Tracking variables
        tr_loss = 0
        nb_tr_examples, nb_tr_steps = 0, 0
      # Train the data for one epoch
        for step, batch in enumerate(train_dataloader):

            # Add batch to GPU
            batch = tuple(t.to(device) for t in batch)
            # Unpack the inputs from our dataloader
            b_input_ids, b_input_mask, b_labels = batch
            # Clear out the gradients (by default they accumulate)
            optimizer.zero_grad()
            # Forward pass
            loss = model(b_input_ids, token_type_ids=None, attention_mask=b_input_mask, labels=b_labels)[0]
            train_loss_set.append(loss.item())
            # Backward pass
            loss.backward()
            # Update parameters and take a step using the computed gradient
            optimizer.step()
            # Update tracking variables
            tr_loss += loss.item()
            nb_tr_examples += b_input_ids.size(0)
            nb_tr_steps += 1
            print("Train loss: {}".format(tr_loss/nb_tr_steps))

      ## VALIDATION

      # Put model in evaluation mode
        model.eval()
      # Tracking variables
        eval_loss, eval_accuracy = 0, 0
        nb_eval_steps, nb_eval_examples = 0, 0
        # Evaluate data for one epoch
        for batch in validation_dataloader:
            # Add batch to GPU
            batch = tuple(t.to(device) for t in batch)
            # Unpack the inputs from our dataloader
            b_input_ids, b_input_mask, b_labels = batch
            # print('val_labels:',b_labels)
            # Telling the model not to compute or store gradients, saving memory and speeding up validation
            with torch.no_grad():
              # Forward pass, calculate logit predictions
              logits = model(b_input_ids, token_type_ids=None, attention_mask=b_input_mask)[0]
            # Move logits and labels to CPU
            logits = logits.detach().cpu().numpy()
            print('logits :',logits)
            print('labels predicted:',np.argmax(logits, axis=2).flatten())
            label_ids = b_labels.to('cpu').numpy()
            # print('rela labels:',label_ids)
            tmp_eval_accuracy = flat_accuracy(logits, label_ids)
            eval_accuracy += tmp_eval_accuracy
            nb_eval_steps += 1
        print("Validation Accuracy: {}".format(eval_accuracy/nb_eval_steps))

    # plot training performance
    plt.figure(figsize=(15,8))
    plt.title("Training loss")
    plt.xlabel("Batch")
    plt.ylabel("Loss")
    plt.plot(train_loss_set)
    plt.show()

After few batches,  here's what I got during a validation phase for a specific batch:

predicted logits : [[[-1.0357289   1.2099022  -0.30169785 -0.13911007 -1.0021709 ]
  [-1.0357288   1.2099023  -0.30169785 -0.13911007 -1.0021709 ]
  [-1.0357289   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]
  ...
  [-1.0357288   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]]

 [[-1.0357288   1.2099022  -0.30169785 -0.13911007 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169782 -0.13911004 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169782 -0.13911003 -1.0021709 ]
  ...
  [-1.0357288   1.2099022  -0.30169785 -0.13911004 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]]

 [[-1.0357288   1.2099022  -0.30169785 -0.13911004 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911004 -1.0021709 ]
  [-1.0357288   1.209902   -0.30169785 -0.13911004 -1.0021709 ]
  ...
  [-1.0357288   1.2099023  -0.30169782 -0.13911006 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911004 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911004 -1.0021709 ]]

 ...

 [[-1.0357288   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911007 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911007 -1.0021709 ]
  ...
  [-1.0357288   1.2099022  -0.30169785 -0.13911007 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169782 -0.13911004 -1.0021708 ]
  [-1.0357288   1.2099022  -0.30169782 -0.13911004 -1.0021709 ]]

 [[-1.0357288   1.2099022  -0.30169785 -0.13911004 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169782 -0.13911004 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911004 -1.0021709 ]
  ...
  [-1.0357288   1.2099022  -0.30169782 -0.13911006 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911003 -1.0021709 ]
  [-1.0357288   1.2099023  -0.30169785 -0.13911006 -1.0021709 ]]

 [[-1.0357288   1.2099023  -0.30169785 -0.13911006 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911007 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911007 -1.0021709 ]
  ...
  [-1.0357289   1.2099022  -0.30169785 -0.13911007 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]
  [-1.0357288   1.2099022  -0.30169785 -0.13911006 -1.0021709 ]]]
labels predicted: [[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
 [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]]
real validation labels: tensor([[1, 2, 2, 2, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
         0],
        [2, 2, 2, 2, 1, 1, 2, 2, 1, 1, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
         0],
        [1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3,
         2],
        [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 1, 1,
         1],
        [4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 1, 3, 1, 1, 0, 0, 0,
         0],
        [4, 4, 4, 4, 4, 1, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
         1],
        [1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
         2],
        [2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 1, 1, 1, 1, 4, 4, 1, 1, 0, 0, 0, 0, 0,
         0],
        [3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
         0],
        [1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0,
         0]], device='cuda:0')

Model :
model = CamembertForTokenClassification.from_pretrained('camembert base',num_labels=num_labels).cuda()
Model config :

CamembertConfig {
  "_num_labels": 5,
  "architectures": [
    "CamembertForMaskedLM"
  ],
  "attention_probs_dropout_prob": 0.1,
  "bad_words_ids": null,
  "bos_token_id": 5,
  "decoder_start_token_id": null,
  "do_sample": false,
  "early_stopping": false,
  "eos_token_id": 6,
  "finetuning_task": null,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "LABEL_0",
    "1": "LABEL_1",
    "2": "LABEL_2",
    "3": "LABEL_3",
    "4": "LABEL_4"
  },
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "is_decoder": false,
  "is_encoder_decoder": false,
  "label2id": {
    "LABEL_0": 0,
    "LABEL_1": 1,
    "LABEL_2": 2,
    "LABEL_3": 3,
    "LABEL_4": 4
  },
  "layer_norm_eps": 1e-05,
  "length_penalty": 1.0,
  "max_length": 20,
  "max_position_embeddings": 514,
  "min_length": 0,
  "model_type": "camembert",
  "no_repeat_ngram_size": 0,
  "num_attention_heads": 12,
  "num_beams": 1,
  "num_hidden_layers": 12,
  "num_return_sequences": 1,
  "output_attentions": false,
  "output_hidden_states": false,
  "output_past": true,
  "pad_token_id": 1,
  "prefix": null,
  "pruned_heads": {},
  "repetition_penalty": 1.0,
  "task_specific_params": null,
  "temperature": 1.0,
  "top_k": 50,
  "top_p": 1.0,
  "torchscript": false,
  "type_vocab_size": 1,
  "use_bfloat16": false,
  "vocab_size": 32005
}

What I tried :
I tried to tweak several hyperparameter like the hidden_dropout_prob ratio, the learning rate of the sizes of the batches and padding length but nothing worked...
My environment`

fairseq Version (e.g., 1.0 or master):
PyTorch Version : 1.4.0
OS (e.g., Linux): Windows 10
Python version: 3.6.9
transformers: 2.8.0
GPU models and configuration:
_CudaDeviceProperties(name='Tesla K80', major=3, minor=7, total_memory=11441MB, multi_processor_count=13)

Thank you for your help :)

@louismartin

Hi Louis,
Thanks for answering me. Could you be a little more explicit please ? I’m not very familiar with Bert...
Best,
From: Angela<EMAIL_ADDRESS>Sent: 13 April 2020 14:16
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [pytorch/fairseq] CamembertForTokenClassification model always predict the same label for a multi-classification problem (#1988)
@louismartinhttps://github.com/louismartin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pytorch/fairseq/issues/1988#issuecomment-612874781, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKHYJYCH7K2N4EYKGTIFXSLRML7BHANCNFSM4MEYR6EA.

Hi, sorry for the delay.
As I mentioned in my email, you should check if the weights of the model change during training.
Do you see the training loss decreasing or is it constant ?

Hi no worry.
The weights are actually changing during training and the loss is decreasing untill a certain point.

And you confirm that the logits are exactly the same at the beginning of training and at the end of training when the weights have changed?

You should try to follow the path from the input embeddings to the output embeddings and try to see what happens. If the weights are different, then the output should be different.

And you confirm that the logits are exactly the same at the beginning of training and at the end of training when the weights have changed?

Yes the logits are evolving but converge towards a positive value for only one class and negative values for all the others. So the same class si predicted when using the argmax of the logits.

Then I think it might be related to your training data or the way you feed the data/labels. I can't help you more on this...
Make sure that you don't always feed the same label during training. Maybe one label is way more frequent than the others. You could investigate what happens when you remove this label from training.

Indeed, one label is way more present than the others but when I remove it, the model predicts another one all the time...
Thanks anyway,

Maybe you could try on the same datasets that we used in the paper.
If you take the french part of the XNLI dataset, you can finetune using these instructions (MNLI part) .
You could also create a very simple dummy synthetic dataset to check that the training procedure works well. For instance a dataset where the label is the number of words or something like this.

Hi,
Looks like I messed with the labeling phase. I didn't understand well the mask and the padding goal. In fact, I added the label 0 for 'Unused label' which should be the label for the padded input. I didn't know that Bert was taking care of this already.
Anyway, it's working fine now...

Hi,
Looks like I messed up with the labeling phase. I didn't understand well the mask and the padding goal. In fact, I added the id label 0 for 'Unused input' which should be the label for the padding inputs. By doing this, I added a label which was not considered for my initial NER task ( like PERS, LOC or ORG) . So the algorithm abviously didn't work well. I didn't know that Bert was already taking care of this .
Anyway, it's working fine now...
Sorry for the trouble and thank you for your help.

Hi,
Looks like I messed up with the labeling phase. I didn't understand well the mask and the padding goal. In fact, I added the id label 0 for 'Unused input' which should be the label for the padding inputs. By doing this, I added a label which was not considered for my initial NER task ( like PERS, LOC or ORG) . So the algorithm abviously didn't work well. I didn't know that Bert was already taking care of this .
Anyway, it's working fine now...
Sorry for the trouble and thank you for your help.

Hello,
Can you please elaborate.on your fix? I'm facing a similar issue with CamemBertForSequenceClassification, wherein the model is predicting the same class over and over again for the entire dataset. The exact same dataset (English) version works perfectly with the Bert model (BertForSequenceClassification), but the translated French text predicts the same class for all of the examples with CamemBert.


Need to disable ASR when System speaks

Right now when system speaks, OXford ASR takes user's speech as well system's spoken text (from TTS) and meddles up recognized result. Is there an option to detect echo and cancel or cancel barge-in ?

We do not have an option to detect echo and cancel today, but if you're interested in this feature, I highly recommend you file it as a feature request on our UserVoice site:
http://cognitive.uservoice.com
We are always looking for feature suggestions and if you file an idea on our site, you'll be updated if we have updates to share.


Some projects have been added twice on the website

Describe the bug
Some projects have been added twice on the website
To Reproduce
Steps to reproduce the behavior:

Changes in script.js file

Environment (please complete the following information):

OS: Windows
Browser: Google Chrome

Additional context
Here the particle js project is shown twice

The same is with the animated minion eye project.

Pls assign so that i can start working :)

@prachibansal2000 you can work on this issue.


Check for impossible dates in Problem report

Found a workshop with an end date in 2014 but a start date in 2015 - impossible combinations should be reported in Problems.

Closed by #489.


How do I get output image as a Vec?

I need to render an SVG on my server and send it in response to users. I would like to avoid saving the image to the drive, however, i can only find OutputImage::save which saves the image to the drive and no method like to_vec. How do I get the render result as a Vec?

Hi. It can't be done via the Render trait right now, but you can use backend-specific methods, e.g. render_to_image.
Something like:
resvg::backend_qt::render_to_image(...).unwrap().data() // &[u8]

// or

resvg::backend_cairo::render_to_image(...).unwrap().get_data().unwrap() // &[u8]

PS: docs.rs doesn't show up docs for optional features. I should fix this.

This worked, thanks
Should I leave the issue open until this can be done via the Render trait?

Yes, keep it open.

Turns out that it's pretty hard to implement, due to lifetimes. So a backend-specific render_to_image should be used in this case.

Thanks for the help! This should be mentioned in the documentation.