text:
Collection view with custom views not working

I was tried to send collection view with the custom cell but unfortunate show me only empty space.
`
let label = UILabel.init(frame: CGRect(x:0, y: 0, width:200, height:200))
label.text = "Test1"
label.backgroundColor = .red
                            let label1 = UILabel.init(frame: CGRect(x:0, y: 0, width:200, height:200))
                            label1.text = "Test 2"
                            label1.backgroundColor = .red
                            let selectedImages = [label1,label1]
                            let imageSize =
                                CGSize(
                                    width: 200,
                                    height: 200)
                            let views: [UILabel] =
                                selectedImages.map
                                    {
                                        image -> UILabel in
                                        let label = UILabel.init()
                                        label.sizeToFit()
                                        label.text = "asdfasdfasdfasdfasdf"
                                        label.backgroundColor = .red
                                        label.textColor = .red
                                        label.frame.size = CGSize(
                                            width: 50,
                                            height: 50)
                                        return label
                            }
                            _ = super.sendCollectionViewWithViews(views, numberOfRows: 2.0, isIncomingMessage: true)`

Any update ?

Any Updates on this?

authors: ahmadabudawod mdflores

repo: eBay/NMessenger


text:
Direct server return?

Hi!
Does fabio support direct server return? If not, is this a feature that will be included later?

No, and I don't have plans for it right now since this wouldn't be a simple addition to the existing proxies. I've used that approach in previous setup but that required iptables configuration. What's your use case?

I don't have a specific use case yet, other than deliver a huge amount of content lightning fast.
And I understand if it not the top10 of your features since it requires a very specific environment to operate in. (hosting partners doesn't often like the idea to implement asymmetric routing).

So far our experience has been that fabio does not add much to the latency. It isn't zero copy but if you deploy it to each of your frontend nodes it might just work.

Another important use case for using DSR is not to be limited by the load balancer interface speed but be able to push content with the bandwidth of *.
Btw, thank you for a good job, fabio seems very nice and i really like the integration with consul.

yeah, but if you deploy fabio onto the content servers directly you also don't have that problem. Then it only depends how you distribute your incoming requests. That may be possible with DNS RR but I haven't done that kind of stuff for a while.

And thanks for the compliments :)

I'm going to close this since I'm not sure at the moment how fabio would implement DSR other than manipulating the kernel routing table with iptables. Deploying fabio on the content servers comes close enough with the current architecture. Supporting zero copy proxying support may help but is platform dependent and the following thread makes it at least questionable whether there is sufficient benefit.
https://groups.google.com/d/topic/golang-nuts/Fa6AM71CsEg/discussion
Please feel free to re-open when you have more concrete throughput requirements where fabio is the bottleneck.

source: gharchive/issue

authors: magiconair rjes

repo: eBay/fabio

license: MIT

license_type: permissive

license_source: github-api


text:
setTargetHostsFromCmsQueryUrl() add token

For loading target hosts from CMS (YiDB), add support for authorization token.

Tested and deployed in production

repo: eBay/parallec

license_source: bigquery


text:
fastdds_python build failed

Dear Support,
Just follow the official steps to install fastDDS_python, and i get below error:
inished <<< fastcdr [1.68s]
--- stderr: foonathan_memory_vendor
Cloning into 'foo_mem-ext'...
HEAD is now at 0f07757 Release 0.7-3
Finished <<< foonathan_memory_vendor [13.8s]
Starting >>> fastrtps
[Processing: fastrtps]
[Processing: fastrtps]
Finished <<< fastrtps [1min 26s]
Starting >>> fastdds_python
--- stderr: fastdds_python
/home/ytx/Desktop/TOPICS/fastdds_python_ws/install/fastcdr/include/fastcdr/xcdr/optional.hpp:129: Error: Syntax error - possibly a missing semicolon.
make[2]: *** [src/swig/CMakeFiles/fastdds_python.dir/fastddsPYTHON.stamp] Error 1
make[2]: *** Deleting file 'src/swig/CMakeFiles/fastdds_python.dir/fastddsPYTHON.stamp'
make[1]: *** [src/swig/CMakeFiles/fastdds_python_swig_compilation.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< fastdds_python [0.79s, exited with code 2]
Summary: 3 packages finished [1min 41s]
1 package failed: fastdds_python
3 packages had stderr output: fastcdr fastdds_python foonathan_memory_vendor
1 package not processed

swig version is 4.0.2

@ytxloveyou
You must ensure that Fast CDR dependency is version 2.0.0. Otherwise you will get this error because Fast DDS Python increased to this major dependency in version 1.3.0. Please, check the versions in your workspace and consider closing the issue.

authors: JLBuenoLopez-eProsima ytxloveyou

repo: eProsima/Fast-DDS-python


text:
Support for dotnet 6.0

Currently, this package does not support dot net 6.0.
Is there any plan to update this package with the latest dotnet release?
We cannot move forward unless this package is updated.

Any update on this, the fact that there has been no migration to core is pretty concerning

@bikrambhandari48  @fusionware
https://github.com/eWAYPayment/eway-rapid-netstandard

@jiabiao I don't think that link is for asp.net core 6.0 or 7.0
This is crazy. We are still stuck on asp.net core 5. And cant move our project forward.

authors: bikrambhandari48 fusionware jiabiao

repo: eWAYPayment/eway-rapid-net

license: mit


text:
Trying to Install Xpand in Clean Azure VM

After installing Xpsh in a new Azure VM machine, when trying to install Xpand (Install-Xpand cmd), I receive the following error

it works if I use the -version option

there is a dedicated pipeline testing the installer https://dev.azure.com/eXpandDevOps/eXpandFramework/_build?definitionId=43., However it is disconnected at the moment due to the recent CI works. I will see to it, thanks

actually it looks like this issue most probably related to your network try open the firewall

it works if I use the -version option

oops I guess this was not it if you already installed. I get back to u once enab;e the pipeline

the pipeline is now green https://dev.azure.com/eXpandDevOps/eXpandFramework/_build?definitionId=43&_a=summary
added also a badge to monitor its status at the releases page

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.

authors: apobekiaris expand vimarx

repo: eXpandFramework/eXpand

license: MS-PL


text:
git required version is 2.20 but latest official is 2.14

GitLens Version:
5.4.1

VSCode Version:
Version 1.17.0
Commit be377c0faf7574a59f84940f593a6849f12e4de7
Date 2017-10-04T23:33:52.565Z
Shell 1.7.7
Renderer 58.0.3029.110
Node 7.9.0
Architecture ia32

OS Version:
Debian Jessie with Xfce (running on a Chromebook)

Steps to Reproduce:

start visual studio code
install git lens
error message appears saying "GitLens requires a newer version of Git (>= 2.2.0) than is currently installed (2.1.4). Please..."

The problem is that the latest official git version is actually 2.14.2 (https://git-scm.com/downloads)
I am using this extension on a macbook and I find it super cool, I wanted to have it too on my backup Chromebook, but it looks like the issue reported here will not let me do so :(

@0m4r I think there is some confusion with similar version numbers -- GitLens requires 2.2 or later, while it looks like you have 2.1.4 installed, while the latest version of Git as you noted is 2.14.2. So if you upgrade to a later version of Git you should be just fine

@eamodio you are correct. I did manage to update to 2.14 and now the gitlens error message is gone. Sorry for the confusion!

repo: eamodio/vscode-gitlens


text:
🛑 DeckM_en is down

In d475e6a, DeckM_en ($SITE_ENDECKM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DeckM_en is back up in a5d3ea8 after 19 minutes.

repo: eanbear/upptime


text:
release and summary if endpoint is bad return error

https://graph... had no blazegraph, but result was still green.
For the tenant upload of the graph results,  this should be a failure.

#110

repo: earthcube/scheduler


text:
TypeError: Cannot read property 'getBoundingClientRect' of undefined when used with AngularJS routes

When tourist.js is used with AngularJS routes, selecting an element as target fails if the target is contained in an external route resource that is loaded on demand.
Example step definition:
{
content: "Instructions",
highlightTarget: true,
nextButton: true,
target: $("#someid"),
my: "top center",
at: "bottom center"
}
When the tour is started from the AngularJS framework page and $("#someid") is not loaded yet (it is loaded when the route is selected, causing Angular to GET the html from the server and dynamically inserting it into the DOM), starting the step fails at the following lines in tourist.js:
BootstrapTip.prototype._getTargetBounds = function(target) {
var el, size;
el = target[0];
if (typeof el.getBoundingClientRect === 'function') {
...
el is undefined. I suppose this is caused by evaluating $("#someid") when the tour is created rather than when the step is created/shown. I added a delay in the previous step to make sure $("#someid") is defined when the step is created:
(in teardown() in previous step:)
setTimeout(function() { tour.next(); }, 2000);
The behaviour is that the tour pauses, the browser displays the new screen (loading the route fragment from server, inserting it into the DOM), 2 seconds later, the error is shown in the console:
Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined tourist.js:559
Tourist.Tip.BootstrapTip.BootstrapTip._getTargetBounds tourist.js:559
Tourist.Tip.BootstrapTip.BootstrapTip._caculateTargetPosition tourist.js:477
Tourist.Tip.BootstrapTip.BootstrapTip._setPosition tourist.js:460
Tourist.Tip.BootstrapTip.BootstrapTip.setTarget tourist.js:389
Tourist.Tip.Bootstrap.Bootstrap._setTarget tourist.js:290
Tourist.Tip.Base.Base.render tourist.js:78
Tourist.Tour.Tour.onChangeCurrentStep tourist.js:939
(anonymous function) tourist.js:5
triggerEvents backbone.js:209
Backbone.Events.trigger backbone.js:148
_.extend.set backbone.js:357
Tourist.Tour.Tour._showStep tourist.js:999
Tourist.Tour.Tour.next tourist.js:921
(anonymous function) tourist.js:5
(anonymous function) tours.js:84

@michaelkleinhenz did this work for you? I came to the same conclusion about the use of the setup() function, but when I try this (Backbone.js) the issue seems to persist.

Yes, still works, but with the tourist version from back in summer 2014. I didn't try it with a newer version.

authors: aajhiggs michaelkleinhenz

repo: easelinc/tourist


text:
Not getting all historical message of conversation

Description
hey there thanks advance for you time and help. i calling fetchHistoryMessages() but not getting all historical message specially the new one's also i have getLatestMessage() its working fine and showing me the latest message but when i call fetchHistoryMessages() i am not getting all the history message following i my code
let  paginationLimit = 45
let lastEvaluatedKey = ''
let convType = 0;
// getting messages from server
const conversation = await chatManager.fetchHistoryMessages(
convId,
convType,
paginationLimit,
lastEvaluatedKey,
);
console.log('RESPONSE[RETRIVE_CONVERSATION_MESSAGE]', conversation);
Note: just for testing i again switch back to version 1.1.1 its working fine i am getting all message currenlty i am using 1.1.2beta-4
Version
1.1.2beta-4
Output of npx react-native info
System:
OS: macOS 13.0.1
CPU: (8) arm64 Apple M1
Memory: 99.14 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.9.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.19.1 - /opt/homebrew/bin/npm
Watchman: 2022.09.05.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8815526
Xcode: 14.3/14E222b - /usr/bin/xcodebuild
Languages:
Java: 11.0.16.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.6 => 0.70.6
react-native-macos: Not Found
npmGlobalPackages:
Steps to reproduce
npx react-native run-android
yarn instal react-native-agora-chat
  // getting messages from server
  const conversation = await chatManager.fetchHistoryMessages(
    convId,
    convType,
    paginationLimit,
    lastEvaluatedKey,
  );

Snack, code example, screenshot, or link to a repository
https://github.com/
Platform

[X] All
[ ] Android
[ ] iOS

SimulatorOrDevice

[X] All
[ ] Simulator
[ ] Device

iOSVersion

[ ] All
[ ] iOS Earlier than 8
[ ] iOS 8
[ ] iOS 9
[ ] iOS 10
[ ] iOS 11
[ ] iOS 12
[ ] iOS 13
[ ] iOS 14
[X] iOS 15
[X] iOS 16 or above
[ ] Android Earlier than API Level 23
[ ] Android API Level 23
[ ] Android API Level 24
[ ] Android API Level 25
[ ] Android API Level 26
[ ] Android API Level 27
[ ] Android API Level 28
[ ] Android API Level 29
[ ] Android API Level 30
[ ] Android API Level 31
[X] Android API Level 32
[X] Android API Level 33 or above

hey there i am still facing this issue in 1.1.2-beta-5

The fetchHistoryMessages interface mainly added the direction parameter between version 1.1.1 and version 1.1.2. If you switch versions, ios recommends cleaning the cache. Problems can be checked by comparison. For example: start xcode or android studio, check the input parameters in debug mode, and compare the results.

repo: easemob/react-native-chat-sdk


text:
Q: How can I use editor

Hello I found this repo while looking for suitable tool for UI automation
I wanna test this editor but it seems web page isn't deployed
(https://editor-core.easylogic.studio/)
How can I use it?
Thank you :)

hi @TroyTae
please use this link.
https://editor.easylogic.studio/
ps.
I should check  for editor-core site;

Thank you!

authors: TroyTae easylogic

repo: easylogic/editor


text:
Array attr type seems to be broken

When defining an Array attribute type, exactly like the documentation states, the isDirty flag on the model is not being set to true when objects are pushed (e.g. this.get('model.keywords').pushObject(keyword)).
This is the implementation in question:
App.Post = Ember.Model.extend({
  tags: attr(Array,{defaultValue:[]})
});

I debugged ember-model a bit and found Ember.attr use of Ember.computed is not recalculating for changes to properties of type Array. https://github.com/ebryn/ember-model/blob/master/packages/ember-model/lib/attr.js#L55
Is there a better practice for persisting a model property array of primitive values?

A quick glance looks like the _dirtyAttributes get modified when the computed property is set. Pushing an object to an array does not actually replace the array, so your not calling set on the computed property.
So we probably need to add an arrayObserver to Array values. In order to set the dirtyAttributes when the array is modified.
A working around for now would be to replace the array on the model.
var keywords = this.get('model.keywords');
keywords.pushObject(keyword);
this.set('model.keywords', keywords.slice(0));

This has some performance concerns for large data sets, but it might be an acceptable workaround until this can be fixed.

Thanks, @raytiley. This was driving @matthewdordal and I nutty yesterday.

@ryanricard If you want dirty checking of arrays, they have to be modeled as hasMany relationships.

For reference, this is a duplicate of #259

authors: ebryn matthewdordal raytiley ryanricard

repo: ebryn/ember-model


text:
Add indicator if a spent tx input is old

Let's do:

pre XEC (fixed date, Nov 15 2020)
pre BCH (fixed date, Aug 8 2017)
5 years old (rolling date)

Or maybe we can show multiple at once as the fixed date ones are special as they become more rare over time.

Where are you thinking this would be shown? Like on the tx details page? next to the age?
And are you thinking like a little badge or something? Maybe if you hover on it it explains what it means?

Let's show it in 2 places.

Icon in 'Inputs' column on the /block/ page.
Some sort of visual indicator on/around the input(s) in the 'Transaction' section of /tx/.

Okay added. Let me know if any issues or design changes

We want it to be relative to the UTXO age and the date it was spent, not the date it was spent to today.

See how there's a little blue icon next to each input on this one: https://explorer.bitcoinabc.org/tx/282376c104a409f4bac4c026d4f7fcc8ac024ebe9d25482da082cf3f489ac49e
Obviously it's possible for a tx to have some old and some non-old inputs.

https://reviews.bitcoinabc.org/T2905

authors: Klakurka johnkuney

repo: ecashxec/explorer


text:
Add info how to initialize user session for cmem API use.

Adding the results of a debugging session with @robertisele to the documentation.

@rpietzsch  I will take over this branch and fix the rest ...

source: gharchive/pull-request

authors: rpietzsch seebi

repo: eccenca/cmem-plugin-python


text:
Manage Keycloak settings with something like Terraform

The current management of the Keycloak instance for development with realm JSON makes modifications, such as adding new clients a little complicated, partly due to things like organization specific roles being visible in the JSON when it is exported from Keycloak.
For ease of management and having a better visibility for what is required from Keycloak, it would be good to maintain the required Keycloak settings with Terraform or some other IaC solution.

or some other IaC solution.

I'd like to throw https://github.com/VirtuslabRnD/pulumi-kotlin into the ring.

Doesn't seem to support Keycloak provider yet.

Let me file an issue for that 😁

Doesn't seem to support Keycloak provider yet.

Let me file an issue for that 😁

They've implemented it already 😃

Nice!
Should we try it, or stick to some proven solution? They lay out it as experimental and proof of concept, but the use case is quite simple, so it's totally possible it works well enough. Any thoughts?

Should we try it, or stick to some proven solution?

The implementation is not just released yet in any case, but personally I think we're still in a situation where we could experiment a bit and give Pulumi generally and Pulumi-Kotlin specifically a try.
@sschu, I remember you were recommending Pulumi over Terraform to me once. Any opinion here?

What I like about Pulumi is the fact that you can write unit tests since you are using a real programming language in contrast to Terraform. An upside for Terraform is that there is already an OSS fork of it in form of OpenTofu (https://opentofu.org), not sure how the license situation will evolve for Pulumi.
On the Keycloak providers themselves I cannot really comment, I don't have any experience with either of them. Keycloak itself has an operator that also allows to provision in-Keycloak entities as K8s custom resources. But this is probably not helpful if you want to support other environments as well.
If you are already using Terraform or Pulumi, I would probably go with whatever you are currently using to not introduce too many technologies. If you are just introducing an IaC tool, it might make sense to also look at other use cases that might come up in the future.

I agree that it would be nice to have configuration as code for the Keycloak demo instances used in the Docker Compose setup. @mmurto Do you already have an idea how to run Terraform (or Pulumi) as part of the Docker Compose setup to configure Keycloak? That's something I have not done before.
Currently I found it the easiest to just use the Keycloak UI to make the required changes and then export the realm.

I agree that it would be nice to have configuration as code for the Keycloak demo instances used in the Docker Compose setup. @mmurto Do you already have an idea how to run Terraform (or Pulumi) as part of the Docker Compose setup to configure Keycloak? That's something I have not done before.
Currently I found it the easiest to just use the Keycloak UI to make the required changes and then export the realm.

Haven't tried it, but automatic way could be to have a service in Docker Compose that runs Terraform after the services are up.

This could be useful: https://github.com/adorsys/keycloak-config-cli

keycloak-config-cli is a Keycloak utility to ensure the desired configuration state for a realm based on a JSON/YAML file. The format of the JSON/YAML file based on the export realm format. Store and handle the configuration files inside git just like normal code. A Keycloak restart isn't required to apply the configuration.

There is currently a community survey running asking the community about their preferred tooling to configure Keycloak (see https://www.keycloak.org/2024/06/realm-config-manamagemtn-tools-survey). The results will be published, this might be interesting here.

LOL, I thought you made a typo in the URL, but I'd really "manamagemtn" (sic)!

Do you actually read URLs before you click on them? ;)

authors: mmurto mnonnenmacher sschu sschuberth

repo: eclipse-apoapsis/ort-server


text:
Use GTEST_SKIP for disabled tests

Brief feature description
In iceoryx we currently disable google tests by setting DISABLED_ as prefix in the name of the test case.
A better option is to use:
GTEST_SKIP() << "Some reason to skip this test with ticket number iceoryx/#10200";

[ ] Update all disabled test cases with the macro
[ ] Update documentation for Contributors

This is a great idea. This is also the perfect solution to skip tests for certain platforms. For instance we could introduce a platform enum in the iceoryx_platform and check without macros if we are on a certain platform and then disable the test with GTEST_SKIP().
This would be so much cleaner than the ifdef macros.

authors: dkroenke elfenpiff

repo: eclipse-iceoryx/iceoryx


text:
build failure

Hello,
I have an older version of the leshan project on my computer which works fine, but I also downloaded the newest code and now I get a failure in the integration tests.

Thanks in advance,
Jonas

Hi, sorry for delay but I was unavailable last 2 weeks.
I just tested to build master with :
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.9.1, vendor: Debian, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "5.7.0-0.bpo.2-amd64", arch: "amd64", family: "unix"

And it works for me.  :confused:
Did you finally succeed to make tests pass ?
Do you try with openjdk ?

Hi, sorry for delay but I was unavailable last 2 weeks.
I just tested to build master with :
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.9.1, vendor: Debian, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "5.7.0-0.bpo.2-amd64", arch: "amd64", family: "unix"

And it works for me.  :confused:
Did you finally succeed to make tests pass ?
Do you try with openjdk ?

Do you finally succeed to build Leshan ?

Do you finally succeed to build Leshan ?

Hi Simon, I just downloaded the newest version, and it's doesnt build. Still security issues and integration tests failed.
But i have an older version which works fine for me. Sorry for answering very late on this one :(
Btw. I think i have found an important bug which I will post soon.

Hi Simon, I just downloaded the newest version, and it's doesnt build. Still security issues and integration tests failed.
But i have an older version which works fine for me. Sorry for answering very late on this one :(
Btw. I think i have found an important bug which I will post soon.

let me try it out with openjdk

let me try it out with openjdk

tried with openjdk 15

tried with openjdk 15

I see you are testing this on windows. Maybe this is relative to this ? I never tested it on windows.
Just by curiosity via sharing screenshot instead of just copy/paste text :thinking:

I see you are testing this on windows. Maybe this is relative to this ? I never tested it on windows.
Just by curiosity via sharing screenshot instead of just copy/paste text :thinking:

well that's a good question :D hahaha, ye I think copy&pasting would be a to easy solution for my brain to come up.
Nah just kidding, I dont know. Guess copy&paste is the better and easier alternative.

well that's a good question :D hahaha, ye I think copy&pasting would be a to easy solution for my brain to come up.
Nah just kidding, I dont know. Guess copy&paste is the better and easier alternative.

Eventually you could try to change the file : leshan-integration-tests/logback-leshan-test.xml.
with something like : https://github.com/eclipse/leshan/issues/566#issuecomment-422337631
And retry to build hoping we will see if some logs help us to understand.

Eventually you could try to change the file : leshan-integration-tests/logback-leshan-test.xml.
with something like : https://github.com/eclipse/leshan/issues/566#issuecomment-422337631
And retry to build hoping we will see if some logs help us to understand.

Looks like there's a DTLS issue, the generated x509 certificate during integration tests is not validated (see log file)...
leshan-build-fail-SecurityTest-debug.txt
I'll see if Windows updates may be responsible for this as I haven't changed any tls/crypto-related packages or libraries myself

Could you move your comment at #1461 :pray:  ? (I guess this is a mistake)

repo: eclipse-leshan/leshan


text:
[Fix|sde-backend] Docker Image changed

Description

Docker image changed to fix vulnerability.
fix for CVE-2023-38545,CVE-2023-4911

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Looks good

Looks good

merge after #87

@tomaszbarwicki  Please review and merge the PR. Changes has been done.


text:
fix(company subscriptions): wrong hyperlink and role in subscription details

Description
Change role and path for technical user details in companySubscriptionDetails.

view_tech_user_management (instead of view_user_account)
techUserDetails (instead of userdetails)

Why
The section is showing a list of technical users instead of portal user. Links and roles do not fix the intended purpose.
Issue
Closes: eclipse-tractusx/portal-frontend#1219
Checklist

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

danke für das finding :)

authors: MaximilianHauer typecastcloud

repo: eclipse-tractusx/portal-frontend


text:
EDC - Add “isNoneOf” as additional implemented operand for BusinessPartnerNumber checks

Requestor: @wern
Description
It is currently possible to add a BusinessPartnerNumberConstraint to AccessPolicies or even UsagePolicies (aka. ContractPolicies). However, so far only one operator, namely “eq”, is supported here (see org.eclipse.tractusx.edc.validation.businesspartner.functions.BusinessPartnerNumberPermissionFunction):
{
    "@context": {
        "@vocab": "https://w3id.org/edc/v0.0.1/ns/"
    },
    "@id": "7cb20eb1-08db-4532-bd74-ad480f551654",
    "policy": {
        "@context": [
            "https://www.w3.org/ns/odrl.jsonld",
            {
                "cx-policy": "https://w3id.org/catenax/policy/v1.0.0/"
            }
        ],
        "@type": "Policy",
        "profile": "cx-policy:profile2405",
        "permission": [
            {
                "action": "use",
                "constraint": {
                    "leftOperand": "BusinessPartnerNumber",
                    "operator": "eq",
                    "rightOperand": "BPNL00000000XXXX"
                }
            }
        ]
    }
}

What we need here is the ability to define access for ANY OTHER than the BPNs mentioned. In our case: all BPNs that have no biletaral contracts. Having the ability to formulate this in a “negative” way would ease our administration efforts extremely. The additional implementation of the operator “isNoneOf” would be needed to achieve this:
{
    "@context": {
        "@vocab": "https://w3id.org/edc/v0.0.1/ns/"
    },
    "@id": "7cb20eb1-08db-4532-bd74-ad480f551654",
    "policy": {
        "@context": [
            "https://www.w3.org/ns/odrl.jsonld",
            {
                "cx-policy": "https://w3id.org/catenax/policy/v1.0.0/"
            }
        ],
        "@type": "Policy",
        "profile": "cx-policy:profile2405",
        "permission": [
            {
                "action": "use",
                "constraint": {
                    "leftOperand": "BusinessPartnerNumber",
                    "operator": "isNoneOf",
                    "rightOperand": [ "BPNL00000000XXXX", "BPNL00000000YYYY", "BPNL00000000ZZZZ" ]
                }
            }
        ]
    }
}

Impact
A simple addon, impact is basically locally and potentially with components that support policy definitions
Additional information

[X] I'm willing to contribute to this feature

@lgblaumeiser thanks for raising this issue!

Presented in the DRAFT Feature Freeze -> Committer is available

supporting additional operators in the BPN permission functions, isNoneOf amongst others, is probably a good idea, if only for the sake of feature completeness. In fact, there is an issue about it (https://github.com/eclipse-tractusx/tractusx-edc/issues/1426).
However, the same behaviour can already be achieved by using the BusinessPartnerGroupFunction (documentation). It is the recommended way to define constraints on BPNs, because it does not require updating the policy when the group of BPNs is to be changed.
Specifically, to define an exclusion group, one would simply assign that group to each of the affected BPNs:
curl -X POST <BASEURL>/business-partner-groups \
-d '{
  "@context": {
    "tx": "https://w3id.org/tractusx/v0.0.1/ns/"
  },
  "@id": "tx:BPN000001234",
  "tx:groups": [
    "exclusion_group"
  ]
}' \
-H "x-api-key: supersecure"

and then declare a policy constraint like this:
{
  "@type": "http://www.w3.org/ns/odrl/2/Constraint",
  "leftOperand": "https://w3id.org/tractusx/v0.0.1/ns/BusinessPartnerGroup",
  "operator": "http://www.w3.org/ns/odrl/2/neq",
  "rightOperand": "exclusion_group"
}

then, when more BPNs are to be excluded in the future, it is sufficient to assign them the exclusion_group and that's it.

@wern Can you comment on Pauls previous comment? In general, there is already everything in place to support your functional need. And actually, using groups is potentially the better way to handle this, as in your proposal you request to address a whole group of BPNs in the policy atom.

Instead of Werner, I answer.
We will use Pauls suggestion.
@paullatzelsperger Thanks for your proposal.

@paullatzelsperger
@lgblaumeiser
@wern
We had implemented our feature with BusinessPartnerGroup, but it doesn't work, because there are some implementation details(i think bugs) in org.eclipse.tractusx.edc.validation.businesspartner.functions.BusinessPartnerGroupFunction#evaluate which make problems
#https://github.com/eclipse-tractusx/tractusx-edc/blob/07cdb518905cfe8568655ac043bf2c309e8debf0/edc-extensions/bpn-validation/bpn-validation-core/src/main/java/org/eclipse/tractusx/edc/validation/businesspartner/functions/BusinessPartnerGroupFunction.java#L124
    var bpn = participantAgent.getIdentity();
    var groups = store.resolveForBpn(bpn);

    // BPN not found in database
    if (groups.failed()) {
        policyContext.reportProblem(groups.getFailureDetail());
        return false;
    }
    var assignedGroups = groups.getContent();

    // BPN was found, but it does not have groups assigned.
    if (assignedGroups.isEmpty()) {
        policyContext.reportProblem("No groups were assigned to BPN " + bpn);
        return false;
    }

    // right-operand is anything other than String or Collection
    var rightOperand = parseRightOperand(rightValue, policyContext);
    if (rightOperand == null) {
        return false;
    }

If the bpn has no groups, the first if will result to false, which is not correct for org.eclipse.edc.policy.model.Operator#NEQ and other cases (use of InMemoryBusinessPartnerStore, i think the second implementation SqlBusinessPartnerStore behave the same, not tried, if not the second if came to the same wrong result)

@saschagr could you file a bug report in the Tx-EDC repo?

Issue found below is addressed in https://github.com/eclipse-tractusx/tractusx-edc/issues/1411, as a solution exists, this is closed

authors: lgblaumeiser paullatzelsperger saschagr stephanbcbauer wern

repo: eclipse-tractusx/sig-release


text:
Offer registry reload for admins in frontend

As administrator,
I want to be able to trigger a registry reload,
so that I can synchronize all parts with the EDC.
Hints / Details

Registry reload triggered from admin section
Frontend shows which asset ids are affected by the reload

Acceptance Criteria

[ ] Registry reload can be triggered from admin section
[ ] Frontend shows status of registry reload and affected parts

To be clarified

Concept needed?
Registry reload only for single parts? In parts table -> Action "Synchronize" as admin action

Out of Scope

...

Functionality will be added in https://github.com/eclipse-tractusx/traceability-foss/issues/786 instead

repo: eclipse-tractusx/traceability-foss


text:
PR ESS FE

As PO,
I want that the PR is reviewed and comments,
so that the the code is integrated within tractus-X project
Hints / Details

Code Base has been checked
https://github.com/eclipse-tractusx/traceability-foss/pull/382 – This one is already denied

Acceptance Criteria

[ ] Code Base has been reviewed
[ ] Code is not in the main branch, it is in a separate spike branch

Out of Scope

...

Hi @mkanal / @jzbmw is there anything needed from our side. Currently I see no updates on the branch. As we as trace-x still developing new features on our main code base, the pr needs to be synchronized with the latest code base. Otherwise we are not able to successfully merge it into a seperate branch.

@jzbmw what shall we do with this ticket.

As discussed and decided by @jzbmw in the daily the feature was merged based on a static code analysis.
We did not test this feature and therefore cannot guarantee that it works.
Pull Request have been merged. Therefore we can close this story.

authors: ds-mwesener mkanal


text:
Ability to modify routes when running

[x] modifying (add, delete, edit) routes once running

Covered in #8

repo: eclipse-uprotocol/up-streamer-rust


text:
Provide backward compatibility for install deps

With this PR we could upgrade the C++ SDK to the latest version of devenv-devcontainer-setup without using the build-system which requires further work.
Changes calling velocitas exec build-system install to ./install_dpendencies.sh, which triggers

the build-system in repos which already support this
the old-style script in those repos which don't.

Works, see draft PRs:
https://github.com/eclipse-velocitas/vehicle-app-cpp-sdk/pull/105
https://github.com/eclipse-velocitas/vehicle-app-cpp-template/pull/116

@BjoernAtBosch whats the matter with build-system?

@BjoernAtBosch whats the matter with build-system?

There are issues in the workflows requiring the conan profiles in the old place and some other mismatches that were not easily fixable (at least not for me)

authors: BjoernAtBosch doosuu


text:
SameDiff: Add DType arg for ZerosLike, OnesLike, OneHot ops

Supported now at the libnd4j level:
https://github.com/eclipse/deeplearning4j/issues/8605
https://github.com/eclipse/deeplearning4j/issues/8607
We should update SDBaseOps zeros/ones like methods to have an extra overload with dtype arg:
https://github.com/eclipse/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/ops/SDBaseOps.java#L3085-L3107
And also the class constructors, for example:
https://github.com/KonduitAI/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/shape/ZerosLike.java

Implemented.
I assume Range op was implemented earlier:
        return new Range(sameDiff(), from, to, step, dataType).outputVariable();
    }

authors: AlexDBlack alexanderst


text:
Client container can not be pushed currently

Just for tracking, real ticket here https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1366

Fixed


text:
Spec change : Use POST for registration Update instead of PUT

The spec has changed since V1_0-20150615-D version, the registration update must be a CoAP POST instead of CoAP PUT.
We now accept PUT and POST to be compatible with older version of the spec.

:+1:

repo: eclipse/leshan


text:
Request for microprofile.io post review

Announcing Language Server for Eclipse MicroProfile and the Tools for MicroProfile VS Code extension - https://microprofile.io/wp-admin/post.php?post=6624&action=edit

Hola Ryan @rzgr,
Your blog is now published-- Congratulations on your very first content MP wordpress blog, amazing content!
when you tweet, please keep in mind to use @[MP handle] so that the project gets the notification and if relevant, your BLOG is relevant, re-tweet you.
During the blog review four (4) things need your attention:

Your MP wordpress account requires your picture (see below), can you please update your profile?

Title change to Announcement:  AND MicroProfile stands alone as just MP, its original name under the MPWG. I have taken the liberty to cut Eclipse from the name, yet please keep in mind the name on future MicroProfile work. :)

As a writer, assume the reader knows nothing and do add the links of projects mentioned etc. I added the 3 projects links directly for you and expect you to keep this in mind on future contributions.

Your blog helps add LSP4MP as a new category in the MP blog. Thanks! - remember on next iteration to look for all cathergories and submit requests (via this channel) for missing ones when you think necessary. I added the projects you mentioned in the intro as categories as well, see below how your contribution is counted.

Stay safe and rocking,

@aeiras Realized I forgot to update the banner image after the extension was renamed to Tools for MicroProfile 😅 Is it possible to get the banner image updated to this:

I dont seem to be able to edit the post now that it is published.

authors: aeiras rzgry

repo: eclipse/microprofile-marketing


text:
[Test issue] Trying out a task list for release stuff

[x] Update MicroProfile presentation and save it in the right folder (technical person) https://github.com/eclipse/microprofile-marketing/issues/547
[x] Import the presentation to the landing page and resources page of the website https://github.com/eclipse/microprofile-marketing/issues/547
[x] Draft a release announcement blog post using template (technical person)https://github.com/eclipse/microprofile-marketing/issues/548
[x] Create release announcement design card https://github.com/eclipse/microprofile-marketing/issues/546
[x] Update MicroProfile homepage with release announcement design card
[x] Edit/Publish release announcement blog post on the MicroProfile Blog
[x] Announce release on social media using Hootsuite (Twitter, Linkedin, Facebook) https://github.com/eclipse/microprofile-marketing/issues/542
[x] Write an update to the MP Community Forum about the release
[x] Update the MP Calendar with the Release Date (committer)

Note: when I checked on August 12:
It appears the 4.1 presentation is in the latest version folder here and it appears the 4.0 presentation is in the 2020 Releases folder here
It appears the Tweet with the designed social card about the announcement has been published here:
And that the Microprofile.io homepage has been updated and the blog announcement published.

Debbie, If you haven't used them, you might also want to look at GitHub project boards. They are quite useful when there are lots of relatively independent tasks -- and the view / presentation formats are pretty nice to work with.

Thanks @edbratt  Doesn't look like I would have the right access level to create an organization or repository level project board - just a personal one.  From what I can tell only Pull Requests would be automated into the kan ban style view (to do, in progress, done) and I think we'd have to add individual cards to track issue progress. my goal is to reduce the number of  "things" and issues we have for each task. Will investigate some more!

Debbie and Ed,
I have created the Releases project (it was needed anyways)  https://github.com/eclipse/microprofile-marketing/projects
Once we make every active contributor  (Ed and I task) able to assign issues to projects & to people, (no need for committer access) tickets can follow a clear path for all work on Releases.
Debbie, I really like the template you have created on this ticket that holds all the release tickets into 1 place as well.
Note that it is important that every task holds a ticket as a lot of work and exchanges take place and will be buried if using just 1 ticket.

Yes. I really love the overview template you created. + 1 from to put it into action.
To broaden the scope,  you could choose to send this ticket to the marketing forum.  The Release Kaban is now available to hold all tickets for the tasks based on your work.
Amazing timing. If you set the template today, we can use it.
We only just got done with the 4.1 blog review. :)  the team is  moving to the final tasks.
Related to clean up and easier navigation, please, at your leisure, if you could look at the projects (currently 9 created), maybe you could see what other tasks are complex in part that could use an overview template similar to the one you created for the Releases, AMAZING!

Kaban https://github.com/eclipse/microprofile-marketing/projects/9

@debbiehoffman,
Are you ok with the creation of the git issue template in this repo as shown above?
If blocked, please let us know how to help.
+1 on moving forward with the list you have provided based on tickets and on mp 4.1 release work.

Do you mean add it here? https://github.com/eclipse/microprofile-marketing/projects/9  It doesn't seem to let me do anything but view that.

nope, Debbie.
These are 2 examples of templates we ought to create with your list that will be used each time a release is coming.
https://github.com/microprofile/microprofile-wg/issues/new/choose

@aeiras  I won't be able to create template tasks for those without having a list of what we do for Compatible Certification Request or Specification Review Issue, as I don't know what those tasks would be. If someone would like to make a list of those items or point me to an existing documentation that shows the process (like we have for marketing releases) I could create them.

Hola @debbiehoffman,
The steps are the ones written in the marketing google doc that is welcoming review. Already used by Emily and Edwin. Every ticket created that you linked to the above list is part of the pilot.
Happy to answer more questions on today's discussion.

According to the GitHub docs -- templates need to be set up by someone with config/owner permission on repositories. For the github.com/eclipse/microprofile-marketing repository -- does anyone have that role, or is this reserved to Eclipse administrators (i.e. we'd want to file an Eclipse bugzilla ticket).
Here is the GitHub doc page on Templates.
The templates themselves are just markdown. I just noticed there is an emerging feature to create a form page -- that might be useful but I don't know what the 'beta' restrictions are.
So -- one task will be to finalize the markdown file (probably just a copy of the file above); then separately, we need to enable this on the right repository.

It is same as other files. Just create a PR and committers can merge in the PR after the approval.

@Emily-Jiang  would I just go here https://github.com/eclipse/microprofile-marketing/pulls  and do "new pull request" and ask that someone take the checklist and turn it into a template in the marketing repository?

In your PR, you create the template yourself. If you have issues, I can create a PR so that you know how to do it in the future. Just let me know @debbiehoffman

hi @Emily-Jiang  I have no idea how to do a PR. Can you help me with that or create the PR so we can set up the template issue?

hi @Emily-Jiang I have no idea how to do a PR. Can you help me with that or create the PR so we can set up the template issue?

Hi @debbiehoffman , in case still need it, this is the documentation I merge a couple of months ago with details on how to create a PR on any microprofile related GitHub project: https://github.com/eclipse/microprofile/blob/master/how-to-pr.adoc

authors: Emily-Jiang aeiras cesarhernandezgt debbiehoffman edbratt


text:
Map not displayed using tabris-plugin-maps

Problem description
I created a simple test based on the example found on the Tabris.js Maps Plugin page. The build works and I think the plugin is working because the Google logo is displayed at the bottom right corner of the map container as can be seen in the screenshot:

The problem is that no map data is ever loaded. I suspect this is an issue with the Google Maps API Key but I have tried everything I can think of and it still doesn't work:

The same key works in a plain HTML/JS application.
The API Key is unrestricted (with a warning icon next to it in the Google API Console).
The config.xml includes the line <variable name="ANDROID_API_KEY" value="$ANDROID_API_KEY" />.
The actual API Key was correctly pasted into the Tabris project settings as ANDROID_API_KEY.
I even tried changing the the name of the name of the API Key in the Google Console from API key to ANDROID_API_KEY.

Expected behavior
I don't think is is actually a Tabris problem but I've been hammering at this problem on and off for a couple months and have gotten to the point where I have to get it working or switch to another platform. Hopefully, someone has some ideas about what is wrong.
An old, closed issue #840 mentions the same problem and the post by jonek on on Jun 26, 2016 states:

You have to associate the API key with either a production or debug key you use when building your app. When you use a debug key, it has to be a key created by your own and registered with https://tabrisjs.com so the build services does not create a new debug key for each build under the hood (default behavior if you do not specify a key explicitly).

This is what led to me changing the name of the variable in the Google console from API key to ANDROID_API_KEY but it seems possible @jonek meant something entirely different.
Environment

Tabris.js version: 2.5.1
Device: Samsung Note 8
OS: Android 8.0.0

The gray screen usually indicates an invalid key.  tabris-plugin-maps#12 has some good troubleshooting tips; the logcat output will most likely point to the issue.

The same key works in a plain HTML/JS application.

That's not necessarily and indicator that the key is "good"; the Google API console allows you to lock down the key in various ways.  If you have it set, for example, to HTTP referrers, it won't work in an Android app.

The actual API Key was correctly pasted into the Tabris project settings as ANDROID_API_KEY.

Just to confirm, you're using the cloud build service and are referring to the Environment Variables section?

I even tried changing the the name of the name of the API Key in the Google Console from API key to ANDROID_API_KEY.

The name in the Google API console has no effect.

@cookieguru Thanks for the help -- the issue at  tabris-plugin-maps#12 is identical to mine.
From that post:

To see if your key ended up in the app correctly you can open the created apk in AndroidStudio (drag and drop onto it in latest beta version) and see if the AndroidManifest.xml has an entry

I just checked and the entry does exist in the generated APK file.

... the Google API console allows you to lock down the key in various ways. If you have it set, for example, to HTTP referrers, it won't work in an Android app.

None of the Google API keys I've tried are locked down in any way. All have the warning icon next to them which states "This API key is unrestricted. To prevent unauthorized use and quota theft, restrict your key to limit how it can be used."
This is clearly an issue with API key so I really appreciate your help in getting it to work. A couple of the messages seem to indicate a specific SHA1 key is needed and that it needs to be "tied" to the Google API Key. Since the Google key is unrestricted this should not be needed. Am I missing something here?
These posts from Issue 12 make me question if that is true:

I have a keystore file using which i got the SHA1 keys.
Then in console.google.com, i got a android API key and attached the package of my app and the SHA1.

That is promissing... The cloud build currently uses an internal debug keystore when building in debug mode. Please make sure to build a release version (or add the sha1 from the build apk in the google dev console).

These posts date from 2016 so maybe that was before you could specify a Development Signing Key? Please verify this should be able to work with a DEBUG apk and the default signing key.

Which type of Google Maps key did you generate? You need a Maps SDK for Android key.

I created a google maps API key with no restrictions at all. Are you saying I have to create an API key specifically for Android?

I can confirm that I have generated a debug build of a Tabris.js app working with a Google Maps key. I'm using an autogenerated development signing key.

Did you somehow tie the development signing key to the google API key on the google console page? I know it would be a lot of work but a step by step guide showing what to do on both sides (Google console and Tabris console) would be really helpful. If I ever get this working, I'll take a shot at it.

Logcat output should provide a better description of the problem.

Sorry, my background is not Android development so I'm not really certain how Logcat works. I installed Logcat Reader but don't really know how to view logs from my Tabris test app. Will investigate that and the possibility of generating an Android-specific API key in a few minutes.
Thanks again for your time.

@cookieguru
OK, figured logcat out and found that it is definitely a Google Maps Android API Authorization failure.
Next step -- figure out how to fix it...

SUCCESS
I'm not 100 percent certain exactly how I got it working but it had to do with enabling Android for the specific Google API Key I was using. This was accomplished from a different page of the console which was reached by following links specified in the logcat entry. Note that it had nothing to do with restrictions on the API key.
Now that a basic example is working, I will work on providing some kind of documentation to help anyone else who might not be familiar with the process.
Thanks again for the help.

I added a post to the end of issue 12 of the tabris-plugin-maps describing what steps were needed to make this work.

This would make a great PR to the tabris-plugin-maps docs.

New (somewhat) related issue
The tabris-plugin-maps plugin does not provide GPS based geolocation services. It looks like you can enable the Google Geolocation API in a manner similar to enabling Android Maps but this doesn't include GPS. From the google docs:

Find a location and accuracy radius based on information from things like cell towers and WiFi access points that a mobile client can detect with the Geolocation API. This is primarily used where GPS is not possible or appropriate.

From what I can tell, you have to use another plugin to actually get GPS geolocation data such as the device's current location. Issue #960 from 2016 mentions this plugin which was last updated two years ago.
If I do nothing more than add a reference to that plugin, the app will no longer build using the online service. The line I added to the config.xml file was
<plugin name="cordova-plugin-locationservices" spec="^2.1.0" />
In the detailed log, the first line after the warning about the build failing was a note that some input files were using a depreciated API. I thought this might be caused by the out-of-date plugin so I also tried android-location-provider which was last modified 13 days ago.
<plugin name="android-location-provider" spec="^1.0.1" />
Unfortunately, this led to the exact same error message after it failed to build.
Again, the app builds just fine if neither of these plugins are included. Does anyone know of a cordova plugin which includes geolocation services that actually works with Tabris?

Can you clarify what you mean by geolocation services?  Are you just trying to get the current location of the user?

Can you clarify what you mean by geolocation services? Are you just trying to get the current location of the user?

Yes, I just want to get the location of the device using GPS -- not based on WiFi or cell towers.

Does the method I linked to work for you?

So far, enabling the Geolocation API has done nothing but the docs say it could take a while. In the meantime I also tried setting the map plugin's showMyLocation property to true BEFORE attempting to access myLocation. This resulted in a warning message in the Tabris app's console

Could not set properties on com.eclipsesource.maps.Map (Reason: android.permission.ACCESS_FINE_LOCATION not available)

According to the docs and several other Cordova related posts, the plugin is supposed to handle the permission settings so I don't really understand what is going on.
Incidentally, having a functional, robust mapping example in Tabris would be a huge reason for people to use the platform. I think if you could post a link to an actual working example on the Flutter support pages, numerous developers would be interested enough to check it out. It is one of the most requested features which is not adequately handled by the Flutter platform.

Doing a search on "MyLocation layer not enabled" led to a StackOverlow post which sheds some light on the subject.
Based on this, does the plugin just need to be modified so it asks for the appropriate permissions? If so, you could then use the showMyLocation and myLocation properties as indicated.

tabris-plugin-maps does not ask for permission: tabris-plugin-maps#18.  You need cordova-plugin-android-permissions for that, or you can enable it though system settings.  Or the plugin mentioned on the aformentioned issue.  I haven't used either.

Adding cordova-plugin-android-permissions took care of the issue.
For anyone else struggling with this here are the steps needed to get it working.
Add a reference to a plugin for managing android permissions to the cordova/config.xml file:
<plugin name="cordova-plugin-android-permissions" spec="^1.0.0" />
Add code which checks if the app already has permission to access fine location:
let permissions = cordova.plugins.permissions;

permissions.checkPermission(permissions.ACCESS_FINE_LOCATION, result => {
  if (!result.hasPermission) {
    permissions.requestPermission(permissions.ACCESS_FINE_LOCATION, result => {
      if (result.hasPermission) {
        // The myMap var is a reference to a Map created with new esmaps.Map()
        // Setting showMyLocation must wait until access to FINE_LOCATION is granted
        myMap.showMyLocation = true;
      }
    }, error => console.log(error));
  }
}, error => console.log(error));

Note that permission granting via this scheme is only valid for Android 6.0+. I have no idea what would happen if you target earlier versions.
@cookieguru  Thanks again for steering me in the right direction.

@maxapps In Android <6.0 users were not able to control which services apps had access to.  They were defined in AndroidManifest.xml and apps had full control over each service they defined (location, camera, etc) and the user was not able to revoke the permissions.

Great to see that you could figure it out. Closing this issue for now.

authors: cookieguru maxapps mpost

repo: eclipsesource/tabris-js


text:
tooltip通过formatter 如何动态修改文案颜色

提问前应该做的事
请确保提问前做了以下事，将完成的项目的 [] 改为 [x]：

[] 我已通读过 README
[] 我已阅读过 FAQ

需提供的信息
将符合项的 [] 改为 [x]，并补充需要的信息：
简单描述问题：
？？？
预期效果：
？？？
（如有需要请提供预期的图）
实际效果：
？？？
（如有需要请提供截图）
复现环境：

[] 在微信开发工具中存在该问题
[] 在真机上存在该问题

这个不是微信版本特有的问题

这个不是微信版本特有的问题

设置 renderMode: "richText",  动态显示自定义样式

这个不是微信版本特有的问题

设置 renderMode： “richText”， 动态显示自定义样式

没起作用 颜色不变

这个不是微信版本特有的问题

这个不是微信版本特有的问题

麻烦看一下我的截图

authors: Ovilia TiaoQiLaiBaoBei

repo: ecomfe/echarts-for-weixin


text:
官网实例 3版本中坐标轴设定max失效

http://echarts.baidu.com/demo.html#bar-stack
给yAxis 设定最大值
yAxis : [
{
type : 'value',
max:1500
}
]
BUT，数据柱子冒出grid外面了什么鬼

确实有这问题. 折线图如果设置了最大值,超过最大值的都不显示了,鼠标放上去显示真实值.echart2 是显示在最大值上 .echart2 这种方式更适合
http://echarts.baidu.com/demo.html#dynamic-data2
yAxis: {
type: 'value',
boundaryGap: [0, '100%'],
splitLine: {
show: false
},
max:1000
},

repo: ecomfe/echarts


text:
padelpy hangs with specific peptide sequence

Hi, novice user here.
when using PaDELpy it works most of the time for me but the following peptide sequence just hangs...and eventually times out.
string = rdkit.Chem.MolToSmiles(rdkit.Chem.MolFromFASTA('GLILVGGYGTR'))
desc = from_smiles(string)
To me i don't see anything obviously wrong with the smiles string that is generated by rdkit.
interesting if i take off the final Arginine (R) it computes fine.
Any ideas?

Hey @merritjm,
I'm not too familiar working with peptide sequences - what is the SMILES string that rdkit.Chem.MolToSmiles generates?
Travis

in the example above GLILVGGYGTR which fails the descriptor calc the smiles is:
CCC@HC@HC(=O)NC@@HC(=O)NC@HC(C)C
GLILVGGYGT which runs fine:
CCC@HC@HC(=O)NC@@HC(=O)NC@HC(C)C

authors: merritjm tjkessler

repo: ecrl/padelpy


text:
"Discord Send" node missing after 0.216.0+

After version 0.216.0, the interface underwent numerous changes.
The 'Add node' feature is not functional, and it will bring the trigger, 'Discord Trigger' instead.
The last workable version is 0.215.3.
A workaround is to import from the old version and duplicate the node.

Yep, I also noticed this issue, which resulted in a complete failure of my n8n workflows 😆
they maybe changed something in the 0.216.0 update

@dreamerc, it's fixed update your n8n to the latest update!

Great :+1:

authors: dreamerc thefourcraft


text:
Week 5 day 4 Morning session

Good job implementing the required stuff

Kindly update the link to the live demo because the current one does not have the css file

Kindly add the blur effect under the project details pop up

@edenlisk , good job implementing the required features
There are still a few changes to be made. ♻

How about you update the link to the live demo in your REAME.md file. The  current one does not have the css  file included.
Also, the images in your card components seem to be missing. It would be awesome if you could fix that 👌.
Moreover, Kindly add the blur effect under the project details pop up modal as per the Figma design.

repo: edenlisk/portfolio-eden-microverse


text:
Request: Remote 3d view

Is it possible to get the image(s) of the remote 3d view? This is not possible with the connecteddrive website but only available in the app.

Do you mean the 360 deg images of your car ?

It looks like this: [https://pics.computerbase.de/7/8/9/1/7/6-1080.758259505.jpg] There are 4 pictures taken from the front, rear and side cameras of the car. In the app I can either look at a rendered 3d image or export the 4 pictures to other apps (email, messenger etc)

Dear @edent .
How can I help to get the remote 3d view? Unfortunately I cannot capture the traffic to get the api call url and parameters due to certificate pinning or other protection in the app. How did you succeed? Any help would be appreciated! Thanks

@ronmichel I do not have an i3 any more. So I cannot help you with this.

authors: edent ronmichel thkl

repo: edent/BMW-i-Remote


text:
Convert sys-mgmt-agent to use common bootstrap package

Converts system management agent to use the common bootstrap package.
Intentionally reverts global variables eliminated by https://github.com/edgexfoundry/edgex-go/issues/1486
to be consistent with other core service implementations to simplify
intended post-conversion activity to remove global variables from
all core services.
Fixes https://github.com/edgexfoundry/edgex-go/issues/1810
Signed-off-by: Michael Estrin m.estrin@dell.com

Codecov Report

Merging #1812 into master will increase coverage by 0.31%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1812      +/-   ##
==========================================
+ Coverage   38.04%   38.36%   +0.31%
==========================================
  Files         163      164       +1
  Lines       12574    12471     -103
==========================================
  Hits         4784     4784
+ Misses       7531     7428     -103
  Partials      259      259

Impacted Files
Coverage Δ

internal/system/agent/init.go
0% <0%> (ø)
:arrow_up:

internal/system/agent/router.go
0% <0%> (ø)
:arrow_up:

cmd/sys-mgmt-agent/main.go
0% <0%> (ø)
:arrow_up:

internal/system/agent/config.go
0% <0%> (ø)

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 abc9af1...8c1ef46. Read the comment docs.

Rebased.

Rebased.

Codecov Report

Merging #1812 into master will increase coverage by 0.31%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1812      +/-   ##
==========================================
+ Coverage   38.04%   38.36%   +0.31%
==========================================
  Files         163      164       +1
  Lines       12574    12471     -103
==========================================
  Hits         4784     4784
+ Misses       7531     7428     -103
  Partials      259      259

Impacted Files
Coverage Δ

internal/system/agent/init.go
0% <0%> (ø)
:arrow_up:

internal/system/agent/router.go
0% <0%> (ø)
:arrow_up:

cmd/sys-mgmt-agent/main.go
0% <0%> (ø)
:arrow_up:

internal/system/agent/config.go
0% <0%> (ø)

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 39cfc93...bd622c4. Read the comment docs.

authors: codecov-io michaelestrin

repo: edgexfoundry/edgex-go


text:
Project Crud Operations.

Description of your changes

Fixes #
I have:

[ ] Read and followed Crossplane's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

pending:

Need To Decide Features Will be in support for Project(project parameters)
Project Delete Function Need to be checked.
Need to define compare method to generate diff.
Abandon,Acquire feature check

repo: edixos/provider-harbor


text:
add ratelimit option

add ratelimit option

done

repo: edoardottt/favirecon


text:
Unmap on Windows fails

package main

import (
	"log"

	mmap "github.com/edsrzf/mmap-go"
)

func main() {
	const size = 1024 * 1024
	mem, err := mmap.MapRegion(nil, size, mmap.RDWR, mmap.ANON, 0)
	if err != nil {
		log.Fatalf("mmap: failed to allocate memory for buffer: %v", err)
	}
	log.Printf("memory %p", mem)
	err = mem.Unmap()
	if err != nil {
		log.Fatalf("mmap: failed to unmap memory for buffer: %v", err)
	}

}

This program works fine on linux, but under windows it prints this
X:\>go run mmap.go
2019/01/23 21:41:00 memory 0x31ba0000
2019/01/23 21:41:00 mmap: failed to unmap memory for buffer: FlushFileBuffers: The handle is invalid.
exit status 1

This is because FlushFileBuffers is being called on an anonymous handle.
This fixes it
--- a/vendor/github.com/edsrzf/mmap-go/mmap_windows.go
+++ b/vendor/github.com/edsrzf/mmap-go/mmap_windows.go
@@ -101,7 +101,7 @@ func (m MMap) flush() error {
 		return errors.New("unknown base address")
 	}

-	if handle.writable {
+	if handle.writable && handle.file != windows.Handle(^uintptr(0)) {
 		if err := windows.FlushFileBuffers(handle.file); err != nil {
 			return os.NewSyscallError("FlushFileBuffers", err)
 		}

Which I'll supply as a pull request in a moment

As this is fixed, this issue should be closed!

repo: edsrzf/mmap-go


text:
HMS support for HUAWEI's phones

Can you support HUAWEI's HMS core and upload app to HUAWEI's AppGallery.

Sorry! no plans for now.

authors: miankhalid winnochan

repo: edx/edx-app-android


text:
You haven't downloaded any videos when logging out and then logging in again

If I installed videos and the download is complete, and after I log out then log in again and navigate to the My Video modules all the downloaded videos disappear. However, if you navigate to any course that you have previously downloaded its videos the video will appear in the module again.
I noticed while I'm debugging these log messages when the videos refuse to appear after I access the module:
2017-05-11 16:15:43.026818 edX[1041:359721] [User Defaults] Failed to write value for key ApplicationAccessibilityEnabled in CFPrefsPlistSource<0x174106a50> (Domain: com.apple.Accessibility, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null)): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access, switching to read-only
2017-05-11 16:15:43.032639 edX[1041:359072] [User Defaults] attempt to set 1 for key in AccessibilityEnabled in read-only (due to a previous failed write) preferences domain CFPrefsPlistSource<0x174106a50> (Domain: com.apple.Accessibility, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null))

And I also noticed that in the coursesAndVideosForDownloadState in OEXInterface.h method the [_courseVideos objectForKey : course.video_outline] is always nil before accessing any course I already downloaded its videos.
EDIT

The module is working fine on the simulator.

@ahmedaljazzar On logout we are flushing user sensitive data. Videos will appears under My Videos after successfully fetching of enrolled courses.

This issue is no more because we have deprecated My Videos area from mobile.

authors: ahmedaljazzar saeedbashir

repo: edx/edx-app-ios


text:
R105: Clarify JOSE

R105 states: All BPI envelope level formats MUST be achieved through JOSE-based structures see [R106] and [R107].
Please pardon my ignorance. It would be great to spell out this acronym, as a quick search doesn't turn up much.

@atoulme adding the following sentence: Note that JOSE stands for JSON Object Signing and Encryption.

OK thank you

repo: eea-oasis/baseline-standard


text:
Give Cons and CCons the same precedence as (:)

I believe this is a pretty sane default.

I'm ok with this. Generally, I think they should actually be infix operators.

Thanks! Forgot to mention, that it was the left-associativity (by default) that irked me the most.

authors: ggreif kosmikus

repo: eelco/gdiff


text:
Add support for multi-linebreak-preservation

This is a solution for https://github.com/eemeli/yaml/issues/207.
I already tested it successfully on the following feature-branch of attranslate: https://github.com/fkirc/attranslate/pull/64
This API-proposal isn't really clean, but I do not dare to make any breaking changes as an external contributor.

I don't think I like this. On a conceptual level, the AST does not promise to retain the exact shape of the source string. Once it's been passed through once, it'll stay pretty close but even then the docs do include at least this note:

Due to implementation details, the library's comment handling is not completely stable. In particular, when creating, writing, and then reading a YAML file, comments may sometimes be associated with a different node.

So in a sense the library is usable as a YAML prettifier by parsing & stringifying a source string. And as a part of that, it currently cleans up extraneous white space between nodes by collapsing it into a single empty line. This PR muddies the situation by changing the logic to only dropping any trailing white space from those lines, while retaining the complete drop of any empty lines after a comment.
I think I'd like to see much wider support for this change before considering it further. Also, there's no realistic way of making it not a breaking change, and having both spaceBefore and spacesBefore is just not going to happen.

I don't think I like this. On a conceptual level, the AST does not promise to retain the exact shape of the source string. Once it's been passed through once, it'll stay pretty close but even then the docs do include at least this note:

Due to implementation details, the library's comment handling is not completely stable. In particular, when creating, writing, and then reading a YAML file, comments may sometimes be associated with a different node.
So in a sense the library is usable as a YAML prettifier by parsing & stringifying a source string. And as a part of that, it currently cleans up extraneous white space between nodes by collapsing it into a single empty line. This PR muddies the situation by changing the logic to only dropping any trailing white space from those lines, while retaining the complete drop of any empty lines after a comment.

I understand that this is not the way that things are currently working, therefore I think that we need to step back from this specific PR and instead debate on the general goals of this library.
Preserving the visual presentation of a YAML as much as possible is a valid use case, whereas "prettifying" is another valid use case.
Some users want to have a "prettifier" that aggressively reformats YAML to match some "standard form".
This is not the thing that attranslate wants, attranslate wants the former use case instead (preserve as much structure as possible).
So the crucial question is:
Do you want to support the "preservation use case", or do you only care about the "prettier use case"?

I think I'd like to see much wider support for this change before considering it further. Also, there's no realistic way of making it not a breaking change, and having both spaceBefore and spacesBefore is just not going to happen.

To make it not a breaking change, we would probably need an additional config-option.
I would add such config-option if there is a chance of getting something merged (not necessarily this API-proposal).

Perhaps I should rephrase my question:
Is there anything I could do to improve support for the "preservation use case", without threatening the already existing "prettier use case"?
My point is not to merge this particular PR, but rather to find a direction that leads to an improved format-preservation.

I am closing this PR because it is not a nice fit for the current API.
Nevertheless, I am still aiming to get this feature done in another form.

authors: eemeli fkirc

repo: eemeli/yaml

license: ISC


text:
Expect.Html?

Now that we've used this library quite a bit, I think I made a mistake putting functions returning an Expectation in the Query module. I think they should go in an Expect.Html module instead, meaning you could write code like this:
Before
import Html exposing (div, ul, li)
import Html.Attributes exposing (class)
import Test.Html.Query as Query
import Test exposing (test)
import Test.Html.Selector exposing (tag, classes)

test "The list has both the classes 'items' and 'active'" <|
    \() ->
        div []
            [ ul [ class "items active" ]
                [ li [] [ text "first item" ]
                , li [] [ text "second item" ]
                , li [] [ text "third item" ]
                ]
            ]
            |> Query.fromHtml
            |> Query.findAll [ tag "ul" ]
            |> Query.each
                [ Query.has [ tag "ul" ]
                , Query.has [ classes [ "items", "active" ] ]
                ]

After
The first line and last 3 lines are different.
import Expect.Html
import Html exposing (div, ul, li)
import Html.Attributes exposing (class)
import Test.Html.Query as Query
import Test exposing (test)
import Test.Html.Selector exposing (tag, classes)

test "The list has both the classes 'items' and 'active'" <|
    \() ->
        div []
            [ ul [ class "items active" ]
                [ li [] [ text "first item" ]
                , li [] [ text "second item" ]
                , li [] [ text "third item" ]
                ]
            ]
            |> Query.fromHtml
            |> Query.findAll [ tag "ul" ]
            |> Expect.Html.each
                [ Expect.Html.has [ tag "ul" ]
                , Expect.Html.has [ classes [ "items", "active" ] ]
                ]

This way, elm-htm-test pipelines would terminate with a call to an Expect. function the same way that other elm-test tests do.
This would be a breaking API change, of course, but now seems like a good time for one because https://github.com/eeue56/elm-html-test/pull/46 should be released as part of a MAJOR version bump anyway.

I think this would be a great improvement and would help clarifying the api

authors: rtfeldman stoeffel


text:
typo

correct small typo :)

@bjmuld: Thanks for catching that!
However, can you please resubmit (force-rebase) this PR to develop? In order for me to be able to merge it: https://github.com/efabless/openlane/blob/master/CONTRIBUTING.md

that should do it :)

authors: agorararmard bjmuld

repo: efabless/openlane


text:
🛑 Huella Sagrada is down

In 4484c26, Huella Sagrada (http://huellasagrada.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Huella Sagrada is back up in e03bce7 after 12 minutes.

repo: efecear/upptime


text:
🛑 La Semilla Que Crece is down

In 75bc312, La Semilla Que Crece (https://www.lasemillaquecrece.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: La Semilla Que Crece is back up in d759883.


text:
🛑 Nodo UTT Ramos Mejia is down

In dce1255, Nodo UTT Ramos Mejia (https://www.uttnodoramosmejia.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nodo UTT Ramos Mejia is back up in 0589ddf.


text:
🛑 efece.ar is down

In b39df73, efece.ar (https://www.efece.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: efece.ar is back up in cf4b281.


text:
remove \s from regex

If I had many (100+ lets say)  users with the last name "Smith" and I'm truncating the list to only the top 10 matches then I'd need to specify a first name if I ever hope to complete my intended action.
So the type ahead can match for either "Walter White" or "Walter Smith" or anything that includes a space.
I have thousands of matches with the same first word.

Could you add a support for a prop allowSpaceInQuery to the Mention component, which toggles this behavior? I'm not so happy with changing the default, but with the extra prop I'd be glad to accept this PR.
Thank you for your contributions!

@chrisgervang Any progress on this?

Any news about this?

@MrLeebo @christophedebatz If one of you guys could create a PR that incorporates the changes requested by @jfschwarz we would be happy to include it.

Fixed in #160

authors: MrLeebo chrisgervang christophedebatz frontendphil jfschwarz

repo: effektif/react-mentions


text:
Add docker-slim support

Add type dockerSlimRunnable to be able to run conatiners and build slim images with docker-slim. Some of the differences compared to dockerRunnable:

The slim image name will the original image with a suffix "-slim".
The container name always dynamically generated and can not be changed.
There is option to specify extra arguments to the docker-slim build command.
For stopping the conatiner the Stop and Kill functions send USR1 signal to docker-slim.

I tested the code with docker-slim and the it runs well and build the slim image after tests are finished but the container logs only available after the docker-slim stopped it.

Hi @bwplotka, I really like to discusse how we can do it future proof, I ping you on Slack.


text:
added the ability to opt in (explicit) or opt out (default)

I put this together to see what you think. This allows opt in or opt out functionality.  Opt out isthe default and opt in is with an explicit environment variable, LETSENCRYPT_OPT_IN.

We've discussed that for a while now. We decided we'll merge it. This actually works as before for everyone, just if you need it differently you can decide to do that.

Yep, that is right. Be default it works exactly as you built it. All containers with VIRTUAL_HOST specified will get a cert requested. Conversely,if you set the LETSENCRYPT_OPT_IN environment variable, you will then have to label a container (and have the VIRTUAL_HOST variable) to get it to request a cert.
Thanks for the merge and being open to the change.

authors: febbraro sopitz


text:
Mengganti beberapa primary key tabel

Pada beberapa tabel, primary keynya diatur berdasarkan input user. Contoh id : nobp dan nim yang merupakan gabungan dari beberapa input seperti tahun dll.

Tabel yang format PK nya diubah :

peserta
transaksi

tabel peserta
id -> kode_peserta (P001)
tabel transaksi
id -> kode_transaksi (T001)
id_jenis -> kode_jenisprogram
Tabel angsuran
id  -> kode_angsuran (A001)
tabel peserta keberangkatan
id -> kode_pesertaberangkat  (PK001)
tabel keberangkatan
id -> kode_keberangkatan
tabel jenis program
id -> kode_jenisprogram

repo: egodasa/aplikasi-tour-travel-ci


text:
Small Fixes

Whats Fixed:

Fixed Travis not building due to not having the config class as a dependency in core (Cheated with reflection field setting)
Fixed slimes not spawning (Not tested others, only saw slimes in the JSON file)
Fixed entities being invulnrable

Thanks, @Col-E!

authors: Col-E egordorichev

repo: egordorichev/LastTry


text:
Does ehcache3.x support openjdk?

env ==>
openjdk-1.8.0.102-4.b14.el7.x86_64
ehcache3.8.0
code ==>
public class AllCache extends AbstractCache<String, Row> {
    private static final long serialVersionUID = -3639314692125067324L;

    private PersistentUserManagedCache<String, Row> cache;
    private String tempDir;
    private LocalPersistenceService persistenceService;

    public AllCache(CacheInfo cacheInfo) {
        super(cacheInfo);
    }

    @Override
    public void init() {
        tempDir = System.getProperty("java.io.tmpdir") + File.separator
                + cacheInfo.getCacheTmpDir() + File.separator
                + UUID.randomUUID().toString() + File.separator
                + Thread.currentThread().getId();
        persistenceService = new DefaultLocalPersistenceService(
                new DefaultPersistenceConfiguration(new File(tempDir)));
        cache = UserManagedCacheBuilder.newUserManagedCacheBuilder(String.class, Row.class)
                .with(new UserManagedPersistenceContext<>("persistentCache", persistenceService))
                .withResourcePools(ResourcePoolsBuilder.newResourcePoolsBuilder()
                        .heap(cacheInfo.getCacheMaxMb(), MemoryUnit.MB)
                        .disk(10, MemoryUnit.GB, false)
                ).build(true);
    }

    @Override
    public Row get(String key) {
        return cache.get(key);
    }

    @Override
    public void put(String key, Row value) {
        cache.put(key, value);
    }

    @Override
    public void putAll(Map<String, Row> data) {
        cache.putAll(data);
    }

    @Override
    public void close() {
        try {
            cache.close();
            cache.destroy();
            persistenceService.stop();
            FileUtils.deleteDirectory(new File(tempDir));
        } catch (Exception ignore) {
        }
    }
}

expection ==>
Caused by: java.lang.IllegalStateException: org.ehcache.core.spi.ServiceLocator$DependencyException: Failed to find provider with satisfied dependency set for interface org.ehcache.core.spi.store.Store$Provider [candidates [org.ehcache.impl.internal.store.heap.OnHeapStoreProviderFactory@5a58dd22, org.ehcache.impl.internal.store.offheap.OffHeapStoreProviderFactory@4d766540, org.ehcache.impl.internal.store.disk.OffHeapDiskStoreProviderFactory@784d016d, org.ehcache.impl.internal.store.tiering.TieredStoreProviderFactory@25b63026, org.ehcache.impl.internal.store.loaderwriter.LoaderWriterStoreProviderFactory@776ed22b]]
 at org.ehcache.core.spi.ServiceLocator$DependencySet.build(ServiceLocator.java:350)
 at org.ehcache.config.builders.UserManagedCacheBuilder.build(UserManagedCacheBuilder.java:179)
 ... 15 more
Caused by: org.ehcache.core.spi.ServiceLocator$DependencyException: Failed to find provider with satisfied dependency set for interface org.ehcache.core.spi.store.Store$Provider [candidates [org.ehcache.impl.internal.store.heap.OnHeapStoreProviderFactory@5a58dd22, org.ehcache.impl.internal.store.offheap.OffHeapStoreProviderFactory@4d766540, org.ehcache.impl.internal.store.disk.OffHeapDiskStoreProviderFactory@784d016d, org.ehcache.impl.internal.store.tiering.TieredStoreProviderFactory@25b63026, org.ehcache.impl.internal.store.loaderwriter.LoaderWriterStoreProviderFactory@776ed22b]]
 at org.ehcache.core.spi.ServiceLocator$DependencySet.lookupService(ServiceLocator.java:401)
 at org.ehcache.core.spi.ServiceLocator$DependencySet.build(ServiceLocator.java:322)
 ... 16 more

Yes this should work fine and your code works fine locally for me. Could you maybe describe your environment in more detail... maybe something is going wrong there that is tripping things up. Thing thats might be interesting are:

Operating System
Which Ehcache Jars are on the classpath.
Classloader environment: are you running in Tomcat or another JavaEE container for example?

Closing... please reopen if you have further questions.

authors: RockeyCui chrisdennis


text:
Use both entity_id and unique_id

This provides a default entity_id for when the entity is first created,
but allows to customize it directly from the UI

Can confirm this works very well and solves #6 , now the only other issue remaining for me is #7, but I'm not sure what needs to be changed for that

authors: SilverFolfy lultimouomo

repo: ehn/home-assistant-dewpoint


text:
Locale dependent CSS contains garbled text

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Internationalization#Locale-dependent_CSS

I guess we should just retrieve the message from i18n API.

https://bugzilla.mozilla.org/show_bug.cgi?id=1389099

It seems that it is fixed in Firefox 62.


text:
git amend leads to panic when using pre-commit hooks

git amend leads to panic when using pre-commit hooks
SPR VERSION: fork of 0.14.4 : 2023-10-19T22:50:47Z : ca55507b
git version 2.40.1
Commit to amend (1-6): 5
> git commit --fixup 74ab3da0f64675cc6a64d985c31f325e30f2f324
git error: Trim Trailing Whitespace.............................(no files to check)Skipped
Fix End of Files.....................................(no files to check)Skipped
Check Yaml...........................................(no files to check)Skipped
Check for added large files..........................(no files to check)Skipped
black................................................(no files to check)Skipped
isort (python).......................................(no files to check)Skipped
flake8...............................................(no files to check)Skipped
On branch master
Your branch is ahead of 'origin/master' by 6 commits.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean
panic: exit status 1

goroutine 1 [running]:
github.com/ejoffe/spr/git/realgit.(*gitcmd).MustGit(0x0?, {0xc000228cc0?, 0x7becf2?}, 0xc0002961ab?)
	/Users/runner/work/spr/spr/git/realgit/realcmd.go:44 +0x3c
github.com/ejoffe/spr/spr.(*stackediff).AmendCommit(0xc0002647e0, {0xa9ea40?, 0xc000010678?})
	/Users/runner/work/spr/spr/spr/spr.go:81 +0x4d1
main.main()
	/Users/runner/work/spr/spr/cmd/amend/main.go:66 +0x3af

need to reproduce again

repo: ejoffe/spr


text:
Invalid IRI in example data

When running the data transformations with the provided example files (preCARE.csv and CDE_yarrrml_template.yaml) I run into an expection about Invalid IRI found in prefix delcaration: "<https://sio.semanticscience.org/resource/", see below
yarrrml-rdfizer                  | arguments: /mnt/data/CARE_yarrrml.yaml --outputfile /mnt/data/triples/CARE.nq --serialization nquads
yarrrml-rdfizer                  | mapper arguments: --outputfile /mnt/data/triples/CARE.nq --serialization nquads
yarrrml-rdfizer                  | node:events:491
yarrrml-rdfizer                  |       throw er; // Unhandled 'error' event
yarrrml-rdfizer                  |       ^
yarrrml-rdfizer                  |
yarrrml-rdfizer                  | Error: Invalid IRI found in prefix delcaration: "<https://sio.semanticscience.org/resource/"
yarrrml-rdfizer                  |     at Reader.error (/yarrrml-parser/node_modules/@graphy/content.ttl.read/main.js:873:9)

How can I move forward?

Hi!
Try this:
OK, so two things:  First, it seems that the prefix declaration in the sample YARRRML (both FiaB and in the core CARE-SM model) is incorrect.  You can edit it manually or simply git pull from FiaB and replace the yarrrml with the corrected version: https://github.com/ejp-rd-vp/FiaB/blob/main/CARE-SM-Fiab/FAIR-ready-to-go/data/CARE_yarrrml.yaml
Correction is:  line 484:  sio: http://semanticscience.org/resource/
Second, Pablo just yesterday released a new version of the transformation engine.  You should update your "caresm" component of the FiaB docker-compose.yml  to be:
caresm:
image: pabloalarconm/care-sm-toolkit:0.0.3

Thanks a lot, @markwilkinson ! I managed to import the data now :+1:

authors: MalinAhlberg markwilkinson

repo: ejp-rd-vp/FiaB


text:
Issue while creating market order with limit(take profit) and stoploss

import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "78.129.190.32"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8673704"
PASSWORD = "XXBP6072"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)
symbol = "EURUSD"
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)
takeprofit = quote['ask'] + limits * 0.0001
api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=takeprofit)

The order can be created, but without takeprofit... Did I do something wrong?
Thanks for your effort and looking forward to hearing from you:)

import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "78.129.190.32"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8673704"
PASSWORD = "XXBP6072"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)
symbol = "EURUSD"
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)
takeprofit = quote['ask'] + limits * 0.0001
api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=takeprofit)

The order can be created, but without takeprofit... Did I do something wrong?
Thanks for your effort and looking forward to hearing from you:)

The stop loss and take profit are not showing on the chart it's a trader fix limitation, but you can test with short TP AND SL

Hey, Thanks for you swift response! Could you give a short example of short TP and SL? I don't get you meaning

import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "78.129.190.32"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8673704"
PASSWORD = "XXBP6072"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)
symbol = "EURUSD"
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)
takeprofit = quote['ask'] + limits * 0.0001
api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=takeprofit)

The order can be created, but without takeprofit... Did I do something wrong?
Thanks for your effort and looking forward to hearing from you:)

The stop loss and take profit are not showing on the chart it's a ctrader fix limitation, but you can test with short TP AND SL

Hey, Thanks for you swift response! Could you give a short example of short TP and SL? I don't get you meaning

Hey, Thanks for you swift response! Could you give a short example of short TP and SL? I don't get you meaning

You are doing it correctly, what I meant is that cTrader doesn't display the executed stop loss or take profit through the FIX API, so they are active. That's why I suggested testing with a short stop loss and a short take profit.

you can try to modify position
import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "78.129.190.32"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8673704"
PASSWORD = "XXBP6072"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)
symbol = "EURUSD"
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)

api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=None)

time.sleep(1)
positions = api.positions()
for position in positions:
     takeprofit = quote['ask'] + limits * 0.0001
     stoploss = quote['ask'] - limits * 0.0001
     id = position['pos_id']
     stoploss = "stop loss price""
     takeprofit "stop gain price"
     api.positionModify(id, stoploss, takeprofit)

error occurred while call positionModify, here's the log:
INFO:root:Trade logged on - client_id 1
INFO:root:Quote logged on - client_id 1
ERROR:root:ORDER_NOT_FOUND:no orders found
INFO:root:Action: OPEN, Symbol: EURUSD, Lots: 10, Ticket: 1680020648345662199070
INFO:root:Command: buy EURUSD 1000000 1680020648345662199070 - client_id: 1
{'time': 1680020647967, 'bid': 1.08412, 'ask': 1.08413}
8=FIX.4.4|9=176|35=D|49=demo.icmarkets.8673704|50=TRADE|56=CSERVER|57=TRADE|34=5|52=20230328-16:24:08|11=1680020648345662199070|55=1|54=1|60=20230328-16:24:08|38=1000000.0|40=1|494=test label|10=155|
ERROR:root:ORDER_NOT_FOUND:no orders found
INFO:root:Action: MODIFY, Symbol: , Lots: 0, Ticket: 326586128
Traceback (most recent call last):
  File "F:\Python_projects\ig\main.py", line 32, in <module>
    api.positionModify(id, stoploss, takeprofit)
  File "E:\Anaconda\content\envs\ig\lib\site-packages\ejtraderCT\api\ctrader.py", line 186, in positionModify
    return self.trade("", "MODIFY", 0, "", 0, stoploss, takeprofit, 0, 5, id)
  File "E:\Anaconda\content\envs\ig\lib\site-packages\ejtraderCT\api\ctrader.py", line 82, in trade
    ticket = self.getPositionIdByOriginId(v_ticket, client_id)
TypeError: getPositionIdByOriginId() takes 2 positional arguments but 3 were given

I'll set up the API in my environment here and will get back to you with a response soon.

I'll set up the API in my environment here and will get back to you with a response soon.

Appreciate!!!

I'll set up the API in my environment here and will get back to you with a response soon.

Appreciate!!!

The use of SL (Stop Loss) and TP (Take Profit) is only possible in netting accounts. For instance, if you buy one lot, you need to sell one to exit the trade, but this is not supported in hedge accounts. You can test this by following my instructions.
import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "78.129.190.32"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8673704"
PASSWORD = "XXBP6072"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)
symbol = "EURUSD"
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)

id = api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=None)

takeprofit = quote['ask'] + limits * 0.0001
stoploss = quote['ask'] - limits * 0.0001
id = position['pos_id']
api.positionModify(id, stoploss, takeprofit)

I'll set up the API in my environment here and will get back to you with a response soon.

Appreciate!!!

The use of SL (Stop Loss) and TP (Take Profit) is only possible in netting accounts. For instance, if you buy one lot, you need to sell one to exit the trade, but this is not supported in hedge accounts. You can test this by following my instructions.
import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "78.129.190.32"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8673704"
PASSWORD = "XXBP6072"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)
symbol = "EURUSD"
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)

id = api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=None)

takeprofit = quote['ask'] + limits * 0.0001
stoploss = quote['ask'] - limits * 0.0001
id = position['pos_id']
api.positionModify(id, stoploss, takeprofit)

You are right, I checked my account type in cTrader, turned out my demo account type is hedging, that might be the reason.
I've sent an email to request the support team to change the type to netting, and I'll get back to you after testing the netting account with the same code. Again, thanks for your help :)

SERVER = "176.58.118.184"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8680256"
PASSWORD = "RPXO6342"
CURRENCY = "EUR"

Still not work for me,
import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "176.58.118.184"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8680256"
PASSWORD = "RPXO6342"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)

symbol = "EURUSD"
# time.sleep(3)
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)

id = api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=None)
print(id)
takeprofit = quote['ask'] + limits * 0.0001
print(takeprofit)
order_id = api.sellLimit(symbol, volume, None, None, price=takeprofit)
print(order_id)

so now my solution is to open a long postion and then open a sellLimit order to be the TP. After reading the source code, I don't think the method positionModify() could  add TP/SL to existing open position, as it seems like just cancelling the existed positions and place a new one instead

SERVER = "176.58.118.184"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8680256"
PASSWORD = "RPXO6342"
CURRENCY = "EUR"

Still not work for me,
import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "176.58.118.184"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8680256"
PASSWORD = "RPXO6342"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)

symbol = "EURUSD"
# time.sleep(3)
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)

id = api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=None)
print(id)
takeprofit = quote['ask'] + limits * 0.0001
print(takeprofit)
order_id = api.sellLimit(symbol, volume, None, None, price=takeprofit)
print(order_id)

so now my solution is to open a long postion and then open a sellLimit order to be the TP. After reading the source code, I don't think the method positionModify() could add TP/SL to existing open position, as it seems like just cancelling the existed positions and place a new one instead

Actually, the FIX API was developed for high-frequency trading, so algorithms open and close orders manually, controlling profit and loss. positionModify() works, and you can even test it on pending orders, but the FIX API certainly has several limitations. This library was made to provide stable and easy trading without the need to run multiple applications, but if you want something more complete, you can use ejtraderMT for Metatrader 5 in microseconds action.

SERVER = "176.58.118.184"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8680256"
PASSWORD = "*********"
CURRENCY = "EUR"

Still not work for me,
import logging
import time

from ejtraderCT import Ctrader

logging.getLogger().setLevel(logging.INFO)

SERVER = "176.58.118.184"  # Host name
BROKER = "demo.icmarkets"
LOGIN = "8680256"
PASSWORD = "********"
CURRENCY = "EUR"

api = Ctrader(server=SERVER, broker=BROKER, login=LOGIN, password=PASSWORD, currency=CURRENCY)

symbol = "EURUSD"
# time.sleep(3)
volume = 10 # position size
limits = 5
api.subscribe(symbol)
time.sleep(3)
# Buy position
quote = api.quote(symbol)
print(quote)

id = api.buy(symbol=symbol, volume= volume, stoploss=None, takeprofit=None)
print(id)
takeprofit = quote['ask'] + limits * 0.0001
print(takeprofit)
order_id = api.sellLimit(symbol, volume, None, None, price=takeprofit)
print(order_id)

so now my solution is to open a long postion and then open a sellLimit order to be the TP. After reading the source code, I don't think the method positionModify() could add TP/SL to existing open position, as it seems like just cancelling the existed positions and place a new one instead

take profit and stoploss add from 1.1.13 check the readme

authors: monsterlady traderpedroso

repo: ejtraderLabs/ejtraderCT


text:
Add error handling for ALSAWidget

Provide more useful feedback to prevent issues like #12.

Coverage increased (+0.02%) to 87.507% when pulling c32b26fa092622bfed44d16e591f38a0d2586fb3 on alsawidget-error-handling into 6991b4ea562304348bef87d8c64d6ec1495b73f7 on main.

authors: coveralls elParaguayo

repo: elParaguayo/qtile-extras


text:
fix: counter Dockerfile typo

https://github.com/eladb/kubecon-2020-cdk8s/blob/3fdd6553a2cf90afc4f40999c4b5aa9e737286fb/src/app/counter/Dockerfile#L16
fix "usr/bin/env" to "/usr/bin/env"

❤