Can't publish to S3

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project follows, as appropriate.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
Although I have no problem on publishing on Github, I can't publish on S3.
Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.
...
$ DEBUG=electron-forge:* ./node_modules/electron-forge/dist/electron-forge.js publish electron-out/project
WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
  electron-forge:lifecycle Process Started: Checking your system +0ms
  electron-forge:lifecycle Process Succeeded: Checking your system +23ms
  electron-forge:runtime-config setting key: verbose to value: false +8ms
WARNING: DEBUG environment variable detected.  Progress indicators will be sent over electron-forge:lifecycle
  electron-forge:lifecycle Process Started: Resolving Forge Config +0ms
  electron-forge:project-resolver searching for project in: /Users/fredguth/Code/remoto/remoto-app/electron-out/project +2ms
  electron-forge:project-resolver electron-forge compatible package.json found in /Users/fredguth/Code/remoto/remoto-app/electron-out/project/package.json +9ms
  electron-forge:lifecycle Process Succeeded: Resolving Forge Config +16ms
  electron-forge:require-search searching [ '../makers/darwin/zip.js',
  '../makers/generic/zip.js',
  'electron-forge-maker-zip',
  'zip',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/zip',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/zip',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/makers/darwin/zip.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/makers/generic/zip.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/electron-forge-maker-zip',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/zip',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/zip',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/zip',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/makers/darwin/zip.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/makers/generic/zip.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/node_modules/electron-forge-maker-zip',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/node_modules/zip',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/zip',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/zip' ] relative to /Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api +1ms
  electron-forge:require-search testing ../makers/darwin/zip.js +2ms
  electron-forge:require-search testing ../makers/generic/zip.js +0ms
  electron-forge:require-search searching [ '../makers/darwin/dmg.js',
  '../makers/generic/dmg.js',
  'electron-forge-maker-dmg',
  'dmg',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/dmg',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/dmg',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/makers/darwin/dmg.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/makers/generic/dmg.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/electron-forge-maker-dmg',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/dmg',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/dmg',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/dmg',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/makers/darwin/dmg.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/makers/generic/dmg.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/node_modules/electron-forge-maker-dmg',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/node_modules/dmg',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/dmg',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/dmg' ] relative to /Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api +4ms
  electron-forge:require-search testing ../makers/darwin/dmg.js +0ms
We need to package your application before we can make it
  electron-forge:lifecycle Process Started: Preparing to Package Application for arch: x64 +8ms
  electron-forge:project-resolver searching for project in: /Users/fredguth/Code/remoto/remoto-app/electron-out/project +0ms
  electron-forge:project-resolver electron-forge compatible package.json found in /Users/fredguth/Code/remoto/remoto-app/electron-out/project/package.json +1ms
  electron-forge:hook could not find hook: generateAssets +7ms
  electron-forge:hook could not find hook: prePackage +0ms
  electron-forge:packager packaging with options { asar: true,
  overwrite: true,
  appCategoryType: 'public.app-category.productivity',
  appBundleId: 'me.remoto.Remoto',
  osxSign: { identity: 'Mac Developer: Frederico Guth (N3876635GL)' },
  appCopyright: 'Copyright (c) 2017 Remoto Tecnologia Eireli',
  name: 'Remoto',
  versionString:
   { CompanyName: 'Remoto Tecnologia Eireli',
     FileDescription: 'Remoto Desktop',
     ProductName: 'Remoto',
     InternalName: 'Remoto' },
  win32metadata: { CompanyName: 'Remoto Tecnologia Eireli' },
  protocols: [ { name: 'Remoto', schemes: [Object] } ],
  protocol: [ 'remoto' ],
  protocolName: 'Remoto',
  icon: 'assets/icons/icon',
  afterCopy: [ [Function], [Function], [Function], [Function] ],
  afterExtract: [],
  dir: '/Users/fredguth/Code/remoto/remoto-app/electron-out/project',
  arch: 'x64',
  platform: 'darwin',
  out: '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/out',
  electronVersion: '1.6.11',
  quiet: true } +0ms
  electron-forge:lifecycle Process Succeeded: Preparing to Package Application for arch: x64 +14s
  electron-forge:lifecycle Process Started: Compiling Application +5ms
Failed to compile file: /var/folders/qm/_sscwp3x7fbf9brf4l9jbsk40000gn/T/electron-packager/darwin-x64/Remoto-darwin-x64/Electron.app/Contents/Resources/app/ember/crossdomain.xml
Compiling /var/folders/qm/_sscwp3x7fbf9brf4l9jbsk40000gn/T/electron-packager/darwin-x64/Remoto-darwin-x64/Electron.app/Contents/Resources/app/ember/crossdomain.xml resulted in a MIME type of application/xml, which we don't know how to handle
  electron-forge:lifecycle Process Succeeded: Compiling Application +3s
  electron-forge:lifecycle Process Started: Preparing native dependencies +1ms
  electron-forge:lifecycle Process Succeeded: Preparing native dependencies +9s
  electron-forge:lifecycle Process Started: Packaging Application +1ms
  electron-forge:hook could not find hook: postPackage +27s
  electron-forge:lifecycle Process Succeeded: Packaging Application +2ms
Making for the following targets:
  electron-forge:hook could not find hook: preMake +5ms
  electron-forge:lifecycle Process Started: Making for target: zip - On platform: darwin - For arch: x64 +3ms
  electron-forge:lifecycle Process Succeeded: Making for target: zip - On platform: darwin - For arch: x64 +14s
  electron-forge:lifecycle Process Started: Making for target: dmg - On platform: darwin - For arch: x64 +1ms
  electron-forge:lifecycle Process Succeeded: Making for target: dmg - On platform: darwin - For arch: x64 +16s
  electron-forge:hook could not find hook: postMake +1ms
  electron-forge:project-resolver searching for project in: /Users/fredguth/Code/remoto/remoto-app/electron-out/project +1ms
  electron-forge:project-resolver electron-forge compatible package.json found in /Users/fredguth/Code/remoto/remoto-app/electron-out/project/package.json +2ms
  electron-forge:lifecycle Process Started: Resolving publish target: github +17ms
  electron-forge:require-search searching [ '../publishers/github.js',
  'electron-forge-publisher-github',
  'github',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/github',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/github',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/publishers/github.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/electron-forge-publisher-github',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/github',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/github',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/github',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/publishers/github.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/node_modules/electron-forge-publisher-github',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/node_modules/github',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/github',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/github' ] relative to /Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api +0ms
  electron-forge:require-search testing ../publishers/github.js +2ms
  electron-forge:lifecycle Process Succeeded: Resolving publish target: github +33ms
  electron-forge:lifecycle Process Started: Searching for target Release +2ms
  electron-forge:lifecycle Process Succeeded: Searching for target Release +1s
  electron-forge:lifecycle Process Started: Uploading Artifacts 0/2 +1ms
  electron-forge:lifecycle Process Succeeded: Uploading Artifacts 0/2 +4ms
  electron-forge:lifecycle Process Started: Resolving publish target: s3 +1ms
  electron-forge:require-search searching [ '../publishers/s3.js',
  'electron-forge-publisher-s3',
  's3',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/s3',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/s3',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/publishers/s3.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/electron-forge-publisher-s3',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/s3',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/s3',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/s3',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/publishers/s3.js',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/node_modules/electron-forge-publisher-s3',
  '/Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api/node_modules/s3',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/s3',
  '/Users/fredguth/Code/remoto/remoto-app/electron-out/project/node_modules/s3' ] relative to /Users/fredguth/Code/remoto/remoto-app/node_modules/electron-forge/dist/api +0ms
  electron-forge:require-search testing ../publishers/s3.js +0ms
  electron-forge:lifecycle Process Succeeded: Resolving publish target: s3 +597ms

Electron forge was terminated:
In order to publish to s3 you must set the "s3.accessKeyId", "process.env.ELECTRON_FORGE_S3_SECRET_ACCESS_KEY" and "s3.bucket" properties in your forge config. See the docs for more info

What command line arguments are you passing?
$ DEBUG=electron-forge:* ./node_modules/electron-forge/dist/electron-forge.js publish electron-out/project

What does your config.forge data in package.json look like?
const path = require('path');

function getWindowsSigningCert() {
    if (process.platform !== 'win32') {
        return;
    }

    if (process.env.WINDOWS_CERTIFICATE) {
        return process.env.WINDOWS_CERTIFICATE;
    } else {
        console.log('Codesigning certificate can not be found, release build will fail');
        console.log('To fix, set CODESIGN_CERTIFICATE');
    }
}

function getWindowsSigningPassword() {
    if (process.platform !== 'win32') {
        return;
    }

    if (process.env.WINDOWS_PASSWORD) {
        return process.env.WINDOWS_PASSWORD;
    } else {
        console.log('Codesigning password can not be found, release build will fail');
        console.log('To fix, set CODESIGN_PASSWORD');
    }
}

module.exports = {
  "make_targets": {
    "darwin": ["zip", "dmg"],
    "linux": ["deb"],
    "win32": ['squirrel']
  },
  "publish_targets": {
    "darwin": ["s3"],
    "linux": ["github", "s3"],
    "win32": ["github", "s3"],
  },

  "electronPackagerConfig": {
    appCategoryType: 'public.app-category.productivity',
    appBundleId: 'me.remoto.Remoto',
    osxSign: {
      "identity": "Mac Developer: Frederico Guth (N3876635GL)"
    },
    appCopyright: `Copyright (c) ${new Date().getFullYear()} Remoto Tecnologia Eireli`,
    name: 'Remoto',
    versionString: {
        CompanyName: 'Remoto Tecnologia Eireli',
        FileDescription: 'Remoto Desktop',
        ProductName: 'Remoto',
        InternalName: 'Remoto'
    },
    win32metadata: {
      CompanyName: 'Remoto Tecnologia Eireli'
    },
    protocols: [
        {
            name: 'Remoto',
            schemes: ['remoto']
        }
    ],
    protocol: ['remoto'],
    protocolName: 'Remoto',
    overwrite: true,
    asar: true,
    icon: 'assets/icons/icon'
  },
  electronInstallerDMG: {
    title: 'Remoto',
    background: 'assets/dmg/installer_background.png',
    icon: 'assets/icons/icon.icns',
    iconsize: 120,
    window: {
        size: {
            width: 620,
            height: 480
        }
    },
    content: [
        {
            "x": 480,
            "y": 240,
            "type": "link",
            "path": "/Applications"
        },
        {
            "x": 160,
            "y": 240,
            "type": "file",
            "path": "electron-builds/Remoto-darwin-x64/Remoto.app"
        }
    ]
  },
  "electronWinstallerConfig": {
    name: 'Remoto',
    icon: 'assets/icons/icon',
    noMsi: true,
    authors: 'Remoto Tecnologia Eireli',
    exe: 'Remoto.exe',
    setupIcon: path.join(__dirname, '../assets/icons/icon.ico'),
    title: 'Remoto',
    iconUrl: `http://remoto.me/icons/icon.ico`,
    loadingGif: path.join(__dirname, '../assets/win/installer-windows.gif'),
    certificateFile: getWindowsSigningCert(),
    certificatePassword: getWindowsSigningPassword()
  },

  "electronInstallerDebian": {
    name: 'Remoto',
    maintainer: 'Remoto Team<EMAIL_ADDRESS>    homepage: 'https://remoto.me',
    genericName: 'Business Communication',
    arch: 'amd64',
    icon:  path.join(__dirname, '../assets/icons/icon.png'),
    bin: 'Remoto',
    productDescription: 'Keep your team close and your clients closer'
  },

  "github_repository": {
    "owner": "remoto-me",
    "name": "remoto-app"
  },

  "s3": {
    "accessKeyId": "AKIA...",
    "secretAccessKey": process.env.AWS_SECRET_ACCESS_KEY,
    "bucket": "remoto-releases",
    "public": true
  }
};

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init is a good starting point, if that is not the
source of your problem.
I am using ember-electron, an it is using electron-forge. Don't know how to build a simple testcase, sorry. I believe the problem is not in the ember-electron part, as I can "make" and also "publish to github".
I have tried before with "accessKey" instead of "accessKeyId", but I believe the README.md I was seeing with "accessKey" was old documentation by what I saw here: https://github.com/electron-userland/electron-forge/issues/143  and here: https://github.com/electron-userland/electron-forge/blob/master/src/publishers/s3.js#L19.
I do have AWS_SECRET_ACCESS_KEY in my environment:
$ env | grep ACCESS
AWS_ACCESS_KEY_ID=AKIA...
AWS_SECRET_ACCESS_KEY=...
ELECTRON_FORGE_S3_SECRET_ACCESS_KEY=...

@fredguth I can see a potential issue in the code for handling this but not if you've set the secretAccessKey option correctly.  Can you triple double backwards check that that option is actually set to a non-empty string 😄

@fredguth Can you response to the above 😄

Since the original issue reporter has not responded to the request for additional information in about two weeks, I'm going to assume that they either found the answer in another manner or decided not to pursue this issue. If I'm incorrect, they can respond with answers to the questions posed, and I'll reopen.


Error when using Bing

It happens randomly when using Bing (only when using Bing). The reponse will be like:
{
    "error": "/turing/conversation/create: failed to parse response body.\n"
}

Tried both in PandoraAI web interface and postman, this happens randomly with either long or short messages. Not sure if it is problem with Bing or my server (haven't try it out in another server but it works sometime so I believe it wasn't due to Bing banning my server's ip)

I also came across it, and it seemed to jump to Bing's homepage.

I would try using a proxy, regardless. I came across this issue myself, and it was solved by setting a proxy.

I would try using a proxy, regardless. I came across this issue myself, and it was solved by setting a proxy.

Sure I'll try, but which proxy should I use? Http proxy

How can I set use a proxy? I'm hosting it on heroku

I got timeout error when using proxy

Sure I'll try, but which proxy should I use? Http proxy?

Yeah, socks proxies aren't supported at the moment.

There's a workaround in<EMAIL_ADDRESS>you guys can try.


Issue with k8s.io/docs/tasks/access-application-cluster/web-ui-dashboard/

This page does not open:
https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml

HI @itsecforu - thanks for reporting this issue! Could you let us know where in the documentation you found the link?
/triage needs-information

@aimeeu  hey! I dont remember :-(

Looks like the mentioned link is no longer there.
pls feel free to open with actionable issue details or file a new one.


WatchOS Offline issue

let videos = YouTube(videoID: video.videoId, methods: [.remote])
let streams = try await videos.streams
let stream = streams
.filterVideoAndAudio()
.filter { $0.isNativelyPlayable }
.highestResolutionStream()
iOS working good, wathOS 11.1:
Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={NSErrorFailingURLKey=https://youtubekit-remote.losjet.com/v1?videoID=KQ_oVpydLng, NSErrorFailingURLStringKey=https://youtubekit-remote.losjet.com/v1?videoID=KQ_oVpydLng, NSLocalizedDescription=The Internet connection appears to be offline.}

Does this still occur? Can't reproduce it. Looks like a temporary issue on the remote server.

@alexeichhorn yes, still not work


Vagrantfile: use RancherOS

Vagrantfile: use RancherOS
Fixes #1361

This will replace #264

This looks good, couple of usability things while we are here, but no show stoppers. Are we going to handle multi-node setup?

We can simplify the logic by configuring the server first and then the agents.

The Vagrant file works as advertised. I noticed with multiple nodes the hosts show up in the Rancher UI as "rancher" and you can not tell them apart. So, in rancher/os-vagrant#19 PR there is an update to the plugin that allows setting hostname. Please review that, and if its good lets add to this and set hostnames.

LGTM! Thanks.


use nais-team-app instead of srvnais PAT

more info: https://github.com/apps/nais-team-app
i should have added the necessary secrets (NAIS_APP_PRIVATE_KEY, and NAIS_APP_ID), but it's probably smart to have a look at the repository secrets and verify their existence before merging this.
also, i removed PUSH_TOKEN from the goreleaser step. i couldn't find the env variable documented anywhere in the goreleaser project, and i want to eliminate the use of SRVNAIS_REPO_PUSH_PAT

PUSH_TOKEN is used by goreleaser here: https://github.com/nais/cli/blob/804b22ec09109b6440a9c7e5af73fd40a619dabd/.goreleaser.yml#L33
It is used to push to https://github.com/nais/homebrew-tap.


Is this still being maintained?

I'm trying to use Rails 6, and it looks like the highest supported version is 5.2. If this works with Rails 6, can we bump the dependency to 6.0?

@copasetickid Would it be possible to pass on to someone else to maintain this gem if you aren't going to be maintaining it?

I am still one of the owners for https://rubygems.org/gems/draftsman.
From what I can see @copasetickid seems not to have the time to maintain this project, which is fine. If there is someone else willing to step up, and if a consensus is reached, I can add the new maintainer to https://rubygems.org/gems/draftsman.
The problem is that I have no control over this repo, so a fork would have to be created. Issues would be lost, but that is secondary to active maintenance.

@jmfederico I would very much love to take over this repo if everyone is ok with it.
The main reason is because I am planning to use this in my core product. But the thing that stopped me from using this is that the repo is no longer being maintained. IF we can get this going and if you can help guide me on this, I would very much love to take over this

Sorry I've been busier than expected and I haven't had much time to focus on this as I would like. I've noticed PRs open to update this gem but no one has been able to get the build to pass for me to merge it in.
I'd be fine with passing this along since @tlkiong  seems to have more of need for it now that I have to time for.

Any news here?

@ELepolt Unfortunately, there isn't any. :(

I do not. I'm very new to this repo at a new job looking to move up to Rails 6. I know there're a few other people who have forked it and updated it for Rails 6: https://github.com/copasetickid/draftsman/network
Maybe reaching out to them might be a decent idea?

@tlkiong are you still interested?

From looking at the forks:

@kremen /  https://github.com/kremen/draftsman might be a good candidate, but the updates are mostly maintenance for newer versions of Rails
@evanshabsove / https://github.com/spectrum-md/draftsman is another viable candidate, but it's not updated for Rails 6, and it's unclear how much it changes expected behavior, or is customized for the specific application (spectrum-md).

I wouldn't use my fork. The core of the gem works much the same but I've taken out a lot of code that I didn't agree with, mostly around saving/creating a draft.
Think of it more as a stripped down version of this gem.
We're actually removing it from our application in favor of a solution involving paper trail so our fork will be unused soon.

Happy to go over the changes I made though.
There was a lot of logic in the gem around drafts returning back to the original state of the parent object that I removed, and I think some around if the draft was made from a create.

Sorry guys. I somehow didn't get any notification from @jmfederico.
I have built a version using papertrail though very specific to my own use case.
So, not at the moment. Thanks!

copasetickid are there any plans to update this gem?


Git -> 🐐, Kubectl -> ☁

Default theme:

TO consider if [[ command kubectl &2>/dev/null ]]; then; EVEEERYTHING; fi
This seems to cause issues with spacing when doing reverse-searches; see linked issue. I'd love an explanation as to why this might happen from this change.

Hi @haf, I'd suggest putting your customization of the robbyrussell theme as a custom theme, see Overriding and adding themes.


RUN-2195: Call SetForceMainWorldInitialization deterministically

https://linear.app/replay/issue/RUN-2195#comment-e0b6c75b

@Domiii looking at this PR again I have a concern.  We only call SetForceMainWorldInitialization on the initial frame, but what about other frames in the recording?  We've run into this in a couple other places like FrameLoader::DispatchDidClearDocumentOfWindowObject and instead of trying to make sure the flag has the right value we just also check IsRecordingOrReplaying("initialize-window-proxy") as well.

instead of trying to make sure the flag has the right value we just also check IsRecordingOrReplaying("initialize-window-proxy")

From what I understand, the crash signature was caused by our divergent call to sendMessage("Runtime.enable") from gReplayScript.
We only ever call that once, because we never re-initialize gReplayScript. So I don't think other frames should encounter this particular issue?


Minor typos and link fixes

Yes it was an unreferenced duplicate definition the actual file being shown is MemoryAccess.md


What is eighth_roots_of_unity in BLS verification?

Description
Part of #104. What is eighth_roots_of_unity? Verify that this modular_squareroot works like other formulas. @jrhea @schroedingerscode @dangerousfood

This is not required in our implementation - Milagro takes care of the modular square root by its own mysterious methods.


fix python indentation when comment contains nested syntax items

This is an attempt at fixing the issue discussed here.
MRE:
vim -Nu NONE -S <(tee <<'EOF'
    vim9script
    filetype plugin indent on
    syntax on
    &filetype = 'python'
    &formatoptions = 'o'
    syntax match pythonFoldMarkers /{{{\d*/ contained containedin=pythonComment
    var lines =<< trim END
    # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx {{{1

    if True:
    pass
    END
    lines->setline(1)
    normal! gg=G
EOF
)

Expected:
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx {{{1

if True:
    pass

Actual:
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx {{{1

                                              if True:
                                              pass

The PR includes a test which passes only with the patch.
If someone could confirm or infirm that the patch works and doesn't break anything, that would help.

It works for me, thanks.  I'll include it.  There are probably further improvements to be made, let me know.
Or if someone wants to take over maintaining this Python indent plugin, you are welcome.
I don't write much python.


Added UI Menu

These are the new UI features mentioned in the other PR, @tconley

Added slide menu
Option to change language
Added relevant links

amazing work @sage-t  I sent you an email


Update: Introduce new sync mode 'Synchronize Unsynchronized Objects'

Docs update for Mx 9.4.0

@omnajjar is waiting for approval and then we can remove the Draft label.


🐞 Settings search results are capitalized

Description
When using the settings search the results are all capitalized
To Reproduce

Open settings
Search for a setting

See that it is capitalized even though the normal setting is not capitalized in the same way
Expected Behavior
The search results should not be capitalized
Version Information
CodeEdit: [0.0.3-alpha.37]
macOS: [14.1.2]
~Xcode: [e.g. 14.2]~
Additional Context
N/A
Screenshots

@RayZhao1998 Looks like the issue got sorted in #1547, but just want to double-check – did I miss anything?

The problem has been addressed in pull request #1547, although it hasn't been officially marked as closed. Just a friendly reminder to include '* closed #0000' in pull requests that successfully resolve issues.


Set uniqueCount correctly in sharedStrings.xml

This fixes the problem that uniqueCount is currently not set correctly. It will also set count to the same value as uniqueCount. This is not entirely correct because count should be set to the total number of strings but figuring that out is somewhat more difficult.

This issue has been resolved by the updates implemented by Lars Uffmann. See XLDocument.cpp line 477 onwards.


Updated Makefile to check for M1 dependencies

Description
The build command for Makefile has been updated to validate dependencies for all os before building. The only logic we currently have is to check for librdkafka dependencies. If not all the dependencies are met then the build will be halted and an action will be recommended to the user.
Example output when missing PKG_CONFIG_PATH:

Build halted
PKG_CONFIG_PATH is missing openssl. Recommended to run: export PKG_CONFIG_PATH="$( brew --prefix openssl )"/lib/pkgconfig"${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
make: *** [validate-os-dependencies] Error 1

Example output when missing librdkafka:

Build halted
Missing librdkafka. Recommened to run: make librdkafka

Example output when missing openssl

Build halted
Missing openssl. Recommened to run: make librdkafka

Example output when missing pkg-config

Build halted
Missing pkg-config. Recommened to run: make librdkafka

closes: #884

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

tested this on gitpod(clean ubuntu box) ..works!


fix: validate predictions fails on text2text

Description
Fix validate button action in text2text task
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Closes #2252
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (change restructuring the codebase without changing functionality)
[ ] Improvement (change adding some improvement to an existing functionality)
[ ] Documentation update

How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference tests)

[x] Text2Text

Checklist

[x] I have merged the original branch into my forked branch
N/A I added relevant documentation
[x] follows the style guidelines of this project
[x] I did a self-review of my code
N/A I added comments to my code
N/A I made corresponding changes to the documentation
[x] My changes generate no new warnings
N/A I have added tests that prove my fix is effective or that my feature works

NOTE : we need to refresh the component  or after refresh the user modification will not be kept
This is a patch, it would be better to use vue reactivity


Moved destroy listener below first renderView

the destroy is handled, but no reason to trigger it here.
Save the cycles.

:+1: Good to go


Certificate for api-0.core.keybaseapi.com expired

Happens to me too

Apparently happened last year as well:

Apparently happened last year as well:

My first searches gone into older GitHub issues into you found this one

bump, same issue

Oof; desktop client appears completely broken just because of an expired certificate?

Ironically can't even send a bug report from within the app.

we're aware of the issue and are working on it

Oof; desktop client appears completely broken just because of an expired certificate?

Yes, it uses the API for part of the UI (assumption)

Ironically can't even send a bug report from within the app.

The bug report sends it to the API so it can't actually send it xd

Fixed in fbebbc9f1ba29e21ae6d3ee2edc21a7703d0019f
Note on the Android app release just now

Fix for expired certificate issues which caused connection issues
To fix desktop apps please redownload the app from keybase.io

@mmaxim Will there be any further communication to keybase users to know that they have to redownload the app? Maybe a blog post?

Fixed in fbebbc9f1ba29e21ae6d3ee2edc21a7703d0019f
Note on the Android app release just now

Fix for expired certificate issues which caused connection issues
To fix desktop apps please redownload the app from keybase.io

@mmaxim Will there be any further communication to keybase users to know that they have to redownload the app? Maybe a blog post?

Fixed in fbebbc9
Note on the Android app release just now

Fix for expired certificate issues which caused connection issues
To fix desktop apps please redownload the app from keybase.io

@mmaxim Will there be any further communication to keybase users to know that they have to redownload the app? Maybe a blog post?

thanks, but kbp.keybaseapi.com seems to still be missing certs

Fixed in fbebbc9
Note on the Android app release just now

Fix for expired certificate issues which caused connection issues
To fix desktop apps please redownload the app from keybase.io

@mmaxim Will there be any further communication to keybase users to know that they have to redownload the app? Maybe a blog post?

thanks, but kbp.keybaseapi.com seems to still be missing certs

Update: kbp.keybaseapi.com appears to be working now, I think this issue can be closed

MacOS version needs to be re-downloaded manually for this fix to kick in, since the updater itself doesn't work.

I'm still getting this when trying to login with paper key:
2024-01-01T14:44:45.013783+01:00 ▶ [ERRO keybase main.go:87] 002 API network error: doRetry failed, attempts: 3, timeout 13.5s, last err: Get https://api-0.core.keybaseapi.com/_/api/1.0/user/lookup.json?fields=basics&load_deleted_v2=1&multi=1&username=waldner: x509: issuer name does not match subject from issuing certificate (code 1601)

is that something to fix on my side?
keybase 6.2.4-20240101011938.ae7e4a1c15

ios version still broken. Manually updating worsens the problem.

ios version still broken. Manually updating worsens the problem.

Apple hasn't approved the new fixed version on the App Store yet, the process can take some time, so just be patient


Request for Incorporating Red Bull TV Downloader. The Python Script Extractor is Provided in the Description

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running youtube-dl version 2021.06.06
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that none of provided URLs violate any copyrights
[X] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

https://www.redbull.com/int-en/shows/fast-life
https://www.redbull.com/int-en/live/red-bull-bc-one-cypher-russia-2021
Description

https://github.com/M3GABOY/rbtv-dl
Have just published the Red Bull TV Python Extractor

youtube-dl already has support for Red Bull TV. Consider closing this issue.


internal error: entered unreachable code: No unsupported field should reach that path

Hi Prisma Team! My Prisma Client just crashed. This is the report:
This issue seems to be related to the use of unsupported on my model's field path (which is of type ltree).
Issue does not happen with<EMAIL_ADDRESS>internal error: entered unreachable code: No unsupported field should reach that path
This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.
Versions

Name
Version

Node
v18.14.2

OS
darwin

Prisma Client
4.11.0

Query Engine
8fde8fef4033376662cad983758335009d522acb

Database
postgresql

Logs
prisma:tryLoadEnv Environment variables loaded from .env
prisma:tryLoadEnv Environment variables loaded from .env
prisma:client dirname node_modules/.prisma/client
prisma:client relativePath ../../../prisma
prisma:client cwd prisma
prisma:client protocol graphql
prisma:client clientVersion 4.11.0
prisma:client clientEngineType library
prisma:client:libraryEngine internalSetup
prisma:client:libraryEngine:loader Searching for Query Engine Library in node_modules/.prisma/client
prisma:client:libraryEngine:loader loadEngine using node_modules/.prisma/client/libquery_engine-darwin.dylib.node
prisma:client:libraryEngine library starting
prisma:client:libraryEngine library started
prisma:client:libraryEngine sending request, this.libraryStarted: true

Client Snippet
prisma.container.findFirstOrThrow({
    where: { label: 'root', parentId: null },
});

Schema
model Container {
  id                    String                 @id @default(dbgenerated("xid()")) @db.Char(20)
  createdAt             DateTime               @default(now())
  label                 String?
  parent                Container?             @relation("ContainerToContainer", fields: [parentId], references: [id], onDelete: Cascade)
  parentId              String?                @db.Char(20)
  path                  Unsupported("ltree")?  @unique
  childContainers       Container[]            @relation("ContainerToContainer")
}

Prisma Engine Query
{"X":{}}

Also seeing this error message when running prisma generate while trying to update to 4.13. Schema contains Unsupported("tstzrange")
Prisma schema loaded from prisma/schema.prisma
Oops, an unexpected error occurred!
RuntimeError: panicked at 'internal error: entered unreachable code: No unsupported field should reach that path', query-engine/schema-builder/src/input_types/mod.rs:28:40

Node v16.18
darwin-arm64
Postgresql

Can you shared your schema @jfemia? When I used the schema above and run prisma generate everything works fine.

But I can confirm this when running the code from above:
PS C:\Users\Jan\Documents\throwaway\18517> node .\script.js
thread 'tokio-runtime-worker' panicked at 'internal error: entered unreachable code: No unsupported field should reach that path', query-engine\connectors\sql-query-connector\src\model_extensions\scalar_field.rs:70:44
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
PrismaClientRustPanicError:
Invalid `prisma.container.findFirstOrThrow()` invocation in
C:\Users\Jan\Documents\throwaway\18517\script.js:7:28

  4
  5 // A `main` function so that we can use async/await
  6 async function main() {
→ 7     await prisma.container.findFirstOrThrow(
internal error: entered unreachable code: No unsupported field should reach that path

This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.

https://github.com/prisma/prisma/issue...hat+path&template=bug_report.md

If you want the Prisma team to look into it, please open the link above 🙏
To increase the chance of success, please post your schema and a snippet of
how you used Prisma Client in the issue.

    at pn.handleRequestError (C:\Users\Jan\Documents\throwaway\18517\node_modules\@prisma\client\runtime\library.js:176:6802)
    at pn.handleAndLogRequestError (C:\Users\Jan\Documents\throwaway\18517\node_modules\@prisma\client\runtime\library.js:176:5907)
    at pn.request (C:\Users\Jan\Documents\throwaway\18517\node_modules\@prisma\client\runtime\library.js:176:5786)
    at async t._request (C:\Users\Jan\Documents\throwaway\18517\node_modules\@prisma\client\runtime\library.js:179:10484)
    at async C:\Users\Jan\Documents\throwaway\18517\node_modules\@prisma\client\runtime\library.js:164:6641
    at async main (C:\Users\Jan\Documents\throwaway\18517\script.js:7:5) {
  clientVersion: '4.13.0'
}

Seeing the same issue starting from 4.11.0 (checked on 4.11, 4.12, 4.13). I'm using the unsupported field for storing postgis points (postgres): Unsupported("geometry(Point, 4326)"). It looks like something has happened to the unsupported types in v4.11.0


ReferenceError: input is not defined

Hi.
Getting the error: ReferenceError: input is not defined
What that mean?

{ n: '10' }
ReferenceError: input is not defined

Hello @freedevelopme, this has been addressed: https://github.com/olamigokayphils/blockio-multisig-sweep/commit/90ef361de21292084a3600f3857fab1c73764232
Kindly let me know if any other issue persist.

Mind sharing the Log before this error? Do you have Transaction Hex?

Error: Error: TypeError: Only absolute URLs are supported
at ProviderService.sendTx (/Users/user/blockio-multisig-sweep/src/services/ProviderService.js:108:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BlockIoSweep.begin (/Users/user/blockio-multisig-sweep/src/sweeper.js:194:7)
at async Sweep (/Users/user/blockio-multisig-sweep/index.js:24:5)
Error: Error: Error: TypeError: Only absolute URLs are supported
at BlockIoSweep.begin (/Users/user/blockio-multisig-sweep/src/sweeper.js:198:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Sweep (/Users/user/blockio-multisig-sweep/index.js:24:5)
Do you have Transaction Hex? - Yes I do.

Awesome. While I fix this. Kindly leverage BlockCycher web portal. https://live.blockcypher.com/btc/pushtx/

Copy your Transaction Hex
Paste In & Broadcast to the Network.

I'll share an update on the API notification for others once that is done.

If Broadcasted successfully Please comment here. So I can close this issue. Then open a new issue for ProviderService.sendTx Error

Thank you so much!

Yes it is


I access my service through traefik when the service rolling update in kubernetes

I deploy a service in kubernetes, it has two replicas. I access my service through NodePort when the service rolling update, it success, don't throw exception. but I access my service through traefik when the service rolling update, it throw exception,After a few seconds it normal.

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Write the Base Asset contract for Fuel

We need to have a contract written , tested and ready to "deploy" to ContractId 0x000...000.
Assuming this contract will NOT be upgradeable, we'll need to decide whether we want to make the base asset flash-mintable or flash-loanable.
Otherwise, it will probably look like a fairly standard Fungibl token contract, with mint(), burn(), and transfer() functionality.
Access control will be critical, and we should probably have a spec for the base asset before trying to write the contract.
cc @adlerjohn @simonr0204

Flash-minting the base asset would be a nice trick. I don't there there's any reason not to support it, if we're confident in the implementation.
I think we'd want to use the lowest-level API for that, i.e. this, which will only really become ergonomic to use once the SDK/tooling catches up, but is the most flexible in terms of not locking in anything that we might want to change later (see: the other functions in the low_level_call library).

After discussing this with @pixelcircuits, the only thing this contract would be used for that I can currently think of is flash-minting/flash loans.
For all other usage of the base assets on Fuel, the tokens will exist only as bridged tokens (UTXo's) and this is handled by the protocol. So for "normal" usage, there will never be a need to mint/burn tokens.


[FEATURE] Way to tie OpenAPI Examples to a pydantic model

The problem
I would like to tie a schema example to my pydantic model, but currently the only way to do it is to declare the example when you're using the model, as far as I can understand. It's document here: https://fastapi.tiangolo.com/tutorial/body-schema/#schema-extras.
The solution I would like
It would be nice if possible to have something like an __example__ attribute on the model that could be tied directly to the the OpenAPI schema itself. Like the first example under Request and Response Body Examples at https://swagger.io/docs/specification/adding-examples/.
Example
Something along the lines of this:
class Item(BaseModel):
    name: str
    description: str = None
    price: float
    tax: float = None

    __example__ = {
        "name": "Foo",
        "description": "A very nice Item",
        "price": 35.4,
        "tax": 3.2,
    }

I don't know if that specific method makes sense or is possible or right, but the general idea of tying examples to the schema itself would be nice.

I was thinking the same thing, but then I ran across a situation where I wanted to use the same model with different example data in different endpoints. I think it makes more sense to set the example data at the endpoint as it's currently done.

Could there not be the option to do either? The option is there in OpenAPI. You can do it either response specific, request specific, or schema specific.

+1 for this feature. I'd definitely prefer to be able to set a "default" example regardless of how exactly it was translated into the OpenAPI schema.

This would actually be a feature request for Pydantic.
I've had something like this in mind, but haven't been able to implement/propose it there.

I wondered if that would be the case. I'll open up an issue over there. Love the work you're doing @tiangolo ! Absolutely love FastAPI.

You should now be able to use Pydantic models with schema_extra in FastAPI 0.38.0 :rocket: :tada:
E.g.
class Person(BaseModel):
    name: str
    age: int

    class Config:
        schema_extra = {
            'examples': [
                {
                    'name': 'John Doe',
                    'age': 25,
                }
            ]
        }

@tiangolo seems not working in responses args of router.METHOD
from fastapi.applications import FastAPI
from pydantic import BaseModel

class Person(BaseModel):
    name: str
    age: int

    class Config:
        schema_extra = {
            'examples': [{
                'name': 'John Doe',
                'age': 25,
            }]
        }

app = FastAPI()

@app.get('/router', responses={200: {'model': Person}})
async def handler():
    return "hello world"

if __name__ == '__main__':
    import sys
    import fastapi
    print('python version', sys.version)
    print('fastapi version', fastapi.__version__)
    import json
    print(json.dumps(app.openapi(), indent=2, ensure_ascii=False))

python version 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
fastapi version 0.38.1
{
  "openapi": "3.0.2",
  "info": {
    "title": "Fast API",
    "version": "0.1.0"
  },
  "paths": {
    "/router": {
      "get": {
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "summary": "Handler",
        "operationId": "handler_router_get"
      }
    }
  },
  "components": {
    "schemas": {
      "Person": {
        "title": "Person",
        "required": [
          "name",
          "age"
        ],
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "age": {
            "title": "Age",
            "type": "integer"
          }
        }
      }
    }
  }
}

Typo: "examples" should be "example"
from fastapi.applications import FastAPI
from pydantic import BaseModel

class Person(BaseModel):
    name: str
    age: int

    class Config:
        schema_extra = {
             'example': [{
                'name': 'John Doe',
                'age': 25,
            }]
        }

app = FastAPI()

@app.get('/router', responses={200: {'model': Person}})
async def handler():
    return "hello world"

if __name__ == '__main__':
    import sys
    import fastapi
    print('python version', sys.version)
    print('fastapi version', fastapi.__version__)
    import json
    print(json.dumps(app.openapi(), indent=2, ensure_ascii=False))

python version 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 16:52:21)
[Clang 6.0 (clang-600.0.57)]
fastapi version 0.38.1
{
  "openapi": "3.0.2",
  "info": {
    "title": "Fast API",
    "version": "0.1.0"
  },
  "paths": {
    "/router": {
      "get": {
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "summary": "Handler",
        "operationId": "handler_router_get"
      }
    }
  },
  "components": {
    "schemas": {
      "Person": {
        "title": "Person",
        "required": [
          "name",
          "age"
        ],
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "age": {
            "title": "Age",
            "type": "integer"
          }
        },
        "example": [
          {
            "name": "John Doe",
            "age": 25
          }
        ]
      }
    }
  }
}

@zamiramir thank you

It seems that Pydantic 1.0 will have a dedicated Field type which can have a description as shown at https://pydantic-docs.helpmanual.io/usage/schema/
I wonder if this would be the way forward when Pydantic 1.0 is out 😄
Cheers
Fotis

@Trim21 were you able to find a way to make this work with responses?
I've tried and it isn't working for me.
This is my schemas.py
`from pydantic import BaseModel
class Gene(BaseModel):
id: str
name: str
species: str
class Config:
    orm_mode = True
    schema_extra = {
        'example': [
            {
                'id': 'val',
                'name': 'val1',
                'species': 'val2'
            }
        ]
    }`

and this is my function where I'm trying to use this model so that there's an example in the response schema
`@app.get("/gene_search/", responses={200: {'model': schemas.Gene}})
def gene_search(name: str = Query(..., min_length = 3), species: str = None, limit: int = 10):
filters = [Gene.name.like("{}%".format(name))]
if species:
filters.append(Gene.species == species)
filters = tuple(filters)
genes = session.query(Gene.id, Gene.name, Gene.species).filter(*filters).limit(limit)
return [gene._asdict() for gene in genes]`

But this doesn't get reflected on the docs. Any idea what I'm doing wrong here?
Also, is using a pydantic model / schema the only way to show a response example?

For completeness, there are new docs about adding examples that show up in Swagger UI: https://fastapi.tiangolo.com/tutorial/schema-extra-example/

For completeness, there are new docs about adding examples that show up in Swagger UI: https://fastapi.tiangolo.com/tutorial/schema-extra-example/

FYI: the documentation in the link says we should add example as a key to schema_extra; at the same time it references to the example in pydantic, which shows the use of examples as the key and it maps to a list instead of a dictionary. I post this here just in case anyone is following the pydantic example and feels confused.

Hey folks, is it possible to specify examples for objects and properties (would be in the components.schemas section of OpenAPI)?

Hmmm, it seems that the "examples" key word is also supported now, see: https://swagger.io/docs/specification/adding-examples/
In this case, it's a list. I saw #822 and PR #1267 but there is no feedback on this.

You can do this:
@router.post(
    "/your/url",
    response_model=SomeResponseModel,
    responses={
        200: {
            "description": "blah blah",
            "content": {
                "application/json": {
                    "example": {
                          "some": "fields",
                    },
                    # THIS IS THE KICKER
                    "schema": SomeResponseModel.schema(),
                }
             }
        }
    },
    status_code=status.HTTP_200_OK
)


FlatList very slow on Android only

Description
I am experiencing a very slow FlatList on Android, despite the fact that I reduced my renderItem component to just text:
FlatList:
<FlatList
        data={customers}
        ItemSeparatorComponent={(props) => <LineSeparator {...props} />}
        renderItem={ListItem}
        style={styles.list} />

Where:
const ListItem = ({ item }) => (
    <Text style={{ paddingVertical: 10 }}>Customer {item.id}</Text>
  );

So as you can see, very simple.
I fetch customers from an API, but I use pagination so I only get 50 in this example.
See the video and notice how laggy it is to scroll:
https://user-images.githubusercontent.com/6062684/161183159-2fb40e5d-8161-409c-81ed-389ca5e93fa9.mp4
Note that in iOS it works perfectly, and I use RN on Expo.
Version
0.64.3
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.19043
CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
Memory: 707.86 MB / 15.68 GB
Binaries:
Node: 16.5.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 8.5.2 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions: 10.0.17763.0, 10.0.19041.0
IDEs:
Android Studio: Version     2<IP_ADDRESS> AI-211.7628.21.2111.8139111
Visual Studio: 16.11.32126.315 (Visual Studio Community 2019), 16.10.31515.178 (Visual Studio Enterprise 2019)
Languages:
Java: 1.8.0_302 - C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
FlatList:
<FlatList
        data={customers}
        ItemSeparatorComponent={(props) => <LineSeparator {...props} />}
        renderItem={ListItem}
        style={styles.list} />

Where:
const ListItem = ({ item }) => (
    <Text style={{ paddingVertical: 10 }}>Customer {item.id}</Text>
  );

Snack, code example, screenshot, or link to a repository
No response

issue can be with style. remove style then try.

is this from a debug build? or also after the generation of an APK?

is this from a debug build? or also after the generation of an APK?

It's happening on both.
Today I figured out what's happening. In the video I posted you can see that there is a Map tab.
That map is loading a lot of Markers and when I comment out that tab everything scrolls fast again.
So it definitely looks like a MapView with many Markers slows down everything (not just the scrolling, everything else slows down, like: opening the drawer menu, navigation etc), but only on Android because on iOS you don't even notice a difference.

@stesvis got it.. lazy loading the components might be helpful maybe? https://reactjs.org/docs/react-api.html#reactsuspense

Which style do you have for FlatList? I had similar problem that makes inverted Flatlist be too slow! Also when I removed the inverted prop and use transform. A workaround was to use the deprecated scaleY, for example!


Unable to setup

Hi Cody,
Am just wondering if I am the only person unable to setup the slack-chat on Atom. I generated the client id and secret, pasted it in the Settings tab in Atom package. According to the instructions quoted (When the browser opens, select the team you'd like to use with atom) nothing is opening on my browser when I pasted them. Is there something which I am missing?

The browser should open if you quit Atom and relaunch it. Which OS are you on? I think there have been some problems with Windows in the past.

@callahanrts Not sure why, but I have uninstalled the package and reinstalled, and then it worked fine. I am Ubuntu 14.04 and Atom 1.8.x. Thank you!


Remove raycasting stuff

It does not follow the same pattern of the others, it's not clear whether it works or not, and it should be less efficient than ShadowCasting - so we can safely purge it.

done with 98271071eeee98759384acec1cee6a7faae265d7


Add support to sirupsen/logrus

Would you consider adding the support for https://github.com/sirupsen/logrus/ in this linter? Is it easy to add the support for a new logging library and would you consider an external contribution for it? From the PR #30, I think that a new logging lib could easily be added.
We extensively use this logging library and would love to see the support for it in your linter :)
Thanks

I think it's no need to add such checker for logrus. The key value pairs in logrus is special, for example:
log.WithFields(log.Fields{
    "animal": "walrus",
  }).Info("A walrus appears")

The definition for log.Fields:
type Fields map[string]interface{}

You can see its a map (which there is no need to check odd pairs of key values), and the may key is already "string" (no need to check the key type)

I may be confused by the purpose of this linter. If that's the case, I'm sorry about it. Is your linter able to detect the two following errors?
log.Infof("A %v appears")
log.Info("A %v appears", "walrus")

I may be confused by the purpose of this linter. If that's the case, I'm sorry about it. Is your linter able to detect the two following errors?
log.Infof("A %v appears")
log.Info("A %v appears", "walrus")

I think it can be archived by the govet:

https://golangci-lint.run/usage/linters/#govet

Interesting, thanks :+1:


Docker Hub Repository is out of date

I noticed that the Repository at Docker Hub doesn't include the latest releases. Is it possible to push them there?

thank you. https://github.com/openark/orchestrator/releases/tag/v3.2.4 is now released, and docker-hub image updated: https://hub.docker.com/repository/docker/openarkcode/orchestrator


Trouble and ToggleTerm are not being darkened

I don't know if the issue is in tokyonight or in the respective plugins, but for some reason both of them are not getting their buffers darkened.
I've opened an issue in toggleterm repo as well.
It works fine with other buffer types such as NvimTree and Packer for example, but not with those 2.
I was trying to debug it and noticed that if I call:
setlocal winhighlight=Normal:NormalSB,SignColumn:SignColumnSB

After the buffer is loaded, it will be darkened as expected, so either the one from tokyonight is not being called or being overridden.

This has been solved in trouble and toggleterm


Python: Wikipedia search connector

Wikipedia has its MediaWiki API that allows for queries returning information and article links. Having this feature would complement the new Bing and Google connectors.
I would like to work on making a connector for this, thank you!

@sneha-afk  - great idea - feel free to do a PR, this would be great to pull in.

@sneha-afk FYI: We recently updated our contributing guidelines [here](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#adding-plugins-and-memory-connectors , stating we are not directly adding plugin and connectors directly into the SDK repository. We are encouraging the community to host their own plugins and connectors separately in their own repositories. At the time we are exploring how we can provide a way to discover plugins and connectors and should have an update soon. I am going to close this issue given our change in contribution guidelines.


Search doesn't support quoted queries

Looking at the old works page locally, we did then, so we need to allow for them in the new search.
https://wellcome.slack.com/archives/CQ720BG02/p1677083068575299
https://wellcomecollection.org/search?query=%22Domestic%20objects%22
https://wellcomecollection.org/search?query=%22Domestic%20objects%22
https://wellcomecollection.org/search/stories?query=%22Domestic%20objects%22

After testing, this is specific to Stories, which is why the index and the stories page break.


Spanish translation

This PR includes a reviewed version of most of @jaza's PR.
It's still a WIP as I haven't reviewed dev-prod-parity, logs nor admin-processes yet. Reviews and suggestions for these and any other pages are definitely welcome.

@raul - thanks for your corrections so far, you're doing a very thorough job, and you're picking up many of my mistakes of "not using the best term in context" as a non-native speaker. From comparing my PR to yours, I can learn a lot!

Thank you for the translation @Jaza ! I stopped my review after checking out @sblancov's fork: I think overall it's a much better translation. Are you planning to keep working on it anytime soon @sblancov?

I'm doing... hard weeks :'( My plan is to finish a first draft and then, to review all files in order to improve some expressions. I hope complete it in about 2 weeks.
Thank you for your interest :) I feel flattered.

Sounds good @sblancov! If you want more eyeballs on it, feel free to ping me once you complete the draft, I'll be happy to review it too.
@Jaza - I feel really bad about not merging this PR because you did a great work (pretty awesome actually if we consider it comes for a non-native speaker!), but I sincerely think that this other fork feels more natural and will be more accessible for the reader – which I think is the criteria we should apply ultimately. Comparing the fork with this branch may be a great exercise too, so I'd encourage you to check it out if you have time.


driver: interrupt_controller: Filter invalid channel for RV32M1 SOC

Invalid channel should be filtered in intmux isr
Signed-off-by: Lyle Zhu<EMAIL_ADDRESS>

How did you find this? What caused the invalid channel?

How did you find this? What caused the invalid channel?

I am trying to enable the Vega ble demo via LPUART1 on ri5cy. The IRQ line of the LPUART1 is routed to the INTMUX on ri5cy core. Sometimes, the channel vector number is zero in the INTMUX ISR, and cause the systom fault.
And, refer to the INTMUX driver of the MCUXpresso SDK, the value zero of channel vector number should be filtered.

How did you find this? What caused the invalid channel?

I am trying to enable the Vega ble demo via LPUART1 on ri5cy. The IRQ line of the LPUART1 is routed to the INTMUX on ri5cy core. Sometimes, the channel vector number is zero in the INTMUX ISR, and cause the systom fault.
And, refer to the INTMUX driver of the MCUXpresso SDK, the value zero of channel vector number should be filtered.

But why was the ISR invoked with channel number zero? It seems like this change is masking a different problem.

How did you find this? What caused the invalid channel?

I am trying to enable the Vega ble demo via LPUART1 on ri5cy. The IRQ line of the LPUART1 is routed to the INTMUX on ri5cy core. Sometimes, the channel vector number is zero in the INTMUX ISR, and cause the systom fault.
And, refer to the INTMUX driver of the MCUXpresso SDK, the value zero of channel vector number should be filtered.

But why was the ISR invoked with channel number zero? It seems like this change is masking a different problem.

How did you find this? What caused the invalid channel?

I am trying to enable the Vega ble demo via LPUART1 on ri5cy. The IRQ line of the LPUART1 is routed to the INTMUX on ri5cy core. Sometimes, the channel vector number is zero in the INTMUX ISR, and cause the systom fault.
And, refer to the INTMUX driver of the MCUXpresso SDK, the value zero of channel vector number should be filtered.

But why was the ISR invoked with channel number zero? It seems like this change is masking a different problem.

How did you find this? What caused the invalid channel?

I am trying to enable the Vega ble demo via LPUART1 on ri5cy. The IRQ line of the LPUART1 is routed to the INTMUX on ri5cy core. Sometimes, the channel vector number is zero in the INTMUX ISR, and cause the systom fault.
And, refer to the INTMUX driver of the MCUXpresso SDK, the value zero of channel vector number should be filtered.

But why was the ISR invoked with channel number zero? It seems like this change is masking a different problem.

Please refer page 1243~1244 of Chapter 36 INTMUX of Vega RM.
Unlike the NVIC, the INTMUX does not latch pending source interrupts. This means that the INTMUX output channel ISRs must check for and handle a 0 value of the CHn_VEC register to account for spurious interrupts.
For my changes, I added a more rigorous judgment. The vector number should be not less than VECN_OFFSET.

Please refer page 1243~1244 of Chapter 36 INTMUX of Vega RM.
Unlike the NVIC, the INTMUX does not latch pending source interrupts. This means that the INTMUX output channel ISRs must check for and handle a 0 value of the CHn_VEC register to account for spurious interrupts.

Ok. Will you please update the commit message to mention this?

@lylezhu2014 will you be making the requested change to your commit message?


Searching broken for custom client (should be an easy fix)

I am using an old app that should work with this service, but it is using a different way to search.
it searches for    /feeds/api/videos?vq=test&start-index=1&max-results=10
The v in ?vq breaks the searching. I was able to setup a crude proxy to edit the html on the fly to remove the v and after a few attempts I was able to view results on the app (my proxy was very slow for some reason and it kept timing out.)
I'm sorry I can't really read code so I was unable to find where I could add this. If you don't want to add this to the repo could you atleast guide me where to look?
Here is some proof that it's not a mistake on the apps end.
https://web.archive.org/web/20100208214639/http://code.google.com/apis/youtube/migration.html

This not only affects this custom client, but also the 1.4.20 (and possibly earlier) versions of the official YouTube app (although with /proxy added before the endpoint):
mFeedMap.put(YouTubeUrlType.SEARCH, new FeedInfo(appendCountryRestriction("proxy/feeds/api/videos?vq=%1$s&format=2")));

(code from a decompiled APK)

I am using an old app that should work with this service, but it is using a different way to search.
it searches for /feeds/api/videos?vq=test&start-index=1&max-results=10 The v in ?vq breaks the searching. I was able to setup a crude proxy to edit the html on the fly to remove the v and after a few attempts I was able to view results on the app (my proxy was very slow for some reason and it kept timing out.)
I'm sorry I can't really read code so I was unable to find where I could add this. If you don't want to add this to the repo could you atleast guide me where to look?
Here is some proof that it's not a mistake on the apps end. https://web.archive.org/web/20100208214639/http://code.google.com/apis/youtube/migration.html

Can you give us a photo

I changed all mentions of "req.query.q" in yt2009 to "req.query.vq" and that fixed it.
The app now shows results but doesn't seem to parse the xml correctly to load the video links, but that's a different issue.


fix: Typo in index.mdx

Fixed a typo in the LangGraph Cloud Integration Docs
index.mdx
te -> the

Thank you! 🙏


Smart templates

Templates for flow chart, mind map, request response time line etc.

Template should be easy edit and add new nodes. Custom tools for each template?


Guidance for regex codes to get status

After a lot of trial and error, it appears that spaces in the Status Pattern regex field need to be escaped. I created a switch that in its on state should get back a status pattern of 200 followed by a space and then a number between 0 and 100.
 I eventually thought to try 200\ [0-9]+ and that works reliably.
I recommend that in the Readme or in the instructions within the UI itself you make it clear that the Status Pattern requires that certain characters be escaped. It's somewhat implied in the example conf that certain characters need to be escaped, but because the double quotes in the example regex are nested within the double quotes of the json, it's "obvious" that you would need to escape those. Given the double quotes are the only special characters that are escaped in the example, it's less obvious that you would also need to escape other characters.

@seanwalter you are probably correct. I should put it under the box where it is entered in the configUI plugin settings as well as in the readme.
I’ll write something like “remember to escape special characters, including spaces, with a \ before them”.
In all honesty, I thought the configUI took care of all of the escaping if you just put the text string into the plugin settings box, but I tried with your example and it did not. I may need to change the type of that settings box in the config.schema from “string” to “regex” to make it escape a string automatically.
I’ll play with that in the config.schema as well, but I would value your opinion on the verbiage of the escape warning. You have a good point and I apologize for the wasted time.

I added some language to the readme to spell out the need to escape special characters (including spaces) with a /. Hopefully this is a good solution.


Confused in NodeInfo

i notice deviceinfo , it means every device`s memory is same in one node ?

i notice deviceinfo , it means every device`s memory is same in one node ?

yeah, in some specific case, we default take every device`s memory is same in one node

tks.


Problem with built in editor

Challenge Call out Optional Actions with Button Info has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

  <button class="btn btn-block btn-primary">Like</button>

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

  <form action="/submit-cat-photo">
    <input type="radio" name="indoor-outdoor"> Indoor
    <input type="radio" name="indoor-outdoor"> Outdoor
    <input type="checkbox" name="personality"> Loving
    <input type="checkbox" name="personality"> Lazy
    <input type="checkbox" name="personality"> Crazy
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>

I'm working with the editor in these dang challenges. These dang challenges have a dang bad editor. This dang bad editor keeps making me have weird issues in changing the position of my dang cursor. Please fix this dang problem dang immediately.

Duplicate of #7847

Call out Optional Actions with Button Info
Reporting the same issue mentioned above.
The cursor gets stuck at particular position in the editor. Does not allow to select the text further from a particular point neither through Keyboard nor Mouse.
Was using the Google Chrome browser Version 56.0.2924.87 (64-bit) on Windows 10
Please refer to the screen cast video in link https://www.screencast.com/t/3DbmcWgJQ6
Generally Reset button resolves this issue.
Regards
Atinder


More mutations

Current add neuron mutation should use weight 1 for first connection and preserve weight for second.
Also should have remove neuron mutation.

Also bias mutation

Can add #7 here and mark it as duplicate


[Machine configuration] Summary page is empty for Configuration file flow

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
r)
Expected result
No response
Actual result
No response
Included System Information
No response
Included Extensions Information
No response

Closing. This is resolved by this PR #263


Add Thiago to the developers section of our POM

@Thihup Congratulations after you issue a PR to add the relevant content I will add you as a GitHub contributor to the project which is equivalent to having direct committer access. You have demonstrated what it means to contribute to Open Source. A huge THANK YOU!

@Thihup You are now fine to merge at your own leisure. Just make sure the build keeps passing ;)

@manorrock Sure. Is there any problem to keep using the PR feature to have a feedback if the changes are OK?

No problem whatsoever if you want feedback. But I suggest if you now want a review to ask me or @arjantijms using the reviewer feature as I won't be looking at every PR now ;)


Custom Tensorization example in C# for Hololens/UWP

Hi,
Is anyone working on a sample for Custom Tensorization that can run on C# for Hololens/UWP?
Thank

HI Joaocc,
We are currently not working on a C# sample for custom tensorization, but I have added this to our backlog of requested samples. Hopefully in the near future we will have one available. Thank you for the feedback/request.

Is there by now a way (sample code) to convert a SoftwareBitmap to a TensorFloat in C#? I have the exact same issue as in here but there is still no appropiate answer to this issue. Or are there any other workarounds I am not aware of?


Overlay not closed when clicking another MenuTrigger

This is possibly related to #850, but using the @react-aria hooks only and is repeatable on every click, #850 seems to be fast click only and not reproducible at all in some cases.
🐛 Bug Report
Clicking between two (or more) buttons with useMenuTrigger and useOverlay,  does not close the currently open menu.
🤔 Expected Behavior
Open menu should close and new menu should open.
😯 Current Behavior
This seems to only happen with useMenuTrigger, clicking from an open menu to a button using useButton closes the menu as expected.
Screenshot:

When clicking away repeatedly, the overlays are then closed one at a time in reverse order.
💁 Possible Solution
Possibly related to #850.
💻 Code Sample
Can be reproduced using the useMenuTrigger sample code: https://react-spectrum.adobe.com/react-aria/useMenuTrigger.html#example but duplicating the MenuButton:
<MenuButton label="Actions">
  <Item key="copy">Copy</Item>
  <Item key="copy">Copy</Item>
  <Item key="copy">Copy</Item>
</MenuButton>
<MenuButton label="Actions">
  <Item key="copy">Copy</Item>
  <Item key="copy">Copy</Item>
  <Item key="copy">Copy</Item>
</MenuButton>

🌍 Your Environment

Software
Version(s)

@react-aria/button
3.2.2

@react-aria/menu
3.1.2

@react-aria/overlays
3.4.0

Browser
Chrome + Firefox

Operating System
Ubuntu 18.04 + Windows 10

Thanks!

Reproduced this locally, initial investigation points to this being an issue with how useOverlay adds new overlays to its visibleOverlays before calling onInteractOutside, resulting in onClose never being called for the first overlay when the second menu button is clicked.

Initial thoughts and recommendations
Problem statement: How to know which overlay should be removed, they can be siblings or nested.
Goals:
If siblings, the already open one should be closed and then the new one opened. Order of operations may not matter.
If nested, then already open should stay open and the new one should also open.
Data Structures options:

[[modal1, nestedinmodal1], [sibling]] represents as nested structure, only one internal array, but there may be a transition period in which there are two
[[modal1, sibling], [nestedinmodal1]] represents as layers, only one element should be in a layer at a time, but there may be a transition period in which there are two

{
root: [modal1, sibling],
modal1: [nestedinmodal1],
sibling: [],
nestedinmodal1: []
}

or to take the layers a little further, it could be a doubly linked graph, usually it'd look like a doubly linked list, but there may be a brief period where it's a tree with branches

How to tell if we're in the nested or sibling case

through context

Overlay.tsx? then non rsp users will need to include a new element or use a new hook, they might forget

all overlays always close, unless a param is passed in that puts it into a controlled state to keep it open

probably a breaking change, also, very gross

look up dom tree

nothing to really search for exists right now given that they might or might not portal out and may not aria-hide the rest of the tree can't look at the e.target to see if it's in an overlay, the container(s) may not say that they are an overlay such as in useMenuTrigger example
we might be able to pass a prop (data attribute?) back from useOverlay that is  part of the spread though so that we can search for that, this eliminates the need for people to do anything to gain the new functionality, just update useOverlay

To determine if we're in a nested modal or in a sibling on the same layer, I would recommend the data-attribute that we can search the dom for, it's the least impact on users and non-breaking because the change occurs in one package, so as soon as it is updated, they get the change everywhere.
I think the dl tree is probably the best option for the data structure used, for example:
2 menus one with a nested menu which is open all the way. User clicks on the second menu, we can close the first sibling by going down the linked path and then close as we come back up. It's an easy way to see what the order of operations should be.
Other issues:
This change will need to be done after the remove Pointer Events change. Otherwise with mixed pointer/mouse events, there is a bug that onInteractOutside won't be called if the user clicks on anything using usePress.

Initial thoughts and recommendations
Problem statement: How to know which overlay should be removed, they can be siblings or nested.
Goals:
If siblings, the already open one should be closed and then the new one opened. Order of operations may not matter.
If nested, then already open should stay open and the new one should also open.
Data Structures options:

[[modal1, nestedinmodal1], [sibling]] represents as nested structure, only one internal array, but there may be a transition period in which there are two
[[modal1, sibling], [nestedinmodal1]] represents as layers, only one element should be in a layer at a time, but there may be a transition period in which there are two

{
root: [modal1, sibling],
modal1: [nestedinmodal1],
sibling: [],
nestedinmodal1: []
}

or to take the layers a little further, it could be a doubly linked graph, usually it'd look like a doubly linked list, but there may be a brief period where it's a tree with branches

How to tell if we're in the nested or sibling case

through context

Overlay.tsx? then non rsp users will need to include a new element or use a new hook, they might forget

all overlays always close, unless a param is passed in that puts it into a controlled state to keep it open

probably a breaking change, also, very gross

look up dom tree

nothing to really search for exists right now given that they might or might not portal out and may not aria-hide the rest of the tree can't look at the e.target to see if it's in an overlay, the container(s) may not say that they are an overlay such as in useMenuTrigger example
we might be able to pass a prop (data attribute?) back from useOverlay that is  part of the spread though so that we can search for that, this eliminates the need for people to do anything to gain the new functionality, just update useOverlay

To determine if we're in a nested modal or in a sibling on the same layer, I would recommend the data-attribute that we can search the dom for, it's the least impact on users and non-breaking because the change occurs in one package, so as soon as it is updated, they get the change everywhere.
I think the dl tree is probably the best option for the data structure used, for example:
2 menus one with a nested menu which is open all the way. User clicks on the second menu, we can close the first sibling by going down the linked path and then close as we come back up. It's an easy way to see what the order of operations should be.
Other issues:
This change will need to be done after the remove Pointer Events change. Otherwise with mixed pointer/mouse events, there is a bug that onInteractOutside won't be called if the user clicks on anything using usePress.

Upon initial conversation with team, evaluated that all of the above are complex solutions. We'd like something simpler. To do so, we're going back to the original problem, two menu's open at the same time.
We tried fixing it with https://github.com/adobe/react-spectrum/pull/925
This was reverted by https://github.com/adobe/react-spectrum/pull/980
This failed because two menu's open at the same time was still possible. This is because ...researching again, will fill in as I learn/remember more...

Upon initial conversation with team, evaluated that all of the above are complex solutions. We'd like something simpler. To do so, we're going back to the original problem, two menu's open at the same time.
We tried fixing it with https://github.com/adobe/react-spectrum/pull/925
This was reverted by https://github.com/adobe/react-spectrum/pull/980
This failed because two menu's open at the same time was still possible. This is because ...researching again, will fill in as I learn/remember more...

closing as fixed by https://github.com/adobe/react-spectrum/pull/1970


[vodingest] ignore parse break line of media playlist

With break line, we shouldn't have any decode action for it.
Some testing is going

Also \r\n?

updated it with TrimSpace


Text Editor Issue

Challenge Name

Call out Optional Actions with Button Info
Issue Description

Whenever I complete a challenge and go on to the next one, I am unable to click the cursor where I want within the text editor. Once I hit enter, I can click and have the cursor go where I want it to go.
Browser Information

Browser Name, Version: Google Chrome Version 51.0.2704.103 m (64-bit)

Operating System: Windows 10

Mobile, Desktop, or Tablet: Desktop

Your Code

Screenshot

@davedd233 thanks for the issue. This is a known issue #7847. Please read the comments there for work-arounds to the issue. Happy coding!


fix: fail action on push rejection

Issue
The action does not fail when the changes push is rejected. This can be replicated by running the action on a protected branch with a token that does not have the correct permissions. So while the action passes, the CHANGELOG and package.json are never altered. An example can be seen at https://github.com/justin-elias/conventional-commit/runs/912783846?check_suite_focus=true
Solution
Wrapping the push function in a nested try/catch block resolved the issue. I am not sure why the error is not being caught on the outer try/catch, or if any of the other await functions in that scope are affected as well.

Hi,
Thanks for the PR!

It's released! 🎉


How to implement the radio selection effect of subitems

How to implement the radio selection effect of subitems

Wait a moment, I will offer a sample tomorrow.

I push a sample at SelectionActivity
You can download the sample to found it.

Hope it can help.

I will close this. If you have more questions, please reopen.


Allow memfs allocator to preallocate at init

This is motivated by a real-time system that still uses malloc, so I'd like to have the allocation time be as consistent as possible while running; as I'm using 1GB pages, then the allocator expanding the heap by allocating an extra page can cause a significant delay at unfortunate times.
This patch allows tcmalloc to pre-allocate a user defined number of pages via an optional TCMALLOC_MEMFS_PREALLOC_MB parameter which in concert with the optional TCMALLOC_MEMFS_MAP_POPULATE parameter will allocate pages into the address space at initialization time when the cost is acceptable thus mitigating the cost of allocating those pages at a later time. Alignment of the initial allocation can be set with the optional TCMALLOC_MEMFS_PREALLOC_ALIGN. When these parameters are not set then the existing behaviour should be maintained.
This is a simple testcase that allocates ~4GB in 900KB increments; without preallocation (rdtsc @ 3GHz):
$ TCMALLOC_MEMFS_MALLOC_PATH=/mnt/hugetlbfs/1G/ LD_PRELOAD=./libtcmalloc.so ./timemalloc 900
malloc(921600) x 100 took     846512 cycles
malloc(921600) x 100 took      21446 cycles
malloc(921600) x 100 took      23120 cycles
malloc(921600) x 100 took      20898 cycles
malloc(921600) x 100 took      20832 cycles
malloc(921600) x 100 took      22728 cycles
malloc(921600) x 100 took      42444 cycles
malloc(921600) x 100 took      20392 cycles
malloc(921600) x 100 took      20496 cycles
malloc(921600) x 100 took      20238 cycles
malloc(921600) x 100 took      22370 cycles
malloc(921600) x 100 took     765100 cycles
malloc(921600) x 100 took      20806 cycles
malloc(921600) x 100 took      20802 cycles
malloc(921600) x 100 took      20616 cycles
malloc(921600) x 100 took      26542 cycles
malloc(921600) x 100 took      22672 cycles
malloc(921600) x 100 took      19794 cycles
malloc(921600) x 100 took      19516 cycles
malloc(921600) x 100 took      19312 cycles
malloc(921600) x 100 took      19156 cycles
malloc(921600) x 100 took      19142 cycles
malloc(921600) x 100 took      22846 cycles
malloc(921600) x 100 took     760530 cycles
malloc(921600) x 100 took      20896 cycles
malloc(921600) x 100 took      20488 cycles
malloc(921600) x 100 took      20714 cycles
malloc(921600) x 100 took      20948 cycles
malloc(921600) x 100 took      20492 cycles
malloc(921600) x 100 took      19496 cycles
malloc(921600) x 100 took      19192 cycles
malloc(921600) x 100 took      20388 cycles
malloc(921600) x 100 took      22090 cycles
malloc(921600) x 100 took      22236 cycles
malloc(921600) x 100 took     783510 cycles
malloc(921600) x 100 took      21314 cycles
malloc(921600) x 100 took      20880 cycles
malloc(921600) x 100 took      20614 cycles
malloc(921600) x 100 took      20582 cycles
malloc(921600) x 100 took      24418 cycles

The same testcase with pre-allocation of the pages:
$ TCMALLOC_MEMFS_MAP_POPULATE=true TCMALLOC_MEMFS_PREALLOC_MB=4096 TCMALLOC_MEMFS_MALLOC_PATH=/mnt/hugetlbfs/1G/ LD_PRELOAD=./libtcmalloc.so ./timemalloc 900
malloc(921600) x 100 took    3275640 cycles
malloc(921600) x 100 took      23904 cycles
malloc(921600) x 100 took      22880 cycles
malloc(921600) x 100 took      23198 cycles
malloc(921600) x 100 took      26194 cycles
malloc(921600) x 100 took      25054 cycles
malloc(921600) x 100 took      21604 cycles
malloc(921600) x 100 took      21782 cycles
malloc(921600) x 100 took      21652 cycles
malloc(921600) x 100 took      22004 cycles
malloc(921600) x 100 took      24276 cycles
malloc(921600) x 100 took      31340 cycles
malloc(921600) x 100 took      21582 cycles
malloc(921600) x 100 took      21450 cycles
malloc(921600) x 100 took      21438 cycles
malloc(921600) x 100 took      21386 cycles
malloc(921600) x 100 took      25680 cycles
malloc(921600) x 100 took      21222 cycles
malloc(921600) x 100 took      21512 cycles
malloc(921600) x 100 took      21598 cycles
malloc(921600) x 100 took      21340 cycles
malloc(921600) x 100 took      21432 cycles
malloc(921600) x 100 took      23732 cycles
malloc(921600) x 100 took      21200 cycles
malloc(921600) x 100 took      21964 cycles
malloc(921600) x 100 took      21508 cycles
malloc(921600) x 100 took      21604 cycles
malloc(921600) x 100 took      19152 cycles
malloc(921600) x 100 took      25878 cycles
malloc(921600) x 100 took      21316 cycles
malloc(921600) x 100 took      21398 cycles
malloc(921600) x 100 took      21944 cycles
malloc(921600) x 100 took      21338 cycles
malloc(921600) x 100 took      23522 cycles
malloc(921600) x 100 took      21308 cycles
malloc(921600) x 100 took      21636 cycles
malloc(921600) x 100 took      21320 cycles
malloc(921600) x 100 took      21608 cycles
malloc(921600) x 100 took      21242 cycles
malloc(921600) x 100 took      30820 cycles

Thanks for the patch. I think there is a problem. MetaDataAlloc may "steal" this preallocated chunk if you're sufficiently unlucky.

I see, with smaller page sizes it is feasible that the check at memfs_malloc.cc:129 would pass; would you see it as sufficient to only release the pre-allocated block if actual_size was not null?

Sorry for delay. I was thinking about some more generic way of doing it. Say at TCMalloc_SystemAlloc level.
But then issue is that some people may want to override sys allocator early in the program execution, and then preallocation flag is unlikely to work correctly for them.
Still it seems to be best option. Do you think you can move that preallocation logic to TCMalloc_SystemAlloc ?

Eh, I just realized that we cannot easily do it at TCMalloc_SystemAlloc because of unpredictable order of initializing modules...

What do you think about commit here: https://github.com/alk/gperftools/commits/wip-preallocate-support ?
I think it does the trick and I don't see any obvious issues with it.

This seems like a reasonable approach, as I commented on the commit the "don't preallocate" case is failing for me for with the memfs allocator apparently as a result of trying to make a zero sized allocation; perhaps this would be best fixed by checking kMinimalUsefulGift before any allocation is attempted.


[Feature Request] GRPC support

Tell us about your feature request
Hi maintainers, first of all love the boilerplate. Just started with Go few weeks ago. I was wondering if a Grpc setup can be added to it just like nestjs does. I know that's a framework and all but since its generating a set of tools to get started quickly like a framework does in a sense. Would It be possible? Its a good to have IMO.
Disclaimer

[X] I agree

Tell us about your feature request
Hi maintainers, first of all love the boilerplate. Just started with Go few weeks ago. I was wondering if a Grpc setup can be added to it just like nestjs does. I know that's a framework and all but since its generating a set of tools to get started quickly like a framework does in a sense. Would It be possible? Its a good to have IMO.
Disclaimer

[x]  I agree

It is possible; however, GRPC is unlike other. It has some limitations, especially for code generation using protoc.
If you are looking to get started quickly, you can take a look at my repository about GRPC/PROTO here.

We are on board if somebody wants to implement it in Blueprint as an Advanced flag.
https://github.com/twitchtv/twirp Seems like a good framework to go with.
There is also another ticket where we discussed this #215

Tell us about your feature request

Hi maintainers, first of all love the boilerplate. Just started with Go few weeks ago. I was wondering if a Grpc setup can be added to it just like nestjs does. I know that's a framework and all but since its generating a set of tools to get started quickly like a framework does in a sense. Would It be possible? Its a good to have IMO.

Disclaimer

[x]  I agree

It is possible; however, GRPC is unlike other. It has some limitations, especially for code generation using protoc.
If you are looking to get started quickly, you can take a look at my repository about GRPC/PROTO here.

Hey man, I do have grpc setup and since I use Ubuntu, protoc is not a problem for me. I just thought having a setup for grpc and providing protoc instructions at the end of the installations would be cool. I'm pretty sure people working with go are mature enough to set those up by themselves.

We are on board if somebody wants to implement it in Blueprint as an Advanced flag.
https://github.com/twitchtv/twirp Seems like a good framework to go with.
There is also another ticket where we discussed this #215

I'm gonna look into it. I'm fairly new to go but GRPC is universal for me like json as I have been using grpc communication from Nestjs to go. And since we're planning for a transition to go and replacing smaller service to go. This blueprint would be a heaven breeze for me.

Perfect, I am assigning this to you. Implementation needs to integrate into the overall project without conflicting with other components. Some way for the user to test the endpoint would be nice.  The goal is to showcase how to integrate gRPC and provide a starting point.

Hi, if we can figure out a way to keep the generated pb wrappers in a abstracted manner, should be doable.
I've done something similar for python (link).
Should be cleaner and simpler in go cuz of the package structure... shall I give it a go ?

It is a good idea to adopt connect-go.
It supports grpc, grpc-web and its own connect-rpc (an improved version of graph-web)
and is available in standard net/http and other frameworks
https://github.com/connectrpc/connect-go


updateAttribute issue We need an alternative solution at checkout please.

If the customer enters values in the custom fields, it takes us to the email input field, so we are facing this issue.
applyAttributeChange({
type: "updateAttribute",
key: "delivery_slot",
value: newTimeslots[0]?.value,
});

@faisalaltaf Could you provide more details about the issue that you're facing? Is there an error that's occurring?

@faisalaltaf Could you provide more details about the issue that you're facing? Is there an error that's occurring?
https://github.com/user-attachments/assets/ed9f8f23-bb1c-48ea-b1a5-dcb2b336b7a6
Can you check the video, I have created custom fields but I am facing a problem I fill the input value as per my custom but scroll to the top email  put value error I am facing this problem

@faisalaltaf We're working on a fix for the issue you're seeing.

@faisalaltaf We just shipped a fix for this. Closing , but please reopen if you're still seeing the issue.

Can you tell me what the solution is?


[VS Code] An error occurred while sending the request.

For Visual Studio problems/feedback, please use the Report
I've signed in many times before but now all of a sudden I'm getting an error and it's not telling me much. Just says an error occured while sending the request. And this is after selecting sign in with Microsoft account or GitHub account, I authorized GitHub because it was my first time with that account. Still same error. When I click report a problem it brings me here and opens 4 other blank tabs with the URL's below.
http://a/
http://problem...%20feature%20built%20into%20the%20tool.%20see%20https//aka.ms/vsls-vsproblem.%0A%0AFor%20VS%20Code%20issues,%20attach%20verbose%20logs%20as%20follows:%0A1.%20Press%20F1%20(or%20Ctrl-Shift-P),%20type%20export
http://logs%20and%20run%20the%20live/
http://export/

Hi @DanJ210
Are you hitting this issue in VSCode on Mac?
If so, can you please check to see whether you have Auto Proxy Discovery enabled in your System Preferences -> Network settings (underneath Advanced, then Proxies)? This appears to be a common cause for this error, and turning it off may resolve it for you. We're tracking this issue via #447,

Hello, no I'm on Windows. I shouldn't have any proxy setting turned on. I'll look when I get back to the office but I am on Windows.

Ok, can you please get Live Share logs from %TEMP%\VSFeedbackVSRTCLogs folder, zip them and attach to this issue?

@DanJ210 Are you still experiencing this issue? If so, could you send us your logs per the instructions below? In the meantime, I’m going to close this as a duplicate of #447, so we can consolidate the discussion. Thanks!

It seems like after an update it's no longer giving me the issue.


How to set SSL_OP_ options globally, e.g. in openssl.cnf?

I can fix the unsafe legacy renegotiation disabled error via patching
+        SSL_CTX_set_options(ssl, SSL_OP_LEGACY_SERVER_CONNECT);

Is there a way to enable the option in a global form, could I set it in the openssl.cnf? How to enable the SSL_OP_ series options without patching binaries?

Thanks! I tried your suggestion, and it works!