Rest of the message events and other changes

Thanks, although I would like you to use these emojis for commits from now on and if you don't well don't expect your PR to be merged.


improvementChange auto analyze max width to 300 and health threshold to 90. (#42104)

backport: https://github.com/apache/doris/pull/42104

run buildall

run feut


runner  doesn't pick the tolerations

I added tolerations to PodTemplatespec, however it doesn't get picked, however for deployment it does get picked.
Appreciate any kind of help here.

It should work just fine as tolerations are part of podspec which is used raw. Are you sure that you have the latest CRD and the latest version of the operator?


Re-slugging the children.

I hope this example explains the case.
Brands have outlets outlets.
The outlet's slug is defined as:
public function sluggable()
    {
        return [
            'slug' => [
                'source' => ['brand.name','area']
            ]
        ];
    }

When the Brand's name is updated, the outlet's slug is not.
How to update the slugs for children?

There isn't a mechanism to handle this automatically, so you'll have to loop through the brand's outlets and slug them manually.  One way would be something like this:
$brand->name = 'New name';
$brand->save();

$brand->outlets->each(function($outlet) {
    $outlet->slug = null; // forces reslugging
    $outlet->save();
});

Works! Thank you.


feat(spanner): add samples for database roles

Adds samples with database roles on requests.

I'll work on a sample for ListDatabaseRoles soon.

@varuncnaik Looks like there are some compilation errors caused by missing types. You'll need to upgrade the underlying client if these are new methods and types you're using.

@varuncnaik Still seeing some compilation errors. Let me know if you'd like some help with this. Otherwise, I'll assume you ping me when you're ready for another look.

Looks like we're still missing some types:
# github.com/GoogleCloudPlatform/golang-samples/spanner/spanner_snippets
spanner_snippets/snippet.go:825:3: unknown field 'DatabaseRole' in struct literal of type "cloud.google.com/go/spanner".ClientConfig
# github.com/GoogleCloudPlatform/golang-samples/spanner/spanner_snippets/spanner
spanner_snippets/spanner/spanner_read_data_with_database_role.go:32:3: unknown field 'DatabaseRole' in struct literal of type "cloud.google.com/go/spanner".ClientConfig

@varuncnaik Want some help finishing this? We've had this open for quite awhile now.

Hi @enocom, we're aware of the missing types. In my local setup for this PR, I'm editing my go.mod file to replace cloud.google.com/go/spanner with my local copy of https://github.com/googleapis/google-cloud-go/pull/5701.
We plan to merge both of these PRs around the time that Cloud Spanner fine-grained access control becomes generally available. Until then, I am periodically merging the latest main into both PRs and making sure that tests pass locally. CC @rahul2393, in case the two of you want to exchange information over DM.

Sounds good. Just ping me when you're ready and we can merge this.


HelenOS support

There is Lua...
https://github.com/HelenOS/harbours/tree/master/lua

I'll look into it, thanks a lot


Adding more links: person to follow and one presentation

Adding Ian Tabor, Carfucar, CHV and one presentation about car infotainment hacking methodology

@jaredthecoder sounds good

Thanks so much @shipcod3!


Custom warning when rustfix replacing fails

When rustfix fails to replace a chunk of code, we now display a
similar warning than when we "fixed" the code so that it no longer
compiles.
Previously, when rustfix fails to apply suggestions to a file, we bailed
out of the whole loop over all the files in the current target. Instead,
we'll now log a nice error message. (I'm not sure if that is a good idea
but we will revert non-compiling changes later on anyway.)

Looks great! We'll figure out to do once the upstream bug is fixed :)


Container lookup by name should consider docker-compose project ID

now it very intermittently fails if there are multiple projects using GEP with same container names

https://stackoverflow.com/a/40808818/3360007


Mod: Language filter

This is an updated version of my greasyfork script that filters posts based on the language indicated in their badge. I might need to make some adjustments to account for OC posts, and untagged posts (in case people want to filter out all English posts)

Thank you, will test and revert back. Question for you: the initial design calls for the remote scripts (mods) to be archived at this repository under the /mods dir so that the megamod calling script fetches the resources from a single endpoint.
Rationale: mods are fetched from the remote resource URL and not actually "installed" by the user. They are loaded at runtime the first time and then cached locally.  While, e.g., vim plugin managers like Plug and Vundle let users specify arbitrary remote repos, I feel like the target user is more technically-minded and they can audit their own plugins list.
With this, users are loading the single megamod script and might not see/understand where the remote files are coming from. I feel this represents a (very small) security risk because the author of the upstream script could make changes that the megamod user isn't aware of. Granted, that's true when installing any script off of greasyfork, too, but I feel like we should apply the principle of least trust here and whitelist the incoming mods by archiving them into the /mods dir as a copy so that they are immune to any change at the remote destination.
This way we can be sure that the mods being served through megamod have been audited and have not undergone any random changes. What do you think?
Regarding GUI creation, I have started a new discussion thread here: https://github.com/aclist/kbin-megamod/discussions/3

As a follow-up to the above, since it's reasonable to assume that every mod author isn't going to bother porting their scripts, I think it also makes sense to archive the good ones into megamod (with proper attribution, of course) and extend them by adding toggle functionality.

I think it'd be a great idea to have all of the mods contained in this repository under the /mods dir, makes sense security-wise, and it should hopefully be pretty easy to encourage script authors to port their scripts into here. Speaking of attribution, I feel like you could add a field for each mod's author so they show up in the settings next to the toggles.

I think I sorted out the @require, but what do you mean by adding the file to the source repo? Shouldn't it get added once you merge the pull request?
PS: sorry about all the extra commits that just got added, I'm still working on learning git. I should've made a separate branch in my fork for this, I'll make sure to do that next time

You are correct, sorry, I blanked out while doing the review and didn't notice the adjoining file for some reason. All you had to do was update that includes line!
Yes, agree, best to make a patch branch instead of pushing into main so that the maintainer can pull and test the branch before approval.

On initial testing, this works when newly enabling the filter to ON, but if the filter is already to ON and the page is reloaded, it is not triggering as intended. Possible race condition? I'll try debugging it later. Basically, the code should be stateful so that previously ticked options are sticky and persist sessions.
Off the top of my head, possible fixes might be: use the method @run-at document-end or load waitForKeyElements.js

I think there's an issue with the dropdown mod trying to disable itself that causes the rest of the mods to stop loading. Not sure how to fix that, but I just commented out the lines enabling it in megamod.user.js to get everything else after it to work

OK, great, duly noted, that is on me. The dropdown is buggy and I need to look at it. We should probably use a try-catch statement to allow other mods to pass if one of them fails.


Feature Request: Display Vulkan handles in Resource Inspector

If I'm not mistaken, the default identifier for Vulkan resources in the playback system is just a monotonically increasing ID (for an unnamed resource).  It would be useful if the handles returned to the app were displayed in the resource inspector, at least, so that unnamed resources can still be identified in a debugging session by comparing the value of the VkImage, VkBuffer, etc. to the resource inspected in the RDC.
If this is already supported and I've missed it, please disregard.

This is inadvisable for a few reasons: Vulkan handles can be re-used if an object is destroyed then a new one is created, many vulkan types are not required to be unique (the classic example being VkSampler for which an implementation is free to return duplicate handles), and with the layer system the handle that RenderDoc's layer sees might not be the same as the handle the application sees due to object wrapping. Other APIs have similar issues, which is why the unique ID is generated to ensure a consistent identifier for each resource.
If you need to correlate resources in a capture to resources from the running application then you can use VK_EXT_debug_utils or the older VK_EXT_debug_marker to give those resources names, which is a good practice anyway.


Allow negative integers fix #397

THIS IS MY FIRST COMMIT EVER {help please}
Usage:
      mystuff <x> <y>

now accepts mystuff -2 4
One consequence is that it bans the use of :
Usage:
        mystuff -10
Options:
        -10      This is totally a valid option but what is the use case ?

Nope, There is a bug in my code, also, I will make floats work too.


[BC API 2.0 | Get vendorPurchases] Update request url

Hello there,
whenever I send a request as the following: {{url}}/api/v2.0/companies({{companyId}})/vendorPurchases({{vendorId}})?tenant={{tenant}} I receive the following response error:
{
  "error": {
    "code": "BadRequest_NotFound",
    "message": "The number of keys specified in the URI does not match number of key properties for the resource 'Microsoft.NAV.vendorPurchase'."
  }
}

Turns out I have to place every key inside the vendorPurchases(...) ending up with 3 keys:

Vendor ID
Vendor Number
Vendor Name

The updated request url: {{url}}/api/v2.0/companies({{companyId}})/vendorPurchases({{vendorId}}, '{{vendorNo}}', '{{vendorName}}')?tenant={{tenant}}
What do you think? Is this correct or is there a trick? 🦦
Source Content: https://learn.microsoft.com/de-de/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_vendorpurchase_get

This is correct, thanks a lot for your contribution!


Regarding manga download

Though I can download comics easily on the app, no mangas could be downloaded. Though folders are getting created, no images are being downloaded in the folders.

Maybe just because the web site no longer publish readable content...


Add CReLU Activation Function

CReLU Research paper : https://arxiv.org/pdf/1603.05201v2

Codecov Report
Attention: Patch coverage is 69.23077% with 12 lines in your changes missing coverage. Please review.

Project coverage is 57.71%. Comparing base (7496e18) to head (193cdbc).

Files with missing lines
Patch %
Lines

keras/src/backend/jax/nn.py
16.66%
5 Missing :warning:

keras/src/backend/torch/nn.py
20.00%
4 Missing :warning:

keras/src/backend/tensorflow/nn.py
33.33%
2 Missing :warning:

keras/src/ops/nn.py
92.30%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (7496e18) and HEAD (193cdbc). Click for more details.
HEAD has 6 uploads less than BASE

Flag
BASE (7496e18)
HEAD (193cdbc)

keras
4
1

keras-torch
1
0

keras-tensorflow
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20233       +/-   ##
===========================================
- Coverage   79.38%   57.71%   -21.67%
===========================================
  Files         501      501
  Lines       47483    47522       +39
  Branches     8718     8719        +1
===========================================
- Hits        37694    27428    -10266
- Misses       8025    18386    +10361
+ Partials     1764     1708       -56

Flag
Coverage Δ

keras
57.71% <69.23%> (-21.53%)
:arrow_down:

keras-jax
?

keras-numpy
57.71% <69.23%> (+0.01%)
:arrow_up:

keras-tensorflow
?

keras-torch
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Integrate Sparkle for easy updates

The Sparkle framework is ready and waiting as of macOS 0.1.1 (see bbc3d0d8f270bbefbd25b46554384cd5023456ac), but 0.1.2 is probably the first release to actually make use of it.

Won't fix. Distributing via the App Store.


Firefox 68 build in Picture-in-picture

Firefox 68 build in Picture-in-picture(Pip):
https://www.ghacks.net/2019/04/22/firefox-68-picture-in-picture-mode-for-video/
For some reason, I think it's the time to stop maintain this add-on and archive it:

This add-on only work on specific web site(YouTube, Twitch etc.); Pip support all web site.
Some WebExtension API limitations are unresolved(#4, #14, #15, #17); Pip support them.
Some issues that I think Pip will support in future(#11)

But with this addon we get all player controls! With the FF pip only play pause!

I second what @Cris-- comment. Also with ettoolong's addon you can locate the Pip wherever you want by simply dragging the popup.


fix(services): replicas numbers display

Fix a bug on replicas number display for services in global mode with constraints or replicated mode with tasks in unknown state (e.g. Desired State != Current State)
Missing nodes.labels and engine.labels constraints evaluation.
Closes #1990 .

Note : constraints on node or engine labels are not supported yet, will add them soon.

@deviantony updated

@deviantony updated


Problem with C++ scope detection

VSCode Version: 1.15.0
OS Version: macOS 10.12.6

Steps to Reproduce:

Create this .cpp file, put the cursor in the function body of foo().

2.Check the scope at the down-right corner of VSCode window. It says "Global scope", but it should be a function scope (if I understand this feature correctly).

If the cursor is inside a class definition, it still says "Global scope".

Reproduces without extensions: Yes

Moved to https://github.com/Microsoft/vscode-cpptools/issues/1173


[Backport release-23.11] tutanota-desktop: 3.118.27 -> 3.122.5, use appimage

Description of changes
Backport of #278953 by @WolfangAukang.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Can this be merged now?


Update displayStrength more often.

I wondered how to change how often the display strength checks for WiFi strength.  I would like the display strength symbol to change to the noneColor when it looses connection.  Any help would be greatly appreciated! Awesome module by the way!

I don't know exactly what updateInterval controls, but setting that to something above 20000 (for the maxTime default) in the config/config.js file might help. It might not update as soon as the network connection is lost, though.

updateInterval does exactly what you are looking for. Thanks @DrewNaylor 👍


Rewrite

This library is in tatters. Frankly, I'm surprised it still works. Worse still, it depends on dependencies with security issues. The effort required to fix this without introducing breaking changes faces diminishing returns. As such, all development effort is to be focused on rewriting the package to ensure UserFrosting v4 continues working correctly in the future.

Aside from road testing via integration with UF 4.2, this is otherwise done. Will keep it open until remaining milestone issues are resolved.

Some issues observed during the integration testing.

Files going to unexpected locations (relative to location specified in dest). Far to easy to misuse currently, so this should be improved.
LazyPromise is only lazy once, resulting in things being marked as complete way too soon. A fix for this exists, but is yet to be committed.
We'll need to provide the option of specifying what the cwd for bundle resources is, since they are all relative paths.
Need to be careful around how things are piped. If nesting occurs, things can get weird. A fix for this exists but is yet to be committed.
For unit tests, we shouldn't care about the order of returned stream items. Just that they are all there.
types attribute in package needs to specify where d.ts files are. This is fixed but not yet committed.
There is a bad hasOwnProperty check, in that it was looking at the wrong object. A fix exists but I'd like to get unit tests for this case up ASAP.

Gulp is more intuitive around moving files than I had initially gave it credit. We don't need to rewrite paths, just use what was originally called "virtual paths" to permit overrides.

Feature freeze has now gone into effect, and things are looking stable.


mounted symlinks such as \.psf\home can not be read

Please fill out the below information:

Your Windows build number:  Windows NT Version 6.2 Build 9200

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

summary: trying to access a symlinked directory from base/WSL that works from both cmd.exe and Hamilton C Shell.
from cmd.exe

cd /
mklink /D somedir \.psf\home
bash
$ cd /mnt/c/somedir
-bash: cd: src: Input/output error

weird advice such as creating a junction out of the /D directory also fail. Developers mode doesn't help either.
note: in this scenario, OSX is the primary dev environment. Windows is mostly used for testing, and I'd like to replicate what windows based-for-linux using WLS devs are doing, so as to follow their build scripts exactly. Workaround -- probably will just fire up a linux distro. However, if WSL was working with \.psf\home, it would be quite convenient.

What's wrong / what should be happening instead:

WSL is not recognising symlinks that point to Parallels shares (possibly parallels is using network share driver?)

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

n/a

For WSL launch issues, please collect detailed logs.

n/a
See our contributing instructions for assistance.

A long ago * nix OS started to understand the link windows?
Maybe I missed something over time.

#1954. Other one was EINVAL not EIO, but same diff, and same fundamental response.


Internal: aim to reduce number of package dependencies from ~25 to <20

If possible.

The packages are just in the Suggests section and are all related to various data preparation processes and vignettes, so I think my concern about number of dependencies is probably unnecessary actually.
Going to leave the issue open for now, in case there are ways we can streamline that list anyway.

Understood - and I'm making an assumption that the rule of thumb for dependencies that I've seen cited around the web ("try to keep below 20") probably only applies to Depends, not Suggests - so as I said maybe we're fine here and can close the issue.


Adding 3.x to the tabs display authorization-views.md

update aspnetcore/security/authorization/views.md to display the 3.x in the tab

I think that was done that way because it predates our versioning. I'm not even aware if those are approved tabs, but perhaps they are.
Do it this way .......

Add a metadata entry on Line 5 of ...
monikerRange: '>= aspnetcore-2.1'

Drop the 1.x bits and the tab control. Just flow that 3.x/2.x content directly in the text (no controls and no versioning). The whole topic will be versioned for >=2.1 with the monikerRange, so it won't be necessary to version that 3.x/2.x content any longer.

btw -- Update the ms.date of the topic to today.

I've got a few minutes ... I'll take care of it. Thanks for the PR.


Don't auto-add closing quotes in HTML outside tags

When entering characters in HTML, VS Code will auto-close all quotes.
This seems like sensible behaviour within a tag, but outside tags (i.e. in copy) a single-quote could easily be being used as an apostrophe.

I get this but only in Windows, not in Mac.
When I do say
Hello I don'
 that apostrophe gets outputted twice.

This can be disabled by setting editor.autoClosingQuotes to beforeWhitespace.


Reversed the .exe to add missing Form1.Designer.cs

Your repo did not work for me the way you provided it, am I the only one?

Your repo did not work for me the way you provided it, am I the only one?


Linux/Mac: Navigate on text and files by mouse "prev/next" button

This feature already exists in the JetBrains products.

@FateNiki what OS are you on? we do have some support for mouse buttons 4 and 5 to navigate back and forth. But it might not work across all OS yet.

Hi, i use Arch Linux (Linux version 4.8.2-1-ARCH) with Gnome 3.22.1
ср, 16 нояб. 2016 г. в 17:11, Benjamin Pasero<EMAIL_ADDRESS>
@FateNiki https://github.com/FateNiki what OS are you on? we do have
some support for mouse buttons 4 and 5 to navigate back and forth. But it
might not work across all OS yet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/15561#issuecomment-260955801,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AByFa212C_Vxj76PlMDNfYiJ1a3WNMA9ks5q-w7pgaJpZM4Kzoyf
.

Right, looks like we only support it on Windows via https://github.com/electron/electron/blob/master/docs/api/browser-window.md#event-app-command-windows

Just checked JetBrains PyCharm 2016.3.1 on Mac OS 10.9.5, it works there.

This feature would be really useful!

Can we get this working please!
Someone made this a while ago:
https://github.com/jostrander/mouse-forward-back

Sny progress? This feature would be really useful

This is a no-go for many users, I was considering switching from PyCharm but lacking this feature highly reduces the efficiency in navigating through the code if you are used to it. The issue has been open since 2016s and I haven't even found a well documented workout for it yet.

On Mac you can bind those mouse buttons to execute some prev/next keyboard commands with BetterTouchTool.

For reference: Solution using xbindkeys and xdotool.
Place in ~/.xbindkeysrc:
# Mouse Button 8: Code Back
"xdotool key ctrl+alt+minus"
b:8

# Mouse Button 9: Code Forward
"xdotool key ctrl+shift+minus"
b:9

Install dependencies and load ~/.xbindkeysrc config.
sudo apt install xdotool xbindkeys -y && \
  xbindkeys -p

I have a feeling that these buttons used to work before on linux https://github.com/Microsoft/vscode/issues/71318
Am I wrong?

On Windows 10, it works on Visual Studio Code 1.35.1, but not on 1.36.0-insider. Did this feature have been removed or there is some bug?

/duplicate https://github.com/microsoft/vscode/issues/8641


Scene not saving state on play

Fixed an issue where the scene changes wont save when playing

Can one of the admins verify this patch?


Azure AD authentication instructions are incorrect and don't work.

Followed instructions to "Set up authentication using an Azure AD token"
https://docs.microsoft.com/en-us/azure/databricks/dev-tools/cli/#--set-up-authentication-using-an-azure-ad-token
Issue 1: There is a mistake in the command
$databricks_aad_token = az account get-access-token | jq .accessToken --raw-output

[System.Environment]::SetEnvironmentVariable('DATABRICKS_AAD_TOKEN', $databricks_aad_token, [System.EnvironmentVariableTarget]::Machine)`
It contains addition ``` at the end which is incorrect.
Issue 2 (more pressing):
Querying anything using databricks after the setup results in the error. e.,g.
 databricks clusters list

Error
Error: b'\n\n<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n<title>Error 400 io.jsonwebtoken.IncorrectClaimException: Expected aud claim to be: <guid> but was: https://management.core.windows.net/.</title>\n\n
HTTP ERROR 400
\n
Problem accessing /api/2.0/clusters/list. Reason:\n
    io.jsonwebtoken.IncorrectClaimException: Expected aud claim to be: 2ff814a6-3304-4ab8-85cb-cd0e6f879c1d, but was: https://management.core.windows.net/.

\n\n\n'

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

ID: 47bb00ae-8ec1-0000-4972-5dfd22983982
Version Independent ID: 8a8a2723-9a42-1f24-80c4-9c44b59372e2
Content: Databricks CLI - Azure Databricks
Content Source: databricks/dev-tools/cli/index.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@OliverRC
Thanks for your feedback! We will investigate and update as appropriate.

Thanks for your dedication to our documentation. Unfortunately, we have been unable to review your issue and apologize for the delayed response. The requested updates have not yet been made. The timeline for resolution varies based on resourcing. We've created an internal work item (DOC-7089) to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary.
#please-close


Your application could not be compiled, because its dependencies could not be established.

when i create a new dart file and run android studio,it throws Your application could not be compiled, because its dependencies could not be established this probleam,i have no idea what can lead to it.

Are you creating a flutter project with the Android Studio plugin or just a dart file by itself? Flutter should resolve dependencies such as dart if you are making a flutter project.

Please add the output of flutter doctor -v.

this is my flutter doctor result
flutter doctor -v
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.2 18C54, locale
zh-Hans-CN)
• Flutter version 1.0.0 at /Users/zhangtianzhu/flutter
• Framework revision 5391447fae (4 weeks ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/zhangtianzhu/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✗] iOS toolchain - develop for iOS devices
✗ Xcode installation is incomplete; a full installation is necessary for iOS
development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
✗ libimobiledevice and ideviceinstaller are not installed. To install with
Brew, run:
brew update
brew install --HEAD usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
✗ ios-deploy not installed. To install with Brew:
brew install ios-deploy
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS platform side's plugin code that
responds to your plugin usage on the Dart side.
Without resolving iOS dependencies with CocoaPods, plugins will not work
on iOS.
For more info, see https://flutter.io/platform-plugins
To install:
brew install cocoapods
pod setup
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 28.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1024-b01)
[✓] VS Code (version 1.29.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.20.0
[✓] Connected device (1 available)
• Redmi 4X • 3ba790f77ce4 • android-arm64 • Android 7.1.2 (API 25)
! Doctor found issues in 1 category.

when i run Android studio ，it show this pic

@ztplz
As GaryQian said, we suggest you to develop flutter in a flutter project.
I suggest you create a new flutter project and write codes in it. As the flutter plugin can manage the dependencies for you with pubspec.yaml and flutter packages get, it might solve this problem. If it remains, paste error message here please.

@kangwang1988 Oops, you ping the wrong person.

@ztplz  Sorry.

I create a new flutter project and write code in it ,this problem offen happen
pic

Do tests following those steps:

Delete the pubspec.lock
So that dart will re-get corresponding dependencies specified in your pubspec.yaml
Using flutter packages get -v from the terminal to see if it works fine
In fact, the error message resulted from this logic below:

In other words, flutter packages get -v failed.
Make sure it works fine from the terminal.

flutter packages upgrade should have the same effect as deleting pubspec.lock and running flutter packages get
@ztz12

because its dependencies could not be established

Please add the full and exact error output.

Your application could not be compiled, because its dependencies could not be established.
When trying to parse this Dart file to find its dependencies:
F:\flutter.pub-cache\hosted\pub.dartlang.org\http-0.12.0+1\lib\http.dart
...the analyzer failed with the following error:
Error in F:\flutter.pub-cache\hosted\pub.dartlang.org\http-0.12.0+1\lib\http.dart: Expected to find ';'.
Exited (sigterm)

@bugudiramu try flutter packages pub cache repair

It just worked.Thank you so much it took me 2 days for figuring out the
solution.Thank you.
On Wed, Feb 13, 2019, 12:18 PM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

@bugudiramu https://github.com/bugudiramu try flutter packages pub
cache repair
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/25739#issuecomment-463080321,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjTONMhPjDFJx_d_Pc2K7W7ahYQvW_9nks5vM7VUgaJpZM4ZgxyI
.

更新自己的flutter 稳定版的库

2. flutter packages get -v

it works

Do tests following those steps:

Delete the pubspec.lock
So that dart will re-get corresponding dependencies specified in your pubspec.yaml
Using flutter packages get -v from the terminal to see if it works fine
In fact, the error message resulted from this logic below:

In other words, flutter packages get -v failed.
Make sure it works fine from the terminal.

It works

This is generally an issue with typos in import statements or missing pubspec dependencies. It's not really clear that there are actionable items from this issue, so I'm closing it. If you are following this and have a similar issue, please file a new bug with the requisite information filled in.


Manage schema state through a reducer

Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
Currently, we manage form state from several React states. Furthermore, to update those states we are using non pure functions that could lead to unexpected behaviors on long run.
Describe the solution you'd like
Refactor form state management through a useReducer hook. In this way, we could merge all states in one then use a dispatcher with normalized actions to update the whole schema using pure functions. Last but not least, we will be able to reduce the number of props passed to <VernaProvider />.
// Before
<VernaProvider
  configSchema={configSchema}
  defaultFormValues={formData}
  defaultSchema={schema}
  defaultUiSchema={uiSchema}
  defaultWidgets={widgets}
  locale="fr-FR"
  isEditor={isEditor}
  transformErrors={transformErrors}
  translations={translations} />

// After
<VernaProvider
  defaultValues={formData}
  defaultWidgets={widgets}
  locale="fr-FR"
  isEditor={isEditor}
  schema={schema}
  transformErrors={transformErrors}
  translations={translations} />

About the selector logic
One challenge to this refactoring is to address the selector logic.
Currently in our functions to modify the schema, we have to check if there is selector set or not.
With the reducer, we could imagine consolidating the action payload according to the selector state before we call the function to update the schema. In this way, we have to deal with selector only once we are able to simplify the logic of state updaters.
e.g.:
const [state, dispatch] = useReducer(reducer, {
  schema: {
     root: {
       properties: {
         section1: { ... }
       }
    }
  },
  uiSchema: { ... },
  configSchema: { ... },
  translationSchema: { ... }
});

// The section1 is currently selected
const selector = 'section1';

// We dispatch an action to add a widget within this section
dispatch({type: 'ADD_WIDGET', payload: { a_field: { properties: { ... } }, meta: { selector });

// Under the hood, the reducer function is able to consolidate the payload according to the selector.
// { a_field: { properties: { ... } } should be consolidated as {root: {section1: { a_field: { properties: { ... } } } }
console.log(state);
{
  schema: {
     root: {
       properties: {
         section1: {
           a_field: { properties: { ... } },
           ...
         }
       }
    }
  },
  uiSchema: { ... },
  configSchema: { ... },
  translationSchema: { ... }
}

Discovery, Documentation, Adoption, Migration Strategy

https://reactjs.org/docs/hooks-reference.html#usereducer
https://github.com/redux-utilities/flux-standard-action#actions

Resolved by #50


2020.02.04-08:00pm UTC-0 | next contributors meeting

location + time zone converter

https://talky.io/datdot
https://gitter.im/playproject-io/community

place:
Honolulu
Vancouver
Ottawa
Berlin
Taipei

local time:
10:00am
12:00pm
15:00pm
9:00pm
4:00am

AGENDA

What was done since last meeting?

@joshua-mir

[ ] datdot-research#9 2020.01.?? | consult with mafintosh
[ ] datdot-substrate#1 roadmapping
[ ] datdot-research#6 user accounts + (API & UI)
[ ] datdot-research#7 substrate validator set & costs for submitting extrinsics

@ninabreznik

[ ] datdot-research#9 2020.01.?? | consult with mafintosh
[ ] datdot-service#2 make lab environment to reliably test scenarios
[ ] datdot-service#1 roadmapping
[ ] datdot-research#3 research proof-of-service

@serapath

[ ] datdot-research#9 2020.01.?? | consult with mafintosh
[ ] datdot#22 spec: make presentable spec after public w3f wave4 announcement
[ ] datdot-research#1 roadmapping
[ ] datdot#1 roadmapping

@fionataeyang

[ ] brand#2 Ideas of interaction design collection
[ ] datdot#2 datdot project landing page

@RangerMauve

[ ] datdot-research#9 2020.01.?? | consult with mafintosh
[ ] datdot#24 encoding compatible hypercores

@substack

[ ] ???

How do roadmapping priorities currently look like?
Create new meeting and plan what issues we will do until then

=> ????.??.??-12:00pm UTC-0#??

minutes
no recordings

Quick short notes:
Updates

@joshua-mir  sharing snippet about the challenges process https://gist.github.com/joshua-mir/4ac7207360103bdd79a27cbd9a0d07a1
@serapath  sharing DatDot spec https://hackmd.io/lnHbg-sgTlaXfkVCcMM_MA?both

add Offer attesting
add Nominate as friend (Add friend?)

@RangerMauve  finished Intercept-hypercore-storage https://github.com/RangerMauve/intercept-hypercore-storage
@ninabreznik  shared first draft of UX concept https://www.draw.io/#LDaDot

Other

try to use linter
contact Dieter (Web3 foundation grants)
make DatDot dictionary (hosters = dotters?, backers? etc.) => let's then together discuss
Encoding/decoding math
Docker
Dashboard (get in touch with @substack)


added ci-daily

New Cirq dev here, please advice on any improvements. Fixes https://github.com/quantumlib/Cirq/issues/6130

I have a question, sorry if it sounds too naive. I am new to collaborating
with GitHub, so I would like to ask if there is an efficient way of
reverting the PRs and then submitting separate PRs since my local code is
already synced to my public GitHub. I use vscode for development.
Thank you.
On Wed, Jul 5, 2023 at 7:47 PM Pavol Juhas @.***> wrote:

@.**** requested changes on this pull request.
Please move Dockerfile updates to a separate PR.
Also please adjust the check/pytest arguments.
In .github/workflows/ci-daily.yml
https://github.com/quantumlib/Cirq/pull/6177#discussion_r1253757837:

       architecture: 'x64'

 - uses<EMAIL_ADDRESS>

   with:

     path: ${{ env.pythonLocation }}

     key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}

 - name: Install requirements

   run: |

     pip install --pre cirq

     pip install \

     -r dev_tools/requirements/deps/format.txt \

     -r dev_tools/requirements/deps/pylint.txt \

     -r dev_tools/requirements/deps/pytest.txt

 - name: Run Quil dependencies

   run: docker-compose -f cirq-rigetti/docker-compose.test.yaml up -d

 - name: Pytest check

   run: check/pytest -n auto -m daily --ignore=cirq-core/cirq/contrib --rigetti-integration

Please remove the -m daily option, it happens to deselect all tests
because we don't have the test marker daily defined.
Also please remove -n auto because it is already provided as a default in
check/pytest.
In dev_tools/docs/Dockerfile
https://github.com/quantumlib/Cirq/pull/6177#discussion_r1253760111:

@@ -26,8 +26,9 @@

PR.
########################################################################################
-FROM nikolaik/python-nodejs:python3.7-nodejs14
+FROM nikolaik/python-nodejs:python3.9-nodejs16
Please revert all Dockerfile-s and submit their updates as a new PR.
The same for cirq-all-no-contrib.txt unless it is needed for ci-daily.
It is better if we have PRs focused to a single topic only, it makes them
easier to review and/or to revert should they introduce any problem.
—
Reply to this email directly, view it on GitHub
https://github.com/quantumlib/Cirq/pull/6177#pullrequestreview-1515517673,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHBN3VTHE74GDUQDEPMI7LDXOX4IFANCNFSM6AAAAAAZ2GG5GI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Eventually reverted the changes and hope all is clean. Any advice is welcome. Thanks.

I have a question, sorry if it sounds too naive. I am new to collaborating with GitHub, so I would like to ask if there is an efficient way of reverting the PRs and then submitting separate PRs since my local code is already synced to my public GitHub. I use vscode for development.

Please see the quick start doc at https://docs.github.com/en/get-started/quickstart/contributing-to-projects.
I keep the master branch in my clone/fork of cirq the same as in the main quantumlib:cirq repository, and
then I create new branches (starting at master) with descriptive names for each topic to be submitted as a PR.
Example:
$ git checkout -b add-ci-daily master
# ... work on the CI, create some commits
$ git push my-github-fork add-ci-daily
# ... submit PR from the add-ci-daily branch

# new topic - new branch
$ git checkout -b update-dockerfiles master
# ... work on Dockerfile-s create some commits
$ git push my-github-fork update-dockerfiles
# ... submit second PR from the update-dockerfiles branch

Thank you very much. Deeply appreciated
On Thu, Jul 6, 2023, 2:52 PM Pavol Juhas @.***> wrote:

I have a question, sorry if it sounds too naive. I am new to collaborating
with GitHub, so I would like to ask if there is an efficient way of
reverting the PRs and then submitting separate PRs since my local code is
already synced to my public GitHub. I use vscode for development.
Please see the quick start doc at
https://docs.github.com/en/get-started/quickstart/contributing-to-projects
.
I keep the master branch in my clone/fork of cirq the same as in the main
quantumlib:cirq repository, and
then I create new branches (starting at master) with descriptive names for
each topic to be submitted as a PR.
Example:
$ git checkout -b add-ci-daily master
... work on the CI, create some commits
$ git push my-github-fork add-ci-daily
... submit PR from the add-ci-daily branch
new topic - new branch
$ git checkout -b update-dockerfiles master
... work on Dockerfile-s create some commits
$ git push my-github-fork update-dockerfiles
... submit second PR from the update-dockerfiles branch
—
Reply to this email directly, view it on GitHub
https://github.com/quantumlib/Cirq/pull/6177#issuecomment-1624163015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHBN3VSREQZEEM4XCQXRG4LXO4COHANCNFSM6AAAAAAZ2GG5GI
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


fix(infrastructure): use postinstall instead of custom script

closes #381

Thanks for the PR @TroyTae -- it does seem convenient to roll the bootstrap step into install! Just one comment, then LGTM.


Add templates for issues

Issue templates are very helpful for a collaboration repo. When users identify a bug or want to add a new feature, you can provide templates so you can collect all the pertinent information you need to fix a bug or add a new feature.
We recommend creating a “Report Bug” and “Feature Request” issue template.
you can refer this: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
Some suggested prompts/questions you can add to a “Report Bug” template are:
Briefly describe the bug
What is the expected behavior?
Please provide step by step instructions on how to reproduce the bug
Some suggested prompts/questions you can add to a “Feature Request” issue template are:
Briefly describe your feature request
What problem is this feature trying to solve?
How do we know when the feature is complete?
Reference: https://github.com/Recode-Hive/Stackoverflow-Analysis/issues/new/choose
Click on Get Started button and copy the template to your

Changes done for this Issue. Closing it

Describe the bug
We should update the issue template. We can add more new things like emoji, tags for issues, and titles for every issue, like Docs:, Feat:, Bug:. This way, we can understand the purpose of the issue raised by just seeing the title.
Expected behavior
We can see all issues with a good title so we can easily understand the purpose for which the issue was created.
Screenshots

@Sulagna-Dutta-Roy  , I'd like to work on this issue under GSSOC. Could you please add the necessary label and tag to the issue and assign it to me?

Hello @officeneerajsaini
Actually this was done as per the guidelines by GSSOC team (Prince Gupta).
I will change anything if required from the admin side.
Kindly open new issues, thanks

Also we already have the labels to acknowledge the bugs/features.

@Sulagna-Dutta-Roy
Okay


java 1.8 run error

support java 1.8

Can you show the detail of this error ? also I think Quarkus has deprecated Java 8 support since 1.4

@lbj2049 @Alujixixi I think this fix has been included in 0.0.8 relesae and can you check it please ?

@lbj2049 @Alujixixi since we upgrade to Quarkus 2.0.0.Final, I just consider to remove the JDK 8 support in the next new release maybe in 0.1.0


(Bug) Long token's name is overlapped with ticker's name

Step to reproduce:

Set token's name with maximum length
Create crowdsale. Observe the invest page.

Expected result: token's name should displayed
Actual result: token's name is overlapped with ticker's name
If you are reporting a problem with Token Wizard, please include the following information:
Which network did you use? (Mainnet, Kovan, Rinkeby, etc.)
Sokol
If you were able to create it, what is the URL of your crowdsale?
https://wizard.oracles.org/invest?addr=0x1C8Ca9743bc414e48Cc23b503D1E4B27e0C28CC5&networkID=77
Do you have screenshots showing the problem?

*
Do you see errors in the dev console? If yes, please include a screenshot
To open the dev console in Google Chrome, press F12, or go to View -> Developer -> Developer Tools, and open the Console tab
If you see errors, please right click on them and "Save as..". Zip saved file and attach it to the Issue.
Your answer

Two possible fixes come to mind:

Moving the "Ticker" value to its own row.
Adding ellipsis to the name (so it would look like "123456789012..." (and a tooltip that shows the full name)

The only problem with option 1 is that I don't know how it can affect the look of the page when embedded in an iframe.
@fernandomg, @vbaranov, thoughts?

I prefer to go with the option 1, as there are cases where name can use the whole row...

I'll review how that affects e2e tests and iframe height.
@vbaranov, are you Ok with this approach?

@fernandomg It won't affect to e2e tests


Fix entering edit mode via click for Safari

Summary
Entering edit mode for Safari was using Document.caretRangeFromPoint() that seems to be deprecated (according to the lib.dom.d.ts file my IDE is using) or at least not recommended for use in production due to potential issues. It is currently failing to work correctly in our editor and causing unexpected behaviour.
This PR stops using this method and enters the edit mode by setting the cursor to index 0 for Safari (and any browser that does not support caretPositionFromPoint).

Relevant Technical Choices

To-do

[x] Investigate if there's an alternative for setting the cursor where the user clicked. -> Did not find any.

User-facing changes

Testing Instructions
In Safari:

Add a Text.
Enter edit mode
Verify you can select part of the text and mark it bold (or italic, etc.)

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

See the instructions above.

UAT

[x] UAT should use the same steps as above.

This PR can be tested by following these steps:

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[ ] I have verified accessibility to the best of my abilities (docs)
[ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[ ] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[ ] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #7745

This PR stops using this method and enters the edit mode by setting the cursor to index 0 for Safari (and any browser that does not support caretPositionFromPoint).

caretPositionFromPoint is supported only in Firefox, which means other browsers will not be able to place the cursor at the desired location (on edit start) - isn't that a little downgrade for Chrome users?

For me, we should still use caretRangeFromPoint to support Chrome (Brainstorm's IDE is using word deprecated, but for me, it's more like "This feature is non-standard and should not be used without careful consideration." - we thought it out).

I tinkered with it a bit and was able to get the cursor in the right place on Safari with something like double setEditingElementWithState invocation (first is changing the HTML, so the second run can read the cursor text properly). Will give more info on that.

I was able to get it working by changing the user-select (nobody [docs] told us about it ;)), please check https://github.com/google/web-stories-wp/tree/try/safari-text-edit-click

@merapi I've updated this PR to keep caretRangeFromPoint in and set the offset to 0 only if the found offset is obviously incorrect.
If removing user-select as in your PR doesn't cause issues, and we can fix the incorrect cursor issue in it, too, then I think that we might still want to keep both changes from this PR as well.

35bfdda -> Props @merapi


[Game Crash] Not compatible MacOS BigSur

You downloaded the M1 build which is only for the new Arm MacBook and Mini. Download the Intel build here.
https://github.com/TeamRizu/OutFox/releases/download/OF4.9.6/Stepmania-Outfox-Alpha-4.9.6-MacOS-date-20201216.dmg

You downloaded the M1 build which is only for the new Arm MacBook and Mini. Download the Intel build here.
https://github.com/TeamRizu/OutFox/releases/download/OF4.9.6/Stepmania-Outfox-Alpha-4.9.6-MacOS-date-20201216.dmg


Add possibility to manual review credit card payments

Codecov Report

Merging #133 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #133   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          52     52
  Lines         908    909    +1
=====================================
+ Hits          908    909    +1

Impacted Files
Coverage Δ

src/Services/Adapters/CardPaymentAdapter.php
100% <100%> (ø)
:arrow_up:

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 9a18e75...35bd387. Read the comment docs.


feat(autosuggest): autosuggest / searchable dropdown component

affects: @fremtind/jkl-autosuggest-react, @fremtind/jkl-autosuggest
📥 Proposed changes
Introduce a searchable dropdown / autosuggest / autocomplete component.
☑ Submission checklist

[x] I have read the CONTRIBUTING doc
[x] yarn build works locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

💬 Further comments
If accepted this pr will add two new external dependencies:
https://github.com/downshift-js/downshift
https://github.com/kentcdodds/match-sorter
I did not have any design when creating this component, so any feedback on improvements is welcome.

Cool, thanks for input. However, I do think this is a bit redundant, as the Dropdown component could support typeahead and seach with some adjustments. I would prefer this to be contained in that component, or for it to be and component that extends the normal dropdown. That way we would avoid introducing a new dependency, with a new API and a new set of style to be maintained.
I'd at least like us to explore that path before merging this.
Looks like a lot of great work, hope you found Jøkul nice to work with, we'd love some feedback on the developer experience.

@all-contributors please add @Martinvks for code


maturin examples

Now our examples are built by setuptools-rust, but since currently maturin is (maybe more) widely used, we should also provide maturin examples.

As I'm working on the experimental maturin support for #1040 I'm going to convert the existing examples to maturin soon, probably this week.
I'll add a new minimalist example showing setuptools-rust configuration.

You should be able to just leave the setuptools part in since maturin simply ignores those files, so that the setuptools fans still get an example.

Having started playing around with this, I found that it's nicer to make separate maturin and setuptools-rust examples because then it's easier for users to see what configuration is needed depending on the packaging tool they chose.
I ran into a bit of a speedbump with the tox testing of the maturin example. You've seen already the PRs I put into tox and maturin to resolve this, though I still have issues because the PEP 517 out-of-tree build fails because the pyo3 path = "../../" obviously doesn't get found when building in a temporary directory.
I'm trying to decide if I should hack in a wrapper around maturin as a PEP 517 "inline backend" to solve this issue, or whether to give up and just test the setuptools-rust bit using tox.
Hopefully I can find some time to have another go at finishing this off soon.


How to optimize Docker image size?

Hi, i was finally able to build a Docker image with Bistro, but i am a bit worried about it's enormous size. It has roughly 5.2gb.
Do you have any tips how to reduce it's size?
It is automatically generated Dockerfile using fbcode_builder.
Basically it is repeating blocks of download+build+install blocks:
### Check out fmtlib/fmt, workdir build ###

USER root
RUN mkdir -p '/home' && chown 'nobody' '/home'
USER 'nobody'
WORKDIR '/home'
RUN git clone  https://github.com/'fmtlib/fmt'
USER root
RUN mkdir -p '/home'/'fmt'/'build' && chown 'nobody' '/home'/'fmt'/'build'
USER 'nobody'
WORKDIR '/home'/'fmt'/'build'
RUN git checkout '6.2.1'

### Build and install fmtlib/fmt ###

RUN CXXFLAGS="$CXXFLAGS -fPIC -isystem "'/home/install'"/include" CFLAGS="$CFLAGS -fPIC -isystem "'/home/install'"/include" cmake -D'CMAKE_INSTALL_PREFIX'='/home/install' -D'BUILD_SHARED_LIBS'='ON' '..'
RUN make -j '4' VERBOSE=1
RUN make install VERBOSE=1

I was thinking if i can somehow remove cache. Maybe just rm -rf /fmt (same for every other cloned repository) after package is installed could help to reduce size.
As well i do not usually use c++ so i do not know how it really works internally, please if i am mistaken and my idea is stupid, just correct me 😄 if we could take only the final binaries and extract them to different, clean, docker image?
Other idea was using some alpine based linux or other base image than ubuntu (quick googling brought me to https://github.com/madduci/docker-cpp-env).
Can anything of this work or would you suggest anything completely different?
I was thinking about having autoscaling mechanism for bistro workers etc on aws spot instances (maybe even as lambdas) and for these purposes i wanted to have image as thin as possible.

I've never tried solving for docker image size, but, I can give you some thoughts:

Yes, you can definitely remove the build trees, and the cc build cacche.
Installing to a smaller base chroot like Alpine could be doable but it would take more work, probably not the lowest-hanging fruit.
You could apt-get remove packages you no longer need after the build.
FB C++ binaries tend to be large, mainly due to large debuginfo generated by templated code. You may be able to strip the debug info, at the cost of losing useful backtraces.

I plan to switch the OSS CI build to static linking at some point, which would help your use-case. Unfortunately, it's hard to for me to predict how long this will take, because I'm bad at CMake and there are some hurdles.
Internally, statically linked binaries go like this:

bistro_scheduler: 360MB before strip, 17M after strip
bistro_worker: 335MB before strip, 16M after.

The upshot here is that if you're willing to lose useful backtraces, you can probably get these to be pretty small.

You could apt-get remove packages you no longer need after the build.

Good start, not sure which are those though 😄

Yes, you can definitely remove the build trees, and the ccache build cache directory.

I am limited with my c++ knowledge. I have not found ccache directory by running find /home -type d -name "*cache*" -print. By build trees you mean the cloned repositories?
I just made very quick test with dockerfile like this (it is common multi-stage strategy to optimize buildes, so i have builder image + the real carrying only executables):
FROM ubuntu:18.04

COPY --from=docker.pkg.github.com/rectorphp/docker-base-bistro-image-builder/bistro:latest /home/bistro/bistro/cmake/Debug/server/bistro_scheduler /bistro/bistro_scheduler
COPY --from=docker.pkg.github.com/rectorphp/docker-base-bistro-image-builder/bistro:latest /home/bistro/bistro/cmake/Debug/worker/bistro_worker /bistro/bistro_worker

But as expected it fails on some missing dependencies, mine was:
./bistro_scheduler: error while loading shared libraries: libfolly.so: cannot open shared object file: No such file or directory

There was just an idea, if i could copy everything needed & compiled things into new image without any unnecessary stuff.
nobody@9e7a345ca022:/home$ ls
bistro	fbthrift  fizz	fmt  folly  googletest	install  libsodium  mvfst  proxygen  wangle  zstd

I even tried to remove everything except bistro directory, but it has same error message:  libfolly.so: cannot open shared object file: No such file or directory and that brings me to idea of deleting everything except of these:
nobody@f2a57d2acdd6:/home$ find /home -type f -name "*.so" -print
/home/install/lib/libconcurrency.so
/home/install/lib/libcompiler_lib.so
/home/install/lib/libcompiler_ast.so
/home/install/lib/libtransport.so
/home/install/lib/libthriftcpp2.so
/home/install/lib/libcompiler_generators.so
/home/install/lib/libthrift-core.so
/home/install/lib/libmustache_lib.so
/home/install/lib/libthriftprotocol.so
/home/install/lib/libprotocol.so
/home/install/lib/libthriftfrozen2.so
/home/install/lib/libcompiler_generate_templates.so
/home/install/lib/libasync.so
/home/install/lib/librpcmetadata.so
/home/install/lib/libcompiler_base.so
/home/install/lib/libthriftmetadata.so
/home/install/lib/libmvfst_state_qpr_functions.so
/home/install/lib/libmvfst_state_ack_handler.so
/home/install/lib/libmvfst_state_pacing_functions.so
/home/install/lib/libmvfst_state_simple_frame_functions.so
/home/install/lib/libmvfst_exception.so
/home/install/lib/libmvfst_state_stream_functions.so
/home/install/lib/libmvfst_state_functions.so
/home/install/lib/libmvfst_constants.so
/home/install/lib/libmvfst_state_machine.so
/home/install/lib/libfizz_test_support.so
/home/install/lib/libfolly.so
/home/install/lib/libfollybenchmark.so
/home/install/lib/libfolly_test_util.so
/home/fbthrift/thrift/lib/libconcurrency.so
/home/fbthrift/thrift/lib/libcompiler_lib.so
/home/fbthrift/thrift/lib/libcompiler_ast.so
/home/fbthrift/thrift/lib/libtransport.so
/home/fbthrift/thrift/lib/libthriftcpp2.so
/home/fbthrift/thrift/lib/libcompiler_generators.so
/home/fbthrift/thrift/lib/libthrift-core.so
/home/fbthrift/thrift/lib/libmustache_lib.so
/home/fbthrift/thrift/lib/libthriftprotocol.so
/home/fbthrift/thrift/lib/libprotocol.so
/home/fbthrift/thrift/lib/libthriftfrozen2.so
/home/fbthrift/thrift/lib/libcompiler_generate_templates.so
/home/fbthrift/thrift/lib/libasync.so
/home/fbthrift/thrift/lib/librpcmetadata.so
/home/fbthrift/thrift/lib/libcompiler_base.so
/home/fbthrift/thrift/lib/libthriftmetadata.so
/home/mvfst/build/quic/state/libmvfst_state_qpr_functions.so
/home/mvfst/build/quic/state/libmvfst_state_ack_handler.so
/home/mvfst/build/quic/state/libmvfst_state_pacing_functions.so
/home/mvfst/build/quic/state/libmvfst_state_simple_frame_functions.so
/home/mvfst/build/quic/state/libmvfst_state_stream_functions.so
/home/mvfst/build/quic/state/libmvfst_state_functions.so
/home/mvfst/build/quic/state/libmvfst_state_machine.so
/home/mvfst/build/quic/libmvfst_exception.so
/home/mvfst/build/quic/libmvfst_constants.so
/home/fizz/fizz/build/lib/libfizz_test_support.so
/home/folly/_build/libfolly.so
/home/folly/_build/folly/logging/example/liblogging_example_lib.so
/home/folly/_build/folly/libfollybenchmark.so
/home/folly/_build/libfolly_test_util.so

I am very experienced with docker and capable of optimizing the build, but unfortunately my c++ knowledge is slowing me down 😄

After removing files via
find ./bthrift/ -type f ! -name '*.so*' -delete
find ./fizz/ -type f ! -name '*.so*' -delete
find ./fmt/ -type f ! -name '*.so*' -delete
find ./folly/ -type f ! -name '*.so*' -delete
find ./googletest/ -type f ! -name '*.so*' -delete
find ./install/ -type f ! -name '*.so*' -delete
find ./libsodium/ -type f ! -name '*.so*' -delete
find ./mvfst/ -type f ! -name '*.so*' -delete
find ./proxygen/ -type f ! -name '*.so*' -delete
find ./wangle/ -type f ! -name '*.so*' -delete
find ./zstd/ -type f ! -name '*.so*' -delete

It still works. Now i need to know what can be deleted from distro (probably source codes as well, logs etc., i rather what should be kept instead of what should be deleted is easier approach).
Next step will be other system thins and dependenciesm not sure which are those yet.
What difference will make running ./cmake/run-cmake.sh Release instead of Debug parameter?

FYI, so far after removing for non-bistro everything except .so results:
Before?
nobody@66b52e09ab45:/home$ du -hs .
2.6G	.

After:
nobody@66b52e09ab45:/home$ du -hs .
2.6G	.

no /ccache

If there's no /ccache, it sounds like you're not running with that enabled. You would see the output of this in the logs of the program that prepares your Dockerfile:
            logging.info('Docker ccache not enabled')

This is fine, /ccache is most helpful for incremental development (change and rebuild).

what can be deleted

All build artifacts get installed in /home/install by default:
https://github.com/facebook/bistro/blob/4add83f0004325f4d7092dbe3c25eb2acc559733/build/fbcode_builder/make_docker_context.py#L62
So you should not need any of the build trees at all, just /home/install and a barebones OS.
For the OS, you could do things like apt-get remove gcc. The full set of deps we install on top of the base Ubuntu image is here:
https://github.com/facebook/bistro/blob/4add83f0004325f4d7092dbe3c25eb2acc559733/build/fbcode_builder/fbcode_builder.py#L182
An alternative approach is to find the smallest base OS of the same Ubuntu release that you can get, copy over /home/install, and then to install the missing dependencies (you'll get missing .so errors for each one).
Either way, it'd be a bit of a trial and error, I've never the time to separate the runtime dependencies from the build-time dependencies for the OSS build.
If you find time to upstream your work, that would be lovely. If not, maybe at least share a gist of your process on this issue?


chore: Disable CGO by default

Signed-off-by: Ce Gao<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #80
Reference to #

Special notes for your reviewer:
/cc @your-reviewer

Release note:

NONE

/assign @simon-cj

Comments are addressed, PTAL

/lgtm

/approve


Running in lambda breaks finding '/shim/index.js'. It would be nice to be able to pass path to shim.

Expected behavior
When running phantom.create([],{phantomPath:<MYPATH>})... in a lamda function I expect to have a running instance of phantom.
I would like to pass the path to the /shim/index.js file through the .create() config.
Actual behavior
When trying to run .create(...) in a AWS Lambda context, I get the error error: Can't open '/shim/index.js'.
Steps to reproduce the behavior

Create a lambda function, import phantom, and try to run phantom.create(...)
[Second Step]
[Other Steps...]

Environment

OS: Mac OS
Node version (node -v): 8.6.0
package version: 4.0.11

Hey  @zachschultz I haven't used lambda + phantom yet. So I am not sure what do here to test. It sounds like you want a way to pass the path to the shim.
If you want, you can provide a pull request and change this line to make it configurable. Pull requests are welcomed. :)
Hope this helps.

No response so I am going to close and we can reopen if necessary.

@amir20 sorry about my lack of response, I'll gladly submit a PR when I get the chance!


Add flexibility to index.html to be used in subdirectories

This is a simple PR that does not change the theme's behaviour for existing users in any way (the example page renders exactly the same).
On the other hand, it adds the flexibility of reusing the scrolling index.html template in multiple pages (not just the homepage) in a very simple way:

create subdir directory with a subdir/_index.md file (i.e. a hugo section)
Add layout: index in subdir/_index.md to instruct hugo to use the _default/index.html template.
Place sections in subdir/homepage/<section>.md as usual

An example can be found in this commit (not part of the PR).
The changes are straightforward:

use a relative ./homepage instead of /homepage
Create a language menu using the translations of the current page (not the whole site)
Move index.html inside _default so that it can be re-used.
Use the .Parent page in back links instead of the root page.

I don't know if you'd like to have full support for multiple scrolling pages in the future, or you prefer to keep the theme simple. But in any case this PR is simple and only adds flexibility, so I hope it can be merged.

Always good idea to add more flexibility, I just wonder what is the use case? Do you have an example published already somewhere?
Are you aiming to produce separate pages of the same template? Or is it going to be somehow interlinked?

Here's an example:

homepage: https://testing--benevolent-moxie-d7ebe7.netlify.app/en/
scrolling section: https://testing--benevolent-moxie-d7ebe7.netlify.app/en/venia/

It's a single site for a theater company. Each actor has lots of info in several sub-sections, so it makes sense to have their own scrolling subdirectory page (a single internal page would look too flat and packed). These subdirectories are still part of the company site, so there's a "back" link to the homepage.

Interesting. It's like multiple websites sharing the theme. Perhaps you are also touching the topic of redesigning the "detail" pages #116 , which is currently of trivial nature. I can imagine we abondon it completely in favor of your solution.
Just throwing in some ideas how this could be developed in the future:

add "back" button to the top of left menu when in the detail.
add "detail" links to sub-categories to the left menu when at the main page.
option to turn off landing image part, or maybe have a smaller alternative that would be handy for "subsites"

Let me know what you think of the navigation.
There's a small conflict by the way  :)

I fixed the conflict (trivial one introduced by #197).
I'm actually using all 3 types of pages:

Homepage
The starting point, represents the whole company
Internal scrolling page
A section of the site (eg representing a single actor) with a lot of different types of content to justify its own scrolling page.  (In principle these can be nested for large sites.)
Detail page
Suitable for a single piece of information, that is too big to fit in a section of a scrolling page, but too small to justify its own scrolling page. The "back" link goes to its parent (which can be either the homepage or an internal scrolling page).

I think having all three should cover most needs of small-to-medium websites. And of course someone could choose to use only a subset of them, eg not use detail pages and use internal scrolling pages instead.
We should use clear and consistent names for these btw.

I guess "homepage" and "detailed" page are already used, which are fine.
"Section" should be reserved for the elements of the scrolling page.
Maybe the "internal scrolling page" could be called "segment" or something?

I would propose the following plan to move forward:

Merge this PR
Include a minimal internal scrolling page example in exampleSite. We don't need any more functionality to have a first working example.
Discuss further functionality to add.

I'm a bit late to the party, as I was using an index.html with a small local diff in my set-up, but this PR appears to undo some parts of https://github.com/zjedi/hugo-scroll/commit/a43bb4ea6d306d28201fab47aa33b020c80dee9d which seem to be needed in a multi-host setting.


Use authentication for geting media comments

I'm geting error code 400 trying to get media comments. This fix it.

Thank you!


Compressing and Decompressing Streams

The Compression Streams API enables compressing and decompressing streams of data using the gzip or deflate formats. This should be explored separately for every client type:

[ ] Browser (Vanilla JS)
[ ] Browser (Blazor WebAssembly)
[ ] Desktop .NET

https://web.dev/blog/compressionstreams
https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API

Sadly it looks that Compression Streams API is buffering by nature :(.


[android] Inconsistent results from Bitsnoop

Inconsistent results between individual audio results and .torrent results. (e.g. A single torrent result appears with 20 sources)
It's yet to be determined if this bug is just the behavior of the app when not connected to WiFi.
More testing to be done.

@kad3mlia  please let us know here more as you test if we'll be able to close this or not without any fixes.

Tested on Samsung S4/Android 5.0.1 with no SD Card. Downloading to Internal.
Sony Xperia Z2/ Android 5.1.1. Downloading to SD Card.
Happens only with BitSnoop only, but other sources might need more testing. Torrents from Kat, BTJunkie & TorLock did not have any issues.
When selecting a full torrent package for download, the file is marked in Search as downloaded, but does not show up in Transfers & the .torrent file does not download.
If a handpicked file from either Audio or Video from the same torrent package is marked for download, it works fine adding to Transfers and Downloading.
Flipping screen does not help. Changing to 'Downloading' & back to 'All' does not help. Going back to Search and back to Transfers does not solve the problem either.
Reported by multiple users as well.

This should be fixed with https://github.com/frostwire/frostwire/commit/99d4b32abbde876cfa01761778ae4ea69f1f9038 and https://github.com/frostwire/frostwire/commit/61525e3a3d183ab7464405c1e0df141035d6b8a1
Now what I can see is that in the cases the torrent fails to downloads, is because torcache lacks the file (and it's fails consistently from single files and torrents).

After some testing on Wi-Fi and Mobile only I had no issues with the transfers, all started.
Another issue
However I will report a new issue I found regarding with Bitsnoop search results, sometimes you see individual search results and 0 torrent search results, which makes absolutely no sense initially, will have to see what the current logic is, again, this is unrelated.


[Issue] Fix get schemaName by partitioned topic name

Fixes #7676
Motivation
Currently, there is an error that gets schemaName by partitioned topic name.
Modifications
Add partitioned check in method topicName. getSchemaName().
Verifying this change
Add a new unit test.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (yes)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


test(matrix): add repo for set x row/col removal rebase bug

Adds a (disabled) test case for the recently discovered 'setCell' x 'row/col removal' reconneciton bug.

@Abe27342 - Instead of being discarded, the setCell(..) op overwrites the new column 0.  (Both matrices end up with [[42]]).

@Abe27342 - Instead of being discarded, the setCell(..) op overwrites the new column 0. (Both matrices end up with [[42]]).

Ah, interesting. Won't be the root cause of the fuzz test issue, then.


all: port to Plan 9

Depends on PR #26 for consistent behavior of ReadAt.
Helps rjkroege/edwood#115

Tested this on 9front, worked great after fixing the conflicts.

@ddevault Thanks for testing. I've rebased.

Thanks! I'm working on another patch which will add a factotum module as well.

@ddevault I worked on a factotum package a long time ago: bitbucket.org/fhs/go-plan9-auth/auth. It hasn't gotten much use over the years. Feel free to make use of it (if it's useful).
I should probably move the package from mercurial to git/github, since mercurial is going away in bitbucket. But then I'd rather have a factotum package inside 9fans.net/go/....

Excellent! I'll pull it into 9fans/go. And if you're looking for a new Mercurial host, my own services are available.

Registering a +1 in that this would be really useful for me.

Is there any chance to get this merged? It would be really useful.

Apologies, but at least in this form, a port to Plan 9 is out of scope for this package. In particular I hope to kill off the entire devdraw RPC usage entirely, instead connecting directly to the host graphics and generally simplifying programs built against this API. That would invalidate much of the code being added to draw here, since the "draw protocol" will not exist anymore.
The situation for plan9.Client is similarly awkward: it seems wrong to have a mode where that code falls back to file system access.
I'm willing to make small Plan 9-related changes, but I don't want to have to maintain wholly separate implementations of the libraries just for Plan 9.
For now it seems best to maintain a fork of this package for use on Plan 9. Again, sorry. I appreciate the sad irony.

@fhs and I have been working to move github.com/fhs/acme-lsp to 9fans.net/acme-lsp, hosted in https://github.com/9fans/acme-lsp, and as part of that I have merged fhs/9fans-go's plan9 branch into the main 9fans.net/go branch. The fork should no longer be necessary.


bootstrap-select throws javascript error with jquery slim

bootstrap-select's default behavior when you have a data-max-options attribute and you select too many items is to throw up a message and then fade it out, however, jquery slim does not contain the .fadeOut function, so it throws a javascript error.
Documentation should be updated to note that the full jquery is required, or the fadeOut function removed or reworked.

Released in v1.13.11!


corrected spike aggregation support for avg,min,max

hello!
This is hopefully the only followup to #2052  - one of our analysts noticed that the values outputted in the avg spike aggregation alert didn't make sense for percentage values (greater than 1.0).
Indeed, passing aggregated metrics through the spike tracker would only alert based on the total count over the timeframe... this makes sense for sum or value_count aggregations but nothing else.  This is an issue for other aggregations if your EA config.yaml timeframe is shorter than the Spike Aggregation's timeframe.
I extended logic in the spike & event handler to support existing Spike alerts while also ferrying average, min, and max calculations over the EventWindow for Spike Aggregation alerts

Test are failing

Can you resolve conflicts please :)

Can you resolve conflicts please :)

@nsano-rururu updated the branch, builds passing.

@nsano-rururu updated the branch, builds passing.

Merged into elastalert2.
https://github.com/jertel/elastalert2/pull/45


Bump array-index dependency

Sorry to be that guy again (TooTallNate/ansi.js#25), but path-array depends on an old version of array-index that lacks a license. license-checker is complaining. This PR bumps to<EMAIL_ADDRESS>and adjusts path-array’s getter and setter to the new array-index Symbol system. Let me know how it looks.

Thanks! Merged and published as v1.0.1.

Hooray, thanks! Just realized array-index’s Readme had the license all along. ¯_(ツ)_/¯


Adds a provider to support Google cloud

Here comes a simple provider to be able to use chef-provisioning-fog with Google cloud.
I've been able to spin-up machine and made them converge with this provider.
Looking forward any feedback.

Here comes a working example i have used
require 'chef/provisioning'
require 'chef/provisioning/fog_driver/driver'

with_driver('fog:Google', compute_options: {
  :provider => 'google',
  'google_project' => 'example-project',
  'google_client_email' =><EMAIL_ADDRESS>  'google_key_location' => File.expand_path('../peek-tv.key.p12', File.dirname(__FILE__))
})

with_machine_options :bootstrap_options => {
  :key_path => File.expand_path('../id_rsa', File.dirname(__FILE__)),
  :public_key_path => File.expand_path('../id_rsa.pub', File.dirname(__FILE__)),
  :private_key_path => File.expand_path('../id_rsa', File.dirname(__FILE__))
}

machine 'test-fog'

The defaults will need to be merged in, but that can come later :)  Awesome, thanks!


Add option to enable the toolbar to display on JSON responses?

I am debugging a Flask app that serves up JSON for an API endpoint.
I'm viewing the JSON in the browser, and it'd be convenient to display the toolbar as well.
My understanding of content types is a little hazy... is it possible to add an option to display the toolbar alongside this JSON? Like perhaps a config setting that lets me turn on the toolbar for all responses, not just with <! doctype html>?

Jef did you have any luck getting this done?

No. The way to do it i think, so you dont have to get funky with adding HTML wrapper around the json is detect the content type and append its own bit of json with the sqlalchemy queries + page timing info, but thats still a pain methinks

Thanks Jeff.

Workaround:
@app.after_request
def after_request(response):
# Wrap JSON responses by HTML and ask flask-debugtoolbar to inject own HTML into it
if app.config.get("DEBUG_TB_ENABLED", False) and response.mimetype == "application/json" and response.status_code != 401:
response.direct_passthrough = False  # Work-around for profiling of streamed JSON data download
args = dict(response=response.data.decode("utf-8"), http_code=response.status)
html_wrapped_response = make_response(render_template("wrap_json.html", **args), response.status_code)
response = app.extensions["debugtoolbar"].process_response(html_wrapped_response)
return response

and

JSON Response

HTML Wrapper for JSON Response

HTTP Code

{{ http_code }}

JSON Response

{{ response }}

I also had to init the FDT like the following to make the above snippet work instead of just
DebugToolbarExtension(app)
    app.extensions = getattr(app, 'extensions', {})
    app.extensions['debugtoolbar'] = DebugToolbarExtension(app)

@guyecode You're right, FDT has changed since I posted the workaround. I can reproduce the issue (FDT for JSON response is displayed but ignores click events -- while it works fine for HTML response) with the following code:
`import flask
import flask_debugtoolbar
app = flask.Flask('test', template_folder='.')
app.config['DEBUG_TB_ENABLED'] = True
app.config['SECRET_KEY'] = '123'
toolbar = flask_debugtoolbar.DebugToolbarExtension(app)
@app.after_request
def after_request(response):
if response.mimetype == "application/json":
html_wrapped_response = flask.make_response(flask.render_template("wrap_json.html", response=response.data.decode("utf-8"), http_code=response.status), response.status_code)
return toolbar.process_response(html_wrapped_response)
return response

@app.route('/json')
def test_json():
return flask.jsonify(dict(key1='value1')), 200
@app.route('/html')
def test_html():
return 'test', 200
if name == 'main':
app.run(debug=True)
`
Unfortunately, I am not skilled enough in JavaScript to troubleshoot the issue.

I was also having issues with the click events not working with If you create the after_request before the toolbar extension it will see the html mimetype and work without needing future changes.  Here's an extension I wrote for this in my app.
"""Flask Extensions"""
import flask
import flask_debugtoolbar

class DevToolbar:
    """Add debug toolbars with json to html

    Note you must pass `_debug` param to convert the json response
    """
    def __init__(self, app):
        wrap_json = """

                <title>Debugging JSON Response</title>

Wrapped JSON Response

HTTP Code

{{ http_code }}

JSON Response

{{ response }}

        """

        @app.after_request
        def after_request(response):
            if response.mimetype == "application/json" and \
                '_debug' in flask.request.args:
                html_wrapped_response = flask.make_response(
                    flask.render_template_string(
                        wrap_json,
                        response=response.data.decode("utf-8"),
                        http_code=response.status
                    ),
                    response.status_code,
                )
                return app.process_response(html_wrapped_response)

            return response

        flask_debugtoolbar.DebugToolbarExtension(app)


update LogEntry query_time typespec to include nil

I have seen some issues with assuming that a query_time is an integer, and it seems as though Ecto  also understands it may be nil. I think the typespec for query_time should be expanded to include nil, like queue_time and decode_time do.
https://github.com/elixir-ecto/ecto/blob/64648910450dc1762857fd7b4bca20d358cf1c27/lib/ecto/log_entry.ex#L90-L91 covers the case where a query_time may be nil.
https://github.com/elixir-ecto/ecto/blob/64648910450dc1762857fd7b4bca20d358cf1c27/test/ecto/log_entry_test.exs#L8-L9 tests logging an entry with a nil query_time.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


chore(deps): update dependency axios to v1.1.2

Signed-off-by: inglkruiz<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md
[ ] Tests for the changes have been added (for bug fixes / features) Not needed
[ ] Docs have been added / updated (for bug fixes / features) Not needed

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Manual dependency update to major version

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Duplicate of #572


[Chef manage global objects] Organization Starter Kit API

User Story

Organization Starter Kit API

Definition of Done
Demo Script / Repro Steps

We will handle it differently.


怎么样搭配自己微调的模型使用呢？

自己微调了模型风格化，怎么搭配自己的模型使用呢？

If you are asking how to switch to your own trained FLUX.1-dev model, you can replace the model path in this line of code with the path to your model.

If you are asking how to switch to your own trained FLUX.1-dev model, you can replace the model path in this line of code with the path to your model.

I finetune a lora...not a big model😥

How to get the quantization jsonfile while using my finetuned fp8 model？


[Cortana & .NET SDK] Cortana FormFlow problems

Bot Info

SDK Platform: .NET
SDK Version:
Active Channels: Cortana, Skype, Direct Line, Web Chat
Deployment Environment: Azure Bot Service, local development with Emulator, Cortana

Issue Description
I created a .json file for my FormFlow Dialoge. It contains a .Before Message Property in the first properties object as in the AnnotatedSandwich.json. Cortana does not interpret the Before message correctly. It is displaying the message AFTER asking the first question. And then, Cortana is unable to proceed with the other questions.
Code Example
`"properties": {
"Vorname": {
  "Before": [
    {
      "Message": [
        "Welcome at form section 1"
      ]
    }
  ],
    "Prompt":
    {
      "Patterns": [ "What is your given name?" ]
    },
    "type":
    [
      "string",
      "null"
    ]
},

`
Reproduction Steps

create json file in Bot Temlate as described in AnnotatedSandwich, add a "Before-property"
let the Formbuilder access the JSON file
publish the Bot to Azure
register the Bot for Cortana channel
check that your device's settings are for USA
invoke the Bot as Cortana Skill by invocation

Expected Behavior
I expected the before message to be displayed before the question prompting for the particular property.
Actual Results
After answering "what is your given name"
the before message appears and the formflow dialoge stops. The canvas is not refreshed with the next question.

It seems the "Before" is actually being sent, but it is followed immediately by the next message.   If "Before" is not read by cortana, it just flashes on the canvas.  I found some code here: https://stackoverflow.com/questions/44464575/formflow-prompts-are-not-being-spoken-in-cortana-skills that might help.  If you add a IMessageActivityMapper that checks for and empty .Speak, it seems to then read out the Before followed by the next message.  Please try this, and let me know if it solves your issue:
            Conversation.UpdateContainer(
                builder =>
                {
                    builder
                       .RegisterType<TextToSpeakActivityMapper>()
                       .AsImplementedInterfaces()
                       .SingleInstance();
                });

public sealed class TextToSpeakActivityMapper : IMessageActivityMapper
{
    public IMessageActivity Map(IMessageActivity message)
    {
        // only set the speak if it is not set by the developer.
        var channelCapability = new ChannelCapability(Address.FromActivity(message));

        if (channelCapability.SupportsSpeak() && string.IsNullOrEmpty(message.Speak))
        {
            message.Speak = message.Text;
        }

        return message;
    }
}

I haven't tried this, but I think you should be able to  get the username via c# script in a Define property.
https://docs.microsoft.com/en-us/azure/bot-service/dotnet/bot-builder-dotnet-formflow-json-schema#additional-properties-as-peers-of-the-type-property

@fr6087  Is the above code a valid workaround for you?

@EricDahlvang I don't think that is going to solve the problem. I have already added this code snippet from Jadib to my bot earlier. By the way, I think that code sample has a spelling mistake, at least my bot code is only finding "TextToSpeechActivityMapper". Also, I am using a modified version of the code as follows (maybe related to the problem)
``

Using this .json file:
{
  "type": "object",
  "Templates": {
    "NotUnderstood": {
      "Patterns": [ "I do not understand \"{0}\".", "Try again, I don't get \"{0}\"." ]
    },
    "EnumSelectOne": {
      "Patterns": [ "What kind of {&} would you like on your sandwich? {||}" ],
      "ChoiceStyle": "Auto"
    }
  },
  "properties": {
    "Sandwich": {
      "Prompt": { "Patterns": [ "What kind of {&} would you like? {||}" ] },
      "Before": [ { "Message": [ "Welcome to the sandwich order bot!" ] } ],
      "Describe": { "Image": "https://placeholdit.imgix.net/~text?txtsize=16&txt=Sandwich&w=125&h=40&txttrack=0&txtclr=000&txtfont=bold" },
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "BLT",
        "BlackForestHam",
        "BuffaloChicken",
        "ChickenAndBaconRanchMelt"
      ]
    },
    "Length": {
      "Prompt": {
        "Patterns": [ "What size of sandwich do you want? {||}" ]
      },
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "SixInch",
        "FootLong"
      ]
    },
    "Rating": {
      "Describe": "your experience today",
      "type": [
        "number",
        "null"
      ],
      "minimum": 1,
      "maximum": 5,
      "After": [ { "Message": [ "Thanks for ordering your sandwich!" ] } ]
    }
  }
}

With this global.asax.cs:
public class WebApiApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            GlobalConfiguration.Configure(WebApiConfig.Register);

            Conversation.UpdateContainer(
                builder =>
                {
                    builder
                       .RegisterType<TexttoSpeech>()
                       .AsImplementedInterfaces()
                       .SingleInstance();
                });
        }

        public sealed class TexttoSpeech : IMessageActivityMapper
        {
            public IMessageActivity Map(IMessageActivity message)
            {
                var channelCapability = new ChannelCapability(Address.FromActivity(message));

                if (channelCapability.SupportsSpeak() && string.IsNullOrEmpty(message.Speak))
                {
                        message.Speak = message.Text;
                }

                return message;
            }
        }
    }

Results in: