Index version path

Schema Updates and Changes to existing indexing to Stage Processes:

Rename update_stage_index to index_collection and add alias as a parameter to index_collection to generalize this function.
Rename add_page to index_page, update the bulk opensearch action to be index, rather than create, and use refresh: true as a parameter to the bulk opensearch request. The index action will create opensearch documents if they don't already exist, and will overwrite opensearch documents if they do exist. The refresh: true parameter will make re-indexed documents available immediately on all shards (at an index-time cost to the cluster), in order to then run our delete by query request against the most up-to-date version of all records.
Add page, version_path, and indexed_at to records just prior to indexing. indexed_at is defined as the datetime at the start of indexing.
Move the invocation of delete_collection_records_from_index to happen just after the bulk indexing, and update delete_collection_records_from_index to first query for "outdated records" - records of the given collection ID, that don't match the given data version - before then deleting all these outdated records. The query helps us report out the versions of each outdated record.
Added the version and index to the SNS event sent to the registry at the end of the Airflow update_stage_index_for_collection_task

Migration script:

Adds values version_path: initial, indexed_at: <time migration script started>, and page: unknown to records in the index already via a re-index.

Publish Processes:

Renamed update_stage_index_for_collection_task to index_collection_task to generalize between -stg and -prd index aliases.
Added stage_collection_task and publish_collection_task, which both call index_collection_task with a different alias.
Created a publish_collection DAG

Pooling:

Specifies that all actions hitting OpenSearch should run in the rikolti_opensearch_pool. Since we just have one cluster across all stage and prod indices, any and all Airflow tasks hitting OpenSearch should by added to this pool. We can configure the pool using the Airflow UI, and should monitor the OpenSearch cluster's performance using the CloudWatch Dashboard.

Developer Candy:

Adds a dashboard for developer ease to the docker-compose file for the record_indexer, in order to run the record_indexer locally, must set OPENSEARCH_IGNORE_TLS=True in the environment.
Adds an initialization script to add the rikolti-stg and rikolti-prd aliases to a new opensearch cluster (as one would get when running a new docker compose).
Update the README

@amywieliczka This looks great. Glad we are using pools!


[DNM] gc_worker: Add debug logs for gc not running

Signed-off-by: MyonKeminta<EMAIL_ADDRESS>
What problem does this PR solve?
This PR adds logs for investigating #9466 . PR is submitted to build a binary.
Related changes
Check List
Tests
Side effects
Release note

No release note

/release

/release


[REQ] ID for saved Nades

Hey
If its possible give IDs to any saved nades that you are able to load the nade faster.
It can be annyoing to type: .loadnade B-Smoke-Long-From-RightSide instead of .loadnade 1 (when its the first saved Nade on the server)
Greetings and keep moving :)

Hey!
Yes I'll have a rework on grenade system in future. For now, maybe you can use shorter names to save the nades :P
Thanks!

Hello Guys
If you change the system to ID based, please make sure that youre always reading the savednades.json first to get the next ID to be written when saving a nade. Other pracc plugins use a ID based system. But i think the IDs are saved in RAM once, and the server keeps on increasing the IDs in RAM while in parallel writing in the file. The problem is, if youre runnig multiple servers which rely on the same json file they will all have different knowledge about the current ID. which leads to nades being overwritten.
Your system currently works perfect because its SteamID based. no matter how many servers rely on the same json nades are always being written properly, which is actually really nice atm 😀


Secondary permission storage system

This is a WIP for adding a secondary permissions storage system.  Right now it has 2 stores:

A null store that always returns true
A YAML store that keeps a list of permissions in a yaml file

We don't exactly know what the API of the certificate based store will be like, but this PR tries to take a stab at adding a secondary system for how we might plug in the certificate system.
Assumptions
Good or bad, these are the assumptions this PR makes.
Global permissions
This PR assumes that the specific permissions are global.  In other words, it doesn't take specific users in to account.  I think this is a safe assumption to make because if we are issuing certificates, those certificates probably won't know anything about any particular user on each system.
No integration with role_allows
This permissions system is supposed to focus only on what tabs are available and what providers can be created.  So this PR modifies the menu generation code to consult role_allows as well as this storage system.  This means that no calls to role_allows will go through this code.
We still have an issue that the certificates will have to somehow communicate what type of providers are available.
Tests
The tests use the Null store that always returns true because otherwise we'd have tons of failing tests on our hands (hopefully).  I added a test to ensure the permission store will actually restrict permissions using the YAML store.
Further work on the back end
At this point, we need to know a little more about the certificate system, I think.  We have a very small API that will allow us to restrict permissions, but we'll need to know more about the certificate system in case it has "fun" requirements.

@dclarizio @h-kataria can you take a look?  This PR will now restrict tabs (just remove the tab from the yaml file) and will also restrict the providers available in the select box.

@tenderlove Can the WIP prefix be removed at this point?

I'm wondering how this might affect the new UI plugins, since they will add new tab ids and feature ids for those tabs, they might need a way to add a permission for the new tab as well OR be waived from the permission check.
Perhaps the plugged in menu items go through a different code path than the menu items provided by default?  @martinpovolny can you chime in here?

@chessbyte I guess we could remove WIP, but I don't think we should merge this until we know more about the certificates.

@tenderlove : this breaks the UI plugins. I will try to implement some specs for the plugins to capture the needed behavior.

@tenderlove @martinpovolny So, since this will affect menu tabs added using the UI Plugin feature, I'm thinking we would document that if such a feature is added, the permissions YAML will need to be modidifed to include that feature ID for it to show up in the UI, which makes sense.  The problem comes when a permission store other than YAML is used and is not easily accessible to the person creating the UI Plugin.  We might need to discuss.

@dclarizio, @tenderlove : I am writing some more tests to capture this.

@tenderlove Please rebase and push again.

OK, so as we spoke, it seems the userid parameter change to role_allows, role_allows_intern, and visible? is not needed.  The code after it uses it for logging, but doesn't use it to resolve the user, instead calling User.current_user, so if you pass in a different userid it won't work as expected.  Instead you can just call User.current_userid directly in the logging and then there's no need for all the param changes.


Detect File Read

Hey, I'm looking for a way to monitor file access not modification.
Is there a way to monitor when a file is being read?
Thanks.

I think we can with File.atime in snapshots (and additional option).

@lukewakeford Do you want to check this functionality in separate branch (#62) before merging?

Sure!

The NTFS file system delays updates to the last access time for a file by up to 1 hour after the last access.

Source.
Oh my god! 😱
This feature will not work for Windows.
File.atime('env') #=> 2017-06-24 23:21:47 +0300
File.read('env') #=> /* content of file */
File.atime('env') #=> 2017-06-24 23:21:47 +0300

Having no platform specific code or native C code, is what makes filewatcher robust. Maybe this feature could be published as a separate gem that monkeypatches or extends filewatcher?

I'm going on vacation, will return to this topic in 2 weeks :hugs:

Have a nice vacation @AlexWayfer!

What do you think about this feature @AlexWayfer? Would you still like to have this feature added to filewatcher? It may be helpful for some linux and osx users. Filewatchers success is probably due to that it "works anywhere and no platform specific code", and this feature will not work anywhere and add platform specific code.

What do you think about this feature @AlexWayfer? Would you still like to have this feature added to filewatcher?

I'm planning to implement it as plugin after #71

Done as https://github.com/filewatcher/filewatcher-access


Underscore extractor does not properly handle escaped characters

The underscore template extractor does not seem to be able to properly parse strings that contain escaped characters. Such strings end up being written to the .pot file with extra escape characters.
Consider the following example:
An underscore template containing the following lines:
<%- gettext('foo\\bar') %>
<%- gettext('Bob\'s house') %>

Produces the following output in the .pot file generated by Babel:
msgid "foo\\\\bar"
msgstr ""

msgid "Bob\\'s house"
msgstr ""

This does not seem to be correct.
Please let me know if there's anything I can do to help fix this issue.
Thanks!

Would passing the strings through https://github.com/python-babel/babel/blob/master/babel/messages/jslexer.py#L87 at some point resolve this issue?


Word missing

I use golve to train my own corpus. I'm only here demo.sh Changes made to the document.

but Final vectors.txt Some words are missing from the file.

Are they rare words?  There is a VOCAB_MIN_COUNT field
Please don't use pictures to send debugging information.  Text is much
better.


Activity/Fragment in Android MVVM with data binding

What is the role of Activity/Fragment in MVVM? In the app-mvvm, activity is located in the activity package. So the author treat them as part of View of MVVM.
If activity/fragment treated as View, all the business code should be located in the VM? If so, the new VM just treat as original activity/fragment without any lifecycle calls because the VM consists of view operation and busyness operation.

Activity and Fragments are usually treated as View. In theory, most of the logic should go in the VM so it's easier to unit test.  However, I think Activities and Fragment should still handle code that is strictly related to the Android framework and its lifecycle, for example if you are using the GoogleApiClient.


using cdn externals with craco cra

CRA has no native support for using CDN versions of React, react-dom,  react-router-dom, history, etc.
Without these repos I can reduce my bundle to very small indeed.
There is no example of how to do this with Craco.
Is it even possible? I know that CRA does a great deal of tree pruning ... I am wondering whether it is even worth the trouble.
If it is possible but no one has tried to do it please let me know and I will be the canary in the coal mine (so to speak).

like this :
module.exports = {
    webpack: {
        configure: (webpackConfig) => {
            webpackConfig.externals = {
                react: 'React',
                'react-dom': 'ReactDOM',
            };
            return webpackConfig;
        },
    },
};


Integrate apis_entities.api_urls into apis_entities.urls

Evaluate if all the urlpatterns in api_urls are actually needed. Same for urls

apis/api2/savenetworkfiles/: a route for uploading files and saving them in downloads - I guess that can be removed
apis/api2/getorcreateentity/: a route for getting or creating an entity based on a URI or some other string containing entity data - I'd say there are more useful API endpoints for doing that
apis/api2/entity/<int:pk>: a route for getting the entity in different formats - this is the same as /entity/<int:pk> - but that has to be configured on project side, whereas the apis/api2/entity/<int:pk> route is shipped with APIS; nonetheless, I think this should be removed and the significance of the view called by /entity/<int:pk> (apis_entities.apis_views.GetEntityGeneric) should be documented, as this is the main entrypoint for exporting entities in different formats

opinions, @acdh-oeaw/prosnet , especially @sennierer ?
(This issue is now basically identical with #266 )

We should definitely get rid of all the api2/ routes and include what is needed in the api/ routes.

apis/api2/savenetworkfiles/ is not needed
not sure about apis/api2/getorcreateentity/ as this was used for the possibility to directly create an entity entry from an reference resource URI. Not sure which other API route provides this functionality.
/entity/<int:pk> should allow via content negotiation to be automatically redirected to the html detail page or retrieve whatever format (json, RDF, TEI) was requested


Better font discovery and handling

Description
In my experience one of the biggest pain points of working with typst is font handling.
The main problems seem to be:

Trying to use a non-installed font silently falls back to a different font, creating unexpected results.
When storing fonts alongside a project one has to remember to pass --font-path (or set TYPST_FONT_PATHS=) when compiling. Forgetting to do so will create unexpected results.
The web app ships with more fonts than the compiler. Exporting a project from the web app and compiling it locally will give a different result.
Some packages require manually installing required fonts to work properly.

To solve those problems I'm proposing the following changes:

When the set font isn't found typst should panic. When font is set to an array typst should panic if any of those fonts are not found. When you use ("Arial", "Twitter Color Emoji") you don't want all your text to fall back to an emoji font if Arial isn't found (One could argue that having operating systems dependent fallbacks like ("Arial", "Helvetica", "DejaVu Sans") could be useful, however I would argue that a file which produces different results on different operating systems is an anti-feature).
<projectRoot>/fonts should automatically be added to the font path.
When exporting a project from the web app all used fonts not built into the compiler should automatically be added to the archive
<packageRoot>/fonts should also automatically be added to the font path. Alternatively the font path could be specified in typst.toml

Use Case
No more unexpected results and broken outputs when compiling on another machine.

Some of these are duplicates of existing issues

When exporting a project from the web app all used fonts not built into the compiler should automatically be added to the archive

I do not think all fonts in the web app are free

Some of these are duplicates of existing issues, and others belong in the webapp-issues repository

I know that some of those already have existing issues, but I wanted to create a rough overview of all the font discovery problems and suggest specific solutions for how they could all be addressed together.

I do not think all fonts in the web app are free

I haven't checked every single one, but out of the >10 that I randomly checked all were under an open source license (mostly OFL). I would be pretty surprised if the Typst team were paying for transferable (so people can use them in their exported documents) licenses for fonts at this point.

The web app fonts are indeed all free.

The web app fonts are indeed all free.

Okay, good to know. I think @reknih asked about some licensed font on Discord at one time, so I guess it's not set in stone that it'll remain that way?

It's not necessarily set in stone, but we don't have plans to buy any fonts at the moment.


xSQLServerAlwaysOnAvailabilityGroup not creating Availability Replica

I'm hitting a problem with xSQLServerAlwaysOnAvailabilityGroup (dev branch) where it is failing to create the availability replica but not throwing an error.  Thus, the availability group create bombs out with an error saying that the current instance must be included as an availability replica.
When I go through the xSQLServerAlwaysOnAvailabilityGroup code line by line (as SYSTEM), when I run the New-SQLAvailabilityReplica command, no errors occur but the replica isn't created:
PS C:\Users\myuser> $newReplicaParams
Name                           Value

Version                        12
AsTemplate                     True
Name                           localhost\myinst
ConnectionModeInPrimaryRole    AllowAllConnections
AvailabilityMode               AsynchronousCommit
FailoverMode                   Automatic
ConnectionModeInSecondaryRole  AllowAllConnections
EndpointUrl                    TCP://localhost:5022
PS C:\Users\myuser> $primaryReplica = New-SqlAvailabilityReplica @newReplicaParams -ErrorAction Stop
PS C:\Users\myuser> $primaryReplica
Name                 Role      ConnectionState RollupSynchronizationState

localhost\myinst
This is on Windows 2012, SQL Server 2014, Powershell 5.x.  SQL Server is installed with instance myinst and endpoint Hadr_Enpoint created. Cluster is already created.
Thanks!

Just to make sure. You have either of these accounts set with these permissions? So that there is no problem in the logic to test these permissions.

'NT SERVICE\ClusSvc' or 'NT AUTHORITY\SYSTEM' must have the 'Connect SQL', 'Alter Any Availability Group', and 'View Server State' permissions.

Could you test using a domain account with the built-in parameter PsDscRunAsCredential? Just to rule that out.
Could you post your configuration (replace any sensitive information)? It is easier to debug using the same config.

'NT AUTHORITY\SYSTEM'  has those permissions (I ran through the code line by line and checked the perms when I hit that part - ALTER ANY AVAILABILITY GROUP, CONNECT SQL, CREATE AVAILABILITY GROUP, VIEW ANY DATABASE, VIEW SERVER STATE).  I can try with a domain account but it doesn't appear that is the problem.  Here's my config:
Configuration AlwaysOnInstall
{
Param(
    [Parameter()][string]$Role,
    [Parameter()][string]$ClusterName,
    [Parameter()][string]$ClusterIPAddress,
    [Parameter()][string]$AvailGroupName,
    [Parameter()][string]$AvailGroupListenerName,
    [Parameter()][string]$AvailGroupListenerIPAddress,
    [Parameter()][string]$AvailGroupListenerSubnetMask

)

Import-DscResource –ModuleName @{ModuleName = 'PSDesiredStateConfiguration';ModuleVersion = '1.1'}
Import-DscResource -ModuleName @{ModuleName = 'xPSDesiredStateConfiguration';ModuleVersion = '<IP_ADDRESS>'}
Import-DscResource -ModuleName @{ModuleName = 'xSQLServer';ModuleVersion = '<IP_ADDRESS>'}
Import-DscResource -ModuleName @{ModuleName = 'xFailoverCluster';ModuleVersion = '<IP_ADDRESS>'}

Node ("localhost")
{
       $PassWord = ConvertTo-SecureString -AsPlainText -String '#########' -Force
       $SetupCredential = New-Object System.Management.Automation.PSCredential ("DOMAIN\user", $PassWord)

       WindowsFeature FailoverFeature
       {
           Ensure = "Present"
           Name      = "Failover-clustering"
       }

       WindowsFeature RSATClusteringMgmt
       {
           Ensure = "Present"
           Name = "RSAT-Clustering-Mgmt"
           DependsOn = "[WindowsFeature]FailoverFeature"
       }

       WindowsFeature RSATClusteringPowerShell
       {
           Ensure = "Present"
           Name   = "RSAT-Clustering-PowerShell"
           DependsOn = "[WindowsFeature]RSATClusteringMgmt"
       }

       WindowsFeature RSATClusteringCmdInterface
       {
           Ensure = "Present"
           Name   = "RSAT-Clustering-CmdInterface"
           DependsOn = "[WindowsFeature]RSATClusteringPowerShell"
       }

       if ($Role -eq 'PrimaryClusterNode')
       {

           WindowsFeature ADTools
           {
               Ensure = "Present"
               Name = "RSAT-AD-PowerShell"
               Source = "C:\Windows\WinSxS"
               DependsOn = “[WindowsFeature]RSATClusteringCmdInterface”
           }

           xCluster ensureCreated
           {
               Name = $ClusterName
               StaticIPAddress = $ClusterIPAddress
               DomainAdministratorCredential = $SetupCredential
               DependsOn = “[WindowsFeature]ADTools”
           }

           xSQLServerAlwaysOnService AlwaysOnService
           {
                Ensure = "Present"
                SQLServer = "localhost"
                SQLInstanceName = "myinst"
                DependsOn = "[xCluster]ensureCreated"
           }

           xSQLServerEndpoint SQLEndpoint
           {
               Ensure = "Present"
               Port = 5022
               AuthorizedUser = $SetupCredential.UserName
               EndPointName = "Hadr_endpoint"
               SQLServer = "localhost"
               SQLInstanceName = "myinst"
               DependsOn = "[xSQLServerAlwaysOnService]AlwaysOnService"
           }

           xSQLServerAlwaysOnAvailabilityGroup CreateAvailabilityGroup
           {
              Ensure = "Present"
              Name = $AvailGroupName
              AvailabilityMode = "AsynchronousCommit"
              ConnectionModeInPrimaryRole = "AllowAllConnections"
              ConnectionModeInSecondaryRole = "AllowAllConnections"
              FailureConditionLevel = "OnServerUnresponsive"
              FailoverMode = "Automatic"
              SQLServer = "localhost"
              SQLInstanceName = "myinst"
              EndpointHostName = "localhost"
              DependsOn = "[xSQLServerEndpoint]SQLEndpoint"
           }

           xSQLServerAvailabilityGroupListener CreateGroupListener
           {
              Ensure = "Present"
              Name = $AvailGroupListenerName
              AvailabilityGroup = $AvailGroupName
              IpAddress = $AvailGroupListenerIPAddress + '/' + $AvailGroupListenerSubnetMask
              Port = 5022
              DHCP = $false
              NodeName = "localhost"
              InstanceName = "myinst"
              DependsOn = "[xSQLServerAlwaysOnAvailabilityGroup]CreateAvailabilityGroup"
           }

       }
       elseif ($Role -eq 'ReplicaServerNode')
       {

           xWaitForCluster waitForCluster
           {
               Name = $ClusterName
               RetryIntervalSec = 10
               RetryCount = 6
               DependsOn = "[WindowsFeature]RSATClusteringCmdInterface"
           }

           xCluster joinCluster
           {
               Name = $ClusterName
               StaticIPAddress = $ClusterIPAddress
               DomainAdministratorCredential = $SetupCredential
               DependsOn = "[xWaitForCluster]waitForCluster"
           }

           xSQLServerAlwaysOnService AlwaysOnService
           {
                Ensure = "Present"
                SQLServer = "localhost"
                SQLInstanceName = "myinst"
                DependsOn = "[xCluster]joinCluster"
           }

           xSQLServerEndpoint SQLEndpoint
           {
               Ensure = "Present"
               Port = 5022
               AuthorizedUser = "FPGEUSDEV\hford9"
               EndPointName = "Hadr_endpoint"
               DependsOn = "[xSQLServerAlwaysOnService]AlwaysOnService"
           }

           xWaitForAvailabilityGroup waitforAG
           {
               Name = $AvailGroupName
               RetryIntervalSec = 20
               RetryCount = 6
               DependsOn = "[xSQLServerEndpoint]SQLEndpoint"
           }

           xSQLAOGroupJoin JoinAvailabilityGroup
           {
              Ensure = "Present"
              AvailabilityGroupName = $AvailGroupName
              SetupCredential = $SetupCredential
              PsDscRunAsCredential = $SetupCredential
              DependsOn = "[xWaitForAvailabilityGroup]waitforAG"
           }

       }
       else
       {

           xWaitForCluster waitForCluster
           {
               Name = $ClusterName
               RetryIntervalSec = 10
               RetryCount = 6
               DependsOn = "[WindowsFeature]RSATClusteringCmdInterface"
           }

           xCluster joinCluster
           {
               Name = $ClusterName
               StaticIPAddress = $ClusterIPAddress
               DomainAdministratorCredential = $SetupCredential
               DependsOn = "[xWaitForCluster]waitForCluster"
           }

       }

}

}
$params = @{
'Role'                           ='PrimaryClusterNode'
'ClusterName'                    ='mycluster'
'ClusterIPAddress'               ='<IP_ADDRESS>'
'AvailGroupName'                 ='myavg'
'AvailGroupListenerName'         ='mylistener'
'AvailGroupListenerIPAddress'    ='<IP_ADDRESS>'
'AvailGroupListenerSubnetMask'   ='<IP_ADDRESS>'
}
$cd = @{
AllNodes = @(
@{
NodeName = 'localhost'
PSDscAllowPlainTextPassword = $true
PSDscAllowDomainUser = $true
}
)
}

I wonder if endpoint should be the node name (server name) instead. First thing I would test. I don't have an environment ready to run this at the moment.
Also could you run New-SqlAvailabilityReplica with the -Verbose parameter to see if that gives anything. Or maybe -Debug.
It is very strange it just returns without an error. No errors in ERRORLOG in SQL Server? No errors in Event Log?

If I recall correctly, EndPointHostName must be the same as the NetName property, or the FQDN of the NetName.

I think you're on to something with the EndpointHostName, but my test environment is currently messed up.  I'll post my results when I get it back up.  Thanks for the help.

Okay - progress!  I was able to create the Availability Group (I switched EndpointHostName from 'localhost' to $env:COMPUTERNAME).  Now I'm getting an error on creating the listener with xSQLServerAvailabilityGroupListener.  I'm indicating port 5022 but it says it's in use.  I specified 5022 when I set up the sql endpoint, but that should be okay right?  Exact error is:
DSC resource MSFT_xSQLServerAvailabilityGroupListener  failed to execute Set-TargetResource functionality with error message: The configuration changes to the availability group listener were completed, but the TCP
provider of the instance of SQL Server failed to listen on the specified port [mylistener:5022]. This TCP port is already in use. Reconfigure the availability group listener, specifying an available TCP port. For information
about altering an availability group listener, see the "ALTER AVAILABILITY GROUP (Transact-SQL)" topic in SQL Server Books Online.
See my code snippet below:
Node ("localhost")
{
       WindowsFeature FailoverFeature
       {
           Ensure = "Present"
           Name      = "Failover-clustering"
       }

       WindowsFeature RSATClusteringMgmt
       {
           Ensure = "Present"
           Name = "RSAT-Clustering-Mgmt"
           DependsOn = "[WindowsFeature]FailoverFeature"
       }

       WindowsFeature RSATClusteringPowerShell
       {
           Ensure = "Present"
           Name   = "RSAT-Clustering-PowerShell"
           DependsOn = "[WindowsFeature]RSATClusteringMgmt"
       }

       WindowsFeature RSATClusteringCmdInterface
       {
           Ensure = "Present"
           Name   = "RSAT-Clustering-CmdInterface"
           DependsOn = "[WindowsFeature]RSATClusteringPowerShell"
       }

       if ($Role -eq 'PrimaryClusterNode')
       {

           WindowsFeature ADTools
           {
               Ensure = "Present"
               Name = "RSAT-AD-PowerShell"
               Source = "C:\Windows\WinSxS"
               DependsOn = “[WindowsFeature]RSATClusteringCmdInterface”
           }

           xCluster ensureCreated
           {
               Name = "mycluster"
               StaticIPAddress = "<IP_ADDRESS>"
               DomainAdministratorCredential = $SetupCredential
               DependsOn = “[WindowsFeature]ADTools”
           }

           xWaitForCluster waitForCluster
           {
               Name = "mycluster"
               RetryIntervalSec = 10
               RetryCount = 6
               DependsOn = "[xCluster]ensureCreated"
           }

           xSQLServerAlwaysOnService AlwaysOnService
           {
                Ensure = "Present"
                SQLServer = $env:COMPUTERNAME
                SQLInstanceName = "myinst"
                DependsOn = "[xWaitForCluster]waitForCluster"
           }

           xSQLServerEndpoint SQLEndpoint
           {
               Ensure = "Present"
               Port = 5022
               AuthorizedUser = $SetupCredential.UserName
               EndPointName = "Hadr_endpoint"
               SQLServer = $env:COMPUTERNAME
               SQLInstanceName = "myinst"
               DependsOn = "[xSQLServerAlwaysOnService]AlwaysOnService"
           }

           xSQLServerAlwaysOnAvailabilityGroup CreateAvailabilityGroup
           {
              Ensure = "Present"
              Name ="myavg"
              AvailabilityMode = "SynchronousCommit"
              ConnectionModeInPrimaryRole = "AllowAllConnections"
              ConnectionModeInSecondaryRole = "AllowAllConnections"
              FailureConditionLevel = "OnServerUnresponsive"
              FailoverMode = "Automatic"
              SQLServer = $env:COMPUTERNAME
              SQLInstanceName = "myinst"
              EndpointHostName = $env:COMPUTERNAME
              DependsOn = "[xSQLServerEndpoint]SQLEndpoint"
           }
       }

           xSQLServerAvailabilityGroupListener CreateGroupListener
           {
              Ensure = "Present"
              Name = "mylistener"
              AvailabilityGroup = "myavg"
              IpAddress = "<IP_ADDRESS>\<IP_ADDRESS>"
              Port = 5022
              DHCP = $false
              NodeName = $env:COMPUTERNAME
              InstanceName = "myinst"
              DependsOn = "[xSQLServerAlwaysOnAvailabilityGroup]CreateAvailabilityGroup"
           }

}

@iyoumans Just a tip that $env:COMPUTERNAME is evaluated when mof is compiled, not when the configuration is applied. So if you compile the mof remotely, like a client named CLIENT1, but push the configuration to server named SERVER1. Then the configuration being applied to SERVER1 will use CLIENT1 as EndpointHostName.
So when compiling the MOF, make sure it contains the correct hostname that should be used the applying the configuration. :)

Cool - thanks again!


Cli url fix

The problem is with the CLI. When given arguments --repo_url, the program attempted to use url, which was undefined.
While the fix is working, I can't test it. The second commit here is my attempt to test the file. I failed. In my test, I want to run the tasks/command.js as a process and inspect both the output and the file that will be written to disk. Unfortunately, I'm not able to stub the require('default'); so I could specify my own output file.
If you want the fix asap, I will remove the test commit so you can merge, but I'd like to be able to test the fix.
Thanks!

It has already been solved by another PR long time ago.. sorry for no answer to you. AND THANKS!!!


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1258 ms

Resolved: Bofrost.at performance has improved in a83877d.


Can't run: shows decode error:

Could anyone please help out on where to begin debug this error...?
python <IP_ADDRESS>
ipfs version 0.4.11
latest ipfs-api
ipfs daemon is running correctly and its web gateway works properly.
PYTHON CODE
`
#!/usr/bin/python
#coding:UTF-8
import ipfsapi
api = ipfsapi.connect('<IP_ADDRESS>', 5001)
`
OUTPUT
Traceback (most recent call last):   File "Untitled.py", line 5, in <module>     api = ipfsapi.connect('<IP_ADDRESS>', 5001)   File "/usr/local/lib/python3.6/site-packages/ipfsapi/client.py", line 75, in connect     assert_version(client.version()['Version'])   File "/usr/local/lib/python3.6/site-packages/ipfsapi/client.py", line 1849, in version     return self._client.request('/version', decoder='json', **kwargs)   File "/usr/local/lib/python3.6/site-packages/ipfsapi/http.py", line 37, in wrapper     return func(self, *args, **merged)   File "/usr/local/lib/python3.6/site-packages/ipfsapi/http.py", line 170, in request     files, headers, data)   File "/usr/local/lib/python3.6/site-packages/ipfsapi/http.py", line 116, in _request     ret = parser.parse(res.content)   File "/usr/local/lib/python3.6/site-packages/ipfsapi/encoding.py", line 77, in parse     results.extend(self.parse_finalize())   File "/usr/local/lib/python3.6/site-packages/ipfsapi/encoding.py", line 254, in parse_finalize     raise exceptions.DecodingError('json', self._lasterror) ipfsapi.exceptions.DecodingError: Object decoding error: Expecting value: line 1 column 1 (char 0)

Found error on raw response:
`
Connection Closed
The requested URL could not be retrieved:
http://<IP_ADDRESS>:5001/api/v0/version?stream-channels=true
Error descriptions:
Socket closed by remote peer
`
Solved:
Close local proxy.
However an error should be raised here properly.


Type checks should use JSON instead of JVM types

It seems to me like the following step should take the basic javascript/json data types and not the JVM datatypes. From an outside (business or engineer) when writing test steps you might want to check whether a value is a "number" but according to JSON there is no differentiation based on length instead it's simply a "number" type.
Current:
And response contains property "timeMs" of type "bigdecimal"

Proposal:
And response contains property "timeMs" of type "number"

Full list of accepted types based on http://www.w3schools.com/js/js_datatypes.asp :

number
string
object
array
null (special case)

Hi, thanks for mentioning. We had that at early stages, then somehow switched to JVM types, because of some issues. I'll recheck this and come back with status update


feat: enable Rspack new tree shaking by default

Summary
Enable Rspack new tree shaking by default, as all Rsbuild e2e cases has passed and we want to get more feedback on new tree shaking.
Related Links
https://www.rspack.dev/config/experiments.html#experimentsrspackfuturenewtreeshaking
Checklist

[x] Tests updated.
[ ] Documentation updated.

Hanging for: https://github.com/web-infra-dev/rspack/issues/5123


Feedback for "Importing Projects"

https://help.sap.com/docs/SAP Business Application Studio/9d1db9835307451daa8c930fbd9ab264/2ada2be6bedd4cfc926a1347b87ebfe7.html?q=mporting
A new workspace will not open. You have to have one already open

I see you have updated the doc to include Step 1: Make sure there is an open workspace in your dev space. If there is no open workspace...
I'll close this issue.


Revert "core: dispatch on exit instead of roundtrip"

This reverts commit 2c7027d2b5901fb607046e60db650b034e12e261. Without the roundtrip it was possible that session_lock_surface_destroy gets called before unlock_and_destroy is processed.
fixes #107

I've not been able to reproduce the RSOD with this change, and previously could do so within ~10 attempts. Sometimes hyprlock takes a number of seconds to return on exit now, I suspect that when that occurs it would previously have triggerred the RSOD.

on the other hand with it some people get freezes.

For reference this appears to be the related issue: #87
We definitely need to synchronize somehow - hyprlock can never be allowed to destroy the surface before the unlock signal is sent.
I don't know enough about wayland etc to be of much use here, but the docs for ext_session_lock_v1_unlock_and_destroy have this to say:
Note that a correct client that wishes to exit directly after unlocking
the session must use the wl_display.sync request to ensure the server
receives and processes the unlock_and_destroy request. Otherwise
there is no guarantee that the server has unlocked the session due
to the asynchronous nature of the Wayland protocol. For example,
the server might terminate the client with a protocol error before
it processes the unlock_and_destroy request.

The docs for wl_display suggest that "a module that runs using its own proxy queue that needs to do display roundtrip must wrap the wl_display proxy object before sending the wl_display.sync request", which is what wl_display_roundtrip appears to do, but I'm not certain if requirement that applies here.
The docs for wl_display_roundtrip/wl_display_roundtrip_queue do mention that they're not thread-safe and can deadlock under some conditions.
Can we perhaps just call wl_display_sync directly, and use the returned callback to synchronize? I don't write C++ unfortunately.

I guess I'll merge this.
This is called from the main thread so it should be safe

I wonder if this might be relevant, from the docs for wl_display_dispatch_queue, which is used internally by wl_display_roundtrip:
In a multi threaded environment, do not manually wait using poll() (or equivalent) before calling this function,
as doing so might cause a dead lock. If external reliance on poll() (or equivalent) is required, see
wl_display_prepare_read_queue() of how to do so.

I see that we're polling the display for events in a thread at https://github.com/hyprwm/hyprlock/blob/a7ec195842b0d06fed4c07116b5dfbb09f2b1018/src/core/hyprlock.cpp#L326

idk either tbh lol

I think this is not really relevant, since the event loop is single threaded. The poll thread might get "stray" poll events but that should not matter.
The freezes come from an unfortunate ordering where the poll thread waits for the eventLoopMutex. Then the main thread sets m_bTerminate and and then the poll thead polls again, which causes a 5 second freeze.


Support removing attestation signer

This is a work in progress, please comment!
Description
We are seeing that some validators are running broken Attestation Service setups and are failing to serve requests, therefore it is valuable to allow for these validators to deauthorize their attestation signers. This functionality already exists in the Accounts contract (removeAttestationSigner), however this functionality is not reflected in contractKit or celocli. This pull request would add this functionality to contractKit and celocli.
Other changes
At the moment, there is no testing for the authorizeAttestationSigner function in contractKit, this pull request would add preliminary testing.
Tested
Adds relevant tests for Accounts contract wrapper in contractKit as well as tests for the deauthorize cli command
Related issues

See issue #9612

Backwards compatibility
This pull request is backwards compatible because it simply exposes pre-existing functionality
Documentation
TO-DO: add docs

Nit: It looks like the PR description references the vote signer ticket when it should be referencing the attestation signer ticket 😉


extract userTags from Get/Head request

If it doesn't then we don't have to do anything @nitisht which is what the PR does. The reason it's needed is to be able to extract the tags for mc to be able to copy to the destination.

PTAL @kannappanr

If it doesn't then we don't have to do anything @nitisht which is what the PR does. The reason it's needed is to be able to extract the tags for mc to be able to copy to the destination.

By default the tags will be copied to the destination. This looks more like an option that we will set here, so we can use the REPLACE directive in copyobject


The problem with the random method

Hello! Faced some problems with the random method. The following error appears:
'local variable 'st' referenced before assignment'
api = redgifs.API()
result = api.search(
Tags.random(count=1),
order=Order.best,
count=72,
page=input()
)

Hey, good catch. Thanks for reporting this bug. Will be fixed asap.

i'd like to point out that this is not really a bug, this should be the expected behavior. if the "normal" usage of the function results in a list, there is no reason that you should change that for edge cases.

i'd like to point out that this is not really a bug, this should be the expected behavior. if the "normal" usage of the function results in a list, there is no reason that you should change that for edge cases.

Yes, you're right. I have thought of the same thing too.  But then I have planned to return just the string if random(n=1) and return a list of string if n > 1.
This would be easier and clean because sometimes you just want a quick way of getting the result without doing random(1)[0] everytime.
Now that you have mentioned it, I'm not sure wheather to keep the random function as-is or to change it.

Yes, you're right. I have thought of the same thing too. But then I have planned to return just the string if random(n=1) and return a list of string if n > 1.
def random(n: int = 1) Union[str, List[str]:
    if n == 1:
        # do fuzzy search here
        return just_string

    # normal functioning of method here

This would be easier and clean because sometimes you just want a quick way of getting the result without doing random(1)[0] everytime.
Now that you have mentioned it, I'm not sure wheather to keep the random function as-is or to change it.

i think you missed the point of what i was trying to say, unless there is some need to, a function should always return the same type.
for example, if i were to take a number from the user, and get that many tags, i would have to handle it differently depending on what number they pass
def get_tags(num: int) -> List[str]:
    return Tags.random(num)

# vs

def get_tags(num: int) -> List[str]:
    x = Tags.random(num)
    if num == 1:
        x = [x]
    return x

if you really want to handle in-lib, you should probably add another method, that only gets 1 tag

if you really want to handle in-lib, you should probably add another method, that only gets 1 tag

Yes, you're right. Though I would not know what I would call that method as.
I have planned to not change this method, it'll be as-is.
To clarify @AaronHuston, you should be indexing Tags.random() method as mentioned here: https://github.com/scrazzz/redgifs/issues/5#issuecomment-1219638123


Increase the size of the overworld, and how many creatures it has

Have a larger overworld with 12 different creatures. The creatures should have enough space where they can wander around to be by themselves, or wander close to each other to socialize.

Issues #300, #412 and #413 have been closed as I'm no longer planning for a navigable overworld. I want to prioritize getting some creatures and gameplay out there where people can see if they like the game. The idea of a navigable overworld is nice but it would greatly increase the scope of the project, and if people don't enjoy the game I don't think this will change their mind.


correct misspelling

At the bottom of the MEAN stack on Google Cloud Platform guide, there is a sentence:

In anoter post, I cover how to setup a MongoDB replica set. This is very important for running in production.

The misspelling of "another" has been corrected to:

In another post, I cover how to setup a MongoDB replica set. This is very important for running in production.

Also, a few spots of extra white space were also cleaned up.

I signed it!

Thanks @iamnande !


Website not reflecting releases after 1.3.5

The website seems not to be updated for newest releases
Ref https://github.com/dropwizard/dropwizard/commit/07cd33e22a89e985c61ad929cbda765fe1422241#commitcomment-31846823

Should the "other versions" page also list the versions in between 1.3.4 and 1.3.8?
https://www.dropwizard.io/1.3.8/docs/about/docs-index.html

Right, https://github.com/dropwizard/dropwizard/blob/master/docs/source/about/docs-index.rst was not updated. I will change it in the 1.3.x branch and release as part of the 1.3.9 docs.

Sounds good. 👍
And what about the 1.3.8 release notes? https://github.com/dropwizard/dropwizard/blob/master/docs/source/about/release-notes.rst

Good point. I've cherry-picked them onto master: https://github.com/dropwizard/dropwizard/commit/f000627a307d12280e39875da99caf685d1950d3

Thanks! I'll open new issues for anything else I see.


Docker images are not generated

Probably there is some configuration on this repo, my fork generates them.
https://github.com/Ughuuu/noray/pkgs/container/noray
However this repo doesn't generate any images. Do you know why?

Missed a repo config, the image was generated but it was private. It should be accessible now.


I can't play with cpm

Hi I have a very big list if mods and I can't play with cpm/CustomPlayerModels/CustomizedPlayerModel always when I add it the game loads up opens and then straight up crashes please help thanks
files: the log download is here, the modlist download is here

You don't have cpm installed in your log file and there is no error message.


[Wave 6: Drafts] Use GBR to show when there is next step action required from the user

Part of https://github.com/Expensify/Expensify/issues/308213
Coming from here in the doc, we are going to use the GBR pattern to show user whenever its their turn to take an action on a report in the app.

Looking for a volunteer

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work in this issue.

@mountiny, I don't have access for the link, that you mentioned in the description above. Should I know something important from that?

No thats just a tracking issue.

should require a small change

Preparing the PR.

As noted in Slack, we are going to close this issues as this change actually is not desirable with the updated GBR approach we are taking where the attention is drawn to the parent chat in LHN and all the cases for Collect policies should actually be already covered in backend logic for the GBR. If we discover we need this logic in some other cases which are not covered, we can revisit this PR. Thanks for working on this and sorry for the outcome/ not catching this earlier

Payment summary for @allroundexperts applying 25% of the reward hence $125 for work on the PR given we decided to not continue ahead but the checklist and testing has already been done.

$125 payment approved for @allroundexperts based on comment above.


Functional Testing in Azure with DevOps Pipelines

In the future, we may set up an Azure subscription for running functional tests. We'll use Azure DevOps Pipelines.
I investigated what it would take to get the cargo test results captured https://github.com/microsoft/vstest-docs/issues/252 and look like the solution may be to just use https://github.com/johnterickson/cargo2junit.

x2junit is about rendering result.. Looks anyway the result cannot show directly in github, so suppose first step is to run and return green/red.


DlTabs -> add top-right slot

Thank you for your contribution to the repo. Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved terminology
[ ] You have added unit tests
[ ] You have updated documentation
[ ] You have tested your changes

Please provide a description of the changes proposed in the pull request and reference any related issues in the repository.
Please indicate if this PR contains:

[ ] A bug fix
[ ] A feature request
[ ] Breaking changes
[x] An enhancement

UPDATE:

@SorinOpt please take care of the edgecase as given example. i pushed the demo to showcase

@fadiDL what behavior should have this edge case?

@SorinOpt the behavior here should be that the icon is at the end of the tabs and not behind the buttons
think of the dl-tabs now as a container for tabs
Div that holds all of them with overflow shows icons at its edges
and a slot on the side for extra  buttons

@Barp311 please review the new updated screenshot
example here

Give insight on the new design and if you want to also have the horizontal line and verticcal ones or what to do here.

we need all the options :1. horizontal line and vertical lines. - evrething need to be customized.
The vertical line should be customized: 1. Only on the tabs. 2. The length of the page and under the buttons.

figma

@SorinOpt please also note that vertical tabs does not highlight the dl-separator there

@SorinOpt please check this design issue

in our demo currently the separator is also colored

if the last tab, there is no separator to indicate which tab is active.  It is ok ?

@SorinOpt please check this design issue

in our demo currently the separator is also colored

@fadiDL fixed

rebased to main


The navbar is not opening the course page

Describe the bug
When we are on Job page and go to course page it redirects elseware
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
https://github.com/user-attachments/assets/11c4cbcc-0b75-465e-83ff-6aaf13fde29e
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Whole navbar is not working fix that !

Hi @thestarsahil
I’d like to take on this issue. I’ve reviewed the problem and am confident I can address it.


Added functionality to switch a GPIO pin using a channel on the TX.

If i don't reply to a pull request in a couple for days, post something as I may have missed the email ( almost did just now :(    )


Extract RSpec Rails cops

Fix: https://github.com/rubocop/rubocop-rspec/issues/1734
TODO

[ ] once the gem is published, adds rubocop-rspec_rails to gemspec and remove from Gemfile
[ ] set the version constraint in gemspec for rspec-rspec_rails
[x] Creating a Repository for https://github.com/rubocop/rubocop-rspec_rails
[ ] Extracted to https://github.com/rubocop/rubocop-rspec_rails

Here's where to temporary extract it:.

https://github.com/ydah/rubocop-rspec_rails/pull/1

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

Should we do rubocop-rspec_rails with underscore lije we do for rubocop-factory_bot?
As a repo name and in the code especially: we’ll use RuboCop::RSpecRails as the namespace, right?

Based on https://guides.rubygems.org/name-your-gem/ and e.g. https://github.com/ydah/rubocop-rspec-rails/blob/207fc3483e75605b12276b90e5bb3a7ebcdc223f/lib/rubocop/cop/rspec_rails/avoid_setup_hook.rb defining RuboCop::Cop::RSpecRails and not RuboCop::Cop::RSpec::Rails, I think the gem should be named rubocop-rspec_rails.

Thank you. I changed rubocop-rspec_rails instead of rubocop-rspec-rails.

I created https://github.com/rubocop/rubocop-rspec_rails with @rubocop/rubocop-core given write-access. Ping me if anyone needs admin access.

If the modifications on the rubocop-rspec_rais side are correct, we will apply them to the repository you created. Please review https://github.com/ydah/rubocop-rspec_rails/pull/1 .

I can’t spot any rails-specific modules in our code at a glance, so all good.

I overlooked something serious. Gems cannot depend on each other.
❯ bundle install
Your bundle requires gems that depend on each other, creating an infinite loop. Please remove either gem 'rubocop-rspec' or gem 'rubocop-rspec_rails' and try again.

I guess we’ll have to remove the dependency from rubocop-rspec_rails and make a note there that it implicitly depends on rubocop-rspec.
In 3.0, we’ll remove the dependency on rubocop-rspec_rails from rubocop-rspec, and will restore the dependency declaration in rubocop-rspec_rails.
This might be a mild surprise to those who would want just rubocop-rspec_rails, but I suppose it’s a very rare case.

@pirj Should rubocop-rspec_rails be a patch upgrade or a minor upgrade?

I’d yank the 2.28.0 and released a bugfix patch in 2.28.1.
@bquorning what do you think?

I’d yank the 2.28.0 and released a bugfix patch in 2.28.1.
Yes that sounds like a good idea. And I assume nobody is using the gem yet, so the yank won’t affect users.

I update this PR. And All Green ✅


CVE-2023-4863 in library-nginx, (Parent SURE-6996)

Issue description:
There is no information for CVE-2023-4863, however, NeuVector is reporting that some of our images are impacted (SURE-6996). Below are the images:
rancher/mirrored-library-nginx:1.23.2-alpine - present in: v2.6-head, v2.6.13, v2.7-head, v2.7.7, v2.8-head
rancher/mirrored-library-nginx:1.24.0-alpine - present in: v2.6-head, v2.7-head, v2.7.7, v2.8-head

Using the tag filter at https://hub.docker.com/_/nginx/tags it seems that 1.25.2-alpine is the latest in the 1.x-alpine series.
Per the
https://hub.docker.com/layers/library/nginx/1.25.2-alpine/images/sha256-34b58b4f5c6d133d97298cbaae140283dc325ff1aeffb28176f63078baeffd14?context=explore
it has only one curl issue known, without a fix known/issued yet.


Show output size lambda

On deployment, the console logs is like this
4 builds hidden                      4 Ready

How do we know file size of files ?

Closing, because the latest version of Now CLI no longer shows information about the individual lambdas.


docs: validate our storybook component props via react

Ensure the components communicate with each other as desired.
Allows us to remove the linting exception as there are no more
violations.
See https://reactjs.org/docs/typechecking-with-proptypes.html
Bug: T257096

Hm, I wrote in PR #69

I set "react/prop-types": "off" because I felt that for our non-critical use case this rule was a little too strict.

and I meant that as "this looks a little tedious for not a lot of value, how about not doing that" rather than "I don't know how to fix it". I'm not strictly against it, though.

Hm, I wrote in PR #69

I set "react/prop-types": "off" because I felt that for our non-critical use case this rule was a little too strict.

and I meant that as "this looks a little tedious for not a lot of value, how about not doing that" rather than "I don't know how to fix it". I'm not strictly against it, though.

And I approved and said "makes sense" by which I meant I agree with his decision completely and would have done the same.
Prop types is indeed a bit too much for docs code..

I don't agree with "tedious for not a lot of value" (seems to be the official way) or "too much for docs code" (fixing bugs in docs code is just as annoying as fixing bugs in production code and in some way it even is the production code of this product) but I am not attached to it - just wanted to put it out there and learn something in the process.
Isn't the first PR that gets abandoned, but it's weird so see frowny faces for suggestions.


Implement openapi protocol on vmd-server, resolves #25

Overview
See issue 25
Breakdown

[x] Integrate openapi-generator-cli generate -g rust-server -i openapi.yaml -o <SERVER_API> into the build process.
[ ] Refine generator command to exclude unnecessary files such as examples.

Should we include the generated part of the API into source control?

In principle, generated API should not be changed manually.
In practice some users say they had to make minor adjustments.
Lots of boilerplate, will increase LOCs.
If we don't include the generated API code into source control, in order to conveniently develop you would first generate the API and then change the code (or your editor will scream at you).

Noted that the generator command has to be refined to ultimately exclude unnecessary files such as examples that are generated with the API. Added a list item for this.

Generated API's will be ignored from source control

Right now I'm having trouble getting client authentication to work on server side.
Server-side log:
❯ make test-server-up
cargo build --release
   Compiling vmd_server v0.1.0 (/home/juliuskoskela/Repos/vmd/vmd-server)
    Finished release [optimized] target(s) in 3.47s
cargo run -p vmd_server --release -- \
	--addr localhost \
	--port 8000 \
	--ca test/auth/certs/sample-ca-crt.pem \
	--crt test/auth/certs/sample-vmd-server-crt.pem \
	--key test/auth/certs/sample-vmd-server-key.pem
    Finished release [optimized] target(s) in 0.08s
     Running `target/release/vmd_server --addr localhost --port 8000 --ca test/auth/certs/sample-ca-crt.pem --crt test/auth/certs/sample-vmd-server-crt.pem --key test/auth/certs/sample-vmd-server-key.pem`
Found PKCS8 key
thread 'main' panicked at 'Error accepting connection from [::1]:59412: IO error: cannot decrypt peer's message', vmd-server/src/run.rs:60:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:38: test-server-up] Error 101

Client (curl) side log:
~/Repos/vmd generate-openapi*
❯ make test-curl-server
curl --cert test/auth/certs/sample-vmd-client-crt.pem \
	--key test/auth/certs/sample-vmd-client-key.pem \
	--cacert test/auth/certs/sample-ca-crt.pem \
	https://localhost:8000 \
	--verbose
*   Trying <IP_ADDRESS>:8000...
* connect to <IP_ADDRESS> port 8000 failed: Connection refused
*   Trying ::1:8000...
* Connected to localhost (::1) port 8000 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: test/auth/certs/sample-ca-crt.pem
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Request CERT (13):
* TLSv1.2 (OUT), TLS header, Unknown (21):
* TLSv1.3 (OUT), TLS alert, decode error (562):
* error:068000A8:asn1 encoding routines::wrong tag
* Closing connection 0
curl: (35) error:068000A8:asn1 encoding routines::wrong tag
make: *** [Makefile:51: test-curl-server] Error 35

This PR is ready for review.
You build and run the test server with:
RUST_LOG=trace make test-server-up

You can build and run the test client with:
make test-client

For purposes of figuring out why the mTLS doesn't work with generic clients I included the following commands:
make test-curl-client
make test-wget-client
make-test-openssl-client

Notes:

Server API's are generated with rust-server generator option in openapi-generator-cli
Test client API's are generated with rust generator, which generates an API layer that uses Reqwest, which in turn implements mTLS using rustls.
Logging can be activated with RUST_LOG=<level> and has the following levels: error, warn, info, debug, trace.
Reqwest mTLS client seems to want a cert-chain which is a concatenation of cert and key.
Client might have to use rustls-ffi in order to connect successfully. This can be tricky to incorporate with the generated bindings in a language other than Rust.

List of things that should be forwarded to issues:

Document formatting as part of CI (and CI in general).
Nixification of the project.
Investigate TLS options.
Why curl and other clients don't work (even with curl compiled with rustls backend).
How to implement compatible TLS layer on C++ client.


update 4.2.2  connecting Database Oracle   return  error  ORA12705

I'm update dbeaver 4.2.2
I 'm connecting to  Database Oracle return  error  ORA12705
I'm downgrade to dbeaver 4.2.1 use normolly

Perhaps it is the same as #2243
You can use workaround described there or re-download DBeaver from the web site (version 4.2.2 was re-published there)


The methods "get_something()" should be "something()"

@jaygambetta expressed discontent with methods of the shape get_something(). It seems he is not the only one.
A quick grep returned:

[x] ~qiskit/tools/visualization/_matplotlib.py:   get_index(self)~ See https://github.com/Qiskit/qiskit-terra/issues/1346#issuecomment-442202176
[ ] qiskit/result/_result.py:

get_status(self)
get_circuit_status(self, icircuit)
get_job_id(self)
get_ran_qasm(self, name)
get_data(self, circuit=None)
get_counts(self, circuit=None)
get_statevector(self, circuit=None)
get_unitary(self, circuit=None)
get_snapshots(self, circuit=None)
get_snapshot(self, slot=None, circuit=None)
get_names(self)
get_qubitpol_vs_xval(self, nqubits, xvals_dict=None)

[x] qiskit/backends/ibmq/api/ibmqconnector.py:

get_job_url(config, hub=None, group=None, project=None)
get_backend_stats_url(config, backend_type, hub=None)
get_backend_properties_url(config, backend_type, hub=None)
get_backend_url(config, hub, group, project)
def get_token(self)
get_user_id(self)
get_config(self)
get_job(self, id_job, hub=None, group=None, project=None,..)
get_jobs(self, limit=10, skip=0, backend=None, only_completed=False,...)
get_status_job(self, id_job, hub=None, group=None, project=None,...)
get_status_jobs(self, limit=10, skip=0, backend=None, filter=None,...)

[ ] qiskit/backends/baseprovider.py:    get_backend(self, name=None, **kwargs)
[x] qiskit/backends/aer/aerprovider.py:  get_backend(self, name=None, **kwargs)
[x] qiskit/unrollers/_unrollerbackend.py:    get_output(self)
[x] qiskit/unrollers/_dagbackend.py:   get_output(self)
[x] qiskit/unrollers/_jsonbackend.py: get_output(self)
[ ] qiskit/mapper/_coupling.py:

get_qubits(self)
get_edges(self)

[ ] qiskit/mapper/_layout.py:

get_bits(self)
get_wires(self)

[ ] qiskit/dagcircuit/_dagcircuit.py`:

get_qubits(self)
get_op_nodes(self, op=None)
get_named_nodes(self, name)
get_cnot_nodes(self)

[ ] qiskit/qasm/_qasm.py:

get_filename(self)
get_tokens(self)

[ ] qiskit/qasm/_qasmparser.py:   get_tokens(self)

In many situations the prefiex get_ simply can be removed. In others, it can be replaced by more specific, like generate_output. If there is a set_something, in that case I think get_something makes sense.
Since this change affects a lot of things, do it in several PRs please.

Yes there is many that we need to fix. The get_backend I think we keep as we have a backends command.

The matplotlib one I wouldn't worry about it, it's an internal method on a class only used inside that module (to set anchors in the figure). It's never going to be called anywhere else

For the Results, there is an attempt of discussion at #830. For the rest of instances and potential implementers, please note as well that even if the technical challenge is indeed relatively straightforward (as in, renaming the method and revising the rest of the codebase and test for usages of the method), some discussion might be needed:

if the change implies a public API change, a deprecation warning should be emitted.
not all get_xxx functions fall into the same category - there are some that are indeed akin to property setters (ie. where the recommendation linked above very likely applies), but there are others with a different semantic meaning (Jay's example of .get_backend() is one where that distinction is arguably quite strong - it is not getting a property, it involves actually retrieving a backend).

It would probably be a good idea indeed to go case-by-case basis (per class or similar) - other than those nits, it sounds good! Thanks @1ucian0 for starting the effort :+1:

Maybe select_backend?

Not part of terra any more:

qiskit/backends/ibmq/api/ibmqconnector.py
qiskit/unrollers/
qiskit/backends/aer/aerprovider.py


Create yeelink.light.ceiling11.yaml

merged different configs ( from syssi and jaddel)
adjusted nightlight frequency to 19531Hz (no more noices)
added gamma_correct to ceiling light to fix low light issues
added gamma_correct to nightlight (before the light was lower, but  I think that's  maybe too low) now it should be more like the original firmware

Please extend the .github/workflows/ci.yaml. This is the recipe of the CI pipeline so we can be sure the yaml can be read and build.


FR: Create an Option to choose the source of the YAML title

I use the obsidian plugin Front Matter Title to have clean filenames, but display them more descriptive inside obsidian. This plugin uses the frontmatter keyword title, which replaces the displayed filename. But my real filename stays the same. Then I have my first (and only) H1 the same as my title description.
Your plugin gives the option to overwite the titlekeyword by the filename or first heading. As this is (in my case) ambiguous, I'd really like to have an option, to choose like "what relaces what". Like:
filename -> title
title -> filename
first h1 -> title (my preferred)
title -> h1
etc
Ideally, id like my H1 to overwrite the title, but leave the filename as it is. (Also to put the title name in doublequotes.)
I dont really know a good way to visualize this setting, as Linter already has alot of options. But im sure youll figure out something clever :)
As of for now (like everything, before a linter stepped into my life) I do it manually, which leaves the "risk" of ambiguous information between the two.
Thanks!

I don't think I fully follow what is being asked here. It may just be my unfamiliarity with the rule specifically being referenced as I have not done much work with the yaml title rules.
If my understanding standing is correct, the title rule you are referring to is https://github.com/platers/obsidian-linter/blob/master/docs/rules.md#yaml-title.
If that is the case, then it defaults the specified key's value to H1, but if the value for an H1 is not present, it uses the file name instead. I am not entirely sure if that satisfies your use case.
As for adding any kind of quotes around yaml keys, https://github.com/platers/obsidian-linter/blob/master/docs/rules.md#escape-yaml-special-characters should take care of any values that have a : , ' or " in them that have not already been escaped.
Does that provide a clearer understanding of what the rule for yaml-title does? Please do let us know if the above rules do not satisfy your use case. I will see about updating the documentation for yam-title to include the order in which it tries to get values.

Yes, thats the rule im refering to. And thanks for the clearification! It actually does exactly what I need. I just wasent sure from the Documentation.
The only thing left is, that my H1 heading have spaces etc, and I handled my frontmatter so that what is a string gets surrounded by "..." doublequotes. Ive read, that the YAML specs dont really need it, but I think it makes stuff more clear. Also when having special characters (eg commata) in the header, they are currently not escaped.
How the Linter currently does it:
---
title: my funny, cool title
---
# my funny, cool title

How I'd like it:
---
title: "my funny, cool title"
---
# my funny, cool title

As this is very subjective, is there a reason, the linter does not put it in quotes? Is there a chance, that this might get updated?

Commas are not really special characters as they do not cause parsing issues or incorrect interpretation of yaml key value pairs if not escaped. As a result, escaping the yaml would not help you.

@julianmueller , sorry about not responding sooner, but I added an option to force YAML key escaping for the escape Yaml special charactera which should allow you to put the desires quotes around the content of YAML keys you specify. Please let us know if this does not satisy your needs.
Here is the link to the setting info: https://github.com/platers/obsidian-linter/blob/master/docs/rules.md#escape-yaml-special-characters.

Thanks for adding the option! It does exactly what I wanted. But... now it interferes with the "Replacing by H1" rule. So as I save, the title yaml key gets replaced by the H1, and the previous escaping characters are deleted. Could you make, that the escaping rule takes place after the replacement with H1? Thanks!

Escaping has to happen at the start or else other things will break, so it is not really feasible to make the escaping after pulling in values for other YAML rules.

If you wanted to, you could put in an FR to move it to its own rule that could be run at the end of the rule execution @julianmueller .


chore(main): release cron-set-controller 1.0.1

:robot: I have created a release beep boop
1.0.1 (2023-09-01)
Bug Fixes

crd: remove the label propety of CRD (1ef29c6)
ctrl: add some more logs (6b14ec0)
ctrl: add the logs to controller (84742aa)
ctrl: Modify the logs to match the logger format. (9ba7503)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/grasse-oss/cron-set-controller/releases/tag/cron-set-controller-v1.0.1 :sunflower:


i18n in Preset still not working

i18n in presets still not affected with props

does it work now?


Adding Presto Default Dashboard

What does this PR do?
A step toward adding a default dashboard to presto.
Motivation
What inspired you to submit this pull request?
I wrote a blog post announcing the presto integration and was asked to help get the dashboard out along with it.
Additional Notes
Anything else we should know when reviewing?
Yes, as outlined here -- https://github.com/DataDog/devops/wiki/Declarative-Integration-Pipeline#integration-dashboards -- the integration command needs to be run before the dashboard can be added. Because I don't have write-access to the consul-config repo, I need someone who does to do this.
Review checklist (to be filled by reviewers)

[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[ ] Git history must be clean
[ ] If PR adds a configuration option, it must be added to the configuration file.

Created consul PR for staging: https://github.com/DataDog/consul-config/pull/32904


Revert "Fix build on Alpine linux + add portability tests"

This reverts commit 975b5103e5037e3b9fc1bde02740b568cadeb2c5.

Reference: #10407 #10576

Performance differences noted:
Benchmark                                      cpu_time    real_time
-------------------------------------------  ----------  -----------
BM_PollEmptyPollset_SpeedOfLight/1/97.6562k       +8.00        +8.00
BM_Zalloc/512                                     +6.50        +6.50

The PHP interop test failure seems to be gone. The current interop test failure seems to be this: #10640


Feature stt

This cog will retrieve some text from voice messages.
#58

Maybe it should have different name than default created from the branch name :thinking:


[bug] Duplicate token on ux dot

https://ux.redhat.com/tokens/color/
Under Red orange, the 40 and 50 values are the same.

Moving this to the RHDS repo because the tokens are correct in the tokens repo


Way to mix streaming datasets into LLM Foundry config?

In your streaming readme you can mix datasets like:
# mix C4, github code, and internal datasets
streams = [
  Stream(remote='s3://datasets/c4', proportion=0.4),
  Stream(remote='s3://datasets/github', proportion=0.1),
  Stream(remote='gcs://datasets/my_internal', proportion=0.5),
]

dataset = StreamingDataset(
  streams=streams,
  samples_per_epoch=1e8,
)

In your pretrain configs you define datasets like:
data_local: ./my-copy-c4
data_remote: # If blank, files must be present in data_local
max_seq_len: 2048
global_seed: 17

Can we define many datasets here and mix up them in some ratio?

Hi germanjk,
Yes you can mix streaming datasets. In the yaml for the dataset just define streams label. For example.
  train_loader:
    name: text
    drop_last: true
    num_workers: 8
    dataset:
      eos_token_id: ${eos_token_id}
      max_seq_len: ${max_seq_len}
      num_canonical_nodes: ${num_canonical_nodes}
      shuffle: true
      shuffle_algo: py1b
      shuffle_seed: ${global_seed}
      streams:
        c4:
          local: /tmp/dataset/c4/
          proportion: 0.8
          remote: s3:/dataset/c4/
          split: train
        markdown:
          local: /tmp/dataset/markdown/
          proportion: 0.2
          remote: s3://dataset/markdown/
          split: null

thanks @codestar12 , want to verify how works proportions? for example my  /tmp/dataset/markdown is 10 Gb and 0.2 proportion and my /tmp/dataset/c4 is 100 Gb and 0.8 proportion.
How data will be sharded?

i.e. how to merge two full datasets for example?

hi @knighton @codestar12
can I make construction with 1.0 proportions?
  train_loader:
    name: text
    drop_last: true
    num_workers: 8
    dataset:
      eos_token_id: ${eos_token_id}
      max_seq_len: ${max_seq_len}
      num_canonical_nodes: ${num_canonical_nodes}
      shuffle: true
      shuffle_algo: py1b
      shuffle_seed: ${global_seed}
      streams:
        c4:
          local: /tmp/dataset/c4/
          proportion: 1.0
          remote: s3:/dataset/c4/
          split: train
        markdown:
          local: /tmp/dataset/markdown/
          proportion: 1.0
          remote: s3://dataset/markdown/
          split: null

I will get full c4 and full markdown into one?

train_loader:
  name: text
  drop_last: true
  num_workers: 8
  dataset:
    eos_token_id: ${eos_token_id}
    max_seq_len: ${max_seq_len}
    num_canonical_nodes: ${num_canonical_nodes}
    shuffle: true
    shuffle_algo: py1b
    shuffle_seed: ${global_seed}
    streams:
      c4:
        local: /tmp/dataset/c4/
        repeat: 1.0
        remote: s3:/dataset/c4/
        split: train
      markdown:
        local: /tmp/dataset/markdown/
        repeat: 1.0
        remote: s3://dataset/markdown/
        split: null

Or this way is better? I'm right how repeat works? Dataset will be dataset_size*repeat samples?
So let's see some example:
My dataset A is 100 samples
My dataset B is 200 samples
If I put them with both repeat 1.0 it will 100 + 200 samples, right?
If i put them with 0.2 repeat for A and 0.1 for B it will be 100 * 0.2 + 200 * 0.1 = 20 samples from A and 20 samples from B = 40 sampels, right?

@codestar12 @knighton

1 more question about proportions:
how it will be works?
train_loader:
  name: text
  drop_last: true
  num_workers: 8
  dataset:
    eos_token_id: ${eos_token_id}
    max_seq_len: ${max_seq_len}
    num_canonical_nodes: ${num_canonical_nodes}
    shuffle: true
    shuffle_algo: py1b
    shuffle_seed: ${global_seed}
    streams:
      my_dataset_A_300gb:
        local: /tmp/dataset/c4/
        proportion: 0.5
        remote: s3:/dataset/c4/
        split: train
      my_dataset_B_3gb:
        local: /tmp/dataset/markdown/
        proportion: 0.5
        remote: s3://dataset/markdown/
        split: null

for example, I have 2 datasets: my_dataset_A_300gb and my_dataset_B_3gb, which are 300 and 3 GBs.
I defined both proportion 0.5.
But how it will be works if my dataset A in 100x times bigger than B?
It means dataset B will be repeats many times?


Add outer container id into pullimage request

Signed-off-by: stevenhorsman<EMAIL_ADDRESS>

Yeah, new_container_id may help, especially to enable folks less familiar with ImagePull etc. 🙇♀


Bug: Python variable name prefixes are reversed

Description:

The Python variable name change got reversed, so now locals have a self. prefix and protected/public have a _ prefix.

Fixed in PR #1140


”Crăiești”, ”Lefaia”, ”Milășel”, ”Nima Milășelului” are listed in the drop-down menu

Description:
When user writes ”Crăiești”, ”Lefaia”, ”Milășel”, ”Nima Milășelului” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Crăiești"

Expected results
The location appears in the drop-down menu as "Sat Crăiești, MUREȘ (Crăiești)".

Step 3
Write in the search bar "Lefaia"

Expected results
The location appears in the drop-down menu as "Sat Lefaia, MUREȘ (Crăiești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Milășel"

Expected results
The location appears in the drop-down menu as "Sat Milășel, MUREȘ (Crăiești)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Nima Milășelului"

Expected results
The location appears in the drop-down menu as "Sat Nima Milășelului, MUREȘ (Crăiești)".


chore(master): release 6.2.0

:robot: I have created a release beep boop
6.2.0 (2023-08-03)
Features

add new redistribution state properties (#862) (c049101)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ethersphere/bee-js/releases/tag/v6.2.0 :sunflower:

Release v6.2.0 addresses this.


Initial start of v4 file support

I have some minor interest in reading gmsh files in a program of mine. Is this crate willing to accept some preliminary work in parsing the new file format?

Hi, so I'm out for vacation without access to a computer until July 1st.
But yeah, we are willing to accept changes for additional gmsh versions!
Will get back to you once I return.


includes/PAT: Fix Use a PAT example in Bash

In commit 3055c788bfaef1391e3d8690cc1630180989710b, a bad rebase seems
to have led to a broken shell example (a stray -n was added, probably
from echo -n). Also, since PAT can theoretically include characters
which have special meaning to printf, the example wasn't 100% correct
to begin with.
Fix both issues by removing -n and using a constant format string with
printf.

@rico-chet : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I'm no longer working on Azure DevOps.

Fixed in another PR in response to https://github.com/MicrosoftDocs/azure-devops-docs/issues/10115


Update README.md

Thought it would be useful to other if it was clear that this is the fork that contained work to port to .Net Core. Hope that makes sense.

Yeah sure.  I've partially updated to RC2 but not the latest akka.  Didn't know if people cared.


Fixed bug in k8s pod running multiple containers

Added option to allow a container name to specified in k8s pull function for cases where a single pod runs more than one container

thanks.

also, are we missing something here: https://github.com/datastax/diagnostic-collection/blob/master/ds-collector/ds-collector#L193


retry to enter raw repl

I had a problem, while listing the fs in mu-editor. They asked me to send the change request to the upstream module.
retry to enter raw repl when listing fs

Do you also have the info about the exception raised when it fails? It would be really useful to understand what the root of the problem is.

I added some logging to the flush_to_msg function

2023-01-13 00:35:54,016 - root:70(flush_to_msg) WARNING: data: b'hello\r\nMicroPython v1.18 on 2022-01-17; 4MB/OTA module with ESP32\r\nType "help()" for more information.\r\n>>> ', b'raw REPL; CTRL-B to exit\r\n>'
2023-01-13 00:35:54,016 - root:98(raw_on) WARNING: retry: 0, Could not enter raw REPL. (b'hello\r\nMicroPython v1.18 on 2022-01-17; 4MB/OTA module with ESP32\r\nType "help()" for more information.\r\n>>> ',b'raw REPL; CTRL-B to exit\r\n>')
2023-01-13 00:35:54,021 - root:70(flush_to_msg) WARNING: data: b'\r\n>>> \r\nraw REPL; CTRL-B to exit\r\n>', b'raw REPL; CTRL-B to exit\r\n>'
2023-01-13 00:35:54,032 - root:70(flush_to_msg) WARNING: data: b'OK\r\nMPY: soft reboot\r\n', b'soft reboot\r\n'

I don't know, if it is some timing issue

Thanks @gschaden, that is really useful!
It's a bit odd though, the microFS code is meant to read serial data until it receives b'raw REPL; CTRL-B to exit\r\n>'
And the logging you've posted clearly shows that message being received.
Is the string in this line of the log:
2023-01-13 00:35:54,016 - root:98(raw_on) WARNING: retry: 0, Could not enter raw REPL. (b'hello\r\nMicroPython v1.18 on 2022-01-17; 4MB/OTA module with ESP32\r\nType "help()" for more information.\r\n>>> ',b'raw REPL; CTRL-B to exit\r\n>')

Generated by this line of code?
raise IOError("Could not enter raw REPL. %s" % data)

I think it must be, as it's the only line of code in microFS using the Could not enter raw REPL string.
And if that is the case, it suggests that the data variable contains a tuple with two byte strings, instead of having just a  byte string, no?
(b'hello\r\nMicroPython v1.18 on 2022-01-17; 4MB/OTA module with ESP32\r\nType "help()" for more information.\r\n>>> ',b'raw REPL; CTRL-B to exit\r\n>')

But if that was true, then the if not data.endswith(msg) line of code from the flush_to_msg() function would have thrown an exception? As data would be a tuple, and tuples doesn't have the endswith() method.
https://github.com/ntoll/microfs/blob/db5e7b21c2827b024ebe1b4afa25f54962bfc049/microfs.py#L66-L72
Something doesn't quite add up?

The other log lines root:70(flush_to_msg) also print the data variable, and in all cases they are tuples instead of byte strings.
But that really doesn't explain how the line if not data.endswith(msg): doesn't throw an exception.
@gschaden can we compare the log of successfull and unsuccessfull run? Is the data type of the variable data different in those two cases?


Consider different file format for metrics files (took Sam awhile to read in)

From Sam:

Maybe consider a different format for the big metrics file – took a long time to load into R. Once it was in it was fine, though, so certainly tradeoffs.
These metrics files are huge which make it nearly impossible to do anything with (e.g., was hard to read in R) – would suggest some other alternate storage format – maybe chunks of states, similar to the driver data?
The lake_temperature_metrics_GLM file took a long time to download as it’s >9GB. Maybe zip up the two lake_temperature_metrics files together for download? Or split the file so it’s easier to download/read?

I was really trying to keep things in known format types so I converted from feathers to csvs specifically for this release. However, I totally understand that in this case, the unfamiliar file type might be worth it due to their size. Switching back means they end up at about half the size and a fraction of the read times (see below).
This will require updating the data themselves and re-pushing + updating the metadata. Wait to do the new push to SB until after #54, #55, #56, and #57 have been addressed so that we aren't pushing a bunch of new updates to SB.
library(tidyverse)

# Look at read times for CSVs
metrics_nldas_csv <- 'out_data/lake_temperature_metrics_GLM_NLDAS.csv'
metrics_gcm_csv <- 'out_data/lake_temperature_metrics_GLM_GCM.csv'
nldas_csv_time <- system.time({metrics_nldas <- readr::read_csv(metrics_nldas_csv)})
gcm_csv_time <- system.time({metrics_gcm <- readr::read_csv(metrics_gcm_csv)})

# Now try as a feather file, first save, then time the read
metrics_nldas_feather <- 'lake_temperature_metrics_GLM_NLDAS.feather'
metrics_gcm_feather <- 'lake_temperature_metrics_GLM_GCM.feather'
arrow::write_feather(metrics_nldas, metrics_nldas_feather)
arrow::write_feather(metrics_gcm, metrics_gcm_feather)
rm(metrics_nldas, metrics_gcm) # Remove data from environment so we have similar memory
nldas_feather_time <- system.time({metrics_nldas <- arrow::read_feather(metrics_nldas_feather)})
gcm_feather_time <- system.time({metrics_gcm <- arrow::read_feather(metrics_gcm_feather)})

# Compare file size
tibble(file = c('NLDAS', 'GCM'),
       size_csv_gb = c(file.size(metrics_nldas_csv)/10^9, file.size(metrics_gcm_csv)/10^9),
       size_feather_gb = c(file.size(metrics_nldas_feather)/10^9, file.size(metrics_gcm_feather)/10^9))

# A tibble: 2 × 3
  file  size_csv_gb size_feather_gb
  <chr>       <dbl>           <dbl>
1 NLDAS        1.24           0.556
2 GCM         10.0            4.49

# Compare read times
tibble(file = c('NLDAS', 'GCM'),
       read_csv_sec = c(nldas_csv_time['user.self'], gcm_csv_time['user.self']),
       read_feather_sec = c(nldas_feather_time['user.self'], gcm_feather_time['user.self']))

# A tibble: 2 × 3
  file  read_csv_sec read_feather_sec
  <chr>        <dbl>            <dbl>
1 NLDAS         56.6            0.460
2 GCM          358.             4.15

I'd recommend feather files assuming it's a relatively straightforward switch in the data release pipeline.


Added Change Time parameter to File/Directory Rename, added ability to keep source Change Time on File Start Copy

API changes have been detected in Azure.Storage.Files.Shares. You can review API changes here

API changes have been detected in Azure.Storage.Files.DataLake. You can review API changes here

API changes have been detected in Azure.Storage.Queues. You can review API changes here
API changes
+             V2021_06_08 = 12,


fix: make all types optional for requestPurchase

All theses types are being optional on native side and have either default value or being undefined on TS side
Also, question @andresesfm, we have requestSubscription to buy a subscription, wouldn't it make more sense to have requestProduct for a product, rather than requestPurchase? (could be done on another PR, just a curiosity question)

Do you mind merging? I don't have rights for merging PRs

Do you mind merging? I don't have rights for merging PRs

I just wanted to wait for @andresesfm since he is driving the repo currently. Do you think this should be urgently merged? @jeremybarbet

I have managed to release current update to 8.6.4.
Please take this commitment to next branch if necessary!

I also added @jeremybarbet to maintainer since he looks like a driver now 🏃

Thank you @hyochan I appreciate that!


sqlplus: command not found

After cloning this git and unzip Oracle DBA 12c files into database/, I tried 'vagrant up' and 'vagrant ssh', but I could not launch SQL*PLUS as oracle user. Terminal says
[oracle@localhost ~]$ sqlplus
-bash: sqlplus: command not found
What's wrong with me?

Hi,
How did you launch sqlplus and what was the error?
Cheers
Steve
sent from my mobile
On 22 Sep 2016 9:53 PM, "SamuraiBiz"<EMAIL_ADDRESS>wrote:

After cloning this git and unzip Oracle DBA 12c files into database/, I
tried 'vagrant up' and 'vagrant ssh', but I could not launch SQL*PLUS as
oracle user. What's wrong with me?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/steveswinsburg/oracle12c-vagrant/issues/3, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAH4acPjhEojdfhFGKtbgXS2YpwoKNKbks5qsmwrgaJpZM4KDzjv
.

Hi,
I have tried to launch sqlplus as below
[oracle@localhost ~]$ sqlplus
-bash: sqlplus: command not found
Kind regards,
Daisuke

I am using Terminal of OSX.
I reproduce the issue step by step below:

vagrant up
vagrant ssh
3)[vagrant@localhost ~]$ sudo su - oracle
4)[oracle@localhost ~]$ sqlplus
-bash: sqlplus: command not found <--error mssage here

Kind regards,
Daisuke

My bad. That commit should halp

@plotnikovanton @steveswinsburg
I am sure I have 'git clone https://github.com/plotnikovanton/ol7-oracle12c-ee-vagrant'
But still have same issue. I cannot launch sqlplus.
I reproduce the issue:

git clone https://github.com/plotnikovanton/ol7-oracle12c-ee-vagrant
vagrant up
vagrant ssh
[vagrant@localhost ~]$ sudo su - oracle
Last login: Thu Sep 22 17:27:58 UTC 2016
[oracle@localhost ~]$ sqlplus
-bash: sqlplus: command not found

Does the latest commit in here work? I will run this up again today.

Last commit works for me(it was completely clean setup on machine which newer uses vagrant before). @WebSamuraiDaisuke, could you post your output of provision? Also check that internet is available on VW, may be you need to set a proxy.

@steveswinsburg @plotnikovanton
Attachment file is my output of provision
MyOutputOfOrovision.txt
This is all out put of my provision today. I could not login as oracle, too....
What's wrong with me?

==> default: No package oracle-rdbms-server-12cR1-preinstall available.

Yum can't install this package for you, are you shure about
your stable internet connection? Try to install it by yourself sudo yum install oracle-rdbms-server-12cR1-preinstall  and post result, please.


Error while compiling source

I have fresh version cloned from this repo and when I try to run cargo build I get the following error:
error[E0034]: multiple applicable items in scope
   --> /Users/klangner/.cargo/registry/src/github.com-1ecc6299db9ec823/downcast-0.9.2/src/lib.rs:120:38
    |
120 |     fn is_type(&self) -> bool { self.type_id() == TypeId::of::<T>() }
    |                                      ^^^^^^^ multiple `type_id` found
    |
note: candidate #1 is defined in the trait `Any`
   --> /Users/klangner/.cargo/registry/src/github.com-1ecc6299db9ec823/downcast-0.9.2/src/lib.rs:29:5
    |
29  |     fn type_id(&self) -> TypeId { TypeId::of::<Self>() }
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = help: to disambiguate the method call, write `Any::type_id(&self)` instead
note: candidate #2 is defined in the trait `std::any::Any`
    = help: to disambiguate the method call, write `std::any::Any::type_id(&self)` instead

error: aborting due to previous error

For more information about this error, try `rustc --explain E0034`.

I have MacOs and rust version 1.34
I can also compile without problems tantivy.
It looks that the problem could be fixed with newer version of dependencies. I can fix it and create PR. This will require upgrading tantivy and do some changes since the API changed.

I have been ablle to reproduce.
tantivy-cli has simply not been updated for a long time and does not compile with recent compilers. Fixing that today.

Fixed in master, and publishing<EMAIL_ADDRESS>in a minute.


Fixing the application config widget registration after the #6991 fix

#6991 changed a string that made the global registration in application config not work anymore. This makes it so widgets declared in the config work again.

Thanks!


Increase clang warning level

This PR increases Clang's warning-level significantly.
We already have GCC with pedantic in master. Merging this branch makes clang++ more nitpicking, too.
Changes:

switch warning level from -Wall to -Weverything and turn off unneeded or unwanted warnings explicitly
turn on color in diagnostics explicitly as terminal detection does not always seem to work
wrap <gtest/gtest.h> in new header file, switch off some noisy warnings from Google Test framework
and last but not least, fix some harmless warnings in rapidxml.hpp and ews.hpp

Done, not done?

Well, its done. Wouldn't be in a pull request if it is not ready to be merged.

If not, why isn't it in a ticket?

I was too lazy apparently. In future, I'll try to make an issue for something like this. Promise

If it's done why is it here?

Its here so that somebody can look over it to make sure it works, I didn't miss something, or generally so that somebody knows what is going on

Removed the comment

Let's merge it!


Defined new revisions for golang dep: github.com/gonum/netlib

Ran component through the scanners since I noticed it had not been harvested yet. PR matches curation site. Closing.


Latest version not published to Bower

We're pegged to v ~1.4.3 via Bower, but we weren't getting behavior consistent with the latest change set. Some Visa cards were still being wrongly identified as ELO. It appears that the latest version of this library was published to NPM but not to Bower.

Hi @willisplummer! I don't know anything about bower, but bower info jquery.payments shows 1.4.3 released and that's our latest version. Are you sure this isn't a cacheing issue on your end? Can you produce a diff of what's in bower vs what's in npm?

Hi @jenanwise! I just cleared bower's cache and downloaded 1.4.3 to a new repo. Package.json reflects that the version number is 1.4.3 but /lib and /src don't reflect the changes in (the latest PR)[https://github.com/stripe/jquery.payment/commit/717257c5a75fd4d51dea110ae38d8cf35867402f].
Here's what I got locally — is it possible that a new version was published to bower but somehow the latest changes weren't included?

Ah, looks like bower picks up tags automatically and the last tag was pointing at the wrong commit. Fixed by releasing v1.4.4. Thanks for reporting!

thanks for fixing 👍


Imports missing in the Compute target creation

Can you please add the imports to the dirst Code block in the "Azure Machine Learning Compute" section.
from azureml.core.compute import ComputeTarget, AmlCompute

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

ID: c99cbeb4-d519-dfcf-c3fc-d3828d4c6f4d
Version Independent ID: a4658aec-a0e6-174c-5264-2a11eb41b6fb
Content: Create, run, & track ML pipelines - Azure Machine Learning service
Content Source: articles/machine-learning/service/how-to-create-your-first-pipeline.md
Service: machine-learning
Sub-service: core
GitHub Login: @sanpil
Microsoft Alias: sanpil

@SriramAvatar
Thanks for the feedback! We are currently investigating and will update you shortly.

@SriramAvatar Hi, there is a fix created. The change should be alive soon. We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


No subscribers registered for event class in fragment

activity A jump to B activity. and  have a fragment C in B activity.
already regist in A activity.
@Subscribe(threadMode = ThreadMode.MAIN)
fun onChatMessageSentEvent(event: OnChatMessageSentEvent){
//do sth
}
when i post event in Bactivity，the fun onChatMessageSentEvent() was called.
but post in fragment C, problem occured.
btnSend.setOnClickListener {
EventBus.getDefault().post(OnChatMessageSentEvent(sendText.toString()))
}
No subscribers registered for event class OnChatMessageSentEvent
No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent

because i  unregister in BaseActivity -> onStop().


When will the template be upgraded to .Net 7 (or 8)

Templates is a great way to communicate best practises and project setup, however these templates use the v6 runtimes of MudBlazor (and .Net) and the upgrade to .net 7 leaves a bit of a mess. Can we please have updated versions of the templates for the current runtimes?

Pull requests are welcome in this direction

I got a .net 8 Web App Template here: https://github.com/mahald/MudBlazor.Template.WebApp. Auth is working but not in MudBlazor yet everything else is working as it is in the Microsoft template.

Added Pull Request  https://github.com/MudBlazor/Templates/pull/410

How can I use the new template? I assume that it was not released yet?
When I do $ dotnet new install MudBlazor.Templates, I will get
The following template packages will be installed:
   MudBlazor.Templates

Success: MudBlazor.Templates::0.6.3 installed the following templates:
Template Name        Short Name  Language  Tags
-------------------  ----------  --------  --------------------------------------
MudBlazor Templates  mudblazor   [C#]      Blazor/Desktop/macOS/Windows/Cloud/Web

Running $ dotnet new mudblazorwebapp --interactivity Auto --auth Individual results in:
No templates or subcommands found matching: 'mudblazorwebapp'.

To list installed templates similar to 'mudblazorwebapp', run:
   dotnet new list mudblazorwebapp
To search for the templates on NuGet.org, run:
   dotnet new search mudblazorwebapp

How can I use the new template? I assume that it was not released yet?

No, it was not yet released (https://github.com/MudBlazor/Templates/pull/410#issuecomment-1834131987)

How can I use the new template? I assume that it was not released yet?

No, it was not yet released (#410 (comment))
You can clone the repository and install it this way dotnet new install ./Templates/src/MudBlazorWebTemplate

Thanks, this worked for me.  However it does not work in Rider. It only works in Visual Studio. This may be due to Rider not fully supporting net8.0 yet.
The error I got in Rider was AppName.Client.exe does not exist.  When I switched to VS it loaded just fine :)

They are updated and released now with some changes, check the new readme.


Kinnison/fix progress on windows

Following on from testing the 1.18.0 RC on Windows, this is needed to fix line erase

Tested and working on Windows 10 with both Powershell and CMD.
Looks fine to me 👍

Awesome, thank you @Skynoodle