Oppdatert no.nav.security:token-validation-spring, samt andre tilknyt…

…tede dependencies.
Byttet til no.nav.security:token-validation-test-support som ikke er deprecated.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue / Jira ticket id)
Type of change
Please delete options that are not relevant.

[ ] 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)

Checklist:

[ ] My changes generate no new build warnings
[ ] I have performed a self-review of my own code
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

 Oppdatere dependencies i pam-eures-cv-eksport


Showcase Submission for 171-wave-function-collapse

Thank you Paul Keller for your contribution! A member of the Coding Train team will review it shortly.

Python Wave Function Collapsing
Paul Keller

So great! Thank you for sharing!

it was so fun, I rewatched your video yesterday in the middle of the night.
Stood up at 8 in the morning and really wanted to implement the idea of propagating collapsed cells through the grid.
What a great topic and video Daniel!


Clearly know which build train you are on. (Experimental, local, beta, ...)

With having so many different possible builds going, it gets hard to know if we are running local or an actual official build.
Based on the new icons and systray icon, i think local builds should have a systray that is different than a production signed build.
This is on top of #873

icon discussion is  #1118

Maybe update title as well??
Powertoys: Power toys [Dev]
and in version have: "Unstable" or something.

Is this still an issue with the latest version? /needinfo


Shared query-engine instances for integration testing

Problem
When integration testing, it is common to isolate test suites to each run their own setup.
In fact Jest enforces this behaviour making it impossible to share runtime data between different suites.
This has many benefits but means that every suite duplicates the required resources to run the tests.
With integration tests, this includes app instances, database pools etc.
When creating a Prisma client instance, it starts a corresponding query-engine. This engine normally uses in the realm of 100-300MB of memory.
During integration tests, each test suite will start a new query-engine. Sometimes more than one i.e. one used in tests for seeding etc, one in a testing app instance (i.e. supertest).
When running many test suites the memory consumed by the query-engines can quickly cripple even a large CI server.
Suggested solution
Prisma client instances should be able to be created with either a share engine option or a engine id option.
This would allow multiple clients to communicate with the same query-engine.

@MattGson Can you try the NAPI preview here once? That method of communication won't spawn the binary and instead node will directly call the Rust functions.
Check it out here: https://www.prisma.io/docs/concepts/components/prisma-engines/query-engine#enable-the-n-api-preview
Preview feature umbrella issue: https://github.com/prisma/prisma/issues/6301

@pantharshit00 I will give it a go but I believe some of my colleagues have tried it and found it wasn't ready for our use case yet.
@janpio I have actually been using prisma.$disconnect() without any luck. I think I might have cracked it using a combination of prisma.$disconnect() , and --runInBand flag with jest. A key thing was also to remove the --forceExit flag. I believe this flag may have been killing the node process before the $disconnect actually completed leaving the query engine process running.

We do not have a Query Engine binary any more unless using a non default configuration, so I think we can close this. Thanks for opening an issue back in the day!


Form validation returned from server

Please add the following code in FormFieldState
Thank you
By the way, I don’t want another branch.
void setValidate(String error){
setState((){
_errorText = error;
});
}

Can you elaborate? I don't really understand the request.

Sounds like a dup of #9688 to me.


Unable to install Extensions in VSCode.

Type: Bug
I cannot install any extensions. It's just "INSTALLING"... for a very long time.
And i reinstalled VSCode but it doesn't work. It's still "INSTALLING".
 I can install other extensions without a problem. However Python related extensions stuck on "installing"

Can you please share following log while you install the extension?

Enable log level to trace using F1 > Developer: Set Log Level...
Install the extension
Share log - F1 > Open View... > Shared

2023-07-06 10:50:01.390 [info] Getting Manifest... ms-python.black-formatter
2023-07-06 10:50:01.395 [info] Installing extension: ms-python.black-formatter
2023-07-06 10:50:01.395 [trace] Started scanning system extensions
2023-07-06 10:50:01.395 [trace] Started scanning user extensions {"$mid":1,"external":"vscode-userdata:/home/ISBANK/fkr.msenol/.vscode/extensions/extensions.json","path":"/home/ISBANK/fkr.msenol/.vscode/extensions/extensions.json","scheme":"vscode-userdata"}
2023-07-06 10:50:01.441 [trace] Scanned system extensions: 88
2023-07-06 10:50:01.444 [trace] Scanned user extensions: 4
2023-07-06 10:50:02.378 [info] Getting Manifest... ms-python.python
2023-07-06 10:50:02.383 [trace] Started scanning system extensions
2023-07-06 10:50:02.383 [trace] Started scanning user extensions {"$mid":1,"external":"vscode-userdata:/home/ISBANK/fkr.msenol/.vscode/extensions/extensions.json","path":"/home/ISBANK/fkr.msenol/.vscode/extensions/extensions.json","scheme":"vscode-userdata"}
2023-07-06 10:50:02.435 [trace] Scanned system extensions: 88
2023-07-06 10:50:02.439 [trace] Scanned user extensions: 4
2023-07-06 10:50:02.469 [trace] Started scanning system extensions
2023-07-06 10:50:02.469 [trace] Started scanning user extensions {"$mid":1,"external":"vscode-userdata:/home/ISBANK/fkr.msenol/.vscode/extensions/extensions.json","path":"/home/ISBANK/fkr.msenol/.vscode/extensions/extensions.json","scheme":"vscode-userdata"}
2023-07-06 10:50:02.511 [trace] Scanned system extensions: 88
2023-07-06 10:50:02.514 [trace] Scanned user extensions: 4
2023-07-06 10:50:02.530 [trace] ExtensionGalleryService#downloadSignatureArchive ms-python.black-formatter
2023-07-06 10:50:02.912 [trace] Extension signature verification details for ms-python.black-formatter 2023.2.0:
Package file size:  724990
Signature archive file size:  25951
Manifest file size:  59235
Signature file size:  11975
Manifest file hash:  qNh1V8WMNKxJl49eS4Ps3w29RYFnys50NsA/ZwdT2fM=
Signature file hash:  dxy1Ur34DCdpzLu+VcZGkCF7Cq0AT8It6QcsFapfxm8=
Package file hash:  E32VP0MDbWvnXsHgHAeMKqD8QsvFiJwqQFDEmMYFo2Q=
Exit code:  PackageIsInvalidZip

2023-07-06 10:50:02.916 [error] Error while installing the extension: ms-python.black-formatter
2023-07-06 10:50:02.918 [error] Failed to install extension. ms-python.black-formatter
2023-07-06 10:50:02.918 [error] CorruptZip: end of central directory record signature not found
    at gt.download (/home/ISBANK/fkr.msenol/VSCode-linux-x64/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:82:141)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async j.y (/home/ISBANK/fkr.msenol/VSCode-linux-x64/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:82:20937)
    at async j.h (/home/ISBANK/fkr.msenol/VSCode-linux-x64/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:82:19006)
2023-07-06 10:50:02.918 [error] [uncaught exception in sharedProcess]: end of central directory record signature not found: CorruptZip: end of central directory record signature not found
    at gt.download (/home/ISBANK/fkr.msenol/VSCode-linux-x64/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:82:141)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async j.y (/home/ISBANK/fkr.msenol/VSCode-linux-x64/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:82:20937)
    at async j.h (/home/ISBANK/fkr.msenol/VSCode-linux-x64/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:82:19006)

It seems the VSIX that is downloaded in invalid - PackageIsInvalidZip. Moving to VS Marketplace repo


tools/functional-testing: add help message for flags

Help users to understand what these flags are for.

LGTM


Support associated methods

Currently only freestanding functions are supported by this crate, not methods.
I like the approach of using self in the foreign function parameter list to signify a method receiver:
#[cxx::bridge]
mod ffi {
    extern "C" {
        type C;
        fn f(self: &C);
    }

    extern "Rust" {
        type R;
        fn g(self: &R);
    }
}

struct R {...}

impl R {
    fn g(&self) {...}
}

This would expose the methods r.g() to C++ and c.f() to Rust.
The above syntax would require rustc 1.43 or newer for https://github.com/rust-lang/rust/pull/68728.

Would it make sense to use the &self shorthand instead of self: &C?

That would be fine if there is only one extern type in the block.

Implemented in #121.
I filed #124 to follow up on &self and &mut self shorthand inside of extern blocks that contain exactly one extern type.


correct query and graph name

Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] Optimization
[ ] Documentation Update

Description

The graph name 'request duration - 99th quantile' is not correctly match to the actual query.
Update ovnkube-master to ovnkube-control-plane

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please describe the System Under Test.
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

@rsevilla87 @mohit-sheth Please help to review this again after my change. Thanks.


Cert Validity UI Changes

Selecting validity range of certificate from UI was offering a dropdown with 1 year validity option and datepicker. Now it is replaced with radio buttons offering 2 options

Default validity in terms of days: Configured through PUBLIC_CA_MAX_VALIDITY_DAYS and DEFAULT_VALIDITY_DAYS. This option is selected by default
Select custom dates - Selecting this options shows datepicker which offers a custom date range. For public CA configured through PUBLIC_CA_AUTHORITY_NAMES, the datepicker will allow end date within the PUBLIC_CA_MAX_VALIDITY_DAYS days from start date.

Coverage decreased (-0.01%) to 57.91% when pulling 8e303055967506247f88d8a68292e6b0b13256f5 on charhate:validity into 9ded7b8571e4e24486a496034f354a4887c94b1a on Netflix:master.


can't run, start, test, play with or do anything usefull with the latest react-native app

[X ] Review the documentation: https://facebook.github.io/react-native
WHAT DOCUMENTATION? I wish this crappy error were documented
[X ] Search for existing issues: https://github.com/facebook/react-native/issues
this just sends me into another rabbit hole and more waste of time
[ ] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment as created by the react-native init  command
{
"name": "YodeNodeError",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.4.1",
"react-native": "0.56.0"
},
"devDependencies": {
"babel-jest": "23.4.2",
"babel-preset-react-native": "5",
"jest": "23.5.0",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
}
RN version info
Returning_from_des>react-native --version
react-native-cli: 2.0.1
react-native: 0.56.0
using the genymotion emulator but it fails equally the same using the AS emulator or a device....
Description
Describe your issue in detail. Include screenshots if needed.  PERIOD

Your environment info looks incomplete, but from the screenshot it looks like you're using Windows. We are aware that the 0.56 release has some issues on Windows, and this is being discussed over at https://github.com/facebook/react-native/issues/20353
Friendly reminder that the project is worked on by humans, and they read what you write here.
Duplicate of #20353


[MM-46473]: removed onExited action from modal

Summary
#10904 introduced a regression with image preview modals. This PR intends to fix that.
The problem was that a onExited prop was passed manually to the preview modal component. This collided with the ModalController component which handles the mounting/unmounting of modals.
Ticket Link
MM-46473
Related Pull Requests
n/a
Screenshots
n/a
Release Note
NONE

Closing in favor of https://github.com/mattermost/mattermost-webapp/pull/10952 as it is already aproved


make the usage of rnn cells compatible with TF1.1

@CTTC , Many thanks for your quick PR.
After a quick check, I find you delete all blank lines between Parameters, Examples, Variables etc, it will cause readthedocs fail to build the document~  Could you keep the original document format (keep the blank lines)?
For the cell_creator can it also well work under TF1.0?
Many thanks

@zsdonghao Sorry for the deletion of the blank lines. I did not do it intentionally. I guess it's somehow done by the IDE (Pycharm) I used. I have fixed it now. And I have run it on TensorFlow 1.0. It went well. Thanks.


Example: Deploy to Azure Websites Linux Support?

Hello,
It looks like this part of the documentation is not working for a Linux App Service
I suffer from the exact same issue as described here, the only feedback suggest to use Windows instead of Linux, which is not possible right now with .NET Core 3.1.
Can you suggest a working workaround in the documentation?
Thank you,

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

ID: 21cb7455-3305-9316-5440-bdc22947a82d
Version Independent ID: 137d4b94-7b26-3911-b22d-42c754a95fc1
Content: Introduction to authentication for Single Page Apps on ASP.NET Core
Content Source: aspnetcore/security/authentication/identity-api-authorization.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @javiercn
Microsoft Alias: scaddie

Moved to master issue: Authentication and authorization for SPAs #16406


fix(docs): Fix link for simple_TFJob_test

/hold
After the release, we can fix the link.
Or do you think if we could accept this PR before the release?
@richardsliu
Signed-off-by: Ce Gao<EMAIL_ADDRESS>

This change is

Coverage remained the same at 76.744% when pulling aaaae4b92f08bcd11622aec4f67f7b2e01721fb1 on gaocegege:fix into d746bde980e7fbf480a8978cd90856d18b0240f1 on kubeflow:master.

This looks ok to me
/lgtm

/approve


New prescient-filter-method literal-prefix

The new prescient-filter-method value literal-prefix means the
first subquery must be the prefix of the candidate and the remaining
subqueries must be prefixes of words in the candidate.  Supports char
folding (just like literal).
As such, it is quite similar to literal except that it does strict
prefix matching instead of substring matching.
It is also similar to prefix except that it forces that the first
subquery matches at the beginning of the candidate.  Furthermore, it
only highlights the subqueries literally whereas the prefix method
highlights the complete matching words.
I'm happy to also update the CHANGELOG.md if this PR gets merged but
didn't do it right now so that different PRs don't provoke conflicts
in there.

Sorry for the inconvenience, but the interface for filter methods was refactored in https://github.com/raxod502/prescient.el/pull/77 so that now each filter method is in a separate function instead of all of them being embedded in a case statement. Would you mind updating this PR accordingly? The actual changes look great though (pending readme and changelog mentions); thank you for your contribution!

@raxod502 I'll update the PR according to the changes in #77.

@raxod502 If you like the cl-defun version more, feel free do do it that way.  IMHO, it adds more complexity for little value given that the alist is so new that this breaking change is not really breaking as you've said.

The reason I'm suggesting cl-defun is not to preserve backwards compatibility. I don't think preserving such compatibility is important, as you point out. I just think using cl-defun will be simpler, since it reduces the amount of boilerplate code required.

@raxod502 i really don't see how cl-defun can be considered simpler.  I always have to look up its docs, especially for things like &allow-other-keys, most probably because it is seldomly used in elisp.  The only benefit I see is that the more complex signatures allow you to just use the parameter with-groups instead of (plist-get props :with-groups).
Anyway, you don't have to convince me.  Just state your preference clearly and I'll change it accordingly if required.

@raxod502 Ok, I've refactored the changes to use c-defun with keyword arguments instead of passing just a plist.

@raxod502 Wohoo!  Thanks a lot!

@raxod502 Wohoo!  Thanks a lot!


[firefox] Navigation event not fired when traversing back in certain cases

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure it has not already been reported

Version (i.e. v2.x.x)
1.0.1-alpha.196
Node.js version (i.e. 18.x, or N/A)
N/A
Operating system
N/A
Operating system version (i.e. 20.04, 11.3, 10, or N/A)
N/A
Description
I've discovered a bug in Firefox where a NavigationEvent is not being triggered when navigating Back, and finally have a reproducible error case.
Steps to Reproduce
Fire up a web server with the examples directory, e.g. npx http-server -p 3000 ./example

Visit http://localhost:3000
Manually navigate to http://localhost:3000/webcomponents.html
Click "Home Link"

Observe url bar updated to /
Observe navigation event in console

Navigate Back via browser "Back" button (or Alt+←)

Observe url bar updated to /webcomponents.html
Observe no new navigation event in console

Expected Behavior
Expected to see a navigation event for traversing backwards after a manual same-origin navigation plus a Navigation-API managed navigation.
This is very strange, I wonder why it only happens after a manual URL update.

Thanks for this, I’ll hopefully be able to get a fix together for it!

I had tested this across Firefox Version 116.0.3 and Version 117.0 on macOS.
I thought I had this issue after updating... but then when I went to take the video it produced the extra log as expected.
https://github.com/virtualstate/navigation/assets/4337080/8eb6658f-7e80-4de3-b0ee-6a44aae86063

Oh! Running through the steps again, I do get the bug!

The popstate event has no state information on it, which is what we had been using to know for sure the original history state came from the navigation API or not. Seems like this should be changed up! Diving into it further now.

Bug:
https://github.com/virtualstate/navigation/assets/4337080/11e5362c-d486-419a-b517-9335cedb20f7
Fixed:
https://github.com/virtualstate/navigation/assets/4337080/02f55267-c8ba-49f8-bd9c-0b0752eb1a72

Thanks for fixing this! I wasn't able to test Safari -- did it have the same bug?  I wondering if it's a spec quirk or a Firefox-only bug.

It would have been for any browser using this implementation for a polyfill. Might not have seen it in chrome/chromium because it's the real deal API and not the polyfill.

Verified fixed after integrating this latest version into my project. Thanks again!


Change "Apply (n)" filter logic to match iOS filters

A small change to make the mobile artwork filter UI more consistent with its iOS counterpart.
Now we only count the filters currently being changed by the user, rather than all filters that will be in effect upon applying.
In the screencap, note that filters have already been applied; but when we open the modal we start in the "Apply (0)" state…

Looks good! Thanks for updating this. 🙏


Autoprefixer is only active for .vue files

This seems to be the same bug as https://github.com/vuejs-templates/webpack/issues/85, which was closed because, I quote, "Autoprefixer is in the latest template release", but we don't get Autoprefixer working for CSS or SCSS files outside of .vue components.
Steps to reproduce:
vue init webpack postcss-test && cd postcss-test
npm install
npm install node-sass sass-loader --save-dev

Then create a few test stylesheets:
/* src/assets/test1.css */
.test1 { display: flex; }

// src/assets/test2.scss
.test2 { display: flex; }

Finally, let's test a few ways to load these:

As entry points:

// build/webpack.base.conf.js
...
module.exports = {
  entry: {
    app: './src/main.js',
    test1: './src/assets/test1.css',
    test2: './src/assets/test2.scss'
  },
  ...
}

Then npm run build. Results:
/* dist/static/css/test1.ca0cd0e2b1b09d965f5ce5c21f1fc6e7.css */
.test1{display:flex}

/* dist/static/css/test2.4d716aeffa93f62596ef617b3129561c.css */
.test2{display:flex}

As JS imports:

<!-- src/App.vue -->
<script>
import {} from './assets/test1.css'
import {} from './assets/test2.scss'
...
</script>

(Remove the entry points test before.) Then npm run build. Result:
/* dist/static/css/app.4006533b8ed715dfd365cdd7a0b4f7be.css */
.test1,.test2{display:flex}

In style tags in components:

<!-- src/App.vue -->
<style>
@import './assets/test1.css';
.test1b { display: flex; }
</style>

<style lang="scss">
@import './assets/test2.scss';
.test2b { display: flex; }
</style>

Result:
/* dist/static/css/app.6c438b7dca17522bb707d18112b8cbcb.css */
.test1{display:flex}.test1b,.test2,.test2b{display:-webkit-box;display:-ms-flexbox;display:flex}

Conclusion: Autoprefixer is only used for style tags inside .vue components.
When using Sass or SCSS syntax and an external Sass/SCSS stylesheet, this can be used to apply Autoprefixer to code stored outside of components; the same trick does not work for CSS imports.
Was #85 closed based on a faulty assumption?
As a side note, debugging this issue proved difficult (for several team members) because this template comes with references to autoprefixer and postcss in two locations:

package.json -> "browserslist" entry
.postcssrc.js

But the config in config and build never references these locations, postcss or autoprefixer. It's all happening by magic, but only in very limited settings.
Maybe the brower list and postcss config should be moved to build/vue-loader.conf.js, if it only applies to vue-loader? As it is, it's sending the message that it's a project-wide config, but in practice it doesn't seem to be.

Possible duplicate: https://github.com/vuejs-templates/webpack/issues/544

Yeah, I have the problem too. I have to add postcss-loader to loaders
Note: need to yarn add postcss-loader -D

Got this problem as well. Importing any SCSS file, though loads them correctly, does not autoprefix them.
But above solution by @cycold works like a charm, thank you!

Yes the solution from @cycold works great. However you get a warning pointing to https://github.com/postcss/postcss-loader#sourcemap if you have sourceMap set to false in config/index.js that is the default setting.
Would be nice if this feature came out of the box as it's kinda expected result.

In @cycold 's code other loaders are pushed to the loaders array, resulting something like [cssLoader, postcssLoader, ...otherStyleLoader], so I try inserting postcssLoader at last place.
My code is like this
...
  var vueStyleLoader = {
    loader: 'vue-style-loader',
    options: {
      sourceMap: options.sourceMap
    }
  }

  // generate loader string to be used with extract text plugin
  function generateLoaders (loader, loaderOptions) {
    var loaders = [cssLoader]
    if (loader) {
      loaders.push({
        loader: loader + '-loader',
        options: Object.assign({}, loaderOptions, {
          sourceMap: options.sourceMap
        })
      })
    }

    loaders.push(postcssLoader)

...

Any further developments to this? I have to suppport IE10.... :(
Getting the same sourcemap issues as @cycold  has stated.

@KagamiChan Your code seems incorrect. postcss-loader shouldn't add at the last.
From postcss-loader's docs:

Use it after css-loader and style-loader, but before other preprocessor loaders like e.g sass|less|stylus-loader, if you use any.

@gluons agreed, you're right

@cycold I tried the solution but did not work

anyone can help? tks

I ran vue init webpack my-project just now, and was able to reproduce @fvsch 's 3rd example:
<!-- src/App.vue -->
<style>
@import './assets/test1.css';
.test1b { display: flex; }
</style>

<style lang="scss">
@import './assets/test2.scss';
.test2b { display: flex; }
</style>

Result:
/* dist/static/css/app.6c438b7dca17522bb707d18112b8cbcb.css */
.test1{display:flex}.test1b,.test2,.test2b{display:-webkit-box;display:-ms-flexbox;display:flex}

This is an issue for using 3rd party Vue components which import plain css.

Hm, that's weird. Postcss is active for .css files since yesterday, so airport fixer should be applied. I will check this out.

Does vue-cli cache the webpack template, or check for the latest every time?
How do I actually check the version/changeset of the template I installed?

On 14 Nov 2017, at 6:39 pm, Thorsten Lünborg<EMAIL_ADDRESS>wrote:
Hm, that's weird. Postcss is active for .css files since yesterday, so airport fixer should be applied. I will check this out.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/vuejs-templates/webpack/issues/600#issuecomment-344171222, or mute the thread https://github.com/notifications/unsubscribe-auth/AAS8wEt0ZCuhcFmGU6hetmYMyh6GRw-tks5s2UOqgaJpZM4MeO72.

We didn't properly version for the longest time, but recently started adding a version number to the top of /config/index.js

Ah then it is broken in v1.2.1

I have a suspicion, but can'T verify until tonight. However I already made a PR (WIP) that aims to solve this or something related.
https://github.com/vuejs-templates/webpack/pull/1053/files
You might try to give this a spin.

Yes that fixes it!
Discussion of css-loader's importLoaders option

Thanks. Will apply that PR tonight hopefully.

@ozguruysal and @tfsimondouglas, I was getting the same sourcemap warning.  Building on @cycold's solution, you can get the warning to go away by adding the sourceMap option to postcssLoader in utils.js:
var postcssLoader = {
    loader: 'postcss-loader',
    options: {
        sourceMap: options.sourceMap
    }
}

Additionally there is this PR for vue-loader that solves the use of lang="postcss".
https://github.com/vuejs/vue-loader/pull/1055

fixed by adding postcss-loader for all *.*css files as well.

I'm using an old version of the template that has this issue and it seemed really peculiar, because I noticed CSS within an SFC style tag gets prefixed, but Post-css is not to be found in the template dependencies. Further investigating revealed that css-loader includes postcss in its (dependencies)[https://github.com/webpack-contrib/css-loader/blob/master/package.json#L23] and probably auto invokes it if browserslist is present in your package.json, thus auto-prefixing the CSS as expected. All, but SCSS files imported in a script tag (and perhaps other, similar import variations). From this closed issue, I can only deduce that postcss-loader has to be explicit for a complete, multi scenario solution.

const postcssLoader = {
loader: 'postcss-loader',
options: {
minimize: process.env.NODE_ENV === 'production',
sourceMap: options.sourceMap
}
}
// generate loader string to be used with extract text plugin
function generateLoaders (loader, loaderOptions) {
const loaders = [cssLoader, postcssLoader]
if (loader) {
loaders.push({
loader: loader + '-loader',
options: Object.assign({}, loaderOptions, {
sourceMap: options.sourceMap
})
})
}
eg: my code did not work, help tks!

this code maybe had other problem , i not kook at


fix(SubscriptionRef): fix implementation & add missing tests

I'll see if I can rework this to what was discussed on Discord. (follow ZIO more closely with (abstract) class inheritance and subtyping)


Add proxy recommendations

Description
Add technical notes on proxies.
Relates to https://github.com/oasisprotocol/docs/pull/818.

Do you think we should rather rename the chapter to upgradable.md? I can't get rid of a feeling that the chapter is about setting up oracles or paymasters or proxy nodes at first glance when I see the "Proxies" title. The "Upgradable Contracts" is the title I think it rings the right bell for firstcomers.

I kind of want to 🤔. I hear you on the notion of proxy nodes. My concern with "Upgradeable Contracts" would be that the deterministic deploys are "Clones" so to speak with regards to OpenZeppelin terminology. Perhaps "Deployment Customization" or "Upgradable and Deterministic Contracts?"


[timepicker]add date formatter in time picker

As a user, i would like to choose my date format when setting a time range filter, and have the selected format populated in the actual time range.

We could either have the setting at dataset level, or chart level(in the time picker), which is less ideal.

This is still a hot topic, but it's not a bug, and it's stale, so I'll close it. :)


Womanium Final Assignment - Nyi Phyo

PR Description

Some notes

[ ] Please make sure that you placed the files in an appropriate folder

[ ] And that the files have indicative names.

[ ] Please note that Classiq runs automatic code linting, which may minorly alter some files.

[ ] If you're familiar with pre-commit, you may run pre-commit install, and then at each commit, your files will be altered in a similar way

Good job!
Score: 8/10.

Good job!
Score: 8/10.


[Worker-Main-4/ERROR] [Apotheosis : Enchantment/]

Apotheosis 1.18.2-5.3.4
Forge  40.0.41
Modpack https://github.com/AllTheMods/ATM-7/
latest.log
When starting the server it throws some errors making some enchantments unavailable (Line 308-311 ;Line 524-527)

These are not errors, these are warnings indicating certain levels of enchantments will not be obtainable in an enchantment table.

Thanks for your'r fast reply, could you declare them as WARN with the next update to stop confusion instead of this ERROR.


updates for new pandas version

Make updates for new version of Pandanas:

Use .reindex() instead of .loc when there are missing values
change .as_matrix() for .values

Coverage decreased (-0.1%) to 94.196% when pulling 016ff41c2a7930062ef1d1b595f8f777765a3005 on update_pandas into 79f815a6503e109f50be270cee92d0f4a34f49ef on master.

Some more context and fixes:
The .loc and .as_matrix() syntax had been deprecated for a while, and was recently removed in Pandas v1.0.
In order to get the tests to pass, I went through and fixed some other problems as well:

Fixed a column list comparison in a test (https://github.com/UDST/urbansim/pull/222/commits/61b1d50e74deff96d8cdf83c7b20ad564735190f) -- Pandas changed how DataFrame column names are ordered sometime around v0.24.
Updated an instance of .ix[] to .loc[] (https://github.com/UDST/urbansim/pull/222/commits/2954eb2e11a447caa1eeda4d21139e398ec81364). I think this syntax was removed in Pandas v1.0 too.
Made minor updates to the Travis script so that the environment can continue installing properly (ipython-notebook -> jupyter, etc).
Made similar updates for AppVeyor.

Managed to get everything working in AppVeyor; all the tests now pass.
Plan is to merge this into a dev branch, then start another PR with everything necessary for releasing a point update (versioning, docs, etc).


the pop-up window opens twice

Hello guys, i found a error, when i use the image compress in a input connected a Label, the Pop-up windows opens twices.
<label for="logotipo">
<i class="bi bi-plus-lg"></i>
</label>
<input  (change)="compressFile()" type="file"  name="logotipo"  id="logotipo"
   accept="image/png, image/jpeg" formControlName="logotipo" [class.is-invalid]="invalidLogo"
   alife-file-to-base64 >

i cannot change the label for a button, because my validation dont work, and if i change the (change) for (click), happens the same.

Maybe we need to make some fix on our side, but meanwhile, a solution for you would be to put the code of you compressFile() function in zone outside angular


Add trademark note for Build Scan in documentation

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

On hold, let's see if all these changes are really needed.

Closing as not needed


lseek called with ulong offset causes type error on Android/ARM

I'm trying to run the dub tests on Android, one of which builds ddox, which depends on vibe.  I only get two compile errors, both having to do with versions of drivers.threadedfile, which is built once in eventcore and once here.  The problem is that off_t is int on Android/ARM.  I can submit a pull to make the current Windows invocation of lseek the default everywhere, which should fix the issue, but I'm not sure if that should go here or in vibe-d/eventcore.
I'm guessing the latter, let me know and if you agree on the fix and I can submit a pull, or you can just make the small tweak yourself.

The reason I'm asking about which repo to modify is I'm assuming you're in the process of consolidating the threadedfile module in one repo.
Also, I had some link errors when building ddox, but that goes away if I remove the dependency on event_pthreads in libevent, a separate library which doesn't exist and which is apparently unneeded on Android/ARM.  So I get all of vibe.d and ddox to build on Android/ARM with this single lseek tweak to the two versions of this module and by removing an unnecessary dependency.


Multi canvas approach for timeline plugin?

On longer waveforms with timelines it can happen that the timeline is not rendered due to limitations on the canvas size. It would be great to get some of the excellent multi-canvas magic by @chrisparton1991 to work in the timeline plugin.
BTW I integrated MultiCanvas into the minimap plugin and it works well, of course it is less prone to run out of "canvas space". But if anyone is interested, I can share my code in a PR?

Sure, a PR is always appreciated!

I'll take a look at this at some point, but it may be a while before I can get around to it due to other commitments.

I've taken a look at the code for the timeline plugin. I think it'll be easier to convert it over to MultiCanvas than the main renderer was.
The only potentially tricky bit is the text that's rendered. I've done some tests and it looks like rendering text partially past the right end of a canvas, or using negative coordinates to render partially before the left end of a canvas works fine, so it shouldn't be a huge issue to render text that falls between two canvases.

Oh, that sounds great. It would take me forever to figur this out. I can help test and code review if you like?

Sure, that would be great when I get around to it @chinshr.
I think you'd be able to implement the MultiCanvas renderer too, I'm definitely no mathematical genius or anything. I had to discard my first attempt because it was garbage, but the second attempt went a lot more smoothly because of it.
I just hope nobody asks for some kind of MultiCanvas thing that requires drawing lines more complex than the current waveforms, I'd be lost on how to implement that!

Ok, will take a look at it. Thanks.

Sure thing @chinshr. I'm happy to review and test your code. I'm also happy to have a go at implementing it if the need arises.

You mentioned that you had looked at how to implement drawing labels. If there is any approach worth posting here, I would pick it up. Thanks.

Hey @chinshr, I just wrote a Codepen (http://codepen.io/chrisparton1991/pen/bpKoqm) that shows how to render text across canvases. I've added comments to (hopefully) make the code clearer. Let me know if it makes sense and if you still want to have a go at implementing this feature.

Thanks for sharing. The text renders well on mobile safari. I will try to have a look and implement this, stay tuned.

Any update on the multicanvas plugin for the wavesurfer timeline?  Definitely could use this.

Sorry, did not have time to implement, yet.

Hey @jeremylach, I'll try and have a look at that sometime in the next week. Can't make any promises, but hopefully It won't be too tricky to implement. If I get time to take a look, I'll keep you posted.


node execution parallel not working

I am in modify the facedetection_cpu example,  I need a fast render but a slow facedetection (for low cpu cost as most as possible), I change the pbtxt as:
I add RoundRobinDemuxCalculator to demux two, and add usleep(200*1000) in TfLiteTensorsToDetectionsCalculator process.
but the render is slow too!!!
as doc says: even no RoundRobinDemuxCalculator , the node will be parallel executing, so how to fix this ?
any one knows ,  thx! so much

node {
calculator: "RoundRobinDemuxCalculator"
input_stream: "input_video"
output_stream: "OUTPUT:0:input_video_second"
}
Crops the rectangle that contains a hand from the input image.
node {
calculator: "ImageCroppingCalculator"
input_stream: "IMAGE_GPU:input_video"
output_stream: "IMAGE_GPU:output_video"
node_options: {
[type.googleapis.com/mediapipe.ImageCroppingCalculatorOptions] {
width: 300
height: 300
}
}
}
node {
calculator: "FlowLimiterCalculator"
input_stream: "input_video_second"
input_stream: "FINISHED:detections"
input_stream_info: {
tag_index: "FINISHED"
back_edge: true
}
output_stream: "throttled_input_video"
}

Hi Li,
It sounds like you want to run the tensorflow-model for face-detection twice in parallel in order to process twice as many frames per second.  Please confirm that this is your goal.
The RoundRobinDemuxCalculator can indeed be used for this purpose.  In face_detection_mobile_cpu.pbtxt , one detail to be aware of is that the FlowLimiterCalculator limits the number of frames that can be processed in parallel.  The default options for FlowLimiterCalculator limit the graph to one frame at a time.  In order to process two frames at a time you would need to:
(1) on the FlowLimiterCalculator set the option "MAX_IN_FLIGHT" to "2".
(2) add a second copy of the TfLiteInferenceCalculator and its associated calculators.
(3) add a RoundRobinDemuxCalculator sending frames to the two TfLiteInferenceCalculators.
(4) add a MuxCalculator combining the output streams from the two TfLiteInferenceCalculators.
It is best to sequence the RoundRobinDemuxCalculator after the FlowLimiterCalculator in order to accept one additional input frame when each TfLiteInferenceCalculator finishes processing.
-- Best Wishes, /-/adon

sorry for long delay, too many works.
I have a requirement that draw camera image ASAP,  but it can has slow face detection output (since 3399 gpu-cpu buffer copy is slow). so I change the pbtxt as below, the RoundRobinDemuxCalculator  not meet my requirement.
A:
input_video->gpu crop-> output_video
output_video->flowlimit->facedetecion->output float vector for face detection result.
it will crash in gsync point release
B:
input_video->flowlimit->gpu_crop->detection
gpu_crop->output_video
it will crash for 5~6 hours in externel_render , I think it's because when output-video render , the flowlimt change the input buffer since it only waits detection.
c:
input_video->flowlimit (wait output_video)->gpu_crop->output_video
gpu_crop->flowlimit->gpu_crop->detection
in testing...
so I want to know how to get the right to split gpu_render with cpu_detection?   3399 gpu limitation, can not use gpu version

@mgyong sorry for long delay, my purpose is split gpu_render with cpu_detection, to make the render ASAP in rockchip 3399.  hope your kindly reponse.
and  I find mediapipe seems has memory leak in android (rockchip 3399 and Qalcomm 660)

@hadon  hope your kindly response

Hello!! I want to make my custom calculator execute parallelly. I found "max_in_flight" that can make it work in the doc,
so I changed my calculator graph content like this:
original:
input_stream: "text"
output_stream: "bs"
node {
calculator: "Text2SpeechCalculator"
input_stream: "text"
output_stream: "speech"
}
node {
calculator: "Audio2BsCalculator"
input_stream: "speech"
output_stream: "bs"
}
now:
input_stream: "text"
output_stream: "bs"
node {
calculator: "Text2SpeechCalculator"
input_stream: "text"
output_stream: "speech"
max_in_flight: 2
}
node {
calculator: "Audio2BsCalculator"
input_stream: "speech"
output_stream: "bs"
max_in_flight: 2
}
But it didn't work, I don't know why,
When I input text twice, the workflow in the log is "Text2SpeechCalculator::Process() --> Audio2BsCalculator::Process() --> Text2SpeechCalculator::Process() --> Audio2BsCalculator::Process()" rather than my expected result that "Text2SpeechCalculator::Process() --> Text2SpeechCalculator::Process() --> Audio2BsCalculator::Process() --> Audio2BsCalculator::Process()" .

Hello!! I want to make my custom calculator execute parallelly. I found "max_in_flight" that can make it work in the doc, so I changed my calculator graph content like this: original: input_stream: "text" output_stream: "bs"
node { calculator: "Text2SpeechCalculator" input_stream: "text" output_stream: "speech" }
node { calculator: "Audio2BsCalculator" input_stream: "speech" output_stream: "bs" }
now:
input_stream: "text" output_stream: "bs"
node { calculator: "Text2SpeechCalculator" input_stream: "text" output_stream: "speech" max_in_flight: 2 }
node { calculator: "Audio2BsCalculator" input_stream: "speech" output_stream: "bs" max_in_flight: 2 }
But it didn't work, I don't know why, When I input text twice, the workflow in the log is "Text2SpeechCalculator::Process() --> Audio2BsCalculator::Process() --> Text2SpeechCalculator::Process() --> Audio2BsCalculator::Process()" rather than my expected result that "Text2SpeechCalculator::Process() --> Text2SpeechCalculator::Process() --> Audio2BsCalculator::Process() --> Audio2BsCalculator::Process()" .

Hi, did you solve this problem yet?

face_detection_mobile_cpu

Hi, excuse me. I want to make hand_tracking_desktop_live.pbtxt in multi threads so that I can detect two or more cameras in parallel. This is very hard to me to understand what I should fix it and how to use it. Could you give some advices to me?
It's thankfull very much if I can get your reply.
Best wishes!


Openssl-version dont have X25519

Home Assistant release with the issue:

0.86.0b3
Operating environment (HassOS/Generic):

Docker raspberrypi3-homeassistant
Supervisor logs:

2019-01-23 16:07:24 ERROR (MainThread) [homeassistant.setup] Error during setup of component asuswrt
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
    hass, processed_config)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/asuswrt.py", line 61, in async_setup
    await api.connection.async_connect()
  File "/usr/local/lib/python3.6/site-packages/aioasuswrt/connection.py", line 66, in async_connect
    self._client = await asyncssh.connect(self._host, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/asyncssh/misc.py", line 182, in __await__
    return (yield from self._coro)
  File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 5454, in connect
    conn, _ = yield from create_connection(None, host, port, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 5110, in create_connection
    yield from auth_waiter
  File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 627, in data_received
    while self._inpbuf and self._recv_handler():
  File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 847, in _recv_packet
    processed = handler.process_packet(pkttype, seq, packet)
  File "/usr/local/lib/python3.6/site-packages/asyncssh/packet.py", line 215, in process_packet
    self._packet_handlers[pkttype](self, pkttype, pktid, packet)
  File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 1414, in _process_kexinit
    self._kex = get_kex(self, kex_alg)
  File "/usr/local/lib/python3.6/site-packages/asyncssh/kex.py", line 122, in get_kex
    return handler(alg, conn, hash_alg, *args)
  File "/usr/local/lib/python3.6/site-packages/asyncssh/kex_ecdh.py", line 47, in __init__
    self._priv = ecdh_class(*args)
  File "/usr/local/lib/python3.6/site-packages/asyncssh/crypto/curve25519.py", line 31, in __init__
    self._priv_key = x25519.X25519PrivateKey.generate()
  File "/usr/local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py", line 39, in generate
    _Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM
cryptography.exceptions.UnsupportedAlgorithm: X25519 is not supported by this version of OpenSSL.

Description of problem:
There seems to be a problem with the openssl version.
https://github.com/home-assistant/home-assistant/issues/20361

Will this be fixed for HomeKit Controller as well? Sorry for asking, I just sat down at my PC to report this issue with the HomeKit controller when I found this issue. Thanks! 😄

any news about this issue?

Will this be fixed for HomeKit Controller as well? Sorry for asking, I just sat down at my PC to report this issue with the HomeKit controller when I found this issue. Thanks! 😄

Yes, it will get solved for both platforms with this.

I also have this issue for HomeKit Controller with the new release 87.0

For me it is strange, homekit_controller is working fine up to 0.86.4
but after installing 0.87 - boom, OpenSSL version is bad..
reverted back to 0.86.4 - working again.

I'm happy to confirm that asuswrt now works in 0.87.0

The version of OpenSSL in hass.io has always been "bad", its just that more and more python code in the wild is start to expect OpenSSL to be up to date.
For the asuswrt people there was a workaround to avoid using HASS.io OpenSSL at all for X25519. This means that one of the libraries is pinned at an old version - so currently blocked from security updates. The underlying problem is still there, just hidden. Hopefully HASS.io will use Alpine 3.9 before we have to choose between fixing a security bug and letting asuswrt work for HASS.io users 😱
There's no easy workaround for homekit_controller other than to not use HASS.io or to wait for it to upgrade to Alpine 3.9. (The non-hass.io Docker instructions should work, as should the venv instructions ones).

I'm also seeing this with the homekit_controller in 0.87.0
2019-02-07 18:11:38 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/homekit_controller/__init__.py", line 362, in discovery_dispatch
    device = HKDevice(hass, host, port, model, hkid, config_num, config)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/homekit_controller/__init__.py", line 98, in __init__
    self.accessory_setup()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/homekit_controller/__init__.py", line 112, in accessory_setup
    data = self.pairing.list_accessories_and_characteristics()
  File "/usr/local/lib/python3.6/site-packages/homekit/controller.py", line 272, in list_accessories_and_characteristics
    self.session = Session(self.pairing_data)
  File "/usr/local/lib/python3.6/site-packages/homekit/controller.py", line 604, in __init__
    c2a_key, a2c_key = get_session_keys(conn, pairing_data)
  File "/usr/local/lib/python3.6/site-packages/homekit/protocol/__init__.py", line 247, in get_session_keys
    ios_key = x25519.X25519PrivateKey.generate()
  File "/usr/local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py", line 39, in generate
    _Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM
cryptography.exceptions.UnsupportedAlgorithm: X25519 is not supported by this version of OpenSSL.

This just happened to me as well for homekit_controller when I upgraded hassio (running in docker on an ubuntu server) from 0.86.4 to 0.87.0 last night.
Would it be possible to just roll back to 0.86.4 until this has been fixed?

I just did wipe and restore last snapshot.
Worker a treat.
Sent from BlueMail
On Feb 9, 2019, 09:34, at 09:34, Jens Westerlund<EMAIL_ADDRESS>wrote:

This just happened to me as well for homekit_controller when I upgraded
hassio (running in docker on an ubuntu server) from 0.86.4 to 0.87.0
last night.
Would it be possible to just roll back to 0.86.4 until this has been
fixed?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/home-assistant/hassio/issues/903#issuecomment-462022179

Are there any updates for this? I'd love to get this working.

I think this issue can be closed now - see https://github.com/home-assistant/hassio/issues/914.
@kennedyshead interest.


Admin create user will let anyone get the account

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
After having created a user with supabaseClient.auth.admin.createUser(userToAdd);
The next user trying to sign in with the same email, will succeed whatever the password given
To Reproduce
I have enabled emailConfirm needed.

Create a user supabaseClient.auth.admin.createUser(userToAdd);
Try to sign in with the email

Expected behavior
He not be able to sign in as the mail is already in use

hey @erwannbst, i'm unable to reproduce this and you shouldn't be able to login without a password. Can you please provide some reproducible steps please?


Initial SearchIndex creation model changes

Also prototypes SynonymMap changes discussed in #10725

This PR creates a new index exactly like the track 1 code is doing. I compared the request and responses and they are the same. I thought about getting this PR in first and then swapping over the test framework to use this index creation just so there's a better record. This PR is already big enough anyway.

/azp run net - search - ci

/azp run net - search - ci

@mitchdenny this error with expires certs (TLS?) has happened several times now with different agents (host machines). Something is going on, and I fear it might get worse if other machines/images just haven't "caught up" to the issue yet.


Create GCP Vertex AI worker

Expectation / Proposal
Traceback / Example

[ ] I would like to help contribute a pull request to resolve this!

Upgrade vertexAI infra option to workers

To give more context, it would be nice to be able to have a work pool that effectively runs Vertex AI Custom Training jobs, similar to what the infrastructure block used to do.   This way, we don't have to kick of an ECS Task to then further kick off a Vertex AI Training Job, etc.

One small request here would be for the VertexAI Job URL to be logged by the worker and presented in the flow run logs as it was in Prefect 1 (see here).


Should Emphasize That ARTRealtime Needs To Be Created On Main Queue

I was stuck with this frustrating issue yesterday when I tried to create ARTRealtime in the callback from URLSessionTask and never get it to work. After many hours I tried wrapping the initialization code in DispatchQueue.main.async { ... } and, surprisingly, everything start to work again.
So try digging in the documentation on Ably website, to find if it's mentioned anywhere that ARTRealtime is needed to be created on main thread but didn't find any.
So I think it's worth considering putting this information in the documentation somewhere.

@sikhapol Creating a realtime object in a background queue should be a valid behaviour. This should be fixed. Thanks for reaching out.
/cc @mattheworiordan

Thanks @sikhapol and sorry for the inconvenience. @ricardopereira do you know what to do then?

@sikhapol There is a PR available fixing this particular issue. You can test it by using pod 'Ably', :git => 'https://github.com/ably/ably-ios.git', :branch => 'fix-577'. Thanks again.
Code I used to test it:
    var realtime: ARTRealtime!
    var rest: ARTRest!

    override func viewDidLoad() {
        super.viewDidLoad()
        URLSession.shared.dataTask(with: URL(string: "https://github.com")!) { data, response, error in
            self.work()
        }.resume()
    }

    func work() {
        let options = ARTClientOptions(key: <redacted>)
        options.autoConnect = false
        options.logLevel = .verbose
        self.realtime = ARTRealtime(options: options)
        self.realtime.connect()
        self.realtime.ping { error in
            print("REALTIME", error ?? "no error")
        }
        self.realtime.channels.get("foo").attach() { error in
            print("REALTIME", error ?? "no error")
        }

        self.rest = ARTRest(options: options)
        self.rest.channels.get("foo").presence.get { members, error in
            print("REST", error ?? "no members")
            print("REST", error ?? "no error")
        }
    }

@mattheworiordan @ricardopereira Sorry, I just saw this. Thank you guys very much for your prompt response and for working on this. Keep up the good work 👍


chore: reorder lakefile to put dependencies first

The lakefile options configuration has grown long enough that the dependencies were off the first screen. Since I change these often (and, I guess logically they do come first!), I'd like to move them to the top.

I don't particularly like the period either.
bors delegate+

bors merge


API-supported way for translating between Values in an egglog::EGraph and ClassIDs in an egraph_serialize::EGraph

For a number of reasons which are generally summed up by this issue, I often need to work with both egglog::EGraphs and egraph_serialize::EGraphs. It would be great to have an API-supported, stable way of translating between Values in an EGraph and EClass IDs in a serialized EGraph. As @saulshanabrook pointed out to me, it seems like the process of serialization uses a Value's index into the hashcons to generate its corresponding EClass ID, so that's a hacky way of going back and forth:
https://github.com/egraphs-good/egglog/blob/0da32092999b558486b521b5a106a523d032ffd4/src/serialize.rs#L104-L105
However, it would give me peace of mind to have a way of doing this that's library-supported!
Thanks all!

I can work on adding to the public API functions to from the e-class ID to Value and vice versa.


Please add an edit option for submissions

:+1:
Also a delete option.

agreed, this is desperately needed. it'll be implemented soon!

Implemented #66

Must be fixed in #66. Closing the issue.


Add to Vega-Lite ecosystem page

Nice project! Can you send a pull request to add this to https://vega.github.io/vega-lite/ecosystem.html?

Yes. it is a great pleasure to be added in vega-lite ecosystem. Big fan of Vega & VegaLite!


Run code For Android

hello, I'm trying to run this source code to install using my cellphone device. After following the installation procedure, the application has been running successfully, but when it is about to run its features by pressing the 'Start listening' button, the application will force close. The error that appears is :
java.io.FileNotFoundException: model-id-id/uuid.

If we refer to the error that appears, the model-id-id/uuid file is not found. I thought the file was accessible in android\models\src\main\assets\model-id-id\uuid, but after the application runs the file path changes to /storage/emulated/0/android/data/com.bookbot.speech_recognizer/files/model-id-id. How to resolve the error?
Thanks you

@hilmanfitriana19 can you please advise which device you're running this on (physical device? emulator?), which Android version, and how you're running it (VS Code Flutter plugin? Command line flutter run? Android Studio? etc)
Also it would help if you provide the output of:
flutter doctor -v

and also try
git reset --hard
git pull
flutter clean
flutter packages upgrade

So far we haven't been able to reproduce this on various Android devices/emulators/APIs so this will help us narrow down where the issue is.

@hilmanfitriana19 sorry for late response. We fixed the issue, so you can try it again.


Make to_camel_case and capitalize_first configurable

Adds auto_camelcase and auto_capitalize bools inside of str_converters that can be modified to stop camelCasing or Capitalizing.
from strawberry.utils import str_converters

str_converters.auto_camelcase = False

I wasn't sure of a better way to do this, as these utilities are used in various functions that can be run at any time before a schema is generated.

Description

Types of Changes

[ ] Core
[ ] Bugfix
[ ] New feature
[x] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

https://github.com/strawberry-graphql/strawberry/issues/542

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

There wasn't any test on these methods already and I don't think this functionality is very complicated at the moment.
Also not sure about adding to the docs since it might not be the long-term API that is wanted here.

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver,so make sure to pick the appropriate type. If in doubt feel free to ask :)

Are global switches the best option? I think in the ideal situation, this configuration should be stored in the (each) Schema object, but that may be more work than its worth.

Are global switches the best option? I think in the ideal situation, this configuration should be stored in the (each) Schema object, but that may be more work than its worth.

I'd prefer this too if possible, might be a bit of pain to implement though 🤔

Are global switches the best option? I think in the ideal situation, this configuration should be stored in the (each) Schema object, but that may be more work than its worth.

I'd prefer this too if possible, might be a bit of pain to implement though 🤔

@patrick91 What in particular makes it a pain? Is it the problem of essentially having to pass around the schema/config to all the locations that may need it?

@patrick91 What in particular makes it a pain? Is it the problem of essentially having to pass around the schema/config to all the locations that may need it?

@AndrewIngram yes :) also it kinda prevents to convert a type without having a schema (ie if you want to see how a type looks like in the SDL)

Another use case for ContextVars? https://docs.python.org/3/library/contextvars.html

The issue here is that you need to set auto_camel_case before you use any of the field or type functions in strawberry. So adding the option to strawberry.Schema won't actually affect the behavior (even if you use a contextVar there), because the name has already been camelCased before you even initialize the schema.
i.e. In the way strawberry is currently setup, you have to modify some global value before you run any strawberry methods to make a feature like this work.


Webchat control custom build in ASP.NET website

I have ASP.NET website , which have webchat control. I have configured DirectLine channel. The styling works well, as i include botchat.css in my content folder.
Now I need to include speech to text capabilities. I know there is separate branch which I need to download, build and refer.
The instructions say it is possible in REACT website.
My question : How can i add speech to text build in my ASP.NET website?
looking forward for your response.

Please see the samples in the speech branch here: https://github.com/Microsoft/BotFramework-WebChat/blob/speech/samples/speech/index.html

The client code will be the same whether you are using ASP.NET, Node, Rails, etc. For the most part your  web server won't be involved at all except for serving up the HTML + JS. However if you want your client to use the more secure Token approach then your server will have to generate that and provide it to the client. @danmarshall @GeekTrainer @dandriscoll we'll have to decide where sample code for that should live.

@rohantare Did you add speech to text build in your ASP.NET website

@rohantare I'm closing this issue for now. Please re-open if you continue to have this issue.


feat(platform)!: basic nft support

Issue being fixed or feature implemented
This PR implements the basic needs that were missing from supporting NFTs.
These are the ability to set the price of a NFT (document) and then have a purchaser pay that requested price to acquire the asset.
NFT stands for Non Fungible Token. NFTs in Dash can be bought and sold if the data contract specifies so.
What was done?
In this PR we also added the ability to restrict documents to only be created by the owner of the contract if this is specified in the contract.
How Has This Been Tested?

Breaking Changes

Checklist:

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have added or updated relevant unit/integration/functional/e2e tests
[X] I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
[X] I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

I think NFT support should not be rushed into Platform v1.0 like this (on the Dash Roadmap both Fungable tokens and NFT support are reserved for Platform 2.0, not Platform 1.0). With the current Platform storage size restrictions (due to a fear of possible misuse of Platform to store 'illegal data') already preventing Dash users to store their Platform Identity profile picture directly on Drive with the MVP version of Platform (Platform 1.0), i think this NFT basic support feature will be pretty darn difficult to promote to Dash users (as NFT images themselves currently can't be stored on Drive).
If this NFT basic support feature just serves as a framework for future NFT implementation, i think its too disruptive to other developers right now, who will need to analyze 5000 lines of additional code and suggest changes, all a few months before release of Platform v1.0 and on a feature thats not even on their immediate todo list.
I also think Evonode owners should have a say in this NFT support, by voting it in through a Evonodes network polling vote after activation of Platform 1.0 on Dash Mainnet.
If we want NFT support, we should do it the right way : implementing it after a solution has been found or consensus has been reached to what kind of data we want stored on Drive (all data ? certain data ? the ability to exclude certain 'illegal data' ?) and after the Platform storage size restrictions have been lifted.

m v1.0 like this (on the Dash Roadmap both Fungable tokens and NFT support are reserved for Platform 2.0, not Platform 1.0). With the current Platform storage size restrictions (due to a fear of possible misuse of Platform to store 'illegal data') already preventing Dash users to store their Platform Identity profile picture directly on Drive with the MVP version of Platform (Platform 1.0), i think this NFT basic support feature will be pretty difficult to promote to Dash users (as NFT images themselves currently can't be stored on Drive).

You might have some misconceptions about NFTs in blockchain, NFTs described in https://eips.ethereum.org/EIPS/eip-721 are just an identifier to other data in this case they are described as a token id uint256 (32 bytes). In our system our NFTs have slightly more capabilities as they represent not only the identifier but the document, that itself can have references. In either case pictures or other blobs of data are not inside the NFT, even though the NFT can reference them. This is pretty standard across blockchains.
This isn't an afterthought either. This has been well thought out over years of development. Not having NFTs at release didn't make sense when the amount of work was so little. There was massive upside on having this feature, with little to no downside.

Yay, we now have NFTs.


Please add me

looking forward to using this software<EMAIL_ADDRESS>Thanks
Brian

please add me too. I have dropped you a mail regarding this also.

@bakbakbak I've added you


Fix ExecutionResources::increment_syscall_counter

The method was only updating the counter for syscalls that where already in the syscall_counter hashmap, as this hashmap started off empty, the syscall counter was never modified
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #971 (3578fb5) into main (f5755ae) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #971   +/-   ##
=======================================
  Coverage   90.13%   90.13%
=======================================
  Files          54       54
  Lines       13700    13710   +10
=======================================
+ Hits        12348    12358   +10
  Misses       1352     1352

Files Changed
Coverage Δ

src/lib.rs
98.77% <100.00%> (ø)

src/state/mod.rs
95.04% <100.00%> (+0.16%)
:arrow_up:

src/transaction/l1_handler.rs
97.18% <100.00%> (ø)


Question: Different results when using multiple proxies with react router.

So I created my react app and added react router, I have the proxy property in my package.json as so
"proxy": "http://myurl:1000"

http://myurl:1000 has an endpoint /users (so http://myurl:1000/users) that returns json data. With react router, I can create my own endpoint of the same name (http://localhost:3000/users) and I will get my component/page of users, not the JSON data.
And if I use fetch, axios, ajax etc to the endpoint of http://localhost:3000/users, I will get the json data. This all makes sense as you state in the WebpackDevServerUtils.js. However, how should I go about this for multiple proxies ?
On that same file of WebpackDevServerUtils.js and the same line, the context method is different when I specify a string (a single proxy), and the method you give for context is different when I specify an object (multiple proxies). See the code.
So I created this...
"proxy": {
    "/apiv2": {target: "http://differenturl:1001"},
    "/": {target: "http://myurl:1000"}
 }

With this, if I try to go to http://localhost:3000/users, in fact, any endpoint, it will go to the http://myurl:1000 endpoint and return me either the json data or a 404 page from the myurl:1000, not the react router page/component I have setup.
Keep in mind that http://myurl:1000 has, let's say, 20 end points. Will I have to specify each and every single one ? Or is there something I am missing/need to specify in the proxy object ? Any help with this would be appreciated, thanks!

Multiple proxies do not abide by the same rules, they are custom in this nature for that reason.
Why aren't you namespacing your API calls, to say, /apiv1?

So there is no way to have multiple proxies abide by the same rules as a single proxy in the package.json proxy property. I tried looking for some property options in the node http proxy options but found nothing. If not it's no big deal, I can specify each endpoint in the package.json proxy property.
As for the namespacing, I was simply providing an example.

You'll have to specify each one unless if you can use some sort of globbing.

I'll close this as it's rare to have non-namespaced API (and question has been answered); if it's actually a different URL in production, you should be using an environment variable.

Alright, thanks for the help, I appreciate the fast response.

No problem!
To expand on what I said earlier slightly, you can create an environment variable named REACT_APP_API_V1_URL and then prefix all of your API calls using process.env.REACT_APP_API_V1_URL.
If this doesn't fix your use case, I suggest namespacing your API because serving an API endpoint and then HTML page from the same route is super confusing (where you're toggling based on headers).


do we still need vmvx module entry points to be typed?

Now that the actual ukernel entry points are untyped, do we still need the VMVX module entry points to be typed?
At least we can make them untyped now, and this PR shows it's a bit of a simplification.
In the past we had discussed a few potential benefits of having typed entry points even if they internally all go through the same untyped internal entry point:

It could allow to implement target feature support discovery ("does this target have a ukernel for FP16 mmt4d?") as symbol lookup. But thinking about it: isn't the set of supported types just one special angle here, won't we need to perform discovery on more general dimensions ("does this target support this combination of ukernel flags") for which we will need to lift the discovery into proper code anyway (e.g. for each ukernel, have a companion entry point for feature discovery) ?
It keeps it an impl detail that the impl is untyped. I would say that's not very important -- worst case we are talking about one well-predicted branch and one function call.

I think we could make this simplification - it'll keep the binaries smaller too which is nice. The versioning thing is still going to be important at some point especially with datatypes - if there's no f16 ukernel because the hardware doesn't support it but the vmfb uses it we have two options: ship emulated f16 everywhere that needs it in the runtime (prohibitive as we get into weird f8 data types and such and other weird things) or have the compiler emit the fallback path that may widen/use f32/etc). We can cross that bridge when we come to it - there's lots of ways to navigate that (device queries, optional imports, and executable constants would let us branch around instead of needing the native vm import fallbacks and such).

We can cross that bridge when we come to it - there's lots of ways to navigate that (device queries, optional imports, and executable constants would let us branch around instead of needing the native vm import fallbacks and such).

Right, these were my thoughts too. We will see what concrete examples the future brings, and maybe it will tell us that we need an explicit capability query function, not necessarily something that's a good fit to do as a weak symbol.


Power data is 5mins displaced compared to tesla app download

Hi.  Thanks for building this, great help to start understanding and making use of teslapy.
The power data downloaded is consistently 5 mins displaced compared to the tesla app downloaded data.  For example, the data from this download for '31/8/2024  12:00:00 AM' matches up with the tesla app download data at '2024-08-31T00:05:00+10:00'.  Easy to work around, but thought you might be interested to know and have an idea why.  I can tell that you are just passing through what is provided by the api, so clearly not an issue in your code.
Interestingly the data for 'soe' matches up exactly with tesla app download.  You might want to add to the readme that you also download the 'soe' and that it is the state of charge of the powerwall(s).

Thanks for the report. I can reproduce the 5 min offset. I cross-checked the data using Powerwall-Dashboard (which independently aggregates readings from the gateway) and the data in the Tesla app downloads looks to be incorrect. The timestamps of course are assumed to be the start of the 5 minute interval. I suspect that's where the issue is -- the Tesla app uses this data set for the energy charts, where the 5 minute average value would be shown at the end of the interval instead of the start. But for CSV files it seems more intuitive to use the start times.
I documented the state of charge data in the README, thanks for the suggestion.


rspec-retry not compatible with RSpec 3.3

In RSpec 3.3 we modified our private api for storing memoized variables (lets and subject), the monkey patch you're using is now incompatible see rspec/rspec-core#1999

In general, we prefer if extensions limit themselves to our public APIs, as that prevents this kind of issue.  What kind of public APIs would you want to no longer have to monkey patch RSpec?

lib/rspec_ext/rspec_ext.rb#L15

We're aware of what you currently (incorrectly) do to override our private APIs, I feel you would to better to retry examples without keeping existing instances around...

:+1:

Works like a charm, @y310 can you merge this and release? Thanks

@JonRowe suggestion for where to wrap tests for retries?

closing for #35


Added Result view

New Result view component Added

Hum, this component is really specific, I'm not sure we want this component in specific. I'm gonna leave this parked while we discuss this

Hum, this component is really specific, I'm not sure we want this component in specific. I'm gonna leave this parked while we discuss this

It is very useful. One of my project I used this. You can show this on model for any operation status.

The code is very clean I like that. I feel as though this component is very niche though. What are some practical uses for it?

The code is very clean I like that. I feel as though this component is very niche though. What are some practical uses for it?

This is result component. When important operations need to inform the user to process the results and the feedback is more complicated. It's out of the box we are providing in toolbox.

AntD has a similar component https://ant.design/components/result?theme=dark
I think it's nice to have. But really, it's very easy to put this together from existing components, even without specifically making a component for it in the library.

I'm gonna close this for now, it's not a priority.


improvement Storage page cache use LRU-K cache, K=2

What problem does this PR solve?
Storage page cache uses plain LRU Cache, occasional batch operations can cause "cache pollution" in plain LRU Cache. This will cause hotspot data to be squeezed out of the cache by non-hotspot data, reduce cache hit rate.
In extreme cases, if the number of pages inserted each time is greater than the cache capacity, the cache hit rate will be 0.
Introducing LRU-K Cache avoids "cache pollution" in most cases.
Last submitted #28794
Similar PR: https://github.com/apache/doris/pull/23546
Performance test on branch-2.1:
1-FE, 3-BE (32 Core, 128GB Memory) Doris cluster
ssb_sf_1000 all query cost: 18.85s -> 14.44s, 23% improvement
ssb_flat_1000 all query cost: 12.21s -> 8.54s, 30% improvement, cache hit rate 1% -> 40%
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall

run buildall

run buildall

run buildall


Dexrank not adding homes.

Hi, it's Kog, I play on Titan and have the Jade rank purchased, Jade rank gave me 3 extra homes and when I reached the poke dexrank and claimed it I did not receive 2 extra homes on top of Jade rank. Here are some screenshots :)

Apparently it updates when you use /sethome and not when you log on, thanks Val for figuring that out. Closing for now, will reopen if that doesn't work.


[HELP]

Hi!
I tried to run this Jupyter Notebook. Before I started the process, I carefully installed the required packages and got my credentials. When I execute the last chunk of code, I get the following error: FileNotFoundError: During execution of task Animate: [WinError 2] The system cannot find the file specified. It appears to be a major issue with the paths, since many of them are hardcoded for Linux.
I would be very grateful if you could help me :)
Kind regards,
Daniel
PS: I work with Windows and Python 3.7.9

Hi @viajerus !
Thanks for showing interest in the notebook. As you already correctly pointed out, the notebook is hardcoded for Linux, yes..
If this is just an issue with paths, perhaps you can just use the proper slash notation, or even better, to use
import os
os.path.join('a', 'b', 'c')

in order to properly concatenate parts of the system path with respect to the system you are using.
I hope that helps for now. If it does, feel free to make an update PR yourself, otherwise I'll update the notebook in the near future.
Thanks for pointing out the issue!

Hi @mlubej !
Thank you for the hint. I will try it out and see what else needs to be fixed.
Best wishes,
Daniel


text embedding URL construction needs more validation

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

deploy using "Deploy to Azure" button
Set azureOpenAIResource: https://charris-openai4.openai.azure.com/
Set azureOpenAIEmbeddingModel: text-embedding-ada-002
Visit the Ingest_Data page
Paste in a URL and press the button to process

Receive the following error:

Error communicating with OpenAI: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //charris-openai4.openai.azure.com/.openai.azure.com//openai/deployments/text-embedding-ada-002/embeddings?api-version=2023-07-01-preview (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x73dd80a32740>: Failed to resolve 'https' ([Errno -2] Name or service not known)")

It looks like I provided the wrong value for azureOpenAIResource, but the instructions were not clear and there was nothing that caught the misconfiguration.
Any log messages given by the failure

Expected/desired behavior

page is processed without error.
but, if there is a configuration error, I would like to be able to correct it on the Configuration page

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

I've been continuing to work on this and realized that the AZURE_OPENAI_RESOURCE env var is set for both the Function and the Admin website. I was changing it on the admin website and was still getting the same error until I noticed something that mentioned "Function" so I updated the env var for the function app. This allowed my URL to be processed, but the instructions and validation of the template parameters could use some improvement.


[GIE/IR] Fix the bug when fuse filter in Auxilia

What do these changes do?

As titled. Currently, in Auxilia, we will try to evaluate the filter expression before pushing down to the storage, in case that some computed values of variables are missing. Specially, if all the values of variables can be pre-fetched, we will evaluate directly without pushdown the filter.
Related issue number

Fixes #2021

Should be further designed


fixed head printout and flight demo index

For the flight fix:

addedstorage_options={'anon': True} to fix s3 issue with public files and dask
df = df.reset_index(drop=True) is there because the dataframe is read in parallel with dask, and the index needs to be reset since these values are used to create the trip_id

For the head fix:

there was a circular call in the head function of entityset. This is fixed by calling head on the entity which uses self.df.head to get the values.
cutoff_time for head is not implemented yet.

This all looks good to me


Reduce CRD limit to 5k

What does this PR do?
Reduce number of CRs from 10k to 5k as it should already fit most use cases
Motivation
Reduce risk of collecting too much data
Describe how to test/QA your changes
The limit was already tested when introduced
Possible Drawbacks / Trade-offs
Additional Notes

/merge


chore: linx fixes for README and features

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Linx fixes for README and features
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[x] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[x] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Word andPhrases Score
CorrectnessScore
Scorecard
Processed

website/README.md
100
100
100
link
:white_check_mark:

website/docs/features/responsible_ai/Data Balance Analysis.md
87
100
78
link
:white_check_mark:

website/docs/features/simple_deep_learning/about.md
87
100
37
link
:white_check_mark:

website/docs/features/spark_serving/about.md
90
94
65
link
:white_check_mark:

website/docs/features/vw/about.md
93
100
74
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Word andPhrases Score
CorrectnessScore
Scorecard
Processed

website/README.md
100
100
100
link
:white_check_mark:

website/docs/features/responsible_ai/Data Balance Analysis.md
87
100
78
link
:white_check_mark:

website/docs/features/simple_deep_learning/about.md
88
100
44
link
:white_check_mark:

website/docs/features/spark_serving/about.md
90
94
65
link
:white_check_mark:

website/docs/features/vw/about.md
93
100
74
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx


Client - propagateHeaders is depending on the JWT token to be in the header.

Need to gracefully down grade the behaviour to something reasonable but not give errors. Or this is just an education issue? It is a good idea to enforce security if people want traceability and metrics?

Several people report this issue and this is not a bug. The propagateHeaders method will pass the traceabilityId(if exist), correlationId and subject JWT token to the request to the next service. In additional, it will call OAuth2 server to get access JWT token and pass it as well. The exception happens when OAuth2 server is not available. Since there is no dependency between client and security module so client doesn't know if security is enabled or not. To make it work, the API handler should check if security is enabled before calling this method.
Here is the code in the beginning of the handler.
    static Map<String, Object> securityConfig = (Map)Config.getInstance().getJsonMapConfig(JwtHelper.SECURITY_CONFIG);
    static boolean securityEnabled = (Boolean)securityConfig.get(JwtHelper.ENABLE_VERIFY_JWT);

And later on you can call the method wrapped by if.
            if(securityEnabled) {
                Client.getInstance().propagateHeaders(httpGet, exchange);
            }

The example ms_chain has been updated with this approach. The issue is closed.


Small Distribution/Display Changes

Simple fixes for 1M samples error: https://github.com/quantified-uncertainty/squiggle/issues/1909
Show "Not Normalized" warning for not normalized point sets.
Adjust tick count based on width and height. This helps in cases of now-height charts, which used to have a lot of ticks.
Change discrete points to be darker.
In VariableBox, show types and length of records and arrays.

Codecov Report

Merging #1912 (3abe5ed) into develop (d2304f7) will increase coverage by 0.43%.
The diff coverage is n/a.

:exclamation: Current head 3abe5ed differs from pull request most recent head c6602dc. Consider uploading reports for the commit c6602dc to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           develop    #1912      +/-   ##
===========================================
+ Coverage    70.46%   70.90%   +0.43%
===========================================
  Files           99      100       +1
  Lines         4981     4980       -1
  Branches       954      938      -16
===========================================
+ Hits          3510     3531      +21
+ Misses        1444     1422      -22
  Partials        27       27

see 32 files with indirect coverage changes


Audio/video chat room

Naive first implementation:

Upon entering a special room, you're added to a videochat with everyone in there, using a WebRTC full-mesh topology
Toggles to not send your video and/or not receive video from anyone else
Toggle to receive captions

If anyone toggles this, every single client generates captions for their own speech, and sends the raw captions over p2p data channel to people who request it. Gets displayed in chat scroll.

Toggle to do text-to-speech

Submits mp3 taken from tts-ing what you type in the text chat

For v1, no max room size. Good thing to test.

The technical underpinnings of spinning up a WebRTC full-mesh topology are in place (just call "broadcastPeerId", and all peers in the same room will attempt to connect to you)
What's needed:

[ ] When in a room with media chat, add a 'join' button that, when clicked, calls broadcastPeerId
[ ] Next to the button, show how many people (who?) are in chat
[ ] If you receive a broadcastPeerId request, don't respond unless you're already in webRTC mode
[ ] AV selector
[ ] Toggle to disable sending your video/audio
[ ] Toggle to disable sending others' video
[ ] Toggle to receive captions

Send message to everyone who's connected that you want captions.
When you receive caption request from at least 1 person, STT everything you say. Broadcast that over webrtc data to that person
When you receive caption data, display it as a message that indicates it's a transcript

[ ] Toggle text-to-speech

If enabled, when you send a text message, either: generate an mp3 and stream that data, generate an mp3 and data-send the URL, or tell each other client to use client-side TTS

Some WIP work was done to let you mute others' streams, but it seems not viable. It's on the mute-others branch.
I tried removing tracks from the stream for a given peer, but WebRTC explicitly yelled at me that I couldn't re-add a removed track, I needed to enable/disable the track.
However, right now, there's a single universal stream/track across all peers, so if I enable/disable, it will do it globally for all peers you're sending data to.
Open question: I can clone() a MediaStream to make a copy. If that has no performance ramifications, we can create clones of the mediastream for every peer and this will work.

Note to self: do text-to-speech and speech-to-text on Twitchstream.

Videochat may not be fully working, but closing this for now as a historical artifact


Add attention slicing

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Other fixes were made herE: https://github.com/rohitgr7/stable-diffusion/pull/5
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Nice, can we transfer the fork under the lightning org?

Nice, can we transfer the fork under the lightning org?

done! will update the branch in the app once these changes are merged.


[Bug] : Nav bar mismatch color

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

In this application mobile site cannot proper approach by the Nav bar , because the nav can background can't proper.
Half nav can be black and another half is transparent approach..
please assign me ..

Screen shot

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sivaprasath2004 do read COntributing.md while making a PR and list up your contributions


Missing logging for request too size cases

There seems to be a gap in requests/exceptions events when clients make a request that is too large and gets 404 in response from asp.net
Repro Steps

Have a controller that accepts a PUT request
Send a PUT request that exceeds the max request size

Actual Behavior
Client gets 404 response, no telemetry is generated in requests or exceptions tables
Expected Behavior
Client gets 404 response but telemetry visible in requests and possibly exceptions as well
Version Info
SDK Version : 2.1.503
.NET Version :
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : VS using AI.AspNetCore package
Hosting Info (IIS/Azure WebApps/ etc) : Azure webapps and AI extension

If there was no indication in .NET pipeline that this request ended abruptly, AI could not have a chance to learn about this request being abandoned. As a workaround, you may submit RequestTelemetry with any status code manually via TrackRequest() API on TelemetryClient.
However, in this particular case you may need an additional simple tracking system for the requests that started but have not finished in X amount of seconds (some sort of hash map) and only use TrackRequest manually for those requests that overstayed in that hash map..

@BertanAygun Please try to use the latest beta SDK, and see if it helps - we now capture exceptions from ILogger by default, so quite likely you'd see atleast an exception.
Please reopen if you have more question on this.


User pages

Implement user page based on new contract methods

[ ] User profile page

[x]  Edit profile page

https://www.figma.com/file/3UUMChv0qaOOkHoddpEFgA/SOURC3?node-id=3362%3A434
https://www.figma.com/file/3UUMChv0qaOOkHoddpEFgA/SOURC3?node-id=3370%3A769
https://www.figma.com/file/3UUMChv0qaOOkHoddpEFgA/SOURC3?node-id=3364%3A554

Update status:

What`ve done is:

[ ] upload/remove avatar

[ ] send updated info on backend

[ ] breadcrumbs

What`ve done is:

[ ] view info profile

[ ] social networks links

[ ] view repository

[ ] view organizations

[ ] view projects


Missing years in year facet

For the dataset http://bibsoup.net/pitman/peter_olver_s_references
the year facet dropdown shows first year 1924
But there are may earlier  years in the dataset e.g.
http://bibsoup.net/pitman/peter_olver_s_references?q=1889 returns 5 records with year 1889
http://bibsoup.net/pitman/peter_olver_s_references?q=1912  returns 2 with year 1912

This is because the amount of years is greater than the default amount displayed for that field. It is editable in the display settings for that collection, although the functionality for doing the editing is not great. That is something that is already being improved in the current work to improve the frontend, so am pulling this ticket into the frontend edit milestone.


Bug: Icon on fly-out

In the detail fly-outs where we have an expression using anything but equals it doesn't set the icon. This needs further investigation.

Have tracked down the allowed values on Line 70 in /src/sql/parts/dashboard/widgets/insights/insightsWidgetSchemas.ts
enum: ['equals', 'notEquals', 'greaterThanOrEquals', 'greaterThan', 'lessThanOrEquals', 'lessThan', 'always']

The problem with our fly-out is the case sensitivity of the values.


UI: draw path from planner

On master, update_model takes on average 0.093 ms to execute with a standard deviation of 0.065 ms.
On this branch:
update_model() takes on average 0.078 ms to execute with a standard deviation of 0.033 ms.
update_plan() takes on average 0.013 ms to execute with a standard deviation of 0.006 ms.
So together, they average 0.091 ms, nearly identical to the time taken before for the combined function.

Closing for now. 2.5s isn't enough at low speeds.


Support unicode for filling forms

Hello. I tried to fill a value with keyboard input.
English is OK. but it seems it doesn't accept other languages.
I think it is encoding problem.
I hope I can fill it with various languages.
Thank you.

It should work, so that's weird. Could you provide the input, expected output, and actual output? Ideally supply a small working code sample as well.

`require "marionette"
Marionette.launch(headless: false) do
goto("http://google.com")
elem = find_element(Marionette::Browser::LocatorStrategy::XPATH, "//*[@id="tsf"]/div[2]/div/div[1]/div/div[1]/input")
elem.send_keys(["한국어"])
save_screenshot("watzon-tech.jpg")
sleep 7000
elem = find_element(Marionette::Browser::LocatorStrategy::ID, "password")
elem.send_keys("teamwork")
end`

require "marionette"
Marionette.launch(headless: false) do
goto("http://google.com")
elem = find_element(Marionette::Browser::LocatorStrategy::XPATH, "//*[@id="tsf"]/div[2]/div/div[1]/div/div[1]/input")
elem.send_keys(["한국어"])
save_screenshot("watzon-tech.jpg")
sleep 7000
elem = find_element(Marionette::Browser::LocatorStrategy::ID, "password")
elem.send_keys("teamwork")
end

require "marionette"
Marionette.launch(headless: false) do
goto("http://google.com")
elem = find_element(Marionette::Browser::LocatorStrategy::XPATH, "//*[@id="tsf"]/div[2]/div/div[1]/div/div[1]/input")
elem.send_keys(["한국어"])
save_screenshot("watzon-tech.jpg")
end

So I think you may need to try something more along these lines:
Marionette.launch(headless: false) do
  goto("http://google.com")
  elem = find_element(:xpath, "//input[@name='q']")
  elem.try &.send_keys("한국어")
  save_screenshot("google.jpg")
end

Keep in mind these things:

find_element may return nil if no element was found, therefore you should be using try with elem
send_keys accepts a number of strings as arguments, no need to do an Array

I just realized that find_element also has a bug in the latest master version, so I'll update it right now and make a new patch release

@sclee15 please let me know if that works for you. It worked in my tests.

Awesome it works thanks.


Steps Say Create in Pages rather than Views

At step to create Razor pages, suggests creation at /Pages directory rather than /Views.

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Part 2, add a model
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's correct. Your confusing MVC with Razor Pages.

@montelco, you can check out an equivalent MVC app tutorial is here: Create a web app with ASP.NET Core MVC, in case that is what you were really looking for.


Better handling of the chmod

Instead of a blind chmod -R 0775 on files and directories, let's associate the right mode to the right content type.
Also, in order to prevent pre-commit to crash due to files being edited, let's tell git to not care about file mode changes.

lgtm