How to accumulate Target protein's amino acid sequence (t) and drug's SMILES strings (d)

I am novice in DTI research. I want to know how to get : an array of drug's SMILES strings (d), an array of target protein's amino acid sequence (t) . In order to learn "Tutorial_1_DTI_Prediction"
Suppose I have found the following using DrugBank data:
Drug ID Target ID   Score
DB08604 P0AEK4 0.931528
DB07181 P0AEK4 0.931504
DB08642 P16184 0.931335
DB03233 P0A884 0.931334
DB07411 P0AEK4 0.931313
DB07209 P27338 0.931300
DB03072 P0AEK4 0.931230
DB02727 Q9Y296 0.931186
DB06840 Q9Y296 0.931151
DB07972 P0AEK4 0.931095
DB08700 P0AEK4 0.931029
DB07647 P0AEK4 0.931003
DB01861 P96945 0.930968
...........................................
............................................
Questions:
1.How to get target protein's amino acid sequence (t) for large no of Target ID
2.How to get drug's SMILES strings for the large no of Drug IDs

Hi @mislam5285,
For proteins,
You can use this tool to get the sequence from the ID: https://www.uniprot.org/uploadlists/
Then you can write a simple python script to replace the IDs in the example you gave to the corresponding sequences
For drugs,
if you have downloaded the drugbank database in sdf format, you can convert it to smiles using OpenBabel (either the whole database or the drugs that correspond to the DB IDs using python script).
Then using a similar script to the first one you can replace the DB IDs
I hope that helps

Hi @mislam5285,
For proteins,
You can use this tool to get the sequence from the ID: https://www.uniprot.org/uploadlists/
Then you can write a simple python script to replace the IDs in the example you gave to the corresponding sequences
For drugs,
if you have downloaded the drugbank database in sdf format, you can convert it to smiles using OpenBabel (either the whole database or the drugs that correspond to the DB IDs using python script).
Then using a similar script to the first one you can replace the DB IDs
I hope that helps

Thank you Sir.

Thanks @hima111997, in addition, you can find here for pythonic way to retrieve uniprot sequence. However, this is relatively slow, thus, for large batch of queries, please visit https://www.uniprot.org/uploadlists/

Thanks @hima111997, in addition, you can find here for pythonic way to retrieve uniprot sequence. However, this is relatively slow, thus, for large batch of queries, please visit https://www.uniprot.org/uploadlists/

Thank you Sir

Are there any methods to change protein sequences to protein names? Because I want to modify KIBA dataset. I want to add some proteins to the dataset, so I want to know if the new proteins are already in the KIBA dataset. But if I use the protein sequence to compare proteins, it will be difficult.

Are there any methods to change protein sequences to protein names? Because I want to modify KIBA dataset. I want to add some proteins to the dataset, so I want to know if the new proteins are already in the KIBA dataset. But if I use the protein sequence to compare proteins, it will be difficult.

Dear Sir,
I don't know how to change protein sequences to protein names for KIBA
dataset. I have one mapping for drugbank DB that I computed for my work. I
am attaching that file and it may or may not help you.
On Mon, Jan 4, 2021 at 7:08 AM xuzhang5788<EMAIL_ADDRESS>wrote:

Are there any methods to change protein sequences to protein names?
Because I want to modify KIBA dataset. I want to add some proteins to the
dataset, so I want to know if the new proteins are already in the KIBA
dataset. But if I use the protein sequence to compare proteins, it will be
difficult.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kexinhuang12345/DeepPurpose/issues/51#issuecomment-753715233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGFHFTUPFTUFIYG67VDO3TLSYELZTANCNFSM4UC22EPQ
.

Dear Sir,
I don't know how to change protein sequences to protein names for KIBA
dataset. I have one mapping for drugbank DB that I computed for my work. I
am attaching that file and it may or may not help you.
On Mon, Jan 4, 2021 at 7:08 AM xuzhang5788<EMAIL_ADDRESS>wrote:

Are there any methods to change protein sequences to protein names?
Because I want to modify KIBA dataset. I want to add some proteins to the
dataset, so I want to know if the new proteins are already in the KIBA
dataset. But if I use the protein sequence to compare proteins, it will be
difficult.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kexinhuang12345/DeepPurpose/issues/51#issuecomment-753715233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGFHFTUPFTUFIYG67VDO3TLSYELZTANCNFSM4UC22EPQ
.


Ensure that options are forwarded from cy.nodeHtmlLabel to cyNodeHtmlLabel. Fixes gh-46

Awesome, thanks!


detection for foobar in enabled apps

the mobile version of the classic windows music player
https://play.google.com/store/apps/details?id=com.foobar2000.foobar2000
http://mobile.foobar2000.com

It already supports it I believe?

sorry, new to github, i just found the closed issues, and saw the previous foobar request, where i could see that foobar is detected as the default player (which i have previously disabled, it caused complications) - would it perhaps be possible to get it detected as foobar? for me it's fine now, just to avoid further confusion

The app is used under "Android Music Player(s)"

on my xperia m it shows as "Sony Ericsson Music Player"

You can try this newer version if you like... app-debug.zip
Warning it may have bugs.
foobar needs to add "package"="com.foobar2000.foobar2000" in the broadcast for this to work.
I don't have a Sony phone but I will try to get it on my phone and test it.

using the debug version, it does indeed appear as "android music player", although it also says the app is not installed. still, scrobbling works.

Few people use the original Android Music Player. SLS detects if the package is installed.


CB-21417 hadoop-aws native openssl mode breaks on DE datahub in govcloud-int

Disable openssl for AWS GOV also
See detailed description in the commit message.

Closing this in favor of #14667 (2.70) and #14669 (master / 2.71).


Secrets as URLs

Issue type
[x] Feature request
[ ] Bug report
[ ] Documentation

Environment

Python version:
NetBox version:   2.1.2

Description
I am curious if it would be possible to add URLs where they are automatically linked when you unlock a secret that has a URL in it?
The reasoning behind this is, as more teams get access, since there is not a mechanism in place to prevent basic read on device info, storing links to configuration backups, Cisco Prime Infrastruture REST API (by device), etc, is not something that we want "publicly" visible. As a side note, you are required to login just to even view data in NetBox but as an added layer of protection, we want to lock down links to external data/repositories/etc that are specific to the device.

You wouldn't store an entire URL as secret data, only the relevant login credentials or other sensitive bits.

We are storing the URL, it contains all the pertinent info in it and directly loads to a new page.

The other things we are storing are management related URLs where there is custom ports, URI paths, etc.


podman: Add Type and PIDFile value to unit files

This changes the way we are running the podman containers via systemd.
They are now in dettached mode and Type/PIDFile set.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1834974
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

jenkins test centos-container-update

jenkins test centos-container-update


Release 2.1.3

#362
#424
#430
#432
#437

Dropped #439 from this release since it's still under discussion. We can do a small follow up release with #439 once it's resolved.


Post stats back to the server

Etherpad has a stats method available, it also has the ability to push error msgs back to the server.
We should grab ep_webrtc errors (with the plugin), post them to the server and then include them in the stats results.
See https://video.etherpad.com/metrics for how to see stats as graphis
See https://video.etherpad.com/stats for how to see stats
Afaik we would just $.post the error back to a newly exposed endpoint then write the values with.
  stats.meter('ep_webrtc_SOME_ERROR').mark();

https://www.npmjs.com/package/measured-core is the exposed library

@orblivion can you pick this up plz?

#45

#54

Thanks!


refactor: Convert code that uses legacy SQLAlchemy API to version 2.0

✍ Description
refactor: Convert code that uses legacy SQLAlchemy API to version 2.0.

it looks good.


Add example to route all unhandled requests

Is this a useful example?
Is there a better way to do this?

@dahlbyk, ping here. :)


question

I'm doing my program.I wonder how can i get the picture's data which the GIMP open with GIMP3.0

I'll be honest I have no idea what you're trying to ask.
I've tested the plugins and make sure they work as intended on the GIMP 2.99.14
Is are you perhaps using a nightly or source build of GIMP?

I am developing a plugin for GIMP as my graduation project.My graduation project use K-means.So i want to know how can I get the data of an open image from GIMP, and what functions should I use.Thank you.

If you're simply creating a tech demo it'd be substantially easier to just create a python venv with Pillow and numpy then decode an image off the disk. Pillow is a pretty popular library with lots of good docs so it should be easy to get started.
If you're determined to use GIMP still, you'll need to learn the plugin api through it's docs:
https://developer.gimp.org/resource/
Python-specific docs can be generated yourself using g-ir-doctool. Also there's an official python example called Exercise a goat and a python that's built into the 2.99 versions.
Of course, my whole repo is under MIT so you could also just fork it and hack pixel-math for running your means sampling instead.


Bloxshade a lil sketch

https://hybrid-analysis.com/sample/d4b958647ab9da0077d0954e176026e31d8a333b0b2a2f3665315aab4dec2c0e/66c9bcd8423b0a075f0a04f9
I ran it on a vm and you decide to have anti-vm here? My bad, why is there any dang reason for you to have anti-vm for a roblox shader??? Hybrid analysis says its 100/100 malicious, but everything else is seemingly fine. Why do you need anti-vm?

also you realize that this is the source code for the installer? you could check the code yourself instead of asking this question?
here's the line of code that makes it think it has anti-vm: https://github.com/Extravi/Bloxshade/blob/main/bloxshade%2Fstart%2Fsrc%2Fmain.cpp#L93
it does that regardless of whether or not it's in a VM so it doesn't have any unnecessary processes running and it only has one process of itself.


Clarify importance of writer's schema in documentation (master)

See also: https://issues.apache.org/jira/browse/AVRO-1843

one comment / half question. Otherwise looks good. I don't believe this changes the normative meaning of the spec. I'd like to get this in before 1.8.2, but I'll wait a couple of days for further comment from others.

I don't believe this changes the normative meaning of the spec.
Great, that means I did a good job in that regard.

@rehevkor5 thanks for taking the time to do this! I've made a few comments for accuracy and we'll commit this for the next release.

@rdblue thanks for the comments. I added a commit with the changes you requested. If you wish, I can squash the commits before they are merged.

Just one more small thing and this is good to go. If you can squash the commits at the same time, that would be great. Thanks, @rehevkor5!

@rehevkor5  are you still working on this issue? I'd like to find someone to finish the last bit of difference requested by @rdblue.

@busbey thanks for the ping... I somehow lost track of this. I'll fix it up best I can & ping you again when it's ready.

@rdblue I went back and re-read a bunch of stuff, and I think I understand what you mean. Two schemas can be different canonically, but serialize & deserialize the same data successfully. For example, a serialized int always looks the same as a serialized long (in both formats), so I can reliably deserialize an int as a long.
However, if you take that idea too far it becomes a bad idea. For example if I deserialize a long as an int, I'm vulnerable to overflow. Or, I could serialize an array with one float in it and then deserialize it as a record with an int and a float, but that wouldn't work for arbitrary data, nor would it work in the JSON  serialization format. Or, in your example from your earlier comment, the field names can be different and that would work if the serialization format is binary, but it would not work if the format is JSON.
It seems like having identical canonical schema is the strictest and most valuable way to determine/guarantee compatibility of serialization schema vs. deserialization schema. So, to a certain degree this is a question of what should be done vs. what can be done. I will attempt to make the distinction in the docs.

Let me know if this looks OK & I'll squash it.

@dkulp Thanks, glad to see this made it after all!


Laundry machine state toggle

Great plugin! Is it possible to add a washingmachine state to homekit that enables when it notices the washing machine being on and disables when it's done?

maybe in combination with dummy switches? https://www.npmjs.com/package/homebridge-dummy

@abjeroen makes sense

@abjeroen less than a year later... this is done


NodeJS Message router implementation

Hello,
My goal is to ensure a consumer will always receive key associated messages.
But from my tests, on adding/removing consumers there are cases where Pulsar will do a rebalance.
So I think my best shot is to publish to a specific partition and subscribe to this specific partition with my customer.
So what I would do is implement the Message Router interface as explained here.
But I could not make it in the Node.js client, as it does not seem to exist.
Will that be implemented in the future ?
Let me know if I'm mistaking or if it's unclear, as I'm pretty new to Apache Pulsar.
Thanks for reading.

Yes, CustomMessageRoute is not supported yet.

I was wondering if there's a way to ensure messages will be received by the same consumer in a key shared sub ? Because so far I could not achieve that with keys.
Is there any ETA for the CustomMessageRoute ?


fixed the cmake problem

I changed the CMake problem and also changed the image size of the Bayer Filter example to the same size of the image in the tutorial.

The previous version was using the project folder. I changed to use the current folder. It prevents error if some project wants to use VisionCpp as external project

Thanks!


Correctly Handle Fractional Pennies for Invoice Lines

When generating the DA/TA/TX lines for the feeder-file based on the percentage Fund Distributions, we can get a mismatch between the sum of the lines and the sub-total for the Invoice Line because of rounding errors. The FOLIO Stripes front-end handles this issue by adjusting the last line the fund distribution and then works backwards adding one penny, see this description.
Here is a recent example:

The sub-total for the invoice line is $857.85 with the fund distributions each at 50%. The UI assigns $428.92 and $428.93 respectively to each fund distribution that together equals the subtotal. For the feed-file we naively multiplied $857.85 by .5 and generated two DR lines of $428.93 (due to in part because of the rounding that occurs here) that total $857.86 instead of $857.85.
LIB10299     HD012580FEEDER<PHONE_NUMBER>9<PHONE_NUMBER>0000000857.85DR                              N30
LIB10299     DR000000000428.93TAX_EXEMPT          1065032-103-KAQJE-53270
LIB10299     DR000000000428.93TAX_EXEMPT          1065032-103-NAANK-53270

@jermnelson thanks jeremy! here's a sample invoice in folio-test with one invoice line on 3 funds.: https://folio-test.stanford.edu/invoice/view/1af9a252-548d-4ae7-8a21-bb73f058c179 . This is another sample invoice that has the same funding split but with tax added this time: https://folio-test.stanford.edu/invoice/view/1af9a252-548d-4ae7-8a21-bb73f058c179


Application refreshing every time after i saved changes in code

I get this log, after save some changes in code

`JS: [HMR][61c47bbb499df8b115e8] failure | A module has not been accepted.
JS: [HMR][61c47bbb499df8b115e8] failure | Failed to apply.
JS: Angular is running in development mode. Call enableProdMode() to enable production mode.
JS: fingerprintAvailable {
JS:   "any": false
JS: }

Refreshing application on device emulator-5554...
Successfully transferred bundle.61c47bbb499df8b115e8.hot-update.js on device emulator-5554.
Successfully transferred bundle.61c47bbb499df8b115e8.hot-update.json on device emulator-5554.
Successfully transferred bundle.js on device emulator-5554.
Restarting application on device emulator-5554...
Successfully synced application org.nativescript.native2 on device emulator-5554.`

Environment

`{
"name": "@nativescript/template-hello-world-ng",
"main": "src/main.ts",
"version": "8.0.6",
"author": "NativeScript Team<EMAIL_ADDRESS>"description": "NativeScript Application",
"license": "SEE LICENSE IN ",
"publishConfig": {
"access": "public"
},
"files": [
"App_Resources",
"hooks",
"src",
"tools",
"!tools/assets",
".editorconfig",
"references.d.ts",
"tsconfig.json"
],
"keywords": [
"nativescript",
"mobile",
"angular",
"{N}",
"template"
],
"repository": "",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"@angular/animations": "~11.2.7",
"@angular/common": "~11.2.7",
"@angular/compiler": "~11.2.7",
"@angular/core": "~11.2.7",
"@angular/forms": "~11.2.7",
"@angular/platform-browser": "~11.2.7",
"@angular/platform-browser-dynamic": "~11.2.7",
"@angular/router": "~11.2.7",
"@nativescript/angular": "~11.8.0",
"@nativescript/background-http": "^5.0.2",
"@nativescript/camera": "^5.0.8",
"@nativescript/core": "~8.0.0",
"@nativescript/datetimepicker": "^2.1.3",
"@nativescript/fingerprint-auth": "^7.0.0",
"@nativescript/imagepicker": "^1.0.4",
"@nativescript/local-notifications": "^5.0.3",
"@nativescript/theme": "~3.0.1",
"@nativescript/ui-charts": "^0.1.0",
"@nstudio/nativescript-checkbox": "^2.0.4",
"@nstudio/nativescript-pulltorefresh": "^3.0.1",
"moment": "^2.29.1",
"nativescript-barcodescanner": "^4.1.1",
"nativescript-carousel": "^7.0.1",
"nativescript-clipboard": "^2.1.1",
"nativescript-feedback": "^2.0.0",
"nativescript-localstorage": "^2.0.2",
"nativescript-permissions": "^1.3.11",
"nativescript-ui-chart": "^8.0.2",
"reflect-metadata": "~0.1.13",
"rxjs": "~6.6.7",
"save": "^2.4.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular/compiler-cli": "~11.2.7",
"@nativescript/android": "8.0.0",
"@nativescript/types": "~8.0.0",
"@nativescript/webpack": "beta",
"@ngtools/webpack": "~11.2.6",
"typescript": "~4.0.0"
},
"private": "true",
"readme": "NativeScript Application"
}

`

CLI:
Cross-platform modules:
Android Runtime:
iOS Runtime:
Plugin(s):
NativeScript-Angular:
Angular:

**tns info**
√ Getting NativeScript components versions information...
‼ Update available for component nativescript. Your current version is 8.0.1 and the latest available version is 8.0.2.
√ Component @nativescript/core has 8.0.5 version and is up to date.
× Component @nativescript/ios is not installed.
√ Component @nativescript/android has 8.0.0 version and is up to date.

To Reproduce
I only create project, use ns create command and selected the template Angular
Expected behavior

i also run tns run android --log trace command, and i had the next log
i can not understand, why i get  next message

JS: [{
JS:   "type": "unaccepted",
JS:   "chain": [
JS:     "./src/app/app.component.ts",
JS:     "./src/app/app.module.ts",
JS:     "./src/main.ts"
JS:   ],
JS:   "moduleId": "./src/main.ts"
JS: }]

Successfully transferred bundle.3a061e85f6ee18109fe9.hot-update.json on device emulator-5554.
Successfully transferred bundle.3a061e85f6ee18109fe9.hot-update.js on device emulator-5554.
Successfully transferred bundle.js on device emulator-5554.
Will send the following information to Google Analytics: { type: 'googleAnalyticsData',
category: 'CLI',
googleAnalyticsDataType: 'event',
action: 'Performance',
label: 'PlatformLiveSyncServiceBase__liveSyncWatchAction',
customDimensions: { cd2: 'Angular', cd9: 'false', cd5: 'CLI' },
value: 606 }
spawn: C:\Android\android-sdk\platform-tools\adb "-s" "emulator-5554" "shell" "rm" "-rf" "/data/local/tmp/org.nativescript.artnative2-livesync-in-progress"
JS: [HMR][Verbose] LiveSync
JS: [HMR][3a061e85f6ee18109fe9] failure | A module has not been accepted.
JS: [HMR][Verbose] Additional Info
JS: [{
JS:   "type": "unaccepted",
JS:   "chain": [
JS:     "./src/app/app.component.ts",
JS:     "./src/app/app.module.ts",
JS:     "./src/main.ts"
JS:   ],
JS:   "moduleId": "./src/main.ts"
JS: }]
JS: ---
JS: [HMR][3a061e85f6ee18109fe9] failure | Failed to apply.
JS: [HMR][Verbose] Additional Info
JS: [Aborted because ./src/app/app.component.ts is not accepted
JS: Update propagation: ./src/app/app.component.ts -> ./src/app/app.module.ts -> ./src/main.ts]
JS: ---
JS: [HMR][Verbose] No modules applied.
Result when throw error is false:
{ stdout: '', stderr: '', exitCode: 0 }
Will send the following information to Google Analytics: { type: 'googleAnalyticsData',
category: 'CLI',
googleAnalyticsDataType: 'event',
action: 'Performance',
label: 'AndroidLiveSyncService__liveSyncWatchAction',
customDimensions: { cd2: 'Angular', cd9: 'false', cd5: 'CLI' },
value: 977 }
Refreshing application on device emulator-5554...

what's the issue ?

application close and open again, after ctrl+s

@iamabs2001, Please install project using command ns create and select template Angular, and you will see the problem which i writen here

Same issue here...
JS: [HMR][c8f1a550d8fbf8740b9c] failure | Failed to apply.
JS: [HMR][Verbose] Additional Info
JS: [Aborted because ./src/app/home/home.component.ts is not accepted
JS: Update propagation: ./src/app/home/home.component.ts -> ./src/app/home/home.module.ts -> ./src/app/app-routing.module.ts -> ./src/app/app.module.ts -> ./src/main.ts]
JS: ---
JS: [HMR][Verbose] No modules applied.
Environment:
{
"name": "@nativescript/template-drawer-navigation-ng",
"main": "src/main.ts",
"displayName": "Navigation Drawer",
"templateType": "App template",
"version": "8.0.5",
"description": "NativeScript Application",
"author": "NativeScript Team<EMAIL_ADDRESS>"license": "SEE LICENSE IN ",
"publishConfig": {
"access": "public"
},
"files": [
"App_Resources",
"hooks",
"src",
"tools",
"!tools/assets",
".editorconfig",
"references.d.ts",
"tsconfig.json"
],
"keywords": [
"nstudio",
"nativescript",
"mobile",
"angular",
"{N}",
"tns",
"template",
"drawer",
"navigation",
"category-general"
],
"repository": "",
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"@angular/animations": "~11.2.7",
"@angular/common": "~11.2.7",
"@angular/compiler": "~11.2.7",
"@angular/core": "~11.2.7",
"@angular/forms": "~11.2.7",
"@angular/platform-browser": "~11.2.7",
"@angular/platform-browser-dynamic": "~11.2.7",
"@angular/router": "~11.2.7",
"@nativescript/angular": "~11.8.0",
"@nativescript/core": "~8.0.0",
"@nativescript/theme": "~3.0.1",
"nativescript-ui-sidedrawer": "~9.0.3",
"reflect-metadata": "~0.1.13",
"rxjs": "~6.6.7",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular/compiler-cli": "~11.2.7",
"@nativescript/android": "8.0.0",
"@nativescript/types": "~8.0.0",
"@nativescript/webpack": "beta",
"@ngtools/webpack": "~11.2.6",
"typescript": "~4.0.0"
},
"private": "true",
"readme": "NativeScript Application"
}


Plugin fails to download node (version > 4.0) in windows environment

The following gradle snippet fails to run in windows.
apply plugin: 'base'
apply plugin: 'com.moowork.node'
apply plugin: 'com.moowork.grunt'

buildscript {
    repositories {
        mavenCentral()
        jcenter()
    }

    dependencies {
        classpath "com.moowork.gradle:gradle-node-plugin:0.10"
        classpath "com.moowork.gradle:gradle-grunt-plugin:0.10"
        classpath "commons-codec:commons-codec:1.9"
    }
}

node {
	// Version of node to use.
	version = '4.1.0'

	// Version of npm to use.
	npmVersion = '2.14.3'

	// Base URL for fetching node distributions (change if you have a mirror).
	distBaseUrl = 'http://nodejs.org/dist'

	// If true, it will download node using above parameters.
	// If false, it will try to use globally installed node.
	download = true

	// Set the work directory for unpacking node
	workDir = file("${project.buildDir}/nodejs")

	// Set the work directory where node_modules should be located
	nodeModulesDir = file("${project.projectDir}")
}

grunt {
    // Set the directory where Gruntfile.js should be found
    workDir = file("${project.projectDir}")

    // Whether colors should output on the terminal
    colors = true

    // Whether output from Grunt should be buffered - useful when running tasks in parallel
    bufferOutput = false
}

It gives the below error:
>gradlew --info war

--snip--
All projects evaluated.
Selected primary task 'war' from project :
Resource missing. [HTTP GET: http://nodejs.org/dist/v4.1.0/ivy.xml]
Resource missing. [HTTP HEAD: http://nodejs.org/dist/v4.1.0/x64/node.exe]

FAILURE: Build failed with an exception.

* What went wrong:

Could not resolve all dependencies for configuration ':ui:nodeDist'.
> Could not find org.nodejs:x64/node:4.1.0.
  Searched in the following locations:
      http://nodejs.org/dist/v4.1.0/ivy.xml
      http://nodejs.org/dist/v4.1.0/x64/node.exe
  Required by:
      spartan:ui:unspecified

* Try:

Run with --stacktrace option to get the stack trace. Run with --debug option to
get more log output
BUILD FAILED

Upon inspection, I found that node versions > 4 is not publishing .exe files. They have .msi files in nodejs downloads.
https://nodejs.org/dist/v4.1.1/

I am getting this on our continous build server as well.  Anybody have a work around?

Try version 0.11. Node < 4.0.0 is not working with version 0.10 and below.

My apologies, I should have stated version information.  I am not sure what was happening but, after retrying today with Node 0.12.4 and the plugin version of 0.10, I have it working without any issues.  Thanks for putting this plugin out for others to use.

What I mean is to try with Gradle Node Plugin version 0.11 (the latest). This will work with Node 4.x and above.

I wasn't planning on a upgrade just yet, so the 0.12.4 using 0.10 works for me for now.  Thanks

Ok. But, in case you want to use Node 4.x and above, you will have to upgrade to gradle-node-plugin 0.11 :-)

I have the same problem here. Using gradle-node-plugin 0.11 and running the number task always complains about the ivy file missing from nodejs.org. Both 4.1.0 and 0.12.4 are failing even with the snippet from the original poster.

The ivy.xml is tried since it's actually using an Ivy repository in the code, but it should not fail. Could you paste in the error you get. It should not be identical as original poster's error since the URL should probably be different.


Fix error fetching page text when all runs are empty

Given a page that has text runs, however all are empty strings, an error was raised coercing nil to a Fixnum when trying to find the last non-empty line.
Now an empty string is returned when all lines are empty.
The error that was raised was:
TypeError: nil can't be coerced into Fixnum

on line 49 since none of the line lengths were non-zero, so the right hand side of the subtraction operation was nil.

Thanks! Master has had rspec upgrade to 3, so I rebased your commit and merged it as b67f3d3.

Thanks for the merge!


Timing issues with aside sections

First: Great library, I like it a lot!
Describe the bug
That very simple demo below always only yields
Do something...

swallowing all the asides.
session {
  section {
    textLine("Do something...")
  }.run {
    aside { textLine(" - a") }
    aside { textLine(" - b") }
    aside { textLine(" - b") }
    aside { textLine(" - f") }
    // to be replaced
  }
}

If I replace // to be replaced at the end of the run block with something like Thread.sleep(1) (yes 1 ms is enough) or a "heavy" computation that takes some ms everything's printed out. I am suspecting a timing issue.
Do you have any thoughts?

Hey, I am so sorry for the long delay in replying. I missed the notification and just saw it now! Especially, I really appreciate your quick example to repro.
For now, to avoid using a sleep, I would recommend solving this using runUntilSignal:
session {
  section {
    textLine("Do something...")
  }.runUntilSignal {
    aside { textLine(" - a") }
    aside { textLine(" - b") }
    aside { textLine(" - b") }
    aside { textLine(" - f") }
    signal()
  }
}

Will investiagate. I suspect what should happen is the run block shouldn't consider itself done as long as there are any remaining aside blocks queuend up for rendering. It's been a while since I looked at this code though and it might be a hairy, subtle interaction...

OK, looked a little more. What's happening is that a section is responsible for processing any aside blocks enqueued by the run method.
But your section is ending so fast, it shuts down and then the run block continues to add more aside blocks. (section and run are two different threads working at the same time)
I'm experimenting to see if it's trivial enough to detect, when the run method finishes, if one or more asides are still left, at which point, we kick off one more render request for the section (which should print out those remaining asides). But so far the code is fighting me a bit...

Thanks for looking into it and providing me with a solution.

OK, got it. It wasn't really that hard to fix once I got familiar with the code again. This was a great bug -- thanks for reporting!
I also added a unit test for this issue, and ran it a lot. It seems to be a solid fix.

Ok. As mentioned on the other issue I will give it a try. Thanks for investing your time helping me out with that.

You bet, and no rush! I just wanted you to know things were available at
your convenience.
Thanks for your feedback, it helped me make Kotter better.
On Sun, Oct 9, 2022, 10:19 AM Christoph Drießen @.***>
wrote:

Ok. As mentioned on the other issue I will give it a try. Thanks for
investing your time helping me out with that.
—
Reply to this email directly, view it on GitHub
https://github.com/varabyte/kotter/issues/86#issuecomment-1272588401,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKNONAUSWWREJTA4FWH2OUDWCL5BLANCNFSM57LZ3U2Q
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Just wanted to let you know: I've upgraded to 1.0.0-rc1 and things work like a charm :-)


Load "simple" data from XML

Pivotal story: 91447450
Load data from XML uploads into a SQLite database for the following elements:

ballot
ballot_line_result
ballot_response
contest
contest_result
custom_ballot
election
election_official
electoral_district
locality
precinct
precinct-split
referendum
source
state

Code for checking value formats and transforming values for insertion into the database has been generalized from CSV to the shared data-spec namespace.
Also:

Organized test-resources
Removed NOT NULL constraints on non-required columns

It's a big PR, so I'll ask a question: you're now allowing NULLs in many columns. Where do you handle the nils?

@ericnormand Those columns were erroneously marked as NOT NULL before. The nils will be handled in a later step when we're exporting XML. At that point, anything nil is not going to be exported.

Tests run on my local.

@ericnormand I addressed those notes.

LGTM


[jvm-packages] Avoid use of Seq.apply in buildGroups

Fixes https://github.com/dmlc/xgboost/issues/3412
Regarding the concern with memory usage in https://github.com/dmlc/xgboost/pull/3387, since Seq is lazy I don't think there's much overhead (and it definitely isn't loading the whole thing in memory, otherwise the indexing wouldn't be an issue) compared to using the iterator directly.
Manually ran and checked that it 1) had the same output and 2) completed for a large input

Codecov Report

Merging #3413 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #3413   +/-   ##
=========================================
  Coverage     45.45%   45.45%
  Complexity      188      188
=========================================
  Files           164      164
  Lines         12936    12936
  Branches        443      442    -1
=========================================
  Hits           5880     5880
  Misses         6855     6855
  Partials        201      201

Impacted Files
Coverage Δ
Complexity Δ

.../scala/ml/dmlc/xgboost4j/scala/spark/XGBoost.scala
73.59% <100%> (ø)
0 <0> (ø)
:arrow_down:

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 5cd851c...ccbd948. Read the comment docs.


absolute qudratic values from bic in biocoherence

Hey there!
At the moment I am rewriting the package for python 3 and have come across a step in the biocoherence.py function that I don't quite understand:
In line 103 in bicoherence.py:
 bic = abs(bic)**2 / ((Pyy * np.transpose(Pyy)) * mask)
Why is the absolute value determined from the expected value of the complex bispectrum (bic)? The squaring should surely elemenate the root operation from the denominator of the Haubrich normalization, so that the new bic should actually be squared as well?
Is this already for the visualization step or am I wrong in assuming that the normalized bispectrum is complex?
Best Regards
true

I would suggest the following change to line 103:
bic = bic / np.sqrt((Pyy * np.transpose(Pyy)) *  mask) # normalizing bic (Haubrich et al.)


Reduction of multidimensional arrays

The OpenCL code generator refuses to compile reductions whose operators take arrays as arguments (that is, reductions over the outer dimension of a multidimensional array).
This needs a bunch of work in the memory representation and elsewhere - probably array expansion will need some love.

I just managed the first succesful run of a multidimensional reduction.  Namely, this program (data/tests/reduce4.fut):
fun [int] main([[int]] as) =
  reduce(fn [int] ([int] acc, [int] r) =>
           zipWith(+, acc, r),
         replicate(size(1,as), 0),
         as)

It works pretty well now, and the input arrays are even accessed in a coalesced fashion (at least for 2D inputs).  But - and this is a big one - intermediate array results are not coalesced.  I'm not convinced the old array-expansion hack will work here, so I will probably try to improve this at the memory block level.

After fixing #75, intermediate arrays are now coalesced.  There is still too much copying going on, but I'm not sure I should spend too much time trying to fix that.


test-cairo1 on array returns error: Invalid number of parameters

testing the following snippet
#[test]
fn test_arrays() {
    let mut a = ArrayTrait::new();
    a.append(42);
    assert(*a.at(0_usize) == 42, 'First element is not 42');
}

with protostar test-cairo1  returns
An error occurred in binding collect_tests: Test validation failed: Invalid number of parameters for test test_main::test_main::test_arrays2: expected 0, got 1

Protostar version

Name
Version

Protostar
"0.9.2"

Cairo-lang
1.0

It might be incompatibility with cairo compiler versions, protostar compiler version in the last release is older.
We will include such information udner version command
https://github.com/software-mansion/protostar/issues/1706


PHP 7.2 can not install from composer

macOS Mojave 10.14.3
PHP 7.2.7 (cli) (built: Jun 22 2018 06:27:50) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.7, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
composer require foxrp/rippled-php:dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1

Can only install one of: php-http/httplug[v2.0.0, v1.1.0].
Can only install one of: php-http/httplug[v1.1.0, v2.0.0].
Can only install one of: php-http/httplug[v1.1.0, v2.0.0].
foxrp/rippled-php dev-master requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
Installation request for foxrp/rippled-php dev-master -> satisfiable by foxrp/rippled-php[dev-master].
Installation request for php-http/httplug (locked at v2.0.0) -> satisfiable by php-http/httplug[v2.0.0].

Installation failed, reverting ./composer.json to its original content.

Composer v1.8 is installed by Brew.

I also face similar problems.
The following error occurs when you execute composer require foxrp/rippled-php
composer require foxrp/rippled-php
Using version ^1.0 for foxrp/rippled-php
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for php-http/httplug (locked at v2.0.0) -> satisfiable by php-http/httplug[v2.0.0].
    - foxrp/rippled-php 1.0.0 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
    - foxrp/rippled-php 1.0.1 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
    - Conclusion: don't install php-http/httplug v1.1.0
    - Installation request for foxrp/rippled-php ^1.0 -> satisfiable by foxrp/rippled-php[1.0.0, 1.0.1].

Installation failed, reverting ./composer.json to its original content.

composer require php-http/httplug: 1.0.1
composer require php-http/httplug: 1.1.0
I tried, etc. but other libraries require httplug v2.0.0 and get an error.
PHP 7.3.3
Laravel5.8

Please try:
composer req php-http/guzzle6-adapter v1.1.1

and then:
composer req foxrp/rippled-php

Issue persists even trying the solutions suggested in this post so far.
`[server@vps ~]$ composer req foxrp/rippled-php
Using version ^1.0 for foxrp/rippled-php
./composer.json has been updated
Running composer update foxrp/rippled-php
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires foxrp/rippled-php ^1.0 -> satisfiable by foxrp/rippled-php[1.0.0, 1.0.1].
- foxrp/rippled-php[1.0.0, ..., 1.0.1] require php-http/httplug ^1.1 -> found php-http/httplug[v1.1.0] but the package is fixed to 2.4.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require foxrp/rippled-php:*" to figure out if any version is installable, or "composer require foxrp/rippled-php:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.`


Work on JOSS review by @bzindovic

Refer to this comment by @bzindovic in https://github.com/openjournals/joss-reviews/issues/3114#issuecomment-824697864_

Replied in the original JOSS issue: https://github.com/openjournals/joss-reviews/issues/3114#issuecomment-846333397


Add https support

The operator should be able to deploy also ngxin and ceermanager configure ssl in the various cases:

aws
generic kubernetes with load balancer
single vm

Please splt this in smaller ticket and PRs to be merged separate (open and autoassign the required tickets)

Some notes:

we should remove the hacks that forces http even if aphost is https:

$ grep -n  https *.go
k8s_utils.go:117:               if host == "https://pending" || host == "" {
k8s_utils.go:162:       //TODO remove temporary workaround to replace https with http
k8s_utils.go:163:       wskPropsEntries["APIHOST"] = strings.ReplaceAll(apihost, "https", "http")
k8s_utils_test.go:35:                   "apihost":                  "https://localhost:3232",
setup_wskprops.go:60:   apihost = strings.ReplaceAll(apihost, "https:", "http:")

It should work with the various clusters running the test suite against:

kind
aws
linode
azure
(gke if available)
as in this video


Bug - location of bug: brief description of bugformat, e.g.Bug - Exercises: File type incorrect for all test files

The issue seems to be related to the use of "xit" instead of "it" in the test spec file.

This is intentional, as indicated in step 6 in the Usage.
https://github.com/TheOdinProject/ruby-exercises/tree/main/ruby_basics#usage
Therefore I will be closing

Sorry, I did not realize that was intentional, that's why I tried to remove the issue but I can't.

It’s okay @aradradev ! Thanks for responding and I will close the issue for you.

Ok, thanks for following up. I'll close this issue.


[Enhancement] SYSTEM include workaround for older cmake versions

Cmake versions older than 3.25 do not have the SYSTEM target property.

Entries of INTERFACE_INCLUDE_DIRECTORIES are treated as system include directories when compiling consumers.

Its possible to move all INTERFACE_INCLUDE_DIRECTORIES to INTERFACE_SYSTEM_INCLUDE_DIRECTORIES manually with something like:
    # Grab the public includes from a target
    get_target_property(IID ${TARGET} INTERFACE_INCLUDE_DIRECTORIES)
    # Set the targets public includes as its system includes
    set_target_properties(${TARGET} PROPERTIES INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${IID}")

Could CPM do this automatically based on the version?
From my understanding this could be transparent to users.

You can also do:
set_target_properties(${TARGET} PROPERTIES INTERFACE_SYSTEM_INCLUDE_DIRECTORIES $<TARGET_PROPERTY:${TARGET},INTERFACE_INCLUDE_DIRECTORIES>)


Add documentation for missing felix parameters

Description
Added documentation for following felix parameters:
FELIX_TYPHAADDR
FELIX_TYPHAK8SSERVICENAME
FELIX_IPV6SUPPORT

Related issues/PRs

fixes

documents
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit b39b8206ca9367974f884a7cdc970f12dc54694b
https://deploy-preview-2683--calico.netlify.com


Don't pass port in redirects

So that when nginx does redirects (when adding a trailing slash), it doesn't do it with the internal port specified.

Thanks!


Request (and Response) and trait objects

Currently, Request is generic over the body type. This is the primary type that libraries are expected to use when they require a Request value. Even if the library does not care about the body type (it only needs the head), it is expected to take a Request<?>. This can cause problems with trait objects.
Take the following trait. Implementations are expected to only require the head data.
trait Foo {
    fn foo<T>(&self, request: &Request<T>);
}

Because the trait fn has a generic, it is not possible to use as a trait object. If the trait is updated to:
trait Foo {
    fn foo(&self, request: &Request<()>);
}

Then the following function is unable to call foo:
fn some_fn<T>(&self, foo: &Foo, request: &Request<T>) {
}

Because, the request here is generic over the body type but the fn only takes a reference to the request, some_fn cannot convert &Request<T> -> &Request<()>.
Now, one option would be to provide request::Head which contains only the head components of the request and Request becomes:
struct Request<T> {
    head: Head,
    body: T,
}

This goes back to #22, #56 which decided against this approach. However, the issue I raised above was not considered.

What sort of trait needs this? And is the full head actually needed, or just the URI or headers?
I wonder if we can have some sort of fn head(&self) -> &Request<()> accessor...

I'm writing a trait that takes the request head and extracts data from it.
Of course, there are ugly ways of working around the issue. The least ugly would probably be for the library to define a struct like:
struct Head<'a> {
    method: &Method,
    uri: &Uri,
    ...
}

I'm mostly bring it up as it seems like a flaw in the original assumptions.

I wonder if we can have some sort of fn head(&self) -> &Request<()> accessor...

That could work, but I don't know if this can be provided safely.


Healthsite is not found.

Healthsite is not found.
Please check this healthsite in openstreetmap with this link
https://healthsites.io/map#!/locality/node/996445859

needs to refetch all data from osm from zero
which is needs to be done on downtime or weekend

fixed


Learn about AgBase data loading

Task to do
Work with current AgBase team to lean how to upload data and propose work to do
Reason
Plan agbase work
Result
Proposed work for AgBase

Pushed out to next sprint - issues with VPN and my credentials on server

Reviewed the Updating the DB document and many of the scripts called. Next step is meeting with JD to get questions answered. https://bitbucket.org/cals-cct/agbase-data-update/src/master/agbase_database_update/Loading_Agbase_database_procedures.md

Need to write addition issues


Feature/issue 23

Continuation of #63

@crhowell we finally made it, merging this PR now! 🥳
Thank you very much for your time, patience and endurance! 😊 🎉

@jdepoix Well, thank you for allowing me to contribute and for the discussions. I always enjoy when I get to learn from others and their take on a problem/solution. 🙂


Interference with ADetailer

Enabling FreeU and ADetailer at the same time gives undesirable results.
Results vary for the different adetailer models and face_yolov8n.pt seems fine but others introduce unwanted details into the gen.

this is rather a problem about my prompts or lora weights or something but not related to FreeU.


Blockquotes is not working in md files

Blockquotes is not working in md files.
Post contains the Blockquotes text:

Proin ornare ligula eu tellus tempus elementum. Aenean bibendum iaculis mi, nec blandit lacus interdum vitae. Vestibulum non nibh risus, a scelerisque purus. Ut vel arcu ac tortor adipiscing hendrerit vel sed massa. Fusce sem libero, lacinia vulputate interdum non, porttitor non quam. Aliquam sed felis ligula. Duis non nulla magna.

But the output is not generated as 'Blockquotes'

Sample blog deployed here:
https://compassionate-kowalevski-449a27.netlify.com/two-things-are-infinite/

@gouravsood,
they are working, there is simply not a style for the tag. But it's not the only tag for which I did not set the style. If you need an inspiration to style it take a look at PersonalBlog

Thanks for the reference @greglobinsk. Shouldn't be there some default styling of Blockquotes as done by the markdown.

@gouravsood
no the markdown does not add any default styling. There are default styles for <blockquotes> in  web browsers, but they only add indentation by setting margin-left which is overridden by the starter's global styles in src/layouts/index.js file
              <style jsx global>{`
                html {
                  box-sizing: border-box;
                }
                *,
                *:after,
                *:before {
                  box-sizing: inherit;
                  margin: 0;
                  padding: 0;
                }

Thanks @greglobinski for the help. I am able to sort out the styles now.


Add test for bug in PHP version detection

@MorrisJobke This test will fail. Until we have a fix :wink:

Patch added.

I would like to show the update when the PHP version is not set, but it would be a minor update. Otherwise people with old versions that don't send the PHP version will not get an update.


Sort colors by count in the library

The binary has a way to sort the output colors by frequency, but as far as I can tell the library doesn't. I'd like this because I'm intending to use okolors as a color theme generator in my own application; rnow I have to use quantette directly.
Thanks a ton for this btw :)

I see, yeah that should be relatively easy to add. I'll get around to it soon.

Thanks a ton for this btw :)

You're welcome!

Published version 0.6.0 which added Okolors::sort_by_frequency  :)


Not sure if bug or intended but why are the status bars no longer either side of the inventory?

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
Not sure if bug or intended but why are the status bars no longer either side of the inventory? Is this intended or am I experiencing an issue. I haven't been using the runelite client long and I just wondered why it has moved to being two bars next to each other to the left of the inventory?
To Reproduce
Steps to reproduce the behavior:

Go to 'Configuration'
Click on 'Configuration'
Scroll down to 'Status Bars'
Switch on and see bars incorrect location

Expected behavior
They should be either side of the inventory not both squeezed to the left
Screenshots

Environment (please complete the following information):

OS: Windows 10
RuneLite version: [e.g 1.7.4]
Launcher version: [e.g 2.1.6]

there are no pillars to place them on when in modern layout

there are no pillars to place them on when in modern layout

So could I potentially request them to be moved back in the modern layout if i submit a feature request ya think?

The bars have never been on the sides of the inventory in this layout as there's no space. You must use one of the classic layouts for them to overlap the side pillars.

The bars have never been on the sides of the inventory in this layout as there's no space. You must use one of the classic layouts for them to overlap the side pillars.
Any chance you could tell me how to do that, I've tried changing this using interface styles to no avail, is this an option I can switch to?

the in game settings


drivers/gpio: stm32 fix gpio device init prio

STM32 GPIO device initialization priority was set to
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT
Following introduction of ZEPHYR_SUPERVISOR macro (#6835),
drivers intialization order have been reordered which blocks
some use cases now.
Increase GPIO init priority to get it initialized before SPI
and avoid a deadlock.
Fixes #7663
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

Codecov Report

Merging #8107 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8107      +/-   ##
==========================================
- Coverage   64.55%   64.55%   -0.01%
==========================================
  Files         420      420
  Lines       40141    40141
  Branches     6763     6763
==========================================
- Hits        25913    25912       -1
  Misses      11106    11106
- Partials     3122     3123       +1

Impacted Files
Coverage Δ

boards/posix/native_posix/timer_model.c
98.21% <0%> (-1.79%)
:arrow_down:

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 43553da...fd1c137. Read the comment docs.


contrib/raftexample: Restrict commit/error channel types in raftNode

By restricting the channel types in the raftNode struct, it's clearer that the node only writes to (and never reads from) the commitC and errorC channels.

lgtm

lgtm. defer to @heyitsanthony


merge changes we did to our private copy here

did we already make some changes on our local copy? we should merge them here and use this as base for further development

Is forking the best way to go?

the fork is public. i thought it would be the best way to go? if we want to keep our changes to ourselves, we would have to mirror the repo on github as well (there are not private forks of public repos). In this case, we could stick with bitbucket i guess...
I dont think making these changes in the open would be detrimental to us? Maybe we can even propose to merge generally applicable changes we plan to make (like saving commands in json) back to the master version. Open source and whatnot!


Trigger workflows if a PR is created, even for forks

Should fix #414

Ah, nice. I did not know about this ;)


Papi migration

Resolves #156
Work in progress.

@rzadp and @mutantcornholio I need to finish the tests, but could you please review the existing changes?

@Bullrich @rzadp PTAL :)


Transform conditional assignments to if blocks

This transforms vanilla expression statements.  Conditional assignments that return a value, or that immediately call into the assigned value will be handled by subsequent PRs.
/cc @lemonmade @bouk

One minor comment, code otherwise looks great :+1: Rebase on master will probably fix the test failure.

:ship: once you get it :green_apple:


Doc commands don't align with table

Describe the bug
Table columns aren't aligned on the commands page of the docs.
Specify the command
https://nigecat.github.io/Plexi/comman
Screenshots

We might need some escape characters


Missing TypeScript Definitions with ECMAScript Modules

Bug Report
I was integrating this into an existing project, and ran into an issue importing the TypeScript definitions. It looks like there's some conflict with having "type": "module" in package.json + targeting "es2022" in tsc. Looking up some ideas, at least with my version of Node/TypeScript this can be fixed by adding "types" path to the "exports" in each package.json. For example, in @twurple/auth's package.json it would look like:
"exports": {
  ".": {
    "require": "./lib/index.js",
    "import": "./es/index.mjs",
    "types": "./lib/index.d.ts" // This is the only new line
  }
}

I can submit a PR updating these, if this seems like a reasonable solution! Also open to other ideas, and willing to work on it :)
Code
Run npm run repro with the following two files:
package.json
{
  "name": "twurple-test",
  "version": "1.0.0",
  "main": "index.js",
  "type": "module",
  "scripts": {
    "repro": "tsc --strict --module node16 --target es2022 index.ts"
  },
  "dependencies": {
    "@twurple/auth": "^5.2.1"
  },
  "devDependencies": {
    "typescript": "^4.7.4"
  }
}

index.ts
import type { AccessToken } from "@twurple/auth";
import { RefreshingAuthProvider } from "@twurple/auth";

let tokenData: AccessToken = {
  accessToken: "",
  refreshToken: "",
  scope: [],
  expiresIn: 0,
  obtainmentTimestamp: 0,
};

export default new RefreshingAuthProvider(
  { clientId: "", clientSecret: "" },
  tokenData
);

Note: To reproduce this, package.json must include "type": "module" (enforces import syntax) and tsc must have strict enabled (missing definition becomes an error), module must be node16 and target must be "es2022".

Expected behavior
Importing classes automatically resolves type definitions.
Actual Behavior
TypeScript strict mode error: Could not find a declaration file for module '@twurple/auth'.
Environment

Version: 5.2.1
Node version: 18.4.0
Operating system: Ubuntu 20.04.4 (LTS) via WSL (Windows 10)

Sure, I have not looked into recent ESM + TS development a lot, but if that makes sense to support additional compilation targets without breaking any compatibility to already working use cases, I'm all for patching it in.

Yeah I have the same issue, the only package that works is easy-bot, not too sure why though. Would be great to get that quick fix out to the rest of the packages.

Sure, I have not looked into recent ESM + TS development a lot, but if that makes sense to support additional compilation targets without breaking any compatibility to already working use cases, I'm all for patching it in.

Sounds good - I'll throw up a PR for review in a bit. Are there any specific workflows you'd like me to verify to make sure it doesn't break existing compatibility? I don't think it should, but wouldn't hurt to check!

Yeah I have the same issue, the only package that works is easy-bot, not too sure why though. Would be great to get that quick fix out to the rest of the packages.
EDIT: The easy-bot package works because the types are in the same directory as the javascript code.

Yeah, this only happens when Node tries to import the new ESM packages, since the types are all in the old "require" (/lib) directory. TypeScript can't find the types that correspond. There is a types top-level attribute, but I think that might be old/deprecated, and the types under exports is the "newer" way.

Yeah I have the same issue, the only package that works is easy-bot, not too sure why though. Would be great to get that quick fix out to the rest of the packages.

That package can resolve types because it has no explicit exports mapping, and introducing it now would be a breaking change, so it has to wait until 6.0.

Fixed with #384 and #385, closing.


Testing scenarios

What other testing scenarios have been used opposed to a pile of rocks? What about gravitational and environmental factors?
by Ash Pearson on ProductHunt

This isn't an "issue" with the repository or the source code, per say, so I'm going to close this issue and suggest asking questions like this on our community forum in the future.
However, here's a brief answer that I'll provide here:
We have done a fair amount of driving the OSR around various common terrain on lab.  This includes streets, curbs, stairs, grass, dirt, and surfaces with small rocks (less than about 8in diameter).  We have also driven the rover for brief stints in our "Mars Yard" where we do testing for our actual rovers.  We've successfully climbed up curbs, over ~6in rocks, over people laying on the ground, etc. However, we have NOT done quantitative testing of the climbing capabilities of this rover.  The project was made to be built fast and inexpensively and then released as a base model.  If you desire extensive quantitative testing and hard numbers for the climbing capabilities of the rover, I suggest that you join the community of builders and contribute the results of those tests yourself.  :)
All that said, the short story is that the rover typically does fairly well climbing over "reasonably-sized" obstacles.

Thanks a lot @vssystemluba for taking your time to explain!


PhotoViewer for Google Photos -  Photo location/source

I'm a  PhotoViewer for Google Photos user. I use ROKU to view Google Photos thru PhotoViewer.    I noticed that after I log off my Google account,  my Google photos remain viewable on PhotoViewer.   Question 1:  Why is this?
Question 2:  How can I discontinue/stop PhotoViewer access to my Google Photo library ?

When you grant the Roku application access, this is outside your current logged in web session. To unregister your account from the device:
Main screen > Settings (Gear Icon) > Unregister account from device. This will remove all tokens and account from the device.


Refactor staking ledger

This PR refactors the staking ledger logic to encapsulate all reads and mutations of Ledger, Bonded and stake locks within the StakingLedger struct implementation.
With these changes, all the reads and mutations to the Ledger and Bonded storage map should be done through the methods exposed by StakingLedger to ensure the data and lock consistency of the operations. The new introduced methods that mutate and read Ledger are:

ledger.update(): inserts/updates a staking ledger in storage; updates staking locks accordingly.
ledger.kill(): removes all Bonded and StakingLedger related data for a given ledger; updates staking locks accordingly;
StakingLedger::get(account): queries both the Bonded and Ledger storages and returns a Option<StakingLedger>.

Retrieving a ledger with StakingLedger::get() can be done by providing either a stash or controller account. The input must be wrapped in a StakingAccount variant (Stash or Controller) which is treated accordingly. This simplifies the caller API but will eventually be deprecated once we completely get rid of the controller account in staking. However, this refactor will help with the work necessary when completely removing the controller.
Other goals:

No logical changes have been introduced in this PR;
No breaking changes or updates in wallets required;
No new storage items or need to perform storage migrations;
Centralise the changes to bonds and ledger updates to simplify the OnStakingUpdate updates to the target list (related to  https://github.com/paritytech/substrate/issues/12719)

Note: it would be great to prevent or at least raise a warning if Ledger<T> and Bonded<T> storage types are accessed outside the StakingLedger implementation. This PR should not get blocked by that feature, but there's a tracking issue here https://github.com/paritytech/substrate/issues/14623
To Finish:

[x] encapsulate mutations and reads to Bonded under StakingLedger
[x] add unit tests to logic exposed in ledger.rs

Related and step towards https://github.com/paritytech/substrate/issues/12719

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3213132

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3215266

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3215267

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3215268

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3218009

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3218011

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3226863

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3227488

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3264069

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3288654

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3290465

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3290548

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3290711

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3292098

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3297236

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3297524

bot fmt

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3297697

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3297901

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3300657

bot fmt

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3362627

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3362625


Wednesday 21-02-2024 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

Good morning!

salut

good morning!

hi

Good morning

hey

good morning

Good morning...

morning

GoodMorning

✌

good morning

morning


User manual correction concerning rp3d::TriangleVertexArray enums

In this section of the user manual, the code example uses rp3d::TriangleVertexArray::VERTEX_FLOAT_TYPE and rp3d::TriangleVertexArray::INDEX_INTEGER_TYPE. However, using those expressions emits a compiler error because the enums are declared as enum class. They should be corrected to rp3d::TriangleVertexArray::VertexDataType::VERTEX_FLOAT_TYPE and rp3d::TriangleVertexArray::IndexDataType::INDEX_INTEGER_TYPE, respectively.

Thanks a lot for reporting this.
This will be fixed in the next release of the library.

The version v0.8.0 of ReactPhysics3D has been released. The user manual has been updated and this issue is now fixed.
Thanks a lot for reporting this issue.


Use new body with injection component

setup and use new body with injection component.  Will need to run a dep upgrade once this is merged and deployed for this to work correctly.  https://github.com/parameter1/base-cms/pull/506

 Convert remaining monorail theme content body's to use new ad injection component


Default new_memory to 0 in sidecar validator

I've changed
Set a sidecar memory to 0 when validating total memory, even if it is nil. See commit message for full context.
I was
Attempting to create a sidecar for the first time with no memory specified in manifest (following docs)

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the master branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests Not setup to do this and believe unit test should cover change

I've submitted a CLA on my own behalf but I was hoping we also had an org CLA in place I could use whilst that processes. Guess not. I'll leave this open in case it needs discussion and will close + reopen when CLA has been processed.

This is a bug fix, yeah? Does validation fail erroneously when no memory limit is specified? 500?


Newline formatting options

Looking for a way to configure auto-format for newlines. I'm a fan of this structure:
void foo() {
    if (something) {
        bar();
    } else {
        baz();
    }
}

However the current auto-format will place all my curly braces on a new line. I've noticed that both TypeScript and JavaScript have the options placeOpenBraceOnNewLineForControlBlocks and placeOpenBraceOnNewLineForFunctions.

I agree.  I have found the forced formatting annoying.  Is there any plans for configuring how the formatting works?

Agree+1
We need rights to format code as what we need, not the fixed role!

I am struggling to figure out how to configure formatting as well. Has anyone made progress?

+1

In the meantimes we could create omnisharp.json which contains many property about omnisharp, and then restart omnisharp
This is what I use
{
	"FormattingOptions": {
		"NewLinesForBracesInLambdaExpressionBody": false,
		"NewLinesForBracesInAnonymousMethods": false,
		"NewLinesForBracesInAnonymousTypes": false,
		"NewLinesForBracesInControlBlocks": true,
		"SpaceAfterControlFlowStatementKeyword": false,
		"SpaceAfterComma": false
	}
}

However I would also support that omnisharp should also add vscode config contribution point

I’ve tried this, but nothing happened, when I try to format code, it still places every braces in new line, shit….

On 7 Jan 2017, at 21:53, Brian Bugh<EMAIL_ADDRESS>wrote:
If you're like me (and I know I am) you want the brackets on the same line for everything, not just control blocks. Here's the full listing for all of the common squirrely bracket cases.
Put this in the base of your project as omnisharp.json
open the command palette and run Omnisharp: Restart Omnisharp.
{
"FormattingOptions": {
"NewLinesForBracesInLambdaExpressionBody": false,
"NewLinesForBracesInAnonymousMethods": false,
"NewLinesForBracesInAnonymousTypes": false,
"NewLinesForBracesInControlBlocks": false,
"NewLinesForBracesInTypes": false,
"NewLinesForBracesInMethods": false,
"NewLineForElse": false,
"NewLineForCatch": false,
"NewLineForFinally": false
}
}
Omnisharp doesn't presently reload the omnisharp.json files automatically, so if you make changes while you're in the editor, you'll have to restart Omnisharp again.
It's possible that I missed a couple of NewLine settings for edge cases. The formatting options don't seem to be documented anywhere, but you can see them all in the code: http://source.roslyn.codeplex.com/#Microsoft.CodeAnalysis.CSharp.Workspaces/Formatting/CSharpFormattingOptions.cs,dac739b7b8a53984 http://source.roslyn.codeplex.com/#Microsoft.CodeAnalysis.CSharp.Workspaces/Formatting/CSharpFormattingOptions.cs,dac739b7b8a53984
HURRAY! This was the only thing left that was still bugging me about vscode. Thanks @Thaina https://github.com/Thaina for the PROTIP.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/OmniSharp/omnisharp-vscode/issues/313#issuecomment-271085065, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJExmr02gXgvz4BgsAdFt6Wn_CvNnnhks5rP5jVgaJpZM4IdMcI.

@unalone Have you restart omnisharp?

Sure, I have created a new file named “omnisharp.json”, and placed this file under my root path of project, also, I added a line in my settings.json file like this:
"omnisharp.json": “/path/to/omnisharp.json”
And then I restart the vs code and nothing happened….. what’s wrong?

On 9 Jan 2017, at 17:04, Thaina Yu<EMAIL_ADDRESS>wrote:
@unalone https://github.com/unalone Have you restart omnisharp?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/OmniSharp/omnisharp-vscode/issues/313#issuecomment-271236401, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJExu4qm17-Cx2W8Oq5TNd9yAG1ppWtks5rQfgFgaJpZM4IdMcI.

First, I think you should not put that line in settings.json
Second, you may need to restart omnisharp too in addition to restart vscode

First, this file is under the root path of my project.
Second, I both tried to restart the OmniSharp and VS Code, nothin happened...

On 9 Jan 2017, at 17:09, Thaina Yu<EMAIL_ADDRESS>wrote:
First, I think you should not put that line in settings.json
Second, you may need to restart omnisharp too in addition to restart vscode
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/OmniSharp/omnisharp-vscode/issues/313#issuecomment-271237202, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJExpaKw1TvJrMWrODQaeswiLBSN3R5ks5rQflBgaJpZM4IdMcI.

Ok, the reason is my C# plugin was out of date, everything goes well after update them, thank you :)

On 9 Jan 2017, at 17:09, Thaina Yu<EMAIL_ADDRESS>wrote:
First, I think you should not put that line in settings.json
Second, you may need to restart omnisharp too in addition to restart vscode
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/OmniSharp/omnisharp-vscode/issues/313#issuecomment-271237202, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJExpaKw1TvJrMWrODQaeswiLBSN3R5ks5rQflBgaJpZM4IdMcI.

one more thing, regarding documentation - you can also use omnisharp.json from schemastore.org here http://json.schemastore.org/omnisharp
@DustinCampbell I think this issue can be closed as it seems everything needed here has been explained/addressed.
Omnisharp.json auto-reload is tracked in the omnisharp repo https://github.com/OmniSharp/omnisharp-roslyn/issues/366#issuecomment-268984041

so, why won't the omnisharp.json file be configured globally?
Sent from my iPhone

On 9 Jan 2017, at 22:01, Filip W<EMAIL_ADDRESS>wrote:
one more thing, regarding documentation - you can also use omnisharp.json from schemastore.org here http://json.schemastore.org/omnisharp
@DustinCampbell I think this issue can be closed as it seems everything needed here has been explained/addressed.
Omnisharp.json auto-reload is tracked in the omnisharp repo OmniSharp/omnisharp-roslyn#366 (comment)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

it will - this is tracked in separate issue already https://github.com/OmniSharp/omnisharp-roslyn/issues/717

Sounds good @filipw. Closing this issue.

@filipw Have you include schemastore/omnisharp into jsonvalidator contribution point of vscode extension yet?

Nope. That's my fault. I've commented on the PR.


"GraphiQL" name?

I understand it's a play on the word graphical but it has the potential for a lot of confusion, particularly for those new to GraphQL.
I've personally seen a few people confused with https://github.com/apollographql/graphql-server because of its vars named graphqlKoa and graphiqlKoa, and it's far more difficult to find information about  GraphiQL on Google it than it needs to be.
It even seems like GraphiQL itself has to italicize the i due to this. How many people have you heard say Graph-I-QL?
Curious to hear others opinions on this?

Thanks for posting, @scf4. It's definitely true that "GraphiQL" is visually — perhaps even audibly —
quite close to "GraphQL" itself, but like you say, the play on words is quite intentional. As you probably understand, changing the project name isn't something that we'd consider practical at this time, so problems like the variable naming issue that you raised should really be solved locally within that project, either by picking other names, or using other means (code comments, code structure etc) to make things clear.
Google seems to have no trouble returning GraphiQL-related search results (even if it does ask "Did you mean: graphql"?). Are you suggesting that people may have difficulty typing the word, or that they may not even know what it is called? If the latter, what search terms would you expect people to use to find it? For me, "graphql ide" yields GraphiQL as the second result (and a project called, er, "graphql-ide", as the first) so that sounds about right.

It even seems like GraphiQL itself has to italicize the i due to this

As far as I know this is just a playful stylistic choice and wasn't done because we "had" to.
I'm going to close this for now because it's not clear what actionable item you are proposing, and we'd like to keep the issue tracker for concrete bugs and issues which we can take action on. But if you have suggestions for specific steps that we could/should take within this repo, please file issues for those.


Does Chronos run with Mesos v0.27 and v0.28?

The Mesos Upgrade guide describes several changes to their API:
v0.27:

Allocator API
More calls to the executorLost callback
The isolator prepare interface has been changed

Is Chronos affected by these changes? Or is anyone running Chronos on Mesos v0.27 or v0.28 in production?

FYI, we do run Chronos on Mesos 0.27.2 without any problem.

0.28.0 without issue here.

I have been running with 0.27 and then 0.28 for months. No problem.

Thanks for all the responses. We upgraded today and it works fine

Very useful ticket for running chronos with mesos 0.28, Thanks all.


Location service condition

Why is the location service of system used as a condition for entire service to run?

Condition CovidService.kt
Change listener LocationStateReceiver.kt

If the service is suppose to be privacy focused GPS shoudn't be a condition to have the application operational. Beside privacy the GPS radio is generally a battery killer.
It has been pointed out in google play review by Igor Khavkine

This is (sadly) required by Android, otherwise BLE scanning will not work. https://stackoverflow.com/questions/33045581/location-needs-to-be-enabled-for-bluetooth-low-energy-scanning-on-android-6-0
There is nothing that we can do about it, so I'm going to close this issue.

Beside privacy the GPS radio is generally a battery killer.

I'd like to add that as you're able to find this in the source code, you're surely able to also find that we DON'T use the GPS (and the listener you've pointed to reacts to change of the permission, not the location itself).

I am aware of your application doesn't use GPS data, but google's application does everytime GPS radio is on. So necessity to have GPS on allows other evil applications to use it and one has difficulty to master when these are allowd to spy on you and when not.
Anyway if google is so arogant that doesn't let android to use BLE without enabled GPS there is nothing you can do about it.

@cima Actually, I don't want to be a devil's advocate but there is a reason why Google did this - BLE advertising can be (in very limited scope) used to localization - read more at developers.google.com.


When will Solana and Polkadot be supported

When will Solana and Polkadot be supported

Sign API being chain agnostic is ready to support Solana and Polkadot. Updating sample apps is not on our roadmap currently but feel free to submit a PR with your implementation of extended sample apps.


Syntax & Line Highlighting

Closes #19
Closes #27
Closes #40

Closes #54
Closes #30 (should have been resolved earlier)
Closes #20


HMR code is added to stringified JavaScript in markup

Describe the bug
When JavaScript is in a string, HMR code is inserted into it.
<code>
{`
const product = 1 * 1;

export default product;
`.trim()}
</code>

is displayed in the browser as
const product = 1 * 1; import * as ___SVELTE_HMR_HOT_API from '/sveltekit-javascript-repro/node_modules/svelte-hmr/runtime/hot-api-esm.js';import { adapter as ___SVELTE_HMR_HOT_API_PROXY_ADAPTER } from '/sveltekit-javascript-repro/node_modules/svelte-hmr/runtime/proxy-adapter-dom.js';if (import.meta && import.meta.hot) { if (false) import.meta.hot.accept(); product = ___SVELTE_HMR_HOT_API.applyHmr({ m: import.meta, id: "/sveltekit-javascript-repro/src/routes/index.svelte", hotOptions: {"preserveLocalState":false,"noPreserveStateKey":["@hmr:reset","@!hmr"],"preserveAllLocalStateKey":"@hmr:keep-all","preserveLocalStateKey":"@hmr:keep","noReload":false,"optimistic":true,"acceptNamedExports":true,"acceptAccessors":true,"injectCss":false,"cssEjectDelay":100,"native":false,"importAdapterName":"___SVELTE_HMR_HOT_API_PROXY_ADAPTER","noOverlay":true}, Component: product, ProxyAdapter: ___SVELTE_HMR_HOT_API_PROXY_ADAPTER, acceptable: true, preserveLocalState: false, emitCss: true, }); } export default product;

Repro
https://github.com/kwangure/sveltekit-javascript-repro
Expected behavior
HMR code should not be injected into strings.

SvelteKit installation information
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Memory: 1.56 GB / 3.05 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 16.2.0 - /usr/bin/node
npm: 7.13.0 - /usr/bin/npm
npmPackages:
@sveltejs/adapter-static: ^1.0.0-next.13 => 1.0.0-next.13
@sveltejs/kit: ^1.0.0-next.113 => 1.0.0-next.113
svelte: ^3.38.2 => 3.38.2

Chrome

Severity
It's not severe, but it it annoying. It's possible to work around it by escaping/HTML-encoding the JS text.
I'm not sure whether this is something to be solved at the vite-plugin-svelte or svelte-hmr level. I can move the issue to the appropriate repro as needed.
Somewhat related issue: https://github.com/sveltejs/kit/issues/1654

svelte-hmr is responsible for doing its own HMR injection, and so I think that would be the best repo for this issue.

Noted. Issue filed. Thanks.


Alarmo doesn't work

Alarmo Version
v1.9.10
HA Version
2023.7. 3
Bug description
From the start I've been unable to start alarmo. When I click on any button to arm the alarm nothing happens. I'm not sure how to help you. If you need more information, let me know how to proceed. I've activated the log remount, restarted the alarmo plugin and this is what I see in the logs :
Logger: homeassistant.components.alarm_control_panel
Source: helpers/entity_platform.py:607
Integration: Alarm control panel (documentation, issues)
First occurred: 08:49:56 (1 occurrences)
Last logged: 08:49:56
Platform alarmo does not generate unique IDs. ID alarm_control_panel.alarmo is already used by alarm_control_panel.alarmo - ignoring alarm_control_panel.alarmo
Steps to reproduce
I tried deleting and reinstalling, same problem. I've checked the configuration.yaml file for duplicates, but I can't find anything. Once installed, sometimes it works, then the next day nothing and sometimes even reinstalling it doesn't work.
Relevant log output
No response

I have the same problem.
Home Assistant 2023.7.3
Supervisor 2023.07.1
Operating System 10.3

Not working for me either. I've tried 1.9.6 through 1.9.10.
Home Assistant 2023.7.3
Supervisor 2023.07.1
Operating System 10.3
Frontend 20230705.1 - latest

Have you unrecognized entitys? Just disable them and test again:
-> https://github.com/nielsfaber/alarmo/issues/773#issuecomment-1648482097

Please check the developer tools -> states and look for the alarm_control_panel.alarmo (or similar) entity.
The error message suggest that HA has created a duplicate entity alarm_control_panel.alarmo_2 (or similar).
If you find that alarmo 'doesn't work' this could be caused by the wrong/old entity being controlled, which has become unavailable.
This issue is also described here. Unfortunately I don't know what causes it, so I haven't been able to address this.

@Multipage

I've just spend hours trying to find out why i can't arm through Alarmo.

1 door was open....no error, no notification.

Strangely enough i was able to arm/disarm after a reboot without a problem with the door open

This all sounds pretty horrible, not at all the experience I intended to create.
Is this behaviour reproducible for you?
If so, could you create a separate bug report for it and share your findings?
I just opened a door and restarted HA, afterwards I couldn't arm because of this door. I wonder what is going on in your setup.
Generally, I recommend users to install the alarmo-card.
It's pretty much the same as the default alarm panel card in HA, but should give a clear feedback of what's going on:


Invalid claimed_id or identity

Invalid id
using the provided demo and example files, logging in fails every time. I didn't change  anything in those files, but I'm not sure which one to use, or to use both?
I'm using the newest 4.0 version, and a localhost to run everything, in the corner I get a message "User is not logged in."
I've read other issues but none of them contained the link I get: "http://localhost/?login&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=error&openid.error=Invalid+claimed_id+or+identity" All of them were getting different links and none of the were close to mine.
As I said the code I'm using is the same in demo.php and example.php with no changes to it at all.

Ever figure this out?


Problem with neurite

The current instructions for running the pipeline fail as it is because neurite is using a deprecated command of the inspect library:
https://github.com/adalca/neurite/pull/75
Was fixed with this commit
https://github.com/adalca/neurite/commit/abb5b5059175cbd8382a8f8373c3a7909053b4a6
But they don't seem to have an structured policy of releases:
https://pypi.org/project/neurite/#history
Maybe you want to pin that dependency so your fresh installation works with your demo dataset

Good catch. I've pinned forks of all of the voxelmorph dependencies in setup.py for precisely this reason. How did you install bifrost?

pip install -e . from the git local clone.


[DOCFIX] Fix a wrong link.

@aaudiber
This is an embarrassing mistake...sorry.

Merged build finished. Test PASSed.

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


"JSON: SyntaxError: Unexpected token:" for Gmail add-on

Pardon me; I'm not sure where I've gone wrong here.
I'm running an OAuth authentication server on my local machine accessed through ngrok.
I've defined my my OAuth service like this:
function getOAuthService() {
  userProperties = PropertiesService.getUserProperties();

  return OAuth2.createService('IntegrationService')
      .setAuthorizationBaseUrl('https://71638791.ngrok.io/OAuth/Authorize')
      .setTokenUrl('https://911ba796.ngrok.io/OAuth/Token')
      .setClientId('<CLIENT ID FOR PROJECT>')
      .setClientSecret('<CLIENT SECRET>')
      .setScope('https://www.googleapis.com/auth/gmail.metadata')
      .setCallbackFunction('authCallback')
      .setLock(LockService.getUserLock())
      .setCache(CacheService.getUserCache())
      .setPropertyStore(PropertiesService.getUserProperties());
}

which seems to work fine. When the authentication process is done on my server side I end up in my callback function (authCallback) which looks like this:
function authCallback(callbackRequest) {
 var authorized = getOAuthService().handleCallback(callbackRequest);
 if (authorized) {
   return HtmlService.createHtmlOutput(
     'Success! <script>setTimeout(function() { top.window.close() }, 1);</script>');
 } else {
   return HtmlService.createHtmlOutput('Denied');
 }
}

So far so good, but I always get the error:
Error: Token response not valid JSON: SyntaxError: Unexpected token: T (line 543, file "Service", project "OAuth2")
Which may be perfectly reasonable; the JSON that ends up getting passed as the callbackRequest request parameter is a bit unwieldy. It looks like this:
{
  "parameter": {
    "code": "f3af879162e8423289efa08e192c5ec4011ff7b3496e4a3f86ae35580ced2a38",
    "state": "ADEpC8xL-V6CzrQOSoC6sqOfAkvyR0FpE2C8P_IBh-JUVEskUtnocQllyYLKHsSKmJ3YkLNZjyl_9H07P03OdK3vIIvsgQ3Eth24ByjI4W-Lay4mGE_PJWtYa2_-G1wSR-0U4JBi9d7AxIT_X9xH7OwjQdoDEVq65MIzahmIb8xnKtBImByK8bKDz4WY_3H-qf2Om5S-LkX4evSk-bbzUhfUSQzvngOYrUInBButIRGbDSWaCr4lST3O_pzRad5xDaDtb3gH45dqH7hjXMXtsEOMSitR4A-wHrNLlQEKNk7O_v77lFVtKCbyTWsZD5zqiBUi10PCf12PuF1MmEoIVLPL0XmjbNpEpg",
    "serviceName": "CityViewIntegrationService"
  },
  "contextPath": "",
  "contentLength": -1,
  "queryString": "code=f3af879162e8423289efa08e192c5ec4011ff7b3496e4a3f86ae35580ced2a38&state=ADEpC8xL-V6CzrQOSoC6sqOfAkvyR0FpE2C8P_IBh-JUVEskUtnocQllyYLKHsSKmJ3YkLNZjyl_9H07P03OdK3vIIvsgQ3Eth24ByjI4W-Lay4mGE_PJWtYa2_-G1wSR-0U4JBi9d7AxIT_X9xH7OwjQdoDEVq65MIzahmIb8xnKtBImByK8bKDz4WY_3H-qf2Om5S-LkX4evSk-bbzUhfUSQzvngOYrUInBButIRGbDSWaCr4lST3O_pzRad5xDaDtb3gH45dqH7hjXMXtsEOMSitR4A-wHrNLlQEKNk7O_v77lFVtKCbyTWsZD5zqiBUi10PCf12PuF1MmEoIVLPL0XmjbNpEpg",
  "parameters": {
    "code": [
      "f3af879162e8423289efa08e192c5ec4011ff7b3496e4a3f86ae35580ced2a38"
    ],
    "state": [
      "ADEpC8xL-V6CzrQOSoC6sqOfAkvyR0FpE2C8P_IBh-JUVEskUtnocQllyYLKHsSKmJ3YkLNZjyl_9H07P03OdK3vIIvsgQ3Eth24ByjI4W-Lay4mGE_PJWtYa2_-G1wSR-0U4JBi9d7AxIT_X9xH7OwjQdoDEVq65MIzahmIb8xnKtBImByK8bKDz4WY_3H-qf2Om5S-LkX4evSk-bbzUhfUSQzvngOYrUInBButIRGbDSWaCr4lST3O_pzRad5xDaDtb3gH45dqH7hjXMXtsEOMSitR4A-wHrNLlQEKNk7O_v77lFVtKCbyTWsZD5zqiBUi10PCf12PuF1MmEoIVLPL0XmjbNpEpg"
    ],
    "serviceName": "IntegrationService"
  }
}

I tried cutting out elements bit by bit until I was passing in
{"parameter":{"code":"d8a1211d314844cfb11eefd2cd2063369f743b67b6d140d7a2d010f50cb20d44"}}
but I still ended up with the same "Unexpected Token" error. This makes me believe that I am likely missing elements that I should add before the AuthenticationTokenCreateContext  gets sent back to app script.
Any idea what I missed? Apologies if I missed anything in the documentation.

So this error is being thrown by the code that parses the response from your access token endpoint:
https://github.com/gsuitedevs/apps-script-oauth2/blob/4f966522b36994b294826ebc55a3a6f9cadda775/src/Service.js#L540-L544
In your case that's the response from https://911ba796.ngrok.io/OAuth/Token. What you need to check is what response is that endpoint returning to Apps Script, and is it correctly formatted JSON. The response doesn't need to be JSON, but if you are using another format you need to specify that in your service configuration:
https://github.com/gsuitedevs/apps-script-oauth2#setting-the-token-format

Thanks, this did turn out to be an issue. I initially logged the JSON by calling stringify on the callbackResponse, and that validated in https://jsonformatter.org/, but the raw callback response that is not stringified does not, so I mislead myself.

Glad to hear you found the cause, closing this issue.


flutter and android version upgraded

Upgraded the flutter version and the required codes to run the project

Upgraded the flutter version and the required codes to run the project
@swayamshreemohanty what server address u have used for testing p2p call sample


Wifi AP Disabled from Subscription chang

fix build

+1
Because of this upgrade: https://github.com/CyanogenMod/android_frameworks_opt_net_wifi/commit/5a4704de82e9f1f49c575dcae6e7bde0637ab2a1 we get an error during assembly

yes :)

DO NOT merge pull requests without authorship
this commit belongs to https://github.com/CyanogenMod/android_frameworks_base/commit/a5979d69527d384d360574ecdec8b73f5fc9ec33
not you!
wait im uploading changes

yes no problem


Function Request: Export running ads as XML

Sorry if I'm the only one with the issue, but it'd love to be able to create an XML from ads in case of loss of original XML.
Give moi pointers and I'll try to add that feature to the project(?)
Close this if you think this isn't a necessary upgrade. (I'll delete the post)

Yeah, this would be great.  I have quite a few ads and need to transfer them over to the app.  It would be much more efficient if I could export them and them load them back in through the app.

I actually added some code that does this. In the current version, there is no option to repost ads that were already posted on kijiji. This code generates the xml payload from an already existing ad.
changing the repost method:
def repost(ad_id):
    # Get existing ad
    user_dir = os.path.join(current_app.instance_path, 'user', current_user.id)
    ad_file = os.path.join(user_dir, f'{ad_id}.xml')

    if not os.path.isfile(ad_file):
        payload = generate_post_payload(ad_id)
        flash(f'ad file {ad_file} did not exist, generated from ad')
        if not os.path.isfile(ad_file):
            flash(f'Failed to generate ad file')
            return redirect(url_for('main.home'))

    with open(ad_file, 'r', encoding='utf-8') as f:
        xml_payload = f.read()

    # Kijiji changed their image upload API on around 2022-06-27 to use a different image host. Ad payloads that
    # still contain the old image host URLs will be rejected unless the URLs are translated to the new image host.
    # For ad payloads that already use the new image host, this translation should have no effect.
    xml_payload = translate_image_urls(ad_id, xml_payload)

    # Delete existing ad
    kijiji_api.delete_ad(current_user.id, current_user.token, ad_id)
    flash(f'Deleted old ad {ad_id}')

    # Waiting for 3 minutes appears to be enough time for Kijiji to not consider it a duplicate ad
    delay_minutes = 3

    # Delay and then run callback to post ad again
    future_response = executor.submit(delay, delay_minutes * 60, {'payload': xml_payload, 'ad_id': ad_id})
    future_response.add_done_callback(post_ad_again)

    flash(f'Reposting ad in background after {delay_minutes} minute delay... Do not stop the app from running')
    return redirect(url_for('main.home'))

generating the payload:
def generate_post_payload(ad_id):
    data = kijiji_api.get_ad(current_user.id, current_user.token, ad_id)
    ad_orig = data['ad:ad']
    payload = {
        'ad:ad': {
            '@xmlns:ad': 'http://www.ebayclassifiedsgroup.com/schema/ad/v1',
            '@xmlns:cat': 'http://www.ebayclassifiedsgroup.com/schema/category/v1',
            '@xmlns:loc': 'http://www.ebayclassifiedsgroup.com/schema/location/v1',
            '@xmlns:attr': 'http://www.ebayclassifiedsgroup.com/schema/attribute/v1',
            '@xmlns:types': 'http://www.ebayclassifiedsgroup.com/schema/types/v1',
            '@xmlns:pic': 'http://www.ebayclassifiedsgroup.com/schema/picture/v1',
            '@xmlns:vid': 'http://www.ebayclassifiedsgroup.com/schema/video/v1',
            '@xmlns:user': 'http://www.ebayclassifiedsgroup.com/schema/user/v1',
            '@xmlns:feature': 'http://www.ebayclassifiedsgroup.com/schema/feature/v1',
            '@id': '',
            'cat:category': ad_orig['cat:category'],
            'loc:locations': ad_orig['loc:locations'],
            'ad:ad-type': ad_orig['ad:ad-type'],
            'ad:title': ad_orig['ad:title'],
            'ad:description':  ad_orig['ad:description'],
            'ad:price': ad_orig.get('ad:price'),
            'ad:account-id': current_user.id,
            'ad:email': current_user.email,
            'ad:poster-contact-email': current_user.email,
            # 'ad:poster-contact-name': None,  # Not sent by Kijiji app
            'ad:phone': ad_orig['ad:phone'],
            'ad:ad-address': ad_orig['ad:ad-address'],
            'ad:visible-on-map': 'true',  # appears to make no difference if set to 'true' or 'false'
            'attr:attributes': ad_orig['attr:attributes'],
            'pic:pictures': ad_orig['pic:pictures'],
            'vid:videos': None,
            'ad:adSlots': None,
            'ad:listing-tags': None,
        }
    }
    xml_payload = xmltodict.unparse(payload, short_empty_elements=True)

    # Save ad payload
    user_dir = os.path.join(current_app.instance_path, 'user', current_user.id)
    if not os.path.exists(user_dir):
        os.makedirs(user_dir)
    ad_file = os.path.join(user_dir, f'{ad_id}.xml')
    with open(ad_file, 'w', encoding='utf-8') as f:
        f.write(xml_payload)

    return xml_payload

The app now supports reposting ads which were originally created on the main Kijiji site. This feature has been added in v0.2.2.
There is no dedicated button to export an existing ad as an XML payload file, however any ad that is created via this app will automatically have its payload saved to the users instance folder.
If there are existing ads which were not created via this app, simply reposting them at least once will also automatically have their ad payload saved to the users instance folder.


Apache Hive Default Keyword Case Should Be Set To UPPER

Description
Apache Hive default keyword case is probably undefined.  Auto-convert keyword case is not working.

Apache Hive default keyword case should be set to UPPER.
DBeaver Version
Commuinity 22.2.0
Operating System
Windows 10
Database and driver
Apache Hive
Cloudera Driver
Steps to reproduce
Connect to Apache Hive
Type select [space] and observe the keyword case is not transformed to upper.
Additional context
Hive default keywords are UPPER and can be observed in the official language manual examples
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select

Hello @JesseFL
I can't reproduce, unfortunately.
Can you please check this setting?

@LonwoLonwo
My setting looks like yours, Code Completion is set to Insert Case Default.
Can you please check this setting?  Is your code formatter also set to default?

Also I am not using the included Hive driver, I am using 3rd party Cloudera driver.  Maybe that is related?

I am using 3rd party Cloudera driver. Maybe that is related?

It can be because the driver returns info about the default keywords case.
Can you please provide a video of your issue?

Here is a video.
Should I open as a bug with Cloudera team?

I can't reproduce your issue with hive-jdbc-uber-<IP_ADDRESS>-292

Probably this is how the Cloudera driver works.
I think you can just set all auto-complete settings from "default" to "upper".

Yes, I will.  Thank you for checking into it.

I have this issue now too. I was working up until a few days ago and I can't figure out what changed. All settings releated to formatting are set correctly but they do nothing anymore.


Handle stop timeout

Seems the stop messages and timeout have been only half baked. This resolves what I believe was originally intended.

Dupe #355. Fixed up in v6.0.23

Thanks for looking into this however #355 is not a duplicate of this. This request addresses stop where as 355 addresses start.
STOPTIMEOUT is never used. The response code returns success if kill is successfully called and not if mysql is successfully stopped and for some reason the print_stop_success function isn't used.
I do agree extending the timeout for stop is useful too

@someara is this better as a an issue rather than a merge request?

Let's keep it as a PR for now.. I treat them essentially same for the time
being.
I'll have some time to give this some proper attention later in the week.
-s
On Mon, Jun 22, 2015 at 5:15 PM, kcd83<EMAIL_ADDRESS>wrote:

@someara https://github.com/someara is this better as a an issue rather
than a merge request?
—
Reply to this email directly or view it on GitHub
https://github.com/chef-cookbooks/mysql/pull/343#issuecomment-114310168.


Fix BackendV2 support in runtime clients

Summary
Adds support for BackendV2 backends in the runtime clients.
Details and comments
This is the analogous PR to Qiskit/qiskit-nature#1116.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 92.086%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
4340

Relevant Lines:
4713

💛  - Coveralls