Fixed example of date formatted string

Summary
When format of the string is date and example is set to '2021-11-10', expected example string is '2021-11-10'.
Current implementation returns "Wed Nov 10 09:00:00 JST 2021". I afraid this is not example input corresponding to the definition.

Hello.
I found this issue when I using OpenAPITools/openapi-generator.
https://github.com/OpenAPITools/openapi-generator/issues/5847
Could not find reported issue in this repository. Please let me know if issue is required.

If there is an issue with DateSchema, would there also be an equivalent issue with DateTimeSchema?

@pjfanning
Thank you for your comment.
DateTimeSchema does not have equivalent issue. I have added test in the commit and confirmed it returns example in expected format.
https://github.com/swagger-api/swagger-core/pull/4046/commits/53286ae2ddfefca03e573729d670eb3cb5475c6f

@satoshi-kumano thanks for reporting this, however the issue seems not to be reproducible, as if I am not missing something serialization is already handled via mixins in this class
Following code would print out correctly serialized date example.

DateSchema s = new DateSchema();
s.example(new Date());
Json.prettyPrint(s);

Possibly you are serializing using a non configured ObjectMapper instead of the provided one by Json or Yaml classes; if this is the case please use one of the above or a rightly configured one.
Please close this PR if this solves your issues, otherwise please provide a reproducible test case.

@frantuma thank you for your review.
I understood that it serializes example in correct format when Json or Yaml ObjectMapper is used to.
I thought the Schema class is a model represents OAPI schema object and it can be used to generate code from generator programs.
In these cases developers won't use Json or Yaml ObjectMapper since their goal is not serializing Schema object into JSON or YAML. Usually they use their code templates and expects getExample it self  renders example string in correct format.
Example:  {{model.getExample()}}
Do I misunderstood usage of swagger-core APIs?

@satoshi-kumano swagger-models package (with Schema and DateSchema) is indeed a java representation of the Schema property of OAI 3.0.0. DateSchema is a convenient representation of a schema with {type: "string", format: "date"}, casting/converting the example value into the Java Date class. DateShema.getExample() returns therefore a Date, which can be serialized according to the user scenario, e.g. as mentioned above in swagger-core JSON serialization where format chosen is yyyy-MM-dd. In other scenarios other formats might be needed, so this is not mandated by the swagger-models library.
In your case, assuming your {{model.getExample()}} is a serialization within a template, you can apply your own format e.g. in handlebars with {{dateFormat model.getExample() yyyy-MM-dd}}
Said that, the usage of specialized Schema implementations (as DateSchema, ByteArraySchema etc) has been an opinionated choice to provide users with a Java representation of the related value for default, enum and example (instead to have them "type unaware") and I understand it be somehow puzzling in  other serialization scenarios. For this reason they will be dropped in next major version.
Just as a side note, such constructs (again DateSchema, ByteArraySchema etc) are used by Json deserializer (and swagger-parser) while deserializing from a OAI spec as string; if you're e.g. building your own spec programmatically you can just not use them and e.g. use Schema<String> with type=string and format=date.

@frantuma
Got it.
My proposal changes public api return type, It is defined as Object but some program might expect Date.
I will wait for next major update and find a solution in application side.
Thank you for sharing the solutions in application side!.

For this reason they will be dropped in next major version.

Hi @frantuma, is there any update on this? Or any idea when the next major version will be released?
As an alternative, would it be possible to just add a new field like exampleString to the existing DateSchema class, which stores the original, unparsed example?

Why this ticket was closed without a merge to the master?


Render tomorrow or first day that the store is opened if store is closed.

I think that one thing is missing. The fact that I can't print tomorrow's hours or the first hour's day that the store is opened when the store is actually close.
As much as Google do in google search, it says at what hour the store will open if the store is actually closed, or it says if the store is going to close and so on.
Can you please at least add the feature that prints tomorrow hours?

Or perhaps, "We're open again in n hours and n minutes". ;o)

I was also looking for this function, but because it was not available, I came up with something myself..
Feel free to modify the output to your needs. Currently it outputs an array with date as key and time as value, when store is open again.
`   /**
*
* @param  string $timestamp
* @return array  Date & Time store is open again
*/
public function opens_at($timestamp = null)
{
$timestamp = (null !== $timestamp) ? $timestamp : time();
$weekday_short = date('N', $timestamp);
$dateformat = 'd.m.Y';
$i = 0;
    // Check whether we are open today
    $opens_at_all = $this->hours_today($timestamp);

    // Not open today
    if (empty($opens_at_all))
    {
      for ($i = 1; $i <= 7; $i++)
      {
        // Create a new timestamp
        $newtimestamp = strtotime('+'. $i .' days', $timestamp);

        // Check whether we are open
        $opens_at_all = $this->hours_today($newtimestamp);

        if (!empty($opens_at_all))
          break;
      }
    }

    // Opens today
    if (isset($opens_at_all[0]))
    {
      list($opens_at, $closes_at) = explode('-', $opens_at_all[0]);
      return array(date($dateformat, strtotime(date($dateformat) . ' +'. $i .' day')) => $opens_at);
    }

    return array();
}`

Spreizu ive tired using your code but it gives error on 1st line -   public function opens_at($timestamp = null)
do you know how i can fixthis please? thanks

I was also looking for this function, but because it was not available, I came up with something myself..
Feel free to modify the output to your needs. Currently it outputs an array with date as key and time as value, when store is open again.
/**
     *
     * @param  string $timestamp
     * @return array  Date & Time store is open again
     */
    public function opens_at($timestamp = null)
    {
        $timestamp = (null !== $timestamp) ? $timestamp : time();
        $weekday_short = date('N', $timestamp);
        $dateformat = 'd.m.Y';
        $i = 0;

        // Check whether we are open today
        $opens_at_all = $this->hours_today($timestamp);

        // Not open today
        if (empty($opens_at_all))
        {
          for ($i = 1; $i <= 7; $i++)
          {
            // Create a new timestamp
            $newtimestamp = strtotime('+'. $i .' days', $timestamp);

            // Check whether we are open
            $opens_at_all = $this->hours_today($newtimestamp);

            if (!empty($opens_at_all))
              break;
          }
        }

        // Opens today
        if (isset($opens_at_all[0]))
        {
          list($opens_at, $closes_at) = explode('-', $opens_at_all[0]);
          return array(date($dateformat, strtotime(date($dateformat) . ' +'. $i .' day')) => $opens_at);
        }

        return array();
    }

Spreizu ive tired using your code but it gives error on 1st line - public function opens_at($timestamp = null)
do you know how i can fixthis please? thanks


What is this for???

http://www.google-analytics.com/collect?

Hi balotelli1011,
We added google analytics to collect user click events to better get a sense of how our users navigate through the UI.
The data collected allows us to improve user experience.
There's an option to disable this in pinpoint-web.properties if you're concerned.
config.sendUsage=true|false

Setting this to false should stop anything from being sent but we've just tested this and there seems to be a bug somewhere that stops this from working correctly right now.
We'll fix this for 1.6.0 release.

Thanks a lot

Fixed with commit :  https://github.com/naver/pinpoint/commit/c537c7774173b746c938bca6b4e7445c0d61b7bb


Add cdot-based backend for mapping between coordinate systems

Is your feature request related to a problem? Please describe.
We currently only have limited support for variants.
Describe the solution you'd like
Implement a more advanced backend API using cdot.
Describe alternatives you've considered
N/A
Additional context
N/A

Resolved by bihealth/reev-docker-compose#16


Convert io.debezium.time.MicroTimestamp to DATETIME

For legacy reasons I would like to have DATETIME formau for columns that come as MicroTimestamp (We use Debezium for postgressql that converts timestamps to MicroTimestamp). The Sink automatically converts to TIMESTAMP format.
I tried creating the table first with type DATETIME for the columns to circumentvent this, but then I got the error:
Field updated_at has changed type from DATETIME to TIMESTAMP; See logs for more detail
	at com.wepay.kafka.connect.bigquery.write.batch.KCBQThreadPoolExecutor.maybeThrowEncounteredErrors(KCBQThreadPoolExecutor.java:108)
	at com.wepay.kafka.connect.bigquery.BigQuerySinkTask.put(BigQuerySinkTask.java:233)
	at org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:582)
	... 10 more

Is there a way to save columns as DATETIME on BQ? I also considered using a view to convert to DATETIME, but then we lose the parittioning property on these columns. Thanks!

same question. @Onecricketeer

This repo is deprecated, please take a look here: https://github.com/confluentinc/kafka-connect-bigquery
Opened the same issue there.


HTTP errors and checking checksums

I'm not sure if I'm doing this the intended way so I'm not 100% sure this is an issue.
I'm using the :checksum option to verify SHA256s. It turns out that I got the URL wrong and received a checksum error on the 404 error message. It took me a while to figure out that the checksum error wasn't due to the file being corrupt, but that it had to do with a URL typo. I was thinking that using http_errors: :raise might cause the 404 to be raised instead of the checksum mismatch. It looks like the checksum is evaluated first, though:
iex> Req.get!("https://httpbin.org/not_json", checksum: "sha1:9274ffd9cf273d4a008750f44540c4c5d4c8227c")
** (Req.ChecksumMismatchError) checksum mismatch
expected: sha1:9274ffd9cf273d4a008750f44540c4c5d4c8227c
actual:   sha1:c40de9ff0eb1a8adb68dcd7266d2e5c8f3610e8c
    (req 0.5.4) lib/req.ex:1092: Req.request!/2
    iex:3: (file)
iex> Req.get!("https://httpbin.org/not_json", checksum: "sha1:9274ffd9cf273d4a008750f44540c4c5d4c8227c", http_errors: :raise)
** (Req.ChecksumMismatchError) checksum mismatch
expected: sha1:9274ffd9cf273d4a008750f44540c4c5d4c8227c
actual:   sha1:c40de9ff0eb1a8adb68dcd7266d2e5c8f3610e8c
    (req 0.5.4) lib/req.ex:1092: Req.request!/2
    iex:3: (file)

Is this intended behavior?

Good catch, I moved handle_http_errors to be earlier. I should have a new release next week or so.

That was super fast. Thank you!!!!

v0.5.6 is out with the fix, thanks again for the report!


Should allow datetime expected dates to be properly parsed

Coverage remained the same at 100.0% when pulling b2ce7bc8737882cf79a9a923954854516e33030b on FIx_datetime_expected_data into ca36392ec594fb348636519becf0de1a21331b14 on master.

CodeFactor is not happy about another line added to an already complex function.
Will be addressed in a future rewrite of these functions.


SQS proxy help

I have followed the directions for SQS proxy and I am getting this error. (running on ubuntu server.)
ERR2 Error: connect ECONNREFUSED <IP_ADDRESS>:5005
I can not figure out how to get past this or where to even start. I am running the latest version of everything and any help would be appreciated I have already searched to no avail.

I solved it nothing wrong with SQS Proxy. I was accidentally stopping node-sonos-http-api when I went to start Echo-SQS-Proxy.


Azure Data Factory diagnostic log doesn't pick up custom parameters or annotations that are visible through ADF UI

For monitoring purpose, I'm trying to group pipeline and activity runs together by setting up annotations and creating CorrelationId parameters. I can see the custom value I passed in through the ADF UI, but in Azure Monitor log queries, these two fields have either empty or default value.
In current state, is it supported to pass in custom or override existing value in diagnostic log?

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

ID: 65693a51-ca12-9358-bf77-3534d308d936
Version Independent ID: 4dd455ce-0a42-e101-dec6-d803bd67a5e3
Content: Monitor data factories using Azure Monitor
Content Source: articles/data-factory/monitor-using-azure-monitor.md
Service: data-factory
GitHub Login: @djpmsft
Microsoft Alias: daperlov

@cacizi41 Thank you very much for you inquiry. We are investigating and will update you when we have verified the current functionality.

@cacizi41 . There isn't a a way to override values , do you think you can share with us the pipeline runid so that we can look into this deeper ? Please do do send the runid to<EMAIL_ADDRESS>.

@cacizi41 : Since we have not heard back on this , so going ahead and closing the issue for now . If you feel you can always reopen this again .


Check update

removing checks for requests:
cpd-1505-checks-15786-through-15826
cpd-1505-checks-15830-through-15908
cpd-1505-checks-15913-through-15971

These commit links are 404'ed?

The are embargoed at this time. I can 'un-embargo' them if need be.


Refactor ObserverController

This creates several new controllers (and controller tests) out the original ObserverController components.
AdminController
AuthorsController
ChecklistsController
ContributorsController
EmailsController
ExportController
InfoController
JavascriptController
LookupsController
RssLogsController
SearchesController
UsersController
~It also "normalizes" a new ObservationsController~

Coverage increased (+0.02%) to 91.979% when pulling a075eecbdbfd2b31d674f9bd8e8feb4bdeb874ee on next into 6f65c4713cc16de4e0a85ad9ab9b6c49c6f02171 on master.

@pellaea @JoeCohen per today's meeting, I believe this PR is good to go.
Free to merge whenever you feel ready.
(The ObservationsController PR can go separately, in any case it is encountering more issues.)

Meaning no lack of respect for the amount of work you've done here, Nimmo -- quite the opposite! -- but I cannot bear to read through all the changes in this PR again!  I'm good with merging this into master and pushing it out live whenever you all are ready.  Joe, are you okay with that, too?

There's one more easily fixable Codeclimate issue.
I'll get to it within 30 minutes, then merge and deploy.
On Sun, Jul 3, 2022 at 5:30 PM Jason Hollinger @.***>
wrote:

Meaning no lack of respect for the amount of work you've done here, Nimmo
-- quite the opposite! -- but I cannot bear to read through all the changes
in this PR again! I'm good with merging this into master and pushing it out
live whenever you all are ready. Joe, are you okay with that, too?
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1061#issuecomment-1173208709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFHZGOKV7G3QB6EHVJTVSIWATANCNFSM52OT4T6A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Fixed issue, but 1/2 CI test runs inexplicably failed.
I restarted it.
When it passes I'll merge & deploy.

It's merged.
But it also just occurred to me that I might have misread Jason's message.
In particular, he might have wanted to merge and deploy it himself, or at
least be around when it was deployed.
It would be safer that way.
So I'll wait on deploying it until I hear back from him.
On Sun, Jul 3, 2022 at 7:11 PM Joseph Cohen @.***> wrote:

There's one more easily fixable Codeclimate issue.
I'll get to it within 30 minutes, then merge and deploy.
On Sun, Jul 3, 2022 at 5:30 PM Jason Hollinger @.***>
wrote:

Meaning no lack of respect for the amount of work you've done here, Nimmo
-- quite the opposite! -- but I cannot bear to read through all the changes
in this PR again! I'm good with merging this into master and pushing it out
live whenever you all are ready. Joe, are you okay with that, too?
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1061#issuecomment-1173208709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFHZGOKV7G3QB6EHVJTVSIWATANCNFSM52OT4T6A
.
You are receiving this because you were mentioned.Message ID:
@.***>


fix vele help cli

According to this doc fix it. Fix Issue:https://github.com/oam-dev/kubevela/issues/134

The solution can cause an issue, that sub-command will not have right help info.
For exampe, try vela cap -h

Please review again.

vela Output:

A Highly Extensible Platform Engine based on Kubernetes and Open Application Model.

Usage:
  vela [flags]
  vela [command]

Available Commands:

  Getting Started:

    export      Export deploy manifests from appfile
    init        Create scaffold for an application
    install     Install Vela Core with built-in capabilities
    show        Show the reference doc for a workload type or trait
    up          Apply an appfile

  Managing Applications:

    config                                      Manage configurations
    delete APP_NAME                             Delete an application
    env                                         Manage environments
    exec [flags] APP_NAME -- COMMAND [args...]  Execute command in a container
    logs                                        Tail logs for application
    ls                                          List services of all applications
    port-forward APP_NAME                       Forward local ports to services in an application
    status APP_NAME                             Show status of an application, including workloads and
                                                traits of each service.

  Managing Capabilities:

    cap                                 Manage capability centers and installing/uninstalling
                                        capabilities
    template                            Manage templates
    traits [--apply-to WORKLOAD_NAME]   List traits
    workloads                           List workloads

  System:

    completion < bash | zsh >   Output shell completion code for the specified shell (bash
                                or zsh).
                                The shell code must be evaluated to provide interactive
                                completion
                                of vela commands.

    dashboard                   Setup API Server and launch Dashboard
    system                      System management utilities
    version                     Prints out build version information

Flags:
  -h, --help   help for vela

Use "vela [command] --help" for more information about a command.

vela cap -h Output:

Manage capability centers and installing/uninstalling capabilities

Usage:
  vela cap [command]

Available Commands:
  center      Manage Capability Center
  install     Install capability into cluster
  ls          List capabilities from cap-center
  uninstall   Uninstall capability from cluster

Flags:
  -h, --help   help for cap

Global Flags:
  -e, --env string   specify environment name for application

Use "vela cap [command] --help" for more information about a command.

vela help Output:

A Highly Extensible Platform Engine based on Kubernetes and Open Application Model.

Usage:
  vela [flags]
  vela [command]

Available Commands:

  Getting Started:

    export      Export deploy manifests from appfile
    init        Create scaffold for an application
    install     Install Vela Core with built-in capabilities
    show        Show the reference doc for a workload type or trait
    up          Apply an appfile

  Managing Applications:

    config                                      Manage configurations
    delete APP_NAME                             Delete an application
    env                                         Manage environments
    exec [flags] APP_NAME -- COMMAND [args...]  Execute command in a container
    logs                                        Tail logs for application
    ls                                          List services of all applications
    port-forward APP_NAME                       Forward local ports to services in an application
    status APP_NAME                             Show status of an application, including workloads and
                                                traits of each service.

  Managing Capabilities:

    cap                                 Manage capability centers and installing/uninstalling
                                        capabilities
    template                            Manage templates
    traits [--apply-to WORKLOAD_NAME]   List traits
    workloads                           List workloads

  System:

    completion < bash | zsh >   Output shell completion code for the specified shell (bash
                                or zsh).
                                The shell code must be evaluated to provide interactive
                                completion
                                of vela commands.

    dashboard                   Setup API Server and launch Dashboard
    system                      System management utilities
    version                     Prints out build version information

vela help cap Output:

Manage capability centers and installing/uninstalling capabilities

Usage:
  vela cap [command]

Available Commands:
  center      Manage Capability Center
  install     Install capability into cluster
  ls          List capabilities from cap-center
  uninstall   Uninstall capability from cluster

Global Flags:
  -e, --env string   specify environment name for application

Use "vela cap [command] --help" for more information about a command.


[FEATURE REQ] Expose metrics from AMQP SDKs

More context in #25604 #25603
In this issue, we'd need to

define a few generally useful metrics for AMQP libraries, e.g.

number of events sent/received/processed/checkpointed
connection/link events counters
offset lag for received/checkpointed events
dimensions for all metrics (e.g. partitionId, etc)

Implement them in Event Hubs and/or ServiceBus SDKs
Document and rely on them in troubleshooting guides/TSG.

It gives customers signals to investigate some configuration and transient network issues and gives us more context with potential SDK issues.

cc: @stliu , @saragluna .
FYI: Maybe we can support it in our layer after sdk supported this feature.

@lmolkova Would you mind describing how offset lag for received/checkpointed events would be computed?
A few months ago, I filled https://github.com/Azure/azure-sdk-for-java/issues/19391 and ended up implementing some code to track the lag in offset and seconds of received events. Basically, it's something like lastEnqueuedProperties.getOffset( ).doubleValue( ) - eventContext.getEventData( ).getOffset( ).doubleValue( ) which is likely similar to the received part of this issue.
This works quite well for some class of problems. However, it doesn't cover the case where for some reason the application stop consuming message from a partition. Would the checkpointed events part solve this shortcoming? Or does it boils down to updating a metrics when the checkpoint of a specific partition is updated by its lease owner? Later option would share the same limitation than my current implementation: no being able to detect that consumption (partially) stopped for whatever reason.

Done in #31024, #31283, #30583.
Metrics specs: https://gist.github.com/lmolkova/489a2b280b8fa68e4c3780c2afaa3b39
Documentation is tracked in #30562


How to reduce the size of video file as a buffer or blob before writing it on Nodejs?

I send live feed from client to the server using websocket from the client side like this :
    recorder = new MediaRecorder(canvasStream, {
        mimeType: 'video/webm;codecs=vp9',
        videoBitsPerSecond: 3 * 1024 * 1024
    });
    recorder.ondataavailable = async (e) => {
        const arbuf = await e.data.arrayBuffer()
        ws.send(pack({ type: 'REC', data: arbuf })) //sends to server
    }

and on the server side I get them like this :
 let blob = new Blob(chunks, { type: 'video/mp4' })
      const buffer = Buffer.from(await blob.arrayBuffer());
      fs.writeFile("foo.mp4", buffer, () => console.log('video saved!'));

However foo.mp4 is really large. Please help me find a way to reduce the size of foo.mp4 as it is being written down to the disc. ( I can reduce it after it is written, however that won't do the trick for me. It has to be encoded and compressed before it is written )

FFMPEG can receive a readableSteam as input. Try to use Blob.stream() as input parameter.
Example:
let blob = new Blob(chunks, { type: 'video/mp4' });
const command = ffmpeg()
    .input(blob.stream())
    .audioCodec('libfaac')
    .videoCodec('libx264')
    .output('/path/to/destination.mp4')

BTW: This creates a transcoding process, which is CPU intensive.

I am reopening this issue since I am getting :
ERROR Error: Invalid input
    at proto.mergeAdd.proto.addInput.proto.input (/www/wwwroot/english.uk.ms/api/node_modules/fluent-ffmpeg/lib/options/inputs.js:34:15)

My code is :
let blob = new Blob(chunks, options);
        try {

        ffmpeg().input(blob.stream()).videoCodec('libx264').audioCodec('aac').format('mp4').outputOptions([
            "-preset",
            "veryfast",
            "-crf",
            "30",
            "-max_muxing_queue_size",
            "9999",
            "-threads 5"
          ]).on('end', () => {
            console.log(`done`)
          }).on('codecData', function (data) {
            console.log('Input is ' + data.audio + ' audio ' +
              'with ' + data.video + ' video');
          })
            .on('error', (err, stdout, stderr) => {
              if (err) {
                console.log(err.message);
                console.log("stdout:\n" + stdout);
                console.log("stderr:\n" + stderr);
              }
            }).save(`./videos/1.mp4`);

Use ffmpeg(blob.stream()) instead of ffmpeg().input(blob.stream())

It not working? source is blob type
FfmpegCommand(source.stream())
    .addOutputOptions('-movflags +frag_keyframe+separate_moof+omit_tfhd_offset+empty_moov')
    .format('mp4').on('error', function (err:any) {
        console.log('An error occurred: ' + err.message);
    })
    .on('end', function () {
        console.log('Merging finished !');
        resolve(true)
    })
    .save(targetPath)

// An error occurred: ffmpeg exited with code 1: Output #0, mp4, to 'E:\2024-04-19-14-05-55.mp4':
// Output file #0 does not contain any stream


[MM-48798] - Typo in pricing modal

Summary
Fix typo in pricing modal from Dedicated encryption keys 99% to Dedicated encryption keys
Ticket Link
https://mattermost.atlassian.net/browse/MM-48798
Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/cherry-pick cloud

Cherry pick is scheduled.


Secret environment variables

Howdy, I was wondering if there were a way to configure environment variables without hard-coding them inside of app.yaml
For example, here is my mix config:
config :my_app, MyApp.Repo,
  username: System.get_env("DB_USERNAME"),
  password: System.get_env("DB_PASSWORD"),
  database: "my_app",
  hostname: System.get_env("DB_HOSTNAME"),
  pool_size: 20

I'd like to be able to be able to modify app.yaml without hard-coding these values since I store my app.yaml in version control and was wondering if there's any possible way of doing this?

I generally recommend using Elixir's config mechanism as-is, rather than using environment variables for configuration settings. (Mostly because config happens at build time, not runtime, so you risk a lot of confusion by using environment variables like this—if you change environment variable values but the release has already been built, your changes will not have any effect.)
The "Elixir Way" is generally to have a "secret" config file (e.g. prod.secret.exs) that you do not include in version control. Phoenix will set this up for you automatically by default.
If you're looking for a place to put such a file so it gets added at the right time, one approach is to keep it in Cloud Storage. Here's what that might look like. (Caveat: I believe this should work, but I haven't debugged the procedure myself.)

Create a cloud storage bucket for application secrets.
Change the access permissions on the bucket so it grants access only to those who should have access to the secrets. Also grant your project's cloudbuild service account read access. (This is the account that builds your application for app engine—you can find it in the IAM tab in the cloud console; look for a service account with "cloudbuild" in the name.)
Customize build steps for your app and add a step that uses gsutil to download the secrets file into your app's config directory. (When you customize the build steps, note the caveat regarding brunch build.)
You might need to leave a "dummy" copy of the prod.secret.exs file in source control (with dummy values for the secret properties) so your app will still compile in prod. Your custom build step should replace that dummy file with the actual secrets from Cloud Storage.

Feel free to re-open if you have follow-up questions.


{Redis} Migrate to Track 2 Mgmt SDK

Description
This PR upgrades the azure-mgmt-redis library to version 12.0.0 - the new track 2 SDK.

Redis


"editor.wordBasedSuggestions" setting is hard to find

"editor.wordBasedSuggestions" description should contain words that make it match on search term 'completion'. See #17390.
//cc @mfrost66

I came here from  #17390 looking for a way to disable Intellisense while editing comments. Setting editor.wordBasedSuggestions: false solved my issue, but I wouldn't have found this looking through the settings JSON nor in VSCode Intellisence Customization docs. It would be good to mention this in the description for the setting so it's easier to find.
That said, it feels like this isn't the real purpose for this setting. Is it possible some users may like word-based suggestions while not editing comments? Maybe there should be a new editor.suggestionsInComments:Boolean setting...?

I set editor.wordBasedSuggestions: false in my user-level settings, and even restarted vscode, but if I open a *.js JavaScript file and type the following:
    // If

Still, vscode pops up some kind of suggestions about the JavaScript keyword if, even though I'm trying to write simple English in my comment.  Is there any way to really, fully disable all suggestions for comments?


Import global classes but fully qualify functions and constants

Description
An alternative approach to #4890, which I am using in my libraries (except for the import part).
Strategy:

All native classes are imported with use statements.
A select subset of constants are fully qualified DIRECTORY_SEPARATOR, PHP_VERSION_ID, PHP_SAPI, PHP_INT_SIZE as frequently used. (This one is debatable)
Native functions which are optimized by the Zend engine are fully qualified. See https://github.com/php/php-src/blob/php-7.2.6/Zend/zend_compile.c and https://github.com/php/php-src/blob/php-7.2.6/ext/opcache/Optimizer/pass1_5.c

Checklist:

[x] Securely signed commits

I need @lonnieezell to weigh in.  I'm very curious what the gain actually is.
I agree with @MGatner that I'm not a huge fan of the slashes. This feels almost like a premature optimization, but I could be off base. CodeIgniter isn't exactly slow right now, with the possible exception of the database layer. I feel there is probably room for optimizations there.

I'm not sure how to proceed with benchmarking. Never did that before. Do you know of a tool or reference I can try out?

Ok. Found a way to bench this with ApacheBench. Will send the results later.

Oh, glad you found a way to test! I haven't really done any testing large scale either. I'm very curious to see what the results are.

OK, here are the results with Apache Bench ab.
Some caveats with the benchmarks:

I'm using my dev laptop instead of a dedicated server so results may not be representative. Maybe someone can try this in a server to have a better picture.
My laptop is pretty low on resources. Maybe that's why the requests per second results are less than 1 each. Maybe needing a fresh server to run this.
Maybe a better way to benchmark this is what Taylor Otwell is suggesting (to bench Laravel, Symfony and Zend): ab -t 10 -c 10 http://localhost:8080/ (50,000 requests at 10 concurrent at a time over a time limit of 10 seconds).
I'm not an expert in interpreting the results of ab. I consulted SO for this.

Environment
OS: Windows 10 Home Single Language 19043.1110
PHP: 8.0.8 TS
Opcache enabled: Yes (both opcache.enable=1 and opcache.enable_cli=1)
Apache: Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/8.0.8
Steps:

Fetch the latest develop branch and this PR branch in your local copy.
We'll be running the ab tool 5 rounds for each branch and summarize the results.
A resting period of 1 minute after each round will be followed to allow the server to not be overloaded.
We'll be using php spark serve using the URL http://localhost:8080/.
When switching branches, make sure to close the connection with the dev server with Ctrl+C. Delete also the files generated by opcache.

Metrics used
A: Requests per second (#/sec)
B: Time per request (mean) - measure of delay of single request
C: Time per request (mean, across all concurrent requests) - measure of performance
Results
The following are the results of running ab -n 100 -c 10 http://localhost:8080/
100 requests running 10 concurrently at a time

No.
Metrics
Develop
This branch

1
ABC
0.71 #/sec13,997.467 ms1,399.747 ms
0.72 #/sec13,896.418 ms1,389.642 ms

2
ABC
0.73 #/sec13,666.197 ms1,366.620 ms
0.73 #/sec13,646.384 ms1,364.638 ms

3
ABC
0.73 #/sec13,606.357 ms1,360.636 ms
0.73 #/sec13,642.761 ms1,364.276 ms

4
ABC
0.74 #/sec13,519.923 ms1,351.992 ms
0.74 #/sec13,560.967 ms1,356.097 ms

5
ABC
0.73 #/sec13,776.302 ms1,377.630 ms
0.73 #/sec13,749.684 ms1,374.968 ms

Average
ABC
0.728 #/sec13,713,249 ms1,371.325 ms
0.73 #/sec13,699.243 ms1,369.924 ms

Results using ab -t 10 -c 10 http://localhost:8080/ (one round each only)

No.
Metrics
Develop
This branch

1
ABC
0.74 #/sec13,534.104 ms1,353.410 ms
0.75 #/sec13,421.327 ms1,342.133 ms

Wow this is awesome! Thanks @paulbalandan. I can run on a dedicated server if anyone is suspicious of laptop results, but to me this seems to show: a) there is a noticeable performance difference, and b) it isn't large enough to dictate our style choices.
I'm still not opposed to applying this but I think in the realm of optimization there are a lot of other changes we could make for higher gains.

I ran this on a dedicated server but my results never stabilized. I followed our process, only thing I didn't know how to do was "Delete also the files generated by opcache."
Attempt 1
Time taken for tests:   1.908 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      1843500 bytes
HTML transferred:       1822700 bytes
Requests per second:    52.40 [#/sec] (mean)
Time per request:       190.849 [ms] (mean)
Time per request:       19.085 [ms] (mean, across all concurrent requests)
Transfer rate:          943.31 [Kbytes/sec] received

Attempt 2
Time taken for tests:   1.956 seconds
Complete requests:      100
Failed requests:        1
   (Connect: 0, Receive: 0, Length: 1, Exceptions: 0)
Total transferred:      1843499 bytes
HTML transferred:       1822699 bytes
Requests per second:    51.13 [#/sec] (mean)
Time per request:       195.569 [ms] (mean)
Time per request:       19.557 [ms] (mean, across all concurrent requests)
Transfer rate:          920.54 [Kbytes/sec] received

Attempt 3
Time taken for tests:   2.254 seconds
Complete requests:      100
Failed requests:        98
   (Connect: 0, Receive: 0, Length: 98, Exceptions: 0)
Total transferred:      1843487 bytes
HTML transferred:       1822687 bytes
Requests per second:    44.36 [#/sec] (mean)
Time per request:       225.408 [ms] (mean)
Time per request:       22.541 [ms] (mean, across all concurrent requests)
Transfer rate:          798.68 [Kbytes/sec] received

Attempt 4
Time taken for tests:   2.082 seconds
Complete requests:      100
Failed requests:        6
   (Connect: 0, Receive: 0, Length: 6, Exceptions: 0)
Total transferred:      1843494 bytes
HTML transferred:       1822694 bytes
Requests per second:    48.03 [#/sec] (mean)
Time per request:       208.189 [ms] (mean)
Time per request:       20.819 [ms] (mean, across all concurrent requests)
Transfer rate:          864.74 [Kbytes/sec] received

Attempt 5
Time taken for tests:   2.293 seconds
Complete requests:      100
Failed requests:        4
   (Connect: 0, Receive: 0, Length: 4, Exceptions: 0)
Total transferred:      1843496 bytes
HTML transferred:       1822696 bytes
Requests per second:    43.60 [#/sec] (mean)
Time per request:       229.336 [ms] (mean)
Time per request:       22.934 [ms] (mean, across all concurrent requests)
Transfer rate:          785.00 [Kbytes/sec] received

Attempt 6
Time taken for tests:   1.985 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      1843500 bytes
HTML transferred:       1822700 bytes
Requests per second:    50.37 [#/sec] (mean)
Time per request:       198.527 [ms] (mean)
Time per request:       19.853 [ms] (mean, across all concurrent requests)
Transfer rate:          906.83 [Kbytes/sec] received

@MGatner which of these is a baseline without the updates? Or are all of these the optimized branch?

Those are all on develop! Since they didn't seem to be trending towards any consistency I never ran the optimized branch. Still hoping @paulbalandan has some input on improving my methodology. Alternatively I'm working with PHPBench for a code-side benchmark system - still probably a bit off, time has been scarce with summer vacation drawing to an end.

I tried this again, using the live server instead of spark. Numbers were still wildly variable so I switched to the other method you mentioned (ab -t 10 -c 10) with opcache off and they normalized a little bit (ab still considers them "length failures", too inconsistent). With this setup the fqcn-symbols is showing almost half the requests per second, so something must still be wrong because I cannot imagine it is a) less efficient, and b) differing by that much.

develop
Example
Server Software:        Apache/2.4.46
Server Hostname:        bench.gatner.be
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-CHACHA20-POLY1305,2048,256
Server Temp Key:        X25519 253 bits
TLS Server Name:        bench.gatner.be

Document Path:          /
Document Length:        18226 bytes

Concurrency Level:      10
Time taken for tests:   10.001 seconds
Complete requests:      1491
Failed requests:        1417
   (Connect: 0, Receive: 0, Length: 1417, Exceptions: 0)
Total transferred:      27498429 bytes
HTML transferred:       27176373 bytes
Requests per second:    149.09 [#/sec] (mean)
Time per request:       67.075 [ms] (mean)
Time per request:       6.707 [ms] (mean, across all concurrent requests)
Transfer rate:          2685.17 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        3   15  30.7      7    1079
Processing:     4   52  42.4     43     357
Waiting:        4   49  41.7     40     356
Total:          7   67  50.7     63    1116

Percentage of the requests served within a certain time (ms)
  50%     63
  66%     81
  75%     91
  80%     99
  90%    117
  95%    134
  98%    152
  99%    196
 100%   1116 (longest request)

Results
Requests per second:    149.09 [#/sec] (mean)
Time per request:       67.075 [ms] (mean)
Requests per second:    133.98 [#/sec] (mean)
Time per request:       74.638 [ms] (mean)
Requests per second:    139.06 [#/sec] (mean)
Time per request:       71.912 [ms] (mean)
Requests per second:    137.40 [#/sec] (mean)
Time per request:       72.781 [ms] (mean)
Requests per second:    149.17 [#/sec] (mean)
Time per request:       67.036 [ms] (mean)

fqcn-symbols
Example
Server Software:        Apache/2.4.46
Server Hostname:        bench.gatner.be
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-CHACHA20-POLY1305,2048,256
Server Temp Key:        X25519 253 bits
TLS Server Name:        bench.gatner.be

Document Path:          /
Document Length:        18227 bytes

Concurrency Level:      10
Time taken for tests:   10.026 seconds
Complete requests:      757
Failed requests:        102
   (Connect: 0, Receive: 0, Length: 102, Exceptions: 0)
Total transferred:      13961238 bytes
HTML transferred:       13797726 bytes
Requests per second:    75.50 [#/sec] (mean)
Time per request:       132.450 [ms] (mean)
Time per request:       13.245 [ms] (mean, across all concurrent requests)
Transfer rate:          1359.81 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        3   11  15.3      4     133
Processing:    15  120  31.0    117     275
Waiting:       12  117  30.7    114     272
Total:         19  131  29.6    130     283

Percentage of the requests served within a certain time (ms)
  50%    129
  66%    140
  75%    148
  80%    152
  90%    163
  95%    176
  98%    197
  99%    233
 100%    283 (longest request)

Results
Requests per second:    75.50 [#/sec] (mean)
Time per request:       132.450 [ms] (mean)
Requests per second:    75.29 [#/sec] (mean)
Time per request:       132.824 [ms] (mean)
Requests per second:    76.47 [#/sec] (mean)
Time per request:       130.771 [ms] (mean)
Requests per second:    75.00 [#/sec] (mean)
Time per request:       133.334 [ms] (mean)
Requests per second:    76.05 [#/sec] (mean)
Time per request:       131.499 [ms] (mean)

Weird. I would not have expected those results. I actually expected there not to be much change but the new stuff is 1/2 as fast?

Like I said I can only assume that something is wrong. These are tools I am not familiar with but that cannot possibly be accurate!

My benchmarking solution isn't ready to unveil yet but I did run these two branch through what I have so far. The proposed fqcn-symbols branch once again does very poorly:
+--------------+----------+-----+------+-----+----------------+----------------+-----------------+
| benchmark    | subject  | set | revs | its | mem_peak       | mode           | rstdev          |
+--------------+----------+-----+------+-----+----------------+----------------+-----------------+
| NewsBench    | benchRun |     | 100  | 5   | 8.165mb -1.14% | 1.844ms -7.98% | ±2.00% +245.66% |
| WelcomeBench | benchRun |     | 30   | 10  | 6.787mb -0.94% | 1.416ms -8.42% | ±1.14% +149.56% |
+--------------+----------+-----+------+-----+----------------+----------------+-----------------+

So maybe there is something else going on here?

Yeah, I'm not really sure what's causing the numbers - but I don't think this one should hold up a release. Not sure what else is needed before the next release, though, honestly.

ab is fairly new to me so I honestly cannot tell what's wrong with the figures. But, I agree this should not be a blocker for a release.

If that's the case, here is my proposal:

Leave the two FQCN PRs in place for now
Create codeigniter/coding-standard and move the CS Fixer work Paul has done over to there
Reimplement codeigniter/coding-standard as a dev dependency here and other projects (cache, website, etc)
Release 4.1.4 "Style change", rebase and roll 4.2 into develop
Rebase these PRs to await my forthcoming benchmark automation

I'm amenable to the proposal. My concern only is on point 2. The name is currently taken by the CS based on codesniffer, so I'm thinking codeigniter4/revised-coding-standard or other else more suitable??

I'm proposing we use the newly-acquired organization "codeigniter/" (no "4"). Since this will ultimately be our style rules for all CodeIgniter projects, and the eventual goal is to host them out of that organization, this seems like a good first candidate. @lonnieezell ?

I'm proposing we use the newly-acquired organization "codeigniter/" (no "4"). Since this will ultimately be our style rules for all CodeIgniter projects, and the eventual goal is to host them out of that organization, this seems like a good first candidate. @lonnieezell ?

I am fine with this. As we had discussed elsewhere moving everything to that org come version 5, anyway. I don't see a need for a new set of style rules then so this is a perfect first candidate. :)

Sounds good! Yes normally I would wait for version 5 but because of the conflict Paul mentioned I think this is best.
@lonnieezell can you make sure the team has organization access to GitHub.com/codeigniter? Or at least just me for now so I can create the repo?

@MGatner I think everyone has been invited now.

Alright, on to it.

Closing this for now. The cost of resolving merge conflicts and maintaining PR up to date with latest develop is way too much than its perceived benefits. I can just recreate this when the time comes.


MacVim is lagging far behind again

How about a merge-in from upstream?  We're a whopping two-hundred and thirteen patches (and more than a month) behind.
Because of the lag MacVim is stuck with the annoying wraparound search delay bug that got fixed shortly after the last merge-in.

Also, merging from upstream would get us a mitigation for the modeline vulnerability mentioned in issue #898.

I submitted a pull request that gets us to the current patchlevel. Hope I merged all the changes correctly.

Thanks @ychin!

We are nearly 200 patches behind again.


CNP output is missing enforcing key value pair for one of the nodes in a multi-node cluster

Bug reports
Title
kubectl get cnp output is missing enforcing key value pair in status>nodes section for one of the nodes in a multi-node cluster
General Information

Cilium version (run cilium version)
v1.1.1
Orchestration system version in use (e.g. kubectl version, Mesos, ...)

Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.0", GitCommit:"91e7b4fd31fcd3d5f436da26c980becec37ceefe", GitTreeState:"clean", BuildDate:"2018-06-27T22:29:25Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.9", GitCommit:"57729ea3d9a1b75f3fc7bbbadc597ba707d47c8a", GitTreeState:"clean", BuildDate:"2018-06-29T01:07:01Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

How to reproduce the issue

Run any getting started guide on a multi-node cluster in a continuous manner. You'll observe that one of the cilium agents gets into a state where it stops reporting the enforcing flag in the kubectl get cnp output.

    "status": {
        "nodes": {
            "ip-172-0-125-30.us-west-2.compute.internal": {
                "annotations": {
                    "kubectl.kubernetes.io/last-applied-configuration": ====snip=====
                },
                "lastUpdated": "2018-07-24T16:56:51.595751474Z",
                "localPolicyRevision": 1238,
                "ok": true
            },
            "ip-172-0-189-174.us-west-2.compute.internal": {
                "annotations": {
                    "kubectl.kubernetes.io/last-applied-configuration": ====snip=====
                },
                "enforcing": true,
                "lastUpdated": "2018-07-24T16:54:52.571476755Z",
                "localPolicyRevision": 1238,
                "ok": true
            },
            "ip-172-0-39-235.us-west-2.compute.internal": {
                "annotations": {
                    "kubectl.kubernetes.io/last-applied-configuration": ====snip=====
                },
                "enforcing": true,
                "lastUpdated": "2018-07-24T16:54:54.241040249Z",
                "localPolicyRevision": 1236,
                "ok": true
            },
            "ip-172-0-41-94.us-west-2.compute.internal": {
                "annotations": {
                    "kubectl.kubernetes.io/last-applied-configuration": ====snip=====
                },
                "enforcing": true,
                "lastUpdated": "2018-07-24T16:54:45.494347441Z",
                "localPolicyRevision": 1236,
                "ok": true
            }
        }
    }

This one seems to be caused by this area of code:
https://github.com/cilium/cilium/blob/v1.1.1/daemon/k8s_watcher.go#L1369
Enforcing field has an omitempty tag: https://github.com/cilium/cilium/blob/v1.1.1/pkg/k8s/apis/cilium.io/v2/types.go#L89 , which means it won't populate json if it's not set to true.
The only combination of errors that can cause Enforcing to be false and OK to be true is if waitForEPsErr is not nil, while err and err2 are nil. This seems to be a bug in logic, since OK should also be set to false if we encounter waitForEpsErr. Will file a PR.

What is the meaning of 'OK' vs. 'Enforcing'?
https://github.com/cilium/cilium/blob/def269753511ec8c8240d2eba3a989137797cd1d/pkg/k8s/apis/cilium.io/v2/types.go#L73-L74
https://github.com/cilium/cilium/blob/def269753511ec8c8240d2eba3a989137797cd1d/pkg/k8s/apis/cilium.io/v2/types.go#L86-L88
Can these two ever be different ? OK "is true when the policy has been installed successfully" - this is rather vague; by 'installed' does that mean 'inserted into the in-memory policy repository for the given cilium instance running on the specified node'?

@ianvernon  It seems like right now policy can be ok, but not all endpoints are enforcing it yet? Not sure what is the definition of OK too.

cc: @aanm can you provide insight as to what 'installed' means in this context?

Talked with @aanm, it seems like OK means that the policy got pulled into the node, and Enforcing means that all appropriate endpoints are actually enforcing this policy.

As part of this fix, can we also rename ok to pulled or something more explicit? Thanks!

Are we able to rename the field in the API? It is public.
We can update the documentation accordingly. @ashwinp given that OK does not mean that the endpoints were actually enforcing the policy, was the policy actually enforced on the node which did not have 'Enforcing' set to 'true'? There may be a BPF compilation issue for an endpoint on that node, proxy configuration issue, etc.

We can't rename the field. It's public API.


Create a RESOURCES.md

Intended to be a space with guides/ resources to learn or understand a concept related to this project better.
Add your favorite resource !
Examples:

How to use git [link]
How to contribute to open source [link]
Best practices for react projects [link]
learning SCSS [link]
Your fave react tutorial
Best ARIA resources to make your project accessible

Hi, I just created a RESOUCES.md and PR. Please review :)


Emacs updates

These changes are mostly cosmetic, but include the crucial addition of (provide 'lfe-indent), without which lfe-mode is unusable.

git rebase upstream/develop; and git push -f

Hold off on this for now, I'm going to try to address
lfe-mode.el:210:11:Error: Symbol's value as variable is void: lfe-font-lock-new-type-keywords

while I'm at it.

Just kidding. That error is fixed by adding (require 'compile) before (require 'lfe-mode) in my init.el.


[Feature] Add virtual MQ analysis for native traces.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
As we have the virtual database and cache analysis in 9.3.0, let's bring the last missing core analysis, virtual MQ, into the backend analysis.
As we designed years ago, span layer includes the following options
public enum SpanLayer {
    DB(1), RPC_FRAMEWORK(2), HTTP(3), MQ(4), CACHE(5);

MQ span layer represents a queue server with consumer and producer sides, such as, Kafka, RocketMQ, and Pulsar. SkyWalking Java agent has had plugins for these typical and widely used MQ's Java clients for years too.
Now, let's analyze their access load(producing/consuming load), such as X messages per second, and other typical metrics
There is one special about time, MQ is able to consume and produce messages in bulk mode, and some queue clients are using pulling mode(typically Kafka), so the span could only include pulling time, but, meanwhile, some pushing mode client span could including all further processes' time.
Also, endpoint_mq_consume_count and endpoint_mq_consume_latency are purely analyzed through OAL, even having tag match expression, we should consider merging it in a consistent way like existing VirtualServiceProcessor implementations.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Please assign to me

Don't OAL support labeled AVG metrics ?
I'm  analyzing MQ metrics , I think it's better to provide transmission latency metrics labeled by queue or topic , as  following :
mq_transmission_latency = from(MessageQueueAccess.transmissionLatency).filter(operation == MessageQueueOperation.Consume).avgLabeled(MessageQueueAccess.queue);

But  AvgLabeledFunction is in meter package , and  annotated by @MeterFunction.
MetricsHolder only initialize Class annotated by @MetricsFunction
https://github.com/apache/skywalking/blob/5abe6ceb1ff0938be917f8b440c5eb3590cf31db/oap-server/oal-rt/src/main/java/org/apache/skywalking/oal/rt/parser/MetricsHolder.java#L41-L45
Could I implement labeled AVG  metrics in OAL if It's not supported ?
If the answer of the above question  is Yes  , Should I add a new Labeled AVG metrics class to metrics  package , instead of using AvgLabeledFunction class  in meter package  ?

I  have submit draft PR  for preview  https://github.com/apache/skywalking/pull/9813 .

mq_transmission_latency = from(MessageQueueAccess.transmissionLatency).filter(operation == MessageQueueOperation.Consume).avgLabeled(MessageQueueAccess.queue);

Besides that tech perspective discussion, I want to back to this original proposal. Could you explain why labeled metrics are meaningful for OAL? In the Virtual MQ case, queue or topic name should be an endpoint in today's concept. Then what else would be a label?

Emm , I want to provide  consumer count , producer count , etc  metrics labeled by  topic , queue .

Why don't provide an endpoint? The endpoint is designed for this actually. The topic of a queue is the same as HTTP URI.

Emm ,  just for reducing operation in browser .

That is not the point of using a label system. Label system(even in Prometheus) exists because they don't want the entity concept, and want to merge the values in one metric to visualize. We have the entity concept, and UI support to set multiple metrics for one graph.
These are just two solutions to one problem. But neither of the solutions is trying to reduce browser operation. That is UI/UX design thing

Also, you could list the key metrics(if there are few) on the table of endpoints directly, then users don't have to jump into the dashboard. And we could try to disable jump into if necessary.
Let's focus on the right direction, rather than mixing two purposes, which could make the project hard to maintain and confused to others.

OK , provide endpoint


Face Detection using Chrome Shape Detection API

MicroByte Title: Face Detection using Chrome Shape Detection API
Domain: Miscellanous
Scope of learning for learners: Learners will get introduced to unknown Chrome APIs. They will explore and buildout any fancy project out of it.
Activities:

Introduction to Shape Detection API.
Enable video camera activity.
Extracting rectangular co-ordinates of face.
Draw rectangular bounds around the face in canvas.
Suprise challenge

Hey, @jnana-cetana you can start working on this one. Assigning it to you.
All the best!
Also a small typo in point 5 - Surprise*


Strip GPG signature information from date

This PR is a rebase of #155 to fix #154.
Closes #155.

LGTM. Thanks for the rebase.


Update Issue - Automate_undefined_16446

URL tested: https://accounts.google.com/v3/signin/identifier?continue=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F&emr=1&followup=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F&ifkv=AeZLP98yV1MAHJ2mBXILx2IrwD2aXzIf_1OqbIioC9DqgZOaumISaYmFZ00Xx9dHbDd-0czyueKf6w&osid=1&passive=1209600&service=mail&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S1342327328%3A1733960081608182&ddm=1
Open URL on Browserstack
default description

Property
Value

Browser
Chrome 131.0

Operating System
OS X Sequoia

Resolution
1688x792

Screenshot Attached
Screenshot URL

Updated Screenshot Attached


Flutter with VR 360 image or video viewer

Hey guys recently i've been searching for a Flutter VR image or video viewer from a specific libraries but unfortunately i could not find anything related to that, what just found the ARcore library and it's not gonna work for me and my team because our client do not have time to wait.
We've switched all of our work structures to flutter because it's Flexible, Fast, Great, Lovely and we just Love it and we hope if there will be something for VR in the near future.
We have until Jan/2020 to finish the project so we are switching to React and it's libraries to do it because they have mostly everything set for these types of projects.
VR is the future and with Flutter it's gonna be amazing & We know you are working on it guys & We are waiting for this on heat.
Just Release it.

Hi @abddi
there are 3rd party plugins for AR on pub.dev,
please remember that flutter is powered by skia  which is a 2D engine.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

Hi @abddi
check this widget  panorama 0.0.2 (https://pub.dev/packages/panorama)

Hi @abddi  you can check thi spackage created by me for 360 images view with gesture controls and rotation features: imageview360


Update NEET data tables

Table should have 3 tabs:

All
Men
Women

Each table with three columns showing overall rates, unemployment and economic inactivity.

Clean up column headings, dates and reduce number of decimal places

Is this ready @taz-chiles?

First pass at this done.
Currently only have total NEET as a rate. Have put in levels for total, unemployed and economically inactive.
https://data.youthfuturesfoundation.org/dashboard/neet/

Made same comment on #128 but adding it here for completeness, and they are linked and we need to make decision for both. @gilesdring & @taz-chiles could you discuss and agree these?

Is there stylistic best practice which says justifying values to the LHS in a table is the correct approach, even if the heading of the table is centrally justified? Both tables currently showing this & not sure what is best
One key difference between the two tables at present is that one includes the % in line (e.g. 38.2%), the other has the % in the top.
Another key difference is how we're indicating the quarters in each of these e.g. the above uses 22-07-01, whereas the NEET stats use e.g. July-Sept 2022. Feels like we should be using the same approach on these (to my mind, written data format such as July-Sept 2022 is more human readable)

Saw other comments and had already tweaked locally. I think RHS justification better. Have also fixed column widths.

%-age should be in each cell, and date forma should be per NEET - have already discussed with @taz-chiles. Consequently closing this ticket.


Added a full list

Changing the JS is tedious.
So I've created a list of all downloadable audio issues.
All links are checked by Screaming Frog.

Cheers!

Check the preview here The Economist Audio Link Generator

No problem at all. 😁


io_utils.HDF5Matrix seems broken for three dimensional inputs.

Hello, I was just trying to use HDF5Matrix class to load a three dimensional dataset, when I noticed that the shape method wasn't returning the real shape of the dataset. Is the class only intended for 2 dimensional data?

You may want to write your own "HDF5Tesnor" or use this one from Seya https://github.com/EderSantana/seya/blob/master/seya/data_utils.py#L94-L143


How to link nodes on the fly?

Hello, I'm building an application that creates a control flow graph from source code. So as my parser scans teh source code it is supposed to generate nodes and link them together, and at the end create a graph with the nodes previously created. How can I achieve this? I was thinking something along the lines of:
graph = new File("graphs/ex1.png");
Node root = node("a");
root.link(node("b"));
root.link(node("c"));
Graph g = graph("example1").directed().with(root);
Graphviz.fromGraph(g).width(2000).render(Format.PNG).toFile(graph);

However this does not work, it only creates a graph with the root node. Thank you.

Nodes are immutable, therefore root.link(node("b")) creates a new node linked to b, but the original root is not changed.
So Node root = node("a").link(node("b"), node("c")); does what you want.

Suppose that solved it.


WIP: fix warning when dispatch without resources or meta

fix #413

I need to update my PR with units test before, I will do this in the next days

No worries. I can cover those if I end taking a look before you get a chance to add those ✌

:wave: I'll get this merged and released tonight.

Gonna close this in favor of #419 ! Thanks for the PR, though, @GuillaumeJasmin !


Direct download for the APK file

I had a dig in this repo and Google, and did not find a reliable way to download the APK file without Google play store. Is there any official way I can download the APK file directly?
Google play store on my device stop working for unknown reason.

For now the answer is no. It will only be uploaded to Google Play. This might change in the future.

A real pity the APK of an open-source project can only be accessed via a closed-source market. Why not publish releases here at Github again (the last time that has been done was 2/2014?) and attach the .apk to them? Apart from @fanthos having Playstore out-of-order, there are many others who cannot or do not want to use Playstore. May I suggest re-opening this issue and considering the solution?


[BEAM-8414] Cleanup Python codebase to enable some of the excluded Python lint checks.

R: @pabloem, @robertwb

Run Python 2 Postcommit

Run Python PreCommit

retest this please

retest this please

retest this please

retest this please

Unfortunately our Jenkins only listens to committers, and it's a little rickety. I'll merge once we get tests to run and pass

retest this please

Ah I see. From looking at the contribution section on the beam website I thought I could trigger it. But I could totally see some bad actor abuse that. Anyways good to know!

Ah I see. From looking at the contribution section on the beam website I thought I could trigger it. But I could totally see some bad actor abuse that. Anyways good to know!

Until a couple months ago, anyone could trigger the tests, but we had to change it to be consistent with ASF policy. We're hoping to get it re-enabled for everyone soon..

The linter and autoformatter are complaining. FYI:
https://builds.apache.org/job/beam_PreCommit_PythonLint_Commit/3573/console
https://builds.apache.org/job/beam_PreCommit_PythonFormatter_Commit/1391/console

retest this please

retest this please

The formatter is complaining again: https://builds.apache.org/job/beam_PreCommit_PythonFormatter_Commit/1402/console
You can run the formatter locally with tox -e py3-yapf - it'll autoformat your code. Sometimes it happens to me that it errors out of execution, but still autoformats correctly, so you could try that.

retest this please

retest this please

retest this please

retest this please

Hm lint and autoformat are complaining : (
Lint:
13:08:40 apache_beam/runners/interactive/interactive_runner.py:30:0: W0611: Unused import sys (unused-import)

you can run the autoformatter via tox -e py3-yapf to format your code and ensure that test will pass.

retest this please

alright this is ready to merge. ill wait to see if someone fixes the flink test in master

Thanks for your contribution @stephenoken!

Happy to help @pabloem 😄


Search only lists the first 25 results, does not load more.

Describe the bug
When searching only the first 25 result are shown in the list, and scrolling to the bottom does not load additional results.
To Reproduce
Steps to reproduce the behavior:

Search
scroll to bottom of results
No more results

Expected behavior
Load additional search results when scrolling to bottom of results.
Device model and Android version

Device model: [Asus Zenpad]
Android version: [Android 5.0.1]
App version: 1.7.10

Additional context
E-hentai changed the way their search works, which overlaps with when the app stopped working properly: E-Hentai Forums

@jtm666 this actually doesn't work, the dev of that fork appears to be disrespecting the language setting in many places, with some strings hard coded to Chinese. Additionally, it crashes for me.

@jtm666 @Shigbeard
I just looked a bit closer at that fork, and it requires Android 6.0 as a minimum, that's no good for me.

@jtm666 this actually doesn't work, the dev of that fork appears to be disrespecting the language setting in many places, with some strings hard coded to Chinese. Additionally, it crashes for me.

Disable tag translations option.

Source: https://github.com/xiaojieonly/Ehviewer_CN_SXJ/issues/356

Hath perks "Paging Enlargement I/II/III" affects this, making it 50/100/200 results respectively.
Will take a look at what can be done.

https://github.com/xiaojieonly/Ehviewer_CN_SXJ/commit/023988e solves this problem in Ehviewer_CN_SXJ.
I advise to first wait until the seek navigation is deployed on e-hentai.org, which I presume should not take long.

Solved with https://github.com/exzhawk/EhViewer/commit/441fdbb


Preview is blurry on high-density displays

On a high-density display (like a Surface Pro 3), everything except the preview is clean and sharp. The preview itself, however, appears to be scaled up from a smaller rendering.

Which operating system? Also, can you supply a screen shot? (GitHub issues supports drag and drop upload of images).

here

Looks like any other web page to me. Am I missing something?

Just zoom, u will see the different, it's blurred.

I did zoom it earlier. Not seeing it. What version of Windows? (Why do I always have to ask).

Windows 10 64bit with high DPI screen. And i think this image can help you see the dif

Looks like the default Internet Explorer Zoom is not 100%. Try adjusting the zoom with Ctrl+MouseWheel. MDE makes no adjustments to zoom levels.
Another thing to try is adding body { zoom: 100%; } to the style sheet. (or 90% to make it smaller)
Are you running your system display at 125%? If so, try 100%.
I have two high windows 10 systems I test this on and they look same on my systems. Might be a driver issue or some other system setting. It's hard to say.

I tried to zoom, change screen scale, but it doesn't working, i also tried to disable display scaling on high DPI settings and it still blurred.

So maybe it has nothing to do with high DPI?
Is the screen on the left an exported version from MDE of just the GitHub view?

yes it is. and can we change the default MDE's render into chrome or firefox?, i think it can solve the problem.

Yes it is what? And is it rendered in IE or Chrome or Firefox? This twenty questions thing is getting old...
I wouldn't hold my breath about hosting Chrome or Firefox. I've not seen it done sucessfully. There's Awesomium, which I tried. It's performance was terrible.

I'm having the same trouble. My system display is set to 125% on Win7.
I'm not a C# programmer, but I do see a lot of references to AutoScaleMode on StackOverflow et al with regards to "non-standard" DPI settings and WinForms apps.

You can disable DPI scaling on a per-app basis.

Another thing to try is to add
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0">

To your template header

I tried both of those suggestions, and neither worked.

Bummer. Not sure there's anything else I can offer. I have two systems with high API and %125 scaling and it looks fine. Maybe it's a driver issue.

Also, Ctrl+Mousewheel changes the zoom in preview. Does that help?

Hi Mike,
Thanks for this Markdown package. Just trying it out today. Have been using VS but wanted something much slimmer. You have made it very minimalistic. Kudos.
Jumped into this issue because I have a high DPI (not 4k) monitor and at 100/125/150% the preview pane is clear for me.

Just switched my laptop from 100% to 125% and can confirm that the preview pane is "broken" - the preview pane is not only blurry but it also seems that the pane in general is wider than what fits to the screen, leading to some words missing:

This appears to be driver issue that I have no control over. I simply don't see this behavior wihen switching to 125%. And others have reported they can't reprodiuce the issue. The fact of the matter is the preview is Internet Explorer and it will do what Internet Explorer does. So please, lets just give this a rest. Run at 100% or move on but I'm done with this issue.

Is there an easy replacement for using IE for preview? It is behaving strange even on 100%, for example, clicking the preview pane doesn't give the application focus etc. I'm not familiar with WPF but maybe this preview component is simply problematic.

One more observation: when I change the DPI settings in Windows 10, most apps re-layout themselves, change icon sizes etc. MDE is unaffected by the change - not a single pixel changes in it.
Unfortunately, I don't know WPF much (well, hardly at all) but found this: link. If that's all implemented or irrelevant please ignore me.

Weird. I run one monitor at 125% and the other at 100% and the only application I see that adjusts it's layout is the windows file explorer. MDE appears fine on both screens.
WPF applications are vector drawn making them DPI aware. Per monitor DPI is a special case which I don't see as applicable to MDE (thanks for the link however, I wasn't aware of the per monitor feature).
I don't mean to sound dismissive about this but it really is not anything I can control. To date, MDE has about 250,000 downloads. So far, only a few have reported this issue so it is likely not a wide spread issue. Then again, maybe as more people upgrade to Windows 10 I'll hear about it more.
As to the clicking and not getting focus in the browser window. That's an issue with hosting any browser in a windows control due to ActiveX issues. The lastest version fixes this issue by adding a message pump hook and reactivating the application when necessary.
I checked into hosting Chrome. There are similar complaints on the forums about blurriness when hosted in an ActiveX container.
Is there an issue here? Likely, but I suspect it has to do with some combination of displays and drivers that is outside MDE's control.
Do keep pressing the issue if you find out additional information. It's not that I don't believe you, but without a reproducable secenrio here, there's little chance I can detect if there's something MDE can do to correct the problem.

250k downloads? Wow that's HUGE!
I'll just add comments to this issue whenever I find something new (or strange). Just want to stress that this happens to me when I have MDE open and change the DPI in Windows during the logon session. When I don't change the DPI, all is fine even if I have one monitor on 100% and the other one on 125% like you do. It's the change that's causing the trouble.

250K is about normal for one of my apps a year out. Sounds big but by Internet standards it's small. I've had several other programs over the years go 1M+.

It's the change that's causing the trouble

I missed that detail. Thanks for clarifying.

On my home PC where the setup is very standard - one FullHD monitor, Windows set to 100% DPI and I've never changed that value - the preview suddenly become blurry after some update (not sure which exactly but I guess it was around 0.19). This is quite strange because MDE on this PC has always been alright.

Does it revert back when older versions are installed?

AMD drivers are known to have this problem. http://www.digitalcitizen.life/fix-fuzzy-fontsblurry-text-problem-windows-live-applications-internet-browsers

Will try an older version when I'm back at home. Also, thanks for the link, it's true that I have AMD drivers, will check it out.

1.18 is the last release with crisp fonts. Everything newer is blurry for me.
BTW "Morphological filtering" in AMD driver settings is off.

OK, let's try a few things.
http://www.expirebox.com/download/51dd4b3142ef52e168375b2ba9234aca.html
This version turns on something called layout rounding.

Crisp!

Well, there it is then. I see the issue now. My eyes are simply not good enough to see the difference. Only when I zoom in about 200% is the difference obvious.
Here's the differnece with Layout Rounding on right:

Anyways, I'll push an update out tonight with this setting. Hopefully, I can put this puppy to bed finally.

Great find, you'll certainly be happy to see this issue closed for good :) I'll try tomorrow on my other PC with different DPIs as mentioned above (if this is the same issue, I'm not sure).


added WindowsPath to script_prefix

Hi EStew42,
Thank you for your PR
Im not sure i understand what it does

Hi, sorry, didn't leave a description.
Line 96 of write_cells.py saves the line gdsdir = WindowsPath('C:/path/...) to the import script when dirpath.absolute() is a WindowsPath object. But because WindowsPath is never imported in the import script, trying to use the import script throws an error. To solve this I added WindowsPath to the imports section of the import script. This may not be the best solution.

got it, thanks for reporting this
This should fix it
https://github.com/gdsfactory/gdsfactory/pull/1621


Update CHANGELOGs for 0.13.3, 0.13.4, 0.13.5 and 1.0.2

Before the 1.1 release train, CHANGELOG updates to release branches for new
patch releases are not committed automatically to main.
Signed-off-by: Antonin Bas<EMAIL_ADDRESS>

Codecov Report

Merging #2498 (0539afc) into main (b6f81ba) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 0539afc differs from pull request most recent head 1124019. Consider uploading reports for the commit 1124019 to get more accurate results

@@           Coverage Diff           @@
##             main    #2498   +/-   ##
=======================================
  Coverage   42.00%   42.00%
=======================================
  Files         148      148
  Lines       18166    18166
=======================================
  Hits         7630     7630
  Misses       9846     9846
  Partials      690      690

Flag
Coverage Δ

unit-tests
42.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apiserver/handlers/endpoint/handler.go
58.82% <0.00%> (-11.77%)
:arrow_down:

pkg/controller/grouping/controller.go
56.89% <0.00%> (+1.72%)
:arrow_up:

/skip-all


ni should not assume I want to create new project always

Clear and concise description of the problem
We have some legacy projects in work where package.json does not live in project root but in some subdirectory (usually something like src/FrontBundle/Resources/public).
The problem is that when I go to some where there is no package.json file ni assumes I want to create new project.
Suggested solution
It should ask me something like "There is not project detected in this directory. Do you want to start a new one?" and then proceed to ask me which package manager I want to use.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

There is not project detected in this directory. Do you want to start a new one?

If I choose no ? what will happen ?

If I choose no ? what will happen ?

It should end itself and let me walk into right directory.
Or maybe look into parent directory and and ask me if I want execute it from that directory (as composer install does in php land).

If I choose no ? what will happen ?

It should end itself and let me walk into right directory.
Or maybe look into parent directory and and ask me if I want execute it from that directory (as composer install does in php land).

Got it, I believe this makes sense


Defer parsing and validation of access tokens to the AccessToken class

This is an alternative take on a solution for #511
Needs #516 to be able to fix the failing specs and add more spec coverage.
With this fix in place the solution to #511 would be to subclass AccessToken. Something like this:
class PinterestAccessToken < OAuth2::AccessToken
  class << self
    def from_hash(client, hash)
      hash = hash.dup
      token =  hash.dig(:data, :access_token)
      return unless token
      new(client, token, hash)
    end
  end

  #... any class level changes
end

Similarly the Microsoft id_token only problem could be solved with
class MicrosoftAccessToken < OAuth2::AccessToken
  class << self
    def from_hash(client, hash)
      hash = hash.dup
      token =  hash.delete("access_token") || hash.delete("id_token")
      return unless token
      new(client, token, hash)
    end
  end
end

This is likely a breaking change as it requires a new API for anyone that has subclassed AccessToken.

Pull Request Test Coverage Report for Build 1041

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 1038:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls

@jonspalmer  Could you help to merge https://github.com/oauth-xx/oauth2/pull/516 to this PR? I think they bring better value if went together. This improvement is the best use of access token class option per client.
I don't have any problem with this approach, just some concerns which makes me prefer passing mapping options to guide client extracts access token than.

This is a big change, which may hard to merge back to 1-4-stable
Must extend AccessToken to use with vary providers. To extend, users must understand AccessToken, which I think take more time than using an option.
Should we provide common access token like PinterestAccessToken, MicrosoftAccessToken or just documentation and leave use use it?

@anvox I agree they work well together but I'm not convinced we should merge things. #516 is a completely safe, non-breaking change that we can merge into 1-4-stable with no major issues. As you point out this is a bigger change and might not be appropriate for 1-4-stable. #516 would at least make life a bit easier for consumers trying to solve problems that this PR is aiming at.
To address your questions:

I'm not %100 sure on the status of stable branches vs 2.0 etc. what the timelines and approaches are
We really don't need people to know everything about AccessToken if mostly just from_hash that matters. Frankly that pattern itself is super weird. It would be better if everything was is OAuth2::Client
Doc - No I don't think we should add all the example implementations. Document it well and let others implement them. The  popular combinations can become their own gems.

@anvox See my solution in #518. I believe this is a safe and very general purpose solution for all the use cases. It uses a client option vs subclassing AccessToken which is a major concern with this approach. Also I think its safe for 1-4-stable.

I like the approach in #518 proc is more flexible than subclass in this case.


Using suite name to run all tests of a given suite

Currently, tests from a suite must be run one at a time. The ability to run all the tests in a suite is more convenient.

 Make it easier to run one suite at a time

 Make it easier to run one suite at a time


Weekly plan charging current limit

Feature request
According to the API endpoint specification of Set Weekly Charge Plan (https://developer.easee.com/reference/post_api-chargers-chargerid-weekly-charge-plan), there is a body parameter for chargingCurrentLimit. I am missing this parameter in the integration, I can only supply week day and start/stop time.
What version of the integration are you using?
0.9.59
Anything in the logs that might be useful for us?
No response
Additional information
No response

Hmm, I am pretty sure this must have been added to the API fairly recently since I do not remember that it was possible to set that when I looked at it last.
It seems to be true also for the basic charge plan:
https://developer.easee.com/reference/post_api-chargers-chargerid-basic-charge-plan
This is definitely something we should add.

pyeasee changes in this PR: https://github.com/nordicopen/pyeasee/pull/103/files
Needs changes in component too.

Work in progress still, but included here: https://github.com/nordicopen/easee_hass/pull/483

Released now, please let us know if your problem was solved.


Work around for ts-node compilation issues

For #13411

Codecov Report

Merging #13473 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13473      +/-   ##
==========================================
- Coverage   59.91%   59.89%   -0.03%
==========================================
  Files         670      670
  Lines       37224    37224
  Branches     5318     5318
==========================================
- Hits        22303    22294       -9
- Misses      13777    13783       +6
- Partials     1144     1147       +3

Impacted Files
Coverage Δ

...nt/datascience/notebookStorage/vscNotebookModel.ts
65.90% <ø> (ø)

src/client/common/utils/platform.ts
64.70% <0.00%> (-11.77%)
:arrow_down:

src/client/datascience/crossProcessLock.ts
79.41% <0.00%> (-11.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

Continue to review full report at Codecov.

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


preventeing "optimized away" case

The API has to prevent the case that the static assets are "optimized away".
This can happen, if a library using the qrc system is included statically. It happens because the qrc system uses side effects when globally initializing a object to register the resources with Qt. Because there are no references to the library/code unit from the program, the compiler can assume that the code is unneeded and optimize it away.
In Qt people using a qrc resource have to include the QT_INIT_RESOURCES(<name>) macro "some where" in their code (normally it's placed in the top of main()).
This library intends to provide a build dependency, so that other rust libraries can use them, so this macro is not a possibility. Another way has to be provided instead.
(Also btw. for some reason it works without it, even with profile.release.lto = true. But I fear it just happens to work, without any guarantees)

Ideas:

ignore it until someone has a problem
use rcc and extract the data to "custom build" the resources (bad idea)
after generating the .cpp file containing the encoded resources modify it to give the initializing functions a C interface

I think I will go with 3.
But because referencing a function but never calling it (which the QT_INIT_RESOURCES macro does) is still not really safe I might generate a rust function which you have to call for initialization (removing the default init way of Qt).
Also this function would have a C-ABI for compatibility.

More ideas:

reproduce the modification/name mangeling of the register functions name, and set some compiler flags to prevent it from being optimized away (but this seems to be something easily forgotten and a bit brittle)


[Help Needed / Draft PR] simplifying Anthropic, OpenAI, Vertex, Cohere call

following up on https://github.com/refuel-ai/autolabel/issues/509
I'm facing issues getting testing to work - even for the most basic calls it isn't calling my class functions.
@DhruvaBansal00 @rajasbansal would appreciate a 2nd pair of eyes on this to see if i'm missing anything.

bump? @DhruvaBansal00 @rajasbansal

Hey @krrishdholakia, let's chat sometime and knock this out if possible? Might be quicker.

Sounds good, attaching my calendly if that helps - else let me know a good time for you
https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat

Put something on your calendar for 1:30pm tomorrow. Lmk if that works!


73

closes #73

PR-Codex overview
This PR focuses on adding new conversation routes and making changes to existing ones.
Detailed summary:

Added Unsubscribe conversation route.
Updated Token conversation route to use Mono<SendMessage>.
Updated Start conversation route to use Mono<SendMessage>.
Updated Registry conversation route to use Mono<SendMessage>.
Added cactoos and easy-random-core dependencies.
Added license header to package-info.java file in io.blamer.bot.text package.

The following files were skipped due to too many changes: src/main/java/io/blamer/bot/conversation/routes/Registry.java, src/main/java/io/blamer/bot/text/TokenOf.java, src/test/java/io/blamer/bot/text/TokenOfTest.java, src/main/java/io/blamer/bot/agents/tg/TgBot.java, src/test/java/io/blamer/bot/conversation/routes/RegistryTest.java, src/test/java/extension/UpdateWithTokenExtension.java, src/test/java/io/blamer/bot/agents/tg/TgBotTest.java

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@l3r8yJ thank you for your Pull Request. I'll assign someone to review it soon.
If this PR solves a todo from the code, please don't forget to remove it.

@h1alexbel please review this Pull Request. Deadline (when it should be merged or closed) is 2023-09-12T20:18:59.270984.
You should check if the requirements have been implemented (partially or in full), if there are unit tests covering the changes and if the CI build passes. Feel free to reject the PR or ask for changes if it's too big or not clear enough.
Estimation here is 30 minutes, that's how much you will be paid. You will be paid even if this PR gets rejected.

@h1alexbel take a look, please

@h1alexbel Don't forget to close this ticket before the deadline (2023-09-12T20:18:59). You are past the first half of the allowed period.

@l3r8yJ commented on mixing flows

@l3r8yJ here is new version #88

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


#44 #50 #7 #3 #9 added prompt when selecting delete button, also MULT…

…IPLE FILTERING is now working only in backend, not showing results in frontend.

Current coverage is 59.41%

Merging #51 into master will decrease coverage by -3.09% as of 3d04ffd

@@            master     #51   diff @@
======================================
  Files           11      13     +2
  Stmts          152     170    +18
  Branches         0       0
  Methods          0       0
======================================
+ Hit             95     101     +6
  Partial          0       0
- Missed          57      69    +12

Review entire Coverage Diff as of 3d04ffd

Powered by Codecov. Updated on successful CI builds.


Failed to upgrade Hugo

Hi all, it's been a long time since last time I used Hugo. I was trying to use it again but things are not going that easy.
I just create a new site, install a theme and the hugo server -D complains the theme needs an updated version of Hugo. Fair enough.
Checking the current version:
$ hugo version
Hugo Static Site Generator v0.18.1 BuildDate: 2016-12-30T13:03:32+01:00

Let's update!
$ brew update
$ brew upgrade hugo

But...
$ hugo env
Hugo Static Site Generator v0.18.1 BuildDate: 2016-12-30T13:03:32+01:00
GOOS="darwin"
GOARCH="amd64"
GOVERSION="go1.7.4"

$ brew upgrade hugo
Error: hugo 0.50 already installed

I also tried brew uninstall/install again but no success.
Am I forgetting something?

For some reason, after (a new) brew uninstall hugo it was still working.
I found out it was running from /Users/<user>/bin/hugo
May help:
$ which hugo
// nothing
$ hugo server -D
// in another terminal
$ ps -auxwe | grep 1313


Backup existing tables on "Upload and Replace" into Popper for table updates

Is your feature request related to a problem? Please describe.
I'm nervous VPS just overwrites tables when doing table updates without doing a backup.
Describe the solution you'd like
As a Cabinet Administrator, I like using Popper's Game Manager to perform table updates because it asks if I would like to do a backup. I would like an option within VPS that when I do an "Upload and Replace", VPS will mimic the "Game Backup" functionality of Popper by copying the existing game file into the \tables\pupBackups folder and rename the file to "existingfilename.vpx.bak".
Describe alternatives you've considered
Take what popper does a step further and append the extension with a simple form date so that multiple "backup" versions can exist in the same pupBackups folder.
Additional context

As a "Cabinet Administrator", I'm constantly nervous about updating things on my cab. I have VP Backup Manager, but maybe this is a form of lightweight option that can just be done as a simple nice-to-have.

Allow the user to define a "Backup" location, this may be local storage, usb removable, or even network location like an Unraid server.
When the server starts, check to see if "backup" folder exists, and if not then create it for the user.
Create subfolders within the primary backup folder for each group of thing (tables, backglass, altcolor, etc).
When the user updates one of the below, a prompt is displayed in the client to ask if the user if they wish to make a backup.
If the user does not agree to a backup, nothing happens
If the user does agree to a backup, then copy the old file into the appropriate "backup" subfolder for its type, give the file a new extension of ".bak" and append a simple "datetime" something like "foobar.vpx.bak031024_1711"
Give some kind of information to let the user know its been backed up.

Simple objects to consider for backup

Backglass
AltColor
AltSound
Table
PupPack

Alternatively, maybe VP Backup Manager could invoke a super simple command do a backup if one of these things are triggered.
Additional context
Cabinet admins often have multiple emulators (VPX, VPX VR, VPX Beta, FP, etc). A complication I haven't thought through is how to keep SOME things separate such as table & backglass for the use case of VPX & VPX Beta, while shared resources like altcolor are universal.
Super future thing would be to have some kind of zip archiving, and a simple restoration process that unpacks the zip and replaces new things in case the new bits broke something.

Super future thing would be to have some kind of zip archiving, and a simple restoration process that unpacks the zip and replaces new things in case the new bits broke something.

The early versions of the Studio did provide this. I got immediate response from the vpuniverse that they don't like to see any other distribution methods than their website and these archives can be easily shared with other users. That's why I switched to the third party tool "Backup Manager" which binds the backups to a table.  (I really would have liked to proceed with my own "open" format).
Regarding this VPX file backup: this is something that can be done. But I won't extend it to a level that additional resources are backed up too.

I got immediate response from the vpuniverse that they don't like to see any other distribution methods than their website and these archives can be easily shared with other users

This makes complete sense given some of the troubles the VP scene has had over the years.
I've wondered if there is a reason to not have a backup like system for other resources too. I know some users who try to mimic the "pupBackup" behavior through creating a folder manually and each time they change a resource they copy & paste into that backup folder.
Any reason this couldn't be something similar? Even if it was just a "backups" folder in each of the resource folders?

The problem I see here is that in the end, these backups wouldn't much differ in what the VPBM is doing. And these backups are only one click away. I get the point that when a table is replaced a backup would be nice, but its hard to draw the line.
Any reason why the VPBM isn't working for you? We could also ask Matt, the developer of VPBM for some adjustments.

I added a backup option for the table uploads. I think these are the most critical resources that may get lost and since my uploads may delete them, it can also backup them now. For the other backups I would still refer to VPBM (https://github.com/mmattner/vPinBackupManagerApp/).

The back option for the replaced tables has been delivered with 2.16.0, so I consider this ticket as closed.


Doc cleanup after openthread.io launch

Stripped down README so it's not a dupe of openthread.io landing page
Moved Windows Building/Installation instructions from Wiki to its README, removed the Architecture content (which is on openthread.io)
Revised Harness Automation README to point to guide on openthread.io and remove CLI help output, which shouldn't be listed
Removed Spinel Protocol file that only had broken links, content is in /doc
Applied Doxygen copyedits discovered during openthread.io publishing

@jwhui I removed the platform and "companies supporting OT" from the README.  I assumed having all that on openthread.io is sufficient, but wasn't sure if we're required to have it here too.  I'll add them back if so.


Api 2.0 preview page blank

this  page is blank .inspect with firebug in console its shows

"NetworkError: 404 Not Found - https://angular.io/docs/ts/latest/api//api-list.json"

dup of #927


Unlock when isLeader failure

The following ensures that when requesting isLeader and an error is
returned, that the code correctly unlocks, otherwise you could end up
with a lockup.
I'm unsure how often this would happen, I found this just looking over
the codebase.

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

@SimonRichardson Thanks! Would you mind editing your commit message to include the required Signed-off-by: Simon Richardson <email> line?
With that done, we can merge this change.
Thanks!

Sure I'll do it first thing tomorrow morning.

Thanks!


Xenoblade Chronicles X

Offline squad tasks and missions are broken again.

https://www.reddit.com/r/cemu_xenoblade/comments/g4duku/xcx_mods_updated_for_v5_graphic_packs/