[Security] Peer bans - low level

We have a general issue #400 to implement peer banning. I think this task should be divided into two tasks:

Low level code that enforces bans that are already in place + storage of those bans + removal of expired bans
High level code that adds new bans

The low level code is expected to to maintain the information about who is banned for what and for how long and use this information on both incoming and outgoing connections to prevent being connected to such nodes.
The high level code should then use the low level code when a new peer to ban is identified. This should be implemented in chain headers behavior (when we receive a new chain of headers from a peer) and in consensus validation (when we receive a new block from a peer).
So this issue is for the low level part. I'll change #400 to be for the high level part.

 [Security] Peer bans - low level

I think for the store of banned nodes we can reuse the add manager that @fassadlr is currently working on.
That has a db of peers with all kind of stats on it we can use that to add peers that are banned and a ban time.

yes, and i would also store the reason for banning

Adding this comments to the issue https://github.com/stratisproject/StratisBitcoinFullNode/pull/710#issuecomment-343860774

@Aprogiena I am currently working on the consensus banning, I will submit a PR soon.

ok


hmmsearch failed: Parse failed (sequence file /path/pdb_seqres/pdb_seqres.txt): Line 1360234: illegal character 0

Similar to #465 I am getting an error with hmmsearch when running with multimer
Full output from this command:
run_alphafold.sh -d $DATA_DIR -o $OUTPUT_DIR -m multimer -f ./com_triplechain.fasta -t 2021-11-01

I0805 19:28:33.717985<PHONE_NUMBER>1056 templates.py:857] Using precomputed obsolete pdbs /bsuscratch/alphafold_data/pdb_mmcif/obsolete.dat.
I0805 19:28:33.891316<PHONE_NUMBER>1056 tpu_client.py:54] Starting the local TPU driver.
I0805 19:28:33.920382<PHONE_NUMBER>1056 xla_bridge.py:212] Unable to initialize backend 'tpu_driver': Not found: Unable to find driver in registry given worker: local://
I0805 19:28:34.044928<PHONE_NUMBER>1056 xla_bridge.py:212] Unable to initialize backend 'tpu': Invalid argument: TpuPlatform is not available.
I0805 19:28:37.823009<PHONE_NUMBER>1056 run_alphafold.py:376] Have 25 models: ['model_1_multimer_v2_pred_0', 'model_1_multimer_v2_pred_1', 'model_1_multimer_v2_pred_2', 'model_1_multimer_v2_pred_3', 'model_1_multimer_v2_pred_4', 'model_2
_multimer_v2_pred_0', 'model_2_multimer_v2_pred_1', 'model_2_multimer_v2_pred_2', 'model_2_multimer_v2_pred_3', 'model_2_multimer_v2_pred_4', 'model_3_multimer_v2_pred_0', 'model_3_multimer_v2_pred_1', 'model_3_multimer_v2_pred_2', 'm
odel_3_multimer_v2_pred_3', 'model_3_multimer_v2_pred_4', 'model_4_multimer_v2_pred_0', 'model_4_multimer_v2_pred_1', 'model_4_multimer_v2_pred_2', 'model_4_multimer_v2_pred_3', 'model_4_multimer_v2_pred_4', 'model_5_multimer_v2_pred_
0', 'model_5_multimer_v2_pred_1', 'model_5_multimer_v2_pred_2', 'model_5_multimer_v2_pred_3', 'model_5_multimer_v2_pred_4']
I0805 19:28:37.823210<PHONE_NUMBER>1056 run_alphafold.py:393] Using random seed<PHONE_NUMBER>9806053 for the data pipeline
I0805 19:28:37.823433<PHONE_NUMBER>1056 run_alphafold.py:161] Predicting com_triplechain
I0805 19:28:37.828343<PHONE_NUMBER>1056 pipeline_multimer.py:210] Running monomer pipeline on chain A: NP_001845.3 collagen alpha-1(XI) chain isoform A preproprotein [Homo sapiens]
I0805 19:28:37.828579<PHONE_NUMBER>1056 jackhmmer.py:133] Launching subprocess "/opt/miniconda3/envs/alphafold/bin/jackhmmer -o /dev/null -A /tmp/tmpk8rj7lv_/output.sto --noali --F1 0.0005 --F2 5e-05 --F3 5e-07 --incE 0.0001 -E 0.0001 --
cpu 8 -N 1 /tmp/tmpohw5d8y6.fasta /bsuscratch/alphafold_data/uniref90/uniref90.fasta"
I0805 19:28:37.903680<PHONE_NUMBER>1056 utils.py:36] Started Jackhmmer (uniref90.fasta) query
I0805 19:40:50.360106<PHONE_NUMBER>1056 utils.py:40] Finished Jackhmmer (uniref90.fasta) query in 732.456 seconds
I0805 19:41:06.558286<PHONE_NUMBER>1056 jackhmmer.py:133] Launching subprocess "/opt/miniconda3/envs/alphafold/bin/jackhmmer -o /dev/null -A /tmp/tmp24yuqeyw/output.sto --noali --F1 0.0005 --F2 5e-05 --F3 5e-07 --incE 0.0001 -E 0.0001 --
cpu 8 -N 1 /tmp/tmpohw5d8y6.fasta /bsuscratch/alphafold_data/mgnify/mgy_clusters_2018_12.fa"
I0805 19:41:06.636113<PHONE_NUMBER>1056 utils.py:36] Started Jackhmmer (mgy_clusters_2018_12.fa) query
I0805 19:50:41.121418<PHONE_NUMBER>1056 utils.py:40] Finished Jackhmmer (mgy_clusters_2018_12.fa) query in 574.485 seconds
I0805 19:51:11.024435<PHONE_NUMBER>1056 hmmbuild.py:121] Launching subprocess ['/opt/miniconda3/envs/alphafold/bin/hmmbuild', '--hand', '--amino', '/tmp/tmpcxqj7avx/output.hmm', '/tmp/tmpcxqj7avx/query.msa']
I0805 19:51:11.121154<PHONE_NUMBER>1056 utils.py:36] Started hmmbuild query
I0805 19:51:14.817070<PHONE_NUMBER>1056 hmmbuild.py:128] hmmbuild stdout:
# hmmbuild :: profile HMM construction from multiple sequence alignments
# HMMER 3.3.2 (Nov 2020); http://hmmer.org/
# Copyright (C) 2020 Howard Hughes Medical Institute.

I had same issue! running Alphafold with "multimer" option need higher RAM. I was able to run multimer samples with 256 GB of RAM instead of 64 RAM that failed! - also would be better if you have higher GPU memory too.

I ran into the same problem. It is due to the file pdb_seqres/pdb_seqres.txt, which is a fasta file of necleotide sequences. With this awk command I can identify 4 sequences containing the character "0": awk 'NR%2==0' pdb_seqres.txt|grep 0
I used "vi" to delete the 4 sequence records, now multipler works.
I just downloaded the latest version of pdb_seqres.txt. The problem is still there.

I reported PDB's help desk and they said that there is an issue in their side and they will fix it.
But I don't know how it will be fixed (whether 0 will be changed to N or some other acceptable characters or not).

You can just delete lines with those symbols.  This is NOT amino acids, and that's why alphafold can't parse it. If you delete them your program will run successful.
There is 3 or 4 lines with those molecules.
>7OOS_1|Chain A|RNA (5'-R(*CP*AP*AP*AP*GP*AP*AP*AP*AP*G)-3')|synthetic construct (32630)
CAAAGAAAAG
>7OOS_2|Chain B|DNA (5'-D(*CP*TP*(RWT)P*TP*CP*TP*TP*TP*G)-3')|synthetic construct (32630)
CT05KTCTTTG

I think that it's bad solution, but at least something.

Hi, thank you for the reports. This is indeed due to pdb_seqres containing non-amino acid sequences (an error on our part). We will update the download script to use pdb_aa.fasta and make other code changes required to handle the slightly different formatting.
For now you can remove the offending lines as @koster20 commented. Apologies again.

Thanks, we fixed this in the pdb_seqres download script in v2.3.0.

The above solutions is not work for me.  I fixed this by reinstalling hh-suite;    https://github.com/soedinglab/hh-suite


chore: updatebot for jx-pipelines-vizualizer too

Hi @hervelemeur. Thanks for your PR.
I'm waiting for a jenkins-x or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign rawlingsj
You can assign the PR to them by writing /assign @rawlingsj in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Looking at https://github.com/jenkins-x/jx-pipelines-visualizer/commit/44e3e0f33cfa711dac9d37aeb63d28c5ef2f5008 I'm not sure this would be sufficient, thus making this PR and the 2 others meaningless.

https://kubernetes.slack.com/archives/C9MBGQJRH/p1612437810282900?thread_ts=1610749120.172300&cid=C9MBGQJRH


"Cannot Resove Symbol ‘XXX’" in test libraries.

Actually, I don't know if it's a good idea to ask this question here. I downloaded the last release version in my disk C. Then I restored the nuget package by runing the 'build.cmd' file. After open the .sln, I can rebuild the whole project well, howerver, why my code still show wrong highlight? Only for tow test projects.

Thanks for anyway!

That looks like a R# issue. If you try suspending it, you'll see that everything is really OK. Try installing version 2017.2.
Anyway, there's little to be done about it in this repo 😛

@khellang Thanks a lot! Now I am going to enjoy my Chinese Valentine's Day 😛

I guess I'll close this then. Enjoy the holiday!


updates readme for latest eslint & babel-eslint

while i'm not 100% confident that the version range (>=6.x) is correct for compatibility with the latest versions of ESLint, it was def missing and unclear whether ESLint v4.x was supported. anecdotally, these versions work for me. also the installation instructions were referencing older versions of these packages (IMHO they don't need to reference any version at all, but i chose to stay with the convention).

We should probably remove the old versions anyway, thanks!


Updated some other examples + NumDiff action classes and their Python bindings - [merged]

In GitLab by @cmastalli on Aug 26, 2019, 23:53
Merges topic/example-notebooks -> cpp_devel
There is still needed extra work to adapt all the examples and notebooks. Additionally, I includes some information in the README file.

In GitLab by @cmastalli on Aug 26, 2019, 23:53
enabled an automatic merge when the pipeline for 1b160394396aecac7f06c7c94696031c31a71040 succeeds

In GitLab by @cmastalli on Aug 27, 2019, 00:02
merged

In GitLab by @cmastalli on Aug 27, 2019, 00:02
mentioned in commit 83fc26ff91287ddbbc1f0349297136f3aab22ba9


For Windows

Mine it appeared "Access is denied", may I know to counter this ?
For Windows
Go To android studio directory (Default C:\Program Files\Android\Android Studio)
remove jre folder
run cmd as administrator
cd C:\Program Files\Android\Android Studio
mklink /D "jre" "jbr"

Now all is working again.
Originally posted by @mstfkhazaal in https://github.com/flutter/flutter/issues/106674#issuecomment-1381685888

Mine it appeared "Access is denied", may I know to counter this ?
For Windows Go To android studio directory (Default C:\Program Files\Android\Android Studio) remove jre folder run cmd as administrator
cd C:\Program Files\Android\Android Studio
mklink /D "jre" "jbr"

Now all is working again.
Originally posted by @mstfkhazaal in #106674 (comment)

Are you sure to run cmd as administrator?

Hi @SofhiaziziCool
When opening a new issue, please try to provide all or some of the information indicated in the template so that we can address this issue properly (See bug report template).
More specifically on this case, please provide the complete output of flutter doctor -v.

Greetings,
Thank you for your reply, thankfully the issue has been resolved.
On Mon, 17 Jul 2023 at 18:13, huycozy @.***> wrote:

Hi @SofhiaziziCool https://github.com/SofhiaziziCool
When opening a new issue, please try to provide all or some of the
information indicated in the template so that we can address this issue
properly (See bug report template
https://github.com/flutter/flutter/issues/new?assignees=&labels=&projects=&template=2_bug.yml
).
More specifically on this case, please provide the complete output of flutter
doctor -v.
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/130664#issuecomment-1637786320,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWXP4QI2K4JEFY2LYE5T7OTXQUF3JANCNFSM6AAAAAA2LK7ZRY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Containerize and add installation & running guidelines

Containerize the program with dataset to give anyone the choice of running the application  by cloning the docker; without installing any component
Add installation and running guidelines in README.md

Right now I am learning "How to containerize the program with docker". After completing the documentation, I'll add to the README.md file with installation guidelines.

Thanks for the update. I understand, it will take some time. However, I think it is better to keep the issue open. You should close it after you are done with the procedure and link your pull request with the issue.

Ok. I will reopen this.

I have containerized the project with details guidelines in reademe.md file. Please install the docker desktop app and follow the instructions to run the project on your local machine.
*Note: So far, I have completed parsing the log files and counting the event types. Anomaly detection is yet to be solved.


Issue With subprocess.run() Environment Path being out of date in ipynb

Environment data

VS Code version: 1.41.1
Extension version (available under the Extensions sidebar): Python 2020.1.58038
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): 3.7.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv

Expected behaviour
Running subprocess.run() from inside a vscode ipynb cell executes using the system's environment path that was set when vscode was opened.
Actual behaviour
Running subprocess.run() from inside a vscode ipynb cell referes to an out dated environment path variable. The path variable being used by subproccess.run() hasn't been current for a month. My vscode has been restarted many times in the last month. My computer has been restarted many times in the last month. Creating a new ipynb file still uses the old out of path when calling subprocess.run().

Update:
Changing the python "kernal" in vscode does change the environment path being used by subprocess.run()

Update:
When running python from powershell, subprocess.run() uses the expected environment path. This is while using the same pipenv python installation being referenced while in vscode ipynb viewer.

Update:
Deleting and reinstalling my the pipenv and then reinstalling the pipenv did update the path variable being used in by subprocess.run() in my vscode ipynb files.

Thanks for reporting this issue, we believe we have resolved this in the latest master branch.
Please could you install the latest development version of the extension.
Here's the link, please let me know how this goes. https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix
Closing for now, if the issue persists, please re-open, create a new issue or ping us and we'll be happy to reopen this issue.


ibmi: fix the CMSG length issue

On IBMi, msg_controllen of struct msghdr can not exceed 256.
The default UV__CMSG_FD_COUNT value 64 leads EINVAL error.
Set UV__CMSG_FD_COUNT to 60 on IBMi to resolve the issue.

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/1677/

Landed in https://github.com/libuv/libuv/commit/51a0ae7817aa3b47e52c15efe96c9298e3489945. Thanks!


HTTP Call Failed

Hi Andrew,
I get [ERROR] HTTP call failed. Status code: HTTP/1.1 404 Not Found: The specified res
ource could not be found.
Caught: java.lang.AssertionError: Terminated script execution. Expression: null
java.lang.AssertionError: Terminated script execution. Expression: null
I did changes according to documentation, which is the nifi.url. Attached my yml file.
C:\Users\limcheh\Documents\GitHub\nifi-api-deploy>groovy NiFiDeploy.groovy --fil
e nifi-deploy.yml --debug
Loading Process Groups from NiFi
2016/11/17 13:09:31:500 SGT [DEBUG] BasicClientConnectionManager - Get connectio
n for route {}->http://<IP_ADDRESS>:9091
2016/11/17 13:09:31:527 SGT [DEBUG] DefaultClientConnectionOperator - Connecting
to <IP_ADDRESS>:9091
2016/11/17 13:09:31:560 SGT [DEBUG] RequestAddCookies - CookieSpec selected: bes
t-match
2016/11/17 13:09:31:581 SGT [DEBUG] RequestAuthCache - Auth cache not set in the
context
2016/11/17 13:09:31:584 SGT [DEBUG] RequestTargetAuthentication - Target auth st
ate: UNCHALLENGED
2016/11/17 13:09:31:590 SGT [DEBUG] RequestProxyAuthentication - Proxy auth stat
e: UNCHALLENGED
2016/11/17 13:09:31:592 SGT [DEBUG] DefaultHttpClient - Attempt 1 to execute req
uest
2016/11/17 13:09:31:597 SGT [DEBUG] DefaultClientConnection - Sending request: G
ET /nifi-api/controller/process-groups/root/process-group-references HTTP/1.1
2016/11/17 13:09:31:603 SGT [DEBUG] wire - >> "GET /nifi-api/controller/process-
groups/root/process-group-references HTTP/1.1[\r][\n]"
2016/11/17 13:09:31:609 SGT [DEBUG] wire - >> "Accept: /[\r][\n]"
2016/11/17 13:09:31:611 SGT [DEBUG] wire - >> "Host: <IP_ADDRESS>:9091[\r][\n]"
2016/11/17 13:09:31:613 SGT [DEBUG] wire - >> "Connection: Keep-Alive[\r][\n]"
2016/11/17 13:09:31:615 SGT [DEBUG] wire - >> "[\r][\n]"
2016/11/17 13:09:31:617 SGT [DEBUG] headers - >> GET /nifi-api/controller/proces
s-groups/root/process-group-references HTTP/1.1
2016/11/17 13:09:31:621 SGT [DEBUG] headers - >> Accept: /
2016/11/17 13:09:31:625 SGT [DEBUG] headers - >> Host: <IP_ADDRESS>:9091
2016/11/17 13:09:31:627 SGT [DEBUG] headers - >> Connection: Keep-Alive
2016/11/17 13:09:31:632 SGT [DEBUG] wire - << "HTTP/1.1 404 Not Found[\r][\n]"
2016/11/17 13:09:31:637 SGT [DEBUG] wire - << "Date: Thu, 17 Nov 2016 05:09:31 G
MT[\r][\n]"
2016/11/17 13:09:31:640 SGT [DEBUG] wire - << "Content-Type: text/plain[\r][\n]"
2016/11/17 13:09:31:644 SGT [DEBUG] wire - << "Transfer-Encoding: chunked[\r][\n
]"
2016/11/17 13:09:31:648 SGT [DEBUG] wire - << "Server: Jetty(9.3.9.v20160517)[\r
][\n]"
2016/11/17 13:09:31:652 SGT [DEBUG] wire - << "[\r][\n]"
2016/11/17 13:09:31:656 SGT [DEBUG] DefaultClientConnection - Receiving response
: HTTP/1.1 404 Not Found
2016/11/17 13:09:31:661 SGT [DEBUG] headers - << HTTP/1.1 404 Not Found
2016/11/17 13:09:31:663 SGT [DEBUG] headers - << Date: Thu, 17 Nov 2016 05:09:31
GMT
2016/11/17 13:09:31:667 SGT [DEBUG] headers - << Content-Type: text/plain
2016/11/17 13:09:31:669 SGT [DEBUG] headers - << Transfer-Encoding: chunked
2016/11/17 13:09:31:671 SGT [DEBUG] headers - << Server: Jetty(9.3.9.v20160517)
2016/11/17 13:09:31:681 SGT [DEBUG] DefaultHttpClient - Connection can be kept a
live indefinitely
2016/11/17 13:09:31:696 SGT [DEBUG] wire - << "2A[\r][\n]"
2016/11/17 13:09:31:697 SGT [DEBUG] wire - << "The specified resource could not
be found."
2016/11/17 13:09:31:701 SGT [DEBUG] wire - << "[\r][\n]"
2016/11/17 13:09:31:703 SGT [DEBUG] wire - << "0[\r][\n]"
2016/11/17 13:09:31:706 SGT [DEBUG] wire - << "[\r][\n]"
2016/11/17 13:09:31:709 SGT [DEBUG] BasicClientConnectionManager - Releasing con
nection org.apache.http.impl.conn.ManagedClientConnectionImpl@2fab4aff
2016/11/17 13:09:31:714 SGT [DEBUG] BasicClientConnectionManager - Connection ca
n be kept alive indefinitely
[ERROR] HTTP call failed. Status code: HTTP/1.1 404 Not Found: The specified res
ource could not be found.
Caught: java.lang.AssertionError: Terminated script execution. Expression: null
java.lang.AssertionError: Terminated script execution. Expression: null
at NiFiDeploy$_run_closure2.doCall(NiFiDeploy.groovy:575)
at groovyx.net.http.HTTPBuilder$1.handleResponse(HTTPBuilder.java:503)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:1070)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:1044)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:515)
at groovyx.net.http.RESTClient.get(RESTClient.java:119)
at groovyx.net.http.RESTClient$get.call(Unknown Source)
at NiFiDeploy.loadProcessGroups(NiFiDeploy.groovy:240)
at NiFiDeploy.run(NiFiDeploy.groovy:588)
nifi-deploy.txt
Regards,
Yih

OK just found out that it is not for NiFi 1.0.
Do you have 1 for 1.0 or I need to customize it?

I am also facing the same issue. Is this resolved?

I am using 1.1.2 version


python311Packages.publicsuffixlist: <IP_ADDRESS>30927 -> <IP_ADDRESS>31002

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.11 Release Notes (or backporting 23.05 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.

@OfBorg eval

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

10 packages built:

python310Packages.checkdmarc
python310Packages.checkdmarc.dist
python310Packages.publicsuffixlist
python310Packages.publicsuffixlist.dist
python311Packages.checkdmarc
python311Packages.checkdmarc.dist
python311Packages.publicsuffixlist
python311Packages.publicsuffixlist.dist
trustymail
trustymail.dist


Wrong line endings of multiple files checked in

Trying to build the project on a windows machine from a fresh clone of the main branch fails. The linter marks every line of the files in the frontend project to have an invalid character at the end of the line.
src\App.tsx
src\configureServices.ts
src\dependency-injection\ContainerBuilder.ts
src\dependency-injection\DependencyInjectionContext.ts
src\dependency-injection\useContainer.ts
src\dependency-injection\useService.ts
src\index.tsx
src\reportWebVitals.ts
src\services\RandomNumberGenerator.ts
src\services\RandomNumberGeneratorImpl.ts

The problem should be the line endings of the files to have CRLF line-endings intstead of LF line-endings. The files are checked in with these line-endings, so this will affect all clones of the main branch and related branches that contain these files.
The complete build output:
PS C:\Users\at\Source\Repos\AMOS\main\frontend> npm run build

><EMAIL_ADDRESS>build
> react-scripts build

Creating an optimized production build...
(node:16816) [ESLINT_PERSONAL_CONFIG_SUPPRESS] DeprecationWarning: '~/.eslintrc.*' config files have been deprecated.       C:\Users\at\AppData\Local\npm-cache\_logs\2021-05-04T15_55_06_807Z-debug.log

/CC @joluj


Update to AGP 3.0.0a8

Bump to Gradle 4.0-M1
Bump to AGP 3.0.0-alpha8
Update dependency configuration syntax
Tell Robolectric to include Android resources in tests
Update plugin usage of variant api

* What went wrong:
A problem occurred configuring project ':sample:library'.
> Failed to notify project evaluation listener.
   > com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;

This error happens locally as well.  It seems that :sample:library has a buildscript dependency on the previously published version of butterknife-gradle-plugin, which fails with 3.0.0-alpha8 due to a variant api change, so we have a 🐔 & 🥚.  Essentially, this build won't pass unless a new version of the plugin is published.
To test locally, I did the following:

In gradle/gradle-mvn-push.gradle, update urls to local repo

  repository(url: mavenLocal().url) {
  snapshotRepository(url: mavenLocal().url) {

Build and install updated plugin to local repository

  ./gradlew :butterknife-gradle-plugin:uploadArchives

In sample/library/build.gradle, add mavenLocal() to buildscript.repositories

  buildscript {
    repositories {
      ...
      mavenLocal()
    }
  }

Also, in sample/library/build.gradle, update plugin version to local SNAPSHOT

  dependencies {
    classpath "com.jakewharton:butterknife-gradle-plugin:SNAPSHOT"
  }

Finally, build and test

  ./gradlew :sample:app:build

Just disable the sample from settings.gradle
On Fri, Jul 28, 2017, 12:31 PM John Rodriguez<EMAIL_ADDRESS>wrote:

What went wrong:
A problem occurred configuring project ':sample:library'.

Failed to notify project evaluation listener.
com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;

This error happens locally as well. It seems that :sample:library has a
buildscript dependency on the previously published version of
butterknife-gradle-plugin, which fails with 3.0.0-alpha8 due to a variant
api change, so we have a 🐔 & 🥚. Essentially, this build won't pass
unless a new version of the plugin is published.
To test locally, I did the following:

In gradle/gradle-mvn-push.gradle, update urls to local repo

repository(url: mavenLocal().url) {
snapshotRepository(url: mavenLocal().url) {

Build and install updated plugin to local repository

./gradlew :butterknife-gradle-plugin:uploadArchives

In sample/library/build.gradle, add mavenLocal() to
buildscript.repositories

buildscript {
repositories {
...
mavenLocal()
}
}

Also, in sample/library/build.gradle, update plugin version to
local SNAPSHOT

dependencies {
classpath "com.jakewharton:butterknife-gradle-plugin:SNAPSHOT"
}

Finally, build and test

./gradlew :sample:app:build
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/pull/1026#issuecomment-318619108,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEYbW9kWMetaI5EryQlgkjEAxzls4ks5sSbh5gaJpZM4OmbKd
.

works for me.  updated.

@jrodbx this error is still occurring for me using butterknife 8.8.0 in one of our library projects. It's using alpha9.
* What went wrong:
A problem occurred configuring project ':mobile'.
> Could not resolve all dependencies for configuration ':mobile:kapt'.
   > A problem occurred configuring project ':player'.
      > Failed to notify project evaluation listener.
         > com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List

I've cleaned all caches and re-run. Is there something obvious I'm missing?

Use 9.0.0-SNAPSHOT
On Mon, Aug 7, 2017 at 6:18 PM Deniz Veli<EMAIL_ADDRESS>wrote:

@jrodbx https://github.com/jrodbx this error is still occurring for me
using butterknife 8.8.0 in one of our library projects. It's using alpha9.

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

Could not resolve all dependencies for configuration ':mobile:kapt'.
A problem occurred configuring project ':player'.
Failed to notify project evaluation listener.
com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List

I've cleaned all caches and re-run. Is there something obvious I'm missing?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/pull/1026#issuecomment-320822853,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEVSSecy3-7BPfrfV2D1eMKOERS3Wks5sV7dQgaJpZM4OmbKd
.

Could you update the snapshot to beta1? "Gradle sync failed: Could not find com.android.tools.build:gradle:3.0.0-alpha9."

That's an issue on your side unless Google removed alpha9 from their repo
(which seems unlikely).
On Thu, Aug 10, 2017, 5:23 AM Frank1234<EMAIL_ADDRESS>wrote:

Could you update the snapshot to beta1? "Gradle sync failed: Could not
find com.android.tools.build:gradle:3.0.0-alpha9."
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/pull/1026#issuecomment-321531933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEQidq-85c_-CsBIo-SQOQrL6ax5Jks5sWvFqgaJpZM4OmbKd
.

Just tested and 3.0.0-alpha9 is still available. @Frank1234 did you include google() in your buildscript.repositories?  That's a necessary step now if you happen to be migrating from 2.3.3 to 3.0.0*.

thanks @jrodbx, that's it

Thanks. I was looking into solutions earlier to use the plugin module
directly (buildSrc module, jar directly, snapshot, etc). The buildSrc
solution is the only one that solves it entirely, I might make a PR later.
On Aug 13, 2017 1:40 PM, "John Rodriguez"<EMAIL_ADDRESS>wrote:

@jrodbx commented on this pull request.
In settings.gradle
https://github.com/JakeWharton/butterknife/pull/1026#discussion_r132852710
:

@@ -5,7 +5,7 @@ include ':butterknife-gradle-plugin'
include ':butterknife-lint'
include ':butterknife-integration-test'

-include ':sample:app'
-include ':sample:library'
+//include ':sample:app'
yep. see #1026 (comment)
https://github.com/JakeWharton/butterknife/pull/1026#issuecomment-318657996
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/pull/1026#discussion_r132852710,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABqMSNrV__9jplvfKReQlg-NecueJlh4ks5sX19DgaJpZM4OmbKd
.

remove  apply plugin: 'com.jakewharton.butterknife' may be worked


1345 compatibility

Fixes #147
Fixes #148
Fixes #149
Fixes #150
Fixes #151

We really need to stop doing these giant PRs. I understand that it's frustrating to wait for a review and merge before you can really move on, but as a reviewer, it's difficult to do a good job and tease apart the reasons behind each change. This makes it tempting to glance through everything, decide it looks good and hit approve - then we end up with difficult bugs that no one understands.
What @travisturner has been doing with his recent refactoring work is to submit a PR for one logical change, and then continue working on another branch which is based off of the first PR's branch. This allows the implementer to keep working while code review is happening, and makes it easier for the reviewer to give timely feedback. The reviewer MUST give timely feedback, however in case there are significant changes which would affect the follow-on work. If you're not getting a timely review, ping your reviewer on github, slack, and in standup. Reviewer - if you don't have time, for whatever reason, re-assign the review to someone else ASAP.

@jaffee The changes are mostly cosmetical, like renaming frame to field. If it's easier to review, I can create one PR per commit.

I'll review this one - it is fairly digestible - sorry for the rant.

Thanks for the quick review. Hopefully the PRs that builds upon this one won't be as big.

I meant to finish it yesterday morning and got distracted!


Voyage AI: Implement Scoring Model

Implement VoyageAiScoringModel.
Documentation: https://docs.voyageai.com/docs/reranker
See CohereScoringModel as an example.

@langchain4j Hi! Could you please assign this issue to me?


Enable bulk toggling of ground truth annotations

Is your feature request related to a problem? If so, Please describe.
There may be ground truth or other kinds of associated data belonging to the same track type, etc. It is currently possible to group some activity types together and turn them on and off, but we also need a way to toggle the subtypes as a group as well. That is, "row-wise" toggling is already possible; we also want "column-wise" toggling.
Describe the solution you'd like
Some way to accomplish "column-wise" toggling.
Describe alternatives you've considered
A filter on activity name could be used, as long as the data encodes activity subtype in regex-compliant ways.

For the time being, we can solve this by adding a search bar to the track types listing, the results of which can be bulk-toggled with the master checkbox.


Duration

Great library :) Is is possible to set the duration programmatically?

Sorry, me getting mixed up ... just a matter of stopping and starting, I guess.


Upgrade yarn

https://github.com/lbryio/lbry-desktop/pull/7530 re pr to fix yarn lock

Thanks, sorry for the slowliness

no worries! thanks for doing the hard work


Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE

Removed the LE Audio specific definition and instead refer to the value defined by iso.h as it is ISO/Core that defines this size, and not BAP/Audio.

@Thalley please rebase


Is it still "Preview" ?

Azure Machine Learning service is GA now. So I think the title should be changed.
Title : "Tutorial: Deploy Azure Machine Learning as an IoT Edge module (preview)"

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

ID: ce5efb43-af55-95ea-cc6f-9597ace9b1b8
Version Independent ID: 94f8eff2-fc0d-af3c-5b41-944665674cfc
Content: Tutorial deploy Azure Machine Learning to a device - Azure IoT Edge
Content Source: articles/iot-edge/tutorial-deploy-machine-learning.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

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

Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@konabuta Whether the Azure Machine Learning service is GA doesn't necessarily affect whether Azure Machine Learning modules on IoT Edge are GA or not. It's a bit of a narrow distinction. But I'll verify the status and let you know. If it's true that they're still in preview, I will try and be more clear that we're the modules on an IoT Edge device, not the cloud service.

@kgremban  Thanks you. ML/DL model on Azure IoT Edge is very important ! Looking forward to your updates.


Handle bug for IE and Edge?

Hi everyone, we have a list of sortable list elements (li) with an image and a link inside (below the image) for deleting the image itself.
If I don't set the handle element everything works fine in Chrome and Firefox, but in IE and Edge the clickable link doesn't fire - apparently the sortable plugin is always fired first. So I specified the handle element as "img", the sortable continues to function correctly on Chrome ad FFX if I grab the image element but in IE11 it doesn't work as expected, the sorting works but the placeholder doesn't work (apparently it seems to not work at all but it sorts eventually) and in Edge the sorting doesn't work at all.
Does anyone knows if there is a problem with IE/Edge using the "handle" option?

Hey,
I know that IE/Edge have some issues with this.
The issue with links is know and should be added to the readme under issues and limitations.
Can you please try to specify a div or li or span as a handle and verify that it still works.

Hey @obiwanwrc did you have any luck with verifying if it works with a li or div?

Closed due to inactivity.


Add Key Rotation for File Name Encryption

By encrypting Directory IDs with a file encryption key derived from the latestSeed, key rotation effectively applies to newly added directories as well.
A user in possession of the old key can not decrypt the directory ID, therefore he can't feed it into SIV as AD and is unable to decrypt file names of children of this new directory.
New members added to existing directories will still use the old key, though.

Just wondering if firstSeed is the best name. How about initialSeed? Because I noticed that the word "initial" was used in the description. 😄

Had the same thought, let's just do it.


How to get the header parameters of users who connect/send messages

I need to get the header parameters of users connection when the user connect and send messages to server..  how can I do that

$conn->WebSocket->request->getHeaders();


Image without openjdk (jlink)

Are there intentions providing (additional) openjdk runtime images with only the entrypoint scripts, without openjdk, for projects which "build" their own/custom openjdk using jlink?
I suppose it likely is already possible by removing the current openjdk from the image and adding the jlink openjdk, but that would increase transferred layer data unnecessarily.

Hi, we (OpenJDK) have no plans to produce an image without OpenJDK in it. But I am open to ideas for alternative ways to package or distribute the run script.


Create new UI test for order of execution of work item

@ldimaggi , did you assign it to me :) , By any chance !!

Completeed as far as Protractor supports - in workitem list view.


Widen the type of MatchQueryFieldConfig

Solves #338

Nice, thank you for this! I've merged and released as v0.12.0 🎉


add reason for change summary fields to work record

@yetti @jrixon @josephcurtis @sjacob @ninhnguyen

SonarQube analysis reported 6 issues

 Work.java#L304: Document this public method.
 Work.java#L307: Document this public method.
 Work.java#L316: Document this public method.
 Work.java#L319: Document this public method.
 Work.java#L328: Document this public method.
 Work.java#L331: Document this public method.

Build finished.


May some bug on oj.Parse

When I parse an incomplete json like {"time":"2021-08-16 12:12:15","a":"5","b":"5" by oj.Parse  it return a nil result and a nil error.

Looking into it now.

Please try the no-error-on-not-closed branch. I've got a few print statements in there trying to get back to 100% coverage so it might take a couple of days to get the release out.

Released v1.13.1

Released v1.13.1

great


OpenAIError Error communicating with OpenAI

Hello, I kept receive this issue.

Hi look like this is a problem with your open ai setup.
Please check the openai repo for this.

So I checkout the https://github.com/openai/openai-quickstart-python.git repo to try using OpenAi server and "text-Davinci-03". And the result is surprisingly good. Look at the pic below. You can see, I can receive a response from OpenAI successfully, it fails only when I use your repo.


Use this package more generally?

This package started with https://github.com/jump-dev/JuMP.jl/issues/2227. Its goal is to be the official extension to MOI for constraint programming. It is now in a useable state, and allows to wrap most of the CPLEX CP Optimizer solver: it should be relatively stable, except for new features (unlike the first versions, which broke compatibility every now and then).
In the Julia ecosystem, there are two other packages for constraint programming, but they focus on solving problems: https://github.com/Wikunia/ConstraintSolver.jl and https://github.com/JuliaConstraints. For now, these packages have different MOI sets to represent the same constraints. The goal of the present package is to provide these MOI sets, so that users can easily switch from one solver to another (and to ease writing new solvers/wrappers for existing solvers). It may be integrated into MOI in the future.
I mapped the constraints supported in each package to those in CP: ConstraintSolver.jl and JuliaConstraints.
@Wikunia @Azzaare Is there anything missing in this package? Would you have designed things differently? Would you be ready to use this package as a dependency for your own solvers (instead of your custom sets), until it migrates into MOI?

Hi @dourouc05
Sorry, I have been quite busy, so I will try an extensive answer later.
The answer is yes on principle, even though I would need to check the exact implications (for instance are the involved packages all registered etc).
We have a Constraint Programming stream on julia's Zulip btw.
There is also an incoming new CP solver in Julia called SeaPearl.jl. one of the author is also on Zulip.
Talk to you soon (we can schedule an online meeting to make things smoother too).

Hi @dourouc05
thanks for the package!
I have one question by skimming through it. Do you support x in AllDifferent() or just x in AllDifferent(5) so does one need to fill in the dimension as a user?

@Azzaare Regarding dependencies, this package only depends on MOI, and it is also registered. (Unlike CPLEXCP, a wrapper for CPLEX CP Optimizer, which has heavier dependencies…)
Thanks for pointing at Zulip, I didn't know it existed! (And I now subscribed, of course!)
For meeting, we could have a BoF or equivalent at JuliaCon or the next JuMP workshop?
@Wikunia MOI forces you to implement MOI.dimension, so that the dimension must be stored in the set, like Zeros or Nonnegatives (although I don't know the whole set of consequences if you don't). At the very least, I'm using it in some sets like reification or conditions in order to parse the set of variables (e.g., for reification, the first variable is a binary and the rest is the constraint being reified). If there is no dimension, then it's not possible to parse things like conditions (if AllDifferent(4) then AllDifferent(3) else AllDifferent(2), for instance).

Thanks @dourouc05
If it registered I am fine with it. We were considering BoF, but we have little time left to submit ... I will try to have a better look at BoF submissions. It should not be too complicated.
As for the dimension related thing, there is a workaround that was given to me on JuMP-dev (@odow I think), which allows us to skip the dimension in JuMP syntax (but not in MOI). For my solver, providing the dimension is just extra noise.
What about making the dimension optional?

At the MOI level, you should explicitly state the dimension. We can make nicer syntax at the JuMP level
https://github.com/jump-dev/JuMP.jl/blob/3ba8d43527534492e904e79cc74732e5e265441c/src/sets.jl#L15-L39

Hi there!
I think I more or less completed the basic interface I wanted with JuMP. I think the solver framework in JuliaConstraints is ready to step forward with ConstraintProgrammingExtensions.jl and more.
All my code interfacing MOI (and JuMP) is in https://github.com/JuliaConstraints/CBLS.jl
Also, there is a new kid in town with https://github.com/corail-research/SeaPearl.jl
It seems they have a JuMP interface too.
It seems we have some critical mass. Should we try to have some meeting?


Adding quotes for datacenter field

Issue #, if available: #3381
Description of changes:
Added quotes to the spec.template.spec.datacenter value in VSphereMachineTemplate to ensure that the value type is always a string.
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

uugn, I could see one or two test failures, but way too many dependencies on that.

This is a great find, thank you for sharing this! Now my question is, should we do this for the other string values in this file as well if they can support only integers as well?

As far as I can see, other values cannot be integers in this file, because they will either initially be a string, or are the result of concatenating other strings (for example, datastore)

This is a great find, thank you for sharing this! Now my question is, should we do this for the other string values in this file as well if they can support only integers as well?

As far as I can see, other values cannot be integers in this file, because they will either initially be a string, or are the result of concatenating other strings (for example, datastore)

Good point, I think these changes are good then!

@adonskoy Can you rebase the changes in your branch and add this change to the expected_results_minimal_autoscaling_md.yaml file in the vsphere package as well? Seems to be a new test file

/cherry-pick release-0.11

@adonskoy Thank you so much for your contribution!


faulty visualization of triplets (see screenshot)

see above triplet at the end of stave

see #66

increased canvas height and centered stave vertical


Allow custom color scheme

It should be possible to override the default color scheme defined in lib/reporters/base.js
The comment for the color function says this is possible:
/**
 * Color `str` with the given `type`,
 * allowing colors to be disabled,
 * as well as user-defined color
 * schemes.
 *
 */

var color = exports.color = function(type, str) {
  if (!exports.useColors) return str;
  return '\u001b[' + exports.colors[type] + 'm' + str + '\u001b[0m';
};

, but I haven't found a way to override the default colors (The types that are displayed in 90 are invisible on the Solarized Dark terminal theme).

+1.  on my black terminal I find the specific shade of red used for errors very hard to read and would like to be able to change it

incidentally, I changed the colour choices in lib/reporters/base.js but it didn't have any effect on the output so maybe there's some other location where this can be changed

it's a pity to have to turn colours off but how would I do it? my tests are run from a Gruntfile.js via mocha-phantomjs and I have an entry like this:
grunt.initConfig({
  mochaTest: {
    mocha_phantomjs: {
	all: ['tests/browser/*.html']
    }

@ekkis that's a question for whatever grunt plugin you're using, but the option in mocha is --no-colors

Still not fixed? I can't see mine at all, it's all black on black. :(

Several solutions for solarized have been proposed in #802 but rejected as "not my problem" by mocha developers. Support of customizing colors with a config file would not change the default but allow users to decide.

We could expend resources adding custom color support, OR the users with this problem could modify their terminal, which likely already has custom color support.

Solarized is a very common terminal theme and I'm sure this problem affects more than just the people on this thread.
The "not my problem" attitude alienates a community that wants to help out with maintenance and improvements. A little empathy goes a long way.

The "not my problem" attitude alienates a community that wants to help out with maintenance and improvements. A little empathy goes a long way.

I can't begin to tell you how profoundly mistaken you are.  So I won't; instead, I'll lock this issue so I don't forget I shouldn't.


Create table like existing not supported

Snowflake supports creating a table based on an existing table via LIKE
CREATE OR REPLACE TEMP TABLE new_table LIKE existing_table

Since this is not supported in duckdb, sqlglot does not transpile it. Maybe fakesnow should at least create better error messages in such cases?

While looking for workarounds I realised that can be done in duckdb via the create table syntax:
CREATE TABLE t1 AS FROM t2 LIMIT 0;

But then again I am not sure if this would be better placed as an sqlglot issue?

fixed in https://github.com/tobymao/sqlglot/issues/2922
would it be an option to not pin the version of sqlglot?

Great to see this fixed in sqlglot.
sqlglot major versions aren't backwards compatible and can and have broken fakesnow in the past (example). So I keep it pinned to ensure fakesnow is compatible.

sqlglot was bumped to 21.0.1 in e7c6c6e2b8571b047a225810571661179c5a3ec7 and released by #36


Using 'common-voice-small' example setup with larger dataset results in seg fault (core dumped) error

Hi, thanks for creating such a well documented project! I'm part of a university student group using this to train a model on (we hope) 20-30 languages commonly found in Australia. Your explanations in the examples section were incredibly useful, especially since none of us have any experience in this area. Please excuse any ignorance in the following questions.
We received the below warnings when running the project using the same datasets and code as your 'common-voice-small' example, but these didn't prevent model training from completing. Now that we're increasing the size of our dataset to include additional languages (totaling ~12gb audio), we're hitting predictable seg faults when caching the dataset or during model training. We're guessing that the issues stem from the CUDA version installed on the university machines, which is something we have no control over. We're wondering if you've encountered these issues using Lidbox, and/or if you have advice on circumventing them.
This is running on Ubuntu 20.4.06 LTS with a NVIDIA A40 w/ 45gb RAM.
Memory leak in CUDA11.x
The below warning appears when either caching the dataset or - if we omit caching - when model training begins. Using nvidia-smi to monitor GPU memory usage shows that usage gradually increases until it reaches capacity, upon when the program seg faults. So it certainly seems that the issue is caused by the cuFFT plan creation memory leak.
tensorflow/core/kernels/fft_ops.cc:472] The CUDA FFT plan cache capacity of 512 has been exceeded. This may lead to extra time being spent constantly creating new plans. For CUDA 11.x, there is also a memory leak in cuFFT  plan creation which may cause GPU memory usage to slowly increase.  If this causes an issue, try modifying your fft parameters to increase cache hits, or build TensorFlow with CUDA 10.x or 12.x, or use explicit device placement to run frequently-changing FFTs on CPU.
The seg fault during caching:

If we omit pre-caching the dataset, we proceed to training and see the above warning along with the following warning:
The calling iterator did not fully read the dataset being cached. In order to avoid unexpected truncation of the dataset, the partially cached contents of the dataset will be discarded. This can happen if you have an input pipeline similar to dataset.cache().take(k).repeat(). You should use dataset.take(k).cache().repeat() instead.
My assumption is that this second error simply increases training time because it would affect access speed rather than the number of FFTs being executed. Is that the case?
Do you have any advice about how to modify our usage of Lidbox in order to minimise the effect of this memory leak? Until we resolve the seg fault issue we are running training on CPU, which works but is incredibly slow.
Thank you for your time,
Toby

Thank you for the detailed report. The cuFFT memory leak error seems vaguely familiar but I unfortunately cannot remember the context in which it happened. I haven't ran the examples in years... Below are some comments in any case.
Are you using the latest Tensorflow version? I ran these examples with either TF 2.1 or 2.2, maybe you could try one of these older versions.
If I were debugging the cuFFT plan creation warning, first thing I'd do is verify the inputs of the FFT are of constant shape (no Nones in the tensor shapes). E.g. looping over the dataset with dataset.as_numpy_iterator() and just printing the shape of each tensor. Maybe there's some shape inference weirdness in the newer Tensorflow versions. If the FFT inputs are not of constant shape, maybe Tensorflow cannot reuse the cuFFT plans.
You could also run FFTs on the CPU but training on the GPU. It will take a bit longer but definitely not as long as training on the CPU. The Tensorflow dataset caches are very useful here and is the reason they are used in the lidbox examples. You can extract all features on a CPU and add a cache step after that, then exhaust the dataset iterator to create a large binary file on disk containing all extracted features.

Thank you very much for your prompt advice regarding a relatively old project of yours. Please forgive this slow response!
The inputs to the FFT were of constant shape, so we opted to shift the FFTs to CPU as you suggested. No issues thus far, and certainly worth the mild performance hit.
Many thanks.


Question: Would you like notification integration on KDE integrated into the calcure?

Hi, aufrievroman,
Thank you for your great application, this is the exact same thing I would like to do. I would like to ask if you need some integration of KDE notifications for the events on the calendar to be published on time when using calcure? This would be not so universal and I think making a standard interface and maybe someone else using a different desktop environment might have their own notification later.
Also, for me it is interesting to use natural language to arrange event, setup today's calendar automatically (all the stuffs that can use AI to help with managing your day)
I haven't looked into the detail of the project but I think this is a great project to work on, and I would like to know if you think such feature aligns with your view of the roadmap of calcure. If that is the case, then I'm happy to contribute to the project

Hi, thanks for your interest!
Basically, now the events don't really have "time" when they occur, they only have day, and time just displayed as text. So, there is nothing to really create notification for. I think maybe in the future we'll fully switch to .ics files and will support all the time fields, then we may think about desktop notifications...
About ai and arranging events, could you give an example how it may work?
Also, initially, the project was meant as more of a "minimalist's" calendar, assuming the user have only a few events per day. I doubt this app is really suitable for really busy people with many events every day and a need to be notified about it and use ai to sort it. I guess just because of the TUI nature of the app, it's hard to pack a lot in to this form factor.
On the other hand, I am currently thinking about ways to filter (or maybe sort too) events and tasks according to some marker, like show only important, for example. In this regard, I think it would be cool to be able to type like "show only events related to school" and then AI can figure out which once are those. But I am not sure if this feature is worse constant internet connection and all the privacy implications. Do you think things like that can work offline with a small local AI?


[Suggestion] Rework Range enchantment

Currently, the Range enchantment is useless on any item that isn't the Travel Staff, unless they specifically have the Teleportation enchantment. That means it kinds of "pollutes" the enchantment pool as sometimes you get some Range when enchanting/getting loot but since you don't have Teleportation at the same time it's essentially useless.
Since Teleportation only got 1 level, I suggest instead of having Teleportation and Range, just have Teleportation have multiple levels, with higher levels increasing range. Like Teleportation I = old Teleportation, Teleportation II = old Teleportation + Range I and so on.
While that would prevent upgrading the range on the Travel Staff itself, maybe Range can be kept but make it only applicable on the Travel Staff (and have it unable to receive Teleportation).

Not sure if this is a bug or intended but travel staff cannot be enchanted directly with the enchantment table.
Version 2.1

Range can now only be enchanted to tools when they already have teleportation. So you need boks.


Fix change char(0) to char(1), varchar(0) to varchar(65533) when create table

Proposed changes
Issue Number: close #xxx

run buildall

run p0

https://github.com/apache/doris/pull/38427

run cloud_p0

run p1


Pehkui compat fixes & cleanup

Adds third person and block reach scale getters to PehkuiInvoker which use the methods that take the tickDelta and scale modifiers into account instead of using the base scale.
Moves try catch blocks closer to Pehkui calls.
Cleans up some duplicated code in the client/server side scaling methods.

Well, I think that this makes the compatibility more complex and fragile. ImmPtl may someday use other APIs from Pehkui (for example force synchronize the scale). And PehkuiInterface is deemed to be ImmPtl's thing, I may someday move that class to qouteall.imm_ptl.core.compat package.
I think that a try catch should be enough to avoid the crash.

That's fair. I'll adjust these PRs to just have the fixes and cleanup later today or tomorrow.

Is the PR finished?

Yes, this and the other two should now be ready.


Is this project active?

Hi all.
I want to help, but I want to know if this project is active. Is this project active?

Hi @codehangen. There is a thread post on reddit about this game: https://www.reddit.com/r/NarutoArena/comments/gtkhtu/narutoarena_github_contributors/
The current repository is not official.


TypeError: cb is not a function

🐛 Bug Report
login by username and cookie
To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Extension Output
login: cookie: /Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:555
    return cb('invalid cookie?');
           ^

TypeError: cb is not a function
    at parseCookie (/Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:555:12)
    at Plugin.plugin.cookieLogin (/Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:578:22)
    at /Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/vsc-leetcode-cli/lib/commands/user.js:119:12
    at /Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/prompt/lib/prompt.js:336:32
    at /Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/utile/node_modules/async/lib/async.js:154:25
    at assembler (/Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/prompt/lib/prompt.js:333:9)
    at /Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/prompt/lib/prompt.js:342:32
    at /Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/prompt/lib/prompt.js:625:5
    at Interface.onLine (/Users/otis.z/.vscode/extensions/shengchen.vscode-leetcode-0.16.1/node_modules/read/lib/read.js:111:5)
    at Interface.emit (events.js:198:13)

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.
Your Environment

os: MacOS 10.15
extension settings:

"leetcode.nodePath": "/usr/local/bin/node"
"leetcode.endpoint": "leetcode-cn"
"leetcode.defaultLanguage": "java"

nodejs version: v10.16.0
vscode version: 1.42
extension version:  0.16.1

for anyone having this problem, until it fixed, here is a workaround...
Terminal:
# Get leetcode CLI tools
npm install -g skygragon/leetcode-cli

# Create and open user.json file
cd ~/.lc/leetcode/user.json && code user.json

user.json:
// Enter login credentials to user.json
// From browser, login to leetcode, then Dev tools -> Application -> Cookies
// You would need LEETCODE_SESSION and csrftoken
{
    "login": "",       //username
    "sessionCSRF": "", //paste "csrftoken"
    "sessionId": "",   //paste "LEETCODE_SESSION"
}

Restart vscode, and you should be logged in.

for anyone having this problem, until it fixed, here is a workaround...
Terminal:
# Get leetcode CLI tools
npm install -g skygragon/leetcode-cli

# Create and open user.json file
cd ~/.lc/leetcode/user.json && code user.json

user.json:
// Enter login credentials to user.json
// From browser, login to leetcode, then Dev tools -> Application -> Cookies
// You would need LEETCODE_SESSION and csrftoken
{
    "login": "",       //username
    "sessionCSRF": "", //paste "csrftoken"
    "sessionId": "",   //paste "LEETCODE_SESSION"
}

Restart vscode, and you should be logged in.

I tried but it didn't work  for me

for anyone having this problem, until it fixed, here is a workaround...
Terminal:
# Get leetcode CLI tools
npm install -g skygragon/leetcode-cli

# Create and open user.json file
cd ~/.lc/leetcode/user.json && code user.json

user.json:
// Enter login credentials to user.json
// From browser, login to leetcode, then Dev tools -> Application -> Cookies
// You would need LEETCODE_SESSION and csrftoken
{
    "login": "",       //username
    "sessionCSRF": "", //paste "csrftoken"
    "sessionId": "",   //paste "LEETCODE_SESSION"
}

Restart vscode, and you should be logged in.

Work for me, thanks!

for anyone having this problem, until it fixed, here is a workaround...
Terminal:
# Get leetcode CLI tools
npm install -g skygragon/leetcode-cli

# Create and open user.json file
cd ~/.lc/leetcode/user.json && code user.json

user.json:
// Enter login credentials to user.json
// From browser, login to leetcode, then Dev tools -> Application -> Cookies
// You would need LEETCODE_SESSION and csrftoken
{
    "login": "",       //username
    "sessionCSRF": "", //paste "csrftoken"
    "sessionId": "",   //paste "LEETCODE_SESSION"
}

Restart vscode, and you should be logged in.

Thanks! It work.

thanks

@BatuhanKorur  Thanks a lot!

for anyone having this problem, until it fixed, here is a workaround...
Terminal:
# Get leetcode CLI tools
npm install -g skygragon/leetcode-cli

# Create and open user.json file
cd ~/.lc/leetcode/user.json && code user.json

user.json:
// Enter login credentials to user.json
// From browser, login to leetcode, then Dev tools -> Application -> Cookies
// You would need LEETCODE_SESSION and csrftoken
{
    "login": "",       //username
    "sessionCSRF": "", //paste "csrftoken"
    "sessionId": "",   //paste "LEETCODE_SESSION"
}

Restart vscode, and you should be logged in.

c:\Users\lxcx.vscode\extensions\leetcode.vscode-leetcode-0.17.0\node_modules\vsc-leetcode-cli\lib\commands\user.js:146
"login"<EMAIL_ADDRESS>      //username
^
SyntaxError: Unexpected token ':'
at wrapSafe (internal/modules/cjs/loader.js:1053:16)
at Module._compile (internal/modules/cjs/loader.js:1101:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at Object.require (internal/modules/cjs/helpers.js:72:18)
at c:\Users\lxcx.vscode\extensions\leetcode.vscode-leetcode-0.17.0\node_modules\require-directory\index.js:76:17
at Array.forEach ()
at requireDirectory (c:\Users\lxcx.vscode\extensions\leetcode.vscode-leetcode-0.17.0\node_modules\require-directory\index.js:59:24)
I can't understand this question...:(

code ~/.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js

sessionId is cookie.LEETCODE_SESSION in devtools application panel.
sessionCSRF is cookie.csrftoken  in devtools application panel.
find line 541, follow above step. Restart, login success!

code ~/.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js

sessionId is cookie.LEETCODE_SESSION in devtools application panel. sessionCSRF is cookie.csrftoken in devtools application panel.
find line 541, follow above step. Restart, login success!

it works, obviously. but it feels too weird to have to resort to such measures...

code ~/.vscode/extensions/leetcode.vscode-leetcode-0.18.1/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js

sessionId is cookie.LEETCODE_SESSION in devtools application panel. sessionCSRF is cookie.csrftoken in devtools application panel.
find line 541, follow above step. Restart, login success!

It works, Thank you!

The actual reason is that leetcode is not sending LEETCODE_SESSION and sessionCSRF in all the HTTP requests. It is only included in the graphql requests.
Using the cookie from https://leetcode.com/graphql/ request would work without changing anything in the plugin.

The actual reason is that leetcode is not sending LEETCODE_SESSION and sessionCSRF in all the HTTP requests. It is only included in the graphql requests.
Using the cookie from https://leetcode.com/graphql/ request would work without changing anything in the plugin.

It works for me, Thank you!


Mention VS Code support for requirements.txt syntax highlighting

See https://github.com/jazzband/pip-tools/pull/772.

PR #772 merged, thanks 👍


added request_id to message for client testing

@grunch @bilthon ,
added an u64 named request_id in messages of mostro-core to evaluate the delay noticed in client interfaces.
pub struct MessageKind {
    /// Message version
    pub version: u8,
    /// Request_id for test on client
    pub request_id: u64,
    /// Message id is not mandatory
    #[serde(skip_serializing_if = "Option::is_none")]
    pub id: Option<Uuid>,
    /// Action to be taken
    pub action: Action,
    /// Message content
    pub content: Option<Content>,
}

uhhh meged in main? We will keep this in the main mostro trunk?


Task - Browse Collection Objects - new facet, search by User metadata/date range

Same approach as #216.

New scopes belong with user housekeeping
Limit select box to a single user for now (sessions_current_project.users)
Radio buttons toggle the field to search against
Date fields are standard HTML selectors, nothing special! https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date

Select User by name (is there an example of user_by_name?), or by email address (as in Add Project member)?

Don't think there is a user by name select existing already, probably useful to make a helper in users.  Pass it an array of users, get a select.  Should be easy to do with Rails select helper as well.
 User.where("name ILIKE 'Matt%'").

New class methods of User:

get_user_id(user) to get one specific user, requires exact match if string is used (name or email)
get_user_ids(user, user, user, ...) to get array of Ids, uses partial string match (name or email)


Import class with path alias failed

Hi, first of all thanks for creating such awesome library. I'm in the middle of trying OvernightJS and having problem trying to import a class into my controller, got an error saying :

UserController :

CompanyModelClass :

tsconfig :

package.json :

Somehow when I changed the import to '../models/company' and it works. Also importing '@Models/firebase' works fine too.
I'm quite new to typescript, sry if this question isn't related to OvernightJS itself.
Thanks and appreciate a lot!

The issue solved when added tsconfig-paths into run scripts :
"dev": "nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec 'ts-node' -r tsconfig-paths/register src/index.ts"


Single representation file is of shape L x 256

Hi,
The shape of my single representation file is L x 256, and I don't know how to linear transform (?) it into the L x 384 shape required by GraphSite.

The single representation of AF2 monomer should be L * 384 inherently. Maybe you could provide more details about how you get this representation file?

I am using ColabFold and converting the L x 384 to L X 256 post hoc.

I have used the original standalone version of AF 2.1.2 from their GitHub to develop GraphSite. I am not sure if ColabFold sticks to the original AF2.


Jobs 4.10.0 StripLogs action throws exceptions

With the latest build running on Waterfall build 253 (1.13.2) / PaperSpigot 1.13.2 (Build 515), I made the changes to the STRIPPED_****_LOGS to use an action of StripLogs for both the Quests and the job actions.
The result on startup was the exception here:
jobsfailed.txt
For the Woodcutter job, I have added this section for the Stripped_Logs.

Similarly in the Quests section of the Woodcutter job, I have added the same actions.

Have both parts of the jobConfig been updated or just one of them?

just updated my other servers without changing the jobConfig file as I did above and still getting the same exception - so there appears to be something wrong with the build with PaperSpigot?

There is no problem with your server software and StripLogs has already been supported in Quest.
https://github.com/Zrips/Jobs/commit/cee99ce8509370e04d347ccc00a7549e42a1bb3c

I don't understand what you you referenced. As stated, this is not just a Quest reference I made, but the Jobs details section with Place, Break, etc.  So is there a fix for this or am I doing something wrong?

What I have referred to is the patch that you have sent an error. StripLogs is only required for the action string as an example in the quest or action section. And if the problem is that you create two quests and the action is similar to StripLogs, will the plugin throws an exception?

sorry @montlikadani - that's more confusing.  Please take a look at what I posted above there are Quests for Woodcutter for stripping of each logs and there is a StripLogs: action section of Woodcutter job that pays for stripping of the logs.  The two are different, but both actions are StripLogs.

As I said when we add an action, the action can already be used for quests and action sessions automatically. Now I look at the 14th quest name repetitive so it gets caught up in the quest command, so change it to another. Actions may be similar to quest, but names are not.

13 and 14 are not repetitive by name.  One is OAK and the other is DARK OAK.  I have 6 Quests where each cover all 6 different logs (birch, oak, dark oak, jungle, acacia, spruce).
Or are you saying that quests cannot have more than one Action of StripLogs in a given job, meaning I can only use Action: StripLogs in one Quest but not in multiple quests for the same job name?

No, sorry. I'm confused.
Now I look at you not having the problem with the quest, but there was an NPE in JobsItems that caused the plugin when load. That's what I referred to, this fixed.