Time outs connecting to servers

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Performance Issue
I encounter timeouts when connecting to servers and clusters.

Azure Data Studio version: Azure Data Studio 1.0.0 (cab8f3e37c9ac4367e0dacef5185da08bd8021c2, 2018-09-20T21:41:50.803Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
16.00GB (0.30GB free)

Process Argv
/Applications/Azure Data Studio.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   49	   180	 11234	azuredatastudio main
    2	   115	 11235	   gpu-process
    0	   377	 11236	   window (chinookss.database.windows.net)
    0	   180	 11243	     extensionHost
    0	    49	 11273	       /Users/gengelb/.azuredatastudio/extensions/microsoft.sql-vnext-0.6.9/scaleoutdataservice/OSX/0.1.0/MicrosoftSqlToolsScaleOutData --log-dir /Users/gengelb/Library/Application Support/sqlops/scaleoutdata
    0	    82	 11282	       /Applications/Azure Data Studio.app/Contents/Resources/app/extensions/mssql/sqltoolsservice/OSX/1.5.0-alpha.34/MicrosoftSqlToolsServiceLayer --log-dir /Users/gengelb/Library/Application Support/azuredatastudio/mssql
    0	    33	 11285	       /Users/gengelb/.azuredatastudio/extensions/microsoft.import-0.2.0/flatfileimportservice/OSX/0.0.2/MicrosoftSqlToolsFlatFileImport --log-dir /Users/gengelb/Library/Application Support/azuredatastudio/flatfileimport
    0	    49	 11286	       /Applications/Azure Data Studio.app/Contents/Resources/app/extensions/mssql/sqltoolsservice/OSX/1.5.0-alpha.34/SqlToolsResourceProviderService --log-dir /Users/gengelb/Library/Application Support/azuredatastudio/mssql
    0	    49	 11287	       /Applications/Azure Data Studio.app/Contents/Resources/app/extensions/mssql/sqltoolsservice/OSX/1.5.0-alpha.34/MicrosoftSqlToolsCredentials --log-dir /Users/gengelb/Library/Application Support/azuredatastudio/mssql
    0	    33	 11401	       electron_node jsonServerMain.js
    0	    16	 13483	       python3.6 /Users/gengelb/.scaleoutdata/python/0.0.1/bin/jupyter-notebook --no-browser --notebook-dir /Users/gengelb --port=8890 --NotebookApp.token=825d4b6faae550902a7e5c908ee709ff4449be2b84801457
    0	    16	 13492	         /Users/gengelb/.scaleoutdata/python/0.0.1/bin/python3.6 -m sparkmagic.kernels.pyspark3kernel.pyspark3kernel -f /Users/gengelb/Library/Jupyter/runtime/kernel-a1c059eb-1089-4f3a-858a-72a468fcbcc1.json
    0	    16	 13499	       python3.6 /Users/gengelb/.scaleoutdata/python/0.0.1/bin/jupyter-notebook --no-browser --notebook-dir /Users/gengelb --port=8889 --NotebookApp.token=ac4631526b99cb732a02ad7d17b2997d89c666de9f2d3b94
    0	    16	 13506	         /Users/gengelb/.scaleoutdata/python/0.0.1/bin/python3.6 -m sparkmagic.kernels.pyspark3kernel.pyspark3kernel -f /Users/gengelb/Library/Jupyter/runtime/kernel-4b58a5df-b4aa-4510-ac0c-c645f6f53de3.json
    0	    16	 13515	       python3.6 /Users/gengelb/.scaleoutdata/python/0.0.1/bin/jupyter-notebook --no-browser --notebook-dir /Users/gengelb --port=8888 --NotebookApp.token=424630d814192e407d974ae4be159c76f1c632cc9992c7d4
    0	    16	 13522	         /Users/gengelb/.scaleoutdata/python/0.0.1/bin/python3.6 -m sparkmagic.kernels.pyspark3kernel.pyspark3kernel -f /Users/gengelb/Library/Jupyter/runtime/kernel-e37f9eb0-aa64-4db9-8316-7ac4ddf69b14.json
    0	    16	 13698	       python3.6 /Users/gengelb/.scaleoutdata/python/0.0.1/bin/jupyter-notebook --no-browser --notebook-dir /Users/gengelb/Desktop/ADS --port=8891 --NotebookApp.token=726aea0a5de46574c01172af86c36ada8c8164e8d8064923
    0	    82	 14411	         /Users/gengelb/.scaleoutdata/python/0.0.1/bin/python3.6 -m sparkmagic.kernels.pyspark3kernel.pyspark3kernel -f /Users/gengelb/Library/Jupyter/runtime/kernel-33246baf-ba3a-41c1-b494-bd003a54ce77.json
    0	    16	 14744	       python3.6 /Users/gengelb/.scaleoutdata/python/0.0.1/bin/jupyter-notebook --no-browser --notebook-dir /Users/gengelb/Desktop/ADS --port=8892 --NotebookApp.token=acb7381d8c3ffdd988d54d46fc1e1e41d4a860bbecaa2f7f
    0	    16	 14753	         electron_node bdbe.js
    0	    49	 11244	     searchService
    0	    82	 11247	   shared-process
    0	    49	 13701	   window (undefined)
    0	    49	 13714	   window (undefined)
    0	    66	 13930	   window (undefined)
    0	    49	 14402	   window (undefined)
    0	    33	 14748	   window (undefined)
    0	    33	 14761	   window (undefined)
    2	    82	 15179	   window (Issue Reporter)
    9	     0	 15181	   (ps)
   12	     0	 15182	   (ps)
   14	     0	 15183	   (ps)
   16	     0	 15184	   (ps)
   16	     0	 15185	   (ps)
    8	     0	 15186	   (ps)
    0	     0	 15187	   /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=

Workspace Info
;

Extensions (4)

Extension
Author (truncated)
Version

agent
Mic
0.33.0

import
Mic
0.2.0

profiler
Mic
0.2.0

sql-vnext
Mic
0.6.9

@gengelbms I'm not sure there is much we can do client-side for timeouts connecting to servers.  Probably the recommendation would be to increase the timeout in the Connection Dialog Advanced options, or troubleshot either the network or server load.  Is there any reason to suspect this is a client-side issue?

@gengelbms I agree that the timeout is likely not client-side.  It is likely related to network connectivity or server responsiveness issues if I had to guess.  Typically a timeout means that there was some type of communication error with the server.
One exception would be on the 1-core scenario where SqlClient is timing-out during the handshake.  Though this is pretty rare and likely wouldn't occur on both your mac and Windows box.
Have you tried using SSMS from the Windows machine to connect to the same server?  If you can repro the timeout in ADS and then concurrently connect successfully in SSMS this would help scope the investigation.  If you do this test, you should connect from both tools at about the same time to eliminate the impact transient network issues.

Sounds good. I will these this tomorrow morning.
George Engelbeck
Senior Design Researcher | Azure Data Platform
Microsoft Corporation
Mobile: + 1.425.281.0836
http://aka.ms/weboutlook

From: Karl Burtram<EMAIL_ADDRESS>Sent: Wednesday, October 17, 2018 3:12 PM
To: Microsoft/azuredatastudio
Cc: George Engelbeck; Mention
Subject: Re: [Microsoft/azuredatastudio] Time outs connecting to servers (#2913)
@gengelbmshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgengelbms&data=02|01|gengelb%40microsoft.com|e20003917e7949ae2c0608d6347da371|72f988bf86f141af91ab2d7cd011db47|1|0|636754111554178459&sdata=V%2FNqTEazV01BA7lpIJSG5q02Ry6lRXa1%2BY6lhNO7%2FZ4%3D&reserved=0 I agree that the timeout is likely not client-side. It is likely related to network connectivity or server responsiveness issues if I had to guess. Typically a timeout means that there was some type of communication error with the server.
One exception would be on the 1-core scenario where SqlClient is timing-out during the handshake. Though this is pretty rare and likely wouldn't occur on both your mac and Windows box.
Have you tried using SSMS from the Windows machine to connect to the same server? If you can repro the timeout in ADS and then concurrently connect successfully in SSMS this would help scope the investigation. If you do this test, you should connect from both tools at about the same time to eliminate the impact transient network issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fazuredatastudio%2Fissues%2F2913%23issuecomment-430807866&data=02|01|gengelb%40microsoft.com|e20003917e7949ae2c0608d6347da371|72f988bf86f141af91ab2d7cd011db47|1|0|636754111554188467&sdata=vwIbyENDtFpEaePfE4H%2BHcM%2Fqlo%2BYNHvv5HlLolkOy4%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAn_E6cnF5gzYpzbUDOGbj9Ye5-E-yuiHks5ul6tQgaJpZM4XibCQ&data=02|01|gengelb%40microsoft.com|e20003917e7949ae2c0608d6347da371|72f988bf86f141af91ab2d7cd011db47|1|0|636754111554188467&sdata=wl7GNpjuS7B8ufQN5c1upqfagFWOsDI1giEU%2BvjlTzs%3D&reserved=0.

Have you tried using SSMS from the Windows machine to connect to the same server? If you can repro the timeout in ADS and then concurrently connect successfully in SSMS this would help scope the investigation.

SSMS was very fast. Click..Done.

ADS (on Mac) spun the doughnut for a good 20-30 seconds.

ADS (on Windows) took 2-3 seconds.

George Engelbeck
Senior Design Researcher | Azure Data Platform
Microsoft Corporation
Mobile: + 1.425.281.0836
http://aka.ms/weboutlook

From: Karl Burtram<EMAIL_ADDRESS>Sent: Wednesday, October 17, 2018 3:12 PM
To: Microsoft/azuredatastudio
Cc: George Engelbeck; Mention
Subject: Re: [Microsoft/azuredatastudio] Time outs connecting to servers (#2913)
@gengelbmshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgengelbms&data=02|01|gengelb%40microsoft.com|e20003917e7949ae2c0608d6347da371|72f988bf86f141af91ab2d7cd011db47|1|0|636754111554178459&sdata=V%2FNqTEazV01BA7lpIJSG5q02Ry6lRXa1%2BY6lhNO7%2FZ4%3D&reserved=0 I agree that the timeout is likely not client-side. It is likely related to network connectivity or server responsiveness issues if I had to guess. Typically a timeout means that there was some type of communication error with the server.
One exception would be on the 1-core scenario where SqlClient is timing-out during the handshake. Though this is pretty rare and likely wouldn't occur on both your mac and Windows box.
Have you tried using SSMS from the Windows machine to connect to the same server? If you can repro the timeout in ADS and then concurrently connect successfully in SSMS this would help scope the investigation. If you do this test, you should connect from both tools at about the same time to eliminate the impact transient network issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fazuredatastudio%2Fissues%2F2913%23issuecomment-430807866&data=02|01|gengelb%40microsoft.com|e20003917e7949ae2c0608d6347da371|72f988bf86f141af91ab2d7cd011db47|1|0|636754111554188467&sdata=vwIbyENDtFpEaePfE4H%2BHcM%2Fqlo%2BYNHvv5HlLolkOy4%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAn_E6cnF5gzYpzbUDOGbj9Ye5-E-yuiHks5ul6tQgaJpZM4XibCQ&data=02|01|gengelb%40microsoft.com|e20003917e7949ae2c0608d6347da371|72f988bf86f141af91ab2d7cd011db47|1|0|636754111554188467&sdata=wl7GNpjuS7B8ufQN5c1upqfagFWOsDI1giEU%2BvjlTzs%3D&reserved=0.

I'm writing here since I have this issue basically any day; I'm able to connect right a way from SSMS while I can't connect from ADS. Restarting ADS doesn't solve the issue, which seems to present itself randomly.
I have the same issue with query execution, which sometimes don't start right away but get "stuck"
How can I help you solve this? Which logs do I need to provide?

Closing this as a dupe of #1727 - there's a lot of general timeout issues and for cleanup purposes I'm going to bucket them all in one place.

Are you specifying the database you are trying to connect to? I was having the same issue becuase I was not. As soon as I specified a database the problem went away.


[EASI-3509] - Fixed null render on readonly

EASI-3509
Changes and Description

Fixed null render values for readonly

How to test this change

PR Author Review Checklist

[ ] Met the ticket's acceptance criteria, or will meet them in a subsequent PR.
[ ] Added or updated tests for backend resolvers or other functions as needed.
[ ] Added or updated client tests for new components, parent components, functions, or e2e tests as necessary.
[ ] Updated the Postman Collection if necessary.

PR Reviewer Guidelines

It's best to pull the branch locally and test it, rather than just looking at the code online!
Check that all code is adequately covered by tests - if it isn't feel free to suggest the addition of tests.
Always make comments, even if it's minor, or if you don't understand why something was done.

Tested locally - looks good!
The reason that this works (and doesn't render '') seems to be because the ReadOnlySection specifically handles falsy copy properties as using the miscellaneous "na" translation (which took me a sec, looking at this PR!)

Actually I think it was due to the template literal being passed a null value, and doesn't have a map for null.  So instead of returning null, it returns a string of the unmapped template literal - model.options.null


Add ability to run apps from GUI

This PR introduces the ability to run Demo Apps from Qt GUI and then terminate them when we're done playing with the app
Usage demo
https://user-images.githubusercontent.com/5244214/147253793-23820ed0-4fdb-4ecb-8217-818239535e15.mov

:+1:
@VanDavv can you create a separate tab for these?
(or maybe later on when more apps arrive)
Could also maybe be named "Pipelines", for more fully featured examples to "coin the term" - this would signify a specific workload/problem that the "app" solves, eg. People Counting Pipeline, ... (note: not to be confused with device side pipeline of depthai-core)

My understanding of the apps is that they enable features that are easier to run from a script file, rather than a demo - so UVC, mjpeg, webrtc etc would work now.
For apps that have a preview - this is more tricky, as we're running these apps in a separate process, so communication between these is limited. I hope that we will be able to use CV preview in these, didn't check it yet but it might cause issues as QT is loaded at the same time. Will investigate it further a bit later (would like to add other features first and put focus to testing on different platforms)
Regarding "people counting pipeline" and other custom pipelines - this might be actually other feature of the demo we can use in parallel with apps. Since the demo script is modular, we could potentially replace both setup and run functions with different ones and still use the demo in the same manner. So, implementing pipelines like people counting could be done directly in the demo itself. But this is just an idea and it might turn out to be more difficult to implement than it seems, we can discuss this approach further

And since we have just a single app, I didn't create a separate tab for them yet. With current placement it should be enough for 4-5 apps to fit, and if we get to this point we can create a separate space just for them

@themarpe let's discuss this further offline, will merge this PR for now and if we decide to change/rework the apps, will address in a separate PR


I would like to know the PP agent marking the process, I should start from where

I would like to know how pp agent is sending tracking data to the collector, I did not find in the PP agent module JAVA code.Could you provide some ideas?Thank you very much

I think that pinpoint-agent is just a packager to other projects.
If you want to see the code, looking for pinpoint-bootstrap, pinpoint-commons, pinpoint-bootstrap-core, pinpoint-bootstrap-core-optional and pinpoint-plugins.
Repeating I do not know this is a correct answer.

Hi @hwt2016
What @marcoblos said is exactly right.
If you'd like to dig in deeper, please take a look at pinpoint-profiler, as well as the packages @marcoblos mentioned.
DefaultAgent should give you a nice place to start.


get_platform_status() doesn't work

get_platform_status() doesn't work. I looked a bit into the code and I think you used region=self.reigon but I think you should have used code=self.region.
Although I'm not 100% sure.

Can you please specify what error was raised or what get_platform_status() returned? I might've messed up the region string formatting.=P

Here!
Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "\valorant\client.py", line 66, in get_platform_status     url = _build_url(reigon=self.reigon, endpoint="status") TypeError: _build_url() got an unexpected keyword argument 'reigon'

@teaishealthy It looks like I put in the wrong kwarg, but I've fixed it now. Thanks!


Propagate require() reasons to the DApp

When a require() in our contracts fails, they usually have a reason string that propagates to web3. This reason string is visible in our tests. For some reason, the require() is not propagating to to the DApp. Instead, we get a generic and unhelpful JSON-RPC error. This should be fixed to avoid wasting time investigating what should be simple issues.

It doesn't look like this is possible, because MetaMask isn't propagating the reason string:
https://github.com/MetaMask/metamask-extension/issues/4559
I'll see if there's another way, but I'm not too optimistic, because the error object thrown by MetaMask doesn't contain any info except the error code and the generic error message.


Installing extension via .vsix no longer working.

VSCode Version:
Insider Build.

OS Version:

Steps to Reproduce:

Open VSCode (With/Without admin privileges.)
Attempt to install .vsix package

Does this issue occur when all extensions are disabled?: Yes
I am getting the following message, which at first I thought was a windows privilege issue but it is still occurring with VSCode launched on windows with escalated privileges. Company group policy settings has my user account set up as a local Administrator on any machine I log onto.
This is an extension I have built and just made changes to, once I had finished dev/testing of functionality I would create a package via cmd> vsce package - Install the package via the extensions and 'install from .vsix' option. This no longer seems to be working.
I have also tried renaming and then uninstalling the previous version of the extension in case it was an issue around the existing one. No dice.
EPERM: operation not permitted, rename 'C:\Users\username\.vscode-insiders\extensions\.companyName.extensionName-0.1.1' -> 'C:\Users\username\.vscode-insiders\extensions\companyName.extensionName-0.1.1'

Another thing to note, manually extracting the 'extension' folder, renaming and popping it into the extension directory manually works fine and the extension is working perfectly.

Can you please double check the version on which this is happening? Because code that is causing this error is not there in version 1.21.0. This is recent code and issue was occurring only in insiders and got fixed.
This issue is known (in insiders) - because of Windows Defender and fixed here. Please update to latest insiders and try.

@sandy081 apologies I had attached the wrong version information.
Here;

I had a pending update so I grabbed that, still happening.

I see. I think I know why. It is because the folder with same name exists and hence rename is failing. I should be deleting the folder (with same name) before rename.

@sandy081 Yes, so on the updated insider build, I deleted the extension completely and then installed from .vsix and it worked. So currently it is better than it was, but not fixed. Cheers!


missing some structure and constant for windows console

currently winapi missing some structure and constant from windows console subsystem.
This is some of them:
#[repr(C)]
#[derive(Copy)]
pub struct KEY_EVENT_RECORD {
    pub bKeyDown : BOOL,
    pub wRepeatCount : WORD,
    pub wVirtualKeyCode : WORD,
    pub wVirtualScanCode : WORD,

    // Rust don't support union so we use the widest type as default
    // union {
        pub UnicodeChar : WCHAR,
        // pub AsciiChar : CHAR,
    // } uChar;

    pub dwControlKeyState : DWORD,
}
pub type PKEY_EVENT_RECORD = *mut KEY_EVENT_RECORD;

// ControlKeyState flags
pub const CAPSLOCK_ON : DWORD        = 0x0080; // the capslock light is on.
pub const RIGHT_ALT_PRESSED : DWORD  = 0x0001; // the right alt key is pressed.
pub const LEFT_ALT_PRESSED : DWORD   = 0x0002; // the left alt key is pressed.
pub const RIGHT_CTRL_PRESSED : DWORD = 0x0004; // the right ctrl key is pressed.
pub const LEFT_CTRL_PRESSED : DWORD  = 0x0008; // the left ctrl key is pressed.
pub const SHIFT_PRESSED : DWORD      = 0x0010; // the shift key is pressed.
pub const NUMLOCK_ON : DWORD         = 0x0020; // the numlock light is on.
pub const SCROLLLOCK_ON : DWORD      = 0x0040; // the scrolllock light is on.
pub const ENHANCED_KEY : DWORD       = 0x0100; // the key is enhanced.

#[repr(C)]
#[derive(Copy)]
pub struct MOUSE_EVENT_RECORD {
    pub dwMousePosition : COORD,
    pub dwButtonState : DWORD,
    pub dwControlKeyState : DWORD,
    pub dwEventFlags : DWORD,
}
pub type PMOUSE_EVENT_RECORD = *mut MOUSE_EVENT_RECORD;

// ButtonState flags
pub const FROM_LEFT_1ST_BUTTON_PRESSED : DWORD = 0x0001;
pub const RIGHTMOST_BUTTON_PRESSED : DWORD     = 0x0002;
pub const FROM_LEFT_2ND_BUTTON_PRESSED : DWORD = 0x0004;
pub const FROM_LEFT_3RD_BUTTON_PRESSED : DWORD = 0x0008;
pub const FROM_LEFT_4TH_BUTTON_PRESSED : DWORD = 0x0010;

// EventFlags
pub const MOUSE_MOVED : DWORD  = 0x0001;
pub const DOUBLE_CLICK : DWORD = 0x0002;

#[repr(C)]
#[derive(Copy)]
pub struct WINDOW_BUFFER_SIZE_RECORD {
    pub dwSize : COORD,
}
pub type PWINDOW_BUFFER_SIZE_RECORD = *mut WINDOW_BUFFER_SIZE_RECORD;

#[repr(C)]
#[derive(Copy)]
pub struct MENU_EVENT_RECORD {
    pub dwCommandId : UINT,
}
pub type PMENU_EVENT_RECORD = *mut MENU_EVENT_RECORD;

#[repr(C)]
#[derive(Copy)]
pub struct FOCUS_EVENT_RECORD {
    pub bSetFocus : BOOL,
}
pub type PFOCUS_EVENT_RECORD = *mut FOCUS_EVENT_RECORD;

// EventType flags:
pub const KEY_EVENT : WORD =  0x0001; // Event contains key event record
pub const MOUSE_EVENT : WORD =  0x0002; // Event contains mouse event record
pub const WINDOW_BUFFER_SIZE_EVENT : WORD =  0x0004; // Event contains window change event record
pub const MENU_EVENT : WORD =  0x0008; // Event contains menu event record
pub const FOCUS_EVENT : WORD =  0x0010; // event contains focus change

#[repr(C)]
#[derive(Copy)]
pub struct INPUT_RECORD {
    pub EventType : WORD,
    // union {
        // pub KeyEvent : KEY_EVENT_RECORD,
        // pub MouseEvent : MOUSE_EVENT_RECORD,
        pub WindowBufferSizeEvent : WINDOW_BUFFER_SIZE_RECORD,
        // pub MenuEvent : MENU_EVENT_RECORD,
        // pub FocusEvent : FOCUS_EVENT_RECORD,
    // }
}
pub type PINPUT_RECORD = *mut INPUT_RECORD;

#[repr(C)]
#[derive(Copy)]
pub struct CHAR_INFO {
    // union {
        pub UnicodeChar : WCHAR,
        // pub AsciiChar : CHAR,
    // }
    pub Attributes : WORD,
}
pub type PCHAR_INFO = *mut CHAR_INFO;

// Attributes flags:
pub const FOREGROUND_BLUE : WORD      = 0x0001; // text color contains blue.
pub const FOREGROUND_GREEN : WORD     = 0x0002; // text color contains green.
pub const FOREGROUND_RED : WORD       = 0x0004; // text color contains red.
pub const FOREGROUND_INTENSITY : WORD = 0x0008; // text color is intensified.
pub const BACKGROUND_BLUE : WORD      = 0x0010; // background color contains blue.
pub const BACKGROUND_GREEN : WORD     = 0x0020; // background color contains green.
pub const BACKGROUND_RED : WORD       = 0x0040; // background color contains red.
pub const BACKGROUND_INTENSITY : WORD = 0x0080; // background color is intensified.

I've added all the types and constants from wincon.h.

I've also added all the functions from both wincon.h and consoleapi.h.


Write docs for the CLI

Add API docs and an intro tutorial for the CLI.

Issue moved to gramps-graphql/gramps-cli #6 via ZenHub


Segment-triggered Automation Updates

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Reload Inspector after detach. Issue #266

Now, if app was closed, Inspector waits to reconnects.
Added new error type 'ErrorTargetCrashed'.
Added new frontend command 'reloadInspector'.
Realised frontend command 'targetCrashed'.

@3y3 what is the status of this PR? It seems like a lot of work to get little benefits, are you still keen to finish it? If not, then I am proposing to close it.

I prefer to close this pr now. When I'll ready to fix this issue I'll make new pr.


Locked Dictionary insertion in Subscribe method

In Unity, when i have more than one subscriber on one rosconnector, 50% of the time i start the application i get "key already exists" errors.
Since the subscriptions are performed on different threads, the insertion of the subscribers is not thread safe. Locking the insertion fixed that issue.

Thank you @MrNic3guy .


Repository not available anymore

It may happen that given repositories in entries get removed from their location. Typically they move somewhere else. This issue is a open ended issue collecting information about these cases and possibly also fixing them (if an easy fix is available) or creating other issues about them.

While using the update script, the following repositories were not found anymore:

[ ] https://github.com/EdwardWoodhouse/Turn-of-War.git
[ ] https://github.com/LynxAbraxas/ctp2.git
[ ] https://github.com/farmboy0/slashem.git
[ ] https://github.com/guillaume-gouchon/dungeonhero.git

Turn of War is also at https://github.com/trananh1992/Turn-of-War (old version) and I have a local copy. I could not find anything else related to the project on Github/Gitlab or googling it. Nor is there a way to contact other Github users. I could look in the Git logs to see if there is a reasonable committer email address and try to ask him, why the repository was removed, but that may feel a bit like stalking. Instead I could also upload the local copy I have to Github and change the entry accordingly.

https://github.com/LynxAbraxas/ctp2.git seems to have changed and the new master seems to be at https://github.com/civctp2/civctp2.git. Will update the entry.

https://github.com/guillaume-gouchon/dungeonhero.git is gone, but guillaume-gouchon still has other repositories and a link to a website. Unfortunately "Dungeon Hero" is not a very unique name and there may or may not be copies of the repository on Github/Gitlab. I will continue searching. I also have a local copy. I will try to contact the author. I could upload the local copy to Github.

https://github.com/farmboy0/slashem.git is gone, but farmboy0 still has other repositories. Unfortunately "Slash em" is a very popular name and there may or may not be copies of the repository on Github/Gitlab. I will continue searching. I also have a local copy. I will try to contact the author. I could upload the local copy to Github.

[ ] https://github.com/ldicker83/lincity is also gone but it was only a "see also" item
[ ] http://hg.asc-hq.org/hg/asc is gone

[ ] https://github.com/ldicker83/lincity is also gone but it was only a "see also" item
[ ] http://hg.asc-hq.org/hg/asc is gone

I found a commiter email of "Turn of War" and sent an email to Edward Woodhouse inquiring about the lost sources. ("I recently discovered that the repository at https://github.com/EdwardWoodhouse/Turn-of-War doesn't exist anymore. I wonder what the reason is? The content was, if I remember correctly, under an open source license. Is there a chance to make it available again?")

Slash'EM seems to be an old copy of the CVS on the Sourceforge project site. Maybe check that CVS again, make a conversion to Git and put it up on Github/lab.

I found an email address of Guillaume Gouchon on the website of the Dungeon Hero Android app site and sent him a message asking about the lost sources. ("I recently discovered that the repository at https://github.com/guillaume-gouchon/dungeonhero.git doesn't exist anymore. I wonder what the reason is? The content was, if I remember correctly, under an open source license. Is there a chance to make it available again?")

The Hg repository on the http://www.asc-hq.org/ website is down, as well as the chat and forum. On the website itself there is no contact information, nor in the sources. I wrote Martin Bickel who developed the game many years ago on Sourceforge via the Sourceforge contact system ("I discovered that the source repo at http://hg.asc-hq.org/hg/asc of ASC is not available anymore and there is no contact information (email, ...) at the website at http://www.asc-hq.org/. Do you maybe know who is maintaining the project now and could forward me some contact details?"). If I do not get an answer I will simply upload the locally stored Hg (which I already converted to Git using fast-export).

I got a reply from Martin Bickel. He converted the Hg repository from his own server to a Git on Github (https://github.com/ValHaris/asc-hq.git), which will certainly increase popularity of the project. He says there was not much interest lately.

I got no reply from Edward Woodhouse for over two weeks, but found that the version at https://github.com/trananh1992/Turn-of-War is actually up-to-date. I used it instead.

I didn't get a reply from Guillaume Gouchon, so I uploaded a copy of the Git that I still had and informed the author about it. Use the copy now on in the game entry.

I got a reply from Guillaume Gouchon. He missed the first message, but restored the repository. Dungeon Hero is available again.

The  https://github.com/farmboy0/slashem.git repository was just an import of the cvs repository. I will upload it to https://github.com/osgamearchive/..

I uploaded the cvs conversion of slashem to https://github.com/osgamearchive/slashem.git

We have some more:

[ ] https://github.com/Argentum-Online/Argentum-Online.git/ (repo not found)
[ ] https://bitbucket.org/ecwolf/ecwolf (hg - HTTP Error 404: Not Found)
[ ] https://bitbucket.org/allacrost/allacrost/src (hg - repository default not found)
[ ] https://gitorious.org/turious/turious.git/ (The received certificate has expired.)

The repo allacrost had an unnecessary suffix and the ecwolf repository changed from hg to git. Both is fixed.

I found a replacement for Argentum-Online (https://github.com/ao-libre) but still have to check that the full history is contained with them.

It seems that https://github.com/Argentum-Online/Argentum-Online.git/ was some kind of short lived Java port of Argentum Online, which in general is written in Basic. Therefore the loss of not having this repo anymore is rather limited. I regard the issue as solved.

For Turious I contacted the Archive Team (see also #153).

The Archive Team rebooted the Gitorious server and I could download Turious. Will convert to Gitlab.

New cases of repositories that cannot be cloned automatically

[ ] git://git.colm.net/ragel.git (unable to connect to git.colm.net)
[ ] git://opensimulator.org/git/opensim (unable to look up opensimulator.org (port 9418))
[ ] https://git.xiph.org/vorbis.git/ (Failed to connect to git.xiph.org port 443: Connection refused)
[ ] https://github.com/IceReaper/KKnD.git (could not read Username)
[ ] https://github.com/KaidemonLP/Open-Fortress-Source.git (could not read Username)
[ ] https://github.com/NYRDS/remixed-dungeon.git (cannot lock ref 'refs/tags/"29.3.fix.25"': Unable to create ".../refs/tags/"29.3.fix.25".lock': Invalid argument)
[ ] https://github.com/agateau/pixelwheels.git (cannot lock ref 'refs/heads/dev': 'refs/heads/dev/simplify-camera' exists; cannot create 'refs/heads/dev')
[ ] https://github.com/amerkoleci/vortice.git (could not read Username)
[ ] https://github.com/jtc0de/Blitwizard.git (could not read Username)

The "could not read username" cases are repositories that still exist but went private mode on Github. They also appear in #125. For those I will need to find alternative repositories or upload my stored one if needed. For KKnD, there is additionally #252.

git remote prune origin (https://stackoverflow.com/questions/6656619/git-and-nasty-error-cannot-lock-existing-info-refs-fatal) solved the problem with https://github.com/agateau/pixelwheels.git, but unfortunately not the one with https://github.com/NYRDS/remixed-dungeon.git

For https://github.com/NYRDS/remixed-dungeon.git I deleted my local copy and did "git clone --mirror" again and the error message is gone.

For https://github.com/IceReaper/KKnD.git see #252. It's fixed.

The entry about ragel has been removed making it obsolete here.

The entry about vorbis has been removed making it obsolete here.

opensim is replaced by a github mirror (better than nothing, git clone git://opensimulator.org/git/opensim still didn't work for me)

vortice is available again


Lk86/remove bionic stretch berkeley conflicts

Attempt to resolve conflicts between the current compatible changes (+ removal of bionic/stretch support) into berkeley
This also includes merging all of rampup back up into berkeley as part of the chain of merges, hence the large diff (I hope 🤞 )

!ci-build-me

!ci-build-me

!approved-for-mainnet

!ci-build-me

!ci-build-me


Add flag to which stage to bind a texture to (e.g. vertex/fragment shader)

I couldn't find a way to specify which shader stage a texture should be bound to.
On Metal you have to specify which stage to bind a texture to (setVertexTexture vs setFragmentTexture). Currently it always sets it to the fragment shader under Metal.
I currently hack it by setting it to both stages, but a proper solution would be good.
(I am happy to implement it for Metal; I would add a flag to the texture sampler filtering flags to not affect the existing API)

Ideal way is to detect does sampler exist in vertex or fragment shader and then bind it to both.


Fixes for C++11

I am getting compile errors when compiling my bindings with clang++ -std=gnu++11 (MacOS 12.13). This fixes it for me.

please read comment related to "string" in issue tracker (and maybe tesseract forums)...

See pull request #1082 and other pull requests and issues which address the same problem.

I suggest to close this PR.


Entry content disappears within CP

We have an issue on on of our clients website where NEO blocks started to disappear and only the first block is shown within the CP entries pages. When I check the rendered pages or the DB directly, the content is still there.
Maybe this is also related to issue #81.
I see the following JS error in my console:
Uncaught TypeError: Cannot read property 'children' of undefined
    at proto.constructor._updateBlockChildren (Input.js:346)
    at proto.constructor.addBlock (Input.js:213)
    at proto.constructor.init (Input.js:148)
    at proto.constructor.constructor (garnish.js:705)
    at proto.constructor (garnish.js:40)
    at new proto.constructor (garnish.js:40)
    at de:2122

I just checked and we are running the latest build from the master branch.
Any ideas? Let me know if I can provide additional info. This is an urgent issue for us. Thanks a lot.

I just noticed that we had an old JS error coming from an other plugin. Deactivating the other plugin resolved the issue. Strangely this error/issue never affected the display of the NEO blocks until today. Not sure what changed, next to additional content added by the client, what could cause this new behaviour.
As our issue is resolved for now we can close this issue here. I will just leave it for now as this maybe is something which could also be solved/caught on NEO side. Up to you. Thanks for the effort and an awesome plugin.

Neo renders it's fields entirely with Javascript. This is in order to keep the codebase DRY, which in turn makes things more reliable (in a sense). Unfortunately if a JS error happens before the Neo field is initialised, then the JS stops executing and the Neo field doesn't render. Since I can't guarantee the order of JS in the control panel I can't do a whole lot about it.
An idea could be to pre-render an error/warning message in place of Neo's blocks that will only show if the JS isn't run. Not the ideal solution but it'll be easier to troubleshoot when things go wrong.

Any update on a fix for this?

Hey, I'm still having issues with this.  For some reason, content randomly disappears from my entries (It's only the neo field that completely disappears)  then I need to select an earlier version to get my content back.  I checked to make sure no one was randomly deleting the content and it doesn't look like any updates were made to the entry for a long while.
So I'm not sure what is going on.  Can I get some help with this?  I'm not even sure if this is the exact same issue as this one.

Hi @m8brgarc,
What version of Craft and neo are you using? This issue was for craft 2 which is not supported anymore.

The next Neo release (which will probably be version 2.7.20) will display a spinner on Neo fields before their contents load.  Our overall goal to resolve situations such as this is to move the rendering of existing field content out of the JavaScript, as has been more recently described in #298, so at this point I'll close this issue in favour of that one.


Update go-ipfs to 0.7.0

https://github.com/ipfs/go-ipfs/releases/tag/v0.7.0

Also, can you also change tests/docker.go to also use v0.7.0?

@jsign done, ready for review 🚀


Site Social Preview: Add metadata and default image

Goal
When posting a link on a social media sites (Twitter, Facebook, LinkedIn) there should be a nice preview image and title.
Let's initially use:

Title: "Solana Clicker is an open-source web-based Solana blockchain game for desktop web browsers."
Description: "Solana Clicker is an open-source game being developed to learn and demonstrate techniques for integrating with Solana programs and Solana NFTs."
Image: Game screenshot

How to test
When you submit your PR, a site preview link will be generated and you can use that for testing.
I'd recommend testing using both Twitter Validator and the Facebook Sharing tools.
More info
Background: https://www.kontentino.com/blog/social-media-meta-tags-a-complete-guide/

Can i work on this?

Hey @Yash-Var, that would be great, thank you! I'll add a bit more info to this ticket.

@briangershon I know how to add meta tag but I can not find the file on which I have to add the these meta data on your code,
So , can you guide me on which file I have to add meta data . It would be good for me to solve this issue.

Hey @Yash-Var you can add to this Head section: https://github.com/briangershon/solana-clicker-game/blob/main/web-ui/pages/index.tsx#L91

@briangershon I have made a PR can you review it....

@briangershon check my PR and guide me ......


Cherry pick fix dyn syntax for trait objects to active_release

Automatic cherry-pick of 04d6b63

Originally appeared in https://github.com/apache/arrow-rs/pull/592: fix dyn syntax for trait objects

Codecov Report

Merging #617 (65a8b7f) into active_release (d32533a) will not change coverage.
The diff coverage is 54.83%.

@@               Coverage Diff               @@
##           active_release     #617   +/-   ##
===============================================
  Coverage           82.41%   82.41%
===============================================
  Files                 167      167
  Lines               46255    46255
===============================================
  Hits                38122    38122
  Misses               8133     8133

Impacted Files
Coverage Δ

arrow/src/array/array.rs
80.90% <ø> (ø)

arrow/src/array/transform/mod.rs
86.06% <ø> (ø)

arrow/src/compute/kernels/take.rs
94.72% <ø> (ø)

arrow/src/record_batch.rs
90.44% <ø> (ø)

arrow/src/array/builder.rs
86.26% <22.85%> (ø)

arrow/src/array/ord.rs
63.33% <83.33%> (ø)

arrow/src/array/array_binary.rs
92.23% <100.00%> (ø)

arrow/src/array/array_boolean.rs
94.01% <100.00%> (ø)

arrow/src/array/array_dictionary.rs
88.38% <100.00%> (ø)

arrow/src/array/array_list.rs
95.51% <100.00%> (ø)

... and 14 more

Continue to review full report at Codecov.

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


feat(alerts-reports): config timestamp fn for alerts/reports

SUMMARY
This PR adds config option for defining a timestamp function to be used with alerts & reports such as labeling attachments
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

I think it would be preferrable to have the a timestamp config variable as a boolean and move the timestamp generation logic to where the email/slack is being generated.
Also, I believe we should be applying the same naming convention to all attachment types (csv, png, and pdf on the frontend).


Update setup.sh to update breaking change introduced in hashicorp/terraform-provider-google v5

Problem
Investigated with @jping0220. During setup script execution, seeing errors pop up for  google_secret_manager_secret.

What we're using is out of date per https://github.com/hashicorp/terraform-provider-google/commit/6f7206de79b44f862f602d29b1a24653f379d019
This script needs to be updated like so:

(ref: https://github.com/hashicorp/terraform-provider-google/blob/f5fd69561aae2efd7d0ad886b765bc258987f089/website/docs/guides/version_5_upgrade.html.markdown#resource-google_secret_manager_secret)
Steps to Reproduce
Simply execute:
sh setup.sh

Expected behavior
Expected for the setup script to provision our GCPs smoothly without errors.

Closing out as this was completed #1013


[Question] How to implement focal loss on ssd300 model

Hi @pierluigiferrari
Thanks for this exceptional tutorial, it provides a great learning. I wanted to implement Focal loss on ssd300 model which i trained on my own dataset. Can you suggest a way how can I do that. I tried implementing using below code but it's not working upto the mark:
def focal_loss(y_true, y_pred, gamma=2.0, alpha = 1.0):
#y_pred (tensor of shape (batch size, num_boxes, num_classes)
eps = K.epsilon()
y_pred = K.clip(y_pred, eps, 1.-eps)
pt = tf.where(tf.equal(y_true, 1), y_pred, 1- y_pred)
loss = -K.pow(1.-pt, gamma) * K.log(pt)
loss = alpha * loss
return tf.reduce_sum(loss, axis = -1)
If you get a chance please suggest, many thanks indeed
Regards

@vkherde Hi. I also trying what you want to do and trying to understand what I need to change.
Let's try and share some intuition.
By the way, make sure that When you apply focal loss, you need to remove 'hard negative mining' parts.
Refer to it. links

@DonghunP Hi, sorry for delayed response, while implementing focal loss I just changed the log loss function with above code to fit focal loss. I am not sure whether we need to remove the hard negative mining part because it is used to find appropriate bounding box for the object whereas the focal loss would only improve the classification loss for imbalanced classes. Please refer this link

@vkherde Thanks. I may misunderstand the concept.
Anyway when I implement below code**(when alpha is not 0)** loss become infinite, but when I use your code above**(when alpha is 1)** loss doesn't go infinite. Do you know why? Thanks anyway.

def focal_loss(gamma=2, alpha=0.75):
	def focal_loss_fixed(y_true, y_pred):#with tensorflow
		eps = K.epsilon()
		y_pred=K.clip(y_pred,eps,1.-eps)#improve the stability of the focal loss and see issues 1 for more information
        	pt_1 = tf.where(tf.equal(y_true, 1), y_pred, tf.ones_like(y_pred))
        	pt_0 = tf.where(tf.equal(y_true, 0), y_pred, tf.zeros_like(y_pred))
        	return -K.sum(alpha * K.pow(1. - pt_1, gamma) * K.log(pt_1))-K.sum((1-alpha) * K.pow( pt_0, gamma) * K.log(1. - pt_0))
    return focal_loss_fixed


Remove some links still pointing to wiki.egi.eu

Remove some links still pointing to wiki.egi.eu.
Some are still to be updated.

The markdown link check error with https://opensource.org/licenses is a false negative, it can be ignored.

@enolfc what should we do for the (broken) link to the "Federated Cloud Architecture" shown at https://docs.egi.eu/providers/cloud-compute/requirements/ ?
There is also a link to https://wiki.egi.eu/wiki/Federated_Cloud_infrastructure_status on https://docs.egi.eu/providers/cloud-compute/validation/ . Content on this wiki page seems very outdated.

@enolfc what should we do for the (broken) link to the "Federated Cloud Architecture" shown at https://docs.egi.eu/providers/cloud-compute/requirements/ ?

https://docs.egi.eu/users/getting-started/architecture/ should work here

There is also a link to https://wiki.egi.eu/wiki/Federated_Cloud_infrastructure_status on https://docs.egi.eu/providers/cloud-compute/validation/ .  Content on this wiki page seems very outdated.

This can be just removed.

In howto04, there is also some reference to https://wiki.egi.eu/wiki/Federated_Cloud_APIs_and_SDKs, a broken link too.

this one is so outdated that it hurts. I think it's better to remove the whole cloud section and provide new documentation in a subsequent PR than trying to fix few links here.


⚠ SkipTheCommericals has degraded performance

In 14b6f2d, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 8175 ms

Resolved: SkipTheCommericals performance has improved in 26a67ce.


Clean up WriteOptions cctor

Fixed #24078

This shouldn't introduce breaking API changes because the compiler will generate a default copy constructor and assignment operator. A previous manually defined cctor is identical to the default one so it's better to remove them for better code readability.


Loader in Catalog dropdown

Create a proper loader at the place of "Loading..." in catalog dropdown that will appear when catalog items load.

@ashutoshgithubs  i will do this ,

@ashutoshgithubs  I WANT TO WORK ON ISSUE #51 , TO ADD LOADER

@Hardikchandra You can work on it.

@Hardikchandra You can work on it.

Any progress on this issue, Hardik??

Will create a PR positively by tomorrow.

@ashutoshgithubs , facing issue while running on the local host .can tell me why so that can solve it more efficiently?
showing no course found when click on catalog.


AVRO-1808. Added possibility of overriding lock mechanics for Requestor.handshakeLock

Look at https://issues.apache.org/jira/browse/AVRO-1808 for more information

@KonstantinUsachev Do you know if this is still relevant?

@KonstantinUsachev Do you know if this is still relevant?

@Fokko Hi. In our case it was necessary, because we used Avro with Quasar framework where it is forbidden to use ReentrantLock (it blocks thread instead of fiber). Don't know, what is the current situation, because we finished our work with that project. So I don't need it anymore personally and, actually, don't quite like this PR now :) because in this case we have unused handshakeLock field. But I will not give any better, so feel free to reject it.

@KonstantinUsachev Thanks for the elaborate answer. Let's close this for now then. Thanks!


Add go.mod file

Hello, please consider adding this go.mod file and then creating a tagged release. Just like in #4 I am having this be pulled in as an indirect dependency and would like to be able to keep track of a specific version instead of using an indirect import like:

github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 // indirect

To be clear: this isn't causing it any problems, I'm just trying to make my go.mod file easier to read by getting more projects that I indirectly depend on to support Go Modules.
Thank you for your consideration.

Thank you for the PR and for elaborating on the motivation for wanting this, and how it affects you.
It's reasonable to mark the current sanitized_anchor_name as v1.0.0. It's very stable and hasn't changed in a long time.
I'll make this change.

It only adds it by default in recent commits; I don't remember exactly when it was added but on recent builds that will be in 1.12 it should do it.

Done

The change I requested was to remove the go directive, but the latest commit changes its value from 1.9 to 1.12 instead. I'll make the change myself to save on the extra latency introduced by round-tripping via review comments. Thank you.

Oops, sorry, this was not intentional. Like I said, the tooling keeps adding it back (in a recent build from master anyways).

I understand. Thank you again!

@SamWhited I've made a v1.0.0 tag, so anyone using this package with Go modules should see something like this in their go.mod file now:
require github.com/shurcooL/sanitized_anchor_name v1.0.0

Instead of what it was previously:
require github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95


refactor(log) Add module tools/logger

Add logger module to provide a slightly simpler way to output logs.
We can use
logger.error("error message: xxx")
instead of
ngx.log(ngx.ERR, "error message: xxx")
And we can directly know how many log levels from this module.
And it can avoid confusing ngx.ERR and ngx.ERROR, or ngx.log.ERR
After this commit I will do the rest of the replacement work.

Hi,
Thanks for your contribution! Unfortunately, I do not think we should accept it for several reasons:

The main one being that if we ever implement such a plugin, it would be part of the Plugins Development API that we are scheduling later this year.
I find your module actually harder to use. local log = require"kong.tools.logger"; log.error(...) has little benefits over ngx.log(ngx.ERR, ...). I believe it is unnecessary encapsulation, at least without a complete Plugins API along with it.
One of the main benefits of ngx.log is that it retrieves the line number at which it was called from. Encapsulating such calls would make us more blind.
Your implementation relies on metatable lookups and creates closures for each calls. Nothing that can't be improved, but know that this is quite inefficient.

hence, sorry, but I think we'll take a shot at this later (if we do at all). Thanks again!

 The fourth point can be avoided by hard coding.


Multiple HTTP providers

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
I came across issue #8715 to fix the documentation to clarify that only one HTTP provider endpoint can be used, and I find it rather strange that the idea of actually making it possible to use multiple endpoints wasn't even entertained. In-fact, I'm new to Traefik and it feels like common sense to me that ANY provider should be duplicable as many times as needed. Is there a specific reason why this can't be added?
My use-case is that I'm using AWS, and I want to store my configs in an S3 bucket that's privately accessible to my VPC to allow the HTTP provider to grab them. This would make it very simple to manage and update configs with Terraform by simply managing them as object resources. I know the ECS provider exists and I am using that as well, but there are other non-ECS configs I'll need too and I want a quick and simple way to update them.

@chrispytoes FYI this is option 3 on issue #8896 and actually the selected approach to solve it. I'll update that one with more details and keep this issue linked so whenever we merge the solution it can close both.


This should fix the bug 🐞

After installation, the code errors when trying to create an invoice for a transaction. This should solve that issue so that devs will stop overwriting the code or hardcoding the values in the vendor folder.

If this is not part of the API documentation, this should be implemented by the user themselves, you should actually extend the OrderItem class and add you own properties to your own class.
class MyOrderItem extends OrderItem
{
    protected $Description;
    protected $ImageUrl;

    public function __construct($itemCode, $itemName, $unitPrice, $quantity, , $description, $imageUrl)
    {
        parent::_construct($itemCode, $itemName, $unitPrice, $quantity);
        $this->Description = $description;
        $this->ImageUrl = $imageUrl;
    }

    public function toArray()
    {
        return array_merge(parent::toArray(), [
            'Description' => $this->Description,
            'ImageUrl' => $this->ImageUrl,
        ]);
    }
}

Hi DreamOval/slydepay-php-connector!
Thank you for your message. Our team will reply to you very shortly
and we'll update you by email.
You can log in and view your entire conversation history with us at
anytime in our Help Center
[https://support.dreamoval.com/conversation/view/47145].
Thank you!
This is a Dreamoval Limited message delivered by Kayako
[https://kayako.com].

	 How did we do?

Wed love to hear what you think about our service.
[img
src="https://dreamoval.kayakocdn.com/__apps/cases/assets/__universal/images/email/face-happy.png"
width="42" height="42" alt="Good, Im satisfied."]
Good, Im satisfied.
[https://support.dreamoval.com/conversation/rating/47145/0e53b10d43efe5a78d83c6bfad833578c50cdc56/4145479589/GOOD]
[img
src="https://dreamoval.kayakocdn.com/__apps/cases/assets/__universal/images/email/face-sad.png"
width="42" height="42" alt="Bad, I am not satisfied"]
Bad, I am not satisfied
[https://support.dreamoval.com/conversation/rating/47145/0e53b10d43efe5a78d83c6bfad833578c50cdc56/4145479589/BAD]
This is a Dreamoval Limited message delivered by Kayako
[https://kayako.com].


[Bug]: SWATE service is down

Contact Details
No response
What happened?
The standalone service at https://swate-alpha.nfdi4plants.org/ and the ARCitect plugin is not available
What did you expect?
No response
Host
Applies to All
Host Details
Windows 11
Swate version
current

Yes this error was already reported and will hopefully be fixed soon 🙂

This error is resolved now!


Gaston doesn't watch/compile newly added .less files

When working in 'dev-mode' and newly requiring 'style.less' (ie adding this after gaston init), the styles are not applied.

start gaston dev
add new require('./style.less')
check browser (no styles)

Restarting Gaston fixes this.

this one was fixed in commit 3bb4aef4e8981e1eb167b75548f68862011a41dd.


Move this as per TOC

Please provide a description of this PR:
This originally lived in charts with the other charts (and would be published to the same registry path as the other charts), as per TOC we want to create a samples subpath for this.
sample-charts in the repo seems obvious enough given we have an existing manifests/charts split.

@bleggett: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
27165e156557c809aa98f2fe2133819bd32b9012
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@bleggett: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
27165e156557c809aa98f2fe2133819bd32b9012
link
true
/test release-notes

release-test_istio
27165e156557c809aa98f2fe2133819bd32b9012
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

interesting, I had initially thought under the top level samples/ but now I see the appeal of this as well.

Mostly, it's from a perspective of "release builder just publishes all the charts in $DIR" - which is a nice simple pattern I'd rather retain, and for that to work, you have to have the same kind of thing (chart) in the $DIR.
I am open to the name being different, just need a way to clearly indicate via path that it's sample charts versus sample something-else.

/test release-test

Interesting. I am not sure why simply moving this chart out would affect RB.

@bleggett: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
27165e156557c809aa98f2fe2133819bd32b9012
link
true
/test release-notes

release-test_istio
27165e156557c809aa98f2fe2133819bd32b9012
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/retest-required

@bleggett: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
27165e156557c809aa98f2fe2133819bd32b9012
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Needs https://github.com/istio/release-builder/pull/1899

/test release-test

@bleggett: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
27165e156557c809aa98f2fe2133819bd32b9012
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@bleggett: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
20f2a4afc03bb275ee35d6df592b4af6d9715d64
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@bleggett: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
2c26c2f6bdfdf6c060307bb7c133eeaf9b2c0e9c
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@bleggett: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
2c26c2f6bdfdf6c060307bb7c133eeaf9b2c0e9c
link
true
/test release-test

unit-tests_istio
c9e3e8d4baa3dce1ece2f425174b7a70d9b22bd8
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/test unit-tests

@bleggett: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
c9e3e8d4baa3dce1ece2f425174b7a70d9b22bd8
link
unknown
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@bleggett: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
c9e3e8d4baa3dce1ece2f425174b7a70d9b22bd8
link
unknown
/test unit-tests-arm64

integ-basic-arm64_istio
c9e3e8d4baa3dce1ece2f425174b7a70d9b22bd8
link
unknown
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/retest-required


Fix header search paths in RN 0.58

This backports this fix facebook/react-native#23274 for those using CocoaPods with RN 0.58.x
It requires a pre-hook because it changes the React.podspec

👍  Alrighty, looks good to me


Add vue2-autocomplete Atom package.

This package is for Vue.js 2.0+ autocomplete on Atom editor.

It does not make sense for me? Why not do we group those things in according to closeness. You right for initial items but I think the place of vue2-autocomplete package is after vue-autocomplete package. At the end, you have the permission to write; we contribute you merge, right? ;)

@ismailarilik You've got the point, but this is not fair to other packages. If the name would be matter - every contributor would name their packages according to the "better list position".


fix: #658 Retry when the table is locked

Fix #658
Proper handling of table locking exceptions to prevent database disconnections.
When a table lock exception is thrown, it will attempt to retry once after 500 ms, for a total of 20 retries. Other SQLExceptions will be thrown directly to allow for handling at the upper execution stack.
Tests well on my server's production environment.
Please note that I am not a professional Java programmer, but this issue is quite serious and I urgently need to fix it on my server. Therefore, I have made an attempt to repair the code and I'm sharing my code behind the fix.
If there are any issues with my code, please make the necessary corrections. Thank you!

Closing in favor of https://github.com/WiIIiam278/HuskHomes/commit/1c644b120e02d5fea33e50698303d0ee8edc31ab for now - I'd like to monitor the effects of this change first. Can revisit if we still have issues.


Breaking in Angular 1.4

Ran a bower update and all carousel functions seem to stop working. After downgrading to Angular 1.2.28, everything works fine again. I'll see if I have some time to look into the issue. Nothing seems to come up on the error log at all.

+1
nothing show up

Is there a timeline for support for 1.4?

any workaround????

Hey. No much time to work on this currently, sorry about that :/
My first guess is to check when happens here : https://github.com/revolunet/angular-carousel/blob/master/src/directives/rn-carousel.js#L161-L167
is the ng-repeat expression correctly parsed and valid ?
PR much appreciated (this repo is looking for contributors :))

Dove into this and wasn't quite able to isolate the issue. Running with Google's CDN for Angular 1.4.1 (and the corresponding touch dependency), the carousel seems to work perfectly fine. Was anyone else able to isolate this issue at all?

I don't have enough knowledge on this for giving some help, most of us does not. We are javascript programmers not Angular engineers. By the way, I cannot test my application using Karma and Jasmine because its stuck on dependencies.

I'm just a developer too :)
What are the step to reproduce ? simply bower update?

Hi,
I just updated my app from Angular 1.2.8 to Angular 1.4.3 and the library works fine (angular-carousel 0.3.12).
If nothing shows up and if there is no JS errors after a simple bower update, I suggest that the library itself (angular-carousel) may have been upgraded as well (from 0.2.x to 0.3.x).
Since version 0.3.0, li elements are absolutely positioned and the ul element height CSS property has to be set manually. If you don't do so, the ul just won't show up. (see issue #309).

Thanks @cedricblondeau

Did someone hit the issue when swiping the pictures using cursor doesn't work? No problems with a touch swipe, only doing that by mouse.

If someone hit the issue described above, here is the solution:
ul[rn-carousel] > li > img {     -webkit-user-drag: none; }

:+1:

I'm using angular 1.4.5... the carousel does not work at all.

same issue as @blockjon , absolutely empty screen nothing being rendered

@anatoly314  @blockjon Did you try adding height to  ?
@cedricblondeau's fixed that for me (nothing rendered, no visible errors).

@kross-f , yes it was the issue. It wasn't clear from the manual that I should do it.

Thanks @cedricblondeau you made my day. I was trying on angular 1.4 and after setting height everything worked fine

+1 @kross-f Worked for me as well.


when training code will be available?

Same to me. Please update the scripts for training. :-) @tfzhou

Hi, please refer to the script provided in the table of ReadMe for model training.


Update arras.is-cool.dev.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.

Description

An Arras.io Private Server
Link to Website

https://3eb3d9a7-db58-4359-b233-28e0fff0802d.id.repl.co/

Replit says to add it for verification purposes


Plugin should not fail if no statsd server is available

I am developing a service that uses puma and I wish to use this plugin to report statistics to our datadog service via dogstatsd.
Since dogstatsd is only available in our production network, the app cannot reach the server when running locally or in CI.  This precludes me from using this plugin right now.  In my opinion, it should be possible for this plugin to not crash when no statsd endpoint is available.
Luckily, you provide one!  in devtools/statsd-to-stdout.rb, it's possible to run this local to the application.  However, the source code of the repo is needed and I don't have it - or won't have it.  Because I install this plugin as a gem.  Bundler has a mechanism for this, which is the executables configuration in the gemspec.  By making your statsd-to-stdout.rb an executable for which a binstub can be installed (bundle binstubs puma-plugins-statsd), the script will be available without needing the repo source code.
Here is how I imagine using that:
if [ -z "$DOGSTATSD_HOST" ]; then
  # since this is not set, we are running locally or in some other non-prod environment so start a local statsd
  nohup ./bin/statsd-to-stdout > statsd.log &
  echo $! > statsd-to-stdout.pid
  echo "A local statsd sink has been started and is logging to statsd.log"
  echo "To stop the local sink, run 'kill \$(cat statsd-to-stdout.pid)'"
else
  # for puma's statsd plugin to find the correct dogstatsd server
  # see: https://github.com/yob/puma-plugin-statsd#usage
  export STATSD_HOST="$DOGSTATSD_HOST"
  export STATSD_PORT="$DOGSTATSD_PORT"
fi

Since dogstatsd is only available in our production network, the app cannot reach the server when running locally or in CI. This precludes me from using this plugin right now. In my opinion, it should be possible for this plugin to not crash when no statsd endpoint is available.

This is surprising to me, what makes the plugin crash?
statsd is UDP so the plugin will happily fire packets at an address that doesn't have statsd/dogstats running. Does it fail fatally when ENV['STATSD_HOST'] is unset? If so, I thought that was fixed in #20 :thinking:


Fixed  #24495 -- Allow unsaved instance in ForeignKey check to be bypassed

This pull request implements an allow_unsaved_instance_assignment flag which can be used by custom related fields to opt-out of the new check implemented in: https://github.com/django/django/commit/5643a3b51be338196d0b292d5626ad43648448d3

buildbot, test this please.

Please squash your commits when you are finished with those edits, thanks.

@timgraham I've made those changes and squashed the commits. Let me know if theres anything else.

buildbot, add to whitelist.

Should the same flag be added to GenericForeignKey? Do you think there might be a demand to allow specifying allow_unsaved_instance_assignment as a field constructor argument instead of requiring a subclass?

Commit message should include the ticket and be in past tense:
Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.

Here are some doc edits: http://dpaste.com/0WYH7W1

Thanks, I'll make those changes this evening (GMT)

Yep, I don't think it would hurt to add it to GenericForeignKey as well.
I've added a commit for this: https://github.com/kaedroho/django/commit/a25d95e9dfa0051677120465e74271d329b51aca
Let me know if it looks ok to you and I'll squash it in.

Looks fine to squash with those updates.

Please check the test failures. Maybe the new attribute should be moved to the Field base class?

The issue seems to be with reverse relations. I'm unsure if the current API is sufficient. For example if you have a relation to an app you don't control and want to disable the check.

@timgraham There was a mistake around working out which attribute holds the field with the allow_unsaved_instance_assignment attribute. This is fixed now
I've also added it to ForeignObject (and added a test for #10811 as it didn't have one).
All changes squashed

merged in 81e1a35c364e5353d2bf99368ad30a4184fbb653, thanks!


fix: Treat None as UNSET in query params for model properties, etc.

Fixes some missing cases not covered by the original implementation in https://github.com/triaxtec/openapi-python-client/pull/331. In particular, properties with non-trivial serialization would crash when None was passed instead of UNSET.

I'm not sure I totally follow here. Is the goal to account for when someone disregards the type annotation and passes None to something that is not nullable? I don't think we want excess runtime type checking just in case someone ignores the types. One of the goals of this project is to not have extraneous runtime costs everywhere because we can do static checking.
The checks at the end already strip out any nullable params which are None, so I'm not sure what else this PR is doing. Am I missing something?

I'm not sure I totally follow here. Is the goal to account for when someone disregards the type annotation and passes None to something that is not nullable? I don't think we want excess runtime type checking just in case someone ignores the types. One of the goals of this project is to not have extraneous runtime costs everywhere because we can do static checking.

The checks at the end already strip out any nullable params which are None, so I'm not sure what else this PR is doing. Am I missing something?

@dbanty Yeah, I agree this is confusing. However, it's what we had decided to do in https://github.com/triaxtec/openapi-python-client/issues/285. Remember that I had initially implemented a solution that would change the type of non-nullable optional properties to allow None, but we decided to abandon it because it was too complex? 😅
I also forgot to link the issue closed here, which is https://github.com/triaxtec/openapi-python-client/issues/380.

Codecov Report

Merging #421 (4be4790) into main (605c246) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #421   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           47        47
  Lines         1563      1563
=========================================
  Hits          1563      1563

Continue to review full report at Codecov.

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

@forest-benchling I've opened #462 to replace this. It takes a slightly different strategy of just always treating nullable and not required as both of those things. That way the type annotations still match what we're expecting folks to pass in.


Security, Form and Controller for Register and Authentification

security.yml
Form Register and Authentification
Controller Register and Login/Logout

D'accord.


Report Update

Overview

Allow flexible return type for any report.compare result
Update tests for report.py
Update method for testing if a model predicts probabilities
Allow user to skip performance measures when using report.compare

Resolves: bugs found during documentation
How was this update tested?
new tests added to test_report.py; pytest completed successfully and visually inspected via ToolUsage notebooks
Checklist

[x] I have read the Contributing guidelines
[ ] I performed a self-review of my own code
[x] The CHANGELOG and version.json have been updated
[x] Documentation has been updated to reflect the changes

[x] The code has clear and helpful comments, particularly in hard-to-understand areas
[x] READMEs, Tutorials/Examples, and links have been updated as appropriate

[x] Tests have been added to prove that the fix is effective or that the feature works
[x] Pytest was run; new and existing unit tests pass locally with my changes
[x] I have made note of any breakages or dependencies (if applicable)
[x] Any dependent changes have been merged and published in downstream modules
[x] These changes generate no new warnings

Dropping this PR in favor of newer PR (#66)


Is there a spritual succsessor to this?

I've just had a look over Retyped and its focus seems more geared towards porting node packages to .net. Is there a successor to this or a more recently maintained project that you know of for compiling/transpiling typescript to C#?

successor...
let's actually pray for something that works...

This is a project I worked on a while back with a goal something like what you seem to want.  https://github.com/michaelcheers/JavaScriptToBridgeCS


examples within request bodies with properties named "schemas" are rewritten to an object

Hi!  This is very similar to a bug I filed 9 months ago. https://github.com/thim81/openapi-format/issues/91   Almost all instances of the bug were fixed at that time but I believe that bug can happen wherever an openapi "example" can be added and the previous fix was focused only on examples under components.  I noticed a couple other instances of this in my spec for example:
    "/api/scim/v2/Groups/{id}": {
      "put": {
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "schemas": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {
                  "schemas": [
                        "urn:ietf:params:scim:schemas:core:2.0:Group"
                    ]

rewrites the example to:
        "example": {
          "schemas": [
            {
              "0": "u",
              "1": "r",
              "2": "n",
              "3": ":",
              "4": "i",
              "5": "e",
              "6": "t",
              "7": "f",
              "8": ":",
              "9": "p",
              "10": "a",
              "11": "r",
              "12": "a",
              "13": "m",
              "14": "s",
              "15": ":",
              "16": "s",
              "17": "c",
              "18": "i",
              "19": "m",
              "20": ":",
              "21": "s",
              "22": "c",
              "23": "h",
              "24": "e",
              "25": "m",
              "26": "a",
              "27": "s",
              "28": ":",
              "29": "c",
              "30": "o",
              "31": "r",
              "32": "e",
              "33": ":",
              "34": "2",
              "35": ".",
              "36": "0",
              "37": ":",
              "38": "G",
              "39": "r",
              "40": "o",
              "41": "u",
              "42": "p"
            }
          ]
        },

For my spec, the only paths I still see this bug are under a requestBody but you might want to consider a fix which includes anything with a parent of example or a grandparent of examples.    https://swagger.io/docs/specification/adding-examples/
Thanks for taking a look!

@fantapop you are correct. I did a very specific patch. I ll expand the logic and try to exclude the examples from this quirky conversion.

@fantapop The PR will solve this case.
I tried to create other cases with example where this also could happen, but I was unable to get proper reproduction cases (even when asking AI for samples)

Thanks for the quick turnaround. I'll see if I can test it out this evening.

hi @fantapop
We just released version 1.21.2, with the fix included.
You can see it in action in the openapi-format playground
If the issue is resolved, feel free to close this issue. If not, let me know.

awesome, thank you. It's fixed.


[BUG] Docker Image mcr.microsoft.com/playwright/java:v1.29.0-focal is not available yet

Context:
The page: https://playwright.dev/java/docs/docker is referencing java:v1.29.0-focal image like this:
Pull the image

docker pull mcr.microsoft.com/playwright/java:v1.29.0-focal

but currently the available version  is v1.28.1-focal:
> docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.28.1-focal /bin/bash
Unable to find image 'mcr.microsoft.com/playwright/java:v1.28.1-focal' locally
v1.28.1-focal: Pulling from playwright/java
eaead16dc43b: Pull complete
d389dd79955e: Pull complete
f03e4aa65306: Pull complete
d85c7e52ffec: Pull complete
4876b336a58d: Pull complete
80e4c25b153c: Pull complete
Digest: sha256:7aed0bde1801a14f02186233201b5f1f24eca331260766625d320ee8f3f54c14
Status: Downloaded newer image for mcr.microsoft.com/playwright/java:v1.28.1-focal
root@68270b1dc239:/#

Describe the bug
Unable to find image 'mcr.microsoft.com/playwright/java:v1.28.1-focal' locally

Merging this into https://github.com/microsoft/playwright-java/issues/1159. The java release is delayed due to migration from old publishing workflow to the new one.


Suggestion: guide on how that graph works because I think nobody really knows

As the title says, a guide on that graph'd be pretty nice. low = good, yes. but, can it be a bit more advanced?

Fine, will do one eventually.

I might just change the chart to be more clear, or add a new chart that is way more obvious what is good or bad.

or add a new chart that is way more obvious what is good or bad
This was done, do you think I still need a dedicated docs page on it?

I'll close the issue as "not planned", but might reconsider if enough people still feel like the chart is unreadable.


ome-dockr-prod1.openmicroscopy.org prometheus grafana

Runs Prometheus, Grafana in Docker.
This is a replacement for the monitoring applications in https://github.com/ome/kubernetes-apps/
Dashboards will need to be created/copied/edited manually
Requires:

[ ] https://github.com/ome/ansible-role-nginx-proxy/pull/31
[ ] https://github.com/ome/ansible-role-prometheus/pull/9

Runs minio in Docker
This is a replacement for https://github.com/ome/kubernetes-apps/tree/master/minio

Total resource usage so far is fairly small:

The prometheus/grafana setup is fairly similar to EBI, the main difference is that hosts are enumerated individually instead of using Ansible host-groups as each host is slightly different

Total resource usage so far is fairly small:

The prometheus/grafana setup is fairly similar to EBI, the main difference is that hosts are enumerated individually instead of using Ansible host-groups as each host is slightly different

I've found a problem- the container IPs may change after a restart of Docker which breaks the Nginx proxy. There are two options:

Expose all ports externally- this is fine as long as no-one logs into redmine directly over that port since it's unencrypted
Run Nginx inside a Docker container on the same docker network as the other containers so only Nginx has an exposed port, but this means a custom Nginx config instead of using the standard proxy and HTTPS config from Ansible.

Any thoughts?

I've found a problem- the container IPs may change after a restart of Docker which breaks the Nginx proxy. There are two options:

Expose all ports externally- this is fine as long as no-one logs into redmine directly over that port since it's unencrypted
Run Nginx inside a Docker container on the same docker network as the other containers so only Nginx has an exposed port, but this means a custom Nginx config instead of using the standard proxy and HTTPS config from Ansible.

Any thoughts?

If this docker were solely for redmine, I could see 1. Guess we'd need to make sure everyone is aware of the repercussions if this is truly a "public dockr".

If this docker were solely for redmine, I could see 1. Guess we'd need to make sure everyone is aware of the repercussions if this is truly a "public dockr".

Nginx is now run in Docker. Be aware this means the logs are not saved to /var/log/nginx, however since this is an internal server that shouldn't be a concern.

Nginx is now run in Docker. Be aware this means the logs are not saved to /var/log/nginx, however since this is an internal server that shouldn't be a concern.


Tutorial: Using other official data products

This notebook will form part of the series: Getting started with Kepler and K2 data products.
In this notebook, we will focus on using and understanding official data products other than flux.

Learning goals

What data products are available?
What are the benefits of these data?
Learn how to access and use these data for science.

I haven't used these products before, so I welcome pointers on how auxiliary data might have been useful in other peoples science :)

An overview of other official data products is available at http://archive.stsci.edu/kepler/data_products.html .  The page also provides useful literature reference.
Example use cases could include:

Using Cotrending Basis Vectors Files to investigate systematics shared across targets.
Using Ancillary Engineering FITS Files to access spacecraft telemetry.
Using Collateral Files to access black/smear levels.
Using the SPICE kernel to obtain the Kepler spacecraft position.
Using Kepler's PRF model.
Plotting Kepler's Flat Field.
Accessing high-cadence light curves obtained by the Fine Guidance Sensors.

I don't think any of these data products are particularly important for beginners, so it doesn't seem like a high priority to me to explain them with detailed notebooks.  However it may be fun to provide a whirlwind tour of some lesser-known data products, perhaps using 2-3 cells to show how to open and plot them.

However it may be fun to provide a whirlwind tour of some lesser-known data products, perhaps using 2-3 cells to show how to open and plot them.

This is what I had in mind too. Awesome, thanks! I'll have a play around with the data and see if a nice format falls out.

I've been having a swing at this but finding it difficult to piece together and making very slow progress. Going to park it for now and maybe some of us can have a go at it together further down the line.

It looks like we won't complete this particular tutorial before the end of the project, so I am closing the issue for now.  It was worth trying! :+1:


test: Enable Windows gate on Travis CI

Summary of Changes
Enable Windows gate.

This was giving problems also to me in the other branch, but I thought to have solved it with the ctrl_c signal. It seems that according to the shell used that may not work.
I'll try messing around with it a bit more to see if we stop this.
The main problem is that the call to terminate does nothing, so the process is killed after a timeout.

I've tried to find a more reliable way of starting/stipping the process in windows, and it's a mess.
The best solution I came up with is to use a process that manually creates an uvcorn server.
This process also starts a thread what waits for a signal (a value in a queue) form the test process to set should_exit of the uvicorn server to true. Something like
server = None
def killThread(queue):
    queue.get()
    server.should_exit = True

def serverProcess(queue: multiprocessing.SimpleQueue):
    global server
    import uvicorn
    t = threading.Thread(target=killThread, args=(queue,))
    t.start()
    conf = uvicorn.Config('tests.asgi._asgi_test_app:application', host='<IP_ADDRESS>', port=3333)
    server = uvicorn.Server(conf)
    server.run()
    t.join()

# then it's started with
q = multiprocessing.SimpleQueue()
proc = multiprocessing.Process(target=serverProcess, args=(q,))
proc.start()

# and terminates with
q.put(None)

This correctly terminates the uvicorn server and the process, with exit code 0. But at this point I honestly think we can just kill the process on windows and be done with it.
It shouldn't be this hard...

It shouldn't be this hard...

It really shouldn't, heh. I guess for now maybe you are right that we just don't bother. If something goes wrong with the server otherwise, our requests-based tests will fail anyway.

Indeed.
While investigating this, I've noticed that the solution that I added, the send_signal is not supposed to work, as per documentation https://docs.python.org/3/library/signal.html#signal.CTRL_C_EVENT but it seems to work.
Maybe we should just remove the logic to kill the server on windows, and just kill it and accept that the exit code will be 1..

So... turns out that killing the unvicorn process may be causing travis to decide the build failed. When I change the script to this:
tox -- -k 'not test_asgi_servers'
Suddenly Travis starts to flag the build as succeeded.

Suddenly Travis starts to flag the build as succeeded.

Maybe it's this that makes Travis fail?

Seems to be working now!

I may have found a way to cleanly exit with 0, that should not be too hard to do.
def _uvicorn_factory(host, port):
    if _WIN32:
        commnad = """
import uvicorn
import ctypes
ctypes.windll.kernel32.SetConsoleCtrlHandler(None, 0)
uvicorn.run('_asgi_test_app:application', host='{}', port={})
"""
        return = subprocess.Popen(
            ("python", "-c", commnad.format("<IP_ADDRESS>", 3333)),
            cwd=_MODULE_DIR,
            creationflags=subprocess.CREATE_NEW_PROCESS_GROUP,
        )

The ctypes.windll.kernel32.SetConsoleCtrlHandler(None, 0) enables the crtl_c handler. So we would send ctr_c and the exti code should be 0

I may have found a way to cleanly exit with 0, that should not be too hard to do.
def _uvicorn_factory(host, port):
    if _WIN32:
        commnad = """
import uvicorn
import ctypes
ctypes.windll.kernel32.SetConsoleCtrlHandler(None, 0)
uvicorn.run('_asgi_test_app:application', host='{}', port={})
"""
        return = subprocess.Popen(
            ("python", "-c", commnad.format("<IP_ADDRESS>", 3333)),
            cwd=_MODULE_DIR,
            creationflags=subprocess.CREATE_NEW_PROCESS_GROUP,
        )

The ctypes.windll.kernel32.SetConsoleCtrlHandler(None, 0) enables the crtl_c handler. So we would send ctr_c and the exti code should be 0

I've tried this and it seems to work for travis
https://github.com/CaselIT/falcon/commit/928da0ec9d97b90fbfc5f65993d79b20f64f12bb
https://travis-ci.org/CaselIT/falcon/builds/650774332

OK, I have applied the suggestion from @CaselIT - seems to work!


Icon picker???

.

Don't really know what this means. Please see CONTRUBUTING.md and revise your issue accordingly before this is reopened.

Sorry. I mean like this plugin for bootstrap http://victor-valencia.github.io/bootstrap-iconpicker/

Thank you for clarifying, but I don't think this is something we will add as it is very specific


Unread tab in inbox infinitely clones unread comment

https://imgur.com/gallery/8iYC8

Ah, does it keep trying to scroll to load more?

Yes, it just keeps reloading. I'm unsure of the behavior if there are multiple unread messages

No longer an issue, view was re-written


Publish example on surge

[ ] Create example
[ ] Publish example on surge
[x] Add to README
[x] Add to README on NPM as well

Repo https://github.com/nncl/ngx-forms-examples

Surge https://ngx-forms-handle-errors.surge.sh/


Change create database api's protobuf definition

What type of enhancement is this?
API improvement
What does the enhancement do?
https://github.com/GreptimeTeam/greptimedb/pull/3626#issuecomment-2041364264
Change the database_name in CreateDatabaseExpr to schema_name for consistency across the API in greptime-proto. Then update database's code accordingly.
Implementation challenges
No response

Hi, I've made the change in https://github.com/GreptimeTeam/greptime-proto/pull/143, please take a look. I'll create a pr for database once merged to avoid multiple changes to the commit hash.

Cool! Thank you @CookiePieWw !


ability to make bundle with required params

ref: #110
Signed-off-by: Leela Venkaiah G<EMAIL_ADDRESS>

rebased

rebased, @nb-ohad could you pls take a re-look at this PR, thanks.


docs(github): add PULL_REQUEST_TEMPLATE

Description
This PR adds a Pull request template in order to enhance PR review process.
Related Issues (if any)
No related issue.
Type of Changes
Please mark the options that best describe your PR:

[ ] Bug fix
[ ] New feature
[ ] Enhancement
[ ] Refactor
[x] Documentation update
[ ] CI/CD changes
[ ] Dependencies update
[ ] Other (please specify):

Checklist

[x] I have read and followed the CONTRIBUTING.md guidelines for this project.
[x] Added unit tests that cover the new/modified code.
[x] All existing tests pass (go test ./...).
[x] Added or updated documentation if needed (e.g., README.md, code comments).
[x] Public functions and structs are well-documented using GoDoc conventions.
[x] If the PR introduces a new feature, it has been documented clearly for users.
[x] Ensure proper error handling and meaningful error messages.
[x] Ensure any logging follows best practices (e.g., no excessive or sensitive logging).
[x] Dependencies added are necessary and minimal.

Additional Notes

Hello! Sorry, I didn't see your issue. Let me check it.

Thank you very much for your contribution! @gdegiorgio


Remove rust channel

This is done to prevent a default build from spawning, (it looks weird, its better to have the build as part of the matrix.)
Also the default is to run on stable anyways so its even more silly.

Thanks for the PR, @SirDoctors.

This is done to prevent a default build from spawning

Yay!

Also the default is to run on stable

Wait, what? How come TRAVIS_RUST_VERSION works if rust: * is not used? That seems like a brittle thing to rely on. I would prefer to have something explicit like global: env: RUST_CHANNEL = stable and the leave the elements of the matrix override that if needed. That approach would also support setting nightly as the default channel. (P.S. ci/install.sh would have to be update to use the RUST_CHANNEL variable)
I think you can use language: generic to have nothing run before before_install. Because right now the builds are defaulting to a ruby environment.
That macOS failure looks odd ...

Travis's default is to use the latest stable rust version, its not very brittle at all. Builds aren't defaulting to ruby, they only do that when the language isn't set/is set to generic.

Builds aren't defaulting to ruby, they only do that when the language isn't set/is set to generic.

But 'rust: stable' is not specified in most cases. Travis seems to be infering that the repo is rust somehow (from the repo contents probably). I wonder if it's assuming 'rust: stable' because some job in the matrix is 'rust: nightly'.
As I mentioned above, this PR makes the use case of "default to rust: nightly" unergonomic because you'll have to specify 'rust: nightly' in every build.
I still would prefer the 'language: generic' + a 'RUST_CHANNEL' env variable approach.

Its not, it's inferring that its rust stable from language: rust in the top of the file.

Ohh, I totally forgot that was there.
OK. This seems fine to land as it is.
I'll retry the build to see what's up with the macOS error.

It's green this time.


Fix buf_token in warning message

This action has helped me. I think it would be better if the warning messages were improved.

Hello, we have recently v1 buf's new GitHub action buf-action which is the recommended way to use Buf in GitHub Actions moving forward. Closing this PR since we don't plan on merging it.


Update Sudo Mode documentation to include session timeout length

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/sudo-mode
What part(s) of the article would you like to see updated?
Just need to update "a few hours" wording to explicitly state 2 hours session timeout.
Additional information
https://github.com/github/authnd/issues/1895#issuecomment-1516968032

👋 @adamrr724 - Thank you for opening an issue and linking it to your PR! ✨


Fix heading references

In the released version, if you have a link to a heading like [[file#heading]] it will appear with an empty summary in the influx pane. This is because apiAdapter.compareLinkName was only stripping block references but not heading references, so the correct summary could not be attached to the backlink. I have fixed this and tested that it behaves correctly on my local installation. Please let me know if you have any feedback or requests for further changes!

Hello @jensmtg, just pinging in case you did not see this. Let me know if there’s any problems, and I’m happy to fix. Thanks :)


Renamed wake interval to poll interval

Codecov Report

Merging #20 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #20   +/-   ##
=======================================
  Coverage   88.97%   88.97%
=======================================
  Files           4        4
  Lines         263      263
=======================================
  Hits          234      234
  Misses         19       19
  Partials       10       10

Impacted Files
Coverage Δ

worker.go
86.44% <100.00%> (ø)

worker_option.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


bug Add default value for optional field to pass compile's missing-field-initializers check

Proposed changes

The former pr #35307 introduces several struct which has fileds with type std::optional. The perf compile envrionment has enable missing-field-initializers check, and these structs is not suitable. So this pr tries to fix the compile problem.

run performance


updating readme to be accurate for api endpoints

this closes #16

please refer to hackclub/scrappy for an example readme file


transparent side drawer

i kinda want to get the discussion going on this one. i think it looks nice and it improves usability by not completely covering the currently active fragment. what do you think?
maybe we can let the side drawer slide in below the action bar so we can still access the camera and settings button and have the hamburger button as another way of closing the side drawer.

ugh, travis...
Cloning into 'criticalmaps/criticalmaps-android'...
warning: Could not find remote branch transparent_side_drawer to clone.
fatal: Remote branch transparent_side_drawer not found in upstream origin
Unexpected end of command stream

With the rules-bg it looks a bit off - but I am not strongly against or for it

Should also be redirected against develop

true. done.
https://github.com/criticalmaps/criticalmaps-android/pull/124


Update problem-250-250250.md

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #45281

Hey @NeelPatel31
Thanks for the PR and welcome to contribute to freeCodeCamp. Just a quick feedback that the checklist in the PR description is there for a reason. Maintainers and mods take contributions seriously when it's followed :)
Mind editing the PR title to be something like "fix: format of Euler curriculum - problem 250" based on the context from the original issue thread.
Cheers.

Hey @NeelPatel31
This PR seems to make similar changes as the existing PR #45284. As such, we are going to close this as duplicate.
If you feel you have additional changes to expand upon this PR, please feel free to push your commits and request this PR be reopened.
Thanks again! 😊

If you have any questions, feel free to ask questions on the 'Contributors' category on our forum or the contributors chat room.