text:
Unable to read delete/update data

Kafka-connect-SAP synchronize data from HANA to Kafka, but the test result is only read data after INSERT operation, DELETE and UPDATE are not able to read data, Kafka can not read data. I see the code you wrote, there is a Query mode in it, as if it can only read the data in HANA, other operations can not get the data, is that right? Or am I missing something?

@Wangddawei you are right. The hana source connector can only handle only the bulk (the entire table at once) or the incrementing (the newly inserted records) fetching. In other words, there is no CDC (i.e., fetching the insert, update, delete events) version of the source connector available at the moment due to some questions that need to be clarified. In contrast, the hana sink connector can handle both update and delete.
We will keep this ticket open to track the status of the source connector's update/delete handling.

Can HANA's data flow to Kafka be configured only in source files? I didn't configure the sink file, I think the sink file is just configuring Kafka -- > HANA. One-way synchronization

@Wangddawei Yes. The source and sink connectors are independent and they can be configured independently and combined with other source or sink connectors.

thank you very much！

We have the connector setup, however incrementing mode is not allowing us to read new records.  Example - the MARA table which has all the material / SKU records.  When a new record is created, how do you setup the incrementing column to pickup the new record?  The incrementing column needs to be a numeric/integer based column, but the key field on MARA is MATNR, which is CHAR40.  Is there any trick to getting a table to download the deltas?  Or do I need to create a CDS view which auto creates a column which indexes?

@garethdebcor The incrementing column can be of string based types. The only requirement is that your source table is just updated only by insert.

{topic}.incrementing.column.name - ... The type of the column can be numeric types such as INTEGER, FLOAT, DECIMAL, datetime types such as DATE, TIME, TIMESTAMP, and character types VARCHAR, NVARCHAR containing alpha-numeric characters. ...

Do you see some error when you specify this column as the incrementing column in your connector configuration?

We actually don't see any error.  We just see the initial load happen (14k records).  Then we add a material and the logs show that the connector is working - but nothing happens (no new records show up).
Thanks, Gareth

Here is our config file for reference.  Do you see anything out of the ordinary?  This is a small custom table with only 9 entries.
name=test-topic-source
connector.class=com.sap.kafka.connect.source.hana.HANASourceConnector
tasks.max=1
topics=ztest_last
connection.url=jdbc:sap://sap.xxxxx..xxxx.xxxx.xxxx
connection.user=USER
connection.password=PASSWORD
mode=incrementing
ztest_last.incrementing.column.name=CARRIER_SCAC
ztest_last.table.name="SAPABAP1"."ZCVY_LAST_MILE"
numeric.mapping=best_fit
Here is a picture of the table

My one pet peeve is when someone posts a problem but never posts the solution.  So, we ended up solving this w/a slight config change.  Makes logical sense now after the fact.  We swapped the lines of the declarations of the incrementing column and the table name - and the new records now show up.  Makes sense from a programming standpoint as well - declare the structure and then declare the field of the structure.
Now we move on to the delete / update task.
(working config)
name=test-topic-source
connector.class=com.sap.kafka.connect.source.hana.HANASourceConnector
tasks.max=1
topics=ztest_last
connection.url=jdbc:sap://sap.xxxxx..xxxx.xxxx.xxxx
connection.user=USER
connection.password=PASSWORD
mode=incrementing
ztest_last.table.name="SAPABAP1"."ZCVY_LAST_MILE"
ztest_last.incrementing.column.name=CARRIER_SCAC
numeric.mapping=best_fit

@garethdebcor Thanks for investigating on the problem. It is strange that you observed the order of these two lines changed the behavior because those properties are read sequentially into a map but accessed in the order used.

We have the HANA connector setup and the initial or full load is successful, however incrementing mode is not allowing us to read new records. Example - the ZCVY_LAST_MILE , When a new record is created,  the incrementing column doesn't not pickup the new record?  it just polls and says not increment column updates and no error logs.
Please find the below properties that being currently used.
name=dev-topic-source_zcvy_1
connector.class=com.sap.kafka.connect.source.hana.HANASourceConnector
tasks.max=1
topics=dev_zcvy_1
connection.url=jdbc:sap://sapecddb.iconfitness.com:30013/?databaseName=HD1
connection.user=SERVICE_IFIT
connection.password=IfItSeRvIcE12AB34cd
mode=incrementing
dev_zcvy_1.table.name="SAPABAP1"."ZCVY_LAST_MILE"
dev_zcvy_1.incrementing.column.name=CARRIER_SCAC
numeric.mapping=best_fit

@Mahi4089 That sounds like there is some data in the initial load that has a higher incrementing value than the newly added data.
Maybe you could run an SQL query:
SELECT * from SAPABAP1.ZCVY_LAST_MILE WHERE CARRIER_SCAC > 'abcdef';
where abcdef is the current highest incrementing value.
and insert some data that have a higher incrementing value than 'abcdef'  and run again
SELECT * from SAPABAP1.ZCVY_LAST_MILE WHERE CARRIER_SCAC > 'abcdef';
This should return the data that you just inserted. If this doesn't return any data, there are some data in the table that have a higher incrementing value than 'abcdef'.

authors: Mahi4089 Wangddawei elakito garethdebcor

repo: SAP/kafka-connect-sap


text:
problem with the return of messages on a "submitBatch"

Hello together,
I have a problem with the return of messages on a "submitBatch".
I am using OData V4 in an On Premise RESTful ABAP Environment
Here my Coding:
Client: (Frontend)
here the create
for (const aWorkModelHelperLine of aWorkModelHelperAll) {
var oContext = that.getView().byId("idQuotTable").getBinding("items").create(aWorkModelHelperLine);
}
here the Manifest
"": {
"dataSource": "mainService",
"preload": false,
"settings": {
"synchronizationMode": "None",
"operationMode": "Server",
"autoExpandSelect": true,
"earlyRequests": true,
"groupProperties":{
"QuotUpdateGroupId" : {"submit" : "API"}
},
"updateGroupId": "UpdateGroupId"
}
},
here the xml
here the submit
oView.getModel().submitBatch("QuotUpdateGroupId");
Server: (Backend)
behavior create
here the messages are appended
LOOP AT entities INTO DATA(ls_entiti).
  IF ls_entiti-materialgroup = 'CCM'.
        append value #(
        %cid = ls_entiti-%cid
        material = ls_entiti-material
         ) to failed-zi_fcstquot_prep.
  ELSE.

    DATA(success_txt) = ls_entiti-material && 'Toll, das hat geklappt von Luis!'.
    APPEND VALUE #(
    %cid = ls_entiti-%cid
    material = ls_entiti-material
    %msg = new_message_with_text(
        severity = if_abap_behv_message=>severity-success
        text = success_txt
        )
     ) TO reported-zi_fcstquot_prep.

  ENDIF.
ENDLOOP.

Where can I now catch the messages on client side?
patchCompleted: is not called, does anyone know why?
dataReceived: is not called...
createCompleted: is called, but the messages are completely mixed up and do not match the number of messages sent.
here two pics from debugger.

thanks to all.

As per https://github.com/SAP/openui5/blob/master/CONTRIBUTING.md#report-an-issue

We can only handle well-reported, actual bugs, so please follow the guidelines below and use forums like StackOverflow for support questions [...].

Requirements for a bug report

Only real bugs [...]. Do not report:

...
issues caused by the usage of non-public UI5 methods. Only the public methods listed in the API documentation may be used.
...
something you do not get to work properly. Use a support forum like stackoverflow to request help.
...

I see that you've already asked the same question in our OpenUI5 Slack channel. I can take a look there. Also, model.mMessages is not a public API.
Please close this issue as it's not a bug report.

source: gharchive/issue

license_type: permissive

license_source: bigquery


text:
Is Pyodata compatible with OData V4

Hi,
I see that Pyodata is compatible with OData V2. Just want to check if it compatible with OData V4. I am able to connect but not able to query.
I get the below error for the line execute():
Traceback (most recent call last):
File "c:\V\simple_OData_get_data.py", line 21, in
for pending_hire in theservice.entity_sets.PENDING_HIRES.get_entities().execute():
File "C:\Users\v\AppData\Local\Programs\Python\Python310\lib\site-packages\pyodata\v2\service.py", line 332, in execute
return self._handler(response)
File "C:\Users\v\AppData\Local\Programs\Python\Python310\lib\site-packages\pyodata\v2\service.py", line 1438, in get_entities_handler
entities = content['d']
KeyError: 'd'

Not at the moment. Just odata v2. It is the plan. The issue #39 tracks it - although the work needs to re-start.

repo: SAP/python-pyodata

license_source: github-api


text:
specify step 9

@thecodester please check and merge,
Thanks

regarding to this issue:
https://github.com/SAPDocuments/Tutorials/issues/3022#issuecomment-460159982

I did not made a link in the tutorial, I just mentioned the name of tutorial
But it is a good idea to mention the link, I will change it right now!

source: gharchive/pull-request

repo: SAPDocuments/Tutorials


text:
SCIP build successful but scip not available

I just built SCIPOpt suite with cmake3 and when I run make check, I get 100% successful build. The installation path is default /usr/local, and I have done export SCIPOPTDIR=/usr/local. But when I try to launch the Scip command using scip, I get bash: scip: command not found
I'm on Centos 7.
Am I missing something here?

Different Linux distributions use different default paths for binaries/executables. It can be that in Centos /usr/local is not in the PATH. If it isn't you should either add it or use another installation directory. CMake cannot detect this automatically, it seems.

I am closing this due to inactivity.

authors: mattmilten nfunwigabga

repo: SCIP-Interfaces/PySCIPOpt

license: mit


text:
Get and extract first data binding functions should be able to take props

This would enable removing the standard code for finding the screenView data bindings.

Get first data binding functions fixed.

Fixed

repo: SCantan/Typhoon


text:
Move caching to Contour.Caching

Added extension features needed for moving caching to Contour.Caching:

config sections extensions
decorating outgoing message filters
removing code responsible for caching to Contour.Caching project

One test has been failed. Please fix it.

authors: andrey-prokopyev mzabolotko

repo: SDVentures/Contour


text:
DRIVER property is missing in PGvector Database smss file

Description
For enabling "use connection pooling" option in pgvector DB, "DRIVER" property is also needed from smss file which is not getting added in smss file when we are creating a connection.
Steps to reproduce

Open cfgai platfrom
Click on open vector.
Click on any existing PGvector db or create a new one.
After opening the db click on smss.
Observe the missing driver property

Reference

Need to pass this during the creation of a vector db
DRIVER  org.postgresql.Driver

Closing the issue, as this got fixed.

repo: SEMOSS/semoss-ui


text:
Documentation on how to manage MetaDeploy Admin Page (Step by Step)

I was able to deploy the MetaDeploy on Heroku however I wasn't able to login using salesforce credentials when trying to install a product. It is somewhat related to SocialApp
allauth.socialaccount.models.SocialApp.DoesNotExist: SocialApp matching query does not exist.
I have created a social application with correct configurations I believe.

You can access the MetaDeploy in https://metadeploy-experiment.herokuapp.com/admin
Username: admin
Password: password
Note: Don't worry about the app. It is for experiment anyways. Connected App is connected against a trailhead playground account
2020-03-18T03:04:18.596337+00:00 heroku[router]: at=info method=GET path="/accounts/salesforce-production/login/?next=%2Fproducts%2Fcumulus-experiment%2F0ff6caa58a33370e62334c30485061f4f8a24aba%2Finstall" host=metadeploy-experiment.herokuapp.com request_id=34fb0cea-b5a6-4b39-aa1a-f8ee5bd5f55f fwd="" dyno=web.1 connect=1ms service=107ms status=500 bytes=266 protocol=https
2020-03-18T03:04:18.591003+00:00 app[web.1]: ERROR Internal Server Error: /accounts/salesforce-production/login/
2020-03-18T03:04:18.591013+00:00 app[web.1]: Traceback (most recent call last):
2020-03-18T03:04:18.591014+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
2020-03-18T03:04:18.591015+00:00 app[web.1]:     response = get_response(request)
2020-03-18T03:04:18.591017+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
2020-03-18T03:04:18.591018+00:00 app[web.1]:     response = self.process_exception_by_middleware(e, request)
2020-03-18T03:04:18.591019+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
2020-03-18T03:04:18.591019+00:00 app[web.1]:     response = wrapped_callback(request, *callback_args, **callback_kwargs)
2020-03-18T03:04:18.591019+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/newrelic/hooks/framework_django.py", line 539, in wrapper
2020-03-18T03:04:18.591020+00:00 app[web.1]:     return wrapped(*args, **kwargs)
2020-03-18T03:04:18.591020+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/allauth/socialaccount/providers/oauth2/views.py", line 73, in view
2020-03-18T03:04:18.591021+00:00 app[web.1]:     return self.dispatch(request, *args, **kwargs)
2020-03-18T03:04:18.591021+00:00 app[web.1]:   File "./metadeploy/multisalesforce/views.py", line 120, in dispatch
2020-03-18T03:04:18.591022+00:00 app[web.1]:     ret = super().dispatch(request, *args, **kwargs)
2020-03-18T03:04:18.591022+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/allauth/socialaccount/providers/oauth2/views.py", line 96, in dispatch
2020-03-18T03:04:18.591022+00:00 app[web.1]:     app = provider.get_app(self.request)
2020-03-18T03:04:18.591023+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/allauth/socialaccount/providers/base.py", line 49, in get_app
2020-03-18T03:04:18.591023+00:00 app[web.1]:     return adapter.get_app(request, self.id)
2020-03-18T03:04:18.591023+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/allauth/socialaccount/adapter.py", line 203, in get_app
2020-03-18T03:04:18.591024+00:00 app[web.1]:     app = SocialApp.objects.get_current(provider, request)
2020-03-18T03:04:18.591024+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/allauth/socialaccount/models.py", line 32, in get_current
2020-03-18T03:04:18.591025+00:00 app[web.1]:     app = self.get(
2020-03-18T03:04:18.591026+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/django/db/models/manager.py", line 82, in manager_method
2020-03-18T03:04:18.591026+00:00 app[web.1]:     return getattr(self.get_queryset(), name)(*args, **kwargs)
2020-03-18T03:04:18.591026+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/django/db/models/query.py", line 406, in get
2020-03-18T03:04:18.591027+00:00 app[web.1]:     raise self.model.DoesNotExist(
2020-03-18T03:04:18.591027+00:00 app[web.1]: allauth.socialaccount.models.SocialApp.DoesNotExist: SocialApp matching query does not exist.
2020-03-18T03:04:18.592173+00:00 app[web.1]: id=34fb0cea-b5a6-4b39-aa1a-f8ee5bd5f55f at=INFO time="2020-03-18 03:04:18.591578" tag=external module=logging_middleware method=GET path=/accounts/salesforce-production/login/ status=500 source_ip= user_agent='Mozilla/5.0 (Windows=True NT=True 10.0;=True Win64;=True x64)=True AppleWebKit/537.36=True (KHTML,=True like=True Gecko)=True Chrome/80.0.3987.132=True Safari/537.36'=True time=0.08233094215393066 forwardedfor=
2020-03-18T03:04:18.598013+00:00 app[web.1]: 10.142.64.122:22505 - - [18/Mar/2020:03:04:18] "GET /accounts/salesforce-production/login/?next=%2Fproducts%2Fcumulus-experiment%2F0ff6caa58a33370e62334c30485061f4f8a24aba%2Finstall" 500 27

You don't need the "login.salesforce.com" site, but you do need to move the default site (labeled example.com) over to the "chosen sites" column to make sure the SocialApp is active.

@davisagli Still it doesn't redirect to login.salesforce.com when logging in as production. I think the path and query parameters are correct but the Base URL not pointing to the right place.
https://metadeploy-experiment.herokuapp.com/services/oauth2/authorize?client_id=3MVG9n_HvETGhr3Dt0csjHEUiRuw5sesEy7ZZeC.p99sr607o7ymmjojQNmOaB4A0qtb95KRXt_uVU3VZk7EQ&redirect_uri=https%3A%2F%2Fmetadeploy-experiment.herokuapp.com%2Faccounts%2Fsalesforce-production%2Flogin%2Fcallback%2F&scope=full+refresh_token+web&response_type=code&state=vwqYBMygtgEW&prompt=login

Maybe I will walk through what I'm doing since maybe I have a mistake during installation.

App URL is https://metadeploy-experiment.herokuapp.com/
Connected App on Dev Hub

Creating the app on heroku. I'm not sure where should I get these. I'm assuming it is a salesforce connected app (Dev Hub account. I may be wrong). I'm not sure with the callback url.

After creating the heroku app, I created a Social Application the same with the one I have entered on the installation step.

What should be the correct way (step by step) on configuring MetaDeploy?
Even just outline will be greatly appreciated.

Set the SocialApp's Key to https://login.salesforce.com/
And the callback URL in the Heroku config var should be https://metadeploy-experiment.herokuapp.com/accounts/salesforce-production/login/callback/ -- this needs to match one of the callback urls in the connected app.

How about test.salesforce.com? Should I created another connected app for it?

For experiments and local testing I usually only set up the custom URL one. Then I can log into any org, though there's an extra step to paste in the custom domain.
Set up the production and test SocialApps if you want a shortcut to log into production and sandbox/scratch orgs without using the custom domain.
For a production copy of MetaDeploy you'll want all 3 since the login menu always shows them all.

Btw. I was able to login using production using the same Connected App with different SocialApp's key. Thanks for the heads up.
I notice an error when I try to deny the Oauth2 request.
id=b86949f4-2361-46f2-8ac1-8407489ceccb at=ERROR time="2020-03-19 02:37:58.155861" tag=external module=adapter msg="Social Account authentication error: (<AsgiRequest: GET '/accounts/salesforce-custom/login/callback/?error=access_denied&error_description=end-user+denied+authorization&state=nk1vgs6iwICt'>, 'salesforce-custom'), {'error': 'cancelled', 'exception': None, 'extra_context': {}}"
2020-03-19T02:37:58.156035+00:00 app[web.1]: 2020-03-19 02:37:58,155 ERROR    Social Account authentication error: (<AsgiRequest: GET '/accounts/salesforce-custom/login/callback/?error=access_denied&error_description=end-user+denied+authorization&state=nk1vgs6iwICt'>, 'salesforce-custom'), {'error': 'cancelled', 'exception': None, 'extra_context': {}}
2020-03-19T02:37:58.173053+00:00 app[web.1]: ERROR Internal Server Error: /accounts/salesforce-custom/login/callback/
2020-03-19T02:37:58.173055+00:00 app[web.1]: Traceback (most recent call last):
2020-03-19T02:37:58.173056+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
2020-03-19T02:37:58.173057+00:00 app[web.1]:     response = get_response(request)
2020-03-19T02:37:58.173057+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
2020-03-19T02:37:58.173058+00:00 app[web.1]:     response = self.process_exception_by_middleware(e, request)
2020-03-19T02:37:58.173061+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
2020-03-19T02:37:58.173061+00:00 app[web.1]:     response = wrapped_callback(request, *callback_args, **callback_kwargs)
2020-03-19T02:37:58.173062+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/newrelic/hooks/framework_django.py", line 539, in wrapper
2020-03-19T02:37:58.173062+00:00 app[web.1]:     return wrapped(*args, **kwargs)
2020-03-19T02:37:58.173062+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/allauth/socialaccount/providers/oauth2/views.py", line 73, in view
2020-03-19T02:37:58.173063+00:00 app[web.1]:     return self.dispatch(request, *args, **kwargs)
2020-03-19T02:37:58.173063+00:00 app[web.1]:   File "./metadeploy/multisalesforce/views.py", line 138, in dispatch
2020-03-19T02:37:58.173063+00:00 app[web.1]:     return super().dispatch(request, *args, **kwargs)
2020-03-19T02:37:58.173064+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/allauth/socialaccount/providers/oauth2/views.py", line 121, in dispatch
2020-03-19T02:37:58.173064+00:00 app[web.1]:     return render_authentication_error(
2020-03-19T02:37:58.173067+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/allauth/socialaccount/helpers.py", line 66, in render_authentication_error
2020-03-19T02:37:58.173068+00:00 app[web.1]:     get_adapter(request).authentication_error(
2020-03-19T02:37:58.173068+00:00 app[web.1]:   File "./metadeploy/multisalesforce/adapter.py", line 11, in authentication_error
2020-03-19T02:37:58.173069+00:00 app[web.1]:     raise kwargs["exception"]
2020-03-19T02:37:58.173069+00:00 app[web.1]: TypeError: exceptions must derive from BaseException
2020-03-19T02:37:58.178398+00:00 app[web.1]: id=b86949f4-2361-46f2-8ac1-8407489ceccb at=INFO time="2020-03-19 02:37:58.177805" tag=external module=logging_middleware method=GET path=/accounts/salesforce-custom/login/callback/ status=500 source_ip= user_agent='Mozilla/5.0 (Windows=True NT=True 10.0;=True Win64;=True x64)=True AppleWebKit/537.36=True (KHTML,=True like=True Gecko)=True Chrome/80.0.3987.132=True Safari/537.36'=True time=0.04751110076904297 forwardedfor= user=3pqVkgZ

@ricxsar that one looks like a bug -- thanks for reporting

@davisagli Happy to help. :) I think this issue is resolved but better if you have comprehensive documentation on how to setup MetaDeploy.

Yes, I agree. Not sure when we'll get to it, but we know it is needed!

Happy to close this.

Hi, @davisagli Sorry if I have too many questions.
I have manually added the steps when an error occurs on SFDO-Tooling/CumulusCI#1620.
https://metadeploy-experiment.herokuapp.com/products/cumulus-experiment/1.0/install
I'm trying to install it to a scratch org but it doesn't. I have already inspected on the scratch org Deployment Status but nothing in there.

The job is created successfully.

I also enabled all dynos.

Below are the logs when the job is queued I presume.
2020-03-19T05:52:30.287595+00:00 app[web.1]: id=none at=INFO time="2020-03-19 05:52:30.287259" tag=external module=push msg="Sending message {'type': 'notify', 'group': 'org.2f42bdc1b4761814efa095a6e4b5472af2403066', 'content': {'type': 'ORG_CHANGED', 'payload': {'current_job': OrderedDict([('id', '96qKv27'), ('product_slug', 'cumulus-experiment'), ('version_label', '1.0'), ('plan_slug', 'install'), ('plan_average_duration', None)]), 'current_preflight': None}}}"
2020-03-19T05:52:30.288049+00:00 app[web.1]: 2020-03-19 05:52:30,287 INFO     Sending message {'type': 'notify', 'group': 'org.2f42bdc1b4761814efa095a6e4b5472af2403066', 'content': {'type': 'ORG_CHANGED', 'payload': {'current_job': OrderedDict([('id', '96qKv27'), ('product_slug', 'cumulus-experiment'), ('version_label', '1.0'), ('plan_slug', 'install'), ('plan_average_duration', None)]), 'current_preflight': None}}}
2020-03-19T05:52:30.449910+00:00 app[web.1]: id=6a42c4b1-4492-482f-8df0-164fe76113d2 at=INFO time="2020-03-19 05:52:30.449243" tag=external module=logging_middleware method=POST path=/api/jobs/ status=201 source_ip= user_agent='Mozilla/5.0 (Windows=True NT=True 10.0;=True Win64;=True x64)=True AppleWebKit/537.36=True (KHTML,=True like=True Gecko)=True Chrome/80.0.3987.132=True Safari/537.36'=True time=1.1357569694519043 forwardedfor= user=3pqVkgZ

There are several records that need to be added to the Repeatable Jobs section of the admin in order to start processing builds:

(In the future we'll hopefully set these up automatically.)
And you don't want all of the dyno types. Start with 1 web, 1 devworker, and 1 scheduler. Replace the devworker with 1 worker-short and multiple workers if you want to be able to run multiple installations in parallel. In #1089 I'm working on adjusting these to work like MetaCI so that there's an option to run with just 2 dynos.

@davisagli Metadeploy is now processing the installation however it reports installation failed. See the logs below. I also regenerated the Github Token and tried again but still the same error. Release version is also created https://github.com/ricxsar/cumulus-experiment/releases
2020-03-20T06:16:37.063339+00:00 app[worker.1]: id=none at=INFO time="2020-03-20 06:16:37.062860" tag=external module=push msg="Sending message {'type': 'notify', 'group': 'user.3pqVkgZ', 'content': {'type': 'BACKEND_ERROR', 'payload': {'message': 'There was an error'}}}"
2020-03-20T06:16:37.072620+00:00 app[worker.1]: id=none at=ERROR time="2020-03-20 06:16:37.072435" tag=external module=jobs msg="Traceback (most recent call last):
2020-03-20T06:16:37.072621+00:00 app[worker.1]:   File \"/app/metadeploy/api/jobs.py\", line 89, in report_errors_to
2020-03-20T06:16:37.072622+00:00 app[worker.1]:     yield
2020-03-20T06:16:37.072623+00:00 app[worker.1]:   File \"/app/metadeploy/api/jobs.py\", line 151, in run_flows
2020-03-20T06:16:37.072623+00:00 app[worker.1]:     repo = gh.repository(user, repo_name)
2020-03-20T06:16:37.072624+00:00 app[worker.1]:   File \"/app/.heroku/python/lib/python3.8/site-packages/github3/github.py\", line 1981, in repository
2020-03-20T06:16:37.072624+00:00 app[worker.1]:     json = self._json(self._get(url), 200)
2020-03-20T06:16:37.072625+00:00 app[worker.1]:   File \"/app/.heroku/python/lib/python3.8/site-packages/github3/models.py\", line 156, in _json
2020-03-20T06:16:37.072625+00:00 app[worker.1]:     raise exceptions.error_for(response)
2020-03-20T06:16:37.072626+00:00 app[worker.1]: github3.exceptions.NotFoundError: 404 Not Found
2020-03-20T06:16:37.072626+00:00 app[worker.1]: "
2020-03-20T06:16:37.076691+00:00 app[worker.1]: id=none at=ERROR time="2020-03-20 06:16:37.076542" tag=external module=jobs msg="job 152Ebq8 failed."
2020-03-20T06:16:37.129769+00:00 app[worker.1]: id=none at=INFO time="2020-03-20 06:16:37.129492" tag=external module=push msg="Sending message {'type': 'notify', 'group': 'org.2f42bdc1b4761814efa095a6e4b5472af2403066', 'content': {'type': 'ORG_CHANGED', 'payload': {'current_job': None, 'current_preflight': None}}}"
2020-03-20T06:16:37.143500+00:00 app[worker.1]: id=none at=INFO time="2020-03-20 06:16:37.143259" tag=external module=push msg="Sending message {'type': 'notify', 'group': 'job.152Ebq8', 'instance': {'model': 'job', 'id': '152Ebq8'}, 'serializer': 'metadeploy.api.serializers.JobSerializer', 'inner_type': 'JOB_FAILED'}"
2020-03-20T06:16:37.162967+00:00 app[worker.1]: id=no-job-id at=ERROR time="2020-03-20 06:16:37.162772" tag=external module=worker msg="github3.exceptions.NotFoundError: 404 Not Found
2020-03-20T06:16:37.162969+00:00 app[worker.1]: Traceback (most recent call last):
2020-03-20T06:16:37.162969+00:00 app[worker.1]:   File \"/app/.heroku/python/lib/python3.8/site-packages/rq/worker.py\", line 884, in perform_job
2020-03-20T06:16:37.162970+00:00 app[worker.1]:     rv = job.perform()
2020-03-20T06:16:37.162971+00:00 app[worker.1]:   File \"/app/metadeploy/rq_worker.py\", line 12, in wrapper
2020-03-20T06:16:37.162971+00:00 app[worker.1]:     return orig(self)
2020-03-20T06:16:37.162972+00:00 app[worker.1]:   File \"/app/.heroku/python/lib/python3.8/site-packages/rq/job.py\", line 664, in perform
2020-03-20T06:16:37.162972+00:00 app[worker.1]:     self._result = self._execute()
2020-03-20T06:16:37.162972+00:00 app[worker.1]:   File \"/app/.heroku/python/lib/python3.8/site-packages/rq/job.py\", line 670, in _execute
2020-03-20T06:16:37.162973+00:00 app[worker.1]:     return self.func(*self.args, **self.kwargs)
2020-03-20T06:16:37.162973+00:00 app[worker.1]:   File \"/app/metadeploy/api/jobs.py\", line 151, in run_flows
2020-03-20T06:16:37.162973+00:00 app[worker.1]:     repo = gh.repository(user, repo_name)
2020-03-20T06:16:37.162974+00:00 app[worker.1]:   File \"/app/.heroku/python/lib/python3.8/site-packages/github3/github.py\", line 1981, in repository
2020-03-20T06:16:37.162974+00:00 app[worker.1]:     json = self._json(self._get(url), 200)
2020-03-20T06:16:37.162974+00:00 app[worker.1]:   File \"/app/.heroku/python/lib/python3.8/site-packages/github3/models.py\", line 156, in _json
2020-03-20T06:16:37.162975+00:00 app[worker.1]:     raise exceptions.error_for(response)
2020-03-20T06:16:37.162979+00:00 app[worker.1]: github3.exceptions.NotFoundError: 404 Not Found
2020-03-20T06:16:37.162980+00:00 app[worker.1]: "

I don't know if this is a bug. The connection of the org is apparently lost but when I refresh the page, I'm still logged in. It's not yet 10 minutes for the token to expire but metadeploy reports that it is already expired.

When I visit the installation page on a new tab, it asks me to log in but on the user icon, I am still logged in.

Repo url should be https://github.com/ricxsar/cumulus-experiment without the .git suffix. Also double check that your Personal Access Token includes the "repo" scope.
It's intentional that the access token for the org is deleted after the job completes (whether success or failure), as a security precaution to avoid holding credentials longer than necessary. We should probably end the user's Django session at that point too to avoid confusion.

@davisagli I was able to deploy it on a scratch org. Thanks for the help.

@ricxsar @davisagli I am trying to use metadeploy. I added products & OAuth working. Plan published. But I am still not able to see my products on the UI. Any pointers.
URL - https://package-installer.herokuapp.com/products

authors: davisagli ricxsar snehaheda

repo: SFDO-Tooling/MetaDeploy


text:
Fail to create render window with a native handle on Linux

As discussed with Tank on IRC:
This could, of course, be the fault of a third party library but:
OS: Ubuntu 15.10 64bit, Compiler: gcc 5, SFML 2.3.2
Using the nana UI library trying to create a control with a render window attached fails with:
X Error of failed request:  BadAccess (attempt to access private resource denied)
Major opcode of failed request:  2 (X_ChangeWindowAttributes)
Serial number of failed request:  61
Current serial number in output stream:  69
terminate called without an active exception
Aborted (core dumped)
Stepping into RenderWindow::create() the debugger points to the constructor of ContextSettings before throwing the error.
Call stack:
#0 0x7ffff66b9267	__GI_raise(sig=sig@entry=6) (../sysdeps/unix/sysv/linux/raise.c:55)
#1 0x7ffff66baeca	__GI_abort() (abort.c:89)
#2 0x7ffff6cf4b7d	__gnu_cxx::__verbose_terminate_handler() () (/usr/lib/x86_64-linux-gnu/libstdc++.so.6:??)
#3 0x7ffff6cf29c6	??() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6:??)
#4 0x7ffff6cf2a11	std::terminate() () (/usr/lib/x86_64-linux-gnu/libstdc++.so.6:??)
#5 0x86a4e1	std::thread::~thread() () (??:??)
#6 0x86e60e	std::default_deletestd::thread::operator()(std::thread*) (??:??)
#7 0x86c241	std::unique_ptr<std::thread, std::default_deletestd::thread >::~unique_ptr() () (??:??)
#8 0x86c082	nana::detail::msg_dispatcher::~msg_dispatcher() () (??:??)
#9 0x8657fd	nana::detail::platform_spec::~platform_spec() () (??:??)
#10 0x7ffff66bdd32	__run_exit_handlers(status=1, listp=0x7ffff6a48698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) (exit.c:82)
#11 0x7ffff66bdd85	__GI_exit(status=) (exit.c:104)
#12 0x7ffff7459b18	_XDefaultError() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#13 0x7ffff7459c4d	_XError() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#14 0x7ffff7456ad7	??() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#15 0x7ffff7456b95	??() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#16 0x7ffff7457555	_XEventsQueued() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#17 0x7ffff745a385	_XGetRequest() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#18 0x7ffff743e495	_XGetWindowAttributes() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#19 0x7ffff743e6a1	XGetWindowAttributes() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#20 0x7ffff74828c3	??() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#21 0x7ffff74832d0	_XimSetICDefaults() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#22 0x7ffff748333e	_XimSetICDefaults() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#23 0x7ffff747ebda	_XimLocalCreateIC() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#24 0x7ffff7464653	XCreateIC() (/usr/lib/x86_64-linux-gnu/libX11.so.6:??)
#25 0x7ffff7978228	sf::priv::WindowImplX11::WindowImplX11(unsigned long) () (/usr/local/lib/libsfml-window.so.2.3:??)
#26 0x7ffff796e551	sf::priv::WindowImpl::create(unsigned long) () (/usr/local/lib/libsfml-window.so.2.3:??)
#27 0x7ffff796e19e	sf::Window::create(unsigned long, sf::ContextSettings const&) () (/usr/local/lib/libsfml-window.so.2.3:??)
#28 0x767e9c	PreviewWindow::start(this=0x7fffffffe478, parent=...) (/home/captain/bgrll/bgrll/src/PreviewWindow.cpp:40)
#29 0x7512f2	MainWindow::MainWindow()::{lambda()#1}::operator()() const() (/home/captain/bgrll/bgrll/src/MainWindow.cpp:49)
The following can be used to reproduce the problem:
#include <nana/gui/wvl.hpp>
#include <SFML/Graphics/RenderWindow.hpp>

int main()
{
    nana::form form;

    sf::RenderWindow rw;
    rw.create(reinterpret_cast<sf::WindowHandle>(form.native_handle()));

    form.events().destroy([&rw]() { rw.close(); });
    form.events().focus([&rw]() {rw.clear(sf::Color(50, 60, 50)); rw.display(); });

    form.show();
    nana::exec();

    return 0;
}

The above works fine on Windows using VS2015 (as does my actual use case).
Possibly related is the X11 example which builds and runs, but closing the window leaves the SFML windows behind:

Since the X11 example works, and, as you say, This could, of course, be the fault of a third party library, I don't know if this can be considered a bug. Look at Qt or wxWidgets with SFML: integrating it with a 3rd-party library always involves some extra work. And even then, we have no control on what the library does, and therefore there's no guarantee that it won't break something that SFML needs in order to work without problems.
I don't know what Tank said, but I feel like this should be discussed on the forum first ;)

The X11 example works for me, but I can confirm the crash with nana. I have no idea yet where it originates from.

Bump.
@fallahn can you test this against the current 2.4.x? SFML reverted back to using Xlib and Xlib is known to have a usable Input Method implementation in contrast to XCB.

Just tried this with the lastest revisions of SFML and nana, the output remains the same as the original post.

I could sort of reproduce the issue with a similar X error but a different SFML trace.
The problem with this combination is:

nana creates it's own background std::thread to continuously pump events
the background thread only synchronizes with nana's own data, not external data
nana doesn't like to share ownership of its window handle to the extent that SFML needs it to

The native_handle() method was probably written with adding OS specific controls in mind rather than actually sharing the window resource, as such they haven't made any provisions to ensure that doing the latter works properly or is even possible.
There is no technical way to combine SFML like this.

Since this issue seems to be "unfixable", I'll close this for now. Feel free to re-open it if you feel that there is technically a way to achieve clean interoperation between SFML and nana.

authors: LaurentGomila TankOs binary1248 fallahn

repo: SFML/SFML

license: Zlib


text:
sf::Texture move semantics implementation inconsistencies

I noticed that sf::Texture's move operations do not exchange m_pixelsFlipped nor m_hasMipmap, is this intended or an oversight?
One more inconsistency is that the move operations exchange m_cacheId with 0, but swap does this:
void Texture::swap(Texture& right) noexcept
{
    std::swap(m_size, right.m_size);
    // ...
    m_cacheId       = TextureImpl::getUniqueId();
    right.m_cacheId = TextureImpl::getUniqueId();
}

Should m_cacheId be always reset to a unique id even as a consequence of a move?

@binary1248: what is the reason that swap does not simply swap the cache IDs, instead generating two new ones? Are our move operations incorrect in setting the moved-from texture's cache ID to 0? See #3077 for context.

Some previous discussion here: https://github.com/SFML/SFML/pull/2479#pullrequestreview-1363542042
I find it hard to understand. If moving cache IDs works, then swapping should as well...

#3078 was merged, closing this.


text:
Support apt installation

User Story
Linux users want to install dacrane from apt.
$ apt install dacrane

Acceptance Criteria

Implement the GitHub actions code that publishes dacrane to apt when creating release tags.

Since the distribution of the specification at an unstable stage will cause confusion, it will be supported in 0.1.0 or later.

repo: SIOS-Technology-Inc/dacrane


text:
🛑 DNS1.electro is down

In 3d5da5a, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in be1294a after 1 hour, 4 minutes.

repo: SIRMaxis/uptime-robot

license: MIT


text:
🛑 DNS1.electro is down

In 4d8da33, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 172e68c after 8 minutes.


text:
🛑 DNS2.electro is down

In 61998ba, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 1929951 after 12 minutes.


text:
🛑 DNS2.electro is down

In f7a9f05, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 735751f after 17 minutes.


text:
🛑 DNS2.electro is down

In e2d1035, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in e0178fa after 20 minutes.


text:
🛑 Website is down

In 5e31a81, Website (ELTeam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in bce2372 after 1 hour, 1 minute.


text:
🛑 Website is down

In 82aba9d, Website (ELTeam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in e88bf3b after 19 minutes.


text:
🛑 DNS1.electro is down

In 0dcf900, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in fbe03bd.


text:
🛑 DNS1.electro is down

In 2f7b211, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 76ffa05 after 8 minutes.


text:
🛑 DNS1.electro is down

In 5830ba3, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 5e0ae89 after 7 minutes.


text:
Add share menu to achievements

Folks love to share their accomplishments on social media. Let's add a Share menu to the achievement cards.

[x] Twitter
[x] Facebook

Fix in  fc04aa4

This is currently not possible in mdl with the way we are dynamically creating the cards

authors: nickpeihl npeihl

repo: SJCGIS/footprint-review


text:
MediaQueries

[ ] Make sure that sizing

Tämä saattaa olla hieman isompi juttu, pitänee varmistaa mobiilin lisäksi se, että skaalautuu myös isommilla näytöillä oikein.
Mobiilit ensin?

Lisätty nyt reilusti media quereja sivun vähimmäiskokoon liittyen sekä asettelua flexboksilla lomakkeisiin liittyen.

Pääasiassa hoidettu, mutta toki lisää elementtejä kun on tullut/tulee, niin pitää tsekkailla myöhemmin.

authors: SJarno Tinnni

repo: SJarno/SantaService


text:
[QUALITY] Add order line / task / component link to NC

--

Remove mandatory rule
return [
            //
            'failure_comment'=>'required',
            'causes_comment'=>'required',
            'correction_comment'=>'required',
        ];

Add Task ID
Add Order line ID


text:
Could not build wheels for smt

I am trying to install smt in a conda venv, python version 3.7, windows 10. I have installed the msvc c++ build tools, and the dependencies are installed but I get the following printout in my cmd terminal:
Building wheels for collected packages: smt
  Building wheel for smt (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for smt (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [97 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-37
      creating build\lib.win-amd64-cpython-37\smt
      copying smt\__init__.py -> build\lib.win-amd64-cpython-37\smt
      creating build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\gekpls.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\genn.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\idw.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\kpls.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\kplsk.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\krg.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\krg_based.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\krg_mgp.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\ls.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\qp.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\rbf.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\rmtb.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\rmtc.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\rmts.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\surrogate_model.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      copying smt\surrogate_models\__init__.py -> build\lib.win-amd64-cpython-37\smt\surrogate_models
      creating build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\branin.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\cantilever_beam.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\lp_norm.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\ndim_cantilever_beam.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\ndim_robot_arm.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\ndim_rosenbrock.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\ndim_step_function.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\problem.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\reduced_problem.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\robot_arm.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\rosenbrock.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\sphere.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\tensor_product.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\torsion_vibration.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\water_flow.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\water_flow_lfidelity.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\welded_beam.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\wing_weight.py -> build\lib.win-amd64-cpython-37\smt\problems
      copying smt\problems\__init__.py -> build\lib.win-amd64-cpython-37\smt\problems
      creating build\lib.win-amd64-cpython-37\smt\sampling_methods
      copying smt\sampling_methods\full_factorial.py -> build\lib.win-amd64-cpython-37\smt\sampling_methods
      copying smt\sampling_methods\lhs.py -> build\lib.win-amd64-cpython-37\smt\sampling_methods
      copying smt\sampling_methods\random.py -> build\lib.win-amd64-cpython-37\smt\sampling_methods
      copying smt\sampling_methods\sampling_method.py -> build\lib.win-amd64-cpython-37\smt\sampling_methods
      copying smt\sampling_methods\__init__.py -> build\lib.win-amd64-cpython-37\smt\sampling_methods
      creating build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\caching.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\checks.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\kriging_utils.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\linear_solvers.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\line_search.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\misc.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\options_dictionary.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\printer.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\silence.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\sm_test_case.py -> build\lib.win-amd64-cpython-37\smt\utils
      copying smt\utils\__init__.py -> build\lib.win-amd64-cpython-37\smt\utils
      creating build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\activation.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\bwd_prop.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\data.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\fwd_prop.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\loss.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\metrics.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\model.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\optimizer.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      copying smt\utils\neural_net\__init__.py -> build\lib.win-amd64-cpython-37\smt\utils\neural_net
      creating build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\application.py -> build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\ego.py -> build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\mfk.py -> build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\mfkpls.py -> build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\mfkplsk.py -> build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\mixed_integer.py -> build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\moe.py -> build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\vfm.py -> build\lib.win-amd64-cpython-37\smt\applications
      copying smt\applications\__init__.py -> build\lib.win-amd64-cpython-37\smt\applications
      running build_ext
      building 'smt.surrogate_models.rbfclib' extension
      creating build\temp.win-amd64-cpython-37
      creating build\temp.win-amd64-cpython-37\Release
      creating build\temp.win-amd64-cpython-37\Release\smt
      creating build\temp.win-amd64-cpython-37\Release\smt\src
      creating build\temp.win-amd64-cpython-37\Release\smt\src\rbf
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ismt/src/rbf -IC:\Users\tobyw\AppData\Local\Temp\pip-build-env-5rlc1vyh\overlay\Li
b\site-packages\numpy\core\include -IC:\Users\tobyw\anaconda3\envs\MetaStruct\include -IC:\Users\tobyw\anaconda3\envs\MetaStruct\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include" "
-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" /EHsc /Tpsmt/src/rbf/rbf.cpp /Fobuild\temp.win-amd64-cpython-37\Release\smt/src/rbf/rbf.obj
      rbf.cpp
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ismt/src/rbf -IC:\Users\tobyw\AppData\Local\Temp\pip-build-env-5rlc1vyh\overlay\Li
b\site-packages\numpy\core\include -IC:\Users\tobyw\anaconda3\envs\MetaStruct\include -IC:\Users\tobyw\anaconda3\envs\MetaStruct\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include" "
      C:\Users\tobyw\anaconda3\envs\MetaStruct\include\pyconfig.h(203): fatal error C1083: Cannot open include ftemp.win-amd64-cpython-37\Release\smt/src/rbf/rbfclib.obj
ile: 'basetsd.h': No such file or directory
      C:\Users\tobyw\AppData\Local\Temp\pip-build-env-5rlc1vyh\overlay\Lib\site-packages\setuptools\dist.py:770:ile: 'basetsd.h': No such file or directory
 UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use th UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the unde
e underscore name 'description_file' instead
        % (opt, underscore_opt)
      error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\
\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for smt
Failed to build smt
ERROR: Could not build wheels for smt, which is required to install pyproject.toml-based projects

I am at a loss for where to go now! Any suggestions?

Not sure what is going on with your installation but you can install directly using conda (wheels are generated for py37 on windows):
conda install -c conda-forge smt

Perfect! This worked for me.

repo: SMTorg/smt


text:
don't receive

LoRa_receive func.  just returns zero?!

I found that to send and receive at the same time, you have to write LoRa_startReceiving command in while before send is finished.

repo: SMotlaq/LoRa


text:
🛑 about.solpl.party is down

In afcbbee, about.solpl.party (https://about.solpl.party) was down:

HTTP code: 200
Response time: 660 ms

Resolved: about.solpl.party is back up in 14645b6.

repo: SOLPLPARTY/upptime


text:
🛑 CAOSBI is down

In e17de44, CAOSBI (https://caosbi.ayi-asociados.com/) was down:

HTTP code: 502
Response time: 508 ms

Resolved: CAOSBI is back up in 9d0ec74.

repo: SOPORTEAYIGROUP/AYIGROUP


text:
In Tellraw JSON text, why can't the expected Boolean value of "bold" be enclosed in double quotes?

Please look at the title first.
Is it possible to support double quoted Boolean values in later versions?
Although double quoted booleans work well in Minecraft, I hope to fix this problem.

TL;DR Nope.
The fact that Minecraft supports something weird for now doesn't make it necessary for DLS (or minecraft-schemas, actually) not to warn it. It is generally bad practice to write boolean values in quotation marks, and the behavior of the game might change at any time in the future w/o notifications.

(This is an unnecessary reply, so don't read it.)
Well, that's my habit. Maybe I'll think about getting rid of it later.
:)

authors: SNWCreations SPGoding

repo: SPGoding/datapack-language-server


text:
一图流能不能把图放在首页

就readme.md里面
或者把图片也加入repo里
感觉直观一点更好

放了, 但是更新还是以nga为主,github上主要是为了给想研究的人提供代码, 更新不会很频繁

repo: SQRPI/ArkOneGraph


text:
A Move/Rename leaves a redirector file behind

After a Move/Rename operation, the old asset file is replaced by a "redirector" file of the same name, pointing to the new asset file.
A problem arises if this redirector is not committed immediately with the new asset:

the old asset is still in source control
the redirector is not in source control
the new asset is also in source control
there are two identical files checked in the source control system. Thus the operation appears as a copy/duplicate, instead of a rename.

This happens when the new file is directly selected for check-in: only the new file is proposed for check-in (not the redirector itself).
=> Users must select a whole directory or game project to commit all files with an atomic multi-file check-in.

The redirector can also be deleted by the FixupRedirector command in Asset Browser in Editor


text:
[iLQR] Add line search

Add the line search to iLQR such that during the backward pass, we try a few multiples of the input feedback. Another suggestion by Kyle

Line search: Basically, after computing K(t) and k(t), you do a forward rollout with pi(x, t) = uhat(t) + k(t) + K(t)(x(t) - xhat(t)). Then, if it doesn't reduce costs (this line), you should try doing another forward pass with the same feedback gains, but multiplying the FF gains by some constant. If you do multiple forward passes without improving performance, then you can redo a new backwards pass with more regularization.
You can probably change the factor by which you increase/decrease regularization in this case to 0.5 (rather than 0.9). Waiting for many many failed backwards passes to accumulate before regularization gets large enough is pretty slow. Usually you'd multiply by something like 0.9 on success, and multiply by 2 on failure. Also, FWIW, I've seen people use various schemes for updating this parameter - the most common is to increase it whenever the eigenvalues of Quu become negative somewhere in the backwards pass (the condition you've got is more like the standard line search condition).

Closing as we are doing a different direction

repo: SSL-A-Team/software


text:
Create Design.md

@tiagov8 @jaydenalchin
Hi Tiago and JD
please take a look at the design roles when you got a minute, cheers.

Hey @hveraus
Not a big fan of the 1st person being repeated "I have, I am, I can" etc...
Is this for consistency with other roles? If not, I would avoid

Yes, consistent with the dev roles, please see - https://github.com/SSWConsulting/SSW.Roles/blob/main/development.md

Hi @hveraus
CC: @tiagov8
(Checked by @jernejk @sambwagner for consistency with dev roles)

Designer Subsets - Should we include Web Designer as a more frontend-oriented role (and possibly Visual / Graphic Designer as a more media-oriented role) in this list? We recently consolidated designer titles but Web Designer and Graphic Designer were included in our documentation until recently (e.g. https://www.ssw.com.au/ssw/Consulting/Terms-and-Conditions). Personally I think there could be a worthy differentiation here for candidates or employees with a smaller subset of skills than what UI/UX denotes.

Figure: Example - Design roles & umbrellas.

Senior Roles - Should we consider adding a role above Senior UI/UX Designer (e.g. Principal UX Designer) to indicate increased responsibility regarding team/product management, content design, and business strategy? I think Tiago would be a great candidate for this.

Option 1 (Recommended)

Principal UI/UX Designer
Senior UI/UX Designer
UI/UX Designer
Web Designer
Graphic Designer
Design Work Experience

Option 2:

Product Designer
UI/UX Designer
Web Designer
Graphic Designer
Design Work Experience

Hi @hveraus CC: @tiagov8 (Checked by @jernejk @SamBWagner for consistency with dev roles)

Designer Subsets - Should we include Web Designer as a more frontend-oriented role (and possibly Visual / Graphic Designer as a more media-oriented role) in this list? We recently consolidated designer titles but Web Designer and Graphic Designer were included in our documentation until recently (e.g. https://www.ssw.com.au/ssw/Consulting/Terms-and-Conditions). Personally I think there could be a worthy differentiation here for candidates or employees with a smaller subset of skills than what UI/UX denotes.

 Figure: Example - Design roles & umbrellas.

Senior Roles - Should we consider adding a role above Senior UI/UX Designer (e.g. Principal UX Designer) to indicate increased responsibility regarding team/product management, content design, and business strategy? I think Tiago would be a great candidate for this.

Option 1 (Recommended)

Principal UI/UX Designer
Senior UI/UX Designer
UI/UX Designer
Web Designer
Graphic Designer
Design Work Experience

Option 2:

Product Designer
UI/UX Designer
Web Designer
Graphic Designer
Design Work Experience

For this one, let's ask Uly @UlyssesMaclaren , I think web designer and graphic designer are not on the consulting roles list for a reason.

Do we have a web designer role, or is the web design job usually done by UI/UX designer and software developer?
Do we have a graphic designer role who doesn't do any code stuff? I think all the designers who got into SSW should pass the HTML code challenge.
Should we have a principal UI/UX designer for some projects that are design driven?

Hey @hveraus
Not a big fan of the 1st person being repeated "I have, I am, I can" etc...
Is this for consistency with other roles? If not, I would avoid
I have added comments to the things I found. Please fix them all and ask for a second review when ready ;)

Yes this is to make it consistant with https://github.com/SSWConsulting/SSW.Roles/blob/main/development.md

I can see we only have 1 designer rate at the moment. My feeling is 2 (maybe 3 if you include work experience) makes sense, but 4 or 5 might be overkill

remember we need an hourly rate for each level, so this would require a change to the T&Cs too

I can see we only have 1 designer rate at the moment. My feeling is 2 (maybe 3 if you include work experience) makes sense, but 4 or 5 might be overkill

I don't think work experience should be included as we would never place them on client work, right?
FYI We did originally have 2 designer rates in our T&Cs but I can see Tiago made the suggestion we remove the Web/graphic designer rate when our titles were consolidated for consistency earlier in the year as we no longer had any web designers on the roster.

Figure: UX designer + Web designer rates
As to the point from @hveraus above, we test for HTML/CSS skills in our designer challenge so graphic design role isn't needed but I still think including a web design one makes sense.

remember we need an hourly rate for each level, so this would require a change to the T&Cs too

Is this true? I'm not a senior designer but I'm billed at the same rate as everyone else as you've pointed out above.

@UlyssesMaclaren
Hi Uly, as per my conversation with @adamcogan , he approved we have 3 roles for designers, which are Senior UI/UX Designer, UI/UX Designer and Associate Designer.

Can you please review my latest PR for Design.md
Can you please work out the rate for each role, I can update the T&Cs page if you want

Thanks.

authors: UlyssesMaclaren hveraus jaydenalchin


text:
bdd_sink, bdd_ithvar, ... are not canonical

All the functions in bdd/build.h are not canonical in the sense, that their id are not from MAX_LABEL and decreasing, and they are (maybe?) not sorted based on their children.

#128 Has solved this for all but the adiar::counter function.

repo: SSoelvsten/adiar


text:
Change all comparators to use & and |

Closes #256

If you look at the trace of the above, I believe there might just be too much noise to properly measure this. It might actually be a performance improvement. We should wait until #168 , #169 , #98 , and some version of #166 are in main and then rebase on-top of that to get some measurements, where this has a much bigger (relative) impact.

While the code is fine, let us wait until we have evidence that this truly is a good idea.

If we look at the data in the 14-queens case, it also seems like it is a regression. I propose, we scrap this idea for now?


text:
restricting the number of threads in an application

How can I restrict the number of threads to run by an hpx application?

@tsung-wei-huang if you refer to the number of cores to run your HPX application on, then you can pass the --hpx:threads=N command line option, where N is the number of cores to use. In general you might want to read about the various command line options any HPX application supports here: https://stellar-group.github.io/hpx-docs/latest/html/manual/launching_and_configuring_hpx_applications.html#commandline.

@hkaiser  is there any way I can do this through environment variable?

@hkaiser  is there any way I can do this through environment variable?

Unfortunately, this can't be controlled through an environment variable, ATM. But we could easily add this functionality, if needed. Not sure of how much use that would be for you.

I'm not sure if we want to have more ways of setting the number of threads, but doesn't the configuration system already allow customizing things through environment variables? Having HPX_NUM_THREADS work as an environment variable looks like it would be a one-line change.

I'm not sure if we want to have more ways of setting the number of threads, but doesn't the configuration system already allow customizing things through environment variables? Having HPX_NUM_THREADS work as an environment variable looks like it would be a one-line change.

Yes, that's what I was thinking. This changes the base-line default only however. We try to figure out how many cores to use through many different means, so I'm not sure if the base-line default value is actually used in the end. This needs some investigation.

authors: hkaiser msimberg tsung-wei-huang

repo: STEllAR-GROUP/hpx


text:
Linker error with hpx::new_<T[]>()

Expected Behavior
Documentation and examples suggest to place the macro HPX_REGISTER_COMPONENT in a source file. The expected behavior is to be able to instantiate the component in other translation units.
Actual Behavior
If we try to instantiate the component in a different translation unit using hpx::new_<T[]>(), the linker won't find the definition of char const* hpx::components::get_component_name<T, void>() as it is a function template defined in a source file.
Steps to Reproduce the Problem
This commit shows the diff between using hpx::new_<T>() and hpx::new_<T[]>(), it will fail to link when setting the Cmake option -DSINGLE_WORKER=OFF
Specifications

HPX Version: 1.8.1
Platform (compiler, OS): Cori, GCC 11.2.0

@esseivaju: thanks for this report. I'll try to have a look asap.

@esseivaju I am able to reproduce this issue locally. The solution seems to be more complicated than I'd like it to be, however. I'll keep you in the loop.

authors: esseivaju hkaiser


text:
Fix shared_future_continuation_order regression test

Fixes occasional failure of shared_future_continuation_order regression test.
If my understanding is correct, continuations are executed on newly spawned threads by default, which would not guarantee their order of execution. Launching with hpx::launch::sync should guarantee that no new thread is spawned, thus they are executed in sequence.
(@hkaiser We had fixed this in some PR in the past, but it seems it didn't make it into master)

bors merge


text:
rcc_ex: fix RTC clk sel with HSE div

IMPORTANT INFORMATION
Contributor License Agreement (CLA)

The Pull Request feature will be considered by STMicroelectronics after the signature of a Contributor License Agreement (CLA) by the submitter.
If you did not sign such agreement, please follow the steps mentioned in the CONTRIBUTING.md file.

This pull request has been refused, the Contribution License Agreement must be signed.

authors: ST-dot-com jiri-novotny


text:
'numpy.ndarray' object has no attribute 'toarray' running SingleR Annotation with cell labels

Hi, i cannot run SingleR Annotation with cell labels.
I follow the tutorial :
ref_file = '/home/labex-cortex/Projects/SpatialTranscriptomics/stereoseq/data/l5_all.h5ad'
ref = st.io.read_h5ad(ref_file)
# preprocessing
ref.tl.log1p()
ref.tl.normalize_total()
data.tl.single_r(
    ref_exp_data=ref,
    ref_use_col='ClusterName',
    res_key='annotation',
    n_jobs=5,
    method='default'  #  Specifying the method as rapids means using gpu
)

The error :
INFO:numba.core.transforms:finding looplift candidates
[2024-04-24 16:19:42][Stereo][192975][MainThread][139761790124672][single_r][160][INFO]: start single-r with n_jobs=5 fine_tune_times=0
[2024-04-24 16:19:42][Stereo][192975][MainThread][139761790124672][single_r][162][INFO]: start training ref...
[2024-04-24 16:33:31][Stereo][192975][MainThread][139761790124672][single_r][165][INFO]: training ref finished, cost 828.4771797657013 seconds
[2024-04-24 16:33:31][Stereo][192975][MainThread][139761790124672][single_r][191][INFO]: start scoring test_data...

AttributeError                            Traceback (most recent call last)
Cell In[78], line 1
----> 1 data.tl.single_r(
      2     ref_exp_data=ref,
      3     ref_use_col='ClusterName',
      4     res_key='annotation',
      5     n_jobs=5,
      6     method='default'  #  Specifying the method as rapids means using gpu
      7 )

File ~/miniconda3/envs/st/lib/python3.8/site-packages/stereo/algorithm/single_r/single_r.py:193, in SingleR.main(self, ref_exp_data, ref_use_col, cluster_res_key, quantile, fine_tune_threshold, fine_tune_times, n_jobs, res_key, method, gpuid)
    191 logger.info('start scoring test_data...')
    192 start_time = time.time()
--> 193 output, labels_array = self._score_test_data(test_data, common_gene)
    194 logger.info(f'scoring test_data finished, cost {time.time() - start_time} seconds')
    196 logger.info('start fine-tuning...')

File ~/miniconda3/envs/st/lib/python3.8/site-packages/stereo/algorithm/single_r/single_r.py:280, in SingleR._score_test_data(self, test_data, common_gene)
    278     y_cell_bool_list = np.isin(self.ref_exp_data.cell_names, y['bins'].values)
    279     original_exp[x] = self.ref_exp_data.exp_matrix[y_cell_bool_list][:, common_gene_index].toarray()
--> 280 test_mat = test_data.exp_matrix[:, common_gene_index].toarray()
    281 ranked_mat_ref = apply_along_axis(test_mat.T)
    283 res_dict = dict(Parallel(n_jobs=self.n_jobs, backend="threading")(
    284     delayed(_spearman_parallel)(label, ranked_mat_ref, y.T, self.quantile)
    285     for label, y in tqdm(original_exp.items())
    286 ))

AttributeError: 'numpy.ndarray' object has no attribute 'toarray'

In contrast singler work good after clustering :

data.tl.single_r(
    ref_exp_data=ref,
    ref_use_col='ClusterName',
    cluster_res_key='leiden',
    res_key='annotation'
)
[2024-04-23 15:13:28][Stereo][135079][MainThread][139942815433344][st_pipeline][77][INFO]: register algorithm single_r to <stereo.core.st_pipeline.StPipeline object at 0x7f46a0fc1b50>
INFO:numba.core.transforms:finding looplift candidates
[2024-04-23 15:14:01][Stereo][135079][MainThread][139942815433344][single_r][160][INFO]: start single-r with n_jobs=20 fine_tune_times=0
[2024-04-23 15:14:01][Stereo][135079][MainThread][139942815433344][single_r][162][INFO]: start training ref...
[2024-04-23 15:27:32][Stereo][135079][MainThread][139942815433344][single_r][165][INFO]: training ref finished, cost 811.0577094554901 seconds
[2024-04-23 15:27:46][Stereo][135079][MainThread][139942815433344][single_r][191][INFO]: start scoring test_data...
  0%|                                                   | 0/265 [00:00<?, ?it/s]INFO:numba.core.transforms:finding looplift candidates
100%|█████████████████████████████████████████| 265/265 [00:09<00:00, 26.70it/s]
[2024-04-23 15:28:06][Stereo][135079][MainThread][139942815433344][single_r][194][INFO]: scoring test_data finished, cost 19.836358070373535 seconds
[2024-04-23 15:28:06][Stereo][135079][MainThread][139942815433344][single_r][196][INFO]: start fine-tuning...
[2024-04-23 15:28:12][Stereo][135079][MainThread][139942815433344][single_r][302][INFO]: fine-tuning with test_data(shape=(6, 15490))
6it [00:00, 2562.71it/s]
INFO:numba.core.transforms:finding looplift candidates
INFO:numba.core.transforms:finding looplift candidates
[2024-04-23 15:28:29][Stereo][135079][MainThread][139942815433344][single_r][199][INFO]: fine-tuning finished, cost 23.345231771469116 seconds
[2024-04-23 15:28:29][Stereo][135079][MainThread][139942815433344][single_r][207][INFO]: single-r finished, cost 901.1310925483704 seconds

Can you help me ?
Bests.
Maxime

SingleR only support sparse matrix currently, you can run data.array2sparse() to convert matrix from ndarray to sparse matrix.

authors: maximelepetit tanliwei-coder

repo: STOmics/Stereopy


text:
Реализовать генерацию и отправку инвайт-кодов в календарь

[x] Создать окно с генерацией инвайт-кода. Подготовить методы, сигналы и кнопки для дальнейшей обработки данных
[x] Применить стили к созданному виджету
[ ] Связать caldav и приложение. Сделать генерацию инвайт-кода и создание файла с кодом
[ ] ...

Изменён дизайн генерации инвайт-кода, добавлена валидация вводимых данных (PR будет залит вместе с присоединением и созданием календаря)
до

после

Можно корректировать данный вариант дизайна


text:
Change name of migration, influencing execution order

This ensures that this migration runs before a migration that depends on this migration being run.
Reported error:
migrating up to 20160728074605 from 20160607142244
…
++ migrating 20160719090052

Migration 20160719090052 failed during Execution. Error An exception occurred while executing 'INSERT INTO institution_configuration_options (institution, use_ra_locations_option, show_raa_contact_information_option) VALUES (?, ?, ?)' with params ["institution-a.nl", false, true]:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'middleware.institution_configuration_options' doesn't exist

Probable cause would be that after the creation of migration 20160719090052 the events as the result of commands triggered in that migration have been changed for other events, as well as the projectors are different and require the presence of a table generated by the migration that is now run before the 20160719090052 migration.

:+1:

authors: DRvanR arothuis

repo: SURFnet/Stepup-Middleware


text:
Automatically determine a default nodenumber for physical clouds

kbaikov pointed out that he'd prefer to have cloud=qaX select the
full sized cloud by default rather than the previous default of 2 nodes.

please note that I'm not necessarily in favor of the change.. putting it up as a request for comments

LGTM, this is a way to decide the total number of nodes to run during the tests. But still L258 look weird, you are checking that is nodenumbertotal is not set, nodenumber will be changed, and can be nodenumbertotal, because, IIUC, this is like:
if not nodenumbertotal:
    nodenumber = nodenumber if nodenumber else nodenumbertotal

That is kind of weird

An error. Probably because of the first default nodenumber removal.
++ set_proposalvars
++ [[ -f /etc/cloudsource ]]
++ case "$nodenumber" in
++ deployswift=
++ deployceph=1
++ [[ -n '' ]]
++ case "$want_ceph" in
++ case "$want_swift" in
++ [[ '' -lt 3 ]]
++ [[ 1 == 1 ]]
++ complain 87 'Ceph needs at least 3 nodes to be deployed. You have  nodes.'
++ local ex=87
++ shift
++ printf 'Error: %s\n' 'Ceph needs at least 3 nodes to be deployed. You have  nodes.'
Error: Ceph needs at least 3 nodes to be deployed. You have  nodes.
++ [[ 87 = - ]]
++ exit 87

LGTM, this is a way to decide the total number of nodes to run during the tests. But still L258 look weird, you are checking that is nodenumbertotal is not set, nodenumber will be changed, and can be nodenumbertotal, because, IIUC, this is like:

nodenumbertotal is computed internally (including lonleynodes, excluding clusters)
you still set the desired number of nodes via nodenumber=X

does still this makes sense?

If this still makes sense, please take into account that the nodes function relies on a value for nodenumber. Dropping the default can lead to broken mkcloud runs if this value is not set.
So I'd rather keep the default at the beginning and just override it as for the qaX clouds.

I think we should skip this, please ping me if you think otherwise.

authors: aplanas dirkmueller jdsn kbaikov

repo: SUSE-Cloud/automation


text:
Fix the style of the user link on the top navigation bar

Signed-off-by: Miquel Sabaté mikisabate@gmail.com

Before this patch the user link on the top navigation bar looked like this  (reproducible with both Firefox and Chrome):

As you can see, it's almost unreadable. In order to fix this we have to apply the @header-text-colour to the a element, instead of the .username. Moreover, I've also added a bit of margin to the left of the link, so it doesn't look ugly with the image next to it. The result:

Thanks for the fix, this is definitely better.
However now the logout button is unreadable when the mouse is not over it. I suspect you accidentally changed the font colour to white.

BTW, I recommend you to create dedicated branches for your pull requests. It makes easier to make several pull requests on parallel.

Fixed! Sorry about that :)
And yes, I know that's better to use dedicated branches, but I thought about it after submitting the pull request...

So, in my last commit I decided that's better to use the class nav-a for links in the top navigation bar. This way the style does not conflict with other a elements (e.g. the logout button).

LGTM :+1:
Thanks

authors: flavio mssola

repo: SUSE/Portus


text:
jobs: fixed crono job when a repository could not be found

Fixes #720
Signed-off-by: Miquel Sabaté Solà msabate@suse.com

It should probably be backported to the v2.0 branch.

LGTM, I agree with the backporting.

Cherry-picked into v2.0.


text:
Reset option of svprogresshud

How to reset my all style(color, style, maximum dismiss time interval etc.) of progresshud.

There is no reset option at the moment.

authors: NikunjGangani honkmaster

repo: SVProgressHUD/SVProgressHUD


text:
Able to build Nuclear units without the Manhattan Project

The Manhattan Project city improvement wonder enables the ability to build Nuclear units.  Without it, I should not be able to build Nuclear units.

The Manhattan Project effects are not yet implemented, but I will pick this up for the next preview build.


text:
通过 task 直接取 tags 没有值

sorry，又来提 bug 了。
直接通过 task.tags 取值为空
    NSMutableSet *subtract = [NSMutableSet setWithSet:self.tags];
    [subtract subtractSet:tags];
    if (subtract.count > 0) {
        [self.tags unionSet:tags];
    }

断点查看，这里好像没有添加进去。

是因为 -[NSMutableSet subtractSet:] 方法有瑕疵, 已修复

authors: SYFH huanglins

repo: SYFH/FKDownloader


text:
🛑 HEMIS is down

In 290e8d7, HEMIS (149.54.12.140) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HEMIS is back up in 05f3d0c after 16 minutes.

repo: Saboor-Hakimi/upptime


text:
Softwarelists have second dataarea field

https://github.com/SabreTools/SabreTools/blob/8b35393d1f8ecb165f39c326aaee4bc9223e41f4/SabreTools.DatFiles/Formats/SoftwareList.cs#L339
with current solution only one line of dataarea is read.
		<dataarea name="rom" size="1048576" width="16" endianness="little">
			<rom name="mh8m256s083a.u3" size="1048576" crc="7fff2520" sha1="eb538b82c5516fae8ce38778e41fb118aa5c830f" offset="000000" />
		</dataarea>
		<dataarea name="sram" size="32768" width="16" endianness="little">

something like:
part.DataArea.Add(DataArea);
                    reader.Read();

Can you please link and example software list that has multiple data areas?

wswan.txt

337
else
items.Add(dataArea);
                    // read second dataArea
                    reader.Read();

841
// add Itemtype.DataArea second time
// DataArea is not public enum
// something like
foreach (DateArea kvp in rom.DataArea)
{
xtw.WriteStartElement("dataarea");
xtw.WriteRequiredAttributeString("name", dataAreaName);
xtw.WriteOptionalAttributeString("size", rom.DataArea?.Size.ToString());
xtw.WriteOptionalAttributeString("width", rom.DataArea?.Width?.ToString());
xtw.WriteOptionalAttributeString("endianness", rom.DataArea?.Endianness.FromEndianness());
}

OK, it is not so easy
softwarelist.cs 337
items.AddRange(roms);
// logger.User($"create '{string.Join(", ", roms)}' ...");
// "roms" not null, since dataArea contains data
// 2. Dataarea read as "rom" with empty rom
// create 'SabreTools.DatItems.Formats.Rom' ...
// create '' ...
So the second dataarea was dropped, since there is no format?
Must be in itemdictonary.cs...
Something the same must be with the info fields #44, because I can the them in
itemdictonary.cs 421                 items[key].Add(value);
but they where gone in
softwarelist.cs 391
// only item.ItemType == rom

softwarelist.cs 337
// If we got valid roms, add them to the list
if (!String.IsNullOrEmpty(string.Join(", ", roms)))
{
items.AddRange(roms);
// logger.User($"create '{string.Join(", ", roms)}' ...");
// "roms" not null, since dataArea contains data
// 2. Dataarea read as "rom" with empty rom
// create 'SabreTools.DatItems.Formats.Rom' ...
// create '' ...
}
else
{
items.Add(dataArea);
//logger.User($"6create '{dataArea.Name}' ...");
// 6create 'sram' ...
// 6create 'eeprom' ...
}

#43 and #44 are almost solved
Machine Information was not provided, so the tag was empty.
Just looking how to move both tag to the right place, while writing.

dataarea tag has now correct position in

authors: Lothrien mnadareski

repo: SabreTools/SabreTools


text:
perf: improved performance in various methods in Image and ImageList

Summary of Changes

Improved memory usage and runtime in:

Image

convert_to_grayscale
adjust_brightness
add_noise
adjust_contrast
adjust_color_balance
find_edges

ImageList

from_images
add_image
add_images
remove_image_by_index
remove_duplicate_images
convert_to_grayscale
resize
crop
adjust_brightness
add_noise
adjust_contrast
adjust_color_balance
find_edges

Changed blur algorithm in Image and ImageList from Gaussian blur to box blur
Fixed a bug in blur and sharpen, that they could not work with Tensors of size greater than 2**31

Details to the performance upgrades:
These details will explain the performance upgrades in the ImageList. All performance upgrades and changes in Image are made according to the changes in ImageList
Early stopping
convert_to_grayscale returns self when it has only one channel (in this case, the ImageList is already in grayscale)
remove_duplicate_images returns self if the unique image tensor has the same size as the original (in this case, there are no duplicates)
adjust_brightness returns ImageList with complete black images if factor is 0
adjust_color_balance returns ImageList.convert_to_grayscale if factor is 0
General changes
If a float Tensor is used during the computation, it will be float16 instead of float32
Improved the order of Tensor allocations, so that there will be fewer problems with tensors not being completely on the VRAM
Benchmark
Only the transformation methods have benchmarks for the runtime. Their benchmark includes only changes over/under a change factor of 0.25, rounded to one decimal point, as runtime depends on multiple factors and fluctuates heavily with changes of only a few milliseconds in most cases.
All differences are measured as a factor compared to the original results. That means a factor below 1 is worse, while a factor above 1 is a better result. For readability, all factors equal to 1 are not included.
Due to the bug fix mentioned above for blur and sharpen the performance of these methods decreased in most cases.
Benchmark with RGB images of size 250×250

method
result size difference
runtime difference
max memory allocation during runtime difference

from_images
8

7,95

remove_image_by_index

1,5

adjust_brightness

1,6
1,5

add_noise
4
42,5
2,25

adjust_contrast

1,4
1,69

adjust_color_balance
4
6,3
3

blur

0,7
0,9

sharpen

0,6
0,91

find_edges

1,3

Benchmark with RGBA images (RGB images with transparent layer) of size 256×256

method
result size difference
runtime difference
max memory allocation during runtime difference

from_images
8

6,29

remove_image_by_index

1,5

adjust_brightness

1,7
1,36

add_noise
4
24,5
2,25

adjust_contrast

1,53

adjust_color_balance
4
1,7
2,6

blur

1,6
0,9

sharpen

0,89

Benchmark with RGB images of multiple different sizes

method
result size difference
runtime difference
max memory allocation during runtime difference

from_images
7,7

6,3

add_images
8

2,38

remove_image_by_index

1,28

resize

1,3

crop

1,3
1,09

adjust_brightness

1,3
1,09

add_noise
4
44,3
1,47

adjust_contrast

2
2,17

adjust_color_balance
4
6,7
1,65

blur

2,87

sharpen

0,7
0,9

find_edges

1,9
0,91

Do you have benchmarks to quantify the performance improvement?

:tada: This PR is included in version 0.27.0 :tada:
The release is available on:

v0.27.0
GitHub release

Your semantic-release bot :package::rocket:

repo: Safe-DS/Library


text:
Update taskcat for EC2 and S3 portfolio template changes

Update taskcat for EC2 and S3 portfolio template changes

Just run like travis to debug then create a new PR with the real fix.


text:
🛑 Nostr Relay - wss://brb.io is down

In eee568b, Nostr Relay - wss://brb.io (https://brb.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nostr Relay - wss://brb.io is back up in 822f0b5.

repo: Sakhalinfox/orangepilldevuptime


text:
🛑 Nostr Relay - wss://nostr.oxtr.dev is down

In 1224891, Nostr Relay - wss://nostr.oxtr.dev (https://nostr.oxtr.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nostr Relay - wss://nostr.oxtr.dev is back up in eef6747 after 13 minutes.


text:
🛑 Nostr Relay - wss://nostr.oxtr.dev is down

In 98430bb, Nostr Relay - wss://nostr.oxtr.dev (https://nostr.oxtr.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nostr Relay - wss://nostr.oxtr.dev is back up in 5682a25 after 12 minutes.


text:
🛑 Nostr Relay - wss://nostr.oxtr.dev is down

In b0ce4b5, Nostr Relay - wss://nostr.oxtr.dev (https://nostr.oxtr.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nostr Relay - wss://nostr.oxtr.dev is back up in 9a37d57 after 15 minutes.


text:
Generation of sdk documentation from rendered templates

Enables generation of documentation for the sdk.
The documentation will be hosted by github pages. Github pages requires the documents to live on the master branch under /docs
As a part of reworking this repo, there will be some changes required to document generation, these changes will be captured as a part of @bredmond-sf 's spike doc.
Work remaining outside of this PR to complete the story includes:

[ ] 1. Setting up and configuring github pages.
[ ] 2. Updating @bredmond-sf 's doc.
[ ] 3. Creating a quick start guide for generating doc on other projects.
[ ] 4. Update release docs.

What is your vision for a process to updating this?

What is your vision for the process of updating the docs?
@monkey-jeff for now, In the release notes I'm going to add a line to update and commit the docs the designated release engineer runs the build.

authors: dbarbato-sf monkey-jeff

repo: SalesforceCommerceCloud/commerce-sdk


text:
Manage Household page doesn't put Primary Contact first in names & greetings

hub thread: https://powerofus.force.com/0D58000002tIuNL
info from david: OK, so the naming code orders the contacts this way:
Primary_Contact__c, npo02__Household_Naming_Order__c ASC NULLS LAST, CreatedDate '
But I realize that the Manage Household page is only using npo02__Household_Naming_Order__c when you drag contacts around and the name gets updated.

**lurch: add

Tracking W-011070

Included in beta release 3.83 (Beta 6)

Included in production release rel/3.83

authors: LurchTheButler davidhabib jlantz mrbelvedere

repo: SalesforceFoundation/Cumulus


text:
Allow only selected fields for donation matching options

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

**lurch: attach W-031175

Tracking W-031175

authors: LurchTheButler psadie


text:
New Feature Request: Custom Task Fields For Action Plan / Action Plan Templates

Is your feature request related to a problem? Please describe.
This is not a problem/issue/bug, just a missing feature.
Describe the solution you'd like
When creating a new Action Plan or Action Plan Template, we would like to include custom fields in the Task definition. While we discourage the use of process-specific custom fields in order to avoid the relatively low limits for Activities, we do have a need for some custom dependent picklists that we use across record types. One possible solution could be to leverage custom metadata types to maintain a list of field API names that are displayed dynamically in your VF page override. Specifying column order, record type, and inclusion of dependent picklists would be ideal (i.e. picklist value dependencies based on record type and controlling picklists should be accurately reflected).
Describe alternatives you've considered
Combining values into the standard Type field is an option for some of the data, but our users prefer picklist dependencies over longer value lists, and we try to avoid additional record types when we can. We also will not put data into the Type field that does not belong there, so it will not solve all of our use cases. As a custom alternative, we could supplement the existing functionality by creating new custom fields on APTemplateTask to house the custom field values and update the new Tasks accordingly whenever it is related to an APTask. This would not be an ideal user experience though because it is a disjointed process to generate the data instead of doing it all from the Template creation page.
Additional context
Add any other context or screenshots about the feature request here.

This is a good request, and one day I want to make the page far more flexible - and even use standard page layouts with lightning components embedded. The page has quite a few describe calls so it pulls from the Task available picklist values. I will keep this open, but for now, it may be best for you to build your own before save flow that can use the Lookup on Task to pre-fill fields based on various values, such as looking up the tree from Task to APTask to APTemplateTask. Then you can fill your own custom fields on that object through list views, probably, and have those referenced to your Tasks.
I like the idea of displaying specific fields and values on the AP Task List section; I don't know how to make that scale at this time. Let's keep this open and see where this goes once I transition to LWC from VF.

Thanks for the response David. We have already transitioned away from the
managed package to modify the VF page so it will accept queue assignment at
the Template level, this was the most critical need for us. If the need to
use custom fields becomes more urgent, we will likely rebuild in LWC as
well unless you get to it first. We try to stick to managed versions
wherever possible just couldn’t quite make it work for our users this time
around.
Take care and thanks again,
Gene
On Sat, Sep 3, 2022 at 4:53 PM David Schach @.***>
wrote:

This is a good request, and one day I want to make the page far more
flexible - and even use standard page layouts with lightning components
embedded. The page has quite a few describe calls so it pulls from the Task
available picklist values. I will keep this open, but for now, it may be
best for you to build your own before save flow that can use the Lookup on
Task to pre-fill fields based on various values, such as looking up the
tree from Task to APTask to APTemplateTask. Then you can fill your own
custom fields on that object through list views, probably, and have those
referenced to your Tasks.
I like the idea of displaying specific fields and values on the AP Task
List section; I don't know how to make that scale at this time. Let's keep
this open and see where this goes once I transition to LWC from VF.
—
Reply to this email directly, view it on GitHub
https://github.com/SalesforceLabs/ActionPlansV4/issues/49#issuecomment-1236203692,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJ4V4VEV4S25ETKTP237D3V4PCHLANCNFSM546Z7ORA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'd love to see what you've done - if you'd like to submit a PR, I can cherry-pick that into the next version.


text:
Valid Number

Problem statement:
Given a string s, return whether s is a valid number.
For example, all the following are valid numbers: "2", "0089", "-0.1", "+3.14", "4.", "-.9", "2e10", "-90E3", "3e+7", "+6e-1", "53.5e93", "-123.456e789", while the following are not valid numbers: "abc", "1a", "1e", "e3", "99e2.5", "--6", "-+3", "95a54e53".
Formally, a valid number is defined using one of the following definitions:
An integer number followed by an optional exponent.
A decimal number followed by an optional exponent.
An integer number is defined with an optional sign '-' or '+' followed by digits.
A decimal number is defined with an optional sign '-' or '+' followed by one of the following definitions:
Digits followed by a dot '.'.
Digits followed by a dot '.' followed by digits.
A dot '.' followed by digits.
An exponent is defined with an exponent notation 'e' or 'E' followed by an integer number.
The digits are defined as one or more digits.
Example 1:
Input: s = "0"
Output: true
Example 2:
Input: s = "e"
Output: false
Example 3:
Input: s = "."
Output: false
Constraints:
1 <= s.length <= 20
s consists of only English letters (both uppercase and lowercase), digits (0-9), plus '+', minus '-', or dot '.'.
Could you kindly assign it to me under Hacktoberfest.

kindly assign me this issue

Problem statement: Given a string s, return whether s is a valid number.
For example, all the following are valid numbers: "2", "0089", "-0.1", "+3.14", "4.", "-.9", "2e10", "-90E3", "3e+7", "+6e-1", "53.5e93", "-123.456e789", while the following are not valid numbers: "abc", "1a", "1e", "e3", "99e2.5", "--6", "-+3", "95a54e53".
Formally, a valid number is defined using one of the following definitions:
An integer number followed by an optional exponent. A decimal number followed by an optional exponent. An integer number is defined with an optional sign '-' or '+' followed by digits.
A decimal number is defined with an optional sign '-' or '+' followed by one of the following definitions:
Digits followed by a dot '.'. Digits followed by a dot '.' followed by digits. A dot '.' followed by digits. An exponent is defined with an exponent notation 'e' or 'E' followed by an integer number.
The digits are defined as one or more digits.
Example 1:
Input: s = "0"
Output: true
Example 2:
Input: s = "e"
Output: false
Example 3:
Input: s = "."
Output: false
Constraints:
1 <= s.length <= 20 s consists of only English letters (both uppercase and lowercase), digits (0-9), plus '+', minus '-', or dot '.'.
Could you kindly assign it to me under Hacktoberfest.

@chaanakyaaM assigned to you!

kindly accept my PR

authors: Saloni6111 Utkarsh-Aggarwal chaanakyaaM


text:
Possibility to declare colgroup on MatTable

Hello,
I figured that it's not possible to use the colgroup tag on MatTable for custom (and proportional) column widths.
A sample from stackoverflow on default html table:

Thanks.

I've created a PR #749 for this proposal.

repo: SamProf/MatBlazor


text:
Handle all errors received from the Strike API

Currently, handling some of the errors, but in other places just silently failing.

Make sure errors get submitted to Bugsnag.

repo: SamSamskies/PlebPay


text:
Is there any way to show only one camera and it is full screen?

Is there any way to show only one camera and it is full screen? Like camera preview.
I try to integrate GearVRF with Vuforia and I don't need the VR function for the project.

Hi @EricSKCheng. If you use the development version from the master branch then you can configure one of our demo apps to use the monoscopic backend for GVRf. Please add these to your gradle.properties file:
// have the build use local build artifacts instead of fetching snapshots from maven
useLocalDependencies=true
// configure the demos to include only the monoscopic backend
backend_monoscopic=true

You can use https://github.com/gearvrf/GearVRf-Demos/blob/master/common.gradle as an example how to update your app. Basically you need to include only the backend_monoscopic module.
If you use an older version of GVRf then the instructions are different. Let us know.

Thanks @liaxim,
I am able to use the monoscopic backend.
I also want to know if there is any way to get the frame data? So the user can take a screen shot or record a video.
Thanks.

We have screenshotting apis - see GVRContext.captureScreen<*>. To record video with the monoscopic backend you could try third-party utilities (or the built-in Android screenrecord command line tool).

@EricSKCheng Is it all good? Can we close the issue?

authors: EricSKCheng liaxim

repo: Samsung/GearVRf


text:
[Meta] is there a public IRC or Slack channel (or equivalent) for JerryScript?

It would make some conversations much easier if they could be had over real time chat.

The project has a gitter channel: https://gitter.im/Samsung/jerryscript

That works. Thanks!

repo: Samsung/jerryscript


text:
picture: enabling the use of size() for the duplicate image

size() used the loader parameters and the duplicate image did not contain
this information, which caused a crash. Now the data is stored in the pImpl
of the picture.

Tests or Samples :

        auto picture1 = tvg::Picture::gen();
        picture1->load(EXAMPLE_DIR"/tiger.svg");
        picture1->translate(370, 370);
        picture1->size(300, 300);

        auto picture2 = unique_ptr<tvg::Picture>(static_cast<tvg::Picture*>(picture1->duplicate()));
        picture2->translate(550, 550);
        picture2->size(200, 200);

        canvas->push(move(picture1));
        canvas->push(move(picture2));

please be aware that for now size() doesn't work for pictures with raw images

please check this:
https://github.com/Samsung/thorvg/pull/301

authors: hermet mgrudzinska

repo: Samsung/thorvg


text:
可以将相机进行横屏适配么？或者是将拍摄出的视频进行旋转

在横屏时，拍摄出的视频，还是竖着播放的，可以做成，竖着拍的，就竖着播放，横着拍的，就横着播放的么？

修改self.cameraConnection.videoOrientation = (AVCaptureVideoOrientation)[UIDevice currentDevice].orientation;但需要比对AVCaptureVideoOrientation与UIDeviceOrientation的枚举。

repo: Samueler/TYCamera


text:
New Video/Image Source

Hello, the software looks pretty good but I get the error below. I think it's caused by Pexels. Is it possible to generate images by connecting to the stable diffusion API without using Pexels?
Text ```json [ [[0.0, 2.88], ["fascinating facts", "beer text", "video start"]], [[2.88, 4.22], ["oldest beverages", "ancient drinks", "beer history"]], [[4.22, 6.96], ["dating back", "7000 BC", "ancient Iran"]], [[6.96, 10.3], ["world's strongest beer", "Brewmeister brand", "Snake Venom"]], [[10.3, 13.87], ["67.5% alcohol", "strong beer", "high volume"]], [[13.87, 17.52], ["ancient Egyptians", "built pyramids", "diet of bread"]], [[17.52, 20.34], ["workers beer", "four litres", "per day"]], [[20.34, 24.48], ["Middle Ages", "beer consumed", "water safer"]], [[24.48, 28.26], ["world record", "beer speed", "drinking"]], [[28.26, 30.64], ["1.3 seconds", "Stephen Petrosino", "1977"]], [[30.64, 34.76], ["Sumerian poem", "honoring Ninkasi", "5000 years old"]], [[34.76, 38.08], ["goddess brewing", "oldest recipe", "beer history"]], [[38.08, 41.88], ["Amsterdam cleaning", "beer payment", "five cans"]], [[41.88, 44.22], ["cleaning squads", "paid in beer", "five cans"]] ] ``` Expecting value: line 1 column 1 (char 0) error in response Expecting ',' delimiter: line 1 column 225 (char 224) None No background video Traceback (most recent call last):   File "D:\AI\Text-To-Video-AI\app.py", line 42, in <module>     background_video_urls = merge_empty_intervals(background_video_urls)   File "D:\AI\Text-To-Video-AI\utility\video\video_search_query_generator.py", line 83, in merge_empty_intervals     while i < len(segments): TypeError: object of type 'NoneType' has no len()

Yes, the working will be similar. Just replace the pexels api with any other api of your choice

I'm having the same error. Did you find a solution for this issue? That would be really helpful

@krishnacck Any issue you are facing with Pexels ?

yes, I am also facing same issue mentioned above.. looking alternatives...

Fixed with https://github.com/SamurAIGPT/Text-To-Video-AI/commit/5e45fadc04619b1cfa338f7279fc1710f867083f

authors: Anil-matcha krishnacck veyakup woobin3069

repo: SamurAIGPT/Text-To-Video-AI


text:
Terminal Colors

Description
A new optional flag has been added to enable terminal colors!

Related Issues
#7

Closes #7