Orders can't be created

Here is the POST request: http://prntscr.com/hitt2o
Here is response to POST http://prntscr.com/hittdg
Here is Error in ripple-demo-out-1.log :
http://prntscr.com/hittxh
Could you help us, please?
Related issue: https://github.com/RippleOSI/Ripple-Qewd/issues/65
https://github.com/PulseTile/PulseTile/issues/63

@robtweed @anna-otrokhova This should be working now - wrong template was loaded into EtherCis.

@freshehr
Unfortunately, I still can't create orders though I get no errors when I send POST request.
I have a question. @robtweed , could you help me, previously you said that backend expects the body:
[{
"code": "order1",
"name": "Xray Chest X-ray"
}, {
"code": "order2",
"name": "Radiology-CT Head"
}]

But there are other fields that we usually send there because we have columns for them such as:
"author":"bob.smith@gmail.com","dateCreated":"1519035350000","source":"ethercis"
Where could we add these fields? Should we send "source":"ethercis" or will we get this field from the backed side when do GET?

If we send like this:
[{
"code": "order1",
"name": "Xray Chest X-ray"
}, {
"code": "order2",
"name": "Radiology-CT Head"
},
"userId":"9999999000", "author":"bob.smith@gmail.com","dateCreated":"1519035350000"]

We usually get such kind of fields from back end side by GET detail request:
Request URL:http://dev.ripple.foundation/api/patients/9999999000/laborders/e62d5d5f-2daf-48f0-8d5d-573e10ff4753
{name: "Cardiac-ECG", code: "order3", terminology: "SNOMED-CT", orderDate:<PHONE_NUMBER>014,…}
author:"Dr John Smith"
code:"order3"
dateCreated:1459845501000
name:"Cardiac-ECG"
orderDate:1459845495014
source:"ethercis"
sourceId:"e62d5d5f-2daf-48f0-8d5d-573e10ff4753"
terminology:"SNOMED-CT"

It is not very clear how it should be displayed the name of orders when we create orders by choosing several available orders http://prntscr.com/igs9gg .
Should be the name created like all of these orders separated by"," for example: name: "Xray Chest X-ray, Radiology-CT Head, Cardiac-ECG, Physio-crutches"?

Also, why are there several fields related to dates in GET response? :
date Created:1459845501000
orderDate:1459845495014

Do you expect user to choose the date of order and date of creation?
@robtweed Could you please assist with these questions.

The QEWD back-end takes the array of code/name pairs and generates a POST request for each one.  The problem is we're getting an error from EtherCIS - it's still complaining about the timing field.  Here's an example - the FlatJSON being sent to EtherCIS:
{
"host": "ethercis",
"url": "/rest/v1/composition",
"queryString": {
"templateId": "IDCR - Laboratory Order.v0",
"ehrId": "cd8abecd-9925-4313-86af-93aab4930eae",
"format": "FLAT"
},
"method": "POST",
"session": "sessionId:<IP_ADDRESS>-guest-1519903199259-860530242-33",
"options": {
"body": {
"ctx/composer_name": "Dr Tony Shannon",
"ctx/health_care_facility|id": "999999-345",
"ctx/health_care_facility|name": "Northumbria Community NHS",
"ctx/id_namespace": "NHS-UK",
"ctx/id_scheme": "2.16.840.1.1138<IP_ADDRESS>.3",
"ctx/language": "en",
"ctx/territory": "GB",
"ctx/time": "2018-03-01T11:21:14Z",
"laboratory_order/laboratory_test_request/request/service_requested|code": "",
"laboratory_order/laboratory_test_request/request/service_requested|value": "",
"laboratory_order/laboratory_test_request/request/service_requested|terminology": "SNOMED-CT",
"laboratory_order/laboratory_test_request/request/timing": "R5/2015-08-12T22:00:00+02:00/P2M",
"laboratory_order/laboratory_test_request/request/timing|formalism": "timing",
"laboratory_order/laboratory_test_request/narrative": "",
"laboratory_order/laboratory_test_tracker/ism_transition/current_state|code": "526",
"laboratory_order/laboratory_test_tracker/ism_transition/current_state|value": "planned",
"laboratory_order/laboratory_test_tracker/ism_transition/current_state|terminology": "openehr",
"laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|code": "at0003",
"laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|value": "Test Requested",
"laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|terminology": "local",
"laboratory_order/laboratory_test_tracker/test_name|code": "",
"laboratory_order/laboratory_test_tracker/test_name|value": "",
"laboratory_order/laboratory_test_tracker/test_name|terminology": "SNOMED-CT"
}
}
}
and the error response:
\n\n\nError 500 \n\n\nHTTP ERROR: 500\nProblem accessing /rest/v1/composition. Reason:\n    #1.0.0 Invocation exception to method:create:java.lang.IllegalArgumentException: Could not convert JSON map:com.marand.thinkehr.f.b.b.a: Unknown segment: request! (path: laboratory_order/laboratory_test_request/request/timing)\nPowered by Jetty:// 9.3.z-SNAPSHOT\n\n\n
Any ideas, Ian?

Anne: Regarding your question concerning the request format when posting more than one order
"But there are other fields that we usually send there because we have columns for them such as:
"author":"bob.smith@gmail.com","dateCreated":"1519035350000","source":"ethercis"
Where could we add these fields? Should we send "source":"ethercis" or will we get this field from the backed side when do GET?"
Author is optional - Dr Tony Shannon is the default.  If you want to specify the author, add it to each object in the array, eg
[{
"code": "order1",
"name": "Xray Chest X-ray",
"author": "Dr Smith"
}, {
"code": "order2",
"name": "Radiology-CT Head",
"author": "Dr Smith"
}]
Date Created is not needed - QEWD sets this as the current date/time automatically for each POST request it sends to EtherCIS
Source is not needed either - EtherCIS is assumed to be the target to which the new Order record(s) is/are POSTed

@robtweed
Rob, Thank you for the information. According to the project we would need Date and Source as we have the appropriate columns to be displayed. https://prnt.sc/ilc41r
I suppose we could send POST request without Date and source, but anyway we should get these fields in response to Get request. Is it possible?
Also, I should mention that we have to send this field for our purposes, please ignore it.  "userId":"9999999000"

Anne - regarding your question:
"It is not very clear how it should be displayed the name of orders when we create orders by choosing several available orders http://prntscr.com/igs9gg .
Should be the name created like all of these orders separated by"," for example: name: "Xray Chest X-ray, Radiology-CT Head, Cardiac-ECG, Physio-crutches"?"
As Ian has explained, each individual code/value pair that is sent when you create a set of orders is saved individually with its own unique sourceId in EtherCIS.  There is nothing in the OpenEHR Template that links them together, except, I suppose the creation date/time.
Perhaps,. Ian, you could add an extra field to the template - eg order_name  which could be applied to each of the code/value pairs.  eg PulseTile could then send:
[{
"order_name": "Order 1",
"code": "order1",
"name": "Xray Chest X-ray",
"author": "Dr Smith"
}, {
"order_name": "Order 1",
"code": "order2",
"name": "Radiology-CT Head",
"author": "Dr Smith"
}]
If that field was then retrieved by the GET (via an AQL request to OpenEHR), then PulseTile would have a field that would allow grouping of the individual records in the resultSet

Anne - you'll get the fields Author, Source and DateCreated back when you GET the orders.  But QEWD will ignore the Source and DateCreated fields if you send them from PulseTile because it doesn't need them from PulseTile in order to POST new records to EtherCIS

Ok. Thank you. @robtweed @freshehr Could you please inform when your changes are ready to let us test it from our side? Thank you in advance.

As I said above, the current template is only designed to handle a single order and to work only for lab orders. Making the change to the template is fairly trivial but we do need to distinguish each order. My suggestion is that we just create a uid for each order, so that they can be distinguished in the UI, and so that they can be tracked.
I will not be able to make those changes until next week I'm afraid.
Ian

Yes I think that having such an extra UID field would work.  QEWD could assign its value when it packages up the set of requests for each of the orders and sends them to the OpenEHR machine.  QEWD could also probably group them together again when it retrieves the individual order records, using that UID as the group identifier.  That should keep the work on the OpenEHR template side to a minimum. and also minimise the work in PulseTile

Ian - if you could also check to see why the timing field is causing problems when posting to EtherCIS - when you have the availability.  Thanks!

It will also help with FHIR alignment. We shouldnlt need the groupingID - the compositionId will do that.
I've no idea why timing is now causing an issue. It used to work fine.
Ian

@robtweed - there are a few mandatory elements unpopulated in the example above.
"laboratory_order/laboratory_test_request/request/service_requested|code": "",
"laboratory_order/laboratory_test_request/request/service_requested|value": "",

You have to populate the name and code of the test requested (assuming that this a coded value)
If it is just a text-only value for the request name, you just send
"laboratory_order/laboratory_test_request/request/service_requested": "Urea and Electrolytes",
no need to send the |code and |terminology lines. This is only needed for coded_text.
Timing is fine but narrative need to be populated - in this case just use the test reuest name
"laboratory_order/laboratory_test_request/narrative": "Urea and Electrolytes",
Same thing applies to these lines as above - this is the Action archetype which tracks the status of the order, and the test name should match that in the order.
for a coded_text
"laboratory_order/laboratory_test_tracker/test_name|code": "12345",
"laboratory_order/laboratory_test_tracker/test_name|value": "Urea and Electrolytes",
"laboratory_order/laboratory_test_tracker/test_name|terminology": "SNOMED-CT"

or for a simple uncoded text...
"laboratory_order/laboratory_test_tracker/test_name": "Urea and Electrolytes",

Hi Ian - actually I posted an erroneous record, the reason for which I know and I'll get rid of.  However the POSTed requests seem to go through OK - here's the pair I just tried - first the request bodies:
"body": {
  "ctx/composer_name": "Dr Tony Shannon",
  "ctx/health_care_facility|id": "999999-345",
  "ctx/health_care_facility|name": "Northumbria Community NHS",
  "ctx/id_namespace": "NHS-UK",
  "ctx/id_scheme": "2.16.840.1.1138<IP_ADDRESS>.3",
  "ctx/language": "en",
  "ctx/territory": "GB",
  "ctx/time": "2018-03-01T17:46:16Z",
  "laboratory_order/laboratory_test_request/request/service_requested|code": "order1",
  "laboratory_order/laboratory_test_request/request/service_requested|value": "Xray Chest X-ray",
  "laboratory_order/laboratory_test_request/request/service_requested|terminology": "SNOMED-CT",
  "laboratory_order/laboratory_test_request/request/timing": "R5/2015-08-12T22:00:00+02:00/P2M",
  "laboratory_order/laboratory_test_request/request/timing|formalism": "timing",
  "laboratory_order/laboratory_test_request/narrative": "Xray Chest X-ray",
  "laboratory_order/laboratory_test_tracker/ism_transition/current_state|code": "526",
  "laboratory_order/laboratory_test_tracker/ism_transition/current_state|value": "planned",
  "laboratory_order/laboratory_test_tracker/ism_transition/current_state|terminology": "openehr",
  "laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|code": "at0003",
  "laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|value": "Test Requested",
  "laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|terminology": "local",
  "laboratory_order/laboratory_test_tracker/test_name|code": "order1",
  "laboratory_order/laboratory_test_tracker/test_name|value": "Xray Chest X-ray",
  "laboratory_order/laboratory_test_tracker/test_name|terminology": "SNOMED-CT"
}

"body": {
  "ctx/composer_name": "Dr Tony Shannon",
  "ctx/health_care_facility|id": "999999-345",
  "ctx/health_care_facility|name": "Northumbria Community NHS",
  "ctx/id_namespace": "NHS-UK",
  "ctx/id_scheme": "2.16.840.1.1138<IP_ADDRESS>.3",
  "ctx/language": "en",
  "ctx/territory": "GB",
  "ctx/time": "2018-03-01T17:46:16Z",
  "laboratory_order/laboratory_test_request/request/service_requested|code": "order2",
  "laboratory_order/laboratory_test_request/request/service_requested|value": "Radiology-CT Head",
  "laboratory_order/laboratory_test_request/request/service_requested|terminology": "SNOMED-CT",
  "laboratory_order/laboratory_test_request/request/timing": "R5/2015-08-12T22:00:00+02:00/P2M",
  "laboratory_order/laboratory_test_request/request/timing|formalism": "timing",
  "laboratory_order/laboratory_test_request/narrative": "Radiology-CT Head",
  "laboratory_order/laboratory_test_tracker/ism_transition/current_state|code": "526",
  "laboratory_order/laboratory_test_tracker/ism_transition/current_state|value": "planned",
  "laboratory_order/laboratory_test_tracker/ism_transition/current_state|terminology": "openehr",
  "laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|code": "at0003",
  "laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|value": "Test Requested",
  "laboratory_order/laboratory_test_tracker/ism_transition/careflow_step|terminology": "local",
  "laboratory_order/laboratory_test_tracker/test_name|code": "order2",
  "laboratory_order/laboratory_test_tracker/test_name|value": "Radiology-CT Head",
  "laboratory_order/laboratory_test_tracker/test_name|terminology": "SNOMED-CT"
}

And EtherCIS appears to save them:
response from ethercis: {"compositionUid":"1d6140c2-aef5-4642-bd08-e995f4b6d946::vm01.ethercis.org::1","meta":{"href":"rest/v1/composition?uid=1d6140c2-aef5-4642-bd08-e995f4b6d946::vm01.ethercis.org::1"},"action":"CREATE"}
** cached session for ethercis not shut down
response from ethercis: {"compositionUid":"46f782da-b0af-4d48-8f0e-5713ac83d938::vm01.ethercis.org::1","meta":{"href":"rest/v1/composition?uid=46f782da-b0af-4d48-8f0e-5713ac83d938::vm01.ethercis.org::1"},"action":"CREATE"}
Do these two POSTings look OK?
However, retrieving these records doesn't go so well:
{"Test_name":null,"uid":"1d6140c2-aef5-4642-bd08-e995f4b6d946::vm01.ethercis.org::1","code":null,"terminology":null,"author":"Dr Tony Shannon","date_created":"2018-03-01T17:46:16Z","name":null,"date_ordered":null}
,{"Test_name":null,"uid":"46f782da-b0af-4d48-8f0e-5713ac83d938::vm01.ethercis.org::1","code":null,"terminology":null,"author":"Dr Tony Shannon","date_created":"2018-03-01T17:46:16Z","name":null,"date_ordered":null}
The AQL used was:
{"aql":" select     a/uid/value as uid,     a/composer/name as author,     a/context/start_time/value as date_created,     a_a/activities[at0001]/description[at0009]/items[at0121]/value/value as name,     a_a/activities[at0001]/description[at0009]/items[at0121]/value/defining_code/code_string as code,     a_a/activities[at0001]/description[at0009]/items[at0121]/value/defining_code/terminology_id/value as terminology,     b_a/description[at0001]/items[at0017]/value/value as Test_name,     b_a/time/value as date_ordered from EHR e[ehr_id/value='cd8abecd-9925-4313-86af-93aab4930eae'] contains COMPOSITION a contains (     INSTRUCTION a_a[openEHR-EHR-INSTRUCTION.request-lab_test.v1] or     ACTION b_a[openEHR-EHR-ACTION.laboratory_test.v1]) where a/name/value='Laboratory order' "}
I guess something is out of kilter, perhaps the AQL?
Rob

@robtweed : Indeed a mnor typo in AQL but significant
Try this ..
select a/uid/value as uid, a/composer/name as author, a/context/start_time/value as date_created, a_a/activities[at0001]/description[at0009]/items[at0121]/value/value as name, a_a/activities[at0001]/description[at0009]/items[at0121]/value/defining_code/code_string as code, a_a/activities[at0001]/description[at0009]/items[at0121]/value/defining_code/terminology_id/value as terminology, b_a/description[at0001]/items[at0017]/value/value as Test_name, b_a/time/value as date_ordered from EHR e[ehr_id/value='cd8abecd-9925-4313-86af-93aab4930eae'] contains COMPOSITION a contains ( INSTRUCTION a_a[openEHR-EHR-INSTRUCTION.request-lab_test.v1] or ACTION b_a[openEHR-EHR-ACTION.laboratory_test.v0]) where a/name/value='Laboratory order'

Ian
I switched the laborders.aql file to your new version (from what I could see the only change was:
ACTION b_a[openEHR-EHR-ACTION.laboratory_test.v1])
to
ACTION b_a[openEHR-EHR-ACTION.laboratory_test.v0])
ie the version number.  However, it still just retrieves null values from EtherCIS for me:
{"Test_name":null,"uid":"a0a301a4-02b6-4f97-bd57-47a17f45c3ec::vm01.ethercis.org::1","code":null,"terminology":null,"author":"Dr Tony Shannon","date_created":"2018-03-02T09:00:24Z","name":null,"date_ordered":null}

Also Ian - would it be possible to clear out all the lab orders for<PHONE_NUMBER> (Ivor Cox) on EtherCIS? - it will be a lot easier to find new test postings and there's probably a lot of broken data in there

Anne - Just checking what is sent by PulseTile when you create lab orders.  It appears to ignore the items I selected from the menu (XRay Chest X-Ray and Physio Crutches) and sent a POST request for XRay Chest X-ray and Radiology-CT Head.   Was I doing something wrong or is there a problem in PulseTile?

Hi, @robtweed, thank you very much for your response. First of all, I would like to answer your query:
Anne - Just checking what is sent by PulseTile when you create lab orders. It appears to ignore the items I selected from the menu (XRay Chest X-Ray and Physio Crutches) and sent a POST request for XRay Chest X-ray and Radiology-CT Head. Was I doing something wrong or is there a problem in PulseTile?
Most likely, you were following the right pattern, but we were having predefined test data in the frontend code until the order issues have been resolved, so you were seeing same records creation each time

Hi, @robtweed, today we were testing the Orders Heading with the real data. The good news is that records are now being created and we can fetch them, the bad news is that for some reason they are created with empty data inside of them.
Steps to reproduce:

Login as IDCR user and go to one of the patient's Orders heading page https://securedev.ripple.foundation/index.html#/patients/9999999061/orders
Choose Xray Chest X-ray
Click Create button
PulseTile is sending the following payload:

[
  {
    code: "order1",
    name: "Xray Chest X-ray"
  }
]

QEWD responds with records that contain an empty name and orderDate fields

[
  {
    name: "",
    orderDate: "",
    source: "ethercis",
    sourceId: "12ca6042-a13b-4665-9f37-9e0e026f6235"
  }
]

Actual Result
QEWD responds with records that have empty name and orderDate fields
Expected Result
QEWD responds with records that have name and orderDate fields filled with data
CC: @tony-shannon

Kyrill - yes - see my earlier note about EtherCIS returning null data - you're seeing the same issue.  Ian needs to investigate I think

will need retesting to see if current issue


How can I get Grafana Dashboard variables in Panel Javascript？

How can I get Grafana Dashboard variables, such as the $__from variable, in the Echarts panel? When I use the following JavaScript code to get this variable, I can’t retrieve it. However, it can be displayed in the panel title.

the variable working in panel title

the variable NOT working in Javascript

Hi, @gotoworld
use context.grafana.replaceVariables(string) to get variable
here is example
I added new variable testVar
you can use ' ' (single quotes) or " " (double quotes)
console.log('console >> ', context.grafana.replaceVariables('${testVar}'))
Link to documentation


Update game

Update the game over message so people know how to play again!

Update the game over message

test


QuitarHero's Bug Report [611511733151989802]

QuitarHero at 8/15/2019 10:49:18 AM +00:00

Bug Report:

Module: Musician v0.60
Build: v0.4.1-dev+172 (Sentry)
Upon enabling the module, it's stuck in a "Loading..." (similar to the above report), and never fully loads due to a MouseEventArgs error, found in the log.

REF: https://discordapp.com/channels/531175899588984842/534492173362528287/611511733151989802

link to log:
https://cdn.discordapp.com/attachments/534492173362528287/611511733151989800/blishhud.20190815-054234.log


Update Upgrader Images in EKSA Installer

Issue #, if available:
https://github.com/orgs/aws/projects/162?pane=issue&itemId=51431629
Description of changes:
Updates the config map with the new upgrader images after EKSA Installer applies a new Bundles object to the cluster in order to support in-place upgrades.
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/test eks-anywhere-e2e-presubmit


[Bug]: The Java version on beam website is not correct

What happened?
On the beam website, it said, to set up development environment, the required Java version is 11. Here is the link: https://beam.apache.org/get-started/quickstart/java/#set-up-your-development-environment

But on the README.md file of the repository https://github.com/apache/beam-starter-java, the required Java version is 17. Here is the link: https://github.com/apache/beam-starter-java#before-you-begin

What's more, when I try to build the beam-starter-java project, I got the following error:

So, I believe the Java version on the Beam website is wrong, which is a bug.
Issue Priority
Priority: 3 (minor)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[X] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

.take-issue


fix: runner select all

a keyboard shortcut ⌘ Cmd + A can select all grid list items and let selectedKeys to be all, we need to handle this case

will merge after 10.3


chore: Add nodeclaim status validation for v1 on v0.33.x

Fixes #N/A
Description

Bump Karpenter version

How was this change tested?

/karpenter snapshot

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 77.118%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
5261

Relevant Lines:
6822

💛  - Coveralls


add recommended layout if mem-mapped access to CLIC regs is supported

As issue #349 discusses, the memory mapped CLIC spec is already implemented in devices.  This pull adds back the memory mapped access details as a recommendation if memory mapped access is provided in addition to indirect CSR access.

issue solve. Pull request no more needed.


vue/define-macro-order and interfaces both want to be at the top

Reproduce

Install and enable VSCode eslint and volar extensions.

Use vue/define-macro-order rule

Code in <script setup> block
<script setup>
const props = defineProps<{
	type?: string
	posts?: Post[]
}>()

export interface Post {
	path: string
	title: string
	date: string
}
</script/>

Info
defineProps should be the first statement in `<script setup>` (after any potential import statements or type definitions). eslint (vue/define-macros-order)

type and interface export statements must be on the top in <script setup> volar

I don't know if this is a volar or eslint-plugin-vue issue, or if this is a problem, so I'm submitting the issue here for now. If it should be reported in eslint-plugin-vue, please let me know.

Hi @kecrily, please try:
<script setup lang="ts">
const props = defineProps<{
	type?: string
	posts?: Post[]
}>()
</script>

<script lang="ts">
export interface Post {
	path: string
	title: string
	date: string
}
</script>


Run tests on Python 3.13 release candidate

https://www.python.org/download/pre-releases
https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#allow-pre-releases

Blocked by:

python-greenlet/greenlet#396

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.74%. Comparing base (4710628) to head (cd36d94).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   63.03%   62.74%   -0.29%
==========================================
  Files          61       57       -4
  Lines        2283     2279       -4
==========================================
- Hits         1439     1430       -9
- Misses        844      849       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thank you for your contribution! It seems NumPy hasn't released a wheel for Python 3.13 yet, so let's wait until it's available before merging.

% alias python_in_docker="docker run --env GITHUB_USER=$USER --tty --interactive --rm --volume $(echo pwd):/${PWD##*/} --workdir /${PWD##*/} python:3.13-rc bash"
% python_in_docker
% python3 --version
Python 3.13.0rc1

% python3 -m pip install numpy
Collecting numpy
  Downloading numpy-2.0.1.tar.gz (18.9 MB)
[ ... ]
Successfully installed numpy-2.0.1


added link to DNS zone configuration page

I found it too difficult to get the list of supported group ids, so I added a link to the DNS zone configuration page

Docs Build status updates of commit e0e2ae1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

latest/docs-ref-autogen/network/private-endpoint.yml
:white_check_mark:Succeeded
View (azure-cli-latest)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit e0e2ae1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

latest/docs-ref-autogen/network/private-endpoint.yml
:white_check_mark:Succeeded
View (azure-cli-latest)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@thrubovc, the Azure CLI reference content is auto-generated so this update needs to happen in the source code.  As Azure CLI reference content originates from multiple repositories, please see @yungezz for the correct location.

thanks, I didn't realize that. I've updated this in the source code as suggested, so this PR can be closed.


Swift NIO API documentation has disappeared

Click on API documentation link from README.md and it returns a 404.

Just realised NIO is now NIOCore. You need to update the README.md to point to that I guess


Error highlighting does not work properly

The errors are highlighted at very different places, Ref: Image

One known source of this is if you edit the text after the error was highlighted. It only knows the line number of the executed code.


Adding shows without downloading?

Hi,
I wanted to say thank you for the amazing software, But quick question, Currenly i want to add the TV shows without downloading them ex:
The show Billions already watched episode 1,2,3,4,5 but i want to add the TV show and only download episode 6 is this possible?
and also to watch the show would i need to download plex?
Thank you

Hi @killmasta93 this is a really good idea 👍

thanks, so to be able to steam it not possible or the first option that i gave was the good idea?

I second this feature. This would be really helpful when you have watched all the older episodes and want only the newer release to be handled automatically.


feat: Add number of unique holders to the staking page

Describe the feature you'd like to request
Would be good to have the number of unique Realms holders to the staking page (currently only viewable on https://dune.com/redbeard/Realms-(for-Adventurers)-NFT which is currently not showing the figure)
Describe the solution you'd like to see
Adding this to the data block

Additional information
No response

Please can i be assigned this. I would handle this ASAP

Closing as move to l2 bridge imminent


Dockerfile , easier shipping/running of localGPT-falcon!

Could you please add

[ ] Dockerfile
[ ] docker-compose.yml
[ ] helper scripts (e.g. Makefile with targets "localGPT-cpu" "localGPT-gpu" "localGPT_API-cpu" "localGPT_API-gpu" "up" "up-build" "ingest") ?

I gave fast try to make sth like that for LocalGPT , here more context : https://github.com/soulhighwing/LocalGPT/issues/2

yes, let me try. coming soon!
tks you!

Dockerfile would be nice.


how to convert onnx into an rknn model？

Hello,  Thank you for sharing such a great project!
May I ask how to convert onnx into an rknn model？I want to run this lightglue onnx model on rknn npu.
However, rknn does not support dynamic calls and has no idea at all.
Who knows how to solve it?

you can set the shape of the model to static shape

Input/Output has been set to 512,but there were some errors:
root@6ddf679dd88b:/examples# python onnx2rknn.py
W init: rknn-toolkit2 version: 1.6.0+81f21f4d
W config: Please make sure the model can be dynamic when enable 'config.dynamic_input'!
W config: The 'dynamic_input' function has been enabled, the MaxShape is dynamic_input[0] = [[1, 3, 512, 512]]!
The following functions are subject to the MaxShape:
1. The quantified dataset needs to be configured according to MaxShape
2. The eval_perf or eval_memory return the results of MaxShape
--> Loading model
W load_onnx: It is recommended onnx opset 19, but your onnx model opset is 17!
W load_onnx: Model converted from pytorch, 'opset_version' should be set 19 in torch.onnx.export for successful convert!
Loading : 100%|████████████████████████████████████████████████| 125/125 [00:00<00:00, 94228.61it/s]
done
--> Building model
E build: The input 0 of NonZero('/NonZero') need to be constant! It will cause the graph to be a dynamic graph!
Remove NonZero('/NonZero') manually and try again!
W build: ===================== WARN(5) =====================
E rknn-toolkit2 version: 1.6.0+81f21f4d
E build: Catch exception when building RKNN model!
E build: Traceback (most recent call last):
E build:   File "rknn/api/rknn_base.py", line 1971, in rknn.api.rknn_base.RKNNBase.build
E build:   File "rknn/api/graph_optimizer.py", line 779, in rknn.api.graph_optimizer.GraphOptimizer.fold_constant
E build:   File "rknn/api/graph_optimizer.py", line 347, in rknn.api.graph_optimizer._dynamic_check
E build:   File "rknn/api/rknn_log.py", line 92, in rknn.api.rknn_log.RKNNLog.e
E build: ValueError: The input 0 of NonZero('/NonZero') need to be constant! It will cause the graph to be a dynamic graph!
E build:                   Remove NonZero('/NonZero') manually and try again!
W If you can't handle this error, please try updating to the latest version of the toolkit2 and runtime from:
https://console.zbox.filez.com/l/I00fc3 (Pwd: rknn)  Path: RKNPU2_SDK / 1.X.X / develop /
If the error still exists in the latest version, please collect the corresponding error logs and the model,
convert script, and input data that can reproduce the problem, and then submit an issue on:
https://redmine.rock-chips.com (Please consult our sales or FAE for the redmine account)
build model failed.

@ouxiand were you able to solve this? if so, how?

Cannot use NPU model, can only use CPU, slow speed, currently no better solution.

Same problem with simple model from torchhub model zoo

anyone found the solution?

anyone found the solution?

You should write NonZero operation realization. There is a description in docs how to do this

anyone found the solution?

You should write an implementation of the NonZero operation. The documentation contains a description of how to do this.

which documentation you refered to, could you please provide it?

there are tons of if/else in superpoint postprocess(works after convolutions),which is not supported by rockchip.just split the superpoint,let npu do convs,others for cpu.
btw i'm still stuck on lightglue:model conversion success,but fail when running:
E RKNN: [05:30:40.340] Unsupport CPU op: Einsum in this librknnrt.so,

import os
import urllib
import traceback
import time
import sys
import numpy as np
import cv2,torch
from rknn.api import RKNN
def normalize_keypoints(kpts, size):
shift = size / 2
scale = size.max(-1) / 2
kpts = (kpts - shift[..., None, :]) / scale[..., None, None]
return kpts
def superpoint_postproc(outputs):
scores,descriptors = outputs
scores = torch.tensor(scores)
descriptors = torch.tensor(descriptors)
def simple_nms(scores, nms_radius: int):
"""Fast Non-maximum suppression to remove nearby points"""
assert nms_radius >= 0
    def max_pool(x):
        return torch.nn.functional.max_pool2d(
            x, kernel_size=nms_radius * 2 + 1, stride=1, padding=nms_radius
        )

    zeros = torch.zeros_like(scores)
    max_mask = scores == max_pool(scores)
    for _ in range(2):
        supp_mask = max_pool(max_mask.float()) > 0
        supp_scores = torch.where(supp_mask, zeros, scores)
        new_max_mask = supp_scores == max_pool(supp_scores)
        max_mask = max_mask | (new_max_mask & (~supp_mask))
    return torch.where(max_mask, scores, zeros)
def top_k_keypoints(keypoints, scores, k):
    if k >= len(keypoints):
        return keypoints, scores
    scores, indices = torch.topk(scores, k, dim=0, sorted=True)
    return keypoints[indices], scores
def sample_descriptors(keypoints, descriptors, s: int = 8):
    """Interpolate descriptors at keypoint locations"""
    b, c, h, w = descriptors.shape
    keypoints = keypoints - s / 2 + 0.5
    keypoints /= torch.tensor(
        [(w * s - s / 2 - 0.5), (h * s - s / 2 - 0.5)],
    ).to(
        keypoints
    )[None]
    keypoints = keypoints * 2 - 1  # normalize to (-1, 1)
    args = {"align_corners": True} if torch.__version__ >= "1.3" else {}
    descriptors = torch.nn.functional.grid_sample(
        descriptors, keypoints.view(b, 1, -1, 2), mode="bilinear", **args
    )
    descriptors = torch.nn.functional.normalize(
        descriptors.reshape(b, c, -1), p=2, dim=1
    )
    return descriptors
nms_radius = 4
remove_borders = 4
detection_threshold = 0.0005
max_num_keypoints = 2048
scores = torch.nn.functional.softmax(scores, 1)[:, :-1]
b, _, h, w = scores.shape
scores = scores.permute(0, 2, 3, 1).reshape(b, h, w, 8, 8)
scores = scores.permute(0, 1, 3, 2, 4).reshape(b, h * 8, w * 8)
scores = simple_nms(scores, nms_radius)

# Discard keypoints near the image borders
if remove_borders:
    pad = remove_borders
    scores[:, :pad] = -1
    scores[:, :, :pad] = -1
    scores[:, -pad:] = -1
    scores[:, :, -pad:] = -1

# Extract keypoints
best_kp = torch.where(scores > detection_threshold)
scores = scores[best_kp]

# Separate into batches
keypoints = [
    torch.stack(best_kp[1:3], dim=-1)[best_kp[0] == i] for i in range(b)
]
scores = [scores[best_kp[0] == i] for i in range(b)]

# Keep the k keypoints with highest score
if max_num_keypoints is not None:
    keypoints, scores = list(
        zip(
            *[
                top_k_keypoints(k, s, max_num_keypoints)
                for k, s in zip(keypoints, scores)
            ]
        )
    )

# Convert (h, w) to (x, y)
keypoints = [torch.flip(k, [1]).float() for k in keypoints]

descriptors = torch.nn.functional.normalize(descriptors, p=2, dim=1)

# Extract descriptors
descriptors = [
    sample_descriptors(k[None], d[None], 8)[0]
    for k, d in zip(keypoints, descriptors)
]

resu = (torch.stack(keypoints, 0).numpy(),torch.stack(scores, 0).numpy(),torch.stack(descriptors, 0).transpose(-1, -2).contiguous().numpy())
return resu

rknn = RKNN(verbose=True)
rknn.load_rknn("modified_superpoint.rknn")
rknn.init_runtime(target="rk3566")
data1=cv2.imread("1.png")
data2=cv2.imread("2.png")
data1=cv2.cvtColor(data1,cv2.COLOR_BGR2GRAY)[None,None,...].astype(np.float32)/255.0
data2=cv2.cvtColor(data2,cv2.COLOR_BGR2GRAY)[None,None,...].astype(np.float32)/255.0
keypoints1,scores1,descriptors1 = superpoint_postproc(rknn.inference(inputs=[data1], data_format=['nchw']))
keypoints2,scores2,descriptors2 = superpoint_postproc(rknn.inference(inputs=[data2], data_format=['nchw']))
modified_superpoint.zip
that works in latest rknn-toolkit docker.

# %%
import os
import urllib
import traceback
import time
import sys
import numpy as np
import cv2,torch
from rknn.api import RKNN
def normalize_keypoints(kpts, size):
    shift = size / 2
    scale = size.max(-1) / 2
    kpts = (kpts - shift[..., None, :]) / scale[..., None, None]
    return kpts
def superpoint_postproc(outputs):
    scores,descriptors = outputs
    scores = torch.tensor(scores)
    descriptors = torch.tensor(descriptors)
    def simple_nms(scores, nms_radius: int):
        """Fast Non-maximum suppression to remove nearby points"""
        assert nms_radius >= 0

        def max_pool(x):
            return torch.nn.functional.max_pool2d(
                x, kernel_size=nms_radius * 2 + 1, stride=1, padding=nms_radius
            )

        zeros = torch.zeros_like(scores)
        max_mask = scores == max_pool(scores)
        for _ in range(2):
            supp_mask = max_pool(max_mask.float()) > 0
            supp_scores = torch.where(supp_mask, zeros, scores)
            new_max_mask = supp_scores == max_pool(supp_scores)
            max_mask = max_mask | (new_max_mask & (~supp_mask))
        return torch.where(max_mask, scores, zeros)
    def top_k_keypoints(keypoints, scores, k):
        if k >= len(keypoints):
            return keypoints, scores
        scores, indices = torch.topk(scores, k, dim=0, sorted=True)
        return keypoints[indices], scores
    def sample_descriptors(keypoints, descriptors, s: int = 8):
        """Interpolate descriptors at keypoint locations"""
        b, c, h, w = descriptors.shape
        keypoints = keypoints - s / 2 + 0.5
        keypoints /= torch.tensor(
            [(w * s - s / 2 - 0.5), (h * s - s / 2 - 0.5)],
        ).to(
            keypoints
        )[None]
        keypoints = keypoints * 2 - 1  # normalize to (-1, 1)
        args = {"align_corners": True} if torch.__version__ >= "1.3" else {}
        descriptors = torch.nn.functional.grid_sample(
            descriptors, keypoints.view(b, 1, -1, 2), mode="bilinear", **args
        )
        descriptors = torch.nn.functional.normalize(
            descriptors.reshape(b, c, -1), p=2, dim=1
        )
        return descriptors
    nms_radius = 4
    remove_borders = 4
    detection_threshold = 0.0005
    max_num_keypoints = 2048
    scores = torch.nn.functional.softmax(scores, 1)[:, :-1]
    b, _, h, w = scores.shape
    scores = scores.permute(0, 2, 3, 1).reshape(b, h, w, 8, 8)
    scores = scores.permute(0, 1, 3, 2, 4).reshape(b, h * 8, w * 8)
    scores = simple_nms(scores, nms_radius)

    # Discard keypoints near the image borders
    if remove_borders:
        pad = remove_borders
        scores[:, :pad] = -1
        scores[:, :, :pad] = -1
        scores[:, -pad:] = -1
        scores[:, :, -pad:] = -1

    # Extract keypoints
    best_kp = torch.where(scores > detection_threshold)
    scores = scores[best_kp]

    # Separate into batches
    keypoints = [
        torch.stack(best_kp[1:3], dim=-1)[best_kp[0] == i] for i in range(b)
    ]
    scores = [scores[best_kp[0] == i] for i in range(b)]

    # Keep the k keypoints with highest score
    if max_num_keypoints is not None:
        keypoints, scores = list(
            zip(
                *[
                    top_k_keypoints(k, s, max_num_keypoints)
                    for k, s in zip(keypoints, scores)
                ]
            )
        )

    # Convert (h, w) to (x, y)
    keypoints = [torch.flip(k, [1]).float() for k in keypoints]

    descriptors = torch.nn.functional.normalize(descriptors, p=2, dim=1)

    # Extract descriptors
    descriptors = [
        sample_descriptors(k[None], d[None], 8)[0]
        for k, d in zip(keypoints, descriptors)
    ]

    resu = (torch.stack(keypoints, 0).numpy(),torch.stack(scores, 0).numpy(),torch.stack(descriptors, 0).transpose(-1, -2).contiguous().numpy())
    return resu

# 编译神经网络
# rknn = RKNN(verbose=True)
# rknn.config(target_platform='rk3566',dynamic_input=[
#     [[1,2048,2],[1,2048,2],[1,2048,256],[1,2048,256]],
#     [[1,512,2],[1,512,2],[1,512,256],[1,512,256]],
# ])
# rknn.load_onnx(model='onnx/superpoint_lightglue.onnx')
# rknn.build(do_quantization=False)
# rknn.export_rknn('superpoint_lightglue.rknn')

# rknn = RKNN(verbose=True)
# rknn.config(target_platform='rk3566',dynamic_input=[
#     [[1,1,720,1280]],
#     [[1,1,480,640]],
#     [[1,1,512,960]],
# ])
# rknn.load_onnx(model='onnx/modified_superpoint.onnx')
# rknn.build(do_quantization=False)
# rknn.export_rknn('modified_superpoint.rknn')

# 推理测试
rknn = RKNN(verbose=True)
rknn.load_rknn("modified_superpoint.rknn")
rknn.init_runtime(target="rk3566")
data1=cv2.imread("1.png")
data2=cv2.imread("2.png")
data1=cv2.cvtColor(data1,cv2.COLOR_BGR2GRAY)[None,None,...].astype(np.float32)/255.0
data2=cv2.cvtColor(data2,cv2.COLOR_BGR2GRAY)[None,None,...].astype(np.float32)/255.0

keypoints1,scores1,descriptors1 = superpoint_postproc(rknn.inference(inputs=[data1], data_format=['nchw']))
keypoints2,scores2,descriptors2 = superpoint_postproc(rknn.inference(inputs=[data2], data_format=['nchw']))

rknn = RKNN(verbose=True)
rknn.load_rknn("superpoint_lightglue.rknn")
rknn.init_runtime(target="rk3566")

matches0,_,mscores0,_ = rknn.inference(inputs=[
    normalize_keypoints(keypoints1,np.array(data1.shape[2:])).astype(np.float32),
    normalize_keypoints(keypoints2,np.array(data2.shape[2:])).astype(np.float32),
    descriptors1,
    descriptors2,
])
print(matches0,mscores0)

modified_superpoint.zip
that works in latest rknn-toolkit docker.


Undo/redo

Should behave just like in prototype

FYI: I tried to bring in redux-undo like we did in the prototype but ran into issues integrating it with redux-loop (see https://github.com/omnidan/redux-undo/issues/107).


material_select does not update display value after selected option has been changed by program

I have create an angular directive to initialize select control:
  SelectDirective = function($timeout) {
    return {
      restrict: 'A',
      link: function($scope, element, attrs) {
        return $timeout(function() {
          return $(element).material_select();
        }, 50);
      }
    };
  };

to create select control in jade:
   .col.s6.input-field
      select#priority(md-select, ng-model='vm.priority')
         option(value='0') 0
         option(value='1') 1
         option(value='2') 2
         option(value='3') 3
      label(for='priority') Priority

The issue is that the select control doesn't update the display value when the priority value has been changed in controller. However, the priority value is changed according to the selected option value by mouse or key operation.
Is it possible to have a public method to select value in material_select? So that it's feasible to $watch ng-model value in directive to update the display value by the method.

http://materializecss.com/forms.html
Updating/Destroying Select
If you want to update the items inside the select, just rerun the initialization code from above after editing the original select.
$(document).ready(function() {
    $('select').material_select();
  });

It looks nothing changed to re-initialize the select control after select options or value is changed.

I am facing same problem

Same issue in firefox we are not re-initializing.

I am also experiencing the same problem. However, I think I found  a solution for this.
First set the value default option to empty string.
like this in HTML:
<select id="selectid">
<option value="">Select</option>
<option value="1">1</option>
</select>
and then in JS:
$("#selectid").find('option[value=""]').prop('selected', true);

Duplicate of #4562

In AngularJS I solved with "track by $index"


Get FontAwesome icons JSON file with PHP instead of Python

Rewrote the FontAwewsome script in PHP so that it can be easily run on the server.
Once merged I will create a cron job.

ok, ran the script on the server to regenerate the file and created a cron job to run once a week 👍

Tested and working:


Update index.md

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Hi @ioannWILL, was this created by mistake? Not sure what the background of this change it?

Hi! Yes, just ignore it

On Oct 25, 2023 at 5:07 PM,  <Andre Wanlin @.***)>  wrote:
Hi  @ioannWILL (https://github.com/ioannWILL), was this created by mistake? Not sure what the background of this change is?
—
Reply to this email directly,   view it on GitHub (https://github.com/backstage/backstage/pull/20793#issuecomment-1779365809), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/AJUX4MT2ABZZZBRV5XYGXX3YBEMLLAVCNFSM6AAAAAA6PMCDXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGM3DKOBQHE).
You are receiving this because you were mentioned.Message ID:  @.***>


[WIP]  Add wd_id +  properties column

Work in progess
Extending PG data with 2 new columns

wd_id::text  :    jsonpath: properties.wof:concordances.wd:id
properties::json/jsonb  :   jsonpath:properties

becasuse my use case is very special,
probably we  need to add this  columns   via special optional command line parameters like:

go-whosonfirst-pgis  --add_wd_id ...         ( add wd_id::text columns :    default NOT add  )
go-whosonfirst-pgis  --add_properties ...   ( add properties  JSON/JSONB columns :  default NOT add  )
or add both    --add_wd_id   --add_properties

A few comments:

It's probably worth add a generic -add COLUMN#COLUMN_DEFINITION flag that can be used beyond -add_wd_id and --add_properties. I agree that those shouldn't be part of core but I can imagine that there be other similar use cases in time. Rather than any ad hoc columns we can specify a fixed list of known/possible columns in a flags/column.go package.

It seems like client.go needs to be updated to account for additional properties (see above) which might be a little fiddly since Go is fiddly that way...

I'm not sure I understand what the dwindex target is doing; either all the dependencies should be grouped under the deps target.

Are the c.sh and t.sh scripts just helper tools or are they meant to be general usage applications? If the latter we should find some more descriptive names for them :-)

c.sh and t.sh scripts just helper tools

yes, ( and sorry for the noise )   I will remove this (helper) files

It's probably worth add a generic -add COLUMN#COLUMN_DEFINITION

good idea,
my use case is not typical

I need at least 2 new columns  ("wd:id","properties" )
and I am not using meta  columns  ( so it would better if I can drop )
and an optimal for  me if I can create 1 unified geo field  like   coalesce(geom, centroid)

my long time vision:
it would be optimal for me if I can configure via yml file  ( like in imposm3 / osm2pgsql tools )

define/customize  table structure, mapping
define filters ( like wof:country="hu" )

with a carefully planned framework, i can implement, register and use any mapping functions I can dream:

using extreme gjson paths
calling lua functions to transform values
fetching git information, history
filtering json keys
lookup external database/service
calling golang template
.....

example - for the current columns

sql variable
mapping func
array of mapping parameters

id
gjson.bigint.primarykey
["id"]

parent_id
gjson.bigint
["property.wof:parent_id"]

placetype_id
placetype_id

wd_id
gjson.text
["property.wof:concordances.wd:id"]

is_superseded
is_superseded

is_deprecated
is_deprecated

meta
meta

properties
gjson.rawjson
["properties"]

geom_hash
geom_hash.text

lastmod
gjson.text
["property.wof:lastmodified"]

geom
geography.multipolygon

centroid
geography.centroid

-add COLUMN#COLUMN_DEFINITION

The # char as a separator not ideal, it can be used as a gjson parameter

"properties.wof:belongsto.#"  ->  number of  wof:belongsto

Rather than any ad hoc columns we can specify a fixed list
of known/possible columns in a flags/column.go package.

I have collected some functions, as I see we need

mapping function id
an array of parameters

see:  https://gist.github.com/ImreSamu/143f01201a66085d869662ea61ca83ad
my favorite example:
mapping function id:  gjson.sprintf
params:

1.:  sprintf template
2..n:  sprintf values ( gjson syntax )

example parameters:

["SRID=4326;POINT(%v %v)", "properties.mps:longitude" , "properties.mps:longitude" ]

example output - perfect Postgis Point for bulk loading:

 "SRID=4326;POINT(19.092281 47.516581)"

Summary

this is my long-term vision based on using this tool
I have a database mindset, so most of the mapping can be implemented as an SQL postprocessing ( but this takes more times, io, disk space )
for the short time  - I need only 2 new columns.
I need more time to re-think what will be optimal for short time - and long time:  this draft spec only for brainstorming.   :)

closing ..
reason:  I have started using a simple bash +  postgres scripts for importing the geojson files ..


Eldest sibling not working correctly if picked multiple times in Multiplayer

Reported by Dragon of Desire in the workshop comment section.
"HUGE problem. In multiplayer games where multiple people take Eldest Sibling, only one person gets the event to choose what species are on planets, ad thus only one person gets the benefits of Eldest Sibling, meaning my origin is completely invalidated."
Looks like the event is not scoped correctly to the empire with the origin.

Event was set to only fire once and relied on a global event target. Fixed both issues, so it should work now. I cannot confirm since I cannot play multiplayer by myself.


feat(slider): add value prop

Allows setting the value for Slider. Deprecates the defaultValue prop.

👋 Thanks for creating a pull request! 🚀 Checkout the storybook we've created for it: react


SSL Error

https://matrix.to/
https://matrix.to/#/#ethxmrswap:matrix.org
Invite links are SSLed too
Firefox desktop, firefox mobile, chrome mobile
See https://github.com/matrix-org/matrix.org/issues/1576

Please share the actual error you are seeing.

My bad

This is what happens when a user clicks a matrix invite link without matrix installed. Yesterday the link didn't even open in matrix but today it finally let's me open in the app. That's besides the point because this is an invite link so it should not break on phones without matrix installed.

Works fine on my phone, seems like it is something specific to your device and/or network.

I'm using Firefox not Chrome

even on Edge mobile it fails

Even on Edge desktop it fails

It is blocked on your network by Plume, as per your last screenshot. I suggest unblocking it. https://support.plume.com/hc/en-gb/articles/360009803373-How-do-I-approve-unblock-a-website-#:~:text=From the Home page%2C tap,enter the server IP address.

According to https://www.thesslstore.com/blog/ssl_error_rx_record_too_long/,

You’ve got the listening port misconfigured – If you want your website to establish secure connections you must configure it to use Port 443.
You don’t support an adequate TLS version – This problem arose ten years ago with the advent of TLS 1.2 and is appearing again with TLS 1.3.

Seems like it works with VPN so I'll check again Thanks.

I don't have plume

Then where would that graphic in your latest screenshot come from?

You’ve got the listening port misconfigured – If you want your website to establish secure connections you must configure it to use Port 443.

It is. https:// default to 443, if there's no :port section then it will use 443.

You don’t support an adequate TLS version – This problem arose ten years ago with the advent of TLS 1.2 and is appearing again with TLS 1.3.

It is using TLS 1.3.
t3chguy@Michael-t3chguy-MBP ~> curl https://matrix.to:443 -vv
*   Trying 2606:4700:3033::6815:32cd:443...
* Connected to matrix.to (2606:4700:3033::6815:32cd) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ```

I'm wondering this too, no one in my family knows about Plume. I'll get to the bottom of it.


As a customer I would like to input my zipcode to find mechanics in my area

update-- customer can input zipcode, lists of mechanics show up in the google maps. Can book appointment
future-- have a feature where user can press a button of existing location--getting user zipcode automatically


linkage should consider recursive dependencies of the :x11 requirement

Many X11-using formulae have their libraries flagged by brew linkage incorrectly, because they're not direct dependencies but rather dragged in by the :x11 requirement.
So, we basically need to implement #337, but for linkage rather than installing.

Haven't gotten to this yet bot.

@rwhogg Can you report the brew linkage that you're seeing vs what you're expecting?

brew linkage gtk is a representative example:
brew linkage gtk
System libraries:
  /lib/x86_64-linux-gnu/libc.so.6
  /lib/x86_64-linux-gnu/libm.so.6
  /lib/x86_64-linux-gnu/libpthread.so.0
Homebrew libraries:
  /home/linuxbrew/.linuxbrew/lib/libatk-1.0.so.0 (atk)
  /home/linuxbrew/.linuxbrew/lib/libcairo.so.2 (cairo)
  /home/linuxbrew/.linuxbrew/lib/libfontconfig.so.1 (fontconfig)
  /home/linuxbrew/.linuxbrew/lib/libgdk_pixbuf-2.0.so.0 (gdk-pixbuf)
  /home/linuxbrew/.linuxbrew/lib/libgio-2.0.so.0 (glib)
  /home/linuxbrew/.linuxbrew/lib/libglib-2.0.so.0 (glib)
  /home/linuxbrew/.linuxbrew/lib/libgmodule-2.0.so.0 (glib)
  /home/linuxbrew/.linuxbrew/lib/libgobject-2.0.so.0 (glib)
  /home/linuxbrew/.linuxbrew/Cellar/gtk+/2.24.31_1/lib/libgailutil.so.18 (gtk+)
  /home/linuxbrew/.linuxbrew/Cellar/gtk+/2.24.31_1/lib/libgdk-x11-2.0.so.0 (gtk+)
  /home/linuxbrew/.linuxbrew/Cellar/gtk+/2.24.31_1/lib/libgtk-x11-2.0.so.0 (gtk+)
  /home/linuxbrew/.linuxbrew/lib/libgdk-x11-2.0.so.0 (gtk+)
  /home/linuxbrew/.linuxbrew/lib/libgtk-x11-2.0.so.0 (gtk+)
  /home/linuxbrew/.linuxbrew/lib/libX11.so.6 (linuxbrew/xorg/libx11)
  /home/linuxbrew/.linuxbrew/lib/libXcomposite.so.1 (linuxbrew/xorg/libxcomposite)
  /home/linuxbrew/.linuxbrew/lib/libXcursor.so.1 (linuxbrew/xorg/libxcursor)
  /home/linuxbrew/.linuxbrew/lib/libXdamage.so.1 (linuxbrew/xorg/libxdamage)
  /home/linuxbrew/.linuxbrew/lib/libXext.so.6 (linuxbrew/xorg/libxext)
  /home/linuxbrew/.linuxbrew/lib/libXfixes.so.3 (linuxbrew/xorg/libxfixes)
  /home/linuxbrew/.linuxbrew/lib/libXinerama.so.1 (linuxbrew/xorg/libxinerama)
  /home/linuxbrew/.linuxbrew/lib/libXrandr.so.2 (linuxbrew/xorg/libxrandr)
  /home/linuxbrew/.linuxbrew/lib/libXrender.so.1 (linuxbrew/xorg/libxrender)
  /home/linuxbrew/.linuxbrew/lib/libpango-1.0.so.0 (pango)
  /home/linuxbrew/.linuxbrew/lib/libpangocairo-1.0.so.0 (pango)
  /home/linuxbrew/.linuxbrew/lib/libpangoft2-1.0.so.0 (pango)
Possible undeclared dependencies:
  fontconfig
  glib
  linuxbrew/xorg/libx11
  linuxbrew/xorg/libxcomposite
  linuxbrew/xorg/libxcursor
  linuxbrew/xorg/libxdamage
  linuxbrew/xorg/libxext
  linuxbrew/xorg/libxfixes
  linuxbrew/xorg/libxinerama
  linuxbrew/xorg/libxrandr
  linuxbrew/xorg/libxrender

None of those linuxbrew/xorg libraries should be on the list of "Possible undeclared dependencies" AIUI, as they should be covered by the XorgRequirement and they're all dependencies of linuxbrew/xorg/xorg.
Note that gtk itself doesn't depend on :x11, but rather that comes in through cairo, so that's possibly relevant too.

Ah. That behaviour is by design. Whether it's good design or not is another matter. Possible undeclared dependencies doesn't result in an error status. The usual reason for these messages are libraries satisfied by recursive dependencies. If we choose to address this issue, I'd prefer to split Possible undeclared dependencies into Homebrew libraries (recursive dependencies) and Possible undeclared dependencies. That patch should go upstream to Homebrew/brew. It's also reasonable to close this issue if we're happy accepting the current design. Your thoughts?

If that's by design, I see no reason to change it.
I'd personally prefer not creating upstream work for ourselves when we have enough of it already to port the existing Linuxbrew changes.
So let's close this.


Fix compilation error when using typealias

This fixes #5

I have quite a few more fixes in stock, and I'm wondering if I should aim to use this library and push those fixes upstream, or should I just maintain my own fork of the library


[v50] [Error] Mod not loading

Attached error.
Mod not loading, tested independently of any mods except the associated dependencies. Still throwing error below.
[Info   :   BepInEx] Loading [StoreRotationConfig 1.2.0]
[Error  :StoreRotationConfig] Error while initializing 'StoreRotationConfig': System.MissingMethodException: Method not found: void CSync.Lib.SyncedInstance`1.add_SyncComplete(System.EventHandler)
at StoreRotationConfig.Plugin.Awake () [0x0000e] in ./Plugin.cs:30

Full list of mods installed for testing

Currently it's not compatible with the latest versions of CSync (v4.0.0 and above), which are automatically downloaded by Thunderstore/r2modman when downloading dependencies. You need to downgrade to v3.1.1 to use this mod, but if you have another mod that has to have CSync v4, I could upload a pre-release that supports it, though you would have to import it manually. Unfortunately I have to pick between either switching to v4 and breaking compatibility with older mods that have yet to update, or remain on v3 to maintain compatibility until v4 is more widely adopted.

Latest release (v2.0.0) adds support for CSync v4.1.0, though (v1.3.0) can still be used if CSync v3 is ever needed. Feel free to reopen this issue if you encounter any problems with it, though nothing came up when I was testing it earlier.


README: add install instruction

Follow the latest way to build binaries.
/cc @yunxing @wangtuanjie

LGTM


Testing in NestJS application via Jest

Hello,
I'm trying to work out the best way to test my NestJS providers that utilise Mikro ORM. They use @InjectRepository to obtain a reference to Entity repositories.
I want to mock the repository via Jest to test the logic of my provider.
What is the best way to achieve this?
Is there another best practice for this?
Thanks,
Richard

If the question is how to mock them, then it's about jest usage, not really about the ORM itself. You could use jest.spyOn for example.
const findOneSpy = jest.spyOn(EntityRepository.prototype, 'findOne');
findOneSpy.mockImplementation(...);

It depends on what exactly do you want to do. You might also build the repository mock via jest.mock and create instance of your service manually.

Closing as answered, feel free to provide specific example/problem if it isn't enough for you.
btw slack or stack overflow would be probably better place for this

@B4nan can you clarify something, please? If I'm testing a service that depends on an entity repository, and I want to mock that repository as I just want to test my business logic (service), what would a configuration for that look like? From your answer it is not clear if I need to import mikroorm to the TestingModule with MikroOrmModule.forRoot and a real database config or not.

I’m curious about to see if anyone here as a mock EntityRepository pattern they’ve found well suited for testing service layers.
@rhyek Did you ever get anywhere with this?


Adding Temp Table Support for Snowflake and Moving Relational Commands To Plan Generation

… Plan Generation:
What type of PR is this?
Add Temp Table Support for Snowflake and Generates Relational Commands on Plan Generation

What does this PR do / why is it needed ?
This PR adds Temp Table Support for Snowflake as well as generates the Relational Commands on the Execution Plan. This is needed to enable SecDiv Lake IQ To Snowflake on Alloy

Which issue(s) this PR fixes:

Fixes #
This fix will allow snowflake to create temp tables; which we currently do not support.
Other notes for reviewers:
Does this PR introduce a user-facing change?

This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This PR was closed because it has been inactive for 35 days. Please re-open if this PR is still relevant.


Ref/bug/fix startup sequence

The scene manager now checks if there is a dcl project and if so, continues to check for beta, alpha or no dcl-edit projects inside the dcl project folder. If a alpha or beta project is found, and there is no existing directory state, the scene's version gets written into a new scene directory state. If no dcl-edit project exists, a new scene directory state with a new scene is created. When getscene gets called, the version of the scene gets checked and the appropriate action (like loading with v1) gets taken.

Task linked: CU-861m3uevp Fix startup sequence


Vue.js migration

What about that? The vue.js documentation will explain how the 2 differ, but evidently it's more so convenient or otherwise less ironclad.

The goal for Telescope would be that it's not React-dependant (apart from the components package), but we're not quite there yet. I'll be happy to accept any PR that makes it easier to use other front-end frameworks though.

Today it would be pretty easy to add Vue and  later Angular Support to Vulcan
Vue Support
If i would need to summarize Vue.js I would call it a "best of" of the react and angular worlds.

https://github.com/akxcv/vuera

a seamless interop layer between react and vue

https://quasar.dev/

the Ultimate Cross Platform Front-End Development Framework which is based on Vue.js
supports ProgressiveWebApps, which already are pretty advanced

see https://whatwebcando.today/

and with a little help of
- https://github.com/GeekyAnts/vue-native-core
- https://www.microsoft.com/en-us/research/publication/static-typescript/
the Javascript Codebase could reach compiled native performance, as it would have been coded directly in  C++. So no hybrid-app weirdness anymore like in react-native.
especially if vulcan.js would also join forces with https://feathersjs.com/

Hosting
Things that come in handy and help with hosting:

https://github.com/dokku/dokku

A self-hosted platform-as-a-service solution like https://www.heroku.com/

which is based on https://www.docker.com/

http://debops.org/
a pre-configured batteries-included virtualized datacenter, which is based on

debian
ansible
docker
vagrant


[UNDERTOW-1905] remove constant multiplication of timeout in Sesssion…

…Impl
Issue: https://issues.redhat.com/browse/UNDERTOW-1905
Upstream PR: https://github.com/undertow-io/undertow/pull/1183

Bulk closing of 2.1.x PRs


Adding WAGMI token

Note, original PR submitted was maliciously removed as our developers GitHub account was somehow reported/deleted: https://github.com/solana-labs/token-list/pull/4139
This is a replacement PR to introduce the WAGMI token.
I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 30 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 30 minutes for your pull request to be merged or reprocessed.

@certus-bot This one is legitimate.


branch-2.0 update error code when failed to fill the missing fields (#29103)

Proposed changes
Issue Number: close #xxx
cherry-pick #29103
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Does this library support deserialization HTML to markdown?

Does this library support deserialization HTML to markdown?

no


Feature request: filter slider with discrete value mark + tooltip

Here is the filter slider image from our design team:

We expect you will be able to do this by creating your own filter control (git issue #199 )


Support Request: Setting up Blinds Tilt?

Config for homebridge-switchbot
"devices": [
                {
                    "blindTilt": {
                        "mode": "only_down"
                    },
                    "configDeviceName": "Living Room Window Blinds",
                    "configDeviceType": "Blind Tilt",
                    "connectionType": "OpenAPI",
                    "deviceId": "[REDACTED]"
                }

Screenshots
I am trying to set up my blinds tilt and can't get them to work right.  I would like "closed down" to be my closed position, and open to be my open position.  No matter what I try, Apple Home sees "open" as being the real "closed up" and "closed" as being the real "open".  Nothing I try will get the Home app to get the blinds to move the direction I want.  From the logs, the TargetHorizontalTiltAngle and TargetPosition seem to bear very little relationship to the actual position or direction the blinds are moving.
I can't find any documentation about the proper way to set up the plugin for this type of device.  Is there documentation on the blinds tilt functionality somewhere I am missing?
Device & Model
Blinds Tilt
Node.js Version
v18.16.0
NPM Version
Whatever comes with HB 1.6.1
Homebridge Version
v1.6.1
Homebridge SwitchBot Plugin Version
v2.6.2
Homebridge Config UI X Plugin Version
v4.50.4
Operating System
Official Homebridge Raspberry Pi Image

Also, using the default mode, "only_down" and "only_up" seem to all produce the same results as described above.  I'm sure I'm doing something wrong, I just need someone smart to point out what.


Rename dropdown to "All Building Types"

can you change the building type filter from “Show All Buildings” to “All Building Types”. Saying “All Building Types” is a bit more functional if that language needs to do double duty for (i) describing what the filter is and (ii) serving as the unfiltered option.

Do this, commit and build, and then send updated html only for deployment
┆Issue is synchronized with this Asana task

Done and deployed


ipwhitelist not working

Platform: RPI 3 with newest MM build, installed and updated yesterday.
Description:  Until yesterday my mirror was working with an older build version. The mirror was accessable trough the internet via my configured ddns service.
After the update im getting the error, that the ip was blocked.
I tested with ipwhitelist [] but it isnt working. Additionally i entered <IP_ADDRESS> to adress wo get the ipwhitelist: [] working, but it didnt fix the problem.
How can i make the mirror accessable from every ip adress?

Are you running the develop branch or the master branch?

actual Branch is master

Could you give the develop branch a try?
git checkout develop
git pull
npm install

Ok, this problem is solved, no blocking anymore in shell console, but cant connect anyway. Browser output: (111) Connection refused

So, is it solved? Or isn't it? :D If it isn't solved, what message do you see in your node output when trying to connect?

Output is not showing any blocked ips, but the connection got refused when i open the link in the browser. Ports are open, like when it was working.

There was  fix into the develop branch about this issue. Please, check it out
https://github.com/MichMich/MagicMirror/commit/45d597ac49d52e1728b9d40d95b0a7acf2945cbd
So, this issue is really fixed.
As @MichMich said
cd MagicMirror
git checkout develop
git pull
rm -frv node_modules
npm install

Make sure you can access from the browser and where is running MagicMirror. Are differents IPs?, I mean MM and Browser

mirror is accessable from intern network. Also within the mirror itself. From outside i get the connection refused error shown in my browser. Tried different port settings, but cant connect via dyndns from outside. Other ports like webserver on port 80 is still working and accessable from outside.

... I presumed this is configuration issue or other not related with MagicMirror itself. Did you set address to '<IP_ADDRESS>'  in your config.js?
What show you the command netstat -putan ?

@t4rif4ri We don't (officially) support DynDNS. I would recommend taking your case to the forums.
@MichMich close?

Thank you all for your help! After i set <IP_ADDRESS> to adress its working again. :))

Same her, the site was live after adding "address": "<IP_ADDRESS>", to the config


QTA6

Use the preview tab to see the example given below. Edit the relevant information and preview the changes before submitting. You may delete these instructions.

Key
Value

ID
QTA6

Source
Vaaran Bhai Gurdas Ji

Page
28

Line
gurmuiK suK Plu, iprmu ipAwrw ]7]

Correction
THIS ≠ THAT

PROOF (EDITION)
Image:

I don't see the issue here:
Image:


Expose async methods

This PR

exposes methods in ManagementSDK async.

Fixes #32

Beta forever. Project is dead.


Mod Loader without editing source code

Ste - January 3, 2023 11:37 AM
Hey btw, back to the idea of only needing the modloader and not some edits to the source code (like adding it as auto load): godot can override project settings with a override.cfg placed in the same directory as the exe. One problem being that it completely replaces it and can’t just ‘add to it’.. though there might be a way, since you can save the project settings as a custom file (https://discord.com/channels/212250894228652034/342056330523049988/873285063805124678)

I can save these config settings very easily using the following:
var path = ProjectSettings.globalize_path(OS.get_executable_path().get_basename() + "override.cfg")
ProjectSettings.save_custom(path)

That means we could possibly run the project once, make it add itself to the auto loads, create the override and close again

Ste - January 3, 2023 11:51 AM
Adding it as auto load might be a bit annoying though, since it is added as last in the list. So get existing, hold them, remove them, add loader, add them back..
also, save_custom saves all of the settings, which might be bad.. and projects using this mechanic might be affected (though i've never seen a project use that)

Closed in #75


Feat: Feedback surface on page, set surface to page with custom variables

New:

Allow custom variables for all page, bank, and surface actions/feedbacks
Allow variables in button text action
Add boolean-type instance status feedback for use with triggers

@Julusian Have there been any changes for v3 that make any of these more viable?
Specifically looking at adding feedback for when a surface is on a selected page

I've made a start at porting this to 3.0

@Julusian Great. Shall I close this while you handle the port? I don't imagine any of this code is usable in 3.0

I think all of this is now ported to 3.0. If not, lets open some new issues in the main repository


Netflix Stock Prediction Using Regression

🛠 Related Issue

Closes #[issue_number]
#480 fixed

📝 Description

[Provide a concise description of the changes. Include the purpose and any relevant context or details.]
🔍 Type of PR

[ ] 🐛 Bug fix
[ ] ✨ Feature enhancement
[ ] 📚 Documentation update
[ ] 🛑 Other (specify): _______________

📸 Screenshots / 🎥 Videos (if applicable)

[Attach screenshots or videos]
✅ Checklist

[ ] I have performed a self-review of my code.
[ ] I have read and followed the Contribution Guidelines.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

ℹ Additional Context

[Include any additional context or information that might assist reviewers in understanding the changes]

@Akshat111111 pls check it issue #480

I didn't get @Akshat111111

i've to make separate folder "NYSE" inside that i've to make PR @Akshat111111

pls review it @Akshat111111

it should be inside NYSE.Make a new pr if you are facing any difficulty

I'm not getting all files while cloning pls merge it @Akshat111111

make a new branch and try with it

make a new branch and try with it

Okay i'll do


Feature request: text field for filtering driver in webinterface when changing driver

When using the webinterface and adding a new printer I get a list of ~40 drivers. It would be nice, if above the list there would be a text field, where I can enter a string and the list get reduced to only the driver names that contain the string.

OK, I'll queue this up in case we can do something easily with Javascript. But treating this as "nice to have" for v2.4.0...


Best Practices for Navigating to a route

Version
Tell us which versions you are using:

react-native-router-flux v3.34.0
react-native v0.34.0-rc.0

Expected behaviour
Memory usage is constant when navigating between the same 3 scenes
Actual behaviour
Memory usage continually goes up when navigating between the same 3 scenes
When navigating to a route, what is the best practice for reusing existing scenes? If I do Actions.home() does this reuse the "home" scene if it's already been instantiated?
Instead should I be using Actions.popTo('home')? If so, do I have to check if the scene has been instantiated?
Thanks

Any progress on this?


Create initial CICD using GitHub Actions

Research and implement a CI/CD pipeline using GitHub Actions

[ ] Build Code
[ ] Test Code
[ ] Containerize
[ ] Publish

https://medium.com/technology-hits/how-to-do-ci-cd-in-spring-boot-project-using-github-actions-286d1ab647ef

https://blog.tericcabrel.com/springboot-github-actions-ci-cd/

https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions

https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

Hey there,
We've got some thrilling news for you! GitHub is currently looking for skilled Developers to join our team. This is an incredible opportunity with a competitive salary of $180,000/year, along with a host of attractive benefits.
Interested in taking your career to the next level? Don't miss out! Click here to apply and secure your spot.
Looking forward to potentially welcoming you aboard!
Best regards,
GitHub Recruitment Team
rnitta, @AlexR1712, @craigwrong, @omgitsbenhayes, @JoshDona, @smitherstyle, @kouheisatou, @k3tan172, @MrMatthias, @cagev, @matkus91, @yuvadm, @vunovikov, @bucko13, @ROBO358, @Sparky1000101, @freenancial, @agates, @tiagocanto01, @sizief

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
veselen, @liuhao2018, @Jonham, @rope, @feliasson, @ronsims2, @Cuick, @denskiz, @zhangjinyang, @jokang, @georgewpark, @smasuda, @bluexiaowei, @tsymiar, @ereg3rm, @PowersOfTau, @ArkDev315, @hupeng312, @wafer774, @auula, @djmelik, @mingzhu0527, @evilpeach, @christo-pr, @Asteroidhaha, @mask-pp, @HugeTimor, @DayoWang, @FuMengAtDJ, @abdihaikal, @RieGo, @ltbyshi, @eloi010, @ColeShelly, @dfraxx, @lenlee, @charbelzalaket, @ryanmgriffiths, @abhayrp2000, @carlocayos, @kane-armstrong, @hejinbo96, @fredwangsap, @GaryChangCN, @chenbowu, @xixihaha134, @designated-compiler, @khakulov, @alecmerdler, @Freeflint


Support VSTS new Identity Service

Support VSTS new Identity Service - SessionToken API URL has changed and must query Location Service first.
The new Identity Service API requires a specific target account url.  Pick the first enabled account to generate PAT with.

Hi @yacaovsnc, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Yang Cao (VSNC)). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

LGTM


Add onError for some logo return 404

We need to set a default logo for some logo may not exsit

Pull Request Test Coverage Report for Build 7971

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 63.923%

Totals

Change from base Build 7970:
0.005%

Covered Lines:
11976

Relevant Lines:
18735

💛  - Coveralls


Answer key to the exercises in Stanford's "Introduction to computer networking"

Is it possible to get or make an answer key to the exercises for above mentioned course?
I repeatedly find myself unable to answer some of these exercises. The course has a button "show answer", but this only appears after you've answered the question. Now, when I'm unable to answer the question, there's no way to get an explanation or even correspondence with an instructor or aid to ask about it.
I'd suggest we create an answer key for this course on OSSU that OSSU students can consult when they find themselves stuck on an exercise. This would help greatly in that you don't have to simply skip these these exercises anymore, but you can figure out the answer, why that's the answer and where and how you've lapsed in your understanding of the subject and fix it.
Of course we can't give an answer key for the midterm and final, this would only apply to the unit exercises. The question remains however, does this violate the honor code?

I personally think that there should be a forum for everyone who is a participant in the OSSU curriculum so that all members that eg. take the OCW versions of some of MIT courses or don't know the answer and don't know where to get to know the stuff that is taught in the course more deeply, could have the opportunity to connect with other students and this way possibly get to know how to improve their understanding or get to know about some useful material to cover the topic of which they lack understanding.
We should take into consideration that this curriculum can sometimes be the only point that connects learners, so there should be an effort taken to develop ways for making such interaction possible.
Hoping to contribute towards that in the future.

Regarding the course "Introduction to computer networking" specifically, I did the course a little while ago. I remember some of the questions not making much sense and some of the given answers being incorrect. I wouldn't feel too disheartened if you can't get some of them.
The best place to ask for help would be on the course forum (they call it Piazza). When I couldn't answer a question, I searched on there and sometimes previous students had already discussed the question (and confirmed it was a dud, for example). You could also ask a question on there too, but it may take a while to get a response.
I highly recommend the optional reading (I think they list a few textbooks, I just chose one and read it cover to cover). The videos are OK but there's not enough in the course by itself, I think. This is a trend with quite a lot of courses though; if you find yourself struggling you probably need an additional text, the course videos tend not to go into enough depth (they take a lot of effort to make) and/or assume a lot of prior knowledge.

I second xxylem's suggestion of using the discussion forums of the various courses. And also of searching out secondary sources of information.

The course has a button "show answer", but this only appears after you've answered the question. Now, when I'm unable to answer the question, there's no way to get an explanation or even correspondence with an instructor or aid to ask about it.

If the question is not assessed, then I would encourage you to give your best answer and then check the feedback on that answer. This is often what we do with live teachers talking with us 1-1. So an answer key shouldn't be necessary.
If the question is assessed, then maintaining an answer key for future students would violate the Honor Code. https://lagunita.stanford.edu/tos_and_honor


Save histories for various tutorials

When completed - save histories for Assembly, Annotation and Variant Calling (and the others? Galaxy and Quality Control?)

Linked now on the "training dataset" page.


When clearing via "Backspace" the mask stays and is send as part of the value

Environment

Tech
Version

@material-ui/pickers
v3.1.0

material-ui
v4.1.1

React
v16.8.6

Browser
Chrome:  v74.0.3729.169

Peer library
moment

Steps to reproduce

Use KeyboardDatePicker
Start typing a date
Start clearing date via Backspace on the keyboard

Expected behavior
When I don't have a value, the mask shouldn't stay. It should just go to initial state, which is no value.
Actual behavior
The mask stays and my input is marked as invalid. Even if I use Ctrl + A + Backspace I still get an Invalid field
Live example
You can see it in your docks

In addition, or possibly as a workaround can we get a prop that allows the visual mask to be optional?

The way i'm currently working around this is by using onBlur to set the value to null when only the mask is showing.
const maskChar = '_';
const dateFormat = 'dd-MM-yyyy';

export const InlineDatePicker: React.FC<any> = props => {
  const {
    id,
    value,
    onChange,
    label,
    ...restInput
  } = props;

  return (
    <KeyboardDatePicker
      id={id}
      variant="inline"
      margin="normal"
      label={label}
      value={value}
      {...restInput}
      format={dateFormat}
      maskChar={maskChar}
      onBlur={e => handleBlur(e, props)}
    />
  );
};

const handleBlur = (e, props) => {
  const displayValue: string = e.target.value;

  const maskOnly = maskChar.repeat(dateFormat.length);

  // if the field is completely empty, only the mask is showing
  if (displayValue === maskOnly) {
    if (props.onBlur) {
      props.onBlur();
    }

    props.onChange(null);
  }
};


Refactor pools.ts

Description
Refactor pools.ts to make POOLS network specific and avoid address/id collisions. In the process, blocklist stale Kovan LBPs that have an incorrect totalLiquidity amount on the subgraph.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[X] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?

[ ] Broken, huge liquidity LBPs on Kovan should not be listed in pool page
[ ] stMatic pool on Polygon should now be displayed as a stable pool, not boosted pool
[ ] staBAL3 migration button is displayed correctly on Mainnet and Kovan

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[ ] If package-lock.json has changes, it was intentional.
[ ] The base of this PR is master if hotfix, develop if not

[X] Polygon stMatic check
Before

After


rename repo to opensource.osu.edu

rename github repository from open-source-club-website to opensource.osu.edu
todo

[x] rename baseurl variable in js
[ ] correct github repository link

@OSUOSC/website-team ~ You should all be aware of this.

I mean, sure. Go for it.

i've had an issue open for awhile #188

I support changing the repo name, but I'd prefer the simple name of 'website' as earlier suggested in #188. Also note that the old remotes won't break given this page due to Github's awesomeness unless we put another repo in the org with the old name.

instead of fixing the merge conflict, i went ahead and pushed the changes to master. The repo has been renamed.


build(package): update transpilation target

Description:
https://github.com/ReactiveX/rxjs/issues/5270
We decided to adjust transpilation target higher and drops IE11 support, it needed 7 release to introduce major breaking in 8. PR also drops tslib which doesn't seem to be helpful lot in terms of tree shaking. We can bring it back later if needed.
Related issue (if exists):

I think we decided we can close this a long time ago.


exit with code 1 when build fails

fixes #54

This is probably a breaking change, if people relied on the fact that backback exited with code 0 on failure.

This is from another project we use internally... will this work?
....

// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will
// terminate the Node.js process with a non-zero exit code.
process.on('unhandledRejection', err => {
  throw err;
});

compile(serverConfig, (err, serverStats) => {
  handleWebpackErrors(err, serverStats)
  console.log(chalk.green('Compiled successfully'))
})

// Wrap webpack compile in a try catch.
function compile(config, cb) {
  let compiler;
  try {
    compiler = webpack(config);
  } catch (e) {
    printErrors('Failed to compile.', [e]);
    process.exit(1);
  }
  compiler.run((err, stats) => {
    cb(err, stats);
  });
}

// Print out errors
function printErrors(summary, errors) {
  console.log(chalk.red(summary));
  console.log();
  errors.forEach(err => {
    console.log(err.message || err);
    console.log();
  });
}

// Gracefully handle errors and print them to console.
function handleWebpackErrors(err, stats) {
  if (err) {
    printErrors('Failed to compile.', [err]);
    process.exit(1);
  }

  if (stats.compilation.errors && stats.compilation.errors.length) {
    printErrors('Failed to compile.', stats.compilation.errors);
    process.exit(1);
  }
  if (
    process.env.CI &&
    stats.compilation.warnings &&
    stats.compilation.warnings.length
  ) {
    printErrors(
      'Failed to compile. When process.env.CI = true, warnings are treated as failures. Most CI servers set this automatically.',
      stats.compilation.warnings
    );
    process.exit(1);
  }
}

@jaredpalmer Yeah that works as well, but it will duplicate the output in the error case:

@despairblue yeah, i pulled it from a project that has a custom webpack logging plugin. Forgot that backpack has that totally baked in tbh.

@jaredpalmer So how are we going to proceed from here? 😄
Should I change anything?

@jaredpalmer hey, is anything holding back a new release? Can I help somehow?

@despairblue done.

You are awesome, I was just running yarn upgrade-interactive again and wondering if I just missed it in the output the first time 😄
👏


Improved fuzziness sorting

I was looking at using the same thing :) I am not sure about this, do you find it to be better than what's there now? The thing is that on gigantic projects fuzzy search is ridiculously slow as it is, I think the priority should be to get the performance in order.

@markohlebar
Yeah, I find it better then how it currently is. I really haven't tested jt out on big projects. But yeah I'm probably guessing it's going to have a huge performance hit.

@ClementPadovani all right man, I'll test it out in the company and get back to you 👍

Sounds great :thumbsup:!


RFC: Removing assemblies from Spark.

I think my biggest concern here is backwards compatibility.  I understand this doesn't change api per say but lots of people could have scripts (launch and deploy) and configs that would need changing.   Like mentioned, people could be pointing to assemly jar in pom, etc..

lots of people could have scripts (launch and deploy) and configs that would need changing

yeah, backwards compatibility is a big worry. I think that the best way forward is to make the code changes to accommodate both, and leave "build with assembly" as an option. Then with time we can slowly migrate away from using the assembly.

For those following, I incorporated some of the feedback from here and filed SPARK-11157 to track actual work going forward. Thanks for all the comments!


Cannot use generics in JSDoc object signature

TypeScript does not appear to support using generics in JSDoc Object types (Object<string, T>). Doing so results in errors like Index signatures are incompatible. Type 'T' is not assignable to type 'string'..
TypeScript Version:  3.1.0-dev.20180919
Search Terms:

jsdoc object generic
object generic is not assignable to type
jsdoc object generic index signature

Code
/**
 * @param {T} val The value.
 * @return {Object<string, T>} The object.
 * @template T
 */
const createGenericObject = function(val) {
  return {
    'key': val
  };
};

/**
 * @const
 * @type {Object<string, string>}
 */
const myStringObject = createGenericObject('hello');

/**
 * @const
 * @type {Object<string, number>}
 */
const myNumberObject = createGenericObject(42);

Expected behavior:
No errors.
Actual behavior:
objectgeneric.js:16:7 - error TS2322: Type '{ [x: string]: T; }' is not assignable to type '{ [x: string]: string; }'.
  Index signatures are incompatible.
    Type 'T' is not assignable to type 'string'.

16 const myStringObject = createGenericObject('hello');
         ~~~~~~~~~~~~~~

objectgeneric.js:22:7 - error TS2322: Type '{ [x: string]: T; }' is not assignable to type '{ [x: string]: number; }'.
  Index signatures are incompatible.
    Type 'T' is not assignable to type 'number'.

22 const myNumberObject = createGenericObject(42);
         ~~~~~~~~~~~~~~

Playground Link: Not applicable (tsc behavior).
Related Issues: None found.

@andy-ms / @sandersn: Is this something that could make the 3.2 milestone? I'm trying to get a rough estimate for planning purposes. Thanks for your time!

@schmidtk It's planned for 3.2, and next on my list after improving the infer-from-usage codefix (#27610). It's not a simple fix — JSDoc generics do not create actual generic types right now — so plan like you would for any software engineering estimate.

@sandersn Excellent, appreciate the feedback. Thank you!

Does anyone have a guess as to why I'm still encountering these kind of errors?
I literally just copy and pasted the code from the original poster, and I'm getting errors that were identical to his.
I tried to install the latest version of Typescript (currently 3.7), but that didn't help anything.


Don't generate duplicate lines in /etc/hosts

Should fix the remaining issue in https://github.com/CSC-IT-Center-for-Science/ansible-role-pxe_config/issues/4

Thanks. As CI is broken for this role I'll test this manually.

The update would have made the role no longer idempotent after this update - if we run the dns_update tag twice it adds more and more entries in perpetuity.
This was because regexp= no longer matched line=
Fixed in master since a79896ca7d1ab998e79fc852ff02d9f2e7256ac4
(as well as some cleanup)
Not merging this PR in.
Thanks again @jabl
At least on io I no longer see any duplicates in /etc/hosts


Support semicolon as URL query separator

CASino uses addressable/uri, which does not fully normalize Urls with semicolon like
http://server/otrs/index.pl?Action=AgentTicketZoom;TicketID=12345

The result after service validation is
http://server/otrs/index.pl?Action=AgentTicketZoom%3BTicketID%3D12345

which OTRS cannot handle.
More info: https://github.com/sporkmonger/addressable/issues/114 and https://github.com/rbCAS/CASino/issues/58

We currently do not have plans to implement this. I'm not even sure if this would have to be fixed in CASino or addressable.


Discuss characteristics of the 3 kernel debug methods

Reading this page leaves me no better off regarding what to do in order to solve my software problem. What does the kernel code look like on the screen for each method? Is source shown for any of them? I would save a lot of code experiment and learning time if there was a general description of each's characteristics as compared to the other.

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

ID: 97eed641-8cd3-4359-aee7-2f14acd28b24
Version Independent ID: c0c6d81e-4487-cd62-9dcd-9ce3b14f98e0
Content: Setting Up Local Kernel Debugging of a Single Computer Manually - Windows drivers
Content Source: windows-driver-docs-pr/debugger/setting-up-local-kernel-debugging-of-a-single-computer-manually.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

What software problems you have experienced. this article about debug the Kernel device driver

Several times now my project's dev progress has been halted by not being able to debug into underlying Microsoft socket and bind functions. My first encounter was how to determine socket interface type "Since I couldn't debug bind()". My second encounter was Binding an ipv6 slaac address to windows IP Stack error 10049. And I am on my 3rd encounter now which is Unable to GetUnicastIpAddressEntry after CreateUnicastIpAddressEntry which involves low-level windows socket API calls.
In each case, if I had the ability to debug farther down into the calls, I would have been able to solve the problem and move on. Asking StackOverflow for answers to these low-level call issues is futile, which is why I was exploring kernel-level debuggers. The doc page I was responding to merely described how to use 3 debuggers in kernel mode. It offered zero information on whether they had the potential to let me debug my problem, like whether debugging would show me the source code or not.
Especially now with the transition from ipv4 to ipv6, knowing what is going on inside socket(), bind() and listen() _impl*** functions is essential.

@rtischer8277. I thought of you have  normal software program problems. but your issues to  related to developing drivers, So it's better option post a query in visual studio community or forums. In that forum, many experts are there, they will try to solve all your doubts.
I hope you can understand

I am not developing drivers, but if you have a link to that forum, I'll take a look. Maybe you are saying the socket(), bind() and listen() are referred to as drivers. Is that true? That would explain a lot.

@rtischer8277 - I would post on this forum:
•	Windows Hardware WDK and Driver Development

@rtischer8277. sorry I don't have those knowledge.

Thanks all for the guidance. I found this page which describes the debuggers in more detail. If after studying these and I still need advice, I'll re-post on the WDK forum: Debugging Tools for Windows (WinDbg, KD, CDB, NTSD)

@rtischer8277 - Good luck with your networking debugging work and thanks for the interest in the Windows Debugger docs.


Support Creedmoor scale

Often requested.
Seee #1

The Creedmoor scale, also known as the Creedmoor system, is a method used for scoring in long-range target shooting, particularly in disciplines like fullbore rifle and Palma shooting. Developed in the late 19th century, the system for Best budget scope for 6.5 Creedmoor was named after the Creedmoor Range in New York, where many early long-range competitions were held.