Unhandled exception: System.IndexOutOfRangeException: Index was outside the bounds of the array at PostgreSQLFlexibleQueryFilter

About environment

Operating System: Ubuntu 22.04.4 LTS
Runner Image: ubuntu-22.04 version 20240218.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240218.1/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240218.1

Result

                                              .***      ***
                                   ,    ***.********,****
                                     **********************
                               *    ************. ***********  *
                             ///   *******, ****  ////////////******
                               .//************ ///// /////////********
                           ///////// ********///////// //////.********    (,
                     .   ///////////// **** ////////////,////******* ( (/
                       *////////////////   ////////////////  ** ((((((((((((
                        ///,  */////////.   **************,    ((((((((((((((
                       ///////////////.(((((((,******** ///// (((((( (((((((((
                       ///////////// ((((((((((((   ////////// ((((((((((*((((
                        ////////// ((((((((((( ((    //////////(((((((((((((((
                    //   /////// (((((( (((((((((((((((( ///////(((((((((((((
                       //   /  ( ((((((((((((((((,((((((((((.////(((((((((  ((

                                  ACE (Azure Cost Estimator) [1.4]

General help: https://github.com/TheCloudTheory/arm-estimator/discussions
Bugs & issues: https://github.com/TheCloudTheory/arm-estimator/issues

------------------------------

New version of ACE is available. Current version: 1.4, latest version: 1.5-beta1
Please update ACE to the latest version.

------------------------------

Run configuration:

-> Scope: Subscription
-> Susbcription Id: 9a731c75-8f79-4ce6-bdc3-543435967988
-> Template file: /home/runner/work/vebtst/vebtst/bicep/spoke/main.json
-> Deployment mode: Incremental
-> Threshold:
-> Parameters file: main.parameters.json
-> Currency: EUR
-> Generate JSON output: True
-> Silent mode: False
-> Redirect stdout: False
-> Disabled detailed metrics: False
-> Generate HTML output: False
-> HTML output filename: Not Set
-> Dry run enabled: False
-> Cache disabled: True
-> Cache handler: Disabled
-> Conversion rate: 1
-> Webhook URL: Disabled

------------------------------

What If status:

-> Cache is disabled.
-> Waiting for response from What If API.
-> Detected 31 resources.

[Modify] d-vebtst [Microsoft.Resources/resourceGroups]
[NoChange] d-vebtst-audit [Microsoft.Resources/resourceGroups]
[Ignore] d-vebtst-audit-governance-egst [Microsoft.EventGrid/systemTopics]
[Modify] d-vebtst-network [Microsoft.Resources/resourceGroups]
[Ignore] d-vebtst-network-vnet-BackendSubnet-nsg [Microsoft.Network/networkSecurityGroups]
[Ignore] d-vebtst-network-vnet-FrontendSubnet-nsg [Microsoft.Network/networkSecurityGroups]
[Ignore] d-vebtst-networkwatcher [Microsoft.Network/networkWatchers]
[Ignore] BackendSubnet-flowlog [Microsoft.Network/networkWatchers/flowLogs]
[Ignore] FrontendSubnet-flowlog [Microsoft.Network/networkWatchers/flowLogs]
[Ignore] d-vebtst-network-vnet [Microsoft.Network/virtualNetworks]
[Ignore] dvebtstnetworkdiagc3vlxj [Microsoft.Storage/storageAccounts]
[NoChange] d-vebtst-psql2 [Microsoft.Resources/resourceGroups]
[Ignore] d-vebtstc3vlxj-psql [Microsoft.DBforPostgreSQL/flexibleServers]
[Ignore] d-vebtst-psql2c3vlxj-kv [Microsoft.KeyVault/vaults]
[Ignore] Failure Anomalies - d-vebtst-insights [microsoft.alertsmanagement/smartDetectorAlertRules]
[Ignore] Failure Anomalies - d-vebtst-insights2 [microsoft.alertsmanagement/smartDetectorAlertRules]
[Ignore] dvebtstc3vlxj [Microsoft.ContainerRegistry/registries]
[Ignore] dvebtstcachec3vlxj [Microsoft.ContainerRegistry/registries]
[Ignore] Application Insights Smart Detection [microsoft.insights/actiongroups]
[Ignore] d-vebtst-insights [Microsoft.Insights/components]
[Ignore] d-vebtst-insights2 [Microsoft.Insights/components]
[Ignore] d-vebtstc3vlxj-kv [Microsoft.KeyVault/vaults]
[NoChange] d-vebtst-kv-mi [Microsoft.ManagedIdentity/userAssignedIdentities]
[Ignore] pep-d-vebtst-webapp-sites-0.nic.f069fc7f-e0bf-4789-8252-df07200cf3c5 [Microsoft.Network/networkInterfaces]
[Ignore] webAppPrivateEndpoint.nic.d997d68a-af67-4a91-a50f-91a7d0d45e73 [Microsoft.Network/networkInterfaces]
[Ignore] pep-d-vebtst-webapp-sites-0 [Microsoft.Network/privateEndpoints]
[Ignore] webAppPrivateEndpoint [Microsoft.Network/privateEndpoints]
[Ignore] dvebtsttestkeysc3vlxj [Microsoft.Storage/storageAccounts]
[Ignore] p-we1waf-pubonnbmumf-kv-star21-astrupfearnley-net [Microsoft.Web/certificates]
[Ignore] d-vebtst-linuxAppServiceplan [Microsoft.Web/serverFarms]
[Ignore] d-vebtst-webapp [Microsoft.Web/sites]

-------------------------------

Estimations:

[Ignore] d-vebtst-audit-governance-egst
   \--- Type: Microsoft.EventGrid/systemTopics
   \--- Location: global
   \--- Total cost: 0.00 EUR
   \--- Delta: 0.00 EUR

Aggregated metrics:

No metrics available.

Used metrics:

No metrics available.

-------------------------------

[Warning] Cannot build filter for Virtual Network if properies are not available.
[Warning] Got no records for Microsoft.Network/virtualNetworks from Retail API

[Ignore] dvebtstnetworkdiagc3vlxj
   \--- Type: Microsoft.Storage/storageAccounts
   \--- Location: westeurope
   \--- Total cost: 0.12 EUR
   \--- Delta: 0.00 EUR

Aggregated metrics:

-> LRS Data Stored [0.1056 EUR]
-> Class 2 Operations [0.0037 EUR]
-> LRS Class 1 Additional IO [0.0037 EUR]
-> LRS Class 2 Additional IO [0.0037 EUR]
-> LRS Class 1 Operations [0.0037 EUR]
-> Batch Write Operations [0.0003 EUR]
-> Scan Operations [0.0003 EUR]
-> List Operations [0.0003 EUR]
-> Read Operations [0.0006 EUR]
-> Write Operations [0.0003 EUR]
-> Delete Operations [0.0006 EUR]
-> All Other Operations [0.0003 EUR]
-> LRS Write Operations [0.0003 EUR]
-> LRS List and Create Container Operations [0.0003 EUR]
-> Read Operations - Free [0 EUR]
-> LRS Write Operations - Free [0 EUR]

Used metrics:

-> Standard LRS | Tables | LRS Data Stored | 0.0417 for 1 GB/Month
-> Standard LRS | Queues v2 | LRS Data Stored | 0.0417 for 1 GB/Month
-> Standard LRS | General Block Blob | LRS Data Stored | 0.0222 for 1 GB/Month
-> Standard LRS | Queues v2 | Class 2 Operations | 0.0037 for 10K
-> Standard LRS | Queues v2 | LRS Class 1 Additional IO | 0.0037 for 10K
-> Standard LRS | Queues v2 | LRS Class 2 Additional IO | 0.0037 for 10K
-> Standard LRS | Queues v2 | LRS Class 1 Operations | 0.0037 for 10K
-> Standard LRS | Tables | Batch Write Operations | 0.0003 for 10K
-> Standard LRS | Tables | Scan Operations | 0.0003 for 10K
-> Standard LRS | Tables | List Operations | 0.0003 for 10K
-> Standard LRS | General Block Blob | Read Operations | 0.0003 for 10K
-> Standard LRS | Tables | Write Operations | 0.0003 for 10K
-> Standard LRS | General Block Blob | Delete Operations | 0.0003 for 10K
-> Standard LRS | General Block Blob | All Other Operations | 0.0003 for 10K
-> Standard LRS | General Block Blob | LRS Write Operations | 0.0003 for 10K
-> Standard LRS | General Block Blob | LRS List and Create Container Operations | 0.0003 for 10K
-> Standard LRS | Tables | Read Operations | 0.0003 for 10K
-> Standard LRS | Tables | Delete Operations | 0.0003 for 10K
-> Standard LRS | General Block Blob | Read Operations - Free | 0 for 10K
-> Standard LRS | General Block Blob | LRS Write Operations - Free | 0 for 10K

-------------------------------

Unhandled exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at PostgreSQLFlexibleQueryFilter.GetFiltersBasedOnDesiredState(String location) in /home/runner/work/arm-estimator/arm-estimator/ace/Products/PostgreSQL/PostgreSQLFlexibleQueryFilter.cs:line 31
   at PostgreSQLFlexibleRetailQuery.GetQueryUrl(String location) in /home/runner/work/arm-estimator/arm-estimator/ace/Products/PostgreSQL/PostgreSQLFlexibleRetailQuery.cs:line 31
   at ACE.WhatIf.WhatIfProcessor.GetRetailAPIResponse[T](WhatIfChange change, CommonResourceIdentifier id, CancellationToken token) in /home/runner/work/arm-estimator/arm-estimator/ace/WhatIf/WhatIfProcessor.cs:line 635
   at ACE.WhatIf.WhatIfProcessor.Calculate[TQuery,TCalculation](WhatIfChange change, CommonResourceIdentifier id, CancellationToken token, Nullable`1 useFakeApiResponse) in /home/runner/work/arm-estimator/arm-estimator/ace/WhatIf/WhatIfProcessor.cs:line 552
   at ACE.WhatIf.WhatIfProcessor.Process(CancellationToken token) in /home/runner/work/arm-estimator/arm-estimator/ace/WhatIf/WhatIfProcessor.cs:line 419
   at ACE.Program.Estimate(FileInfo templateFile, String scopeId, String resourceGroupName, String location, EstimateOptions options, CommandType commandType) in /home/runner/work/arm-estimator/arm-estimator/ace/Program.cs:line 374
   at ACE.Program.<>c.<<Main>b__2_2>d.MoveNext() in /home/runner/work/arm-estimator/arm-estimator/ace/Program.cs:line 137
--- End of stack trace from previous location ---
   at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()

Hey @reijoh, big thanks for reporting the error. I'll take a look ASAP.

@reijoh Could you please provide the template you used for your estimation? Specifically - SKU definition of PostgreSQL.

@reijoh Could you please provide the template you used for your estimation? Specifically - SKU definition of PostgreSQL.

Thank you a lot... The code use modules and PostgreSQL is like this:
module postgre 'br/public:avm/res/db-for-postgre-sql/flexible-server:0.1.1' = {
  name: 'postgre'
  dependsOn: [kvPostgre]
  params: {
    name: GetNameByResourcename('postgreflexibleserver', environment, service_name, '', '')
    skuName: postgre_skuName
    tier: postgre_tier
    administratorLogin: 'vebtst'
    administratorLoginPassword: kvPostgre.getSecret('adminPassword100')
    backupRetentionDays: postgre_backupRetentionDays
    geoRedundantBackup: postgre_geoRedundantBackup
    createMode: 'Create'
    highAvailability: 'Disabled'
    passwordAuth: 'Enabled'
    privateDnsZoneArmResourceId: postgre_privateDnsZoneId
    storageSizeGB: postgre_storageSizeGB
    version: postgre_version
    configurations: [
      {
        name: 'azure.extensions'
        value: 'PGCRYPTO'
        source: 'user-override'
      }
    ]
    diagnosticSettings: [
      {
        workspaceResourceId: p_mgt_mon_workspaceResourceId
      }
    ]
  }
}

Please ask if you need more than the above.

Thank you. Do you think you could send postgre_skuName and sku object defined inside that Bicep module?

Thank you. Do you think you could send postgre_skuName and sku object defined inside that Bicep module?

Yes, the value of postgre_skuName is 'Standard_B1ms'.
The sku object look like this:
"sku": {
  "name": "Standard_B1ms",
  "tier": "Burstable"
}

@reijoh Sorry for keep you waiting but I just come back from holiday, will start working on that soon.

https://github.com/TheCloudTheory/arm-estimator/releases/tag/v1.5-beta2


Implement onRemove on our LayerGroup wrapping

I suspect that, at least it should be like that ATM, removing GeoJSON layers from the Map (DOM) will fail.

Removing a GeoJSON Layer works fine for me, even without overriding the onRemove implementation. Closing ticket as invalid.


Enable easier puppeteering for seamless bridging experiences

Hi there, I am a NixOS developer and would like to experiment Zulip for a better experience compared to Matrix which is our chat collaboration platform by default.
The problem is that Zulip is relevant for active developers like me (but not all) and less for others, so I am looking into a bridging solution, which needs to tick a certain number of boxes (including seamless moderation compatibility, etc.)
With that in mind, there's an amazing and young piece of software I started testing https://github.com/GearKite/MatrixZulipBridge.
I'm not sure how it could look like but I would be curious if Zulip could enable some master API key to create virtual users on the Zulip side which are bridged to Matrix and make https://github.com/GearKite/MatrixZulipBridge/issues/5 possible.
This would be fascinating, and I don't think it's that important to support direct messages for this sort of virtual user. Of course, we lose information like profile email addresses, etc. But I feel like this has the potential to bring Zulip to a larger mass and would be very useful for open source software communities that might have "drive-by" contributors or people who have a lot of stuff on Matrix/IRC. (the same idea applies to IRC anyway).
I am willing to send implementations if I can be hand held a bit on the design of this feature.

@RaitoBezarius thanks for stopping by! We'd be happy to help with this; we actually have had a fully puppeteering solution (including DMs) in the Zephyr bridge since the early days of Zulip in 2012. It involves some hardcoding (e.g. compute_mit_user_fullname in the server codebase) and needs some work to make it a reasonable API, but the core logic/capabilities for fully puppeteered users are all there. git grep can_forge_sender in zulip/zulip will let you trace the main code paths.
If you're serious about contributing, please start a conversation in #integrations in chat.zulip.org; we don't like doing long technical discussions on GitHub as they tend to get slow replies due to the extreme level of contributor activity we have on this GitHub.


setIcon works weirdly

Instead of  android:icon="@drawable/test" I tried this:
findPreference("test").setIcon(getDrawable(R.drawable.test))
and it was working, it even was working with Vector Drawable (.xml images) because adding vector drawable in xml didn't work:
app:srcCompat="@drawable/test" (for .xml images)
only this method (programmatically) helped me to set vector drawable for a preference
But when I later run my app and opened the settings, icons weren't there anymore.
I tried to build my project again and now it just doesn't want to work, only works with xml android:icon="@drawable/test".
I don't really get what is going on)
So now setIcon method doesn't even work with ordinary png image for me:
    @Override
    public void onCreatePreferencesFix(Bundle bundle, String s) {
        addPreferencesFromResource(R.xml.preferences);
        ...
        // set icons
        findPreference("test").setIcon(getDrawable(R.drawable.test));
		...
    }

What could be a problem?

Oh I found the problem, I commented in xml one of my preference (SeekBarPreference one) but I didn't remove code in my preference fragment:
SeekBarPreference seekBarPreference = (SeekBarPreference) findPreference("myseekbar");
and it just broke everything. interesting that app doesn't crash if it can't find the preference, it just breaks everything and doesn't execute any code.
really hard to debug app)
so now findPreference("test").setIcon(getDrawable(R.drawable.test));  seems to be working again
also interesting that
SwitchPreferenceCompat test = (SwitchPreferenceCompat) findPreference("test");
        test.setIcon(ContextCompat.getDrawable(getActivity(), R.drawable.test));

doesn't work, and code after these lines also aren't being executed.
Google shocks me)


GPU not running

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[x ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[x ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Hi all,
I recently acquired a GPU from a friend and want to run my code using the GPU. I installed CUDA and cuDNN, but when I run the code, the GPU is not active at all. I have provided my code to help.
eighthCNN_allatonce.txt

I installed tensorflow-gpu using pip install tensorflow-gpu

Can you post the output of nvidia-smi?

C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi
Sun Feb 26 12:37:58 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 378.66                 Driver Version: 378.66                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 660M   WDDM  | 0000:01:00.0     N/A |                  N/A |
| N/A   55C    P0    N/A /  N/A |     57MiB /  2048MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0                  Not Supported                                         |
+-----------------------------------------------------------------------------+

I have no experience with tensorflow and Windows, here's a guide for tensorflow-gpu on Windows, I suggest you make sure you followed it thoroughly.

I now have the GPU working, but it's taking longer than the CPU was.  It originally started out much faster, with the estimated time expected to be 8 hours. However, it's not at 30 hours. This would have taken around 24 hours on the CPU. Did I do something wrong?
The lines of code it's really dragging on are between 286 and 302 in the file I attached at the top.

Using TensorFlow backend.
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stre
am_executor\dso_loader.cc:135] successfully opened CUDA library cublas64_80.dll
locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stre
am_executor\dso_loader.cc:135] successfully opened CUDA library cudnn64_5.dll lo
cally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stre
am_executor\dso_loader.cc:135] successfully opened CUDA library cufft64_80.dll l
ocally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stre
am_executor\dso_loader.cc:135] successfully opened CUDA library nvcuda.dll local
ly
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stre
am_executor\dso_loader.cc:135] successfully opened CUDA library curand64_80.dll
locally
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') fo
r unknown op: BestSplits
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "CountExtremelyRandomStats" device_t
ype: "CPU"') for unknown op: CountExtremelyRandomStats
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "FinishedNodes" device_type: "CPU"')
for unknown op: FinishedNodes
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "GrowTree" device_type: "CPU"') for
unknown op: GrowTree
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "ReinterpretStringToFloat" device_ty
pe: "CPU"') for unknown op: ReinterpretStringToFloat
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "SampleInputs" device_type: "CPU"')
for unknown op: SampleInputs
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "ScatterAddNdim" device_type: "CPU"'
) for unknown op: ScatterAddNdim
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "TopNInsert" device_type: "CPU"') fo
r unknown op: TopNInsert
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "TopNRemove" device_type: "CPU"') fo
r unknown op: TopNRemove
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "TreePredictions" device_type: "CPU"
') for unknown op: TreePredictions
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\framework\op_kernel.cc:943] OpKernel ('op: "UpdateFertileSlots" device_type: "C
PU"') for unknown op: UpdateFertileSlots
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\gpu\gpu_device.cc:885] Found device 0 with properties:
name: GeForce GTX 660M
major: 3 minor: 0 memoryClockRate (GHz) 0.95
pciBusID 0000:01:00.0
Total memory: 2.00GiB
Free memory: 1.93GiB
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\gpu\gpu_device.cc:906] DMA: 0
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\gpu\gpu_device.cc:916] 0:   Y
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\gpu\gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (d
evice: 0, name: GeForce GTX 660M, pci bus id: 0000:01:00.0)
N/A% (0 of N/A) |                        | Elapsed Time: 0:00:00 ETA:  --:--:--W
c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 2.05Gi
B. The caller indicates that this is not a failure, but may mean that there coul
d be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 1.02G
iB. The caller indicates that this is not a failure, but may mean that there cou
ld be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 2.05G
iB. The caller indicates that this is not a failure, but may mean that there cou
ld be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 1.04G
iB. The caller indicates that this is not a failure, but may mean that there cou
ld be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 2.07G
iB. The caller indicates that this is not a failure, but may mean that there cou
ld be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 1.07G
iB. The caller indicates that this is not a failure, but may mean that there cou
ld be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 551.7
1MiB. The caller indicates that this is not a failure, but may mean that there c
ould be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 2.14G
iB. The caller indicates that this is not a failure, but may mean that there cou
ld be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 1.08G
iB. The caller indicates that this is not a failure, but may mean that there cou
ld be performance gains if more memory is available.
W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\common_runtime\bfc_allocator.cc:217] Ran out of memory trying to allocate 586.1
3MiB. The caller indicates that this is not a failure, but may mean that there c
ould be performance gains if more memory is available.
5% (  0 of 1) |                   | Elapsed Time: 1:13:30 ETA: 1 day, 4:45:03

Your GPU is very low-end so it could be a hint, additionally, it also runs out of memory as you can see in the logs.

It's stuck in a pre-processing step. Would breaking it into smaller chunks improve performance, that way I'm using less memory?


Questionable sample of of throwing Exceptions

https://docs.microsoft.com/en-us/dotnet/standard/exceptions/how-to-explicitly-throw-exceptions
This page states:

It is good coding practice to add information to an exception that is re-thrown to provide more information when debugging.

The example code however, then loses information with the exception it throws, by wrapping the existing FileNotFoundException inside another FileNotFoundException - which I believe would loose the FileName property, any other properties set by the system by default, and any localisation.
If the team agree, I'd be happy to contribute a new sample - but I could only write the C# version. Would also be good to work out a better sample to show this concept before writing it - any thoughts?

@ChrisMaddock Thanks for adding this.
/cc @terrajobst @weshaggard for their input
In my opinion, this topic needs quite a bit of updates:
The title is "How to: Explicitly throw exceptions".  The only example shows a re-throw, and as Chris mentions, it's not a good example of catching an exception, and then re-throwing a new exception with more information. This example re-throws the same type of exception, and has very little information.
We should show examples of these scenarios:

throwing an exception outside of a catch. Argument validation is often a good example here.
re-throwing after some resource cleanup using throw
throwing a new exception type with new information and an inner exception (something like the current example, but a better scenario).

Thoughts?

I agree that this topic should be cleaned up. I like your 3 scenarios @BillWagner.

@ChrisMaddock Do you want to submit a PR following the thoughts in my comment above? If that's more than you want to take on, we'll add it to our backlog.

@BillWagner Not sure how soon I'll get round to it, but sounds like fun! 😄 Will see what I can do.

@mairaw Would you mind unassigning me from this issue and putting it up-for-grabs. Sorry - I'm not sure this is the right one for me!

No worries @ChrisMaddock!


Resource Groups - List documentation needs to specify what a valid $filter is

https://docs.microsoft.com/en-us/rest/api/resources/resourcegroups/list
Currently this just says
"$filter | query |   | string | The filter to apply on the operation."
But the only valid filter is tagname and tagvalue.  Users cannot specify anything else like location.  Docs should be updated to indicate what a valid filter is.

Hi @mikekinsman can you please take a look at this issue and I believe this might need to be created on the Docs repo :)

This is still an issue, please can it be addressed.
Additionally, it does not seem possible to filter on more than one tag, which is poor.


muliple instances of clock

If I call multiple times then it launches multiple instances, but I only want once instance of the clock running
 $('#myclock').thooClock({})
I then try to call $('#myclock').remove() before calling the above but it doesnt show the clock
Is there a way to deal with this please?

If I get you right you want to display multiple instances of the clock, but you only want one clock actually ticking ? Unfortunately thats not possible. As soon as you register the instance the clock is running. Why would you need that feature ?

Wont fix


Fix warning message to show the actual error

...

By analyzing the blame information on this pull request, we identified @mkonicek and @corbt to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Hey @newmetl, please submit your PR on the master branch. Also could you provide an explanation of the issue and screenshots of the alert before / after your change (see https://github.com/facebook/react-native/blob/master/.github/PULL_REQUEST_TEMPLATE.md).

Closing, feel free to open a new PR against master.


A Simple Search Engine

A simple search Engine
It is a simple search engine application from the limited database.
Issue Type:

[x] New Project

Tech stack
HTML
CSS
JS
Screenshots
Work is still under progess.

Assign this issue for me


⚠ Bofrost.at has degraded performance

In 8ee9d94, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1452 ms

Resolved: Bofrost.at performance has improved in fdd0fe0 after 10 minutes.


Open camera on iOS

Is it possible to have an option on iOS to open the camera and the photo gallery?

No this has nothing to do with this package sorry!


Screenshot stacking incorrectly

In some cases screenshots are stacking incorrectly, with the map off to the side.  Need to identify root cause and correct.

observed on Chrome Windows 10 2560x1080 haven't reproduced yet, still working on it.  Tested super quick fix to set screenshot canvas overflow:hidden.

Still unable to reproduce, and no other reports of this issue.  Closing for now, will open if it's reported again.


[WIP] Enhancing lightcurve.periodogram()

We are developing a number of enhancements to the periodgram class(). I have branched off the most recent status of PR #189 and am building upon that work. We have established a number of working points:
Improving from_lightcurve():

[x] Allow for more astropy.stats.LombScargle() keywords
[x] Allow for seismic modification of the LombScargle transform (i.e. oversmapling, supernyquist)
[x] User choice of x-axis units?
[x] Allow limits and grids in both frequency and period

Housekeeping:

[x] Add repr
[x] Add periodogram properties (i.e. nyquist, frequency binwidth etc.)
[x] Expand API on existing and new functions
[x] Add to_pandas() function
[ ] Add from_csv & from_fits functions (compatibility with external pipeline output)?
[x] All lightcurve properties should be transferred, i.e. 'mission', 'quarter' etc.

Improve visualisations:

[ ] Multi axis (days vs microHz) periodogram
[ ] Bokehplot interact functionality?
[ ] Implement an Echelle diagram

Unit tests:

[ ] Expand unit test coverage for new and existing functions

Asteroseismic components:

[ ] Implement multiple dnu/numax options
[ ] Allow for user-input dnu/numax for use with scaling relations?
[ ] Implement uncertainty propagation through the seismic scaling relations
[x] Option for SNR spectrum?
[ ] Implement user input of corrections to the scaling relations?

Things to think about:

[x] Any unique functionality a planet-person would want in their periodogram?
[ ] How would this work for ensemble research?
[x] Ideally, a user would prefer to use as many quarters as possible, as longer time baseline improves frequency resolution. How do we make this compatible with lightkurves format?

I will be making improvements hopefully roughly in that order, top to bottom. Feel free to chip in!
Note: This is a WIP. Commits may contain comments of questions/working points/reminders that will be removed before final build.

I can consult on options regarding:

Bokehplot interact functionality?

Specifically our new interact.py framework has been redesigned with modularity in mind, and can be extended for periodograms if a powerful visualization can be conceived.

Codecov Report

Merging #266 into master will increase coverage by 0.23%.
The diff coverage is 96.26%.

@@            Coverage Diff            @@
##           master    #266      +/-   ##
=========================================
+ Coverage   90.67%   90.9%   +0.23%
=========================================
  Files          26      26
  Lines        3355    3452      +97
=========================================
+ Hits         3042    3138      +96
- Misses        313     314       +1

Impacted Files
Coverage Δ

lightkurve/tests/test_periodogram.py
100% <100%> (ø)
:arrow_up:

lightkurve/tests/test_collections.py
100% <100%> (ø)
:arrow_up:

lightkurve/periodogram.py
94.64% <95.4%> (+3.73%)
:arrow_up:

lightkurve/targetpixelfile.py
90.26% <0%> (+0.37%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks for working on this @ojhall94!

lightcurve.Periodogram periodogram generation and plotting options are now fully functional! Feel free to try them out. Next step is some housekeeping, then on to asteroseismic implementation.

I bet this isn't news to anyone on this PR, but some of Guy Davies' code is available for reference in this gist: https://gist.github.com/christinahedges/2de4a94fc192e4ff193b733e42d219a4

Also: @dfm was kind enough to post an asteroseismology example here, which will be interesting for inspiration:  https://gist.github.com/dfm/0fba6dae50bbbe110417b0a249ae78d5

The progress made in this PR has been prepped for merge in #266, and the seismic work is continuing in #282, so this should probably be closed. I'll keep the copy of the branch though!

Hey Ollie, great job on this! We've merged in a V1.0 of your PR in #277 and so I'm going to close this one. You'll still have access to all your WIP functions and I see you've already opened a new asteroseismology branch. Good work! Keep it up! 👍

Thanks @ojhall94!! :tada:

Thanks for the hard work tidying up and finding bugs!


not support k

while run k8s in dualstak, only one ip returned.
I see the codes in network/plugins.go using k8s.io/apiserver/pkg/util/feature.DefaultFeatureGate to check is ipv6DualStack enabled, but no args exports, how to enable this featuregate?
utilfeature.DefaultFeatureGate.Enabled(kubefeatures.IPv6DualStack)


Responsive height

Most probably I am missing something, i am new to javascript etc
if i set height: 600 in terminal declaration it works perfectly on big displays but if i try to view it on mobile devices 600 exceeds device height and causes problems, so how do i make it responsive or is there any way to declare terminal height from css ? if yes then i can use @media queries

yes you can set the height from css:
.terminal {
    height: 600px;
    max-height: 100vh;
}

this will make terminal height be not bigger then height of the screen (if you don't have any other margins like default on body).
You can also use max-height: calc(100vh - 30px); if you have some banner before terminal that have 30px.

thankyou!, max-height worked! i have one more doubt, i read an option onClear , how to implement this?

sorry i have another query, for example i am using javascript fetch like this :
fetch('file.txt')
.then(response => response.text())
.then(text => this.echo(text));

i am able to echo the contents of file, now if i want to display an image from this file, is this possible?
for example if i add this in file.txt
this.echo('', {raw: true});
i tested this but it's not working, is something like this possible because then it will become very easy to display text and images from a single file.

1. onClear is a callback (event) that is fired when you call clear method/function:
var term = $('body').terminal($.noop, {
   onClear: function() {
       this.echo('after clear');
   }
});

and if you call term.clear(); it will show the message, it also suppose to work with CTRL+L (like in bash) but for unknown reason it don't work in Chrome, browser ignore that event if jump to adres bar, in Firefox is better it call JavaScript code and then jump to address bar.

2. There is very unsecured way to have limited JS code inside text that is echo, by default it was disabled because it may be security hole depend on how your application is created.
Basically you can enable this feature by adding invokeMethods: true option and then you can use this syntax:
xxxx
[[ terminal::echo("", {raw: true}) ]]
xxxx

the problem with this approach is that you will have xxx xxx text and after the image because it first echo text then invoke the method. Use this at your own risk if you accept the text from user and then save that text into a file you ask for trouble.
You can also some hackery like this:
        term.echo('xxxx ___background.jpg___ xxx', {finalize: function(div) {
            div.html(div.html().replace(/___([a-z.]+)___/g, ''));
        }});

(You echo bunch of stuff and create html out of it in finalize function, if the browser freezes check if you don't have error in that code).
Not sure about security implication of this, you probably will need to consider if someone type __javascript:alert('XSS')___
for this
        term.echo("some __javascript:alert('XSS')___ text", {finalize: function(div) {
            // different regex here
            div.html(div.html().replace(/___([^_]+)___/g, ''));
        }});

this will not work at least in Chromium on Linux, I don't know about other browser.
DISCLAIMER: DO THIS STUFF ON YOUR OWN RISK

If you want this for github pages you probably safe with this type of code unless you use execHash option (also disabled by default) that may introduce some other issue, and also depend on your code.
it works like this, open this url:
https://terminal.jcubic.pl/404#[[0,1,%22jargon%20hacker%22]]

it will execute command for you in error page on the website.

Thankyou for your response, this was very informative, I have updated according to your instructions,
you can take a look and test
https://d4rk1nv4d3rs.github.io/dark
please try this sequence :
help
ctf
ctf 1
volga 1

i have implemented onInit and onClear, now the problem is both don't work without $.noop, and if i use it then i loose everything, please take a look

You don't need this 3 commands:
term.update(0, '');
term.exec('clear');
term.exec('banner');

you can use onInit: function() { term.exec('banner'); }, greetings: false, you can also save commands in variable and use onInit: commands.baner, onClear: commands.baner, gettings: false and of course you can also replace your banner (from echo to single string) and put it in greetings variable but then you will not have if after clear.
onInit and onClear will work with any value as first argument. Can you show your code you where using? Also you can disable clear command if you use option: clear: false.

I wanted to edit your code to show you that it work and I've found error in it, you have onClear and onInit as commands (you can type onClear) you need to put them into second object (the options).


[Feature]: add some content in devops page explaining what actually devops is and add a suitable icon/image in that page also add a page for docker

Is your feature request related to a problem? Please describe.

Explain what actually docker is and add resources for it
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

@mnnkhndlwl I'd like to take this issue

Thank You

@mnnkhndlwl  this where i need to change the info regarding devlops ???

I've added the Docker page....
with all the hyperLinks working.
i need you to checkout the devOps screenshot that i've uploaded here.
DOCKER page:

DevOps:

@pradeeptosarkar can u take a look

@ghOst-vedant looks good

@pradeeptosarkar i'll create a pr then ?

@ghOst-vedant yes buddy go ahead

resolved


Allow LDAP users and groups to be recipients of the list

The list of recipients should be composed of:

e-mail addresses
LDAP user names (is the use of alias needed?)
LDAP group names (syntax @group?)

For LDAP groups, how to get the e-mail addresses of each group member? => Scan the group authz file, then query the LDAP server!

Can https://github.com/justinmassiot/sync-ldap-groups-to-svn-authz be of any help?


Bitrise: Could not find option for key :workspace. Available keys:

Somehow, Using fastlane on Bitrise cause xcov to fail without the option key :workspace. It work locally on my machine. Anyone have any possible leads why this would happen?

Hey @Zaccc123 👋
Thanks for reporting, this one is a weird one. Can I take a look at how are you setting xcov up on your Fastfile?

xcov(
  workspace: "wit-reader.xcworkspace",
  scheme: "wit-reader-dev",
  output_directory: "xcov_output",
  include_targets: "wit-reader.app",
  slack_channel: "#wit-integration",
  slack_url: SLACK_WEBHOOK_URL
)

Hey @nakiostudio the above is my setup. By the way, great work on the this, let me know if you need more information. Cheers =)

Thank you @Zaccc123 !
Your setup looks good to me, does this only happen on Bitrise and not in your local machine? which xcov and fastlane versions are you using?

Yes, it happen only on Bitrise and not my local machine. Both are using the same version, thats why I find it weird that it fail on Bitrise.
fastlane 2.11.0, xcov 1.0.0

@Zaccc123 Do you know by any chance what version of Rubygems (gem --version) is used on Bitrise?
@nakiostudio I think xcov action reaches this line and that's why we don't get back the available actions.
We had this kind of issues with Rubygems 2.6.2 which was fixed with this monkey_patch.
I think it would be helpful to have a log like
UI.important "Couldn't find 'xcov' gem specification.
in xcov action inside of the rescue block.

I believe it is 2.3.0. I did manage to temporary solve it by installing xcov first by using the Ruby Script plugin to run gem 'xcov'.
The difference is that this install xcov first rather than installing it while fastlane running. Not sure if that would be the causes.

As @thelvis4 pointed out this should affect version 2.6.2 of ruby gems only. I will run some tests over the weekend 👍

I am not able to reproduce this scenario with Rubygems 2.3.0. I will close the ticket as you found a workaround for the problem.

Okay.. I will update here if I manage to find more information about it. Thanks for your time =)


psycopg2.errors.SyntaxError: syntax error at or near ")"

Environment

PGSync version: 2.0.0
Postgres version: 10.16
Elasticsearch version: 7.12.1
Redis version: 4.0.9
Python version: 3.6.9

Problem Description
I am attempting to run bootstrap, and am running into an odd issue where psycopg2 is raising a psycopg2.errors.SyntaxError for the statement FROM (VALUES ) AS v (table_name, foreign_keys).
My schema.json file seems to be quite simple, so I'm skeptical that it is the issue. It resembles the following:
[
  {
    "database": "my_database",
    "index": "my_database",
    "nodes": {
      "table": "flags_featureconfig"
    }
  }
]

Error Message (if any)
Console logs as a result of running bootstrap --config schema.json -v.
pg_settings:
SELECT setting
FROM pg_settings
WHERE name = %(name_1)spg_settings:
SELECT setting
FROM pg_settings
WHERE name = %(name_1)spg_settings:
SELECT setting
FROM pg_settings
WHERE name = %(name_1)shas_permission:
SELECT usesuper
FROM pg_user
WHERE usename = %(usename_1)s
  AND usesuper = TRUE/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/dialects/postgresql/base.py:3811: SAWarning: Did not recognize type 'geometry' of column 'extent'
  "Did not recognize type '%s' of column '%s'" % (attype, name)
 - flags_featureconfig
replication_slots:
SELECT *
FROM PG_REPLICATION_SLOTS
WHERE slot_name = %(slot_name_1)s
  AND slot_type = %(slot_type_1)s
  AND plugin = %(plugin_1)sSELECT table_constraints_1.table_name,
       array_agg(CAST(key_column_usage_1.column_name AS TEXT)) AS foreign_keys
FROM information_schema.table_constraints AS table_constraints_1
JOIN information_schema.key_column_usage AS key_column_usage_1 ON key_column_usage_1.constraint_name = table_constraints_1.constraint_name
AND key_column_usage_1.table_schema = table_constraints_1.table_schema
JOIN information_schema.constraint_column_usage AS constraint_column_usage_1 ON constraint_column_usage_1.constraint_name = table_constraints_1.constraint_name
AND constraint_column_usage_1.table_schema = table_constraints_1.table_schema
WHERE table_constraints_1.table_name IN ([POSTCOMPILE_table_name_1])
  AND table_constraints_1.constraint_type = %(constraint_type_1)s
GROUP BY table_constraints_1.table_nameTraceback (most recent call last):
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1707, in _execute_context
    cursor, statement, parameters, context
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 717, in do_execute
    cursor.execute(statement, parameters)
psycopg2.errors.SyntaxError: syntax error at or near ")"
LINE 2: FROM (VALUES ) AS v (table_name, foreign_keys)
                     ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/vagrant/.local/bin/bootstrap", line 68, in <module>
    main()
  File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/vagrant/.local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/vagrant/.local/bin/bootstrap", line 63, in main
    sync.setup()
  File "/home/vagrant/.local/lib/python3.6/site-packages/pgsync/sync.py", line 191, in setup
    self.create_views(schema, tables, user_defined_fkey_tables)
  File "/home/vagrant/.local/lib/python3.6/site-packages/pgsync/base.py", line 620, in create_views
    statement,
  File "<string>", line 2, in execute
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/util/deprecations.py", line 390, in warned
    return fn(*args, **kwargs)
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 3038, in execute
    return connection.execute(statement, *multiparams, **params)
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1201, in execute
    return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS)
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 78, in _execute_on_connection
    self, multiparams, params, execution_options
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1297, in _execute_ddl
    compiled,
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1750, in _execute_context
    e, statement, parameters, cursor, context
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1931, in _handle_dbapi_exception
    sqlalchemy_exception, with_traceback=exc_info[2], from_=e
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
    raise exception
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1707, in _execute_context
    cursor, statement, parameters, context
  File "/home/vagrant/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 717, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.SyntaxError) syntax error at or near ")"
LINE 2: FROM (VALUES ) AS v (table_name, foreign_keys)
                     ^

[SQL: CREATE MATERIALIZED VIEW "public"."_fkey_view" AS SELECT v.table_name, v.foreign_keys
FROM (VALUES ) AS v (table_name, foreign_keys)]
(Background on this error at: http://sqlalche.me/e/14/f405)

This has been fixed in master. Sorry about that

Thanks!

``@toluaina
I'm having the same issue trying to to run pgsync on a docker Ubuntu container installing it with pip.
Here is the content of my Dockerfile:
FROM ubuntu:20.04
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-get update
RUN add-apt-repository universe
RUN apt-get update
RUN apt install -y python3
RUN apt install -y python3-pip
RUN yes | pip install pgsync
ENV PG_USER=postgres
ENV PG_HOST=host.docker.internal
ENV PG_PORT=5432
ENV PG_PASSWORD=mysecretpassword
ENV LOG_LEVEL=INFO
ENV ELASTICSEARCH_PORT=9200
ENV ELASTICSEARCH_SCHEME=http
ENV ELASTICSEARCH_HOST=host.docker.internal
ENV REDIS_HOST=host.docker.internal
ADD schema.json /
RUN bootstrap --config /schema.json
CMD [ "pgsync", "--config", "/schema.json", "--daemon" ]
And here is my schema.json
[
{
"database": "oneordersintegration",
"index": "orders",
"nodes": {
"table": "Orders",
"schema": "public",
"columns": [
"Id",
"CreatedAt",
"LastModifiedAt",
"CreatedBy",
"CreatedBy",
"LastModifiedBy",
"Version"
]
}
}
]
Is there any prediction on when this fix will be available for the "pip installation"?
Thanks.


E2E: Add apiEmailTest to check SMTP setup before proceeding to actual test

Summary

Add apiEmailTest to check SMTP setup before proceeding to actual test
Remove unnecessary update to config since it's included in the default config already

Ticket Link
none, failing test on Cypress daily
Reference: "SA15008 - Sign In Forgot password - Email address has account on server" - https://mm-cypress-report.s3.amazonaws.com/1589302823510/mochawesome.html

/update-branch

/update-branch

/update-branch


gui: add network to peers window and in peer details

Concept ACK.

tACK b1704ead912ed813eaa08e80af5e14a2c087574e
Especially handy because IPv6 addresses are turned into ellipses until you expand it:

This column might be a more natural place for the inbound/outbound arrow.

Hm, good idea. Am about to open a PR to add the direction+connection type, maybe move the arrow there.

This column might be a more natural place for the inbound/outbound arrow.

Thanks @Sjors. Good idea, done.

@jonatack
https://github.com/bitcoin-core/gui/pull/135
In this PR the direction has its own column. This makes the direction sortable.
Having the network type and the direction individually sortable would be great.

@RandyMcMillan not a problem, will just drop the last commit if that PR is merged

Thanks for the feedback. I dropped the arrows commit (I think there is a better approach possible) and took most of @hebasto's suggestions.

(Can drop the clang-formatting changes in the refactoring commit but some of the conditionals have error-prone formatting.)

The most of the re-formatted code could go away in #18 :)

@jonatack
Could this patch makes things look better
--- a/src/qt/peertablemodel.cpp
+++ b/src/qt/peertablemodel.cpp
@@ -168,6 +168,8 @@ QVariant PeerTableModel::data(const QModelIndex& index, int role) const
         }
     } else if (role == Qt::TextAlignmentRole) {
         switch (index.column()) {
+        case Network:
+            return QVariant(Qt::AlignCenter);
         case Ping:
         case Sent:
         case Received:

?

Due to the header titles are changed this patch seems required:
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -1092,7 +1092,7 @@ void RPCConsole::updateDetailWidget()
     const CNodeCombinedStats *stats = clientModel->getPeerTableModel()->getNodeStats(selected_rows.first().row());
     // update the detail ui with latest node information
     QString peerAddrDetails(QString::fromStdString(stats->nodeStats.addrName) + " ");
-    peerAddrDetails += tr("(node id: %1)").arg(QString::number(stats->nodeStats.nodeid));
+    peerAddrDetails += tr("(peer id: %1)").arg(QString::number(stats->nodeStats.nodeid));
     if (!stats->nodeStats.addrLocal.empty())
         peerAddrDetails += "<br />" + tr("via %1").arg(QString::fromStdString(stats->nodeStats.addrLocal));
     ui->peerHeading->setText(peerAddrDetails);

@jonatack
Could this patch make things look better

Agree; for Peer Id too.

Thanks for the good feedback @hebasto. Added translation, changed the network column align to center, added a commit in your name for the header renaming + initialize columns in the .h, fixed the doxygen broken doxygen formatting, dropped the clang formatting.

Thanks! My thinking was that users expect this to be sorted by alphabetical order as there isn't an obvious alternative sort expectation, so I went with sort by name rather than by enum id (which may be more what you're thinking of? e.g. ipv4, then ipv6, then onion, then i2p, then cjdns)

After #18 a filter feature could be easy added, and the sort order will do not matter :)

SGTM, will review PRs 161 -> 18 ->164.

Updated the first commit to remove the now-redundant network string (same idea as @promag's suggestion in the connection type pull) and updated the network column ordering by enum id rather than by network name (@hebasto I agree it's better, see screenshot with your patch to show all the Network enum members). Will open this in the main repo as it now touches RPC code.

Re-opening here, leaving the main repo pull closed. The changes are minor enough to not warrant moving it to the main repo.

ACK e262a19b0ba07d8d2334551f49ca1577ab2999fc

post-merge ACK e262a19

.diff

.patch

Add net to peer


ReplaceParameters="true" should be for .pq files in VS project templates

If I save a template in VS, rows with pq files are saved with ReplaceParameters="false" in MyTemplate.vstemplate file:
$safeprojectname$.pq
Obviously they should be saved with ReplaceParameters="true".

Hey!
We're currently working on a new Visual Studio Code extension for the Power Query SDK which should be released later this year.
We will take your feedback into consideration for this new VS Code extension.
Thanks!


[FEATURE] Post/story form UI

Description

I would like to change the UI of create post/story form to give it a decent and attractive look.

Screenshots
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Sure, you can go ahead!


Maintain Directory convention with Correct Versioning

In the Interfaces folder, the versioning of entities follows a pattern of Entity -> Vx (Version). However, inside the Entities folder within JobLeet.Core, there are inconsistencies in versioning for some entities listed below.

Accounts
Common
Companies
Applications
Seekers

Current Structure Example
├── Entities
│   ├── BaseEntity.cs
│   ├── Common
│   │   ├── V1
│   │   │   ├── Qualifications
│   │   │   │   ├── Education.cs
│   │   │   │   ├── Qualification.cs
│   │   │   │   ├── Skill.cs
│   │   │   ├── Shared
│   │   │   │   ├── Address.cs
│   │   │   │   ├── Date.cs
│   │   │   │   ├── PersonName.cs
│   │   │   │   ├── Phone.cs

Expected Behavior
├── JobLeet.Core
│   ├── Entities
│   │   ├── Common
│   │   │   ├── Address.cs
│   │   │   ├── Date.cs
│   │   │   ├── PersonName.cs
│   │   │   ├── Phone.cs
│   │   │   ├── Education.cs
│   │   │   ├── Qualification.cs
│   │   │   ├── Skill.cs

The reason for this is not to make structure too deep and complex and also get allign with common approach for Interfaces and other folders.
namespace should end with Vx for all except for BaseClass.
Example

For Entities
namespace JobLeet.WebApi.JobLeet.Core.Entities.Accounts.V1

For Interfaces
namespace JobLeet.WebApi.JobLeet.Core.Interfaces.Jobs.V1

Closing #20 with PR #22


Check how many times a variable is forwarded for binary ops.

Avoid the abuse of forwarded variables by limiting it at 255.
MSL throws a compile error and I think there's no harm by limiting it at 255. No regression was found and it also passes the following CTS tests:
Test case 'dEQP-VK.spirv_assembly.instruction.compute.spirv_ids_abuse.lots_ids'..
  Pass (Output match with expected)

Test case 'dEQP-VK.spirv_assembly.instruction.graphics.spirv_ids_abuse.lots_ids_vert'..
  Pass (Rendered output matches input)

Test case 'dEQP-VK.spirv_assembly.instruction.graphics.spirv_ids_abuse.lots_ids_tessc'..
  Pass (Rendered output matches input)

Test case 'dEQP-VK.spirv_assembly.instruction.graphics.spirv_ids_abuse.lots_ids_tesse'..
  Pass (Rendered output matches input)

Test case 'dEQP-VK.spirv_assembly.instruction.graphics.spirv_ids_abuse.lots_ids_frag'..
  Pass (Rendered output matches input)

In the case this matters, the test can be heavily reduced to 400 lines, those should be enough to check regressions in the future since we would have two expressions of sums (i.e. it breaks just once the forwarding chain).
In the testing suite we don't get a significant slowdown, it's more related to the size.

Should fix issue #1823. Need to confirm.

I'll try to make time for this next week.


added css to to do list

Added some css to the to-do app (no. 66), a nice heading style and responsive buttons too. Please merge it if you like my efforts.

Please merge with the hacktoberfest-accepted tag


Unknown Motherboard (ASRock A320M-DGS)

Debug info
[KeyError]: 'Font:'[KeyError]: 'Font:'[KeyError]: 'Host:'
----run_rpc----

uptime in epoch:<PHONE_NUMBER>.0
cpuid:<PHONE_NUMBER>25587978
cpuappid:<PHONE_NUMBER>56312125
termappid:<PHONE_NUMBER>15056160
[KeyError]: 'Host:'
2637 (dpkg), 1 (pkg), 32 (flatpak)
----out.py----

----DE/WM----
deid: GNOME
wmid: Mutter
wmline item 0: Mutter

----TERMINAL----

[KeyError]: 'Font:'
fontline: Font: N/A
termid:<PHONE_NUMBER>15056160
termline item 0: gnome-terminal
themeline: Pop
ChromeOS-dark [GTK2/3]
[KeyError]: 'Host:'

----GPU INFO----

gpuinfo: NVIDIA GeForce GTX 1060 3GB
gpuvendor: nvidia

----CPU INFO----

cpuvendor: amd
cpumodel: Ryzen 5
cpuinfo: AMD Ryzen 5 1600 (12) @ 3.200GHz
cpuline item 0: AMD Ryzen 5 1600 (12) @ 3.200GHz
memline: 4401MiB / 16002MiB

----OS INFO----

sysosline: Pop!_OS 20.10 x86_64
sysosid:<PHONE_NUMBER>25587978
[KeyError]: 'Disk'
diskline: Disk N/A
packagesline item 0: 2637 (dpkg), 1 (pkg), 32 (flatpak)

----testing.py----
----DE/WM----

deid: GNOME
wmid: Mutter

----TERMINAL/SHELL----

termid:<PHONE_NUMBER>15056160
shellid: bash

----HOST INFO----

[KeyError]: 'Host:'
[KeyError]: 'Host:'
hostid:<PHONE_NUMBER>79197462

----GPU INFO----

gpuvendor: nvidia

----CPU INFO----

cpumodel: Ryzen 5

('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
[KeyError]: 'Host:'
Unknown motherboard, contact us on github to resolve this.
{}
cycle0 not in : True
try_connect(key="cycle0") on <pypresence.presence.Presence object at 0x7f3e8f4cc040>
cycle 0
try_update(key="cycle0") on <pypresence.presence.Presence object at 0x7f3e8f4cc040>
appid:<PHONE_NUMBER>25587978

Neofetch
OS: Pop!_OS 20.10 x86_64
Kernel: 5.8.0-7630-generic
Uptime: 4 hours, 48 mins
Packages: 2637 (dpkg), 1 (pkg), 32 (flatpak)
Shell: bash 5.0.17
Resolution: 1920x1080
DE: GNOME 3.38.2
WM: Mutter
WM Theme: Pop
Theme: ChromeOS-dark [GTK2/3]
Icons: Vimix-Black [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 5 1600 (12) @ 3.200GHz
GPU: NVIDIA GeForce GTX 1060 3GB
Memory: 4343MiB / 16002MiB

Requested item
Support for the ASRock A320M-DGS Motherboard

Thanks, I'll add it as soon as I can (probably Saturday).

Hello can you try with this version and run with --debug, i want the Host output :
FetchCord-2.7.1-py3-none-any.zip
(unzip the file and install it with pip install FetchCord-2.7.1-py3-none-any.whl)

Hello can you try with this version and run with --debug, i want the Host output :
FetchCord-2.7.1-py3-none-any.zip
(unzip the file and install it with pip install FetchCord-2.7.1-py3-none-any.whl)

It seems like you forgot to put a link to the file.

Oops sorry ^^,well it's released now,  can you try it ?

Oops sorry ^^,well it's released now, can you try it ?

Sure thing just got around to trying it
----HOST INFO----

[KeyError]: 'Host:'
[KeyError]: 'Host:'
hostid:<PHONE_NUMBER>79197462

It still seems to error when trying to get the Host

It's because neofetch doesn't report the host field. Seams to work correctly otherwise right ? I'm closing the ticket


gltfpack: Scene hierarchy changed unexpectly

I am using gltfpack 0.18, this is the original glb data:

And after gltfpack -cc -kn -km -ke, the nodes data changed

Is there any flags can keep the hierarchy ? Some of my process rely on the scene hierarchy...

See #424.
The short story is: it's impossible to not change the hierarchy when the quantization is used. When using 0.18, gltfpack will always change the hiearchy. The most recent builds of gltfpack (that can be downloaded from https://github.com/zeux/meshoptimizer/actions/runs/2886910574) relax this restriction when either -noq or -vpf is used, by preserving the parts of the hierarchy with named nodes.

I see. Thanks for your quick reply.


Create clang-3.8 build

This build is present in other repos, but not on google-cloud-cpp.

This is now done.


Pull in markdown files for content

For a lot of reasons, I'd like to integrate markdown support. From what I can see, we either:

sneak some voodoo in the recognizes md filenames and parses
make sure modularization effort fits in with typical build system demands and let them handle markdown files
add extensions based on filetype to do processing (then we're the build chain)

Some thinking required. Suggestions?

This need can be replaced for now with other tools, removing the issue.


OWASP: Remove Unnecessary HTTP Response headers in bundle.js -Low

URL: https://campd-stg.app.cloud.gov/
Entity: bundle.js (Page)
Risk: It is possible to gather sensitive information about the web application such as usernames, passwords, machine name and/orsensitive file locations
Causes: Insecure web application programming or configuration
Fix: Do not allow sensitive information to leak.

legacy issue, no longer valid.


Bottom up

Links work to other pages, trust

LGTM. getting some DOM property warnings but its trivial. merging.


Use with AS7265x

Is it possible to make this project work with Sparkfun AS7265X ?
Thank you,
Thom

I looked over Sparkfun's product page and don't see any immediate blockers.
https://www.sparkfun.com/products/15050
It is an I2C bus device with an Arduino library, so adapting this project should be possible. What I don't see on that page is how long the Arduino library blocks while reading the sensor, blocking the thread too long may interfere with HTTP communication with web UI. Feel free to fork this project and experiment!
Since I don't have Sparkfun's AS7265X module and don't intend to buy one, I will not be adding such capability here. This specific project will remain focused on Adafruit's AS7341 module because that's the sensor I have.


Fix treeview styling (eg. log activity) on Gtk 3.17

Update of commit 813a2d77d83284b031a4f2bd5775b9f82b12846e

Replaced by https://github.com/sugarlabs/sugar-artwork/pull/68


Examples for Custom Metrics configuration in AKS

Documentation Request
In the documentation page for Configuration, it mentions all the different options for specifying Configuration values for metrics in dotnet-monitor (command line parameters, user settings, key-per-file, and environment variables). It also mentions that you can specify the dotnet-monitor configuration through a config map in Kubernetes, yet in the Kubernetes section it only specifies an example for a Kubernetes secrets. Since I am only looking to add custom metrics to dotnet-monitor, it would be more helpful if we can have an example for specifying dotnet-monitor configuration in Kubernetes using config maps with the recommended guidance.
Previous documentation
https://github.com/dotnet/dotnet-monitor/blob/main/documentation/configuration.md#Kubernetes

@shirhatti I believe you had plans to add this, per https://github.com/dotnet/dotnet-monitor/pull/206/files#r616877616

Also related to #164


Make ugrain default denom

Related Github tickets

a list of github issues that are relevant for this PR

Background
A short paragraph on test what exactly this PR solves.
Testing completed

[ ] a list of actions that you've performed to ensure that this PR works as intended
[ ] 99% of the times you should have an item: "wrote tests"

@Vizualni Is https://github.com/palomachain/paloma/blob/master/scripts/setup-volume-testnet.sh#L20 still necessary as of this PR?


DOC: adding example to decimate function

Reference issue

What does this implement/fix?

Additional information

Azure failure is unrelated. For some reason CircleCI didn't build your latest commit, but the previous one looked good. Looks like you addressed @rgommers 's comments so I'll go ahead and merge. Thanks @pantelisantonoudiou !


Document Array Transforms

Purpose
Document Array Transformations in preparation for their release in Launch
Changes

Add better documentation for the propertyPath attribute along with several examples
Convert the Remove Transform example to reference an array

Caveats
Do we want to actually convert the Remove Transform example? I thought it made sense to have at lease one of the practical examples using the array syntax.
Additional helpful information
N/A

Anyone know what's up with ci/dockercloud? @remear?

Builds are still being triggered in Docker Cloud, but the statuses are not being reflected in GitHub. I'm tracking down the right persons to get this resolved.
Meanwhile, I'm ready to help get this shipped as the feature goes live.

@remear looks like it's fixed! Can I get one more thumbs up?


add progress

https://www.radix-ui.com/docs/primitives/components/progress

shipped in 0.3.0, https://github.com/universal-ember/ember-primitives/releases/tag/ember-primitives%400.3.0
https://ember-primitives.pages.dev/3-components/progress


Bug JavascriptException: Message: Cyclic object value in the latest version of firefox and chrome

Now you can use it in the latest versions of firefox and chrome.
The bug was that the code stopped at self.driver.execute_script ("return window.WAPI")
so it never saved the object in available_functions.
That is, every time he replaced wapi.js on the page making this error happen
Along with that I sent the webpackJsonp fix
and the executable_path for the chrome browser

Fixed bug in the generation of base64 qrcode (get_qr_base64) and plain (get_qr_plain). In addition to the qrcode selector ('qrCode': "canvas[aria-label="Scan me!"]") correction

Thanks, good fix 👍

Thanks

@lucas-alberto98 you are adding too many commits that exceed the scope of this PR. Could you move those commits to another branch?


prioritise current theme over inactive themes to resolve issue 7372

this is in relation to Issue:7372 https://github.com/OrchardCMS/Orchard/issues/7372

I am afraid that the DefaultLocalizedStringManager class is actually called only once at startup, and then the CurrentTheme call would just fix the issue for the one that is the first to be called.

Ah of course, I suppose this is a reflection of how we (ab?)use Orchard. We have many themes available to us in our environments but they aren't a number of themes for one site, they are completely seperate sites and we would never switch between them.
While I still think this change is required, to make the fix work more generally we need to listen for the "SiteCurrentTheme" signal being triggered in addition to "culturesChanged" as an indicator of when the language file cache should be refreshed.


Remove slot API from html-block control when deferring rendering

The html attribute was introduced a while ago to avoid double rendering (once in the liteDOM, once in the shadowDOM) certain expensive elements (e.g. iframes) within the the html-block component when using the standard deferred rendering workflow. Once all usages of the original slot workflow have been migrated to use the new attribute, we can strip out the slot and stamping logic that we previously used.

All consumers have now been updated, so this should be good to go. :)


Improve zip file iteration performance

When traversing large zip files I noticed that SharpZipLib was allocating quite a lot of memory. So I found out that by pooling of costly Inflator instances a lot of that can be rectified. There's now new PooledInflator type that can be used by the library itself and is known to be safe to pool (it's rented from pool or is otherwise instance created by the library itself).
I also changed ZipFile to follow the common public struct enumerator pattern found in BCL data structures that removes unnecessary allocations
Benchmark test case updated and now targets oldest supported runtimes (.NET 4.6.2 and .NET 6.0). Unsupported runtimes are not installed by default.
Results

BenchmarkDotNet v0.13.7, Windows 11 (10.0.23516.1000)
AMD Ryzen 9 5950X, 1 CPU, 32 logical and 16 physical cores
.NET SDK 7.0.400
  [Host]     : .NET 6.0.21 (6.0.2123.36311), X64 RyuJIT AVX2
  Job-ERDPDJ : .NET 6.0.21 (6.0.2123.36311), X64 RyuJIT AVX2
  Job-HFJNUX : .NET Framework 4.8.1 (4.8.9179.0), X64 RyuJIT VectorSize=256

ICSharpCode.SharpZipLib.Benchmark.Zip.ZipInputStream

Diff
Method
Toolchain
Mean
Error
Allocated

Old
ReadZipInputStream
.NET 6.0
151.4 ms
0.60 ms
104.54 KB

New

.NET 6.0
151.7 ms (0%)
0.84 ms
72.15 KB (-31%)

Old
ReadZipInputStream
.NET Framework 4.6.2
150.2 ms
0.50 ms
106.05 KB

New

.NET Framework 4.6.2
150.8 ms (0%)
0.70 ms
74 KB (-30%)

Old
ReadLargeZipFile
.NET 6.0
1,337.3 ms
8.18 ms
2412174.27 KB

New

.NET 6.0
1,292.3 ms (-3%)
9.08 ms
548513.15 KB (-77%)

Old
ReadLargeZipFile
.NET Framework 4.6.2
1,499.4 ms
11.41 ms
2421273.81 KB

New

.NET Framework 4.6.2
1,452.4 ms (-3%)
3.35 ms
556703.89 KB (-77%)

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

Thank you for the review. As I mentioned in comment, the ZipFile scenario is hard to use when you cannot control to internal input stream creation. I created a fix commit that proposes to have InflaterPool.Size which is only public member and allows to disable the pooling by supplying a value of 0 or less.
What do you think about the approach? I would also gladly any commits from you into this part shaping the solution towards your liking, but also hoping that the benchmark's ZipFile API usage would be covered.

I think that would be a good compromise. I am not sure about making the pool public though... Perhaps there should be a public singleton that maps to the internals of the pool.
That way we have a clear consumer API for global library tweaks... Or perhaps I am just overthinking it.
The initial value would need to be 0 though, as the goal is to not accidently break anything (but again, maybe I am making this into a larger issue than it needs to be..)

It's always good to keep downstream consumers happy! 😉  I've force pushed a proposal of adding root level static class for global options, SharpZipLibOptions, which has now sole property of InflaterPoolSize which defaults to 0. Benchmark updated to set the value to 4 (allocations still down 70%).


Music / audio manipulation visualisation

Hello,
I would like to know if there is a method to get some data about an "audio emitter" object in order to make some music visualization or a demoscene reacting to the music.
I am not sure I am very clear (sorry about that) so ,for example :
if I want to play an "audio emitter" object i can do something like this :
audio = scene.getObjectByName("music");
audio.play();

Now is there a way to do something like audio.getFrequency() or audio.getVolume();
Thanks a lot for the work you put in nunuStudio , it's really great and fun to play with

Hi
It is possible, since the audio system is based on the WebAudio API (you can check out some examples here https://webaudioapi.com/samples/).
I will try to put up some examples using the audio frequency and volume.
Thanks a lot for the suggestion.
Hope it helps.
Cheers

I finally got something moving with the sound :)
So if it can help or inspire someone here is how I did it.
It is a actually a mix of different methods I copied here and there and that I adapted. There are certainly better ways.
sound-demo.nsp.zip


Remove AppVeyor hook, for a green build result

This thread in the support forum at appveyor seems to confirm this:
https://help.appveyor.com/discussions/problems/11287-the-build-phase-is-set-to-msbuild-mode-default-but-no-visual-studio-project-or-solution-files-were-found

Wait, #111 removed AppVeyor, what's needed is to remove the integration.
I will update the title of this Issue.

👋 @sickill Do you think you can perform that change?

Yes, now that has been performed, thanks @ku1ik!


feat: use edge runtime

The current issue is that _document.tsx isn't rendered properly. Will have to resolve this before merging.


Use library found instead of hardcoding compiler flag.

Fixes build on OpenBSD.

@grayed Thanks for this. Sorry about the ridiculous delay in getting it merged!


How many entries does this plugin support hot reload?

I don't understand the question, can you provide some more context or some example code?


Component Memory Leaks

This resolves react warnings about setting component state after the component has unmounted.
Most of the memory leaks happened inside of hooks that had async operations. Once the async operation completed it failed to check wether the component was still mounted. It introduces a new hook useIsMounted that makes it reusable to check wether a component is mounted/unmounted.

@franckc @nick
Are either of you available to give this another look?

@franckc,
The author of this PR has clearly explained the reasoning behind the changes they made. Also, in my opinion, there is enough support for the code pattern found in the attached commits to warrant their merge into DShop's source.
If you do not disagree, could you please merge the commits?


Adds frontend runtime env

Description
This PR adds runtime configuration to the frontend.
The priority is environment variables followed by values loaded from ENV_FILE, which defaults to /env.
This works by reading ENV_FILE overwriting anything with environment variables and writing /usr/share/nginx/html/static/js/runtime_env.js. This js file provides the variables to the frontend via windows.ENV. The frontend will read these values if present or default to reading from process.env.

Fixes # (issue)
Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

How Has This Been Tested?

[ ] Local Pre-commit Checks
[ ] CI/CD Build

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My changes generate no new warnings
[ ] If applicable - I have commented my code, particularly in hard-to-understand areas
[ ] If applicable - I have made corresponding changes to the documentation
[ ] If applicable - I have added tests that prove my fix is effective or that my feature works
[ ] If applicable - New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Merged to #561


signup count getting overwritten

For campaigns with SMS signups, we need to be able to manually add in those SMS signups for now.
When I first put the "real" signup number in, it displays properly. But then web signups should add to this higher number as they come in (updated intermittently). However this number is just getting overwritten with the web signup updates.
i.e. on https://beta.dosomething.org/node/362/custom-settings I changed it from 9302 to 45321 and then later it went to 9304.

@mikefantini I haven't been able to recreate this locally

The only thing I can think that's causing this is strange DB replication?
Once the number is set it won't query the database to get the signup count, so maybe that number is getting set in one DB & not migrating to the other DBs...? This would also explain why I can't replicate this locally...

For context, this is a dosomething_helpers variable signup_count

@blisteringherb this is the cron function that runs every hour to update the number and here's the code that updates the signup count on the actual form

No queriers are directed to the slave DB so this isn't related to replication.  Is there any way to just run a query to get all of the signups on cron rather than do the incrementing?  Or can you do that query less frequently as a reconciliation to make sure the number is correct?

@blisteringherb yeah, cron could run the live count, but it's another one of those issues where we need to include mobile signups, which are not in the drupal database. so we need it to live update, but also be overridden. the classic problem.

@angaither: one suggestion from @mshmsh5000 was what if we create a new field just for SMS signups. This field would never get overwritten, it would just be a field for an editor to put in SMS signups number once (maybe a few times if an influencer sends a bunch of signups).
We then could take the web signups number that is constantly being updated by cron and add this updating number to the number in the SMS signups field; and so all we would ever display is the sum of these two fields.
Thoughts?

:+1:

Also talked to @angaither about this, and we agree it's a puzzle we want to solve. But not top priority, if only because the timing tests are getting put off for a month.

sounds good @mshmsh5000 @angaither - going this route will let us get up the # of ppl doing tests that are all set and currently blocked by this


Message Header Analyzer URL Outdated

In the linked article for the Message Header Analyzer, there are instructions which are outdated (for older clients, and do not include a working link to the Message Header Analyzer).
Please either link to here for the Message Header Analyzer tool part of the anti-spam headers article, or please fix the linked article to include the link to the actual header analyzer tool directly at https://mha.azurewebsites.net/.

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

ID: 36f9293f-c337-7af6-e994-336531d62f35
Version Independent ID: 36f9293f-c337-7af6-e994-336531d62f35
Content: Use Trusted ARC senders for legitimate devices and services between the sender and receiver - Office 365
Content Source: microsoft-365/security/office-365-security/use-arc-exceptions-to-mark-trusted-arc-senders.md
Product: m365-security
Technology: mdo
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@RAJU2529 Thank you very much for the contribution and updating the documentation with PR. @hudish Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Train/test examples in README.md

Both the training and testing command examples in README.md use the same ./data/data.csv. It seems misleading for me because the train data should be different from the test data.
How about using 2 different csv files:
python train.py --data_file=./data/data.train.csv
and
python test.py --test_data_file=./data/data.test.csv

@ducalpha Sure. Thanks for the advice.


How to reset CPU via JTAG

BL808: I want to flash firmware via JTAG, but I need to go to ISP mode. How to do this via CK-Link?
reset, sreset or nreset dones't work.

I had the same issue with the BL618 and found the answer in the .launch file (config file for Eclipse, I think) in bl_mcu_sdk. According to CKLink_BL808.launch, you can reset the BL808 by issuing the following commands over GDB:
set $pc=0x58000000
set $mie=0
set $mstatus=0x1880

thb main

To make things easier, I defined a function and a hook in .gdbinit:
define bl-reset
set $pc=0xA0000000
set $mie=0
set $mstatus=0x1880
thb main
end

define target hookpost-remote
bl-reset
end

bl-reset allows you to manually reset the MCU, and the hook automatically resets it when the debugger connects to the board.
If I remember correctly, it was not perfect, but it's the best I could do.
I put all my notes together in this blog post. Let me know if it works for you on the BL808!

As @JF002 said, only this way, risc-v do not have register for hardware reset, and cklink do not support nrst and rst.

@sakumisu yes, I know about this method, but the goal is to get into BootROM (0x90000000), so it is possible to flash the firmware via JTAG, without reseting board with buttons.
set $pc=0x90000000 doesn't work, probably because of PMP?
GLB_SW_System_Reset reset's CPU, but also JTAG core :frowning_face:.

please in boot mode then you can use  set $pc=0x90000000

You can get it to halt in the bootrom by following this (https://gist.github.com/madushan1000/bb985be6e9f4b7c69ee16216f0060ece). I used pine64 jtag adapter(ft232hl chip). I think rv debugger plus will work too. Didn't check.


Adjust ID key name and move API key

Adjusts the key for the "Follow after reply" setting.
Supports flarum/flarum-ext-subscriptions/pull/10.
Moves api: section below views:.

I've moved the api: key down because it has more in common with email: than with any of the first four second-level keys (which all correspond to a folder) ... it was easier to write the docs for it this way. 😉


feat: Update document

Description
This pull request changes the following:

Add section for using environment variables and FAQ
Update Dev.md

Related Issues
#914

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix typo on use-guard-hook.md

I saw a possible typo here, I assume that useCanCan is what's wrong and the import (useGuard) is right.
What are the changes and their implications?
It's a typo fix, it doesn't touch the code at all.

@all-contributors add @Fralez for docs

@all-contributors add @Fralez for docs


Dev

Add robot.py, pathpoint.py, matching.py and the main function for path tracking.

The function is not compatible but we will merge first.


Support image component and deploy devfile command / initial odo deploy implementation

/kind user-story
User Story
As a developer I want to be able to use devfile.yaml with outer loop support (using devfile's image component and deploy command)
Acceptance Criteria

[x] #5145
[x] #5151

Links

Related Epic (mandatory):  https://github.com/openshift/odo/issues/2756

Implementation notes

odo deploy should use local machine to build the image
autodetect and use container engine that is available on the local machine (we will start with podman or docker)
interaction with container engine? Executing cli vs apis (https://docs.podman.io/en/latest/_static/api.html, https://docs.docker.com/engine/api/) Starting with simply executing cli might be easier, as both podman and docker have more or less same interface)
there is no odo or devfile specific way to handle image registry credentials, it will reduce whatever is configured for local container engine (set by docker login or podman login)

Open questions:

how to make sure that application deployed using odo push doesn't collide  with odo deploy?

/kind user-story

Just reacting to:

there is no odo or devfile specific way to handle image registry credentials, it will reduce whatever is configured for local container engine

There is this example in the outer loop proposal.
Maybe that'd be good for a later issue/story.

add support for building images using podman and docker in the first iteration (using os.Exec, no APIs)

created https://github.com/openshift/odo/issues/5145 to capture this

add support for composite commands (@kadel to provide an example other than a devfile that has deploy)

issue already exists https://github.com/openshift/odo/issues/5054
I'll add example to #5054

@kadel is it fair to say that we will support devfile 2.2 with this?

@kadel is it fair to say that we will support devfile 2.2 with this?

yes, this was only new thing added in 2.2, so after this is implemented we can say that odo supports devfile 2.2

@kadel can you open an issue for odo undeploy or odo deploy --delete whatever it is that we would want to use to delete the resource deployed by odo deploy?
Also, should we have some command to show the user a list of resources (deployed by odo deploy) along with their state? I'm drawing parallels with odo component list command, which tells the user if the component is pushed. Similarly odo url list, odo service list. How would a user know the state of the resources created by odo deploy?

@kadel can you open an issue for odo undeploy or odo deploy --delete whatever it is that we would want to use to delete the resource deployed by odo deploy?

https://github.com/openshift/odo/issues/5246

Also, should we have some command to show the user a list of resources (deployed by odo deploy) along with their state? I'm drawing parallels with odo component list command, which tells the user if the component is pushed. Similarly odo url list, odo service list. How would a user know the state of the resources created by odo deploy?

feel free to create issue for that

implemented in #5228
/close