Enabling remote tunnel failure

Type: Bug
Reproduction step:

select Accounts->Turn on Remote Tunnel Access
Notice error message
2023-09-08 09:24:31.153 [error] SyntaxError: "undefined" is not valid JSON
at JSON.parse ()
at o.G (c:\Users\shrajendran\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:84:7698)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async o.startTunnel (c:\Users\shrajendran\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:84:6915)

VS Code version: Code 1.82.0 (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:07:07.438Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz (16 x 2793)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: unavailable_software

Load (avg)
undefined

Memory (System)
63.95GB (44.54GB free)

Process Argv
--crash-reporter-id 80f76b62-6060-416e-af5b-990245279b25

Screen Reader
no

VM
0%

Extensions (48)

Extension
Author (truncated)
Version

rust-bundle
1Yi
1.0.0

midl3-language-server
Ale
0.0.31

doxdocgen
csc
1.4.0

vscode-research
dev
1.2022.1111005

vscode-wasm
dts
1.4.1

rust-syntax
dus
0.6.1

EditorConfig
Edi
0.16.4

copilot
Git
1.110.389

go
gol
0.39.1

peachpie-vscode
iol
1.0.8

Ionide-fsharp
Ion
7.11.0

better-cpp-syntax
jef
1.17.2

tdpcode
Mic
10.2304.707

vscode-azdo-codereview
Mic
1.2023.331002

vscode-nmake-tools
Mic
4.0.230525002

wavework
Mic
1.2023.821001

vscode-docker
ms-
1.26.0

csharp
ms-
2.1.2

dotnet-interactive-vscode
ms-
1.0.4403010

vscode-dotnet-pack
ms-
1.0.12

vscode-dotnet-runtime
ms-
1.7.2

vscode-dotnet-sdk
ms-
0.8.0

isort
ms-
2023.10.1

python
ms-
2023.16.0

vscode-pylance
ms-
2023.9.10

sarif-viewer
MS-
3.4.1

jupyter
ms-
2023.8.1002501831

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.309.0

remote-ssh
ms-
0.106.1

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.2

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

live-server
ms-
0.4.9

powershell
ms-
2023.6.0

remote-explorer
ms-
0.4.1

resourcemonitor
mut
1.0.7

rust-analyzer
rus
0.3.1649

crates
ser
0.6.0

even-better-toml
tam
0.19.2

cmake
twx
0.0.17

vscode-lldb
vad
1.9.2

vscode-proto3
zxh
0.5.5

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscaac:30438847
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
2e4cg342:30602488
89544117:30613380
showlangstatbar:30737416
03d35959:30757346
7ij38806:30736111
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
synctok:30821570
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30829745

I've had this on two different machines too, one Linux and one Mac.

+1 having this issue on Mac M1
Versione: 1.82.1 (Universal)
Commit:<PHONE_NUMBER>d557a81c9d0b5f8a5a1e9274db5585
Data: 2023-09-08T08:49:32.930Z
Electron: 25.8.0
ElectronBuildId: 23503258
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
Sistema operativo: Darwin arm64 22.6.0

Can you please share the "Remote Tunnels Service" output when you get into this state?

Can you please share the "Remote Tunnels Service" output when you get into this state?

I've "solved" it by deleting the .vscode and .vscode-server directories in my home dir. Then I reconfigured everything and it just worked.

Can you please share the "Remote Tunnels Service" output when you get into this state?

2023-10-09 09:44:38.307 [info] Session updated: dewaynec (github) (service=true)
2023-10-09 09:44:38.307 [info] Session token updated: dewaynec (github)
2023-10-09 09:45:12.393 [error] SyntaxError: "undefined" is not valid JSON
at JSON.parse ()
at n.L (c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:101:7744)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async n.initialize (c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:101:6619)

I've "solved" it by deleting the .vscode and .vscode-server directories in my home dir. Then I reconfigured everything and it just worked.

to make this less scary: only the ~/.vscode/cli directory needs to be removed.

I was having the same issue and this fixed it for me (Ubuntu 22.04, VS Code 1.83.1). I uninstalled the Remote Tunnels extension on the server, deleted the directory above, re-installed Tunnels and everything was working as before.

In the latest release, we now log more information to that output which can help diagnosing the failure. If anyone experiences this again, please share this output (https://github.com/microsoft/vscode/issues/192598#issuecomment-1729896907)

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Getting KeyError issue  model.2.cv2.weight

Installed exact same versions of dependencies but getting this keyerror issue.
Traceback (most recent call last):
File "main.py", line 208, in
model = load_model()
File "main.py", line 39, in load_model
{k: v for k, v in ckpt['model'].state_dict().items() if model.state_dict()[k].numel() == v.numel()}
File "main.py", line 39, in
{k: v for k, v in ckpt['model'].state_dict().items() if model.state_dict()[k].numel() == v.numel()}
KeyError: 'model.2.cv2.weight

fixed. this is because original .pt model is updated.


Issue #2 - Xur Method Error

fixes #2  case where raw_data is nil
This happens when Xur isnt at the tower and bungie doesnt return empty tags. Instead they just omit the tag entirely:
{
ErrorCode: 1627
ThrottleSeconds: 0
ErrorStatus: "DestinyVendorNotFound"
Message: "The Vendor you requested was not found."
MessageData: {}
}
```

Great stuff, I didn't realize they changed some stuff on thier end. I'll go ahead and merge this in!

Nice thanks! I'm building a hipchat integration for destiny, and leveraging this gem for all of the queries

That's awesome! Glad to hear someone else is getting good use out of this gem! 😀


Add deselect all selected mail

Add the feature to deselect all selected mails in Inbox (Add to the action bar menu)
Thanks :) #3837

and, selecting all mail

Isn't there already the arrow in the left that deselects all mail?

I agree. The existing functionality has this use case covered.


error while publishing skill bot from composer

Describe the bug
When I am using existing resources and publishing the bot it's failing with the below message:
"DEPLOY_ZIP_ERROR - There was a problem publishing bot assets (zip deploy)."
Version
v2.1.1
OS

[x] Windows

To Reproduce
Steps to reproduce the behavior:

Go to 'Publish'
Click on 'Publishing Profile'
Click on 'Add new', provide Name, and select "Publish to Azure" as publishing target.
Click 'Next'
Select 'Import existing resources'
Click 'Next'
Add existing resources
Click 'Import'
Go to 'Publish'
Select Bot
Click' 'Publish selected bots'

Expected behavior
The bot should publish on Azure
Screenshots

Additional context
this is similiar issue as #8613 . but even after using nightly , same issue is being faced

I have also tested the same with the nightly build and the issue is still there.

This is likely due to a mismatch of the hostname that is found in the publishing profile and the actual URL of your app service.   The hostname field should include only the top level of the domain like mybotserver rather than the whole name like mybotserver.azurewebsites.net. Can you confirm this?

Closing this issue due to inactivity, if the problem continues please open a new issue.


#82 Add GradientConfig

Setup js in apps/structure/app
Add a gradient picker creator for configs

interesting error as well:
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

@npeltier It is just a warning that happens on non-OSX platforms.
From this link:

There is nothing to solve here. It is an optional dependency and is only needed in MacOS environments. Linux and Windows both provide native ways to do what this dependency is needed for on MacOS.

What I will try is seeing if using npm i --no-optional will solve the warning.


feat: move pdf download button to Document.vue

Description
PDF download button appears in Document.vue so it can appear in the project view as well.

The creation of the download link is triggered when Document.vue is mounted so things are faster
Button won't be there if doi is absent
Button will have loading spinner icon and be disabled while a download link is being generated

https://user-images.githubusercontent.com/28237258/229592203-a30854c5-5baa-46b9-abfa-d2e4efa2597d.mov

Not sure why the first check failed


Test verbose/trace mode

Description
Test the correct behavior of verbose/trace modes
Questions / Ideas

Once logging is implemented (#83) we can recover the paths and see if the files are effectively saved

Stand by until #62


Data synchronization

This PR makes it so that present-day-forecasting/main.py generates its own dataset.
Previously our workflow was to first download the data, then run the present-day-forecasting/main.py. This allowed for the downloaded data to correspond to a time-horizon that was different from what was specified in present-day-forecasting/config.yaml.
I refactored linmod.data such that the functionality of linmod.data__main__ is now in a function linmod.data.main() which present-day-forecasting/main.py calls using the config it was provided.

This is nice!


This email is not registered

Hey,
I have the problem that I cannot log in to my account. But this account works perfectly in my Meross app on my cell phone.
Anyone have a solution to this?

I had an old account. Had to change my email. Now everything works


Web app Play Uint8List audio on Safari iPhone device

Hi and thanks for creating the package, i am developing a Web Flutter application and i can successfully play Audio File using Chrome web browser on my Android device and Computer, but failed to play audio using Chrome on my iPhone or Safari browser on my Mac,
I am using the following code to convert Uint8List to  a Url
`
import 'dart:html' as html;
final blob = html.Blob([bytes], 'audio/mp3', 'native');
final url = html.Url.createObjectUrlFromBlob(blob);`
Please advice what to do in order to play the url on iPhone Chrome browser too
Tnaks

Hi,  thanks for using this package. I will have a look at it and revert back to you as soon as I can.

Hi and thanks for creating the package, i am developing a Web Flutter application and i can successfully play Audio File using Chrome web browser on my Android device and Computer, but failed to play audio using Chrome on my iPhone or Safari browser on my Mac, I am using the following code to convert Uint8List to a Url
` import 'dart:html' as html;
final blob = html.Blob([bytes], 'audio/mp3', 'native'); final url = html.Url.createObjectUrlFromBlob(blob);` Please advice what to do in order to play the url on iPhone Chrome browser too Tnaks

I wasn't able to reproduce this issue. Did you come right? It sounds like it's a permission issue to me.


Fix CUDA OOM when creating Mixtral checkpoint

Move w1,w2,w3 tensors to cpu before stacking.

Thank you for the report. But forcing the tensor on cpu might lead to cpu OOM on other environment. Have you tried using --load_model_on_cpu during converting the checkpoint.

Hi @VivekBits2210 , do you manage to create mixtral checkpoint with @byshiue 's suggestion?
If so, I'd like to close this PR at current stage.

Have you tried using --load_model_on_cpu during converting the checkpoint.
This won't work for some quantization cases where you need to run the model on some calibration dataset. The model cannot be loaded on CPU.


Add notification delay option and use in geolocation alert

The geolocation API varies widely on how long it takes
to respond. Seems to be relatively quick on safari/firefox
assuming a location was already found, slower on some chromes.
Delaying the notification a bit is a relatively quick solution
to fix the common case where the geolocation very quickly locks
when previously allowed, but not immediately.
Other solutions would be more extensive, such as first making
a getCurrentLocation call with timeout: 0, maximumAge: Infinity
to get a cached position. This could be used to determine
whether the user has allowed geolocation. Once determined,
the actual getCurrentPosition call could be made.

Relying on a timeout doesn't seem like a very reliable approach.  According to the W3C spec it looks like the error callback from getCurrentPosition should be invoked immediately if geolocation has been denied:

The getCurrentPosition() method takes one, two or three arguments. When called, it must
immediately return and then asynchronously attempt to obtain the current location of the device. If the
attempt is successful, the successCallback must be invoked (i.e. the handleEvent operation must be
called on the callback object) with a new Position object, reflecting the current location of the device.
If the attempt fails, the errorCallback must be invoked with a new PositionError object, reflecting the
reason for the failure.

This isn't for the case where geolocation is denied.
It's for the case when the user has already allowed geolocation, but the 'Select allow in your browsers prompt to get routes' message still displays briefly because it gets shown before the getCurrentLocation async call returns.

Adding a flag that hides the notification once the getCurrentPosition promise has returned successfully is another option, although if the user clears the browser's geolocation preferences for the site we won't be able to detect that in order to reshow the message.

Seems like we'll need some kind of "now loading" indication anyways for fetching both the location and the routes.  As the browser will display its own prompt once the location request is made, why don't we just display some sort of "now loading' indication until the promise has come back, then alert them that they have to allow geolocation in the browser to get routes, if there's an error message saying it got denied?

This notification in particular was to be used to draw attention to the user needing to click allow to get routes, since the browsers 'allow geolocation' bar isn't really all that obvious for some browsers. In this case, a general 'loading' indicator doesn't really meet that requirement.
With that said, a generic loading indicator is something we'll need. But I figured we could add that when we actually start making routing requests.
@jfrankl do you have any ideas on how to proceed with this one?

+1

The generic loading indicator: are there some specific pages where that
will be used in particular, or will that be on every page?
On Tue, Jan 13, 2015 at 11:40 AM, Kathryn Killebrew <
<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/azavea/nih-wayfinding/pull/43#issuecomment-69774801.

--
Jeff Frankl, UI/UX Designer
Azavea  |  340 N 12th St, Suite 402, Philadelphia, PA
Web azavea.com  |  Blog azavea.com/blogs  |  Twitter @azavea
http://twitter.com

I would expect it to only be the map route overview page, because that's where the routing request is being made.


Fix it.

Dude, try and fix it. I'll do anything. :). I'd pay you

I've been super busy, haven't kept up with their updates. I'll see what I can do.


[v2, Documentation/Enhancement] How to customize the value of discriminatorKey

Hi there,
I'm here to ask the question reported in the title:

How could I customize the expected value of discriminatorKey?

Say we have the following
@MappableClass(discriminatorKey: 'key')
abstract class A with AMappable {
  const A(this.id);
  final String id;

  String get key;  // The desired customization subclasses must override
}

@MappableClass(discriminatorKey: 'key')
class B extends A with AMappable {
  const A(super.id);

  String get key => 'some_recognizable_value_from_server';
}

By default, Mappable expects the key value to be the name any of the subclasses. In the above example, Mapper.fromMap(json) expects json to have the following key-value pair: { 'key': 'B' }.
This is most likely undesiderable, as this depends on an implementation detail (here on this frontend we're writing), whereas usually that value might be sent from some API with their own naming convention.
My question is: is this behavior intended? Is this customizable? If yes, I'd like to add a PR documenting this.
If not, I'd request to slightly change the API.

Get rid of discriminatorKey in the build.yaml config and onto the current decorators
Introduce a new @DiscriminatorKey decorator to be put in front of a getter on the abstract class
If @DiscriminatorKey is not present, raise a build-time error
Now subclasses are forced to implement this getter, but this is great (you could also implement a custom function, i.e. more flexibility)

Let me know what you think.

You can set the value for each subclass currently with the discriminatorValue property.

I'm so sorry about this. I wasn't able to find this in the docs, but I guess I'm tired (: It's right there. Thanks!

@lucavenir Don't be sorry 😂. Always happy to help.


Client Allocation Request for: TISSNET

Client Allocation Questions
Core Information

Name: TISSNET
Website / Social Media: http://www.tissnet.com
Region: Asia excl. Greater China
DataCap Requested: 10TiB
Addresses to be Notarized: f3qmmixom4ynncj3gxr4ci7bcie53fzqbre6pjnk23ndyqdz7pzuieil5h6v22l4bitewryqe4qeqquowejmuq
Notary Requested: IreneYoung

@tissnet Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hi Irene,
May I ask for an update?
Thanks!

Hi @tissnet, according to your answer in #1451 for the question "How many storage providers you intend to make dealing with?", you promised with "2~3 storage providers". But I checked that you have only made deals with one single provider f01546926. Could you explain it and propose the action plans for improvement? Thank you.

Hi Irene,
We were looking to manage the files more efficiently by having a few categories of our data in one data provider so we can manage files better. We were planning on using multiple storage providers as we get more data allocations this time.
Thanks!

Please implement the allocation plan as you promised.

We will allocate the additional 9TB to three storage providers equally.
Thanks!

Hi @tissnet, 10TiB DataCap are being granted to you. You can check the status of the message here: https://filfox.info/en/message/bafy2bzaceczti5hxg6wr6zhozxmaedlhrssph47enqojdbpbweysnyo5scgzo


Add: Sadvidya TV

Channel Name
Sadvidya TV
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
IN
Subdivision (optional)
No response
City (optional)
Ahmedabad
Broadcast Area
c/IN
Languages
guj
Categories (optional)
religious
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://www.youtube.com/@SadvidyaTVofficial
Logo
https://static.wikia.nocookie.net/logopedia/images/6/6e/Sadvidya_TV.jpeg/revision/latest?cb=20191227072153
Notes
No response

Please update your request:

link to the official website is incorrect
logo is not loading

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

Edited


Insecure use of Window Open

Stratos Version

Stratos Version 4.4.0
Frontend Deployment type

[ ] Cloud Foundry Application (cf push)
[X] Kubernetes, using a helm chart
[ ] Docker, single container deploying all components
[ ] npm run start
[ ] Other (please specify below)

Backend (Jet Stream) Deployment type

[ ] Cloud Foundry Application (cf push)
[ ] Kubernetes, using a helm chart
[ ] Docker, single container deploying all components
[ ] Other (please specify below)

Expected behaviour
When we do an AppScan static scan, the scanning results shouldn’t yield any vulnerabilities.
Actual behaviour
We ran Appscan and these vulnerabilities were marked as High Severity issues.
Steps to reproduce the behavior
AppScan Go: version 0.1.7
Steps

Open Appscan go application

Checkout the code of Stratos : release 4.4.0 (https://github.com/cloudfoundry/stratos.git) in your local machine.

Choose the type of scan i.e. Complete Security Scan

Click on Browse button and browse to the src folder(except test-e2e folder) of the stratos project that you checkout in step 2.

AppScan Go! retrieves appropriate files from the selected folder and lists them for review. No need to change anything on this just click on Continue button.

Click on Create a new scan button ---> Initiate scan : This will initiate the scan process.

When upload to AppScan on Cloud is complete, click the link review the status or results of the scan in the AppScan on Cloud service(there are lots of high severity issue you will see).

Reference : https://help.hcltechsw.com/appscan/ASoC/src_irx_gen_gui.html
Log output covering before error and any error statements
Insert log hereCopy

Detailed Description
Exact Location where the issue occurs:
https://github.com/cloudfoundry/stratos/blob/master\src\frontend\packages\store\src\effects\auth.effects.ts#L153
https://github.com/cloudfoundry/stratos/blob/master/src/frontend/packages/cloud-foundry/src/shared/components/list/list-types/github-commits/github-commits-list-config-app-tab.service.ts#L78
https://github.com/cloudfoundry/stratos/blob/master/src/frontend/packages/core/src/features/login/login-page/login-page.component.ts#L196
Cause: Cross-site scripting (XSS) vulnerabilities arise when an attacker sends malicious code to the victim's browser, mostly using JavaScript. When a web application uses input from a user, it generates it in the output without filtering it. This way an attacker can insert a malicious script to the input, the script will return in the response and will run on the victim's browser.
In particular, sanitization of hazardous characters was not performed correctly on user input.
In reflected attacks, an attacker tricks an end user into sending request containing malicious code to a vulnerable Web server, which then reflects the attack back to the end user's browser.
The server receives the malicious data directly from the HTTP request and reflects it back in the HTTP response. The most common method of sending malicious content is adding it as a parameter in a URL that is posted publicly or e-mailed directly to the victim. URLs that contain the malicious script constitute the core of many phishing schemes, whereby the convinced victim visits a URL that refers to a vulnerable site. The site then reflects the malicious content back to the victim, and then the content is executed by the victim's browser.
Fix recommendation:
Fully encode all dynamic data from an untrusted source that is inserted into the webpage, to ensure it is treated as literal text and not as a script that could be executed or markup that could be rendered.
Consider the context in which your data will be used, and contextually encode the data as close as possible to the actual output: e.g. HTML encoding for HTML content; HTML Attribute encoding for data output to attribute values; JavaScript encoding for dynamically generated JavaScript. For example, when HTML encoding non-alphanumeric characters into HTML entities, < and > would become < and >.
As an extra defensive measure, validate all external input on the server, regardless of source. Carefully check each input parameter against a rigorous positive specification (allowlist) defining data type; size; range; format; and acceptable values. Regular expressions or framework controls may be useful in some cases, though this is not a replacement for output encoding.
Output encoding and data validation must be done on all untrusted data, wherever it comes from: e.g. form fields, URL parameters, web service arguments, cookies, any data from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files and filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.
For every web page that is returned by the server, explicitly set the Content-Type HTTP response header. This header value should define a specific character encoding (charset), such as ISO-8859-1 or UTF-8. When an encoding is not specified, the web browser may choose a different encoding by guessing which encoding is actually being used by the web page, which would allow a potential attacker to bypass XSS protections.
Additionally, set the httpOnly flag on the session cookie, to prevent any XSS exploits from stealing a user's cookie.
Prefer using a framework or standard library that prevents this vulnerability by automatically encoding all dynamic output based on context, or at least that provides constructs that make it easier to avoid.
For every web page that is returned by the server, explicitly set the Content-Security-Policy HTTP response header, In order to make it significantly more difficult for the attacker to actually exploit the XSS attack.
Context
No non-root USER specified in Dockerfile configuration
Possible Implementation

There's no issue with using window.open for the examples provided

Hi @richard-cox ,
We have multiple issues where closed. I have updated them as per the requirement. Please reopen the issues raised
https://github.com/cloudfoundry/stratos/issues/4915
https://github.com/cloudfoundry/stratos/issues/4916
https://github.com/cloudfoundry/stratos/issues/4914
https://github.com/cloudfoundry/stratos/issues/4913
https://github.com/cloudfoundry/stratos/issues/4912
https://github.com/cloudfoundry/stratos/issues/4911
https://github.com/cloudfoundry/stratos/issues/4910
https://github.com/cloudfoundry/stratos/issues/4909
https://github.com/cloudfoundry/stratos/issues/4898
https://github.com/cloudfoundry/stratos/issues/4897
https://github.com/cloudfoundry/stratos/issues/4902
Could you please reopen the issue and let me know if you have any queries
Thanks,
Vijay

@anugu-vijaykanth In response to the comment which has been deleted, the issues were closed as they were raised generically without any heed to the context in which the features in question were used or why the security risk does not exist. If you believe them to be mistakenly closed please, per issue and per each referenced location explain why there is a problem.

@richard-cox , Can you suggest us  what's the recommended way of raising Critical/High Issues that comes up from static scanning tools like AppScan

@anugu-vijaykanth It's common for generic security tools to raise false positives. If you can explain why the issue raised by the tool is applicable given the locations specified by the tool it would show them as genuine. Once this is demonstrated the issues can be reopened. At the moment it's just a keyword hit without any understand of how or why the features or processes are used.

The following example shows a script that returns a parameter value in the response.
The parameter value is sent to the script using a GET request, and then returned in the response embedded in the HTML.
HTTP Request:
GET /index.aspx?name=JSmith HTTP/1.1
HTTP Response:
    HTTP/1.1 200 OK
    Server: SomeServer
    Date: Sun, 01 Jan 2002 00:31:19 GMT
    Content-Type: text/html
    Accept-Ranges: bytes
    Content-Length: 27

    <HTML>
    Hello JSmith
    </HTML>

An attacker might leverage the attack like this. In this case, the JavaScript code will be executed by the browser.
HTTP Request:
GET /index.aspx?name=>"'> HTTP/1.1
HTTP Response:
HTTP/1.1 200 OK
Server: SomeServer
Date: Sun, 01 Jan 2002 00:31:19 GMT
Content-Type: text/html
Accept-Ranges: bytes
Content-Length: 83

Hello >"'>

@anugu-vijaykanth Thank you for the XSS example, however that does not prove why the locations specified have this issue. Please look at the files you have referenced and explain, how given the input to window.open, script can be injected


SUBMARINE-917. Update adminDocs directory structure

What is this PR for?
Update adminDocs directory structure
https://github.com/apache/submarine/tree/master/website/docs/adminDocs
What type of PR is it?
[Documentation]
Todos

List all development dependencies in dependencies.md.
helm.md

Screenshot
helm chart configuration (values.yaml)

kind

How to setup kind Kubernetes environment

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-917
How should this be tested?
Screenshots (if appropriate)
Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

@pingsutw Thank you! I have fixed it.


Cannot call services through zenoh_ros1_bridge

While testing with zenoh_ros1_bridge I discovered that services provided by rospy nodes could be called for the bridge, but for some reason services provided by our ros1 implementation did not work.
The services hosted by our nodes would receive the request, but the response would not make it back through zenoh.
After making a string of requests and then closing down the zenoh bridge I would get a spew of:
DEBUG [roslibrust::ros1::service_server] Communication error while handling service request connection for /my_set_bool, could not read body: Custom { kind: UnexpectedEof, error: "early eof" }
DEBUG [roslibrust::ros1::service_server] Communication error while handling service request connection for /my_set_bool, could not read body: Custom { kind: UnexpectedEof, error: "early eof" }
DEBUG [roslibrust::ros1::service_server] Communication error while handling service request connection for /my_set_bool, could not read body: Custom { kind: UnexpectedEof, error: "early eof" }

Indicating service socket connections were being held open?

Root cause determined to be disagreement on the "persistent" ConnectionHeader flag.
zenoh-ros1-bridge was blocking waiting for the TCP socket to be closed on the sender side before processing the response. I think their behavior is "wrong", but regardless we can be more similar to the rest of the ROS1 ecosystem.


Antima/test rails 6 upgrade

Description
Upgrade rails from 4.2.11 to 6.0.

Added compiled assets

Issues Resolved
#2182
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[x] Full omnibus build and tests in buildkite pass
[x] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

https://github.com/chef/chef-server/pull/2329 - needed to make some change related to fixing a vulnerability. Let us not revert these changes inadvertently.

Left some questions inline. Looks great overall. Could you please link to the latest adhoc and umbrella builds?

Adhoc: https://buildkite.com/chef/chef-chef-server-master-omnibus-adhoc/builds/2838#7afca397-801b-4b8c-8f19-9e376d2aa406


Need better loading screen?

The prompt requires "Introduction to the website using a Flash or Flash-type animation." Not sure if loading screen or animated background.

Nah


Request update for Laravel 7

Hi Author,
Can you please upgrade this package to support Laravel 7?
Thanks :)

Looking for the same, Upgrade to Laravel 7
Would be great
Thank you :)

7.0.0 should hit the shelves shortly!


Make plugin work with tns 6 and angular 8

Hi,
Recently I needed to use input masking in my project. I found that your plugin is not compatible with most recent nativescript and angular, also I think that the native libraries are not updated to the latest version. Reading code of this plugin helped me a lot while developing my own plugin, so I would like to create a PR to this repo with all necessary updates. My question is, would you like to accept such upgrade?

Hi @Nevaan, can you create the pull request or share your code please?


Fix tab fade out

The tab fadeout doesn't work because the .show class isn't removed. This causes some lag before the new tab is faded in.
Current behaviour:
https://getbootstrap.com/docs/4.1/components/navs/#javascript-behavior
Behaviour with fix:
https://deploy-preview-27533--twbs-bootstrap4.netlify.com/docs/4.1/components/navs/#javascript-behavior
Beautiful, isn't it?
Closes #26525

Is it related to : https://github.com/twbs/bootstrap/issues/26525 @MartijnCuppens ? 🤔

Yes it is related to that ticket, thanks for mentioning that, @Johann-S.
We can indeed also remove the .show class from L175, at that point the class is already removed now.

Not sure if there is a way to test that 🤔

Don't think so


Make pom.xml consistent between projects

Have consistent naming / description
Have consistent pom.xml

Closed as part of 0.10 release


DroidbotEvaluator.py script error: not able to inject events policy

No events are generated when env_policy="static" and event_policy="static" is set in the DroidbotEvaluator.py script. It just gives following message:
INFO:AppEventManager:start sending events, policy is static
INFO:Device:sending event: {'intent': u'am broadcast -a android.provider.Telephony.SMS_RECEIVED', 'event_type': 'intent'}
WARNING:Device:ERROR: ''

Code modification:

  def droidbot_static(self):
        """
        try droidbot "static" mode
        :return:
        """
        self.start_droidbot(env_policy="static", event_policy="static")

Complete Error Log:
/usr/bin/python2.7 /home/gauree/Documents/droidbot/DroidboxEvaluator.py -a /home/gauree/Documents/droidbot/resources/DroidBoxTests.apk -count 2
INFO:DroidboxEvaluator:Evaluator initialized
INFO:DroidboxEvaluator:apk_path:/home/gauree/Documents/droidbot/resources/DroidBoxTests.apk
duration:200
count:2
inteval:2
report title:Evaluation_Report_2016-02-06_2100
INFO:DroidboxEvaluator:evaluating [4.static] mode
INFO:DroidboxEvaluator:starting droidbot
INFO:Device:waiting for device
Connecting to a device with serialno=.* with a timeout of 60 secs...
Connected to device with serialno=.*
/usr/local/lib/python2.7/dist-packages/androidviewclient-11.4.0-py2.7.egg/com/dtmilano/android/viewclient.py:2556: UserWarning: Running on emulator but no serial number was specified then 'emulator-5554' is used
  warnings.warn("Running on emulator but no serial number was specified then 'emulator-5554' is used")
Actual device serialno=emulator-5554
INFO:DroidBot:Starting DroidBot
INFO:AppEnvManager:start deploying environment, policy is static
INFO:Device:deploying env: {'env_type': 'contact', 'phone': '1234567890', 'name': 'Lynn', 'email'<EMAIL_ADDRESS>INFO:Device:deploying env: {'content': 'Hello world', 'phone': '1234567890', 'sms_in': True, 'env_type': 'smslog'}
INFO:Device:deploying env: {'content': 'Hello world', 'phone': '1234567890', 'sms_in': False, 'env_type': 'smslog'}
Waiting for the device...
Installing the application /home/gauree/Documents/droidbot/resources/DroidBoxTests.apk...
Running the component droidbox.tests/droidbox.tests.DroidBoxTests...
09:01:26 E/DeviceMonitor: Adb connection Error:EOF
09:01:26 E/DeviceMonitor: Connection attempts: 1
09:01:27 E/DeviceMonitor: Connection attempts: 2
Starting the activity .DroidBoxTests...

(The WARNING:Device:ERROR: is caused by another tool used by DroidBot, just leave it.)
Also, the DroidbotEvaluator.py is used to evaluate the effectiveness of DroidBot, if you are testing an app, please follow the instructions and use the droidbot command instead.
For example, if you want to test your app for 100 seconds, just type:
> droidbot -a <your_app.apk> -duration 100


[QUESTION] How to create custom boxes in the Product list?

M365 learning pathways - the customer in Italy is having issues in creating a new box in the product list (next to Word, PPT, Teams etc) as they are creating a new page with ad-hoc custom content. Note: the site is set up in Italian.

Unfortunately, you have not provided enough information for me to assist you. Please provide the following information.
-Do you have multilingual enabled on the site (see the site settings page), if so, what is the default language and what other languages do you have enabled.
-By the empty square I'm assuming you're suggesting that you've created a new sub-category?  Can you please include a screen shot of the set-up of that sub-category.  A consideration will be if the sub-category has any playlists associated with it, if not then the sub-category will not be displayed. The sub-category will also not be displayed if your site's default language is something other than Italian (i.e. English) and you have not included a translation for Italian, same with playlists.  If you have a playlist but it doesn't have an Italian translation then the playlist will not show up.  Please include screen shots of the playlist as well.

Hi Julie, as explained I am unable to see the settings as it's on customer tenant and they only have access to it.. As explained, to go through your questions it would be necessary to see this directly with customer on a call so they can share their screen etc.. I am not a technical person so it would really help to have this call...Do you think this could be arranged? Thanks a lot

I'm going to close this due to lack of activity.  If you're still having issues, please feel free to open a new issue and reference this one providing more details.


Reordering tabs is VERY laggy

Reordering tabs with drag-n-drop has become VERY laggy since Atom hits v1.x... I recall it used to work smoothly in v0.x.

Can you share more information and try following the debugging guide and see if that helps?

Also, please re-open this on the issue tracker for the Tabs package with more information:
https://github.com/atom/tabs
Thanks!


add missing abstract to timeseries rdf/xml

I noticed abstract went missing from the rdf/xml for timeseries aggregation.  After looking into why it was getting picked up with the other fields, I noticed it's by itself and not part of the rest of the timeseries metadata.  This PR accounts for that difference with a test for rdf/xml creation and ingestion.

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[x] Automated Testing

[x] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Download the timeseries aggregation rdf/xml with an abstract and verify it's present with predicate DC.abstract.

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4100

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4100


Question: dynamically modifying a transformation

Hi,
I'm trying to dynamically change a blur transformation. I found that if I just update the BlurredTransformation object directly, nothing happens. I can force things to update via the ReloadImage method, but doing so creates an unpleasant "in/out" effect as the image is reloaded. That is, the edges of the images seem to go in and out as the blur is modified and the image reloaded. If I replace the list of ITransformation objects completely at each update cycle, the same in/out effect occurs.
I'm just wondering if there's a better way to have the image update when transformations are modified?

I figured out the cause of the in/out effect. It's because I also had a CircleTransformation before the BlurredTransformation. Swapping the order of those solved that issue.
I'm still interested in whether forcing a reload of the image is the right thing to do.

Hi @kentcb,
Bindable transformations properties are not yet implemented: https://github.com/luberda-molinet/FFImageLoading/issues/860
Using ReloadImage is a valid way to refresh it. Also you can just set Transformations to a new list, it will also refresh: image.Transformations = new List<ITransformation>(image.Transformations)

Yeah, I tried replacing the list of transformations per my original post. However, I was trying to do this with the best possible performance, especially as the transformation will be changed quite a lot as part of an animation.

This shouldn't affect performance, all it does internally is calling a reload method.

Hmm, that seems to work OK on iOS. But on Android, calling ReloadImage too aggressively before it has had the chance to load at least once results in the image never appearing. I've hacked around this problem thusly:
var imageLoadedAtLeastOnce = false;

this
    .WhenAnyValue(x => x.ViewModel.UploadProgress)
    .Do(
        uploadProgress =>
        {
            this.blurTransformation.Radius = maximumBlurRadius - (uploadProgress * maximumBlurRadius);

            if (this.image.Source != null && !this.image.IsLoading)
            {
                imageLoadedAtLeastOnce = true;
            }

            // We have to wait until the image is loaded at least once, otherwise it may never display at all.
            if (imageLoadedAtLeastOnce)
            {
                this.image.ReloadImage();
            }
        })
    .SubscribeSafe()
    .AddTo(disposables);

Ugh, and that doesn't work on iOS. It loads the image once, but subsequent changes to the blur don't appear unless sufficient time elapses between ReloadImage calls. I've changed to this, which seems the best I can do to support both platforms in a somewhat consistent manner:
// We can't reload the image too aggressively or it won't display at all.
if (!this.image.IsLoading || MathExtensions.ApproximatelyEqual(uploadProgress, 1f))
{
    this.image.ReloadImage();
}

@kentcb Try to set LoadingDelay to 0 (15 ms default)

Yes, I already tried that - made no difference.


Fixed ConfigurationItemFactory auto loading of assemblies

Use NLog-assembly as primary location (Instead of AppDomain-BaseDirectory). Fixes bug introduced with #2643 (NLog ver. 4.5.2)

@304NotModified I guess it is important to get a new NLog.Web + NLog.AspNetCore released, that forces update to NLog 4.5.8 (when released). As it will ensure a more smooth upgrade path away from this bug.

@304NotModified I guess it is important to get a new NLog.Web + NLog.AspNetCore released, that forces update to NLog 4.5.8 (when released). As it will ensure a more smooth upgrade path away from this bug.

Thanks for the suggestion. Agree!

Please notice that my unit test #2833 is missing a check in GetAutoLoadingFileLocations () so it does return path multiple times
Something like this:
if entrylocation != null && assemblylocation != entry location
yield return
Same for AppDomain BaseDirectory
Sent from my Samsung device
-------- Original message --------
From: Julian Verdurmen<EMAIL_ADDRESS>Date: 01/08/2018 22:15 (GMT+01:00)
To: NLog/NLog<EMAIL_ADDRESS>Cc: Rolf Kristensen<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NLog/NLog] Auto loading of assemblies was broken in some cases   (#2830)
Merged #2830https://github.com/NLog/NLog/pull/2830.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/pull/2830#event-1766152820, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK-fnIRYhGwEFqotbYdjrg3q9I8O9Nttks5uMgxZgaJpZM4Vq_8F.


Remove "No Backslash in Paths" Style Guideline

This rule is not required as PowerShell will translate backslashes to the format of the OS.
The rule should be removed as it results in code that can be difficult to read and maintain and is not necessary.
I am raising this as @TravisEz13 and I discussed this in this PR.

I disagree with this. While (some) PowerShell cmdlets may interpret backslashes as PathSeparator on different platforms, there are many possibilities for this to go wrong. Even when that's not the case, I avoid backslahes in my own code (even when I know it will only ever run on Windows) and prefer to use Split-Path / Join-Path or [System.IO.Path]::Combine().
I think in most cases where this makes code difficult to read, it's a code smell that indicates path concatenation should be moved to a different function / method, or otherwise abstracted.

I agree with @PlagueHO that using the join and split paths instead of the backslashes leads to code that is harder to understand.
That said, I understand the point @briantist is making in that not all cmdlets will do the interpretation. But I think that given the majority of our resources target applications and elements that are specific to a single platform (namely Windows) it's a bit of a pointless discussion. I understand that taking the backslashes out makes the script more portable between platforms, but given most of our resources will never need to do that the rule isn't something that should apply to every resource.
So perhaps the change to the style guideline is to say "No backslash in file paths for modules that are not dependent on a specific platform" so that way when we are writing code that only ever exists on Windows we can avoid the messier code, but on stuff that will run on other platforms we enforce the rule to ensure it will work consistently on both platforms.

(Resolve-Path $somePowerShellPath).providerpath will give you the correct native format on each platform.

Perhaps the rule could be something like:
To support the possibility of cross-platform use in the future, paths must be converted to use the operating system native path separator before being used:
Bad:
$currentPath = Split-Path -Parent $MyInvocation.MyCommand.Path
Import-Module -Name "$currentPath\..\..\CommonResourceHelper.psm1"

Good:
$currentPath = Split-Path -Parent $MyInvocation.MyCommand.Path
Import-Module -Name (Resolve-Path -Path "$currentPath\..\..\CommonResourceHelper.psm1").ProviderPath

But it doesn't work for paths that do not exist. If I want to create folder Temp2 under C:
PS > New-Item -Path (resolve-path -Path 'C:\Temp2').ProviderPath -ItemType Directory

Will return
resolve-path : Cannot find path 'C:\Temp2' because it does not exist.
At line:1 char:17
+ New-Item -Path (resolve-path -Path 'C:\Temp2').ProviderPath -ItemType ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Temp2:String) [Resolve-Path], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand

New-Item : Cannot bind argument to parameter 'Path' because it is null.
At line:1 char:16
+ New-Item -Path (resolve-path -Path 'C:\Temp2').ProviderPath -ItemType ...
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [New-Item], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.NewItemCommand

@johlju - an excellent point! Back to the drawing board!
We could recommend something like:
("$currentPath\..\..\CommonResourceHelper.psm1".Replace([System.IO.Path]::AltDirectorySeparatorChar,[System.IO.Path]::DirectorySeparatorChar))

But that is really long winded and not really elegant. There must be a better way?

Yes I agree with that 😄 That is worse than using Join-Path and Split-Path. Couldn't we just invent our own Resolve-Path cmdlet that works with paths that does not exist? In that we could use your last suggestion.
That can be in CommonResourceHelper.psm1 or where ever.

Could't we just say, that if it a relative path, or a path is concatenated together with a cmdlet that generates a OS independent path, then one must just any method that is appropriate to not hard-code back-slashes or forward-slashes.
If there is an absolute path like 'C:' then there should not be a need to remove backslashes, because that path will only work on Windows anyway. There is not a guideline that say we must always use relative paths?

I suggest we just add the following to the rule text
"If the code targets applications or elements that are specific to a single platform it is not necessary to use Join-Path and Split-Path  to build the path."
Then it's up to the maintainer to enforce it or not.

FYI, in PowerShell 6, the path must exist on windows if you use a rooted path (a path starting with a driver letter or share) even for Join-Path
https://github.com/PowerShell/PowerShell/issues/4386

Thanks for that information! I had to test this, and in my test this is also true for Windows PowerShell 5.1.14409.1005 and above, see my comment https://github.com/PowerShell/PowerShell/issues/4386#issuecomment-382309339.
But that is yet an argument that is should be up to the maintainer to determine if Join-Path/Split-Path should be used.


Inspect correct function in wrap_init

What does this PR do?
In the function _wrap_init, the function of the live object was inspected, which was incorrect in the case of multiple inheritance, as the signature was always of the one function only. This PR inspects the function that should be actually invoked.
Fixes #12564
Extra test case, that copies the behavior from #12564 is created.
Does your PR introduce any breaking changes? If yes, please list them.
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @justusschock @awaelchli @ninginthecloud @rohitgr7 @borda @akihironitta @carmocca

@carmocca Done in #12813


[fix](gc tablet) fix get shutdown tablet cost a lot time

If gc shutdown tablets take a lot time,   it will make TabletManager getting a  tablet wait a lot time.
pr #26151 had fix get a running tablet wait a lot time.
But it hadn't fix get a deleted tablet wait a log time.  So this pr is to fix Both of them.
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Add new case: nested kvm storage perf test for Azure and HyperV

Add nested kvm storage perf test for Azure and HyperV.

Any chance of change verification in Azure and Hyper-v env?

@LiliDeng2018 , @leifei87 Please enable telemetry in your test job / test pipeline so that, we can see all the results in DB. -EnableTelemetry


Send mail failed with v3 API and multi-byte contents

I have the same issue.
https://github.com/sendgrid/sendgrid-go/issues/66
It works.
var content = new helper.Content("text/plain", "あああ");

but, the following code does not work.
var content = new helper.Content("text/plain", "あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ");

{"errors":[{"message":"Unrecognized UTF8 Byte at position 510","field":null,"help":"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#-Encoding-Errors"}]}

Is there any update?

@akifo,
This is currently being fixed, I've added you to the list of people to notify when the fix goes live.

Hello, thinkingserious.
Show you have any news? We start the project and we can not send invites to our first users?

@fockus,
It's moved into a higher priority, but I don't know exactly when it will be fixed. As soon as it is, I will let you know.

Same problem here:
var content = new helper.Content("text/html", html);
        var mail = new helper.Mail(from_email, subject, to_email, content);
        var requestBody = mail.toJSON();
        var request = sg.emptyRequest();
        request.method = 'POST';
        request.path = '/v3/mail/send';
        request.body = requestBody;
        sg.API(request, function (response) {
          sails.log.debug(response.statusCode);
          sails.log.debug(response.body);
          sails.log.debug(response.headers);
        });

Randomly gets:
{"errors":[{"message":"Unrecognized UTF8 Byte at position 511","field":null,"help":"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#-Encoding-Errors"}

The emails are normal html, and it happens 1 per 10 emails more or less...

@JacobBarba this is a known server side issue and it currently being resolved in this sprint by our engineering team. I will be updating this thread when the fix is deployed.

The fix for this has been deployed :)
Thank you for your patience!


prebuilt: add electron 6.0.0

This adds support for Electron 6.0.0. I used the same technique as https://github.com/mapbox/node-sqlite3/pull/1160 and https://github.com/mapbox/node-sqlite3/pull/1180.
Electron 6.0.0 was released on 7/30/2019.
https://electronjs.org/releases/stable#release-notes-for-v600

I filed a separate issue (https://github.com/mapbox/node-sqlite3/issues/1197) for the failing Travis job, as it seems to be a preexisting issue that isn't caused by these changes.

Thanks for fixing the tests @kewde !

@kewde (or anyone else) - is there anything else needed from me before this can be merged?

Are there any plans on doing a release with this soon? Electron 6 support would be great for my project

+1 @kewde  would be great to have this merged!

👍 thanks all - merging this in, and will publish as 4.0.10
@kewde noticing some missing changelog updates for 4.0.7, 4.0.8, and 4.0.9 - any chance you could follow up with an update there? Thanks!

FYI - this will go out in 4.1.0, not 4.0.10, as there are some other changes in master that warrant a minor!

<EMAIL_ADDRESS>published with all binaries built! https://travis-ci.org/mapbox/node-sqlite3/builds/572804185

Awesome, thanks all!


Prettier

Create the most basic bare-bones prettier configuration for Azle.

@krpeacock if you want to add the prettier config let me know, ready for contributions now. Please create the most basic setup you can for now, and if you aren't interested in doing it please just let me know. Thanks!
Please note the new contributing section: https://github.com/demergent-labs/azle#contributing


Running a for loop with an ICA/AMICA without a window for each participant

I'm trying to create a for loop allowing me to run an AMICA for every participant on EEGLab using Matlab. Here's the script. On each participant, I have to click "OK" on a window and I'd like instead to let the program run everything. Is there a way to simply run an AMICA for each participant without having to press "OK" ? I thought setting the EEG.etc.auto_ok to 2 would have worked but it doesn't seem to be the case. Thanks !
`for s=1:nsubj
    fprintf('\n******\nProcessing subject %s\n******\n\n', subject_list{s});

    % Path to the folder containing the current subject's data
    data_path  = [home_path subject_list{s} '/'];

    sname      = [data_path subject_list{s} '.set'];

    if exist(sname, 'file')<=0
            fprintf('\n *** WARNING: %s does not exist *** \n', sname);
            fprintf('\n *** Skip all processing for this subject *** \n\n');

    else
        EEG = pop_loadset('filename', [subject_list{s} '.set'], 'filepath', data_path);
        EEG = pop_runamica(EEG);
        EEG.etc.auto_ok = 2;
        EEG.setname = [EEG.setname '_amicadone'];
        EEG = pop_saveset(EEG, 'filename', [EEG.setname '.set'], 'filepath', data_path)

    end
 end

`

Hi and thanks for the reply ! When I try running the runamica15 function, Matlab doesn't seem to recognize it. Can you enlighten me please ?

Install eeglab and then the amica1.6 plugin from file -> manage extensions.
Or download files from github and add to path.
Need to make sure the amica files are in the Matlab path.

From: p1050666 @.>
Sent: Friday, February 24, 2023 8:49:39 PM
To: sccn/amica @.>
Cc: Jason Palmer @.>; Comment @.>
Subject: Re: [sccn/amica] Running a for loop with an ICA/AMICA without a window for each participant (Issue #39)
Hi and thanks for the reply ! When I try running the runamica15 function, Matlab doesn't seem to recognize it. Can you enlighten me please ?
—
Reply to this email directly, view it on GitHubhttps://github.com/sccn/amica/issues/39#issuecomment-1444897733, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACRBESRMRBACH4QWG7AOVCTWZFQLHANCNFSM6AAAAAAVHQSLQQ.
You are receiving this because you commented.Message ID: @.***>

Hello and thank you for the reply ! When I try running the function, I constantly have issues regarding the dependency with MPICH2. Each time I'm using the function, I have to repair the MPICH2 tool and the script ends up with this message error: "Unrecognized field name "W". Is there a way to fix that ? I don't see a parameter in this function allowing me to manage that. Thank you !

If you were able to run it before, then maybe try to replace the binary in the new amica location with the old binary. The latest version that should be in the latest amica eeglab plug-in folder is based on Intel oneapi not mpich2.

From: p1050666 @.>
Sent: Friday, February 24, 2023 9:47:29 PM
To: sccn/amica @.>
Cc: Jason Palmer @.>; Comment @.>
Subject: Re: [sccn/amica] Running a for loop with an ICA/AMICA without a window for each participant (Issue #39)
Hello and thank you for the reply ! When I try running the function, I constantly have issues regarding the dependency with MPICH2. Each time I'm using the function, I have to repair the MPICH2 tool and the script ends up with this message error: "Unrecognized field name "W". Is there a way to fix that ? I don't see a parameter in this function allowing me to manage that. Thank you !
—
Reply to this email directly, view it on GitHubhttps://github.com/sccn/amica/issues/39#issuecomment-1444964147, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACRBESTXD4CW3J7SAF6JGADWZFXEDANCNFSM6AAAAAAVHQSLQQ.
You are receiving this because you commented.Message ID: @.***>

Thank you ! Last question I promise. I still have the "Unrecognized field name "W" error message ? Here's the script:
'for s=1:nsubj
    fprintf('\n******\nProcessing subject %s\n******\n\n', subject_list{s});

    % Path to the folder containing the current subject's data
    data_path  = [home_path subject_list{s} '/'];

    sname      = [data_path subject_list{s} '.set'];

    if exist(sname, 'file')<=0
            fprintf('\n *** WARNING: %s does not exist *** \n', sname);
            fprintf('\n *** Skip all processing for this subject *** \n\n');

    else
        EEG = pop_loadset('filename', [subject_list{s} '.set'], 'filepath', data_path);
        EEG = runamica15(EEG);
        EEG = eeg_loadamica('outdir', data_path);
        EEG.etc.auto_ok = 2;
        EEG.setname = [EEG.setname '_amicadone'];
        EEG = pop_saveset(EEG, 'filename', [EEG.setname '.set'], 'filepath', data_path)

    end
 end

'

This is the error message that comes up when the binary crashes. To verify that the binary is working you can use the command line as described at sccn.ucsd.edu/~jason/amica_web.html.

From: p1050666 @.>
Sent: Friday, February 24, 2023 10:38:39 PM
To: sccn/amica @.>
Cc: Jason Palmer @.>; Comment @.>
Subject: Re: [sccn/amica] Running a for loop with an ICA/AMICA without a window for each participant (Issue #39)
Thank you ! Last question I promise. I still have the "Unrecognized field name "W" error message ? Here's the script:
'for s=1:nsubj
fprintf('\n******\nProcessing subject %s\n******\n\n', subject_list{s});

% Path to the folder containing the current subject's data
data_path  = [home_path subject_list{s} '/'];

sname      = [data_path subject_list{s} '.set'];

if exist(sname, 'file')<=0
        fprintf('\n *** WARNING: %s does not exist *** \n', sname);
        fprintf('\n *** Skip all processing for this subject *** \n\n');

else
    EEG = pop_loadset('filename', [subject_list{s} '.set'], 'filepath', data_path);
    EEG = runamica15(EEG);
    EEG = eeg_loadamica('outdir', data_path);
    EEG.etc.auto_ok = 2;
    EEG.setname = [EEG.setname '_amicadone'];
    EEG = pop_saveset(EEG, 'filename', [EEG.setname '.set'], 'filepath', data_path)

end

end
'
—
Reply to this email directly, view it on GitHubhttps://github.com/sccn/amica/issues/39#issuecomment-1444976164, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACRBESUDYMJLWF3Q7TPCUFLWZF5D7ANCNFSM6AAAAAAVHQSLQQ.
You are receiving this because you commented.Message ID: @.***>

If you updated amica in eeglab and now get the error message, look for a previous amica folder in eeglab plug-ins directory that contains the binary that was working before.

From: Jason Palmer @.>
Sent: Friday, February 24, 2023 10:42:45 PM
To: sccn/amica @.>; sccn/amica @.>
Cc: Comment @.>
Subject: Re: [sccn/amica] Running a for loop with an ICA/AMICA without a window for each participant (Issue #39)
This is the error message that comes up when the binary crashes. To verify that the binary is working you can use the command line as described at sccn.ucsd.edu/~jason/amica_web.html.

From: p1050666 @.>
Sent: Friday, February 24, 2023 10:38:39 PM
To: sccn/amica @.>
Cc: Jason Palmer @.>; Comment @.>
Subject: Re: [sccn/amica] Running a for loop with an ICA/AMICA without a window for each participant (Issue #39)
Thank you ! Last question I promise. I still have the "Unrecognized field name "W" error message ? Here's the script:
'for s=1:nsubj
fprintf('\n******\nProcessing subject %s\n******\n\n', subject_list{s});

% Path to the folder containing the current subject's data
data_path  = [home_path subject_list{s} '/'];

sname      = [data_path subject_list{s} '.set'];

if exist(sname, 'file')<=0
        fprintf('\n *** WARNING: %s does not exist *** \n', sname);
        fprintf('\n *** Skip all processing for this subject *** \n\n');

else
    EEG = pop_loadset('filename', [subject_list{s} '.set'], 'filepath', data_path);
    EEG = runamica15(EEG);
    EEG = eeg_loadamica('outdir', data_path);
    EEG.etc.auto_ok = 2;
    EEG.setname = [EEG.setname '_amicadone'];
    EEG = pop_saveset(EEG, 'filename', [EEG.setname '.set'], 'filepath', data_path)

end

end
'
—
Reply to this email directly, view it on GitHubhttps://github.com/sccn/amica/issues/39#issuecomment-1444976164, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACRBESUDYMJLWF3Q7TPCUFLWZF5D7ANCNFSM6AAAAAAVHQSLQQ.
You are receiving this because you commented.Message ID: @.***>


Possibly Breaking Change: Pass all parameters through on Android

Right now the plugin is restricted to passing through just one parameter on Android:
.
https://github.com/jefflinwood/cordova-plugin-twiliovoicesdk/blob/8c1596c9b7af88599fe892a036b4003824b09b02/src/android/com/phonegap/plugins/twiliovoice/TwilioVoicePlugin.java#L337
This update would be to match iOS:
https://github.com/jefflinwood/cordova-plugin-twiliovoicesdk/blob/8c1596c9b7af88599fe892a036b4003824b09b02/src/ios/TwilioVoicePlugin.m#L168
and pass through all parameters.

@jefflinwood outbound call working fine in iOS. Same code for Android is not working. Can you please help me out.
Thanks in Advance.


Allow to use wildcards in testsuite paths.

I'm trying to get humbug to work on the Drupal code base. Drupal uses wildcards in its phpunit.xml.dist to include tests that are written for modules:
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php" colors="true">
  <testsuites>
    <testsuite name="Drupal Unit Test Suite">
      <directory>./modules/*/tests</directory>
      <directory>../sites/*/modules</directory>
    </testsuite>
  </testsuites>
</phpunit>

This branch allows these wildcards to be used. It will substitute these paths with a range of new paths that match the wildcard pattern.
I've had to implement it using a for loop instead of a regular foreach because DOMDocument does not handle loops well when the items in the loop are being manipulated. It's also not possible to remove elements inside the loop, this has to be done in a separate loop. Ref. the comment section at http://php.net/manual/en/class.domnodelist.php

Thanks @pfrenssen. Merging PRs now.


Optimized description

Changed description to fit to the actual sign in procedure.
Clarified on usage of Public Keys, because customers are asking where keys are from.

@EricBergDE : Thanks for your contribution! The author, @swkrish, has been notified to review your proposed change.

Verifying these changes with Swaroop.

#sign-off


Bug: Theme update from serverside "setTheme" not working

Describe the bug
Theme update not working
To Reproduce
Steps to reproduce the behavior:

initialize editor
try to update theme from server side

Expected behavior
Theme should change. In reality, it just remains the old eclipse theme.
Maybe there is some event that needs to be fired to update the editor's theme on the client side? If I figure it out, I will PR. Thanks for updating this editor for v14.

Here's the code I was using to toggle the theme
    ComponentUtil.addListener(UI.getCurrent(), ThemeChangedEvent.class, (e) -> {
       if (e.getTheme() == Lumo.DARK)  {
           UI ui = getUI().orElse(UI.getCurrent());
           if (ui != null) {
               ui.access(() -> {
                   editor.setTheme(AceTheme.chaos);
               });
           }

       }
    });

Think this might be my problem: it's looking for themes in the folder ace-builds instead of the VAADIN directory that redirects to stuff on the classpath

Hello @rudiejd,
Could you please Tell me which Version of the ace Editor aswell as which Vaadin Version you are using?
On https://preview.f0rce.de/ace I set the theme on server side initially and that works perfectly.
I hope I can help you out,
David

@F0rce I was on 14.6.5 and the latest version of the editor.
I suspect it works on you demo because you have all of the requisite JavaScript files for the default modes and themes included in an accessible folder. On mine, I do not.
I managed to fix it on the PR I linked. Basically, Vaadin add-ons force you to include everything that you want to be visible to the Vaadin application in an @JsModule annotation.

Thanks for your answer and taking the time to write the pr but you actually don't have to do that.
I was thinking the same when I had the problem. But Vaadin Support thought me different. In a Vaadin Add-on Setup (which I use for creating my add-on's) everything is packaged (you don't need to reference everything). Due to your setup you would have to change the baseUrl (the path to the files). In a normal Setup the base url is relative beeing "ace-builds/src-min-noconflict/" but you said that you share resources so you would have to change it.
Just use ace.serBaseUrl() and make sure to read the JavaDoc carefully. I am pretty sure that that will solve your problem without having to add 200+ lines of annotations and increasing build time.
Be sure to keep me updated,
David

Unfortunately, I don't think that this would work for my use case since none of the resources are visible without annotations.
My project is manually loading resources by calling Vaadin's DevModeInitializer on every class which has @JsModule, @CssImport, etc. annotations. Essentially, we are embedding Vaadin in our application. If a class does not annotate its dependencies, we can't pick up which JS/CSS files to import.
It might be better to port to a more standard way of running, and probably could be refactored/redesigned, but for now it won't serve any of the mode or theme files from the editor. I will probably just keep my fork alive on a local maven repository with all of the annotations, because that's more convenient than adding all of these 300 files in our repo.
Thank you for your help, and feel free to close the PR/issue

@rudiejd I will keep this repo open and I will try to help you a bit. Unfortunately I am in Croatia at the moment and this is my last day here. I'm working normally from tomorrow and will then be able to help you the fullest.
The Themes and Modes are loaded as soon as you choose them (loaded into the browser cache). I will try to show that to you when I'm home.
As a workaround be sure to use your annotations.
We'll find a nice way around that for sure and please be sure to give .setBaseUrl() a try for sure.


Cannot find "/build/static/js/main.js" in<EMAIL_ADDRESS>

Same problem here!

@juhonkang how was this issue resolved?

Same problem here!


Pull Request

How do I contribute to this project, I have some additions for android I would like to add

@khabubu just simply submit a pull request with your suggested additions.


Warning: Unknown prop ratio on

Basic usage, getting this.
Warning: Unknown prop ratio on

I'm having the same problem. I tried to place ratio prop, no deal:
<ResponsiveEmbed src={videoEmbed} ratio='16:9' />

Same here.

@olizilla

I'd love PRs on this, and happy to add people as collaborators if you're interested.
The warning is harmless, but it should be fixed and the change should be pretty simple, it any of you have a moment to try a change.
As you're using this I'd be interested in your thoughts on this too: https://github.com/tableflip/react-responsive-embed/pull/1


How to store/download incoming chat photo/audio/video etc?

I can see the methods in the source code, but can't figure out how to use them. Could someone please show me an example code to save a photo?

if you have a file id, you can store with:
Telegraph::bot($yourBot)->store($fileId, Storage::path('your/file/path'));

otherwise, from a message (comping from a webhook or update polling):
/** @var DefStudio\Telegraph\DTO\Message $message
Telegraph::bot($yourBot)->store($message->video(), Storage::path('your/file/path'));

@fabio-ivona thank you, that helped!
Is there any way to identify the type of content sent? Or do I need to check all types?

Is there any way to identify the type of content sent? Or do I need to check all types?

no, currently there's no a built-in way to do this in a quickly


Add improved response headers

Closes #58

Only includes the X-Crafthead-Skin-Model response header on endpoints which render using the model (body and bust) and the skin endpoint.
Add the X-Crafthead-Texture-ID to every request, apparently @bribes has a use for it

Apologies for the delay in getting back to you here. We've done a lot of maintenance on this repo since this PR was opened. Is this something you're still looking for?

After https://github.com/nodecraft/crafthead/pull/42, this is going to need some rebasing unfortunately. Let me know if this is something people are still wanting!

I've updated this for the latest repo changes, including adding some tests, and will get it merged shortly. Thanks!


Can i add my  dynamic programing coding questions.

can i add more questions on dp , if yes then pls assign this to me


fft on 1 dimensional array

Hello,
is it possible to get the fft values of a 1 dimensional array?
Also, what are the imagine and real values?
Can someone explain the following?

Note: both fft and ifft expect last dimension of the array to contain 2 values: the real and the imaginary value

Thank you!

Never mind mind i figured it out.
For future reference to anyone reading, essentially you have to import an at least two dimensional array. The first column is going to be the real numbers (the actual numbers of which you want to have the fft answer) and the second, the imaginary parts (the numbers in the imaginary world, ie. the complex numbers). If you dont have any imaginary numbers, just replace them with zeros.


Syntax error on ScrollSpy

This is an interesting issue I am having. When I use the scrollspy function to initialise it, I have an error on the console "Syntax error, unrecognized expression" with the first heading reference.
I cannot reproduce it on codepen but I can produce it on JsFiddle. As you can see, the code is exactly the same but the jsfiddle has an error Uncaught Error: Syntax error, unrecognized expression: a[href=#introduction]. This also occurred on my own website when I opened a page I created in the latest build on chrome.

Same problem here. Found a solution yet?

There are two different pull requests fixing this issue (1 and 2) so i guess one of them will need to get accepted.

@themakshter This problem is occurred when we use jQuery 1.5x or higher.
So you can reproduce the bug when you use jQuery from https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js (code pen)[https://codepen.io/anon/pen/adXdqr]

Thanks @Rompei , however if I do $().jquery in my console, it indicates that my site has jQuery 1.12... Weird?

Hey @Rompei , thank you for answering.
I am not sure if this is for 1.5x or higher. If you look at my codepen, it uses 2.1.3. It is possible that 2.2.0 had this breaking change.

@themakshter  @CharlieIGG
I noticed this problem is appear when we uses latest jQuery not 1.5.x or higher.  I confirmed the error on jQuery 2.2.0 and 1.12.0, and it might be fixed on future jQuery, because there is the issue on jquery-migrate

Merged #2764 to fix this.


feat: Allow Users to Specify Kubernetes secret for TLS. Fixes #5582

Merge After: #6540
This PR allows a user to specify a secret name as a command-line parameter (--tls-certificate-secret-name) on the argo-server. Said secret would contain keys tls.key and tls.crt in order to provide a mechanism by which they can bring their own certificates (e.g. from cert-manager, Bitnami Sealed Secrets, generic Kubernetes secret).
This PR tries to follow a similar implementation to what is seen in Argo CD (https://github.com/argoproj/argo-cd/pull/6071), for maintainability.
Marked as WIP until the following is completed:

Unit Tests
Documentation

Change to draft while WIP.

@alexec I am looking to take some time, hopefully tomorrow, to get this ready for release. I'll sync it with master, make sure unit tests are written and update documentation.
If there's anything else you need me to do please let me know.
Thanks!

@alexec sorry for not updating this PR in so long. Unfortunately, the state of the commits and the fact that so many of them are signed has held me back. I will fix this now.

closing this PR in place of https://github.com/argoproj/argo-workflows/pull/7621


Unexpected type img for face_locations() if model='cnn' and bacth_size less than 128

face_recognition version: 1.3.0
Python version: python 3.6.8
Operating System: Ubuntu 18.04.4

Description
When I run face_locations() it appears 'cnn' and 'hog' detector wait for different type of the image.
If batch size is 64 than 'cnn' expects img to be a list of numpy arrays, when `'hog' wants just a numpy array.
type(face_image) # --> ndarray
raw_face_loc = face_api.cnn_face_detector(face_image, 1, 64)

Output
__call__(): incompatible function arguments. The following argument types are supported:
    1. (self: dlib.cnn_face_detection_model_v1, imgs: list, upsample_num_times: int=0, batch_size: int=128) -> std::vector<std::vector<dlib::mmod_rect, std::allocator<dlib::mmod_rect> >, std::allocator<std::vector<dlib::mmod_rect, std::allocator<dlib::mmod_rect> > > >
    2. (self: dlib.cnn_face_detection_model_v1, img: array, upsample_num_times: int=0) -> std::vector<dlib::mmod_rect, std::allocator<dlib::mmod_rect> >

Invoked with: <dlib.cnn_face_detection_model_v1 object at 0x7f04bff46458>, array([[[ 87, 116, 134],
        [ 80, 109, 127],
        ...,

        [  2,   0,   8]]], dtype=uint8), 1, 64

Did you forget to `#include <pybind11/stl.h>`? Or <pybind11/complex.h>,
<pybind11/functional.h>, <pybind11/chrono.h>, etc. Some automatic
conversions are optional and require extra headers to be included
when compiling your pybind11 module.

If we run cnn with a list [ndarray]
type(face_image) # --> ndarray
raw_face_loc = face_api.cnn_face_detector([face_image], 1, 64)
type(raw_face_loc) # --> <class 'dlib.mmod_rectangless'>
type(raw_face_loc[0]) # --> <class 'dlib.mmod_rectangles'> NOTE rectangleS, and above rectangleSS

Because of such return type mmod_rectangless, face_locations() has incorrect if.
    if model == "cnn":
       return [_trim_css_to_bounds(_rect_to_css(face.rect), img.shape) for face in _raw_face_locations(img, number_of_times_to_upsample, "cnn") ]

as face has no rect attr, face[0] does have.

Hi,
Did you find a resolution?  I just hit the same problem.
I have pretty much the same environment.  Only difference is I have face_recognition 1.2.3
Thanks,
Tim

Hi, try to create your one function:
import face_recognition
from face_recognition import api as face_api

def face_locations(img, number_of_times_to_upsample=1, batch_size=64):
    raw_face_loc = face_api.cnn_face_detector([img], number_of_times_to_upsample, batch_size) # <-- wrap your image to list
    face_locations = []
    for face_loc in _raw_face_locations:
         face_locations.append([_trim_css_to_bounds(_rect_to_css(face.rect), img.shape) for face in face_loc]
    return face_locations


container_lxc: use lxc.mount.auto shmounts: option

Let's use the dedicated shmouts option for lxc.mount.auto mounts in
liblxc.
Needed-by: https://github.com/lxc/lxd/issues/5227
Signed-off-by: Christian Brauner<EMAIL_ADDRESS>

Can we do away with that debug logging? it'd get pretty verbose pretty quick on systems running with --debug (and slow down clusters as those messages need to be forwarded)

done

@stgraber, updated.


fix #18

Fixes #18

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Show backtrace in 500 statuses using inspect_with_backtrace

Exception#to_s is actually showing Exception#message and nothing else (https://github.com/crystal-lang/crystal/blob/60777f31ea84f8fd627bfec448ac86bd6221c161/src/exception.cr#L148)

Converted it to Exception#inspect_with_backtrace (https://github.com/crystal-lang/crystal/blob/60777f31ea84f8fd627bfec448ac86bd6221c161/src/exception.cr#L160) to see. Put :red logs to the STDOUT via logger.
Styled the backtrace in the HTML view.

Wow. This is really impressive :+1:

Maybe make a settings in config or something, most people don't want to show a backtrace in production.

@jmoriau It's already hidden in production.
message = verbosity ? "
#{backtrace}
" : "
Something wrong with the server :(
"

and the verbosity is
verbosity = Kemal.config.env != "production"

Oh my bad I didn't read it carefully :+1:

It has a view something like that:

@jmoriau I removed the ternary and amended. Now it's more readable :)

Thanks :+1:


[Bug]: Error in connectDataverse

What happened?
When connected on dataverse url
What version of the tool are you using?
2.2.1
What version of Visual Studio Code are you running?
No response
Any relevant session id from VSCode?
d3b02080-cb09-44bb-8670-4eabcc02072e1732621059304
Relevant log output
VSCode version: 1.95.3.
Extension version: 2.2.1.
Error occured in connectDataverse command.
Error code: SELF_SIGNED_CERT_IN_CHAIN.
Error message: request to https://*******.dynamics.com/api/data/v9.2/EntityDefinitions failed, reason: self signed certificate in certificate chain.
Error stack: FetchError: request to https://*******.dynamics.com/api/data/v9.2/EntityDefinitions failed, reason: self signed certificate in certificate chain
	at ClientRequest.<anonymous> (c:\Users\******\.vscode\extensions\danish-naglekar.dataverse-devtools-2.2.1\dist\extension.js:2:879808)
	at ClientRequest.emit (node:events:531:35)
	at emitErrorEvent (node:_http_client:101:11)
	at TLSSocket.socketErrorListener (node:_http_client:504:5)
	at TLSSocket.emit (node:events:519:28)
	at emitErrorNT (node:internal/streams/destroy:169:8)
	at emitErrorCloseNT (node:internal/streams/destroy:128:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21).

There is a self certificate requirement for the login. Currently that is unsupported by this tool. Please use clientid and secret


Added a link to Web SDK topic on tenant admin consent flow in a ucwa topic

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Migrate core package 'base16-tomorrow-light-theme' into Atom repo

This issue tracks the steps necessary to migrate the base16-tomorrow-light-theme package into the core atom/atom repository under the packages path:
Migration Checklist
Phase 1 - Prepare repo for migration

[x] Merge or close existing pull requests on the atom/base16-tomorrow-light-theme repository

Some guidelines for merging vs closing PRs:

Merge when the PR is small, useful, has no merge conflicts with master, and has passing tests
Close when the changes are non-trivial, the PR has conflicts with master, or there are failing tests in CI

If you close a PR, let the user know that we are currently moving the repository over to atom/atom so they should feel free to reopen the pull request there once the package code has been migrated.
Phase 2 - Migrate the package code

[x] Create a fresh branch off master in your local clone of atom/atom with the name migrate-base16-tomorrow-light-theme-package
[x] Delete Atom's node_modules folder if you've built there before and make sure Atom's package-lock.json file is unmodified
[x] Clone the  atom/base16-tomorrow-light-theme repo into the packages path of your local Atom repository and then delete its .git subfolder
[x] Delete any unnecessary repo configuration files in the packages/base16-tomorrow-light-theme folder like appveyor.yml, .travis.yml, ISSUE_TEMPLATE.md, and PULL_REQUEST_TEMPLATE.md
[x] Remove any information from the package's README.md which will be inaccurate after the migration is complete (e.g. CI status badges or contribution instructions)
[x] Edit Atom's package.json file to change the following:

[x] Update the base16-tomorrow-light-theme entry in packageDependencies to reflect the local path of the package:"base16-tomorrow-light-theme": "file:./packages/base16-tomorrow-light-theme",

[x] Delete the base16-tomorrow-light-theme entry in the dependencies section since it may contain a hardcoded tarball link.  This will help avoid issues in the next step
[x] Change the repository field to point to the main repo URL https://github.com/atom/atom

[x] Run a full Atom build using script/build and verify that there are no unexpected build errors
[x] Launch the Atom binary in the ./out folder and manually verify that the migrated package is working without any obvious issues.  For example, if you're migrating a color theme, turn on that theme to make sure that it changes the editor colors as expected.
[x] Open the Chrome Developer Tools console (Ctrl+Shift+I or Cmd+Option+I) and ensure that there are no errors written there.  If there are, add them to this issue and investigate.
[x] Update the second column of the base16-tomorrow-light-theme row in packages/README.md to reflect the new local path for the package:[`./packages/base16-tomorrow-light-theme`](./base16-tomorrow-light-theme)

[x] Commit the migrated package code and any changes to Atom's package-lock.json files to your branch using this commit message::arrow_right: Migrate core package 'base16-tomorrow-light-theme' into ./packages

Phase 3 - Make sure the package works and send a PR

[x] Run the full suite of Atom tests with script/test and verify that they pass locally
[x] If any tests fail, investigate and fix them then commit the fixes to your branch
[x] Create a PR against atom/atom to verify that CI passes
[x] Once CI is clean and the PR is approved, merge it

Phase 4 - Archive the base16-tomorrow-light-theme repo

[x] Move all existing issues from the  base16-tomorrow-light-theme repo to atom/atom using github-issue-mover or a script
[x] Add a label titled packages/base16-tomorrow-light-theme to the migrated issues so that they can be found easily
[x] Edit the original package repo's README.md (don't commit directly) to point contributors to the code's new home in atom/atom.  You can use the following text:### This package is now a part of the [core Atom repository](https://github.com/atom/atom/tree/master/packages/base16-tomorrow-light-theme), please direct all issues and pull requests there in the future!

---

[x] Send a PR to the base16-tomorrow-light-theme repository with the updated README.md so that watchers will be notified of the change.  You do not need to wait for reviews, it can be merged immediately.
[x] Archive the package repository by going to its Settings page, scroll down to the "Danger Zone" section and click "Archive this Repository"

Migration is now complete! :tada:

Migration is complete :tada:

https://github.com/atom/atom/pull/18180
https://github.com/atom/base16-tomorrow-light-theme/pull/20


Structure panel shows extraneous "V" entries for call to "func ()"

plugin version: 0.74
Description
The second entry in the structure panel doesn't define anything.  It should not be present.

let process_args () =
  Printf.printf ""

let () =
    Printf.printf "";
    process_args ()

Fixed in 0.75

Good!


Commercial filtering on auction pages drops some lots

Base case on Christies has 180 lots

When filters it seems to stop at the upper bound of 50k and drop all lots above that

When I reset the range from 0-50K+ it filters out all the high price point works and only shows 170 lots

I works great!!


Can't version dependencies inside Gitlab subgroups

What version of dep are you using (dep version)?
dep:
 version     : devel
 build date  :
 git hash    :
 go version  : go1.9.1
 go compiler : gc
 platform    : linux/amd64

What dep command did you run?
dep ensure

What did you expect to see?
To version the dependency: gitlab.internal/team/alpha/infra.
What did you see instead?
Solving failure: remote repository at http://gitlab.internal/team/alpha.git does not exist, or is inaccessible: : exit status 128

Actually, it's a Gitlab issue:
curl "http://gitlab.internal/team/alpha/infra?go-get=1"
<meta name="go-import" content="gitlab.internal/team/alpha git http://gitlab.b2w/team/alpha.git" />%

Same... =( what to do?

Have some issues on Gitlab about this problem:

https://gitlab.com/gitlab-org/gitlab-ce/issues/37832
https://gitlab.com/gitlab-org/gitlab-ce/issues/32149

It seems it's solved, need get the last version to test.

Thanks for the tracking that @diegobernardes . :1:
Closing this since it's not related to dep.


fix tab bar position to the bottom of the header when scrolling

closes #94

based on @jdhoffa's suggestion here https://github.com/RMI-PACTA/pacta-dashboard-svelte/issues/94#issuecomment-2515377985, with additional CSS to complete the job
⚠ of course, this gets wonky if the browser window is narrow enough to make the header wrap the text and cause it to use an extra line... position relative to the header would be ideal, but not sure how to achieve that

This looks awesome!

Though there is a rather odd bug with the 2 subscript in CO2 showing up over the header haha...

Though there is a rather odd bug with the 2 subscript in CO2 showing up over the header haha...

tbh would call this non-blocking, and extract that to a new issue (unless you immediately can think of a way to address it?)

Though there is a rather odd bug with the 2 subscript in CO2 showing up over the header haha...

🤣 so bizarre, I guess the subscript has a z-index somehow, looks like setting a z-index on the tab bar fixes this


How to put the project covalent into JavascriptService Template

Covalent is a great project based on Angular and Material Design,But I failed to try to combine this project.
Anyone help?

Sorry, I don't have any specific experience with Covalent (nor had I heard of it before your post) so don't have any specific tips. Since the project templates in this repo give you a standard Webpack setup, whatever information Covalent has about working with Webpack should apply here too.


Reordering start cards should be forbidden

Noticed while working on #385
You can drag to reorder start cards in the UI, but shouldn't be able to. (When you drop it, it doesn't reorder it, becuase foundInSection is false within reorderCards).
This is more important now that start_cards can have more than one card, and show up more often.
0 to collection.numStartCards should not have a dragstart.
And card-drawer should take the full collection, not just a list of cards.

[ ] If the collection is passed in directly, remove unused selectors


Docker run fails: px4-rc.simulator: ign: not found

Steps to reproduce:

docker build -t px4-gazebo-headless .
docker run --rm -it px4-gazebo-headless

The build is successful. The docker-run command fails and results in the following log:
...(omitted)...
INFO  [dataman] data manager file './dataman' size is 7866640 bytes
PX4_SIM_MODEL: iris
PX4_SIM_WORLD: empty
etc/init.d-posix/rcS: 10: /root/Firmware/build/px4_sitl_default/tmp/rootfs/etc/init.d-posix/px4-rc.simulator: ign: not found
ERROR [px4] Startup script returned with return value: 32512
[100%] Built target gazebo_iris__empty

The problem does not occur when directly pulling from Docker hub: docker run --rm -it jonasvautherin/px4-gazebo-headless:1.13.0
I did a manual build last week and that worked just fine. There are no changes on this repo, and the PX4 gazebo build works just fine (make px4_sitl gazebo). So not sure where something changed that is affecting this?

By default it's building the main branch, which apparently needs some changes :+1:.

I did try to clone the stable release of PX4, still got the same error.
# In Dockerfile
RUN git clone --branch v1.13.0 https://github.com/PX4/PX4-Autopilot.git ${FIRMWARE_DIR}

Hmm I actually tried your exact commands, and it just worked for me:
docker build -t px4-gazebo-headless .
docker run --rm -it px4-gazebo-headless

I did a full rebuild and now it also works again for me. I tried it several times yesterday and today. Maybe a linux-package was broken?
Anyways. Guess this is resolved now. Thanks for checking.


Simplify some x_button methods.

Unify and simplify x_button code.

@martinpovolny @dclarizio please label euwe/yes or euwe/no


Deterministic promise resolution

We want the js author to be able to rely on deterministic order of promise resolution to avoid surprises and generate non-determinitic configuration.
We do this by making the order of promise resolution be the same as promise creation, serializing the deferred goroutines before they re-enter v8 to resolve the promises.
Fixes: #110

Elegant.


Update patch release schedule for September and add shortcode for patch releases

Changes:

[data/release] update patch releases for September
[data/release]: add data file for End of Life releases
release: move markdown tables to shortcode
release: add patch release dates for Nov and Dec 2022

Note: The Notes column in the page needs some more curation to render links from the datafile. This can be taken up as an improvement.

/cc @kubernetes/release-engineering

/priority critical-urgent

I'm not going to /lgtm cancel this but my concerns about localization mean that I was tempted to.

@palnabarun maybe can we split the pr as recommended? and in one we keep the old way and just update the dates and in the other we add this new thing, wdyt?

Yes, let's please just update the dates to start.

Fair enough. Split the changes into two PRs:

Adding September patch releases: https://github.com/kubernetes/website/pull/36631
Moving to a shortcode for generating the patch release schedule: This PR.

/retitle Generate Patch Release table using Hugo Shortcode
/priority important-longterm

/area web-development
/lgtm cancel
(as this PR has been repurposed)

I have rebased this PR on top of the changes in https://github.com/kubernetes/website/pull/36631.

Isn't the plain markdown table easier to read and maintain? Why bother adding shortcode for an additional conversion? Am I missing something?

Also, if you've got time to squash this down to 1 or 2 commits, that'll help avoid merge conflicts with the 1.26 changes, whilst preserving a clear history.

The PR had changes from the September update PR as well. I had intentionally kept them till the other PR was merged to make it easier for me to avoid conflicts. Now that the other PR has merged. I have rebased.

Isn't the plain markdown table easier to read and maintain? Why bother adding shortcode for an additional conversion? Am I missing something?

@tengqm -- The markdown table is easier to read, but it is hard to maintain since every month, we need to make changes at two places (data/schedule and the patch-releases page) with the same info. This is redundant and makes the updates error-prone. https://kubernetes.io/releases/ is already a generated page, and this PR attempts to follow the same steps for https://kubernetes.io/releases/patch-releases/

@sftim -- can you please have a look again? I've resolved almost all review comments.

A side effect of this approach is that if we want to we can emit a warning if the data aren't right (and still build the site, even with the warning). That should help folk pick up mistakes that wouldn't show up with edits to a Markdown table.
No need to implement warnings here. It's nice that they become much more easy to add.

BTW, this repo will preserve LGTM through a squash of a commits, provided you keep the same merge base.

I've squashed the changes. This should be good to merge.

/lgtm

I'm happy to approve this if it gets an LGTM from someone else (it's a non-trivial change to the live site).

This is incredible! Great work @palnabarun and good feedback @sftim. Really happy to see some of these manual parts automated.
/approve

Thanks @jimangel! And thank you @sftim for the extensive reviews!


gcc: downgrade to 11 when cross-compiling on aarch64-darwin

Description of changes
There is currently an issue when compiling a foreign toolchain on aarch64-darwin 0. Until this is fixed, let's use GCC 11 in this scenario, where it works.
Fixes #217003.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Per https://github.com/iains/gcc-12-branch/issues/18#issuecomment-1435792834, we may be better off doing this:
diff --git a/pkgs/development/compilers/gcc/12/default.nix b/pkgs/development/compilers/gcc/12/default.nix
index 63168968cd6..61b1bdcd645 100644
--- a/pkgs/development/compilers/gcc/12/default.nix
+++ b/pkgs/development/compilers/gcc/12/default.nix
@@ -64,7 +64,7 @@ let majorVersion = "12";
         ../gnat-cflags-11.patch
         ../gcc-12-gfortran-driving.patch
         ../ppc-musl.patch
-      ] ++ optional (stdenv.isDarwin && stdenv.isAarch64) (fetchpatch {
+      ] ++ optional (stdenv.isDarwin && stdenv.isAarch64 && buildPlatform == targetPlatform) (fetchpatch {
         name = "gcc-12-darwin-aarch64-support.patch";
         url = "https://github.com/Homebrew/formula-patches/raw/1d184289/gcc/gcc-12.2.0-arm.diff";
         sha256 = "sha256-omclLslGi/2yCV4pNBMaIpPDMW3tcz/RXdupbNbeOHA=";

LGTM, can't test those platforms (neither armv8/aarch64 nor darwin; much less cross from aarch64-darwin)

Superseded by #217058.


Frightening error messages

When following the TodoMVC tutorial:
initTodos very frightening until renamed

now a better coder, coders are not afraid.


Custom Integration listing

I have several custom_components that i would like to be listed in store so i followed the instructions, splitted them into separate repos and they are still not showing up. Or do i have to get them listed in data branch?
https://github.com/pilotak/homeassistant-clientraw
https://github.com/pilotak/homeassistant-attributes
https://github.com/pilotak/homeassistant-mikrotik

https://custom-components.github.io/hacs/developer/include_default_repositories/


Adding stats and the ability to display them

The user should be able to display their and other stats through commands

Implemented