Not all Cassandra Parameters in options file

I am trying to deploy cassandra with a options file where I set specific properties.
dcos package install --options myoptions.json cassandra
I receive the error below
Unexpected properties: ['endpoint_snitch', 'gc_warn_threshold_in_ms', 'key_cache_size_in_mb',
'memtable_cleanup_threshold', 'memtable_flush_writers', 'permissions_validity_in_ms',
'phi_convict_threshold', 'roles_update_interval_in_ms', 'roles_validity_in_ms']
myoptions file is
{ 	"service": { 		"name": "cassandra-c1", 		"data_center": "Cassandra", 		"principal": "cassandra_principal", 		"cpus": 0.1, 		"mem": 512, 		"heap": 256 	}, 	"nodes": { 		"cpus": 2.0, 		"mem": 4096, 		"disk": 10240, 		"disk_type": "ROOT", 		"heap": { 			"size": 1024, 			"new": 100 		}, 		"count": 1, 		"seeds": 1 	}, 	"cassandra": { 		"authenticator": "PasswordAuthenticator", 		"authorizer": "CassandraAuthorizer", 		"concurrent_reads": 96, 		"concurrent_writes": 128, 		"compaction_throughput_mb_per_sec": 128, 		"endpoint_snitch": "GossipingPropertyFileSnitch", 		"gc_warn_threshold_in_ms": 500, 		"key_cache_size_in_mb": 256, 		"memtable_allocation_type": "heap_buffers", 		"memtable_cleanup_threshold": 0.6, 		"memtable_flush_writers": 8, 		"num_tokens": 64, 		"permissions_validity_in_ms": 60000, 		"phi_convict_threshold": 12, 		"roles_validity_in_ms": 60000, 		"roles_update_interval_in_ms": 5000 	} }
It appears in issue #283 they were added to the application configuration.  I also see them in the schedule.yml as environment replacements.
It appears they were never added to the universe config file so are being rejected at that point when used in the options file.   They do not appear when you run
dcos package install cassandra --config

Environment was DCOS 1.8.7 and 1.9-rc3.
dcos package describe cassandra
{
"description": "Apache Cassandra running on DC/OS",
"framework": true,
"maintainer"<EMAIL_ADDRESS>"minDcosReleaseVersion": "1.7",
"name": "cassandra",
"packagingVersion": "3.0",
"postInstallNotes": "DC/OS Apache Cassandra has been successfully installed!\n\n\tDocumentation: https://docs.mesosphere.com/current/usage/service-guides/cassandra/\n\tIssues: https://dcosjira.atlassian.net/projects/CASSANDRA/issues",
"postUninstallNotes": "DC/OS Apache Cassandra service has been uninstalled.\nPlease follow the instructions at https://docs.mesosphere.com/current/usage/service-guides/cassandra/uninstall to remove any persistent state if required.",
"preInstallNotes": "DC/OS Cassandra Service default configuration requires 3 nodes each with 1.5 CPU shares, 5376MB of memory and 11264MB of disk for running Cassandra Nodes. And, 1 node with 0.5 CPU shares, 2048MB of memory for running the service scheduler.",
"selected": true,
"tags": [
"data",
"database",
"nosql"
],
"version": "1.0.25-3.0.10"
}

This repo is deprecated and will be archived in one week.  Please see the latest version of Cassandra or DSE for DC/OS:
https://docs.mesosphere.com/service-docs/cassandra/
https://docs.mesosphere.com/service-docs/dse/  (enterprise-only)


The genome browser is so slow that I can't really use it anymore.

Several performance improvement on genome browser were made by Jan 2018 release. Please reopen if you still see the problem.


Modify the request to get PR in WFQA state

Hello,
PR in WFQA must be accounted for only if they don't share another "Waiting for..." label.
So PR with labels

"Waiting for PM"
"Waiting for Dev"
"Waiting for author"

should be ignored.
This can be done by adding the -label:"Waiting for Dev" (for this label specifically) to the command retrieving the data from Github.
This should be done for every request (active branches and modules).
Thank you !

@SimonGrn Les PR "waiting for dev" & "waiting for author" sont déjà exclus de la recherche WFQA :
https://github.com/PrestaShop/presthubot/blob/master/src/App/Service/Github/Query.php#L29-L32

Yes I know, I just wanted to summarize, and it would be nice to include "Waiting for PM" too 😄

@SimonGrn Fixed.

@SimonGrn Fixed.

Hi @Progi1984 it seems that the "waiting for dev" PR are still retrieved by presthubot

Hi @Progi1984 it seems that the "waiting for dev" PR are still retrieved by presthubot

@SD1982 Woot ! Label names have been changed. :(

@SD1982 Woot ! Label names have been changed. :(

Ajout de majuscules à :Waiting for author
Waiting for dev
Waiting for PM
Waiting for QA
Waiting for rebase
Waiting for UX
Waiting for wordingUpdate de :‘< 1.6’ en ‘< 1.7.x’
‘Nice to have’ en ‘Nice-to-have’
‘Missing basic information required’ en ‘Missing information’
‘To Do’ en ‘To do’
‘Epic’ en ‘EPIC’ (modifié)

Ajout de majuscules à :Waiting for author
Waiting for dev
Waiting for PM
Waiting for QA
Waiting for rebase
Waiting for UX
Waiting for wordingUpdate de :‘< 1.6’ en ‘< 1.7.x’
‘Nice to have’ en ‘Nice-to-have’
‘Missing basic information required’ en ‘Missing information’
‘To Do’ en ‘To do’
‘Epic’ en ‘EPIC’ (modifié)

Corrigé.

Corrigé.


Docs Update: More Specific Union Types Are Supertypes

Unless I'm missing something here, more specific union types are supertypes of less specific union types. The opposite is true for intersection types: more specific intersection types are subtypes of less specific intersection types.
// Less Specific
// A | B | C
//    A | B
//       A
//    A & B
// A & B & C
// More Specific
A | B | C is supertype to A & B & C

Still a bit of a n00b, but I recently recapped my understanding here: https://medium.com/@mwalkerwells/disjoint-union-intersection-relationships-with-flow-600b0cde9b32

Oh brilliant. This just came up in #3619. Thanks for finding and fixing :D


In  MaterialList, no highligting by background-color is required

v0.4.10, in a MaterialList, some value in a metadata is highlighted.

What does this highlighting means? I find no reason. Should not put any highlight on it.

This highlighting must be a mistake.

v0.4.13-SNAPSHOT


Ci/docker build

This PR updates the way we build containers so that we can now build them for other architectures (such arm64) using Buildx. I've extended the container tests we do on a git push so that we now test the building of arm and arm64 Linux containers. I've done this as our scripts rely on OHIs published for these architectures so should give us confidence that they pull in the correct arch versions.
There is a big change in the way we build the agent in this PR. When we run make dist-for-os it will no longer output the build to target/bin. Instead it will output it to the same directory structure that GoReleaser without the need to run GoReleaser. The directory it outputs it the binary to is now dist.

Looks good to me, but I would like to review it one more time later today.


halUnclip

halUnclip is a tool to add sequence back to hal files in the event that they were clipped out via cactus-preprocess.
It transforms a set of sequence fragments of the form, ex, chr1_sub_1_10, chr1_sub_500_600, chr1_sub_1000_20000 and a fasta sequence of the entire chr1 and makes an output with just chr1 in it.
All alignments are preserved, it's just the names and sequence strings that are changed.  New sequence added is by definition unaligned to anything.

This seems somewhat usable, finally.  7 hours / 31G RAM for 90-way human pangenome.  Somewhat ironically, the biggest potential speedup I see is fixing sonLib's fasta parser to not be so slow.


remove tools._array_newton

@mikofski and others: how do you feel about removing tools._array_newton and adding a minimum scipy version requirement for our 0.8 release?

Huh, timing is uncanny, see my last comment in #968 :wink:


A question about com.alibaba.cloud.nacos.NacosConfigManager. Is it a bug?

The ConfigService object 'service' in the NacosConfigManager that the Nacos configuration listens to uses static variables.

This results in that if multiple NacosConfigManager coexist, the first NacosConfigManager will overwrite all other NacosConfigManager.
Does this meet expectations? .
--
Nacos配置监听的NacosConfigManager中ConfigService对象service使用的是静态变量。

这导致如果多个NacosConfigManager并存的情况下，第一个ConfigService会覆盖所有的其他ConfigService。
这符合预期吗。

Add Spring Cloud Alibaba's specific module dependencies, and you can directly get the only NacosConfigManager object through dependency injection. How can you have multiple objects?

I want to monitor configuration files under multiple namespaces, so I created multiple NacosConfigManager ...

I want to monitor configuration files under multiple namespaces, so I created multiple NacosConfigManager ...

We don't recommend to monitor configuration in an application under multiple namespaces. Because, the concept of namespace is designed to make application isolation in different environment. If you want to achieve it, you can use Nacos Client to create multiple NameService objects to do that.

Long time without response and close firstly.


Fixes polytope intersection when polytope inside triangle

Should fix https://github.com/cedricpinson/osgjs/issues/877 and https://github.com/cedricpinson/osgjs/issues/858


Make Interface.Inside an interface type

This commit updates the Interface.Inside type to be a new interface
type instead of a *Tun. This will allow for an inside interface
that does not use a tun device, such as a single-binary client that
can run without elevated privileges.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Ah, correction, there is another one that matters:

https://github.com/slackhq/nebula/blob/4756c9613dbe175de60d46e76b5c106a03381b02/interface.go#L147

But, I still think one spot changing from struct -> interface on the hot path should be okay.


Cannot install

I tried installing this in Pop_OS! 20.04 by cloning the repo into .local/share/gnome-shell/extensions/ and restarting GNOME, but it does not activate or appear in Extensions or Tweaks

Sorry about the delay in replying. I've made an educated guess that Pop OS 20.04 uses GNOME 3.36, so it should work. I think the most likely cause is that you haven't named the folder correctly. It needs to match the UUID (in metadata.json) so make sure it's called ~/.local/share/gnome-shell/extensions/fix-fullscreen-tearing@tclark.


Compare project with a blank project created by KMP wizard

Changes merged in, this is no longer needed as a reference.


@eessex => Infinite scroll + pull in latest reaction components

Adds infinite scroll to the page using a new dependency, react-waypoint.

Looks good from here! Merging.


multi-select valueChanged callback function not called on changes

I'm trying to get notified when the selected value has changed for a multi select.
Here a modified sample from the docs Multiple Select Objects:
export class App {
  products = [
    { id: 0, name: 'Motherboard' },
    { id: 1, name: 'CPU' },
    { id: 2, name: 'Memory' },
  ];

  @bindable() selectedProducts = [];

  selectedProductsChanged(newValue, oldValue) {
    console.info('selectedProductsChanged ' + newValue);
  }
}

  <label>
    Select products:
    <select multiple value.bind="selectedProducts">
      <option repeat.for="product of products"
              model.bind="product">
        ${product.id} - ${product.name}
      </option>
    </select>
  </label>

Current behavior:
The notify isn't called and I think it's determined here:
https://github.com/aurelia/binding/blob/master/src/select-value-observer.js#L118
Expected/desired behavior:
It would be nice to be notified of a change.

The binding system makes a distinction between property changes and collection mutation. The selectedProducts property never changes, it remains the same array instance (although the contents of the array change). This is why the selectedProductsChanged property changed handler is never called.
Try subscribing to the select element's change DOM event:  <select ... change.delegate="selectedProductsChanged()" ... >

Sound logical, thanks for the explanation and pointing me into the right direction!


net/http: document when url.Error type is returned

Document when url.Error type is returned. (which Client methods)

Related #9424


tableClass property not being applied

Nice plugin, thanks for all the work you put into it!
I am having a problem with the tableClass parameter. I am passing a custom class but, no matter what I do, I always end up with the table having the class "table table-datatable__root". This is even the case in the examples on the demo page. When I inspect the table from the example at https://imballinst.github.io/react-bs-datatable/?path=/story/getting-started--filter-sort-and-pagination, it does have that default class despite the fact that custom classes are being passed. It looks like this parameter is just being ignored.

hello @revengeofthepencil, thank you for reporting the problem! I'll check it out around this weekend and get back to you when I find the problem.

So apparently I forgot to remove the prop tableClass. To add a class to the table tag, now we use classes.table. For example: https://codesandbox.io/s/v210-alpha2-ghv0s.
In the meantime, I'll update the docs so it's not misleading: https://github.com/Imballinst/react-bs-datatable/pull/61.


Install Helm

Fixes: #509
Added new plan file options:
cluster...
features:
  package_manager:
    enabled: true
    provider: helm

Modified output:
Validating==========================================================================
Reading installation plan file "kismatic-cluster.yaml"                          [OK]
Validating installation plan file                                               [OK]
Validating SSH connectivity to nodes                                            [OK]

Configuring Certificates============================================================
Found valid key and certificate for node "etcd001"                              [OK]
Found valid key and certificate for node "master001"                            [OK]
Found valid key and certificate for node "worker001"                            [OK]
Found certificate for docker registry                                           [OK]
Found key and certificate for service accounts                                  [OK]
Found key and certificate for user "admin"                                      [OK]
Cluster certificates can be found in the "generated" directory                  [OK]

Installing Cluster==================================================================
...

Generating Kubeconfig File==========================================================
Generated kubeconfig file in the "generated" directory                          [OK]

Installing Helm on the Cluster======================================================
Backed up "/Users/dkoshkin/.helm" directory                                     [OK]
Installed Tiller (the helm server side component)                               [OK]

Running Smoke Test==================================================================
Smoke Test Master Node
- Running task:
  master001                                                                     [OK]
- Running task: copy Kuberang to node
  master001                                                                     [OK]
- Running task: run smoke test checks using Kuberang
  master001                                                                     [OK]
Smoke Test Master Node Finished

The cluster was installed successfully!

How to Use the Cluster==============================================================
- To use the generated kubeconfig file with kubectl:
    * use "kubectl --kubeconfig generated/kubeconfig"
    * or copy the config file "cp generated/kubeconfig ~/.kube/config"
- To view the Kubernetes dashboard: "./kismatic dashboard"
- To SSH into a cluster node: "./kismatic ssh etcd|master|worker|storage|$node.host"
- To dump diagnostics data: "./kismatic diagnose"

Will this work with RBAC enabled cluster? AFAIK you don't create a serviceaccount and rolebinding for tiller. Example

Good question @eicnix, I will take a look at that, thanks.

Need to investigate further https://github.com/kubernetes/charts/issues/1014

This LGTM


[CORE] Do not fallback eagerly with ColumnarToRowExec

What changes were proposed in this pull request?
It has no meaning to add ColumnarToRow eagerly if we will add it finally. So we ignore the ColumnarToRow to avoid fallback eagerly. It is useful if people set fallback threshold to 1.
For example: 1 is better than 2
1. We first run native operator then add ColumnarToRow
      ColumnarExchange
            |
  HashAggregateTransformer
            |
      ColumnarToRow

2. We first add ColumnarToRow then run vanilla Spark operator
     ColumnarExchange
            |
      ColumnarToRow
            |
      HashAggregate

How was this patch tested?
add test

cc @zhouyuan @PHILO-HE thank you

@ulysses-you looks good to me, I'm curious if this is found on your product env? Could you please share the performance benefit on this change?
thanks, -yuan

thank you @zhouyuan , yes, by default we set the fallabck threshold to 1. After this patch, the final stage will lazy fallback as the pr description said. So the benefits is obvious that we can apply more native operators before fallback.

@PHILO-HE If I understand it correct. You are talking about the the global optimum vs. partial optimum. Then we can do fallback with taking consecutive cross-stage into account. Currently, the policy of ExpandFallback is a kind of partial optimum which will fallback if match the threshold in one stage. If the next stage is offloaded, then it needs to add RowToColumnar by itself.
I think the main difference of global optimum vs. partial optimum is where do we add RowToColumnar. If we add it before shuffle exchange:

a negative case is, after shuffle exchange it may add a ColumnarToRow if fallback
a positive case is, after shuffle exchange all operators are offloaded so it improve the shuffle performance

It's more complex to reach global optimum, and the main issue are:

in columnar rules, we can only see the partial plan
AQE may re-plan the query plan which may break the assumption of previous stage

To be clear, this pr itself is based on the current ExpandFallback and aims to lazy add ColumnarToRow as far as possible. It should solve the case you point out when threshold is 1.

Hi @ulysses-you, thanks for your discussion!
Let me clarify a bit. what I meant is still to focus on the plan optimization for a single stage. For a given stage, there may have some transformable plans (GlutenPlan-A, GlutenPlan-B) at the beginning, then non-consecutive transformable plans (VanillaPlan-C, ...) (needs certain number of C2R/R2C, making fallback threshold satisfied). If last stage's output is columnar (gluten's columnar exchange is used), a new stage fallback policy will just keep GlutenPlan-A & GlutenPlan-B and then only fall back the following remaining plans for this stage. Thus, we can get consecutive cross-stage transformable plans (the exchange mentioned here is counted as last stage's plan, right?).
Just an immature idea for a new fallback policy, not completely matching the purpose of this PR.

To be clear, this pr itself is based on the current ExpandFallback and aims to lazy add ColumnarToRow as far as possible. It should solve the case you point out when threshold is 1.

Yes, I agree.

@PHILO-HE got it, I think the idea makes sense. I think this pr is a improvement to reach the goal, is there any comments ?

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3496_time.csv
log/native_master_10_26_2023_d3b91cda7_time.csv
difference
percentage

q1
33.88
36.45
2.577
107.61%

q2
24.75
25.07
0.318
101.28%

q3
40.04
40.23
0.183
100.46%

q4
35.89
36.93
1.038
102.89%

q5
71.68
71.27
-0.414
99.42%

q6
7.33
7.21
-0.127
98.27%

q7
87.77
87.36
-0.410
99.53%

q8
86.54
87.57
1.036
101.20%

q9
121.88
120.10
-1.772
98.55%

q10
54.93
51.67
-3.255
94.07%

q11
19.54
20.48
0.936
104.79%

q12
26.08
28.70
2.621
110.05%

q13
49.72
48.75
-0.964
98.06%

q14
19.18
20.14
0.957
104.99%

q15
34.95
33.99
-0.958
97.26%

q16
16.11
16.44
0.332
102.06%

q17
102.00
101.67
-0.329
99.68%

q18
149.70
148.54
-1.159
99.23%

q19
18.60
16.98
-1.613
91.32%

q20
31.43
31.88
0.445
101.42%

q21
223.86
223.59
-0.267
99.88%

q22
13.81
13.21
-0.595
95.69%

total
1269.65
1268.23
-1.420
99.89%

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_master_10_27_2023_time.csv
log/native_master_10_26_2023_d3b91cda7_time.csv
difference
percentage

q1
35.88
36.45
0.575
101.60%

q2
24.88
25.07
0.181
100.73%

q3
38.66
40.23
1.563
104.04%

q4
37.12
36.93
-0.188
99.49%

q5
71.54
71.27
-0.273
99.62%

q6
7.35
7.21
-0.142
98.07%

q7
88.15
87.36
-0.790
99.10%

q8
86.15
87.57
1.424
101.65%

q9
121.11
120.10
-1.004
99.17%

q10
53.29
51.67
-1.616
96.97%

q11
19.82
20.48
0.655
103.31%

q12
28.87
28.70
-0.169
99.41%

q13
50.92
48.75
-2.169
95.74%

q14
18.18
20.14
1.958
110.77%

q15
34.68
33.99
-0.692
98.01%

q16
16.03
16.44
0.407
102.54%

q17
101.42
101.67
0.253
100.25%

q18
148.30
148.54
0.240
100.16%

q19
17.81
16.98
-0.833
95.33%

q20
31.00
31.88
0.876
102.83%

q21
223.01
223.59
0.578
100.26%

q22
13.56
13.21
-0.341
97.48%

total
1267.73
1268.23
0.495
100.04%


Using parameters to update nested object

New Features
What is the new or updated feature that you are suggesting?
Why should this feature be included?
What docs changes are needed to explain this?

I have a type say,
emails: {
email1: {
email id<EMAIL_ADDRESS>email type:personal
}
email2: {
email id<EMAIL_ADDRESS>email type:work
}
email3: {
email<EMAIL_ADDRESS>email type:other
}
};
Email id needs to be updated for various emails(email1 or email 2 or email 3), based on different conditions, but the logic for update is same.
Eg:
function changeEmailId(email_no)
{
switch (email_no){
case email1:
...emails,
email1:{
...email1,
email<EMAIL_ADDRESS>}
case email2:
...emails,
email2:{
...email2,
email<EMAIL_ADDRESS>}
case email3:
...emails,
email3:{
...email3,
email<EMAIL_ADDRESS>}
}//end of switch
}//end of function
As you can see, the logic is exactly the same. My question is:
Can I use something like below instead, where the function parameter can be used in the spread operator?
changeEmailId(email_no)
{
...emails,
email_no:{
...email_no,
email<EMAIL_ADDRESS>}
}


Added badges: build status, coverage, license, pypi

@synchronizing I think it will be useful and revive the README a little. What do you think? :) That's how it looks like: https://github.com/aliev/aioauth/blob/feature/readme-badges/README.md

Codecov Report

Merging #23 (f941063) into master (0d790df) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #23   +/-   ##
=======================================
  Coverage   99.26%   99.26%
=======================================
  Files          15       15
  Lines         541      541
  Branches       55       55
=======================================
  Hits          537      537
  Misses          3        3
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d790df...f941063. Read the comment docs.

I like this! A few suggestions I've done in my own personal repos that I personally thinks adds some flavors:

Finding an emoji for the entire project is usually enough to give it color and make the README clean. Take this (my own project, but just as an example):

Something like 🔐 .

You can center the badges by using HTML. This is an example for the 'Toolbox' project above:

If we rename this to "Build" we will have a more clear output on the Github badge (like the example above).
https://github.com/aliev/aioauth/blob/0d790dffc020027057002724599f507ae8096274/.github/workflows/python-package.yml#L4

@synchronizing look great, I like it!

If we rename this to "Build" we will have a more clear output on the Github badge (like the example above).

very good point!

Side note: Planning on updating README.md on #21. Will leave it for last commit and you can check it out and give any feedback.

Codecov Report

Merging #23 (57db1db) into master (c74fe17) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #23   +/-   ##
=======================================
  Coverage   99.28%   99.28%
=======================================
  Files          15       15
  Lines         557      557
  Branches       56       56
=======================================
  Hits          553      553
  Misses          3        3
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c74fe17...57db1db. Read the comment docs.


1.11 crash during start

Hello, I've encountered this crash when I tried to use the 1.11 SV build. I hope it's somehow helpful.
I put the SV JAR in the directory that I previously ran SF from.
http://pastebin.com/VTUSRwQF

@Limeth: We haven't yet updated some of our RCON-related mixins. As a temporary fix, you can disable RCon.

This should be fixed in the latest SpongeVanilla (it might take a little bit for builds to appear).


fix: ensure the workspace_key_prefix is set

what

Without this setting, the terraform.tfstate file is written to the path "-ue2-tfstate-/env:/terraform.tfstate". This change ensures that the "env:" is replaced with "tfstate-backend".

why

The is consistent with the object path conventions for other modules

references

n/a

@jamengual this is the issue we discussed in slack. I believe this should be the proper prefix given the convention with other components?


Implementing Call.Factory

Have you considered creating a GoogleAppEngineOkHttpClient class which implements Call.Factory (like the example in the README)?  Then applications could simply inject (or otherwise provide) a single instance of OkHttpClient or GoogleAppEngineOkHttpClient as needed and it would be nice and consistent.  GoogleAppEngineCall could then be package-private.

Hi Pushbit,
I hadn't considered that, but its a good suggestion.
Thanks for your interest in the library.
Andy.


Chinese remainder theorem

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
Added the code for Chinese Remainder Theorem using C++
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#5937

@ankitaggarwal23, @bhav09  please review this PR.


Main branch does not compile with clang 13

pretty sure this is working now.  please close if true.


Don't upgrade database

Hello.
In my test, i crate a DB with 2 colums, _ID and TITULO. I fill it with 3 records. Now I am trying to update it with some new records, but the DB never updates. I have review the by Android Device Monitor and the DB is the version 1, not the 2. This is my code after change the DATABASE_VERSION from 1 to 2. The file that I put in the asset is: "nueva1.db.zip" the update file is: "nueva1.db.zip_upgrade_1-2.sql"
What is the issue???
public class DBHelper extends SQLiteAssetHelper {
private static final String DATABASE_NAME = "nueva1.db";
private static final int DATABASE_VERSION = 2;

private static final String TABLE_NAME = "nueva";
private static final String _ID = "_ID";
private static final String TITULO = "TITULO";

private Context mContex;

public DBHelper(Context context) {
    super(context, DATABASE_NAME, null, DATABASE_VERSION);
    mContex = context;
    setForcedUpgrade();
}

public String getAllData() {
    SQLiteDatabase db = getReadableDatabase();

    String[] columns = {DBHelper._ID,DBHelper.TITULO};
    Cursor cursor = db.query(DBHelper.TABLE_NAME, columns, null, null, null, null, null);
    StringBuffer buffer = new StringBuffer();

    if(cursor.moveToFirst()) {
        do {
            int i1 = cursor.getColumnIndex(DBHelper._ID);
            int i2 = cursor.getColumnIndex(DBHelper.TITULO);
            int Cid = cursor.getInt(i1);
            String Ct1 = cursor.getString(i2);
            buffer.append(Cid+" "+Ct1+"\n");
        } while (cursor.moveToNext());
        cursor.close();
    }
    return buffer.toString();
}

}

Try changing the DATABASE_VERSION by 1 in the class each time you make a change and use setForceUpgrade() on the SqliteAssetHelper and try again.

Hello. I have tried several times and never update the database when I make any change in the structure as add a new field. But... if I update records or add a new table to the database, let me update the database just with replacing the name.db.zip file in my assets folder and incrementing the DATABASE_VERSION by 1, in this cases, I can see the upgrade correct.
What is the reason that don't take the changes adding a new column? reviewing your example, I just export to the SQL extension the table that I changed, but I don't see the correct result. Due my code, could you inform me what I am doing wrong please?

Hmm, that's strange.

Did you change the DATABASE_VERSION in your non-asset SQLiteOpenHelper before regenerating the database?
Did you generate the database file in Android or externally? If externally, try making it in Android.
Did you use the setForcedUpgrade() method?

Did you manage to solve it?

use this:
public DBHelper(Context context) {
    super(context, DATABASE_NAME, null, DATABASE_VERSION);
    mContex = context;

     // delete old database when upgrading
    **setForcedUpgrade(DATABASE_VERSION);**
}

and change user_version db property to actual version


Adjudicate substantive changes to the powerbi baseline markdown following the new format

🗣 Description
Changed formatting and content of PowerBI baseline to match new formatting structure

💭 Motivation and context
Consolidated format and clearer to read and understand layout

🧪 Testing
N/A

✅ Pre-approval checklist

[ ] This PR has an informative and human-readable title.
[ ] Changes are limited to a single goal - eschew scope creep!
[ ] These code changes follow cisagov code standards.
[ ] All new and existing tests pass.

✅ Pre-merge checklist

✅ Post-merge checklist

some comments:

Update text following each policy group to the  match the guide below:

This section helps reduce security risks related to [Policy Group]. This includes [Scope of policies ] (This sentence is as needed).
Example: "This section helps reduce security risks related to the sharing of files with users external to the agency. This includes guest users, users who use a verification code and users who access an Anyone link."

remove links to admin centers and re-add them as a generic step. This was recently voted on as the current way forward by by the team.

I have removed a total of 3 policies from the Power BI baseline. I most recently removed the logging related policy because it is inconsistent across the new "fabric" and current Power BI, it also requires and Azure subscription. #315 were the other 2 policies that I removed.

This comment is tied to the text after each policy group. See policy group 1 below:

"1. Publish to Web
Power BI has a capability to publish reports and content to the web. This capability creates a publicly accessible web URL that does not require authentication or status as an AAD user to view it. While this may be needed for a specific use case or collaboration scenario, it is a best practice to keep this setting off by default to prevent unintended and potentially sensitive data exposure.
If it is deemed necessary to make an exception and enable the feature, admins should limit the ability to publish to the web to only specific security groups, instead of allowing the entire agency to publish data to the web."
This would be updated to the following:
"1. Publish to Web
This section helps reduce security risks related to Power Bi's capability to publish to the web. "
This was a note by Ted since a lot of the text will be covered by the rationale and is inconsistent across baselines.

good point, will add as a parking lot item for tomorrow. Probably lost in the many conversations / reviews over the past months and open to whatever works best.

@amart241 @buidav - seems there are conflicts for this branch to merge into emerald, can you please update/rebase and resolve conflicts.


Add Hostname Column to *tickets_potentially_risky_services_YYYYMMDD.csv

💡 Summary
Please add the Hostname column to the cybex_open_tickets_potentially_risky_services_YYYYMMDD.csv and cybex_closed_tickets_potentially_risky_services_YYYYMMDD.csv that accompany the Cybex send.
Motivation and context
In support of BOD 23-02, the Cyber Directives team will need to see the hostname, when identified, for the IPs where the potentially risky services are flagged.
Implementation notes
The following should be updated:
cybex_open_tickets_potentially_risky_services_YYYYMMDD.csv

Column within csv: Hostname

cybex_closed_tickets_potentially_risky_services_YYYYMMDD.csv

Column within csv: Hostname

Acceptance criteria

[x] Both csv files updated with the Hostname column

Completed via https://github.com/cisagov/ncats-webd/pull/34.


fix(connector): [Bluesnap] add cardholder info in bluesnap payment request

Type of Change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description
Bluesnap requires card holder information for Apple Pay payment method.
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?
Applepay can't be tested in local machine, Will test in sandbox & integration env.
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Didn't we test apple_pay bluesnap before in sandbox? how is this missed?

Didn't we test apple_pay bluesnap before in sandbox? how is this missed?

This won't fail the payment. This was raised by the connector.


Added 1st pass of an LAPACK function

Please review to see whether the approach is acceptable for the interfaces to access LAPACK. Most of the time we can make a much simpler (than the LAPACK) interface, and still keep the full interface available if reqd.

Build triggered. sha1 is merged.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/270/Build result: ABORTED[...truncated 2795 lines...]	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:401)Caused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/e9b18cc193bfb26740f81d5174205dc2d9027dc3	at sun.reflect.GeneratedConstructorAccessor293.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885)	at java.security.AccessController.doPrivileged(Native Method)	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)	at org.kohsuke.github.Requester.parse(Requester.java:524)	at org.kohsuke.github.Requester._to(Requester.java:251)	... 12 moreCaused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/e9b18cc193bfb26740f81d5174205dc2d9027dc3	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)	at org.kohsuke.github.Requester.parse(Requester.java:514)	... 13 more

Build finished. 1 tests run, 1 skipped, 0 failed.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/288/Build result: ABORTED[...truncated 2788 lines...]	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:401)Caused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/690e1290cd0148d0211418b4a94dd1e3090ecb0b	at sun.reflect.GeneratedConstructorAccessor293.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885)	at java.security.AccessController.doPrivileged(Native Method)	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)	at org.kohsuke.github.Requester.parse(Requester.java:524)	at org.kohsuke.github.Requester._to(Requester.java:251)	... 12 moreCaused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/690e1290cd0148d0211418b4a94dd1e3090ecb0b	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)	at org.kohsuke.github.Requester.parse(Requester.java:514)	... 13 more

Build finished. 1 tests run, 1 skipped, 0 failed.

Build triggered. sha1 is merged.

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/292/Build result: ABORTED[...truncated 2738 lines...]	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:401)Caused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/e09c59c35869ba427d62767920cba33aafe51ff7	at sun.reflect.GeneratedConstructorAccessor293.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885)	at java.security.AccessController.doPrivileged(Native Method)	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)	at org.kohsuke.github.Requester.parse(Requester.java:524)	at org.kohsuke.github.Requester._to(Requester.java:251)	... 12 moreCaused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/e09c59c35869ba427d62767920cba33aafe51ff7	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)	at org.kohsuke.github.Requester.parse(Requester.java:514)	... 13 more

Build finished. 1 tests run, 1 skipped, 0 failed.


⚠ RPC server - Conflux has degraded performance

In 89e6206, RPC server - Conflux ($CONFLUX_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Conflux performance has improved in b74b9b0 after 7 minutes.


Fix gradle problems

Simple fixes, updated various plugins and adjusted them accordingly to how some names were changed.

Fixed by Crtl's pull but thanks regardless


How about removing the 'full control access' restriction in archwsl.json

I have only tested it on win10 ltsc and it works without the full control access. For more details you can see https://github.com/yuk7/ArchWSL/issues/271#issue-1134979879

Can you make a PR for the fix?


Fix package.json path in release script

Currently the script reads the version from installed commons rather than the calling package's package.json.

So most likely an issue with this line.

I've mentioned that a solution could be:

Maybe let the project pass it as an argument? And expose a function to parse the version given path to package.json?

but maybe there's a better way.

The fix worked 🎉 Thanks


post_logout_redirect_uri is missing from the configuration.

Issue and Steps to Reproduce

Versions
<EMAIL_ADDRESS>Screenshots

vs

Expected
in v3 I could specify to redirect from the authentication provider back to my home page "/" after the user logs out.
Actual
in v4 and v5, the options to insert the post_logout_redirect_uri is missing. I was wondering if there's still possibility for adding this configuration, as it's important for our stakeholders.
Additional Details

Installed packages:

Never mind, I went browsing through issues a bit more, and noticed the PR for AuthJS for implementing the logout. I will be waiting for updates then. Thank you!

I'am waiting for any news from them => https://github.com/openid/AppAuth-JS/issues/209

I close the issue, it is done and followed by #775
Thank yoi for the issue and feel free to reopen it if needed.

I monitored the solution closely, @guillaume-chervet! Thank you so much for your help!


Using a reverse proxy with valet

Hi,
I made an issue over on the valet github repo as there's a strong cross over between the issues I'm having.
I've just recently started to run Valet for my development and I would like to upgrade my app to use this websocket package.
The docs for the websocket server seem to allow a few things

Valet usage with SSL certificates
Reverse proxy access using nginx.

My previous development was on windows with Homestead, and I was using a reverse proxy on nginx to forward all my websocket connections through nginx to the echo webserver. This was brilliant and clean and was working flawlessly for me. It also allowed the code to match between my development and production servers.
I'm currently completely halted in my development with valet because I can't seem to recreate this. Is there anyway to allow Reverse Proxy access using Valet - which would be a mix of the above 2 options?
Thanks if you can point me in the right direction.

I think the issue over at valet will be of more help than here :)
This is very Valet specific and this package is not going to be able to do much (apart from maybe documenting the solution) to make it any easier/possible.
I personally made the websockets server url for my app configurable using a value in the .env. This made all options I would want to change locally configurable through the .env. Also added a -local broadcast driver to disable the SSL verification. (also allowed myself to disable websockets locally since i'm not always running websockets:serve)


Accept reva token as a bearer authentication

@gmgigi96 @labkode @glpatcern
Let me please throw in my 2 cents.
I see some security aspects in this PR. Reva access tokens are very powerful. Most of them are not scoped and could allow access to any resource and all file operations.
IMHO it is not a good practise to use reva access tokens outside of reva and on the client side. Clients should only use short-living OIDC tokens. This is how we do that in the ocis middlewares.

IMHO it is not a good practise to use reva access tokens outside of reva and on the client side. Clients should only use short-living OIDC tokens. This is how we do that in the ocis middlewares.

Let me explain that a bit better:
As long as you use the reva-CLI or another CERN internal client, this not an issue.
BUT: We are currently sending Reva Tokens via the cs3org Wopi server to the Microsoft Office365 Server. Now the office 365 Server has a valid working reva jwt token. That means it can have access to all the files of a specific user as long as the application has direct access to the reva gateway. (which is not the case when it is not directly exposed)
Enabling that access also via HTTP is like opening the gates.

@labkode It seems that we have a little disconnect how to handle authentication in reva.
Maybe let us move that discussion to direct communication.

Hi @micbar,
The issue today is that we give full scope when passing the token for another purposes (like WOPI or OCM), this obviously needs to be fixed, what @gmgigi96 said.
Today the token we use is the one we get from our IDP, and that is a general token for every service, which has a few issues for us today: they are very short lived and web does not handle them like it should (https://github.com/owncloud/web/issues/7729), giving the user a very bad UX.
We also force users to use 2FA, so asking them to login more than once in a day is painful.
Today, for every request that arrives to Reva, we issue a query to verify the token against our IDP.
We have not invested yet on downloading the JWK keys and verify them locally, if you have done so, what is your experience?
To provide the best usability to the users (like Google and co do), we'll use longer tokens, up to a full working week.
We're adding a mechanism to actually invalidate a user in case the token is compromised, is like a blacklist that will last as far as the maximum token duration (1 week). So by design the blacklist will be short and not live more than the nominal token duration.
This direction also align us with the support for application passwords that will be needed by the sync client, we won't be asking the user to login in the sync client every now and then, the token set on the client must be permanent (this is also the direction that other companies are doing to use 3rd party applications).
I hope this clarifies a bit the intention here.


Expose device_information

We'd like to be able to tell users not to use a software renderer, and to provide more information in the case of failures.
Fixes: kvark/blade#142
I have not yet implemented this on metal, but can do so if this approach seems sound to you.

@kvark :+1: can make that change.
I had a few people on the linux channel suggest it would be useful to return the driver info too to help people debug what's happening. Is that information obtainable a different way, or should I keep returning that?

@kvark updated to just return a bool. Kept all three strings, but can simplify if you'd prefer

@kvark I'm keen to ship a new build to zed preview on Wednesday. I can pull this in, but is #144 something you feel comfortable with too?

@ConradIrwin I don't want to merge #144 until we confirm that it helps people.


gesture keboard

thnx brooo am successfully done with this project ....but for me baudrate is 9600.....an nice code broo......i

You're welcome :)

What is the problem? I can't understand your question

On Mon, Apr 9, 2018, 10:52 PM Hari krishna reddy chintagunta <
<EMAIL_ADDRESS>wrote:

Y did i get message like closed #13 this my qs  Mr.federico bro
On Fri, Apr 6, 2018, 11:55 AM Federico Terzi<EMAIL_ADDRESS>wrote:

What is the problem? I can't understand your question
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/federico-terzi/gesture-keyboard/issues/13#issuecomment-379160300,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Acy5Iv1orYZXvWgiGdIsR-Z_jl6nCCv7ks5tlwo7gaJpZM4S6Lmb
.

It means that the question has been answered.


Uncaught TypeError: el.getAttribute is not a function

Steps to reproduce:

Create a dock pane
Select some element on the pane
Drag the selected element

Atom: 1.17.0-beta2 x64
Electron: 1.3.14
OS: elementary OS
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: el.getAttribute is not a function
At /usr/share/atom-beta/resources/app/src/workspace-element.js:283

TypeError: el.getAttribute is not a function
  at isTab (/usr/share/atom-beta/resources/app/src/workspace-element.js:283:12)
  at atom-workspace.handleDragStart (/usr/share/atom-beta/resources/app/src/workspace-element.js:141:10)

Commands
     -1:13.2.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)

Non-Core Packages
activate-power-mode 1.4.0
active-editor-info 0.0.0
atom-beautify 0.29.22
atom-fuzzy-grep 0.16.0
atom-jasmine 0.8.1
atom-ternjs 0.18.2
atom-typescript 11.0.1
autocomplete-modules 1.6.9
autocomplete-paths 1.0.5
clipboard-plus 0.5.1
compare-files 0.8.0
cson 2.0.1
cucumber 0.6.0
docblockr 0.9.4
docker 0.7.0
docs-snippets 0.8.0
editorconfig 2.2.2
escape-utils 0.5.3
file-icons 2.1.3
from-and-to-json 1.0.0
git-blame 1.0.1
git-plus 7.5.0
git-split-diff-hyperclick 0.3.12
git-time-machine 1.5.9
highlight-selected 0.13.1
hyperclick 0.0.40
js-hyperclick 1.10.1
language-babel 2.57.3
language-docker 1.1.7
language-ini 1.19.0
language-thrift 1.0.2
linter 2.1.4
linter-csslint 1.3.4
linter-docker 0.2.0
linter-eslint 8.1.6
linter-flow 5.5.1
linter-jsonlint 1.3.0
linter-tslint 1.0.0
merge-conflicts 1.4.4
minimap 4.27.1
minimap-find-and-replace 4.5.2
minimap-git-diff 4.3.1
minimap-highlight-selected 4.6.1
nuclide 0.217.0
pdf-view 0.57.0
pigments 0.39.1
project-manager 3.3.4
script 3.14.1
set-syntax 0.3.2
sort-lines 0.14.0
split-diff 1.3.0
sync-settings 0.8.1
tester 0.4.6
tester-jest 0.4.0
tester-mocha 0.3.0
vim-mode-clipboard-plus 0.2.0
vim-mode-plus 0.89.0
vim-mode-plus-ex-mode 0.9.0

Hi team, I've been able to reproduce this on a fresh install, with no plugins other than core.
Steps to reproduce for me:

Open atom (First launch after install, with 0 packages installed)
Click on "Hack on the init script" on landing page
Error now appears (I think it was as the accordion dropped down. although may have been when I clicked "Open your init Script" button)

It doesn't seem like I can consistently replicate this but hopefully this gets you a little closer to understanding the issue.
Atom version: 1.17.0-beta3

I was able to reproduce using the steps @TomYeoman posted. It happens when you drag text in the welcome guide, see gif:

Good spot @Ben3eeE must have highlighted something when messing around on the page. I'd like to start contributing to the atom project is this something I could look @ myself or what's the process?

@TomYeoman We will definitely accept a well written PR for this. A well written PR for a regression would provide information on why it stopped working and an explanation of the changes you have made to solve the problem. Regressions might not be the best choice for a first contribution since they can be prioritized for an upcoming hotfix release.
In the contributing guide you can find information on contributing to Atom and how to find issues where we want help from the community and will accept PRs.
If you have any more questions please feel free to contact me on Slack.

For most questions about Atom there are a lot of options, check out:

The Atom Flight Manual
The Atom FAQ on Discuss
Discuss, the official Atom and Electron message board
Join the Atom Slack team

On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction.

Dragged by tab up and down and received this error:
[Enter steps to reproduce:]

...
...

Atom: 1.17.0 ia32
Electron: 1.3.15
OS: Microsoft Windows 7 Professional
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: el.getAttribute is not a function
At C:\Users\Vlad\AppData\Local\atom\app-1.17.0\resources\app\src\workspace-element.js:283

TypeError: el.getAttribute is not a function
    at isTab (~/AppData/Local/atom/app-1.17.0/resources/app/src/workspace-element.js:283:12)
    at atom-workspace.handleDragStart (~/AppData/Local/atom/app-1.17.0/resources/app/src/workspace-element.js:141:10)

Commands
     -1:05.2.0 tabs:close-all-tabs (div.title)

Non-Core Packages


cargo build failing

from fastsheet/ext/fastsheet
carthage fastsheet cargo build --verbose
       Fresh cc v1.0.0
       Fresh libc v0.2.32
       Fresh rustc-demangle v0.1.5
       Fresh cfg-if v0.1.2
       Fresh podio v0.1.5
       Fresh byteorder v1.1.0
       Fresh log v0.3.8
       Fresh time v0.1.38
       Fresh memchr v1.0.1
       Fresh backtrace v0.3.3
       Fresh encoding_rs v0.7.1
       Fresh encoding_rs v0.6.11
       Fresh msdos_time v0.1.5
       Fresh error-chain v0.10.0
       Fresh miniz-sys v0.1.10
       Fresh quick-xml v0.9.4
       Fresh flate2 v0.2.20
       Fresh zip v0.2.6
       Fresh calamine v0.11.8
   Compiling fastsheet v0.1.0 (file:///Users/kshah/Projects/fastsheet/ext/fastsheet)
     Running `rustc --crate-name fastsheet src/lib.rs --crate-type cdylib --emit=dep-info,link -C debuginfo=2 -C metadata=18b2c63d0c7ca4ac --out-dir /Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps -C incremental=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/incremental -L dependency=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps --extern libc=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/liblibc-c61a85ada6fff360.rlib --extern calamine=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libcalamine-63f324057d3415ac.rlib -L /Users/kshah/.rbenv/versions/2.4.4/lib -l dylib=ruby -L native=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/build/miniz-sys-77bf16acbe89aeb1/out`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.138pesuvab4dy035.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.15kq92zzbmxot4k9.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.165baco9su64i857.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.16u6js6g0l3k1ic6.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1ckp3bwk0jmrbky4.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1im38lueib99jsk0.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1jnlhyxj59jycbjv.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1kduva7sc7em934m.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1mvmz58owquyropc.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1q8ffos2d96smbjs.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1vh38o7wxh11wkn0.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1y16o1qfye96o7m0.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1zeawhkbeobww1zn.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.1zwd8n7bcl3vhvvh.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.2f0hry2t7c05ttdi.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.2fken9eeju7oloq5.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.2jqywn86b2gsqohu.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.2k46uffec3qe5kzm.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.2lyh15q6cjwzy18c.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.3171x0bwu82dptu7.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.3ayaeypdcro9d6yk.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.3cx7oljifvb206q7.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.3g94tobrpgum5dk6.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.3ik0x0hz6l66cx38.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.3oow75egt3w2yamp.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.43v6g0y2xsxoggnt.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.44bsbddupzfao2om.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.45nf4z58qqykpcpi.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.45pc7c65foh9i35f.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.48721dc4k5qxei0u.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.49a7n47po4ttqjl7.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.49lx1q7cxvpykyv0.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.4a6dgwgsyclvnmy1.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.4ezmh1vbs95c5ack.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.4xq48u46a1pwiqn7.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.4yh8x2b62dcih00t.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.4ypvbwho0bu5tnww.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.51eljgz8aqn910w7.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.5607purn0g2vuinv.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.57k06xfugllsc526.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.59tekexjfguannst.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.5gf6du7k58s78kob.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.8xzrsc1ux72v29j.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.98g0d9x8aw3akpe.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.9elsx31vb4it187.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.c6lbtaiefvx3wya.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.e19kx9t7xhzajfl.rcgu.o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.pqmjx25qpxkduz7.rcgu.o" "-o" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libfastsheet.dylib" "-Wl,-exported_symbols_list,/var/folders/y4/gdhydhl91kj45g0b62tq_01c0000gn/T/rustc.7xcEL7ueLcaA/list" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/fastsheet.crate.allocator.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps" "-L" "/Users/kshah/.rbenv/versions/2.4.4/lib" "-L" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/build/miniz-sys-77bf16acbe89aeb1/out" "-L" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib" "-l" "ruby" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libcalamine-63f324057d3415ac.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/liblog-a043e0c4ba9a8419.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libbyteorder-d57dd9171a553da1.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libencoding_rs-d16f043b7752075d.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libquick_xml-5c7e42682916074e.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libmemchr-e258494fb8fbeae4.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/liberror_chain-3132341efd3cfef0.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libbacktrace-bfd89c026b60e6d4.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/librustc_demangle-e0e3e37d9a48a093.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libencoding_rs-fdf6496c7e624361.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libcfg_if-4b39e50f7b7262d9.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libzip-94fc28aa4a995754.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libpodio-28f18a52fb78f6ef.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libmsdos_time-32645c761a5f4e48.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libtime-1c3b1bbf639033c3.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libflate2-fc8a040ce16441b9.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libminiz_sys-abc0cf2bfd4b112f.rlib" "/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/liblibc-c61a85ada6fff360.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/libstd-9c9a33c348bd8e28.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-bfadc73c1c740faf.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/libunwind-f95059049928a72a.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-c5b02ba65d48e95e.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/liblibc-6f35de8054b3e3a6.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/liballoc-19f4fd82a48bf85f.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/libstd_unicode-62d20f204b8e46cd.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/libcore-c8eb739c41b5b8f1.rlib" "/usr/local/Cellar/rust/1.26.2/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-444a5e2b0462e72c.rlib" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m" "-dynamiclib" "-Wl,-dylib"
  = note: Undefined symbols for architecture x86_64:
            "_rb_float_new", referenced from:
                fastsheet::read::h4ffb3e1e6d149d4c in fastsheet.51eljgz8aqn910w7.rcgu.o
            "_rb_utf8_str_new_cstr", referenced from:
                fastsheet::read::h4ffb3e1e6d149d4c in fastsheet.51eljgz8aqn910w7.rcgu.o
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error

error: Could not compile `fastsheet`.

Caused by:
  process didn't exit successfully: `rustc --crate-name fastsheet src/lib.rs --crate-type cdylib --emit=dep-info,link -C debuginfo=2 -C metadata=18b2c63d0c7ca4ac --out-dir /Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps -C incremental=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/incremental -L dependency=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps --extern libc=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/liblibc-c61a85ada6fff360.rlib --extern calamine=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/deps/libcalamine-63f324057d3415ac.rlib -L /Users/kshah/.rbenv/versions/2.4.4/lib -l dylib=ruby -L native=/Users/kshah/Projects/fastsheet/ext/fastsheet/target/debug/build/miniz-sys-77bf16acbe89aeb1/out` (exit code: 101)

carthage fastsheet ruby --version
ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-darwin16]
carthage fastsheet rustc --version
rustc 1.26.2
carthage fastsheet cargo --version
cargo 1.26.0

carthage fastsheet cc --version
Apple LLVM version 9.0.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

could it be my LLVM?
@dkkoval I know you are busy, but have a second for a thought here?
My intention here is to build this so I can add capability to iterate over spreadsheets using Ruby enumerable as I saw a TODO was looking for.
I have to get off of the other Ruby spreadsheet libs ASAP, they are bug ridden and have horrendous memory leaks.

also:
irb(main):004:0> RbConfig::CONFIG['libdir']
=> "/Users/kshah/.rbenv/versions/2.4.4/lib"
irb(main):005:0> RbConfig::CONFIG['LIBRUBY_A']
=> "libruby-static.a"
irb(main):006:0> RbConfig::CONFIG['RUBY_SO_NAME']
=> "ruby"
irb(main):007:0> RbConfig::CONFIG['RUBY_STATIC']
=> nil

after much Googling (prior to me filing) I read about people trying to install QT and having this type of issue.
The problem is rbenv does not by default pass the enable-shared flag here. Uninstalling and installing with:
CONFIGURE_OPTS=--enable-shared rbenv install 2.4.4
Allows the build to quickly pass


ES-2500: Fix Corda CLI installer and S3 download script task

After removing PF4J dependency from Corda CLI (https://github.com/corda/corda-runtime-os/pull/6169), few issues have been spotted:

task cliS3Download got broken and referring to outdated paths
unintentional changes in the cli install archive contents

See details in Jira: https://r3-cev.atlassian.net/browse/ES-2500
This PR:

fixes cliS3Download task and the way it is supposed to be used during the release publishing process
Brings back CLI installer behaviour from 5.2: zip archive includes only corda-cli.jar and two install scripts. Install script creates runnable script in the user environment as a part of the install process

However, it is arguable that the cliS3Download task, and the templateScript/corda-cli-downloader.sh artifact script produced by it, still have any user value. See https://github.com/corda/corda-runtime-os/pull/1990 as of Sep 8, 2022

Should the empty file tools/corda-cli/scripts/runScripts/corda-cli.sh be committed here?

It's not empty, the change is only doing chmod 755 on that file to make it executable (which it hasn't been).

Should the empty file tools/corda-cli/scripts/runScripts/corda-cli.sh be committed here?

@ronanbrowne It's not empty, the change is only doing chmod 755 on that file to make it executable (which it hasn't been). For some reason GH reports it as Empty file in the diff.

Ah thanks Anton, yep that's clean now


fix: Slack client Media type implementation missing required properties in message attachments

Describe the Bug
TypeScript type error in Slack client when handling message attachments. The error occurs because the attachments property in the Content interface expects an array of Media type objects, but the code was only providing a subset of the required properties.
Error message:
Type '{ text: string; }[]' is not assignable to type 'Media[]'.
Type '{ text: string; }' is missing the following properties from type 'Media': id, url, title, source, description

To Reproduce

Use the Slack client implementation.
Try to create a message content with attachments.
The code attempts to create an attachment with only the text property:

attachments: attachmentContent ? [{ text: attachmentContent }] : undefined

Expected Behavior
The code should properly implement the Media type interface by providing all required properties:

id (string)
url (string)
title (string)
source (string)
description (string)
text (string)

Solution
Update the attachment creation to include all required Media type properties:
attachments: attachmentContent
    ? [{
        id: stringToUuid(`${event.ts}-attachment`),
        url: '',  // Since this is text content, no URL is needed
        title: 'Text Attachment',
        source: 'slack',
        description: 'Text content from Slack message',
        text: attachmentContent
    }]
    : undefined,

Additional Context
This issue affects the Slack client's message handling functionality in the packages/client-slack/src/messages.ts file. The fix ensures type safety while maintaining the intended functionality of handling text attachments from Slack messages.

Hi @SumeetChougule, I’m not entirely sure how to reproduce the issue. Could you please provide more details about how you were able to reproduce it? I just tried asking the bot to generate the image, and the attachment in the content seems to be correct on my end.


Support eager port binding in ServerBuilder

I am exploring an implementation of gRPC Python server on top of the C++ Server API. Most things work right out of the gate, but there is a difference between the C++ and Python APIs in when they actually bind to a port (and return the bound port number or fail): Python immediately binds on grpc.Server.add_[in]secure_port whereas C++ ServerBuilder only actually binds on BuildAndStart(), which makes it hard to construct the server. (In general, AddListeningPort API is a bit non-intuitive in C++ as the pointer you pass to it is not populated right after the call, but only after BuildAndStart() is invoked.)
Something like the following would help with the supported functionality, but may require moving things around in the way we construct grpc::Server:
int ServerBuilder::BindToEndpoint(const std::string& addr_uri, std::shared_ptr<ServerCredentials> creds)

(Interestingly, the desired behavior from Python perspective matches the grpc::Server internals well, and I considered inheriting a PyServer class from grpc::Server and instantiating it via its protected constructor, but realized it is clearly marked as "PRIVATE API and will become private pretty soon".)
[cl/210822191 is a temporary workaround]

friendly ping

less friendly ping

Reopening as this is still a relevant issue with no good solution.

We acknowledge this to be a valid feature request but since no one has come forward to implement this, we are going to close it for now while maintaining the label/Help wanted to indicate that this can be picked up as future work


Next release?

Version 0.9.0 was released over a year ago and (at least) the atsamd-rs community currently uses a specific commit of a specific branch of some fork of svd2rust, because this version depends on commit #4d384c5e3f168d4175b276a782a6762ffcd2a8dc of svd-parser, because it is not released. I think this is unfortunate.
Is there anything blocking a new release of svd-parser?

Probably just a lack of requests for a new release. We can certainly spin one, probably after reviewing and merging #128.

We should decide what to do with big amount of SVD files that are failed to be parsed due to new checks in svd-parser.
Disable checks? Fix test samples?
https://github.com/rust-embedded/svd2rust/pull/447

Maybe these additional checks could be optional? So users of svd2rust can opt out or opt in to them.

I think we are ready for new release.


[6.0][Package] Underscore "internal" products

Cherry-pick https://github.com/swiftlang/swift-syntax/pull/2703 into release/6.0

Explanation: SwiftCompilerPluginMessageHandling and SwiftLibraryPluginProvider modules are only meant to be used by internal components. Underscore the naming of the products for these modules to prevent other users try to use them accidentally. Also, stop generating documents for these products by skipping the underscored product names in swift-syntax-dev-utils verify-source-code
Scope: SwiftPM package description
Risk: Low. These product names in the SwiftPM package are not used to build toolchains.
Testing: Passes current test suite
Issue: N/A
Reviewer: Ben Barham (@bnbarham) Alex Hoppen (@ahoppen)

@swift-ci Please test

@swift-ci Please test


chore: remove mentions of open-source FingeprintJS INTER-123

@TheUnderScorer it seems the pipeline failures are unrelated to my changes (maybe node version?) Can you take a look please?


Haproxy process and termination and thread count metrics

Provides metrics for the duration of HAProxy process shutdowns and active thread counts

LGTM


[openssl] bump to 1.0.2r

Here we are again =)

Hi @the-j0k3r, thanks for your PR. Here are the test results from current CI system:

x64-windows
master
test
notes

openssl-windows
Pass
Fail
Regression

x64-windows-static
master
test
notes

openssl-windows
Pass
Fail
Regression

x64-osx
master
test
notes

openssl-unix
Pass
Fail
Regression

arm64-windows
master
test
notes

openssl-windows
Pass
Fail
Regression

x86-windows
master
test
notes

openssl-windows
Pass
Fail
Regression

x64-linux
master
test
notes

openssl-unix
Pass
Fail
Regression

x64-uwp had no regressions
arm-uwp had no regressions
It seems that it failed on all triplets except for uwp.

@NancyLi1013 thank you for that information. I wont be able to fix the tests though =)

You haven't changed these lines: https://github.com/Microsoft/vcpkg/blob/aa886d0498a8700157d9029fdc77ae0c9f855a81/ports/openssl-unix/portfile.cmake#L6
and
https://github.com/Microsoft/vcpkg/blob/aa886d0498a8700157d9029fdc77ae0c9f855a81/ports/openssl-windows/portfile.cmake#L6

Thanks @Bo98, updated and pushed.

Current stable version of the 1.0.2 series is openssl-1.0.2s released 2019-May-28 according to the openssl website. So this pull request should be updated.
However, it is strongly recommended that because the 1.0.2 series has less than six months left on it's long term support status, that 1.1.1 is adopted instead due to it's long term support status ending 2023-09-11. Please see the openssl release policies for more information.
The change to openssl will also affect a large number of ports. libpq for instance (which is well overdue for a bump anyway,) is one example.

I suggest updating to 1.0.2s as soon as possible, considering 1.0.2r is a security update and that version bump really shouldn't be causing issues (I don't know what's up with the CI since we're not allowed to check its logs). After that, we should focus on migrating to 1.1.1 which may need a little more time to make sure nothing breaks. API wise, I'm not sure what vcpkg's policy is on updating libraries with API changes, but it would need to be done regardless before the year's out.

Current stable version of the 1.0.2 series is openssl-1.0.2s released 2019-May-28 according to the openssl website. So this pull request should be updated.

I can update this PR to reflect that instead, though getting this up to snuff to get merged is another matter.

da heck? OK closing and re-opening seems rebase got nuked by the sheer ammount of commits that came after this.


Update README.md

added virusshare to list of sources

Wanting to contribute to this repo to help people find all the data.

Could you take a look at the conflict? I guess it's due to some reordering that has taken place


Question. Editing the configuration when initializing MyApp.

Please tell me how to properly initialize and change the configuration (swipePanel: 'left')?
How to activate swipePanel?
Example from the documentation:
// Init Vue App
new Vue({
// App Root Element
el: '#app',
// Init Framework7. All Framework7 parameters should be passed in "framework7" property, e.g.:
framework7: {
// App Root Element, should be the same as the component root "el"
root: '#app',
// Array with app routes
routes: [...]
// Any other parameters, e.g.
animateNavBackIcon: true,
swipePanel: 'left'
},
// App root data
data: {
// ....
},
// App root methods
methods: {
// ....
}
})
Example from the documentation:
var myApp = new Framework7({
pushState: true,
swipePanel: 'left',
// ... other parameters
});

@drunkod - As App Framework does the initialization, its a new feature to realize. I will take a look on it after vacation next week. Dennis


Update the document on TF1.14 release with ROCm2.6

Update the doc on TF1.14 release with ROCm2.6.

@sunway513 LGTM. Please go ahead and merge it. I’m AFK and can’t merge on a mobile phone.


Torch.jit.script not working with this model

I have tried to convert this model to TorchScript using torch.jit.script. However, I am getting this issue:
RuntimeError:
Expected integer literal for index:
  File "/home/david/Documents/pry/models/archs/hrnet.py", line 228

        for i in range(self.num_branches):
            x[i] = self.branches[i](x[i])
                   ~~~~~~~~~~~~~~~ <--- HERE

        x_fuse = []

@WaterKnight1998 Did you manage to solve it?

same problem


⚠ Blutopia has degraded performance

In 914bef3, Blutopia ($BLU) experienced degraded performance:

HTTP code: 200
Response time: 1616 ms

Resolved: Blutopia performance has improved in 84b9ca1 after 6 minutes.


Move the Domain Admin Guide

Source: NMaaS Domain Admin Guide

@llopat, please add a Warning section as the one shown in the picture below on https://wiki.geant.org/display/NMAAS/NMaaS+Domain+Admin+Guide. It seems that I do not have the necessary permissions to edit this page.

(The above notice is posted on https://wiki.geant.org/display/NMAAS/NMaaS+Application+Manager+Guide).
The new URL for the Domain Admin Guide is: https://docs.nmaas.eu/guides/domain-admin-guide/

@llopat, please add a Warning section as the one shown in the picture below on https://wiki.geant.org/display/NMAAS/NMaaS+Domain+Admin+Guide. It seems that I do not have the necessary permissions to edit this page.

(The above notice is posted on https://wiki.geant.org/display/NMAAS/NMaaS+Application+Manager+Guide).
The new URL for the Domain Admin Guide is: https://docs.nmaas.eu/guides/domain-admin-guide/

Notice added to the old wiki page


how to add new config value for access after build in all my app about APP_BASE

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular Seed Version: aaaaf75

Node: node --version =

Please use the issue template. I'm not exactly sure what you're asking.

I use ng2-config in my project, in the angular-seed I see APP_BASE, config in NgModule. I want to config NgModule of my component with value comming in my ng2-config key.


Repository menu elements require 2 clicks on iOS

On iPad (or iPhone if one clicks "Show Menu") menu items take one click to "Select", i.e. change color like on mouse-over on normal computers, and only second click performs the action.
This is not intuitive (what to do when a clicks does nothing) and I haven't seen this anywhere else. Feels like a bug.
Tested on iOS 9 beta 4.

Reopening...this causes serious trouble in my chrome. Some onclick actions are not working, had trouble logging in, had trouble in submission selecting data typ

Seems limited to the right vertical DSpace menu (items in Browse, My Account, General Information). All other repository web elements I tested are OK (main LINDAT menu, Advanced search + facets, top giththand red "Login", items)


Unify all generic parameters, even if some mismatch

Most of the description is in the second commit message below. This is a fix for bug #449.

Looking at it now.


Status Commands

Problem
I am trying to read status from a Usb connected esc/pos printer, and it always returns array('B',[0]) or behaves awkwardly (blocks until physical usb disconnect) with timeout expections of libusb1 if I try to send a third argument on device.write or device.read. I don't understand the "interface" parameter to the Usb construction, and its usage as a third argument on device.write, it makes no sense according to pyUsb docs, where it states it should be a timeout.
Steps to reproduce

Remove paper from printer.
Define the printer e = Usb(0x0XXX,0x0YYY)
msg=b'\x10\x04\x04'. DLE EOT 4- Paper Sensor, 8bits, 5 and 6th should  be 1 when paper end
e.device.write(e.ep_out, msg)
e.device.read(e.ep_out,1)

Device info
Printer: EPSON TM20-II
python-escpos version: 2.0.0

Thank you for the issue!
I am sorry, but I did not yet touch the USB-code, because I have no compatible device at hand. But you are right, as far as I read the spec of pyUSB, setting the interface is completely wrong at this point. (I would have to investigate further, but maybe this originated from improper migration from older libusb-versions)
Reading the status is something that I would like to have for every printer, but I fear I can't help you that much at the moment.
Just for clearity: "normal" printing with the library does work? (So that we can assume that writing to the device works correctly.)

I have been scavaging a bit but I did not yet understand where the problem lies. I know some esc-pos perl wrapper by other guy gives Status! He uses bulk reading and writting more explicity in his code. This PyUSB thing abstracts stuff. Anyway, If I try to write or read in a status error (e.g. remove paper) he will give libusb1.py 110 timeout error. Suposedly we should be able to read status even when the printer is offline! I guess all this middle things are hiding the connection. If I can do anything to help please say. I will still try to find a way around it.
Yes I can print text and images. This updated version (2.0.0) is really fast with images!  Thanks for your work.

 (However, the image printing is not my work ;-) )
I will keep an eye open and as soon as I get to it, I will read through the pyUSB-tutorial in detail.
Maybe I (or someone else) have the time to implement the status reading for the serial-printer. This way we can compare the behaviour and maybe get closer to a solution.

I think I am figuring something out. Check quick reference commands here: https://download.epson-biz.com/modules/pos/index.php?page=single_doc&cid=3723&dcat=27&pcat=3
Note: This is tested in Epson TM20-II
Reading status paper steps:

e = Usb(0x04b8,0x0e15)
e.device.write(e.out_ep, ''\x10\x04\x04", 5000) # 5 second timeout, in miilseconds, DLE EOT n=4 esc/pos command
e.device.read(e.in_ep, 256,5000)
e.close()

###Result interpreting:
The read will return either Array ('B', [114]) or Array ('B', 18])  if you do not have or have paper in the printer, respectively. Turning 114 and 18 into binary, this makes sense, as the 5th and 6th bits should be 1 when we are in paper end, and 0 when we are in paper present. However, nothing in the manual refers to the first or the forth bit being always 1. Eitherways, these bits never take part in status, so I guess it is working.
I also tried with DLE EOT 2 command with the paper door opened and I'm not sure if it is right. Results were 22 with door open and 18 with door closed: door bit (second) coming at 1 when it is open but sixth bit (error state) is zero. Maybe error state is something else (as by n=3 quick reference)
Note , you can only read that number once. To read status again, you must close and reopen the usb connection.

The rest of the bits are described in the epson ESC/POS manual on the DEL EOT page here.
But I don't see any reason why you'd have to make a new connection after a status check. If my printer supports status I'll see what networked mode does.
We will need to make some status functions. I promise I'm alive and still interested in working on this project!

Well when I am in status error, I can only make one correct status read per connection. Pretty wierd stuff. If I insist, usb.core.USBError 110 (timeout) will occur.

Maybe we can use this as an aid: https://github.com/fvdsn/py-xml-escpos/blob/master/xmlescpos/printer.py
(However, I would move the function for querying the status into Escpos)

@grs47 I think I've also seen the "one status query per connection" issue on a TM-T20II, where I've had to power cycle the printer to get it online again after DLE EOT. I'm using this PHP code to send commands via usblp (which holds the interface open and presents it as a file), so I think we can be quite certain that this is a printer quirk, and not python-escpos causing trouble.
In any case, if re-opening the USB connection works for you, then there might be hope for this on your printer.

@grs47 @patkan
Sorry guys for commenting on this after issue is closed but I can'r figure out how to use the paper_status command
could anyone please put a snip of the code that made a usb or network printer and call paper status ? or maybe put it in the examples  files anywhere is fine
Thanks in advance

Hi @grs47 and @anyone,
I would love to hear some clarification on the above response since I am also getting the same response and got no idea of decoding it to get an actual answer. Lets say i am receiving 114 when I have removed the paper roll from the printer, so the 8 bits binary would be 01110010. According to the guide below,

2nd bit needs to be 0 which symbolizes paper present, while 3rd bit needs to be 1 which detects the paper end. So in the above binary 2nd bit is 1 and 3rd bit is also 1, which means there is no adequate paper (if i am not wrong). But when we consider the 5th and the 6th bits,
5th bit = 0
6th bit = 1
So when we consider with the above table, 5th bit means paper is present when 0, while 6th bit means paper roll end when 1,  it doesn't make sense to me, since there is no paper present, so isn't the 5th bit needs to be 1? I am confused with this response. Or else am I reading this the wrong way?


Possible Bug: not handling question mark

It's possible I'm mistaken, but it seems there's a bug in the way word embeddings are being computed in own_image.py
       question = unicode(raw_input("Ask a question: "))
       X_q = get_questions_tensor_timeseries([question], nlp, timesteps)

If question = "what color is the cat?"
the word "cat?" will considered out of vocabulary (due to lack of space before question mark) and word embeddings will be an all zero vector.

spaCy, the library I used for the NLP part, takes care of the lack of space. Its tokenization takes care of questions marks, apostrophes, lowering the case etc.

Hmm. True. Then there's some else going on because I am seeing the last vector as all zero.

Closing for now.

The last all zeros corresponds to the question mark.

Got it. It feels like an odd representation of that symbol, but thanks.


[Airbrake] [Production] Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'blob').

Airbrake error: #0345
Airbrake project: datanator_frontend
Error type: InvalidStateError
Error message: Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'blob').
Where: <no information>
Occurred at: Jun 16, 2020 22:44:33 UTC
First seen at: Jun 16, 2020 22:44:33 UTC
Occurrences: 0 (0 since last deploy on Jun 16, 2020 16:12:45 UTC)
Severity: error
URL: https://datanator.info/gene/A0QQA1/
File<EMAIL_ADDRESS>Backtrace:
https://datanator.info/static/node_modules/@bruit/component/dist/esm-es5/bruit-core_4.entry.js:8481:in responseText
https://datanator.info/src/instrumentation/xhr.ts:41:in

This is an error in Bruit

Comment from Airbrake: Resolved error reoccurred.


[Structure] Add unity package and version.txt to repo

When a new version is released, the version.txt should be bumped and the unity package should be updated for easy import.

I've added the version.txt - Not bothering with the unity package as once it's on the Unity Asset Store, then this will be the better way of importing it.


Run backend tests in merge queue

Updates the backend_tests github workflow to run in merge queue

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.85%. Comparing base (4edacee) to head (04a29d5).
Report is 125 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #634      +/-   ##
==========================================
+ Coverage   81.38%   83.85%   +2.46%
==========================================
  Files         199      239      +40
  Lines        8354    10855    +2501
==========================================
+ Hits         6799     9102    +2303
- Misses       1555     1753     +198

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


Retina images are not handled properly

If you make a screenshot on a Retina computer (any modern Mac) and select a visible area of 200x200 px the screenshot file would be 400x400. Here is an example file:

Most of the browsers display such images as is - with the resolution of 400x400 (try to open this image in a new tab). So such images look twice as large from the original visible size. But it's possible to detect high density image, e.g. the screenshot above looks good because Github set 200px width, not 400px. But unlike Github, Astro when optimizing images doesn't take high density into account and doesn't reduce the value of the width attribute of the images. Is it possible to fix it?

At the time of writing this, you can achieve the true size of the image by using <img /> tag with width attribute.
<img src="/your-image-inside-public-dir.png" width="200" height="200" alt="test">

We can use Astro's <Image /> component to achieve the desired result.
However, to use <Image /> component, we need to integrate mdx.


feat: calc pool methods and test stubs

Closes: #3033
What is the purpose of the change
Adds bare minimum hard coded logic for CalcOutAmtGivenIn and CalcInAmtGivenOut
Brief Changelog
(for example:)

The metadata is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
Daemons retrieve the RPC data from the blob cache

Testing and Verifying
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added unit test that validates ...
Added integration tests for end-to-end deployment with ...
Extended integration test for ...
Manually verified the change by ...

Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (yes / no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (yes / no)
How is the feature or change documented? (not applicable   /   specification (x/<module>/spec/)  /  Osmosis docs repo   /   not documented)

@p0mvn @mattverse good for review again


feat(python): fastapi server codegen now supports file upload and download

Fixes FER-2782
The title says it all, this still needs to be tested, but the codegen looks sane
This supports upload and download, for upload I inlined all the parameters, since I wasn't seeing in FastAPI docs if you could have file upload params within a model, and it felt more sane to do this then to split up the object into inlining file upload properties and referencing body properties as an object

@armandobelardo codegen looks good to me too -- will hold off on approving till after you test


Alert Function Does Not Work

Sorry if this is a duplicate as I wasn't sure where this issue needs to be opened.
From: https://github.com/michaelwoods/onstar2mqtt/issues/218
Thanks again for the great work on this!
Everything works for me except for the Alert function. It fails on both my cars. I get the following error whenever I try to run the alert command.
Command Sent:
2022-10-18 20:50:07 info: Command sent {"command":"alert"}
Error from command:
2022-10-18 20:50:07 error: Command error {"command":"alert","err":{"message":"Request Failed with status 400 - Bad Request","request":{"_closed":true,"_contentLength": 74,"_defaultKeepAlive":true,"_ended":true,"_events":{},"_eventsCount":7,"_hasBody":true,"_header":"POST..........................|snip| }
I changed the following code in commands.js from:
async alert({action = [Commands.CONSTANTS.ALERT_ACTION.FLASH],
             delay = 0, duration = 1, override = []}) {
    return this.onstar.alert({
        action,
        delay,
        duration,
       override
    });
}

To:
async alert({action = [Commands.CONSTANTS.ALERT_ACTION.FLASH]}) {
    return this.onstar.alert({action});
}

Which worked to trigger only the flashing lights.

Looks like this issue isn't because of OnStarJS, so I should not have opened this issue here. Sorry for my error.


IAP Rules and Scanner

DO NOT MERGE Here's the work-in-progress IAP scanner. It needs some cleanup and docstrings and tests, but I wanted to get some high-level feedback on whether this is roughly the right approach.

Nits, pylint, and existing tests fixed. Would still like to add a bit more test coverage.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Update the Device Attributes report

Description of the new feature/enhancement
Up to now, we've been identifying as a VT100, since we haven't fully met the conformance requirements for any of the higher level devices. But with the recent support that's been added for several VT extensions, I think it's time to consider an updated DA response.
The structure of a DA report is as follows: the first parameter value indicates the conformance level with a number in the range 61 to 69 (representing levels 1 to 9); subsequent parameters indicate the supported feature extensions. The early VT terminals didn't follow this standard, but their initial DA parameter would have always been below 60.
We still don't meet the requirements for level 2, so the first parameter in our DA response will have to be 61. But we do now support a number of feature extensions, which we can indicate with additional parameter values. Some of the more useful ones include:
7 = Soft Fonts (since PR #13965)
28 = Rectangular Editing (since PR #14285)
32 = Text Macros (since PR #14402, if accepted)
Applications that wish to take advantage of these features would be able to do so automatically if they could tell from the DA report that the terminal supported the necessary extensions.
Proposed technical implementation details (optional)
Updating the DA report seems like it ought to be a trivial change. However, the complication for us is this it's handled on the conhost side, but it needs to take into account the capabilities of the conpty client. For example, conhost supports Soft Fonts, but they won't work over conpty unless the conpty client also supports them (and for Terminal that's dependent on the configured renderer).
My proposed solution for this is that we fire off a DA request to the conpty client on startup (similar to the way we sometimes send a CPR request on startup). We then save the relevant information from the client's response (for now just the Soft Font support), and use that to determine what features we can include in our DA response.
Does that seem like a reasonable approach to take?

Seems sensible to me, though, we might want to be careful to be sure that the client can reply. Maybe we should gate it on --inheritCursor? er. Maybe not. There was some WSL issue IIRC that precipitated the need for --inheritCursor, rather than passing it all the time. Like, some scenarios where there was nothing actually processing the input, so if ConPTY just waits on startup for a reply, conpty might just HANG if no one ever replies. We might need some sort of timeout on startup to have conpty bail if conpty fires off a DA and doesn't get a response.
Maybe we could just not block startup on this. Fire off the DA, and just keep going. If we get a reply, then great, if not, then just keep 'er movin.

Maybe we should gate it on --inheritCursor? er. Maybe not.

Yeah, --inheritCursor isn't an option since it doesn't seem to get used most of the time, and this has to be called every time if we want it to work correctly every time.

We might need some sort of timeout on startup to have conpty bail if conpty fires off a DA and doesn't get a response.

That kind of sucks, because if that really is necessary, we're again left with a solution that isn't going to work some of the time. And any apps that rely on the DA information being correct are going to then have inconsistent behavior - sometimes they'll work and sometimes they won't.
I'd love to know under what conditions this is expected to fail, and whether that's fixable. Like could we maybe delay sending the DA request until the client has reached a certain steady state?


Nimble Select needs placeholder support

😯 Problem to Solve
In many valid usages of a NimbleSelect an initial value isn't provided, but it is still a required input for form submission. In such cases it's ideal to have placeholder text in the display area of the select informing the user that they must select a value. The HTML select spec actually outlines a convention to use for such a situation.
💁 Proposed Solution
The HTML spec essentially calls for using an option to be used for the placeholder, particularly the first option with it's value set to empty string, in addition to having the required attribute set on the select itself. We could either adopt a similar conventional strategy (not taking some elements of the convention like the required attribute as that isn't aligned with the Angular forms use-case), or specify some other convention criteria that we document like if the first option is disabled and selected we will use its text as placeholder text, but not show it in the dropdown.

We were already tracking this issue with #350.


why execute time is too long than original datasource

Use the same simple sql,  original Datasource execute time is about 8ms per request
but, replace the datasource to Sharding jdbc, execute time will increase to 27ms per request, i loged the executing time what I found are SS only select from one of the ten tables,  SS router time is about 2ms, and SS execute time is about 2ms , what does the other 10ms time cause???
use id hash, 10 sub tables , test sql is SELECT id, name FROM i_test where id = "1"
sharding jdbc core 2.0.3
Thank you

could you explain why you close by issue so quickly that create by yourself without any reason?

the question were fixed by myself, It is not issue of SS, thank you for reply.