Separate repository of scripts for outlander?

I've been hacking around writing an Outlander script and I think it would be cool to have a common place to share it with other users.
@joemcbride what are your thoughts on possibly creating a separate repository for outlander scripts? outlander-osx-scripts perhaps? I'd be happy to help contribute.

Great idea, I created https://github.com/joemcbride/outlander-osx-scripts
I'll move my Outlander scripts there sometime today.

Pushed all of my more generic scripts.  I can't vouch that all of them work 100% with Outlander, though most of them should.

Awesome thanks! I'll get a PR opened with one of mine shortly.


修复 subhd dtoken 变更 dtoken1，导致无法下载

刚下载字幕的时候，发现一直报错 error：dtoken。
通过查看源码和 subhd 源码，发现 dtoken 改为 dtoken1。

Codecov Report

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

@@           Coverage Diff           @@
##           master      #62   +/-   ##
=======================================
  Coverage   86.63%   86.63%
=======================================
  Files           9        9
  Lines         868      868
=======================================
  Hits          752      752
  Misses        116      116

Flag
Coverage Δ

#unittests
86.63% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

getsub/downloader/subhd.py
78.49% <100%> (ø)
:arrow_up:

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 60b57af...76d48f0. Read the comment docs.


https://identitydivision.visualstudio.com/StackOverflow/_queries/query-edit/76481119-c35b-4799-bc86-09ab4a7942fc/

"As per Daniel's statements we should add the following statements to the document:
-you will have disjoined UPNs between on-prem and cloud. In azure AD you can have only one login name: UPN
-Also hybrid join on w10 is not supported in managed (non-federated) environment if your on-prem UPN has non-routable suffix."

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

ID: a02d8b61-29e8-c0a7-b3b2-79be7212a91c
Version Independent ID: b4346d87-0727-c7fe-7896-7fd79098825c
Content: Configuring Alternate Login ID
Content Source: WindowsServerDocs/identity/ad-fs/operations/Configuring-Alternate-Login-ID.md
Product: windows-server-threshold
GitHub Login: @billmath
Microsoft Alias: billmath

#please-close

#assign:IngridAtMicrosoft


"Dubs Mint Minimap" Pings & Alerts don't disappear

IMPORTANT: Please first search existing bugs to ensure you are not creating a duplicate bug report!
Describe the bug
When playing with RT and the minimap, alerts and pings on the map do not disappear. aka if an enemy fires somewhere on the map, you will have a red circle on the minimap until you reload the save.
Steps to reproduce the behavior (VERY IMPORTANT)

Load up new/old save with RT and minimap
Either wait for an enemy to fire during raid OR
Click on cog next to minimap to open settings menu, then bind ping button to something and click that button on the map.
See that the yellow/red circle on the map is not disappearing.

Error Log
Does not cause any errors that I can find
Save file
Any save file works and as the alerts disappear after reloading a save (I assume they aren't serialized) there's no point in adding a save.
Screenshots

Mod list (Preferably a RimPy compatible list.)

Harmony
Core
Royalty (optional)
HugsLib
Dubs Mint Minimap
RimThreaded

Edit: I have seen this issue be discussed in the discord and even saw someone claim to make a report about it but as I couldn't find the report and the issue still persists I decided to make one myself.

[Tested on RT 1.3.2]
I tested this issue on a fresh game, and I was able to reproduce it. It is exactly as the author of this issue described it.
The pings get stuck in the map and can only be reset by loading a save back into the game.
This issue only occurs if RT and "Dubs Mint Minimap" are used in conjunction. No errors were logged.
Conclusion
This issue is confirmed as reported.

This issue still occurs with the experimental version 2.0

This issue no longer occurs with experimental preview 2.0.5

As per @bababooeyy this issue no longer happens in current code train. Closing issue.

As per @bababooeyy this issue no longer happens in current code train. Closing issue.


Breaking function calls into multiple lines silently breaks builds

My system: http://pasted.co/ca4970b9
(with kernel 4.8)
Using Godot 2.1 Stable
If you break a function call into multiple calls it works flawlessly in the editor, with no runtime problems or syntax errors whatsoever.
	tween.interpolate_property(
		self,
		"transform/pos",
		get_pos(),
		ev.pos,
		0.1,
		Tween.TRANS_LINEAR,
		Tween.EASE_IN_OUT)

Still, if one tries to export the project with such a call, the export (apparently) completes successfully.
But as soon as one tries to execute such build, it fails to execute (crashes completely) or simply renders that specific script broken.

Calling functions without breaking them in several lines (or using the \ character to do so) works fine on both the editor and the exported builds.
Issue.zip

Seems like I broke something with #6694...

@dejaime Actually, can you confirm you are using the export templates for the right version (since that's a common problem around here)?

@dejaime Yeah, it seems like a problem with your templates.
I just tested this on 2.1.2 with official 2.1.2 templates. It works fine both in the editor and exported.

Indeed, It is possible that I am using outdated templates, as I tried (without any success) to fix the Sprite3D bug (#7964).
I'll verify this as soon as I have a chance.
Thanks you

Yes, apparently, rebuilding the templates and editor has solved the issue.
Stupid me forgot to take note of the commit I was using though.
Looks like I messed up, sorry about that!


How to know driver led

/*
Various LED Driver chips might need some specific code for initialisation/control logic
*/
#include <Arduino.h>
#include "ESP32-HUB75-MatrixPanel-I2S-DMA.h"
#define CLK_PULSE          digitalWrite(_cfg.gpio.clk, HIGH); digitalWrite(_cfg.gpio.clk, LOW);
/**

@brief - pre-init procedures for specific led-drivers
this method is called before DMA/I2S setup while GPIOs
aint yet assigned for DMA operation

/
void MatrixPanel_I2S_DMA::shiftDriver(const HUB75_I2S_CFG& _cfg){
switch (_cfg.driver){
case HUB75_I2S_CFG::ICN2038S:
case HUB75_I2S_CFG::FM6124:
case HUB75_I2S_CFG::FM6126A:
fm6124init(_cfg);
break;
case HUB75_I2S_CFG::MBI5124:
/ MBI5124 chips must be clocked with positive-edge, since it's LAT signal
* resets on clock's rising edge while high
* https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA/files/5952216/5a542453754da.pdf
*/
m_cfg.clkphase=true;
break;
case HUB75_I2S_CFG::SHIFTREG:
default:
break;
}
}
void MatrixPanel_I2S_DMA::fm6124init(const HUB75_I2S_CFG& _cfg){
#if SERIAL_DEBUG
Serial.println( F("MatrixPanel_I2S_DMA - initializing FM6124 driver..."));
#endif
bool REG1[16] = {0,0,0,0,0, 1,1,1,1,1,1, 0,0,0,0,0};    // this sets global matrix brightness power
bool REG2[16] = {0,0,0,0,0, 0,0,0,0,1,0, 0,0,0,0,0};    // a single bit enables the matrix output
for (uint8_t _pin:{_cfg.gpio.r1, _cfg.gpio.r2, _cfg.gpio.g1, _cfg.gpio.g2, _cfg.gpio.b1, _cfg.gpio.b2, _cfg.gpio.clk, _cfg.gpio.lat, _cfg.gpio.oe}){
    pinMode(_pin, OUTPUT);
    digitalWrite(_pin, LOW);
}

digitalWrite(_cfg.gpio.oe, HIGH); // Disable Display

// Send Data to control register REG1
// this sets the matrix brightness actually
for (int l = 0; l < PIXELS_PER_ROW; l++){
    for (uint8_t _pin:{_cfg.gpio.r1, _cfg.gpio.r2, _cfg.gpio.g1, _cfg.gpio.g2, _cfg.gpio.b1, _cfg.gpio.b2})
      digitalWrite(_pin, REG1[l%16]);   // we have 16 bits shifters and write the same value all over the matrix array

    if (l > PIXELS_PER_ROW - 12){         // pull the latch 11 clocks before the end of matrix so that REG1 starts counting to save the value
        digitalWrite(_cfg.gpio.lat, HIGH);
    }
    CLK_PULSE
}

// drop the latch and save data to the REG1 all over the FM6124 chips
digitalWrite(_cfg.gpio.lat, LOW);

// Send Data to control register REG2 (enable LED output)
for (int l = 0; l < PIXELS_PER_ROW; l++){
    for (uint8_t _pin:{_cfg.gpio.r1, _cfg.gpio.r2, _cfg.gpio.g1, _cfg.gpio.g2, _cfg.gpio.b1, _cfg.gpio.b2})
      digitalWrite(_pin, REG2[l%16]);   // we have 16 bits shifters and we write the same value all over the matrix array

    if (l > PIXELS_PER_ROW - 13){       // pull the latch 12 clocks before the end of matrix so that reg2 stars counting to save the value
        digitalWrite(_cfg.gpio.lat, HIGH);
    }
    CLK_PULSE
}

// drop the latch and save data to the REG1 all over the FM6126 chips
digitalWrite(_cfg.gpio.lat, LOW);

// blank data regs to keep matrix clear after manipulations
for (uint8_t _pin:{_cfg.gpio.r1, _cfg.gpio.r2, _cfg.gpio.g1, _cfg.gpio.g2, _cfg.gpio.b1, _cfg.gpio.b2})
   digitalWrite(_pin, LOW);

for (int l = 0; l < PIXELS_PER_ROW; ++l){
    CLK_PULSE
}

digitalWrite(_cfg.gpio.lat, HIGH);
CLK_PULSE
digitalWrite(_cfg.gpio.lat, LOW);
digitalWrite(_cfg.gpio.oe, LOW); // Enable Display
CLK_PULSE

}
this I got from your source
can you explain to me how to change that code for another specification led matrix (p8 or p10) cause the driver is different I gues
i still stuck until today https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA/issues/540

p8 and p10 is not a specifications, it is just a distance between LEDs in mm
Read the driver type written  on the chips

i see
but how we know about driver led ?
i ve check and i change it, and it doesn't working

What are the chips on your panel?

icn2088p
i dont know what bit and configuration code it same or not
but I ve use panel p8 and 1/4 s
thanks Mr

Sorry, I know nothing about this driver .
Are you sure that is not a 2038 ?

pardon me mr
actually is 20238p


Add a tag for configuration objects

Configuration objects are objects produced from xml in the extensions area of the tc-config.  These objects are to be accessible during the bootstrap process.

 or  or  are some suggestions.  I would like to see the tc-config look like so
<plugins> <!-- was services -->
    <service>
         <some_plugin_name>...</some_plugin_name>
     </service>
     <config>
          <some_config_extension>...</some_config_extension>
     </config>
      ...
</plugins>


chore: bdd-spring-1582432286 to 0.0.1

chore: Promote bdd-spring-1582432286 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Kafka Connect Pod Not Streaming files from directory

I have installed the kafka connect helm chart from confluent and installed the file pulse connector to stream the messages simple log file in to the kafka topic.
Below is the Config of the Connector
root@cf-hsnlab-kafka-connect-cp-kafka-connect-66bb7c48f-vjcwh:/tmp/data#  curl http://localhost:8083/connectors/source-log-filepulse-01
{
"name":"source-log-filepulse-01"
,"config":{
"connector.class":"io.streamthoughts.kafka.connect.filepulse.source.FilePulseSourceConnector",
"fs.listing.filters":"io.streamthoughts.kafka.connect.filepulse.fs.filter.RegexFileListFilter"
"fs.listing.class":"io.streamthoughts.kafka.connect.filepulse.fs.LocalFSDirectoryListing",
"tasks.max":"1",
"tasks.file.status.storage.topic":"connect-file-pulse-status",
"tasks.reader.class":"io.streamthoughts.kafka.connect.filepulse.fs.reader.LocalBytesArrayInputReader",
"fs.listing.directory.path":"/tmp/data/",
"tasks.file.status.storage.bootstrap.servers":"hsn-kafka-cluster-kafka-bootstrap.hsnlab.svc:9092",
"fs.cleanup.policy.class":"io.streamthoughts.kafka.connect.filepulse.fs.clean.DeleteCleanupPolicy",
"name":"source-log-filepulse-01",
"topic":"new_topic","fs.listing.interval.ms":"1000",
"file.filter.regex.pattern":". *\.log$",
"tasks.file.status.storage.class":"io.streamthoughts.kafka.connect.filepulse.state.KafkaFileObjectStateBackingStore"},
"tasks":[{"connector":"source-log-filepulse-01","task":0}],
"type":"source"
}
Here is the Status of the FilePulse Connector
curl http://localhost:8083/connectors/source-log-filepulse-01/status
{
"name":"source-log-filepulse-01",
"connector":{"state":"RUNNING",
"worker_id":"<IP_ADDRESS>:8083"},
"tasks":[{"id":0,"state":"RUNNING","worker_id":"<IP_ADDRESS>:8083"}]
,"type":"source"
}
I have copied some sample log files like a.log and b.log in /tmp/data/ directory in the kafka connect pod but the files are not being streamed and not pushed to the topic.. I used kcat to check if there are messages in the topic but could not find any messages.
Please suggest If I have missed any config while installing the connector
I am getting the below message from the logs of the kafka connect pod
2021-09-21 14:18:08,666 INFO [FileSystemMonitorThread] Completed filesystem monitoring iteration in 399 ms (io.streamthoughts.kafka.connect.filepulse.source.FileSystemMonitorThread)
2021-09-21 14:18:09,670 INFO [FileSystemMonitorThread] Starting to list object files using: LocalFSDirectoryListing (io.streamthoughts.kafka.connect.filepulse.fs.DefaultFileSystemMonitor)
2021-09-21 14:18:09,670 WARN [FileSystemMonitorThread] File doesn't exist or can't be read: /tmp/data (io.streamthoughts.kafka.connect.filepulse.fs.LocalFSDirectoryListing)
2021-09-21 14:18:09,670 INFO [FileSystemMonitorThread] Completed object files listing. '0' object files found in 0ms (io.streamthoughts.kafka.connect.filepulse.fs.DefaultFileSystemMonitor)
2021-09-21 14:18:09,670 INFO [FileSystemMonitorThread] Finished lookup for new object files: '0' files can be scheduled for processing (io.streamthoughts.kafka.connect.filepulse.fs.DefaultFileSystemMonitor)
2021-09-21 14:18:09,671 INFO [FileSystemMonitorThread] Completed filesystem monitoring iteration in 404 ms (io.streamthoughts.kafka.connect.filepulse.source.FileSystemMonitorThread)
2021-09-21 14:18:10,673 INFO [FileSystemMonitorThread] Starting to list object files using: LocalFSDirectoryListing (io.streamthoughts.kafka.connect.filepulse.fs.DefaultFileSystemMonitor)
2021-09-21 14:18:10,673 WARN [FileSystemMonitorThread] File doesn't exist or can't be read: /tmp/data (io.streamthoughts.kafka.connect.filepulse.fs.LocalFSDirectoryListing)
2021-09-21 14:18:10,673 INFO [FileSystemMonitorThread] Completed object files listing. '0' object files found in 0ms (io.streamthoughts.kafka.connect.filepulse.fs.DefaultFileSystemMonitor)
2021-09-21 14:18:10,673 INFO [FileSystemMonitorThread] Finished lookup for new object files: '0' files can be scheduled for processing (io.streamthoughts.kafka.connect.filepulse.fs.DefaultFileSystemMonitor)

Hi @ESUBLXX, could you tell me the Connect FilePulse version you are using ?
Also, from the logs I've noticed that WARN :
2021-09-21 14:18:09,670 WARN [FileSystemMonitorThread] File doesn't exist or can't be read: /tmp/data (io.streamthoughts.kafka.connect.filepulse.fs.LocalFSDirectoryListing)
It seems the connector has failed to access the /tmp/data/ dir

I am using the below version. Installed the image thru confluent helm chart today.
kafka-connect-file-pulse:latest
From: Florian Hussonnois @.>
Sent: Tuesday, September 21, 2021 9:57 PM
To: streamthoughts/kafka-connect-file-pulse @.>
Cc: L Subramanian @.>; Mention @.>
Subject: Re: [streamthoughts/kafka-connect-file-pulse] Kafka Connect Pod Not Streaming files from directory (#179)
Hi @ESUBLXXhttps://protect2.fireeye.com/v1/url?k=81a911bc-de322891-81a95127-8692dc8284cb-d7c0e4a24fee04e7&q=1&e=88c21479-5abd-44c9-8bcc-20893f982355&u=https%3A%2F%2Fgithub.com%2FESUBLXX, could you tell me the Connect FilePulse version you are using ?
Also, from the logs I've noticed that WARN :
2021-09-21 14:18:09,670 WARN [FileSystemMonitorThread] File doesn't exist or can't be read: /tmp/data (io.streamthoughts.kafka.connect.filepulse.fs.LocalFSDirectoryListing)
It seems the connector has failed to access the /tmp/data/ dir
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect2.fireeye.com/v1/url?k=a0bd01b5-ff263898-a0bd412e-8692dc8284cb-87e2e75972e3136c&q=1&e=88c21479-5abd-44c9-8bcc-20893f982355&u=https%3A%2F%2Fgithub.com%2Fstreamthoughts%2Fkafka-connect-file-pulse%2Fissues%2F179%23issuecomment-924150851, or unsubscribehttps://protect2.fireeye.com/v1/url?k=7ee4f3f0-217fcadd-7ee4b36b-8692dc8284cb-884fd99d07fb7e1b&q=1&e=88c21479-5abd-44c9-8bcc-20893f982355&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAU4W6R45XQWCOJ6FJHISZ73UDCW4BANCNFSM5EOUXTLQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://protect2.fireeye.com/v1/url?k=67c547e4-385e7ec9-67c5077f-8692dc8284cb-afb6a5e55176ff1e&q=1&e=88c21479-5abd-44c9-8bcc-20893f982355&u=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub.

Do I need to precreate the internal topic connect-file-pulse-status ? I did not create the topic manually.

Just checked the topic list, it is created automatically.


Update configurations doc to reflect new configuration convention for workers

I have another PR (https://github.com/spotify/luigi/pull/1509) that creates the [worker] configuration section, figured I might as well move the rest of the configs in there.

Thanks!


Import GnuCash XML: EACCES (Permission denied)

Steps to reproduce the behaviour

Export accounts in GnuCash (Ubuntu) (File -> Export -> Export Accounts) to example.gnucash
In App: Settings -> Accounts -> Import GnuCash XML
Select previously exported example.gnucash file

Expected behaviour
Accounts are being imported
Actual behaviour
open failed: EACCES (Permission denied) Imgur
Software specifications

GnuCash Android version: 2.2.0
System Android version: 6.0.1 (CyanogenMod 13.1)
Device type: Xiaomi Mi-4c

This might be relevant:
http://stackoverflow.com/questions/8854359/exception-open-failed-eacces-permission-denied-on-android

GnuCash Android since v2.2.0  does not have permission to read from any location on the SD card.
I would suggest going through the Navigation Drawer --> Open and then select the file
If your SD card isn't not showing, tap the menu on upper right of the file picker and enable "internal storage".
Let me know if that works for you!

Yes that works. Thanks!
BTW: What is the described "Import GnuCash XML" action actually for?

It allows you to pick a place to import from, and actually used to work as you expect it to.
We only recently removed the permissions for direct access to the SD card.
So maybe we need to revisit that option and adapt it to the new procedures.

Alright, thanks for the explanation!

Hi,
I've the same or a similar problem on the android version. I faces the same error when I try to import a gnucash file from my dropbox where I saved the file I've created in Ubuntu.
Circumventing is not possible since "opening" is only available for google drive (but in "importint" dropbox is there).


Wrong tab preselection in right panel

Describe the Bug
I created a Kamelet and checked each of the steps configuration. When clicking on each step the Config tab in the right panel is automatically selected but for the choice EIP it is not which is weird.
Steps to Reproduce the Bug or Issue
Create a Kamelet as seen in the video and then select one node after another and check what tab is preselected.
Screenshots or Videos

Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

This is probably because the default Config tab is replaced on that case.


Superst: if sqlalchemy_uri param missing in database response, throws AttributeError

While ingesting Superset metadata, the get_platform_from_database_id method fetches the platform value from the sqlalchemy_uri param. But if the sqlalchemy_uri param is missing in the database response, then the below error is thrown:
AttributeError: 'NoneType' object has no attribute 'startswith'

To Reproduce
Steps to reproduce the behavior:

You'll need a superset database response without sqlalchemy_uri, like the one below from hitting the endpoint {{superset_url}}/api/v1/database/1:

{
    "id": 1,
    "result": {
        "allow_ctas": false,
        "allow_cvas": false,
        "allow_dml": true,
        "allow_file_upload": false,
        "allow_run_async": true,
        "backend": "trino",
        "cache_timeout": null,
        "configuration_method": "sqlalchemy_form",
        "database_name": "Pinot",
        "driver": "rest",
        "engine_information": {
            "disable_ssh_tunneling": false,
            "supports_file_upload": true
        },
        "expose_in_sqllab": true,
        "force_ctas_schema": null,
        "id": 6,
        "impersonate_user": true,
        "is_managed_externally": false,
        "uuid": "f45ede42-e34b-6c99-8fad-4a4b6a27b1bb"
    }
}

Use the standard superset ingestion recipe to ingest from this database

Error Thrown
Traceback (most recent call last):
 ....
File "/Users/.../opt/anaconda3/lib/python3.9/site-packages/datahub/ingestion/run/pipeline.py", line 359, in run
    for wu in itertools.islice(
  File "/Users/.../opt/anaconda3/lib/python3.9/site-packages/datahub/ingestion/source/superset.py", line 387, in get_workunits
    yield from self.emit_chart_mces()
  File "/Users/.../opt/anaconda3/lib/python3.9/site-packages/datahub/ingestion/source/superset.py", line 377, in emit_chart_mces
    chart_snapshot = self.construct_chart_from_chart_data(chart_data)
  File "/Users/.../opt/anaconda3/lib/python3.9/site-packages/datahub/ingestion/source/superset.py", line 307, in construct_chart_from_chart_data
    datasource_urn = self.get_datasource_urn_from_id(datasource_id)
  File "/Users/.../opt/anaconda3/lib/python3.9/site-packages/datahub/ingestion/source/superset.py", line 197, in get_datasource_urn_from_id
    platform = self.get_platform_from_database_id(database_id)
  File "/Users/.../opt/anaconda3/lib/python3.9/site-packages/datahub/ingestion/source/superset.py", line 181, in get_platform_from_database_id
    return sql_common.get_platform_from_sqlalchemy_uri(sqlalchemy_uri)
  File "/Users/.../opt/anaconda3/lib/python3.9/site-packages/datahub/ingestion/source/sql/sql_common.py", line 151, in get_platform_from_sqlalchemy_uri
    if tester(sqlalchemy_uri):
  File "/Users/.../opt/anaconda3/lib/python3.9/site-packages/datahub/ingestion/source/sql/sql_common.py", line 113, in <lambda>
    return platform, lambda x: x.startswith(
AttributeError: 'NoneType' object has no attribute 'startswith'

Solution
I've raised a PR to get the same platform value from a backend param in the same response. This change will not disturb anyone whose code is running smoothly; it will only fetch 'backend' param if sqlalchemy_uri param is missing. And backend param refers to the platform of the datasource superset is connected to.
https://github.com/datahub-project/datahub/pull/8667

Solved by https://github.com/datahub-project/datahub/pull/8667


Error: : invalid or unknown key: id

I am getting an "Error: : invalid or unknown key: id " when referencing the sigsci_site_list resource . Occurs when i reference the an id parameter in the resource.
The docs mention that an ID parameter can be set, but the code doesn't actually have that parameter. So either the docs need to be updated or the provider does, I'm just not sure which.
I saw another similar issue referencing how "id" is a protected variable in terraform: https://github.com/DataDog/terraform-provider-datadog/issues/947

@JazSingh05 could you provide an example? If you're trying to set the id attribute yourself, I'm not sure that will work because the API creates the ID for us.
You should still be able to reference the id in your terraform like this:
resource "sigsci_site_list" "mylist" {
  name            = "mylistname"
  site_short_name = "siteshortname"
  type            = "ip"
  description     = "Some IPs"
  entries = [
    "<IP_ADDRESS>",
    "<IP_ADDRESS>",
  ]
}

resource "sigsci_site_rule" "test-rule" {
  site_short_name = "siteshortname"
  type            = "request"
  group_operator  = "any"
  enabled         = true
  reason          = "Test reason"
  expiration      = ""

  conditions {
    type     = "single"
    field    = "ip"
    operator = "inList"
    value    = sigsci_site_list.mylist.id
  }

  actions {
    type = "allow"
  }
}

@JazSingh05 I'm going to close this out but please reopen if I've misunderstood the problem.


Build Docker image via Travis

CD goes through GitLab

I think we should not use gitlab if we don't need it. In this case, the build can easily be done on Travis


Unable to auto scroll container on dragging gridstack widget card

Hi,
I am using gridstack with backbone.js. I have a backbone.js application hierarchy, in which i have nested views, namely main view and this main view contains, header, container and footer view.
In container view i load my gridstack widgets, when i drag any widget i want container to auto scroll with it, for that i set draggable option to { scroll: true, helper:'clone', appendTo : '.container' }. but this dosent work.
But if i set option appendTo to any element from main view, it works.
Now i want to have auto scroll on backbone.js child view( .container ) when i drag gridstack widget in same view.
Please let me know if any one have any input on this.

Thanks for logging your issue, @Amol-Bhole.
Could you provide some code or a screenshot? I don't understand exactly what you mean, but I'd like to help.

Closing due to inactivity.


main --> prod-beta historical changes and minor fix

main --> prod-beta historical changes and minor fix

Codecov Report

Merging #120 (eb240c9) into prod-beta (5ef2303) will increase coverage by 1.23%.
The diff coverage is 32.65%.

@@              Coverage Diff              @@
##           prod-beta     #120      +/-   ##
=============================================
+ Coverage      20.52%   21.75%   +1.23%
=============================================
  Files             37       40       +3
  Lines            692      786      +94
  Branches         129      141      +12
=============================================
+ Hits             142      171      +29
- Misses           513      572      +59
- Partials          37       43       +6

Impacted Files
Coverage Δ

...ponents/HistoricalDataChart/HistoricalDataChart.js
0.00% <0.00%> (ø)

src/Components/Reports/DownloadReport.js
0.00% <ø> (ø)

src/Components/Reports/SystemsPDFReport.js
0.00% <ø> (ø)

src/Routes/RosPage/RosPage.js
0.00% <0.00%> (ø)

src/Routes/RosSystemDetail/RosSystemDetail.js
0.00% <0.00%> (ø)

src/Utilities/api.js
0.00% <0.00%> (ø)

src/Components/HistoricalDataChart/Util.js
100.00% <100.00%> (ø)

src/Components/HistoricalDataChart/UtilTestData.js
100.00% <100.00%> (ø)

src/Components/Reports/Util.js
92.68% <100.00%> (+0.37%)
:arrow_up:

src/constants.js
75.75% <100.00%> (+3.34%)
:arrow_up:

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 5ef2303...eb240c9. Read the comment docs.


Facilitate creation of OfflineAuth via previously performed oauth flow.

This can happen, for example, when Dataflow's oauth flow is used.
Needed for https://github.com/googlegenomics/dataflow-java/issues/95

Looks good to me!


Add standard logging when exception is thrown

Add standard logging of exceptions when processing elements, in addition to the service metrics.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

R: @KevinGG

Run Java PreCommit

retest this please

retest this please

java precommit fails due to https://issues.apache.org/jira/browse/BEAM-14298

retest this please

retest this please

retest this please

@KevinGG Please take a look


Go to line in relative to current cursor

Hi, dear developers, I would like to ask for the feature that enables using the go to line functionality in relative to the current cursor position.
Currently, we may use Ctrl + G (in Windows) to open a prompt choosing which line we want to jump to, and I noticed that it is supported even with a negative index (similar to indexing in Python).
Can we add the feature to jump relative to the current cursor? It would be acceptable (at least for me), to type something like :c+10 or :c-30, to trigger the relative mode. Or even in a more complicated case, if we have multiple cursors in use, typing :c+10 refers to the first, :C+10 refers to the last.
IMHO this would be a really helpful tool when I am navigating some long logs output by my program, when debugging where had been wrong, say, I knew I had a vector of length 1234 printed out in verbose debug mode and I tried to jump above 1234 lines like we use 1234k in Vim. (but I don't want Vim keybinds except for this feature).
Thank you for any help and advice!

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v2.6.27 to before v5.4.133",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ubifs: Fix races between xattr_{set|get} and listxattr operations\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.4.133 by commit 7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08, it was introduced in version v2.6.27 by commit 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001359


fix/element._setBoundingClientRect

Solves bug where scrolling to point where element bottom coord is 0 caused height to disappear

  1) Storage
       should always set item as string:
      AssertionError: expected 'Wed Apr 18 2018 00:00:00 GMT+0200 (Central European Summer Time)' to equal 'Wed Apr 18 2018 00:00:00 GMT+0200 (CEST)'
      + expected - actual
      -Wed Apr 18 2018 00:00:00 GMT+0200 (Central European Summer Time)
      +Wed Apr 18 2018 00:00:00 GMT+0200 (CEST)


UnhandledPromiseRejectionWarning error on npm start

Hello, I am attempting to setup a new site and getting this error on npm start:
npm start

<EMAIL_ADDRESS>start /Users/lanecampbell/Dev/famlu/famlu-app-mern
concurrently "npm run start:api" "npm run start:frontend"

[1]
[1] ><EMAIL_ADDRESS>start:frontend /Users/lanecampbell/Dev/famlu/famlu-app-mern
[1] > npm start --prefix frontend
[1]
[0]
[0] ><EMAIL_ADDRESS>start:api /Users/lanecampbell/Dev/famlu/famlu-app-mern
[0] > npm start --prefix api
[0]
[1]
[1] ><EMAIL_ADDRESS>start /Users/lanecampbell/Dev/famlu/famlu-app-mern/frontend
[1] > react-scripts start
[1]
[0]
[0] ><EMAIL_ADDRESS>start /Users/lanecampbell/Dev/famlu/famlu-app-mern/api
[0] > nodemon index.js
[0]
[0] [nodemon] 2.0.4
[0] [nodemon] to restart at any time, enter rs
[0] [nodemon] watching path(s): .
[0] [nodemon] watching extensions: js,mjs,json
[0] [nodemon] starting node index.js
[1] ℹ ｢wds｣: Project is running at http://<IP_ADDRESS>/
[1] ℹ ｢wds｣: webpack output is served from
[1] ℹ ｢wds｣: Content not from webpack is served from /Users/lanecampbell/Dev/famlu/famlu-app-mern/frontend/public
[1] ℹ ｢wds｣: 404s will fallback to /
[1] Starting the development server...
[1]
[0] server ready at http://localhost:4000/graphql
[0] Subscriptions ready at ws://localhost:4000/graphql
[0] (node:40011) UnhandledPromiseRejectionWarning: JsonWebTokenError: invalid algorithm
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:121:19
[0]     at getSecret (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:90:14)
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:94:10)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:16:10)
[0]     at SubscriptionServer.onConnect (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:57:30)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/subscriptions-transport-ws/dist/server.js:123:47
[0]     at new Promise ()
[0]     at WebSocket. (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/subscriptions-transport-ws/dist/server.js:121:57)
[0]     at WebSocket.emit (events.js:315:20)
[0]     at WebSocket.EventEmitter.emit (domain.js:483:12)
[0]     at Receiver.receiverOnMessage (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/subscriptions-transport-ws/node_modules/ws/lib/websocket.js:720:20)
[0]     at Receiver.emit (events.js:315:20)
[0]     at Receiver.EventEmitter.emit (domain.js:483:12)
[0]     at Receiver.dataMessage (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/subscriptions-transport-ws/node_modules/ws/lib/receiver.js:414:14)
[0] (node:40011) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[0] (node:40011) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[0] DB connected
[1] Compiled successfully!
[1]
[1] You can now view famlu-app-mern-frontend in the browser.
[1]
[1]   Local:            http://localhost:3000
[1]   On Your Network:  http://<IP_ADDRESS>:3000
[1]
[1] Note that the development build is not optimized.
[1] To create a production build, use npm run build.
[1]
[0] (node:40011) UnhandledPromiseRejectionWarning: JsonWebTokenError: invalid algorithm
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:121:19
[0]     at getSecret (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:90:14)
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:94:10)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:16:10)
[0]     at ApolloServer.context (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:45:28)
[0]     at ApolloServer. (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:546:38)
[0]     at Generator.next ()
[0]     at fulfilled (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:5:58)
[0]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0] (node:40011) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[0] (node:40011) UnhandledPromiseRejectionWarning: JsonWebTokenError: invalid algorithm
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:121:19
[0]     at getSecret (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:90:14)
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:94:10)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:16:10)
[0]     at SubscriptionServer.onConnect (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:57:30)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/subscriptions-transport-ws/dist/server.js:123:47
[0]     at new Promise ()
[0]     at WebSocket. (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/subscriptions-transport-ws/dist/server.js:121:57)
[0]     at WebSocket.emit (events.js:315:20)
[0]     at WebSocket.EventEmitter.emit (domain.js:483:12)
[0]     at Receiver.receiverOnMessage (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/subscriptions-transport-ws/node_modules/ws/lib/websocket.js:720:20)
[0]     at Receiver.emit (events.js:315:20)
[0]     at Receiver.EventEmitter.emit (domain.js:483:12)
[0]     at Receiver.dataMessage (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/subscriptions-transport-ws/node_modules/ws/lib/receiver.js:414:14)
[0] (node:40011) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
[0] (node:40011) UnhandledPromiseRejectionWarning: JsonWebTokenError: jwt must be provided
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:53:17)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:16:10)
[0]     at ApolloServer.context (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:45:28)
[0]     at ApolloServer. (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:546:38)
[0]     at Generator.next ()
[0]     at fulfilled (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:5:58)
[0]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0] (node:40011) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
[0] (node:40011) UnhandledPromiseRejectionWarning: JsonWebTokenError: jwt must be provided
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:53:17)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:16:10)
[0]     at ApolloServer.context (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:45:28)
[0]     at ApolloServer. (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:546:38)
[0]     at Generator.next ()
[0]     at fulfilled (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:5:58)
[0]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0] (node:40011) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
[0] (node:40011) UnhandledPromiseRejectionWarning: JsonWebTokenError: jwt must be provided
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:53:17)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:16:10)
[0]     at ApolloServer.context (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:45:28)
[0]     at ApolloServer. (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:546:38)
[0]     at Generator.next ()
[0]     at fulfilled (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:5:58)
[0]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0] (node:40011) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
[0] (node:40011) UnhandledPromiseRejectionWarning: JsonWebTokenError: jwt must be provided
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:53:17)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:16:10)
[0]     at ApolloServer.context (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:45:28)
[0]     at ApolloServer. (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:546:38)
[0]     at Generator.next ()
[0]     at fulfilled (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:5:58)
[0]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0] (node:40011) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
[0] (node:40011) UnhandledPromiseRejectionWarning: JsonWebTokenError: jwt must be provided
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/jsonwebtoken/verify.js:53:17)
[0]     at /Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:16:10)
[0]     at ApolloServer.context (/Users/lanecampbell/Dev/famlu/famlu-app-mern/api/utils/apollo-server.js:45:28)
[0]     at ApolloServer. (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:546:38)
[0]     at Generator.next ()
[0]     at fulfilled (/Users/lanecampbell/Dev/famlu/famlu-app-mern/node_modules/apollo-server-core/dist/ApolloServer.js:5:58)
[0]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0] (node:40011) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)

Hi @lane711, I'm not able to understand/reproduce your issue. Try running frontend and API separately with npm start. If It won't help describe the bug in more detail by respecting the bug report template.

This happens on the api project. I'm afraid there aren't any details beyond the stack trace as this happens at startup.
I tried on another system and everything works fine.
I tried with earlier versions of node and that didn't help either, but it does appear to be something related to my local setup/system. I'm running Catalina. I'll report back if I am able to resolve

(node:11896) UnhandledPromiseRejectionWarning: JsonWebTokenError: jwt must be provided
at Proxy.module.exports (C:\Programming\Node.js\create-social-network\api\node_modules\jsonwebtoken\verify.js:53:17)
at C:\Programming\Node.js\create-social-network\api\utils\apollo-server.js:17:32
at new Promise ()
at checkAuthorization (C:\Programming\Node.js\create-social-network\api\utils\apollo-server.js:16:10)
at ApolloServer.context (C:\Programming\Node.js\create-social-network\api\utils\apollo-server.js:45:28)
at ApolloServer. (C:\Programming\Node.js\create-social-network\api\node_modules\apollo-server-core\dist\ApolloServer.js:546:38)
at Generator.next ()
at fulfilled (C:\Programming\Node.js\create-social-network\api\node_modules\apollo-server-core\dist\ApolloServer.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
This error comes when I navigate to http://localhost:4000/graphql

Hi @lane711 were you able to fix this issue on your end?

Hi @DimiMikadze , I just tried again with a new folder and get the same error. Again I think this is likely an issue with Catalina. Do you have access to Catalina or is anyone that has tried on Catalina?
Here is the full trace:
yarn start
yarn run v1.22.4
$ concurrently "npm run start:api" "npm run start:frontend"
[0] npm WARN lifecycle The node binary used for scripts is /var/folders/vf/yt5fxk2525d1hkc39qkjdnrw0000gn/T/yarn--1608482539736-0.5270700606619265/node but npm is using /usr/local/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
[1] npm WARN lifecycle The node binary used for scripts is /var/folders/vf/yt5fxk2525d1hkc39qkjdnrw0000gn/T/yarn--1608482539736-0.5270700606619265/node but npm is using /usr/local/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
[0]
[0] ><EMAIL_ADDRESS>start:api /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network
[0] > npm start --prefix api
[0]
[1]
[1] ><EMAIL_ADDRESS>start:frontend /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network
[1] > npm start --prefix frontend
[1]
[0] npm WARN lifecycle The node binary used for scripts is /var/folders/vf/yt5fxk2525d1hkc39qkjdnrw0000gn/T/yarn--1608482539736-0.5270700606619265/node but npm is using /usr/local/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
[0]
[0] ><EMAIL_ADDRESS>start /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api
[0] > nodemon index.js
[0]
[1] npm WARN lifecycle The node binary used for scripts is /var/folders/vf/yt5fxk2525d1hkc39qkjdnrw0000gn/T/yarn--1608482539736-0.5270700606619265/node but npm is using /usr/local/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
[1]
[1] ><EMAIL_ADDRESS>start /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/frontend
[1] > react-scripts start
[1]
[0] [nodemon] 2.0.4
[0] [nodemon] to restart at any time, enter rs
[0] [nodemon] watching path(s): .
[0] [nodemon] watching extensions: js,mjs,json
[0] [nodemon] starting node index.js
[1] ℹ ｢wds｣: Project is running at http://<IP_ADDRESS>/
[1] ℹ ｢wds｣: webpack output is served from
[1] ℹ ｢wds｣: Content not from webpack is served from /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/frontend/public
[1] ℹ ｢wds｣: 404s will fallback to /
[1] Starting the development server...
[1]
[0] server ready at http://localhost:4000/graphql
[0] Subscriptions ready at ws://localhost:4000/graphql
[0] DB connected
[1] Compiled successfully!
[1]
[1] You can now view my-network-frontend in the browser.
[1]
[1]   Local:            http://localhost:3000
[1]   On Your Network:  http://<IP_ADDRESS>:3000
[1]
[1] Note that the development build is not optimized.
[1] To create a production build, use npm run build.
[1]
[0] (node:31407) UnhandledPromiseRejectionWarning: JsonWebTokenError: invalid algorithm
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:121:19
[0]     at getSecret (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:90:14)
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:94:10)
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:16:10)
[0]     at ApolloServer.context (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:45:28)
[0]     at ApolloServer. (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/apollo-server-core/dist/ApolloServer.js:546:38)
[0]     at Generator.next ()
[0]     at fulfilled (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/apollo-server-core/dist/ApolloServer.js:5:58)
[0]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[0] (Use node --trace-warnings ... to show where the warning was created)
[0] (node:31407) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[0] (node:31407) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[0] (node:31407) UnhandledPromiseRejectionWarning: JsonWebTokenError: invalid algorithm
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:121:19
[0]     at getSecret (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:90:14)
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:94:10)
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:16:10)
[0]     at SubscriptionServer.onConnect (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:57:30)
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/subscriptions-transport-ws/dist/server.js:123:47
[0]     at new Promise ()
[0]     at WebSocket. (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/subscriptions-transport-ws/dist/server.js:121:57)
[0]     at WebSocket.emit (events.js:315:20)
[0]     at WebSocket.EventEmitter.emit (domain.js:486:12)
[0]     at Receiver.receiverOnMessage (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/subscriptions-transport-ws/node_modules/ws/lib/websocket.js:720:20)
[0]     at Receiver.emit (events.js:315:20)
[0]     at Receiver.EventEmitter.emit (domain.js:486:12)
[0]     at Receiver.dataMessage (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/subscriptions-transport-ws/node_modules/ws/lib/receiver.js:414:14)
[0] (node:31407) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[0] (node:31407) UnhandledPromiseRejectionWarning: JsonWebTokenError: invalid algorithm
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:121:19
[0]     at getSecret (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:90:14)
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:94:10)
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:16:10)
[0]     at ApolloServer.context (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:45:28)
[0]     at ApolloServer. (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/apollo-server-core/dist/ApolloServer.js:546:38)
[0]     at Generator.next ()
[0]     at fulfilled (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/apollo-server-core/dist/ApolloServer.js:5:58)
[0]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[0] (node:31407) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
[0] (node:31407) UnhandledPromiseRejectionWarning: JsonWebTokenError: invalid algorithm
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:121:19
[0]     at getSecret (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:90:14)
[0]     at Proxy.module.exports (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/jsonwebtoken/verify.js:94:10)
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:17:32
[0]     at new Promise ()
[0]     at checkAuthorization (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:16:10)
[0]     at SubscriptionServer.onConnect (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/api/utils/apollo-server.js:57:30)
[0]     at /Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/subscriptions-transport-ws/dist/server.js:123:47
[0]     at new Promise ()
[0]     at WebSocket. (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/subscriptions-transport-ws/dist/server.js:121:57)
[0]     at WebSocket.emit (events.js:315:20)
[0]     at WebSocket.EventEmitter.emit (domain.js:486:12)
[0]     at Receiver.receiverOnMessage (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/subscriptions-transport-ws/node_modules/ws/lib/websocket.js:720:20)
[0]     at Receiver.emit (events.js:315:20)
[0]     at Receiver.EventEmitter.emit (domain.js:486:12)
[0]     at Receiver.dataMessage (/Users/lanecampbell/Dev/famlu/csn-no-fork/my-network/node_modules/subscriptions-transport-ws/node_modules/ws/lib/receiver.js:414:14)
[0] (node:31407) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)


Privacy of WebID Doc and others

We do  not explicitly state the expected access for the WebID Profile Document.  Is it a MUST be publicly readable?
Here's my impression of what we should recommend as MUSTs:

WebID Profile Document : publicly readable, owner-writable
Preferences Document  & Private Type Index : owner-only-access
Public Type Index :  publicly readable, writable by apps granted permission
seeAlso files : may be public, restricted, or owner-only

These issues are better discussed on #40, further discussion can happen there.


fiona / add translation for leadership role section

Changes:

...

Type of change

[ ] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[x] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

I think we should do this straight on Crowdin branch? Correct me if I'm mistaken @suthesan-deriv

I think we should do this straight on Crowdin branch? Correct me if I'm mistaken @suthesan-deriv

yes @sean-binary, we'll branch off from crowdin, I'll just close this current pr


Added JavaMelody Exporter

Thanks!
You should really use Custom Collectors for everything rather than implementing your own registry variant and trying to make direct instrumentation work for something it's not designed for.

Hi @brian-brazil, thanks for the hint and merge. Didn't know about Custom Collectors yet. I'll try to fix this in the future.


Can't open URL

In a step, this is simply a no-op:
[Visit your site](command:vscode.open?["http://localhost:3000"])

Could you share what markdown content you're using for the link? Something like this should work: [Visit your site](https://github.com)

You should be able to use a standard Markdown link for HTTP-based URLs, since CodeTour will translate that into the appropriate open behavior. If you use [Visit your site](http://localhost:3000), does that work?

Closing this as resolved per my previous comment. Let me know if you're hitting an issue here. Thanks!

Note that the following works: [Open URL](command:simpleBrowser.show?["https://aka.ms/codetour"])


fix webmercator panic (shifting quadrants)

Description
Quadrants were not aligned exactly (as required by checking for recursive line intersection) when matrix span / cell size was not an exact number. (It is with NetherlandsRDNewQuad, but not with e.g. WebMercatorQuad and EuropeanETRS89_LAEAQuad).
The gist of it is here
Type of change

Bugfix

Checklist:

[x] I've double-checked the code in this PR myself
[x] I've left the code better than before (boy scout rule)
[x] The code is readable, comments are added that explain hard or non-obvious parts.
[x] I've expanded/improved the (unit) tests, when applicable
[x] I've run (unit) tests that prove my solution works
[x] There's no sensitive information like credentials in my PR

lint/test failed nog


[5.0] Multiline arrays should have trailing commas

Most of our multiline arrays do this, but some don't.

:+1: Nice. Almost too many cleanup PRs in the past couple days

@taiyaei lol, maybe. I'm preparing for the big cs change in May, applying some minor stuff now.

Another thing with the arrays is the use of the square bracket arrays in some areas vs the traditional array().

@Sladewill I know. We're not changing that on 5.0. We'll be totally enforing it in May on the master branch.


Debugging window gets hidden if when placed too far to the right

Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:

Open VSCode
Start the debugger
Make VSCode run in a window (that is, not maximized)
Now pull the right side to the left side so that the debugger gets hidden

Expected output: The debugger should not hide but wrap as the window pulls left.
As far as I remember, this did not happen in earlier versions.

/duplicate of #202204


Document usage of VCSRevisions

I only found https://github.com/ImmobilienScout24/pybuilder_aws_plugin/blob/master/build.py as an example for using the automated versioning, IMHO it would be nice to document it as part of the plugins page or as part of the core features page.

@schlomo where would you expect to find this documentation?


Xcode 10 Support

The new SDK supports CommonCrypto out of the box, preventing builds due to duplicate headers.

I assume PR #38 fixed this.  Please re-open if not.


Fix prometheus.write.queue ttl

Update to the newest walqueue that resolves ttl comparisons.

Previously I was sometimes comparing milliseconds to seconds in walqueue.


testsuite: Improve performance when using rustup.

The rustup wrapper adds a considerable amount of overhead when running processes like rustc.  This overrides PATH when running the testsuite to prioritize the actual executables to avoid the wrapper.
I'm not 100% confident this won't break something somewhere, but it seems like it should be safe.
In my tests, this makes the testsuite 1.5 to 1.7 times faster.

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

Worth a try, we can always back it out if it breaks something.
@bors r+

:pushpin: Commit c73765f9c382cf58970026c0b92be95fbf80385b has been approved by Eh2406

:hourglass: Testing commit c73765f9c382cf58970026c0b92be95fbf80385b with merge 5d972251e7ec93f15a561b545d378b8297ca7997...

:sunny: Test successful - checks-actions
Approved by: Eh2406
Pushing 5d972251e7ec93f15a561b545d378b8297ca7997 to master...

Nice, here's the change in CI:

Job
Before
After
Change

linux stable
23m12s
14m53
1.55 times faster

linux beta
27m9s
14m43
1.84 times faster

linux nightly
22m36s
15m53
1.42 times faster

macos stable
25m51s
15m55
1.62 times faster

windows stable
26m34s
17m50
1.48 times faster

windows gnu nightly
35m28s
28m36
1.24 times faster

(Not very accurate since each run can use different hardware, but still pretty reasonable.)

Do you have a good sense for why rustup is adding so much overhead here? Is it just the overhead of having a separate process or is rustup doing something particularly slow?

I'm not too familiar with rustup's internals.  The overhead of rustup for running rustc -V on my system is 0.129s, which when multiplied across thousands of tests (which also run rustc multiple times), that easily adds up to several minutes.
There is more discussion of this at https://github.com/rust-lang/rustup/issues/2626.
From a quick look, it seems like rustup is loading the config file (using TOML which is pretty slow), and doing all sorts of manifest processing and more.  Kinnison also noted there is some dylib startup cost.  I don't know why it does that once RUSTUP_TOOLCHAIN is set, I would expect it to read the environment variable and skip all the work.

Phew, well at least these are some very nice improvements, thanks for investigating and measuring this @ehuss!


dirmngr is a requirement for Debian installation

Fixes https://github.com/odeke-em/drive/issues/866

Thanks for the PR @idvoretskyi!
/cc @shaggytwodope who made the documentation and runs the PPA as well, just for an extra
set of eyes since I don't know anything about PPAs.

LGTM, seems I install gnupg by default on my machines (which includes this package). I've overlooked this requirement.

Thank you @shaggytwodope and @idvoretskyi. I'll merge it in.


Short Cadence range slider for .interact()

Here is a working prototype of a short cadence range slider for interact aimed at Issue #465 .
This Pull Request realizes the dream of @nattieg, @ColinLittlefield, and @rrpastro, and may be of interest to @keatonb and others.

Neat feature of this mode:
If you pass in a long cadence lightcurve, it works the same as before-- no Display Window slider.
If you pass in a short cadence (or have more than max_cadences=30000 kwarg), you automagically get a range slider.  You can exceed max_cadences by increasing the window size manually, but you will pay the price in latency.

Update-- @barentsen recommends a data-decimation scheme to handle the performance issues of short cadence in .interact().  The number of rendered data points would be reduced by showing 1-of-every-N-points, similar to the .interact_bls() approach from @christinahedges.  Zooming in would increase the fraction of points displayed.  There could also be synergies with datashader/holoviews, but these are likely beyond the scope of this PR, and may add more complexity.

Thank you all for your work on this! The data-decimation scheme strikes me as an excellent solution. Do you have an estimate as to when this might become available? I have a student who's about to begin work on a short-cadence K2 light curve; she's become adept at using .interact(), so if possible, I'd like for her to be able to use the new feature.

Hi @ColinLittlefield,
Thank you for staying engaged with the Issue, and for sharing lightkurve with your student!
Technically the window slider is available now if you follow the Step 1 guidelines in GitHub command line instructions link at the bottom of this pull request, and then follow the development version installation instructions in our documentation.
In practice, this multi-step workaround may be counter productive if you're seeking a long-term stable solution.  I suspect it would be another 1-2 months for other developers to weigh-in on this feature, and they may decide not to merge the feature in the end depending on how much complexity it adds to the long-term maintenance of the code base.
Feel free to email our helpdesk with details of your use-case to help raise the visibility of the issue with a wider group of decision makers.

Codecov Report

Merging #468 into master will decrease coverage by 7.07%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #468      +/-   ##
==========================================
- Coverage   87.06%   79.99%   -7.08%
==========================================
  Files          28       28
  Lines        5065     5089      +24
==========================================
- Hits         4410     4071     -339
- Misses        655     1018     +363

Impacted Files
Coverage Δ

lightkurve/interact.py
11.86% <0%> (-50.17%)
:arrow_down:

lightkurve/tests/test_interact.py
25.58% <0%> (-73.26%)
:arrow_down:

lightkurve/tests/test_interact_bls.py
35.38% <0%> (-64.62%)
:arrow_down:

lightkurve/interact_bls.py
9.01% <0%> (-28.63%)
:arrow_down:

lightkurve/tests/test_search.py
92.61% <0%> (-7.39%)
:arrow_down:

lightkurve/utils.py
98.76% <0%> (-1.24%)
:arrow_down:

lightkurve/tests/test_periodogram.py
92.74% <0%> (-1.04%)
:arrow_down:

lightkurve/search.py
93.23% <0%> (-0.82%)
:arrow_down:

lightkurve/periodogram.py
89.6% <0%> (-0.75%)
:arrow_down:

... and 2 more

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 c65e12c...3eab65c. Read the comment docs.

Update: @barentsen and I discussed an option to seamlessly update the data with the bokeh-native zoom and scroll tools (the wheel zoom and box zoom, for example).

Update here: I noticed that bokeh offers support for "level of detail" scaling:
https://bokeh.pydata.org/en/latest/docs/user_guide/tools.html#controlling-level-of-detail
It may be worth looking into setting a level-of-detail threshold to make the performance better for short cadence lightcurves.

I'm going to close this for now because we are running out of person power to finish and support new features, but I hope someone will be able to pick this up in the future!!  It looks great!


Cleanup renderer object creation

Some objects use a create function like context.createRenderState; others have an explicit cache like context.getShaderCache().getShaderProgram; and others are just allocated with new like DrawCommand.
Likewise, some things need destroy, others need release, and others do not require anything.
As we add more caching (CC #638), we'll be able to converge.  Details TBA.

Temporarily removed the Material texture cache: #2850

@lilleyse, let's do a pull request for each bullet:

createRenderbuffer / createFramebuffer
createVertexArray / createVertexArrayFromGeometry
createRenderState
createTexture2D / createTexture2DFromFramebuffer / createCubeMap
createShaderProgram / replaceShaderProgram
createSampler
createVertexBuffer / createIndexBuffer

@lilleyse here's a few ideas for createRenderState:

Remove context.createRenderState, of course.
Change the RenderState constructor function to take options, which will have two properties: context and renderState.  However, users will not call this directly, instead...
Add RenderState.fromCache (which is a static function, not on the prototype), which takes the same options and is basically the implementation of context.createRenderState.  Make sure to move the actual cache from Context.js:

var nextRenderStateId = 0;
var renderStateCache = {};

I'm not 100% convinced that this actually works with multiple WebGL contexts, but I didn't look closely and I am not aware of any bugs.  Think it through, and if there are issues, we can simply move the caches to be per context.

@lilleyse createCubeMap should be straightforward, do it before 2D textures.  Just move the implementation into the CubeMap constructor function, and then update everything.  There will only be a few places; cube maps are just used for stars and in the tests.

@lilleyse createTexture2D / createTexture2DFromFramebuffer will also be pretty straightforward.  The only thing of note is to move createTexture2DFromFramebuffer to a static function, Texture.fromFramebuffer.

@lilleyse for createShaderProgram / replaceShaderProgram, replace them with new ShaderProgram.fromCache and ShaderProgram.replaceCache static functions.
We'll talk in person about createSampler, createVertexBuffer, and createIndexBuffer.  Basically, we'll create a new Sampler class, and then we need to think about buffers in context with WebGL 2 uniform buffers and transform feedback.

It seems safe to move the cache to RenderState since RenderState doesn't seem to store any GL resources. Are there any examples with multiple contexts that I could test with?

Here's a good start (which clearly works so we are probably OK and I'm sure I thought about this at some point): http://analyticalgraphicsinc.github.io/cesium-google-earth-examples/demos/multiple/
Code: https://github.com/AnalyticalGraphicsInc/cesium-google-earth-examples/tree/master/demos/multiple

After looking closer, it does initialize its viewport width and height with the context drawing buffer's width and height. This may be a problem in some cases.

@lilleyse open future pull requests into the renderer-refactor branch.

@lilleyse for buffers, also check out the code from our book:

https://github.com/virtualglobebook/OpenGlobe/tree/master/Source/Renderer/GL3x/Buffers
https://github.com/virtualglobebook/OpenGlobe/tree/master/Source/Renderer/Buffers

I'm not at all advocating for the same approach, but taking a brief look should help identify strengths and weaknesses.


Leaving gitbook

Hey Guys,
We found out recently that gitbook is planning to stop supporting its current version and will be moving to a proprietary system without plugins. We need plugins and strongly prefer open source. In addition, they are turning off the legacy gitbook servers soon.
After talking to support about this, we came to the conclusion that we should move the Algorithm Archive off of the gitbook site. The easiest solution to this is to create a new algorithm archive organization (and corresponding github pages site), which has a few benefits:

We can fork the legacy gitbook repos and plugins for when / if they go down (est. 6 months)
We can give people more permissions so they can more quickly handle PR's and can modify their own projects
We can use a github pages page for the algorithm archive for now on (algorithm-archive.github.io)

There was a lot of talk about this on discord, but I failed to discuss this on gitbhub. The plan is to create this organization soon and shift everything to the github url then too.
Please feel free to discuss alternative solutions here.

I'll just use this as a place to post issues regarding the migration process.
The description field of the repository still contains the link to the old gitbook That should probably be updated to the GitHub page.

Fixed. I missed that when going through all the links.

Isn't Gitbook open source? It won't be maintained, but that's the beauty of open source. Just because they're turning off the servers doesn't mean you can't build the book locally and host it on GitHub Pages or something.

Alternatively, we could build a simple tool to do this with a static site generator. There are quite a few and all of them are fairly easy to configure. This would allow for a more robust organizational system for the algorithms too.

@nikhiljha You are right, gitbook is open source and we have everything we need forked under the algorithm archivists group, just in case. I think the migration process is complete.I think the algorithm-archive.org is a great place for now, at least. We just need to remember to build the site and put it to the algorithm-archivists.github.io repo every now and again.
I had this issue up for a bit for people to voice concerns, but it doesn't seem like there are any more coming in.
Out of curiosity, how can we " allow for a more robust organizational system for the algorithms"? Do you mean that we can more easily build our own tools to go with the site and such?

@nikhiljha For clarification: We're already doing what you suggested. The book is hosted on GH pages, running a forked version of gitbook.

Out of curiosity, how can we " allow for a more robust organizational system for the algorithms"? Do you mean that we can more easily build our own tools to go with the site and such?

@leios Well it wouldn't be Gitbook anymore, so you could layout the site however you want. Examples: A homepage that breaks algorithms down into different categories of what they do, a search function, etc.
Having a giant repository of every algorithm in every language would quickly get unwieldy in a book format.

@nikhiljha This kinda sounds like reinventing the wheel to me. I think we have a pretty decent system in place. It has a bit of overhead (e. h. code imports), but it's not too much to handle, especially if contributors do these things in their PRs.

@Butt4cak3 For sure it's easier to stay with Gitbook in the short term, but we're already running into problems that would be trivial to fix if we were using a different SSG (see #57 #102). Luckily though, most SSGs (like Gitbook! 😃) work basically the same as all others.
I think I'll play with a script to port the repository over to a different SSG format. It shouldn't be hard because Markdown is basically 1:1 except for the code imports. I'll report back with how it goes.

@nikhiljha You're right, we are basically using gitbook because it worked for some time and with some plugins does what we need it to do. What other SSG's do you have in mind?

Hugo is most definitely the easiest, but Gatsby or Next might be easier to customize and have a huge library of neat plugins already made.

@leios have you seen the feature requests for gitbook? https://gitbook.canny.io/feature-requests
Also you may want to try talking to Aaron (cofounder) who is really active on their slack (public). Im not totally sure you ll be able to have an exception or something but i love this project and i don't see too many platforms it would work.
Hope it helps!

Hey @MarcoPorracin . We added our feature requests at the time; however, it didn't seem like they were taken into consideration. I didn't consider checking the slack. Ultimately, I think we are fine with the tools we currently have (legacy gitbook, basically). Right now, we don't have enough political sway to really warrant any exceptions on gitbook's part, plus the migration away from the gitbook site has already occurred.
You are right that there aren't too many platforms that work for our purposes here, but we'll keep an eye out. If it ends up being that the new gitbook is better, we'll transition back to that.
I think it's about time we close this issue.

@MarcoPorracin And the new gitbook is also closed-source. So there’s that.


feat: kuttl test workflow

feat: kuttl test workflow

Related Issue(s)

Description

It creates a workflow for running existing kuttl tests, and fixes some flaky tests.
Checklist

[x] I have read the policy contribution guidelines.
[] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.
[] I have added the artifacthub-pkg.yml file and have verified it is complete and correct.

I'm going to go ahead and get this in so you're unblocked on future PRs (so the CI action will fire without approval).
In your next PR, please change those GVR fields back to the short kind name only and let's see the reaction.


DataStore - Dynamic Namespace

I can't use the library even though I consider it fantastic. I definitely need the namespace to be dynamic. My need is to deal with immense volumes of data and the variable namespace helps a lot in that sense. I believe that if we put some kind of field with a specific annotation (like @Id for example, it could be @Namespace) it would facilitate and assist in the development of those who depend on this dynamic.

@marcosstefani Are you accessing entities from different namespaces in the same project? Notice that we do allow the default namespace to be changed via a property or the DatastoreNamespaceProvider.

@marcosstefani could you describe your use case in more details?

My scenario is as follows:
Google Cloud has a limited resource per project. And one of the limitations is the number of composite indexes allowed within a namespace. To address this limitation, we have the alternative of creating a different namespace for each of our clients. So, we have one namespace per customer but they all have the same tables. I did not find in the documentation a more precise detail on how to use different namespaces within the same Entity. As I read in the documentation I need to put the namespace in the properties file, so I only have 1 namespace for my application. I needed to have a field within the Entity so that I can say that it is the namespace.
Thank you for the questions.

I think a custom DatastoreNamespaceProvider is exactly what you need. You can write is such that it produces a different namespace name depending on the user state. See a similar discussion in #1289.

obrigado, verei sim

Thank you, I saw what you sent. Answer it, but it's not automatic. I always need a command to change the namespace. I would really like it to be dynamic, passing through only one property of my class, just as the ID is.

If I understand you correctly, you would like something like this?
class User {
  @namesapce
  String namespace;
  @Id
  String id;
  ...
}

This might be feasible on the write side, but how will we know which namespace to read from when you call something like userRepository.getAll()?
The approach I've seen before is to use a thread-local to store the namespace, if all access should be bound to the same namespace depending on which customer is logged in.
You situation might be different though.

That is exactly the point. I believe that anyone using this approach will not be able to use getAll in this way, but passing the namespace as a parameter.

Which approach are you referring to? The @namespace in the entity or the DatastoreNamespaceProvider?

@marcosstefani do you suggest we introduce userRepository.findAll(String namespace) method?

Please re-open if you have further feedback on this issue.

@meltsufin DatastoreNamespaceProvider only overrides the namespace provided in application.properties file. So, at a particular time, you have only one namespace available. How can I actually work on multiple namespaces? I can have multiple threads running in the same application and using different namespaces simultaneously.

The problem here that DatastoreNamespaceProvider #get is called during the configuration start, but the application might be not ready for this, i.e. doesn't have a namespace, it fails with NPE on keySupplier.get() in:
GcpDatastoreAutoConfiguration
return () -> store.computeIfAbsent(keySupplier.get(), this::getDatastore);

Thus, the current configuration forces developers to put some namespace as a default one

And it is dynamic already if I get you @marcosstefani , just extend to like this
@Component
public class UserContextProvider implements DatastoreNamespaceProvider, Consumer<UUID> {
    private static final ThreadLocal<UUID> USER_CONTEXT = new ThreadLocal<>();

    @Override
    public String get() {
        return ofNullable(USER_CONTEXT.get())
                .map(UUID::toString)
                .orElse(null);
    }

    @Override
    public void accept(UUID uuid) {
        USER_CONTEXT.set(uuid);
    }
}

And call accept once in each trace

Thanks @artemptushkin -- This is a great solution; we will document this better.

@artemptushkin To set the namespace into ThreadLocal, I need to retrieve the value from somewhere. How to get the namespace value in UserContextProvider (the custom NamespaceProvider) ?

@amiyalenka82 I would say, as soon as you get it. I share a cooler class for a case if your trace starts in Spring Rest Controller, classic web servlet
@Component
@RequiredArgsConstructor
@Scope(proxyMode = ScopedProxyMode.TARGET_CLASS)
public class HeaderValueProvider implements Supplier<String>, DatastoreNamespaceProvider {
	private final HttpServletRequest httpServletRequest;

	@Override
	public String get() {
		return httpServletRequest.getHeader("someHeader");
	}
}

You don't even need to set anything. @dzou consider this as also a sample


x/pkgsite: Cookie Heading missing

What is the URL of the page with the issue?
https://pkg.go.dev/net/http#ConnState.String
What is your user agent?

Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0
Just updated Firefox and it's also not working with firefox 94
Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Screenshot

What did you do?

I tried opening https://pkg.go.dev/net/http#Cookie in Firefox
What did you expect to see?
A heading
What did you see instead?
No heading.
I checked in Chromium and it works there.

The header showed up for me with:

OS: macOS Big Sur v11.6
Browser: firefox v84.0.1 and v91.0.2

I just tried with firefox in safe mode, which worked, so a plugin causes the problem.


Error instead of parked

The state should be ‘Parked’ instead of ‘Error’. The mower has reached it!s maximum daily operation time but that’s not an error.

This issue seems to be fixed with PR https://github.com/py-smart-gardena/hass-gardena-smart-system/pull/181


why use uniform distribution for emb ?

W = np.random.uniform(low = ~ , high = ~ , size = (n,m))
I saw this code in dlrm(create_emb) code.
Why use the uniform distribution for embedding table weights?
Does it gives better performance by any formula?
or just use it empirically?
Thanks in advance.

It has been shown empirically to be a reasonable initialization. There is some related theory in the following paper:
X. Glorot and Y. Bengio, "Understanding the difficulty of training deep feedforward neural networks", AISTATS, 2010 http://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf

@mnaumovfb
Thank you, I appreciate it!! :)


Bluetooth: Host: Fix GATT handling of CCC

Add a test that demonstrate a problem in GATT where a non-bonded client can update the CCC of a bonded client by using the same address.
This PR include two commit one to fix the GATT server and another on for the test.

Rebase to:

update documentation of new link_encrypted following @Thalley comment;
rebased on latest main now that https://github.com/zephyrproject-rtos/zephyr/pull/58470 and https://github.com/zephyrproject-rtos/zephyr/pull/58792 has been merged;
enable the test using prj.conf.


remove my email address from travis

does someone else want to replace me on this? I don't read them and don't react to them

I went ahead and merged it straight away so you would not get more notifications. I doubt anyone would read the notifications, I check the status page manually whenever I want to know the build status.


Change flutter_tools tests to run via pub

all.dart is no longer needed. Furthermore, it causes tests to
be skipped, or to silently fail to run anything.
Fixes #7941

@Hixie


Push Impressions

Hello,
I am trying to implement Push Impressions. I installed CleverTapSDK for NotificationService and included recordNotificationViewedEven:
override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
		// call to record the Notification viewed
		CleverTap.sharedInstance()?.recordNotificationViewedEvent(withData: request.content.userInfo)
        super.didReceive(request, withContentHandler: contentHandler)
    }

I am still not getting any data when user dismisses a notification.
What further steps need to be taken?
Thank you!

I'm stuck too
how to fix it
@Hamna21

I'm stuck too
how to fix it
@Hamna21


Fix Plonky3 Keccak machine witgen bug with more than one machine instance

More than one machine instance or more than one call into the machine?


Seperate digest code and hardcode hash algorithm back in Signature packet when use pgp for sign?

Background:
We use pgp for remote sign of binaries(all of the sign operation will be performed at server side)
Now when using pgp crate for binary sign, the functional code would be like:
let sig_cfg = SignatureConfig {
            version: SignatureVersion::V4,
            typ: SignatureType::Binary,
            pub_alg: self.public_key.primary_key.algorithm(),
            hash_alg: HashAlgorithm::SHA2_256,
            issuer: Some(self.secret_key.key_id()),
            created: Some(now),
            unhashed_subpackets: vec![],
            hashed_subpackets: vec![
                Subpacket::SignatureCreationTime(now),
                Subpacket::Issuer(self.secret_key.key_id()),
            ],
        };
        let read_cursor = Cursor::new(content);
        let signature_packet = sig_cfg
            .sign(&self.secret_key, passwd_fn, read_cursor)
            .map_err(|e| Error::SignError(self.identity.clone(), e.to_string()))?;

My question is could I seperate the hash logic out of sign function and hardcode the real hash algorithm back into Signature packet? the whole process would be like:
file -> read binary-> perform specified hash algorithm -> digest ->http request from client to server-> pgp sign with none algorithm -> construct signature packet with hash algorithm used in step2.

@dignifiedquire if we could hashing the object at the client side , there would be no need to transfer the whole object to server which is our case specifically.

OpenPGP signature hashes consist not only of the hashed payload of the signed data. The hash digests also include PGP framing data. See https://www.rfc-editor.org/rfc/rfc4880#section-5.2.3:

"The concatenation of the data being signed and the signature data from the version number through the hashed subpacket data (inclusive) is hashed.  The resulting hash value is what is signed."

This mean you can't calculate a regular hash (like sha256) of a file on a client, and send that hash to a "PGP signing service" to receive an OpenPGP signature. There are two possible designs you could consider:

The client needs to calculate a hash that includes the OpenPGP framing - which would require the client-side software to have deep knowledge of OpenPGP
The client could generate a small text file (e.g. a list of filenames followed by hashes, in text format), this type of file could be pgp-signed by a service

See https://openpgp.dev/book/signatures.html#creating-an-openpgp-signature-packet for a schematic outline of how OpenPGP signature packets work, and how the hash digest they contain is calculated.


Adding a new Course

Will like to add a free course for Flutter

@Yashank18  You can submit your Flutter course at this link https://freecourses.github.io/contribute

@wallacecosta  it's giving 404 error. I am unable to access the page

Done @wallacecosta  :)


Is it possible to support Zotero 7?

Is it possible to support Zotero 7?

I haven't tried Zotero 7 at all yet myself - can you say more about what doesn't work, or what you know would be required to support it vs. a normal version update?

I haven't tried Zotero 7 at all yet myself - can you say more about what doesn't work, or what you know would be required to support it vs. a normal version update?

This is an official description of Zotero 7 dev. May this is helpful for you.

Thanks. I'll be happy to support Zotero 7 - but it looks like it will take a fair amount of rewriting, so it's going to take some time for me to find the time. We can use this as a tracking issue in the meanwhile. PRs are also welcome :smile:

Would very much like to see this working with Zotero 7. Perhaps there is some way to work with this as a basis for it? It's essentially how much of the Zutilo functionality was brought to 7.0.

I just wanted to follow up whether there were any updates regarding Zotero 7 support leading up to the official release.

Version 7 has been officially released. However, this plugin is marked as disabled, not 'incompatible' (I'm not sure what that means). Some plugins are marked incompatible, but this is not. Can you explain why this happens and if it can be resolved? Version 7 looks great, and this plugin is essential.


Pass error details to PHP

Is it possible to somehow pass the error details to PHP, when request is interrupted by Coraza? I hoped that {http.err.message} would have something, but it seems to show only generic interruption triggered. I have custom error pages generated by PHP, and I want to customize them if it's Coraza that interrupts request. I was not able to find anything in documentation or anything obvious in code.

Good question. What do you expect to see here and what do you expect it to show? Right now we return a static error https://github.com/corazawaf/coraza-caddy/blob/main/coraza.go#L95

I would prefer to see what rule(s) was triggered. Something similar to what https://sandbox.coreruleset.org/ returns when it blocks a request.

Coraza processes the response after PHP has finished. You won't be able to access the variables synchronously.
Also, if Coraza aborts, PHP will lose control of the response, and you won't be able to run any code.
The only way would be to use Coraza to redirect the user to an error page and use the transaction ID to retrieve the errors somehow
I personally suggest you use custom error pages from Caddy

I guess I am a magician then, since with my config I am able to get {http.err.message} which I pass to PHP and I can react to it, if needed, but I always get interruption triggered. For example send some POST request with system() to https://www.simbiat.dev/api/fftracker/characters and you will get
{
  "status": 403,
  "reason": "interruption triggered"
}

Which is coming from my PHP code. But again this is not useful, since it's too generic and in some cases difficult to debug to get understanding what exactly blocked the request and why, hence this ticket was raised.


dev: set up build/test tools and no-op Lambdas

Now that we've tested these stub scripts "live" using the Terraform resources, here are the same ones but with TypeScript and a test framework and build system.
Since Lambdas need to BYO dependencies, and the TypeScript compiler doesn't really support bundling, it turned out the easiest way to build a Lambda package was to bring in esbuild. The way to do this without a bundling tool, which I've seen recommended in some places, is to just copy the node_modules directory into the package. But I didn't like that this would make the result of the build different in e.g. CI versus a dev machine, depending on what happens to be in node_modules at the time, and surprisingly npm doesn't have any features that would help with isolation here (like installing dependencies into a specified directory). Bundling also allows for dead code elimination.
The downside of bundling is that our Sentry stack traces won't be quite as nice. But if this bugs us, we could address it by generating and uploading sourcemaps to Sentry as part of the deploy process.

@losvedir Yes, I'm expecting it will be a workflow. The script here pretty much does everything needed short of uploading the zip package to Lambda, which needs some authentication and environment variables and stuff.


Fixing division by pointer bug

When translating to OPS a division by pointer (like /*dt) would make the
rest of the code commentary in c++. This was solved by encasing
the pointer by parenthesis.

this is a hack

The original function is also a hack. Any suggestions for restructuring the function?

maybe we could build some function like insert_parenthesis that receives a symbol and creates another symbol with a new name including parenthesis over the input symbol's name ?

as I said, this is a hack, as @mloubout and I'm sure @vmickus too will confirm

maybe we could build some function like insert_parenthesis that receives a symbol and creates another symbol with a new name including parenthesis over the input symbol's name ?

no, this is still a hack
Also, this entire piece of code might require some clean up.

i'm proposing a clean up on #1002
maybe this PR could be closed at this point

closing as superseded by #1002


Added language in codeblocks

I'm adding languages to codeblocks in md files.
The language should be stated as follows:
```language

code

```

fix: https://github.com/plone/volto/issues/3090

@ktsrivastava29 would you please close this PR, and push your branch to this repository directly instead of to your fork? When you open a PR from your fork, all of the CI tests do not run, whereas if you push your branch to this repo, then all the CI tests will run.
Please do that thing, and then we can review. Thank you!


Overlay Popups is not constrained by window bounds

Describe the bug
Overlay Popups is not constrained by window bounds
To Reproduce
Steps to reproduce the behavior:

Enable OverlayPopups
Open any popup that doesn't fit the window bounds
See the issue, popup is cropped

Screenshots

Expected behavior
Popup bounds should be constrained by window bounds (on screenshot below Windows PopupHost is used, with the same expected behavior)

Desktop (please complete the following information):

OS: Windows (should be reproduceable on any)
Version 0.10.0

It's critical on mobile devices, where all popups are overlay only.

It used to work when overlay popups were initially implemented. I was specifically checking for that particular scenario.
We definitely need more automated testing for overlay popups, since people change popup logic and ignore overlay mode completely.

@maxkatz6, just to add another data point, I am unable to reproduce this on Windows and Linux (with OverlayPopups set to true) and this issue may have been fixed by @MarchingCube as described in the resolution to #5766.
Windows

Linux


Feat/1596 adds custom docs config provider

Description
fixes #1596  and indirectly #1629
allows to instantiate custom config provider with user supplied loading function which may process any file format from any location

@VioletM here's preview of the example https://deploy-preview-1642--dlt-hub-docs.netlify.app/docs/examples/custom_config_provider