Adds ability to spawn a machine with an initial state

Per this discussion .
I've added a new interface called SpawnMachineOptions<TContext, TEvent> which is now used for the spawnMachine function. This interface extends SpawnOptions with generic types which are passed to the optional state parameter.
I followed the example set in useMachine for rehydrating state.
Unsure where this should be documented which is why they are missing.

Hey, was this issue resolved in some other way?

@idosal I ended up creating a "booting" state which could receive "resume_X" events to set the machine to the intended state.
Which TBH actually makes more sense.

@idosal I ended up creating a "booting" state which could receive "resume_X" events to set the machine to the intended state.
Which TBH actually makes more sense.

Thanks!

Have maintainers had a chance to look at this? Would be really helpful for restoring actor state. 😃

I think it violates some principles with how the machines work under the hood, and probably something to do with SCXML (which I have no idea about).

Closing this PR to cleanup.


Generate cloud config for openstack cloud provider

OpenStack cloud provider requires a cloud config file to operate properly.

/lgtm
/approve


Question: Can I enable numlock and can I switch the desktop mode?

I would like to change the default behave from the numlock with this flake, so that it gets reactivated on every login, is this possible?
Setting in GUI: Open Plasma Settings -> Keyboard -> Keyboard -> Hardware -> NumLock on Plasma Startup -> Turn on

I would like to be able to change the desktop mode from "Folder View" to "Desktop" with this module, is this possible?
Setting in GUI: Right Click on Desktop -> Configure Desktop and Wallpaper -> Layout -> Select "Desktop" in Dropdown Menu

Does setting programs.plasma.configFile.kcminputrc.Keyboard.NumLock.value = 0; fix this maybe?

This seems to work, thanks.
Do you have an solution to the second question?

There it is harder. The relevant key seems to be the plugin key for each of the containments in plasma-org.kde.plasma.desktop-appletsrc, where the value is set to org.kde.plasma.folder for folderview and org.kde.plasma.desktopcontainment for desktop view. This probably will need a higher level interface and some plasma desktop scripting, so it isn't supported a.t.m..

Yeah the same type of desktop scripting. Panels is one of the uses for it, but there are some more uses as well. I think desktop scripting is our best shot for getting this functionality.

Just tried the desktop mode thing with plasma script, and while it succeeds in writing the correct config to the file it doesn't get applied immediately, and hence probably would need a log out/in again, which doesn't work when we are running the script in the autostart. I'm afraid this doesn't have any elegant solution for now.

The appropriate file this is configured in is ~/.config/plasma-org.kde.plasma.desktop-appletsrc. The only good interface to modify that we have found is through plasma desktop scripts, but for some reason after running the script required to configure this, the configuration isn't applied until plasma has been restarted (or some component of plasma at the very least). I can test again on plasma 6.1 if it has changed, though I kinda doubt it tbh. After #222 maybe we could implement a hacky solution though by restarting plasma-desktop after running the script. I can test this soon. If this doesn't work either I'm afraid we are out of luck until some changes are made on kde's side.

OK so I did try this, but unfortunately to no luck. What I have found out is that it appears that the desktop containment doesn't just have it's plugin key altered, but it appears that kde generates a completely new desktop-containment.
I don't really have that much time available for plasma-manager in the near future for personal reasons, so I'm not sure I'll figure this out. It's possible that a solution does exist though. If you (or anyone for that matter) want to experiment with this I would suggest trying to find some plasma-script code which changes the layout of a desktop to desktop-mode (you can run plasma-scripts in plasma-interactiveconsole). It's fine if the script only is successful after running systemctl --user restart plasma-plasmashell (or any other systemd service for that matter). What I have tried to no success is simply:
for (var desktop of desktops()) {
  desktop.writeConfig("plugin", "org.kde.desktop-mode")
}

thanks for trying! I will play around with this a bit in the days to come


[glTF] Very high light range values of imported lights are causing shadows not to render

Tested versions
v4.3.beta.custom_build [8bf8f41fc]
System information
Godot v4.3.beta (8bf8f41fc) - macOS 14.4.1 - Vulkan (Forward+) - integrated Apple M1 Max - Apple M1 Max (10 Threads)
Issue description
This point light is imported with a range of 4096. Even though it has shadow enabled you can't see it:

Shadow appears when you reduce its range all the way down to 300:

There's a same problem with spotlights iirc. Perhaps if the imported glTF doesn't provide a range value it should use Godot's default light range instead of an abnormally high one
Steps to reproduce
MRP
Minimal reproduction project (MRP)
MRP_light_range.zip

Perhaps if the imported glTF doesn't provide a range value it should use Godot's default light range instead of an abnormally high one

If the light is meant to have infinite range, I wouldn't make it use Godot's default range, but a hardcoded value that is higher (probably around 100).

I'd also only do this for lights with shadows enabled

That might be a problem because blender doesn't export shadow state, it doesn't even seem to be a part of glTF from what I understand

https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/README.md#light-shared-properties
I'm turning them on myself with an EditorScenePostImportPlugin if a light has a -shadow suffix

That might be a problem because blender doesn't export shadow state, it doesn't even seem to be a part of glTF from what I understand

Does the glTF specification even have a way to signal that certain lights should have shadows enabled? If not, it doesn't sound very usable for game development where you can't be "all or nothing" in real world projects 🙁
I suppose we could add support for a -shadow import hint and/or offer an import option to set a radius threshold (where all lights larger than a certain range have shadows enabled), but that's not great to hear.

Does the glTF specification even have a way

No

I suppose we could add support for a -shadow import hint

I can't think of a reason not to

We shouldn't default to such a high range. Every scene i've worked on I've had to manually go reduce the range to something reasonable (oftentimes less than 10).
With proper inverse square falloff, a light with a brightness of 1 won't be visible beyond 20 meters or so (even if the range is significantly higher than that).
We used to calculate attenuation based on range and intensity. Now we don't touch attenuation because GLTF doesn't have a setting for it. This is a bit of a problem. Godot defaults to a linear falloff (attenuation = 1) so lights imported from GLTF are effectively imported with a linear falloff.
If we assigned GLTF lights a proper inverse square falloff (attenuation = 2), then we could easily cap their range at 100 or so when no range is specified (and then scale up the range when there is more intensity). At that range, there would be no visible difference with an increased range. However, with a linear falloff, we need a much larger range before we can cap it.
Technically, we are not compliant with the GLTF spec right now since GLTF lights are not using the inverse square law.
I suggest we do the following:

Import lights with an attenuation of 2 when importing from GLTF
Default to a range of 100. If intensity is specified, but range isn't scale up range based on intensity (I suggest increasing by a factor of clamp(intensity / 100.0, 1.0, 40.96) as below 100 intensity a range of 100 is fine, then it should scale up linearly after that until a max of 4096)

Of course switching to inverse square falloff will technically break compatibility, but we are not compliant with the spec right now. So I think the breakage is justified.


Trusted setup ceremony

We can run trusted setup with zkparty: https://trustedsetuptest.web.app/
Either run it ourselves: https://github.com/zkparty/trusted-setup-api or Geoff can help us
What we need to prepare:

circuit name
.r1cs file
ptau file

Closing this issue.
Ceremony has its own repo, will create issue over there.


We become imprint.

# Step 0: grab a clean checkout/clone/worktree.

# Step 1: open vscode and search and replace case sensitive:
# - kevlar -> imprint
# - Kevlar -> Imprint
# - KEVLAR -> IMPRINT

# Step 2: Move some top level directories
for file in *kevlar*; do
    git mv "$file" "${file//kevlar/imprint}"
done

# Step 3: Recursively move all files and folders. (This probably means the above command was unnecessary.)
# Modified from https://unix.stackexchange.com/questions/416018/how-to-replace-a-string-in-all-folder-and-file-names?noredirect=1&lq=1
find . -name "*kevlar*" -print0 | while read -r -d '' file; do
    git mv "$file" "${file//kevlar/imprint}"
done

# Step 4: check your work. Both commands should return nothing:
grep -r "kevlar" ./
find . -name "*kevlar*"

End of an era


What does the following code means?

auto ThreadPool::enqueue(F&& f, Args&&... args)
-> std::future<typename std::result_of<F(Args...)>::type>
in Threadpool.h, what does array(->) means? return value?
https://github.com/progschj/ThreadPool/blob/master/ThreadPool.h#L19
Thank you very much

you could find answer here https://stackoverflow.com/questions/22514855/arrow-operator-in-function-heading

auto ThreadPool::enqueue(F&& f, Args&&... args)
-> std::future<typename std::result_of<F(Args...)>::type>
in Threadpool.h, what does array(->) means? return value?
https://github.com/progschj/ThreadPool/blob/master/ThreadPool.h#L19
Thank you very much

you could find answer here https://stackoverflow.com/questions/22514855/arrow-operator-in-function-heading

Thank you very much.


[WIP][FEAT] add commands for httpie/ http-prompt

This PR adds two new commands to wrangler for testing workers. They are conceptually similar to wrangler preview, but instead of opening a browser window, they allow you to test using CLI tools.
wrangler http, which calls httpie with the necessary preview service arguments prefilled
wrangler http-prompt which starts a new http-prompt session with the necessary arguments prefilled.
wrangler preview currently makes a test HTTP request before opening the preview in the browser, this PR opens the possibility deprecate that behavior in favor of the two new commands, so preview is dedicated for browser preview, and http/http-prompt are used for making HTTP requests to a worker from CLI.
These still need some code cleanup work, and there is some argument as to whether or not these commands belong in wrangler or not. They could easily be implemented as cargo-style subcommands, using clap and the same process_builder.rs file that cargo uses for transferring control to the subcommand process.

closing in favor of #845


Mount options for OEM and state in config

rancher.state.oem_opt and rancher.state.opt appropriately. Especially useful common discard, noatime and BTRFS ssd, subvol

I can definitely see this PR being useful! I think using interface{} is the only thing I'd change.

I'd like to see this PR contain a little user facing docs - but yeah, me too.

Done! Just getting accustomed to Go after C++ :)

LGTM once tests are passing!

@tetatetit are you interested in fixing the failing test validate_test.go:15: invalid character '"' after object key:value pair and adding docs? this has been waiting for a while.


Suggestion/Request: Mod compatibility

This mod is really awesome. The framework of it is really easy to understand and while I might guess how to manually add each individual mod item. I personally am not good at coding to make a separate mod that automates the process. So, would it be possible to request mod compatibility? Some things like bobs inserters research either being auto researched or added to the research the same way the vanilla ones are. My group likes to have a lot of QOL and other small mods like bulk train loaders or miniloaders.

I would like to add mod compatibility in the future but not any time soon unfortunately. Right now im planning on finishing the UI, then making some big gameplay changes and only then will i look at mod compatibility.

Awesome, thanks. You are doing great work.


Add APIs retrieving file metadata and file content

Add FileController with API GET /files/{id}/metadata (implemented by getFileMetadata()) and GET /files/{id}/content (implemented by getFileContent()), where id is supposed to be the file id generated by database.
Add interface FileService with three methods and an implementation class FileServiceImpl, in which

getFileMetadata() retrieves the metadata from database and returns the correctly formatted DTO.
getFileContent() combines the storage directory and the filename and returns the corresponding Resource.
supportFileContentRequestType() checks if the file is suitable for a type of request. Range request is only supported for video and audio, while full file request is only supported for plain text, pdf, and image. Furthermore, the file size must be lower than a specific limit if the full file is requested.
private method getFilePath is a helper method that extracts the actual path used in storage from a FileEntity.
private method formatFileSize formats the file size (in bytes) as a String such as "3.0 GB", "441.5 KB", and "5 B".

Add configuration class FileProperties with configuration properties

files.storage-location: the root directory for file storage
files.max-download-size: maximum size allowed for full file request in getFileContent(), default 10 * 1024 * 1024 (i.e., 10MB)

Add FileMetadataDto. Add enum FileContentRequestTypeDto representing whether the request have Range header.
Add file-related exception types in ExceptionEnum.
Add unit tests for FileController and FileServiceImpl.

Entity members' type.

Done


python3Packages.weconnect: 0.36.3 -> 0.36.4, python3Packages.weconnect-mqtt: 0.29.0 -> 0.29.1

Motivation for this change
https://github.com/tillsteinbach/WeConnect-python/releases
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 159801 run on x86_64-linux 1

4 packages built:

python310Packages.weconnect
python310Packages.weconnect-mqtt
python39Packages.weconnect
python39Packages.weconnect-mqtt


Ch12 back propagation - sigmoid derivative not included

ch12 notebook
##################
# Backpropagation
##################

# [n_samples, n_classlabels]
sigma_out = a_out - y_train_enc[batch_idx]

isn't this supposed to be
sigma_out = np.multiply(-(y_train_enc[batch_idx] - a_out), sigmoid_derivative_out)

Reference: https://github.com/stephencwelch/Neural-Networks-Demystified/blob/master/Part 4 Backpropagation.ipynb

Thanks for the note. However, a_out - y_train_enc[batch_idx] should be correct as the derivative of the cross-entropy loss with softmax activation is simply the "output-target". That's because in this particular combination
(partial_Err / partial_activation) * (partial_activation / partial_netinput), the denominators multiply out. Where activation=sigmoid in this case.
I've just sketched this out on paper (for efficiency ;) ) :

I noticed in the blog post that a squared loss is used (whereas in the book, I used cross entropy), hence in my case, a_out - y_train_enc[batch_idx] is the the partial derivative of the loss with respect to the net input z, whereas in the blog post, it's the partial derivative of the loss with respect to the activation; hence they multiply it another time with the sigmoid derivative (in my case, it's included due to the cancellation mentioned earlier).
In any case, I hope that helps :)

Thanks for the detailed explanation.


Update New-ApplicationAccessPolicy.md

Docs Build status updates of commit 725e6ed:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-ApplicationAccessPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit a7349ac:
:warning: Validation status: warnings

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsTeamsMobilityPolicy.md
:warning:Warning
View (skype-ps)
Details

skype/skype-ps/skype/Grant-CsTeamsMobilityPolicy.md
:warning:Warning
View (skype-ps)
Details

skype/skype-ps/skype/New-CsTeamsMobilityPolicy.md
:warning:Warning
View (skype-ps)
Details

skype/skype-ps/skype/Remove-CsTeamsMobilityPolicy.md
:warning:Warning
View (skype-ps)
Details

skype/skype-ps/skype/Set-CsTeamsMobilityPolicy.md
:warning:Warning
View (skype-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOSiteCollectionAppCatalog.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/docfx.json
:warning:Warning

Details

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOHubToHubAssociation.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOBuiltInDesignPackageVisibility.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOCrossGeoMoveReport.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPODataEncryptionPolicy.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOMultiGeoCompanyAllowedDataLocation.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOHomeSite.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOMultiGeoExperience.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteUserInvitations.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOStorageEntity.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteDataEncryptionPolicy.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteScriptFromWeb.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOUnifiedGroup.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOSiteCollectionAppCatalog.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOSiteCollectionAppCatalogById.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOHubToHubAssociation.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteCollectionAppCatalogs.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOMultiGeoCompanyAllowedDataLocation.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOSiteUserInvitations.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOHomeSite.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Register-SPODataEncryptionPolicy.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOStorageEntity.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOHomeSite.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOWebTheme.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPContentTypeToList.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Update-UserType.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPCustomAction.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSidePage.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSidePageSection.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPSiteClassification.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOMultiGeoExperience.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOMultiGeoCompanyAllowedDataLocation.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPContentTypeToDocumentSet.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPFileToProvisioningTemplate.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPFieldFromXml.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPPublishingImageRendition.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPSiteCollectionAppCatalog.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPDocumentSet.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPIndexedProperty.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPProvisioningTemplate.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPNavigationNode.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOUnifiedGroupMoveState.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPEventReceiver.md
:warning:Warning
View (sharepoint-ps)
Details

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSideText.md
:warning:Warning
View (sharepoint-ps)
Details

This comment lists only the first 50 files in the pull request.

skype/skype-ps/skype/Get-CsTeamsMobilityPolicy.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'saragava' is not a valid Microsoft alias.

skype/skype-ps/skype/Grant-CsTeamsMobilityPolicy.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'saragava' is not a valid Microsoft alias.

skype/skype-ps/skype/New-CsTeamsMobilityPolicy.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'saragava' is not a valid Microsoft alias.

skype/skype-ps/skype/Remove-CsTeamsMobilityPolicy.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'saragava' is not a valid Microsoft alias.

skype/skype-ps/skype/Set-CsTeamsMobilityPolicy.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'saragava' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOSiteCollectionAppCatalog.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/docfx.json

Line 58, Column 27: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.
Line 72, Column 71: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.prod': 'sharepoint-powershell'.

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOHubToHubAssociation.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOBuiltInDesignPackageVisibility.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOCrossGeoMoveReport.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPODataEncryptionPolicy.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOMultiGeoCompanyAllowedDataLocation.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOHomeSite.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOMultiGeoExperience.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteUserInvitations.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOStorageEntity.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteDataEncryptionPolicy.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteScriptFromWeb.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOUnifiedGroup.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOSiteCollectionAppCatalog.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOSiteCollectionAppCatalogById.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOHubToHubAssociation.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteCollectionAppCatalogs.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOMultiGeoCompanyAllowedDataLocation.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOSiteUserInvitations.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOHomeSite.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Register-SPODataEncryptionPolicy.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOStorageEntity.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOHomeSite.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOWebTheme.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPContentTypeToList.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-online/Update-UserType.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPCustomAction.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSidePage.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSidePageSection.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPSiteClassification.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOMultiGeoExperience.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOMultiGeoCompanyAllowedDataLocation.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPContentTypeToDocumentSet.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPFileToProvisioningTemplate.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPFieldFromXml.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPPublishingImageRendition.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPSiteCollectionAppCatalog.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPDocumentSet.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPIndexedProperty.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPProvisioningTemplate.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPNavigationNode.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOUnifiedGroupMoveState.md

Line 0, Column 0: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'kirks' is not a valid Microsoft alias.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPEventReceiver.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSideText.md

Line 0, Column 0: [Warning-ms-prod-or-service-missing] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[Racked] Final vqa

[x] "This is a cool headline" Should be in franklin ITC. Font not loading currently.
[x] Button and social buttons should be using franklin condensed light. Font not loading currently.

Link: http://racked.sb6.sbndev.net/2015/5/21/8003433/racked-randomizer

[ ] The main text should go back to calluna-regular. (The text that's higlighted here)

[ ] social buttons: text need to be bumped up to 15px, 1px letter spacing

[ ] generate another button: text needs to be bumped up to 18px

(Note: We have to bump up the condensed weights for racked because it looks to teensy tiny right now)


Stop building dev images for gardener/gardener-extension-registry-cache

/kind cleanup
What this PR does / why we need it:
This PR stops building dev images in prow. They will be built in concourse in the future in order to harmonize the setup of extension repositories.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/cc @ialidzhikov @dimitar-kostadinov
/hold
Merge shortly before https://github.com/gardener/gardener-extension-registry-cache/pull/229 is merged

/hold cancel


Plan for using cairo1-run as a library or SDK

To speed things up, we decided to copy&paste part of the cairo1-run function (on the server) to generate CASM and Sierra files. To avoid maintenance work, it would be better to use cairo1-run as an external dependency.

[ ] Speak with LambdaClass and figure out their plans to make cairo1-run a library and/or expose generating CASM + Sierra
[ ] Create an issue that documents learnings and next steps

Note: This task is just a planning work; no code writing is required. The goal is to understand the requirements, external dependencies and overall work required.
Note2: Might be wort looking (speaking with) other Cairo runner implementations (there are many like the Zig project or Go)

Created an issue for refactoring cairo1-run to use as a library
https://github.com/lambdaclass/cairo-vm/issues/1623


Form block email submission typo

The word 'separate' has a typo in the form block interface.

Would you mind to make a PR? or want from us?


Story/csi 1169 ocp4 3 operator deployment

add  patch permission to csi-attacher

@igorgonibm could we delete this branch?


[BUG] page.type hangs?

No idea if this is a bug related to this repo or the puppeteer-core?
After I "goto" a page, I'm able to load the content and log it just fine with await page.content();
However, when I try await page.type('input[type=email]', 'texttoinput');
it just hangs forever. I've tried other notation as well such as retrieving by id, etc. But regardless I'm guessing it is not supposed to hang. Do you happen to know if this is a bug in this repo, or puppeteer-core, or perhaps something else strange going on?
I've confirmed its the page.type that is hanging, a console log immediately after that line never gets printed out.
I've initialized puppeteer the way you've specified on the github readme. although i do also have some extra parameters.
browser = await puppeteer.launch({
      args: chromium.args,
      defaultViewport: chromium.defaultViewport,
      executablePath: await chromium.executablePath(),
      headless: chromium.headless,
      ignoreHTTPSErrors: true,
    });

Environment

chromium Version: 115
puppeteer / puppeteer-core Version: 21.0.0
Node.js Version: 18
Lambda / GCF Runtime: nodejs18 -->

Expected Behavior
page.type doesnt hang
Current Behavior
page.type hangs

the text to input was null, so closing this.
I discovered this by using chromium 19.7.0 before it became Chrome For Testing and it gave me an actual error "TypeError: text is not iterable" rather than hanging forever.


3.5 doesn't work with barenaked anymore

Error:(53, 70) Class org.apache.hadoop.fs.LocalFileSystem not found - continuing with a stub.
sparkSessionBuilder.config("spark.hadoop.fs.file.impl",classOf[BareLocalFileSystem].getName)

snap builds from 5th July do not show the issue


[CI] use sklearnex azure pipelines template for sklearnex CI step

Description
oneDAL should refer to sklearnex's testing rather than storing scripts on its own locally.  This is a maintenance burden that we can remove.  This is currently a work in progress.  Modifications will need to occur on sklearnex side in order to use the PR-generated GNUMKL build.

Checklist to comply with before moving PR from draft:
PR completeness and readability

[ ] I have reviewed my changes thoroughly before submitting this pull request.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation to reflect the changes or created a separate PR with update and provided its number in the description, if necessary.
[ ] Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
[ ] I have added a respective label(s) to PR if I have a permission for that.
[ ] I have resolved any merge conflicts that might occur with the base branch.

Testing

[ ] I have run it locally and tested the changes extensively.
[ ] All CI jobs are green or I have provided justification why they aren't.
[ ] I have extended testing suite if new functionality was introduced in this PR.

Performance

[ ] I have measured performance for affected algorithms using scikit-learn_bench and provided at least summary table with measured data, if performance change is expected.
[ ] I have provided justification why performance has changed or why changes are not expected.
[ ] I have provided justification why quality metrics have changed or why changes are not expected.
[ ] I have extended benchmarking suite and provided corresponding scikit-learn_bench PR if new measurable functionality was introduced in this PR.

/intelci: run

/intelci: run


[GSSOC'23] N-Queens Problem

This is an amazing problem on arrays and backtracking. Can you assign me this project under GSSOC'23?

hello @aaryahjolia  i have solved this problem many times . please assign it to me


[3.x] Fix capitalization of boolean output in classref

Boolean output are lower cased only on master.

Thanks!

Cherry-picked for 3.4.5.


Request: Binding 978/1090 process to specific SDR?

This came up in a Reddit thread but I'm not sure it was really fleshed out. I've had some 978 and 1090 antennas made (hopefully will be here this week then I can get them out to everyone). Since they are tuned to each respective frequency, it would be good to bind the UAT and ES processes to the correct receivers. Has anyone determined if there is a way to detect which one is which, and bind the process to one or the other? Is one USB port always the lower numbered one?

Is the order that USB devices are "ordered" on bootup deterministic?

I did some more searches and the following discussion thread suggests the device order will change when devices are added or removed but more important there is the change they change from boot sequence to boot sequence based on timing of processes and race conditions.
http://raspberrypi.stackexchange.com/questions/12246/why-does-usb-port-enumeration-change
My experience appears that devices are stable from boot to boot and ports are sequential. However I may find its just current coincidence and it all changes a week or month from now.

On Sep 22, 2015, at 6:39 PM, cyoung<EMAIL_ADDRESS>wrote:
Is the order that USB devices are "ordered" on bootup deterministic?
—
Reply to this email directly or view it on GitHub.

It could be possible but only if the SDRs supply a unique identifier. In
the past, I've resolved certain issues by creating symlinked devices this
way for other stuff, like tuners in a htpc. Haven't looked into with the
SDRs though.
On Sep 22, 2015 5:55 PM, "bradanlane"<EMAIL_ADDRESS>wrote:

I did some more searches and the following discussion thread suggests the
device order will change when devices are added or removed but more
important there is the change they change from boot sequence to boot
sequence based on timing of processes and race conditions.
http://raspberrypi.stackexchange.com/questions/12246/why-does-usb-port-enumeration-change
My experience appears that devices are stable from boot to boot and
ports are sequential. However I may find its just current coincidence
and it all changes a week or month from now.

On Sep 22, 2015, at 6:39 PM, cyoung<EMAIL_ADDRESS>wrote:
Is the order that USB devices are "ordered" on bootup deterministic?
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/55#issuecomment-142443931.

IIRC (and this is coming from memory, so please don't trust it as gospel truth) there is a way to map USB devices based on the port into which they are inserted. You can create udev rules that then enforce device identity based on that mapping - maybe? Here's a link that might help:
http://askubuntu.com/questions/49910/how-to-distinguish-between-identical-usb-to-serial-adapters

Duplicate, moving to #79.


use internal definition contexts instead of lambda wrapper

cc @iitalics @michaelballantyne
Opening this issue to hopefully avoid some duplication of effort, eg 1 and 2
I also tried this a long time ago but could not get it to work, in part because Turnstile sometimes expands unbound type variables (eg, in assign-type), which the macro expander currently allows.
@michaelballantyne investigated further and found that the current implementation "works" because #%top is bound where the type var is referenced. If the type var is replaced with a generate-temporary, then an unbound id error is produced instead.
(Also, one of the tests was incorrect: https://github.com/michaelballantyne/macrotypes/commit/f9a8113fad952d8b995d378d65567f6805407ad0)

Thanks. I was about to ask you about this, because it seems like the current bound vars work by magic (they are pulled from the expanded lambda, then re-expanded in a new context, yet they dont throw unbound id errors). You're saying that they have some #%top in scope somehow?

Could we somehow inject a #%top into their scope to emulate their behavior? I would really like to use this, as it would free up the ability to use stop-ids in local-expand if we can get it working

Yes I guess we could, but now I'm not sure if we always want the current behavior. For example, one of the tests in exist.rkt was incorrectly not throwing unbound id error because of this. Did you run into problems with these tests?

My understanding was incorrect; it has nothing to do with #%top. local-expand never applies implicit #%top anyway.
The exists test that was wrong was a situation where the type variable had a binding, but the binding was out of context. With full expansion that produces an unbound identifier error:
(define-syntax (m stx)
  (define ref (syntax-case (local-expand #`(let ([Y 5]) Y)
                                         'expression
                                         '())
                ()
                [(_ _ b) #'b]))
  ref)
(m)
; Y: identifier used out of context
;  context...:
;  matching binding...: in: Y

But with local-expand, it does not:
(define-syntax (m stx)
  (define ref (syntax-case (local-expand #`(let ([Y 5]) Y)
                                         'expression '())
                ()
                [(_ _ b) #'b]))
  (local-expand ref 'expression '())
  #'(void))
(m)

runs without error. I believe this is intended to support cases where you disassemble syntax, local-expand it, and reassemble it.
The result is that even though the existential variable was not bound in the final expansion of the type, it expanded fine because it had had a binding previously and local-expand does not produce identifier out of context errors.
I ran across that test for another reason, which is that syntax-local-introduce wasn't used in all the right places. This didn't cause a problem when the bindings create by infer used use-site identifiers, but does when it creates bindings with macro introduced identifiers.
Right now turnstile calls syntax-local-introduce whenever is stashes something in a syntax property. But it is also necessary to do the same when retrieving syntax out of a property. See my fix here: https://github.com/michaelballantyne/macrotypes/blob/7f1e534e0fd69538f1da188f8a82dde034ce3764/macrotypes/typecheck.rkt#L213-L228
I have internal definition contexts in my branch working now for everything except the dependent type tests. Not sure what's going on there yet, but maybe something related to subst? I did have to avoid generating a new symbolic name for the identifiers bound by infer, because that seemed to break a bunch of things (something that looked like typeclasses, for one).
Was planning to dig into those two issues next week, but I don't want to duplicate work. @iitalics, do you want to push on this or should I? How well is your version working?
For context, Matthias has me working on fixing turnstile's quadratic expansion time problem. I plan to have typed forms expand to something in the stop list so they won't re-expand until we're all the way out of typechecking. So I need expansion with a stop list to work.

My version isn't working very well, I just wrote it last night. It passes STLC but I stopped working on it while debugging sysf.
I'm going to look over your work; you're definitely much more knowledgable than me on local-expand etc.

I plan to have typed forms expand to something in the stop list so they won't re-expand until we're all the way out of typechecking.

I agree that we should do something like this. I was also crafting an example elaboration-target language that breaks when typed forms are fully-expanded.


refactor(project): refactor update method to return a single event (DSP-1640)

resolves DSP-1640

Could you please add a test that does what you explained in the PR comment?

There is a test for this but it's currently not easy to know since it's all in one big test in project_test.go in the service directory. There's currently a TODO in this file to split the tests up which will be done in this task https://dasch.myjetbrains.com/youtrack/issue/DSP-1616


Can't import TensorFlow

System information

OS Platform:
Windows 10 Pro 64bit
Python version:
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
TensorFlow version
1.6.0 installed using:
pip3 install --upgrade tensorflow

Collecting tensorflow
  Using cached tensorflow-1.6.0-cp36-cp36m-win_amd64.whl
Requirement already up-to-date: astor>=0.6.0 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: protobuf>=3.4.0 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: grpcio>=1.8.6 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: wheel>=0.26 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: numpy>=1.13.3 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: tensorboard<1.7.0,>=1.6.0 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: termcolor>=1.1.0 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: absl-py>=0.1.6 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: six>=1.10.0 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: gast>=0.2.0 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorflow)
Requirement already up-to-date: setuptools in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from protobuf>=3.4.0->tensorflow)
Requirement already up-to-date: bleach==1.5.0 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)
Requirement already up-to-date: werkzeug>=0.11.10 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)
Requirement already up-to-date: html5lib==0.9999999 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)
Requirement already up-to-date: markdown>=2.6.8 in c:\users\pc\appdata\local\programs\python\python36\lib\site-packages (from tensorboard<1.7.0,>=1.6.0->tensorflow)
Installing collected packages: tensorflow
Successfully installed tensorflow-1.6.0

Have I written custom code: No
Bazel version : I don't have
CUDA/cuDNN version : I don't have
GPU model and memory :N\A
Exact command to reproduce : import tensorflow as tf

The problem
Can't import TensorFlow
import tensorflow as tf
Traceback (most recent call last):
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "C:\Users\pc\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

I have no idea what to do.
TY in advance

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Installing tensorflow using conda install tensorflow can fix this error

I'm having the same issue above on Windows Server 2012 r2 datacenter, version 6.3.9600  I tried multiple uninstalls but can't get it to work.
C:\Users\Administrator>python
Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)]
 on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_impor
t_helper
    return importlib.import_module(mname)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\import
lib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 648, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 560, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routin
e failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_impor
t_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\import
lib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_impor
t_helper
    return importlib.import_module(mname)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\import
lib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 648, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 560, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routin
e failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_impor
t_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\import
lib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_probl
ems

@gunan do you know if someone can triage installation issues?

We have seen this on windows where users were running on old CPUs that did not have AVX instruction set available.
What is your CPU model?

Sorry to hijack your thread @Gad1001
I compiled and ran this tool to check for AVX support and it shows my CPU does not, also confirmed at cpu boss   I'm running on a VM in hyper-V on a xeon W3670.
I just read the releases page mentioning AVX starting with 1.6.   I was running tensorflow 1.5 before so this makes sense!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

I am facing the same issue on windows 8. Plus I have set installed VC++ 2015 Update 6 and set path to the required dll. Still facing the above error.

If you do not have a CPU that supports AVX instruction sets, prebuilt binaries wont work on your system.
While we work on a more portable and fast solution, you can build TF from sources to work around this problem. If you search existing issues, you can also find community built packages that can work on older systems.

just downgrade tensorflow version to 1.5...............wasted 4 days to get this right...................rest all worked fine automatically.
use command "pip install tensorflow==1.5"


[BUG]: UnknownError: Command failed with ENOENT

What happened?
When create a new flipper template using https://github.com/ltfschoen/XCMTemplate by following these steps in the README after following the steps to run it in Docker https://github.com/ltfschoen/XCMTemplate?tab=readme-ov-file#build--upload-ink-rust-flipper-smart-contract-to-local-testnet-using-swanky-cli-, when I run yarn && yarn run run-node or swanky node start it outputs
error:   UnknownError: Command failed with ENOENT: --finalize-delay-sec 0 --rpc-cors http://localhost:*,http://<IP_ADDRESS>:*,https://localhost:*,https://<IP_ADDRESS>:*,https://polkadot.js.org,https://contracts-ui.substrate.io/
spawn --finalize-delay-sec ENOENT

Or if i run swanky node start --tmp --verbose it outputs
error:   UnknownError: Command failed with ENOENT: --finalize-delay-sec 0 --dev
spawn --finalize-delay-sec ENOENT

Steps to reproduce

create a new flipper template using https://github.com/ltfschoen/XCMTemplate by following these steps in the README after following the steps to run it in Docker https://github.com/ltfschoen/XCMTemplate?tab=readme-ov-file#build--upload-ink-rust-flipper-smart-contract-to-local-testnet-using-swanky-cli-
run yarn && yarn run run-node or swanky node start
view error

error:   UnknownError: Command failed with ENOENT: --finalize-delay-sec 0 --rpc-cors http://localhost:*,http://<IP_ADDRESS>:*,https://localhost:*,https://<IP_ADDRESS>:*,https://polkadot.js.org,https://contracts-ui.substrate.io/
spawn --finalize-delay-sec ENOENT

Expected behavior
it should start the swanky node instead of generating that error
Actual behavior
it generates error:
error:   UnknownError: Command failed with ENOENT: --finalize-delay-sec 0 --rpc-cors http://localhost:*,http://<IP_ADDRESS>:*,https://localhost:*,https://<IP_ADDRESS>:*,https://polkadot.js.org,https://contracts-ui.substrate.io/
spawn --finalize-delay-sec ENOENT

Environment

Operating System macOS 14.1.1
Project version/tag: (run 'swanky version') 3.1
Rust version (run rustup show)

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.77.2 (25ef9e3d8 2024-04-09)

Node version (run node --version)

v20.12.2

Note: I get the same error even if i switch to Node.js v18.20.2
Logs, Errors, Screenshots

Additional information
No response

upon initial inspection of the https://docs.astar.network/docs/build/wasm/swanky-suite/cli/, it says that "swanky-cli, as well as environment in the swanky-base image, and supported tools target ink! v4, and use cargo contract v2".
i've updated to using ink v4, but i also updated to use the latest cargo-contract v4
cargo-contract --version
cargo-contract 4.1.0-unknown-x86_64-unknown-linux-gnu

so it might be necessary to downgrade to cargo contract v2

i can't even get this to compile to try to be compatible with the versions that swanky-cli wants
export RUST_NIGHTLY=2023-03-21
export CARGO_CONTRACT_VERSION=3.0.1

rustup toolchain install nightly-${RUST_NIGHTLY} --target wasm32-unknown-unknown --profile minimal --component rustfmt clippy rust-src
ln -s "/usr/local/rustup/toolchains/nightly-${RUST_NIGHTLY}-x86_64-unknown-linux-gnu" \
                /usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu
cargo install cargo-dylint dylint-link
cargo install cargo-contract --version ${CARGO_CONTRACT_VERSION}

it outputs error
error[E0004]: non-exhaustive patterns: `Instruction::SignExt(_)` not covered
   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/wasmi-validation-0.5.0/src/func.rs:174:15
    |
174 |         match *instruction {
    |               ^^^^^^^^^^^^ pattern `Instruction::SignExt(_)` not covered
    |
note: `Instruction` defined here
   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/parity-wasm-0.45.0/src/elements/ops.rs:111:1
    |
111 | pub enum Instruction {
    | ^^^^^^^^^^^^^^^^^^^^
...
308 |     SignExt(SignExtInstruction),
    |     ------- not covered
    = note: the matched value is of type `Instruction`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
    |
785 ~             },
786 +             Instruction::SignExt(_) => todo!()
    |

similar error when try to use CARGO_CONTRACT_VERSION=2.1.0

if i run
swanky node install
swanky node start

it shows better errors including:
bin/swanky-node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/swanky-node)
bin/swanky-node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by bin/swanky-node)
bin/swanky-node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by bin/swanky-node)
bin/swanky-node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by bin/swanky-node)
bin/swanky-node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by bin/swanky-node)
error:   UnknownError: Command failed with exit code 1: bin/swanky-node --finalize-delay-sec 0 --rpc-cors http://localhost:*,http://<IP_ADDRESS>:*,https://localhost:*,https://<IP_ADDRESS>:*,https://polkadot.js.org,https://contracts-ui.substrate.io/
Please report this bug at: https://github.com/swankyhub/swanky-cli/issues
    at makeError (file:///usr/local/share/.config/yarn/global/node_modules/execa/lib/error.js:60:11)
    at handlePromise (file:///usr/local/share/.config/yarn/global/node_modules/execa/index.js:124:26)
    at async StartNode.run (file:///usr/local/share/.config/yarn/global/node_modules/@astar-network/swanky-cli/dist/commands/node/start.js:9:9)
    at async StartNode._run (/usr/local/share/.config/yarn/global/node_modules/@astar-network/swanky-cli/node_modules/@oclif/core/lib/command.js:117:22)
    at async Config.runCommand (/usr/local/share/.config/yarn/global/node_modules/@astar-network/swanky-cli/node_modules/@oclif/core/lib/config/config.js:329:25)
    at async run (/usr/local/share/.config/yarn/global/node_modules/@astar-network/swanky-cli/node_modules/@oclif/core/lib/main.js:89:16)
    at async Module.execute (/usr/local/share/.config/yarn/global/node_modules/@astar-network/swanky-cli/node_modules/@oclif/core/lib/main.js:154:5)
    at async file:///usr/local/share/.config/yarn/global/node_modules/@astar-network/swanky-cli/bin/run.js:4:1


Unable to send messages normally due to HA disconnection

The issue tracker is used for bug reporting purposes ONLY whereas feature request needs to follow the RIP process. To avoid unnecessary duplication, please check whether there is a previous issue before filing a new one.
It is recommended to start a discussion thread in the mailing lists in cases of discussing your deployment plan, API clarification, and other non-bug-reporting issues.
We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.
Please ensure that your bug report is clear and self-contained. Otherwise, it would take additional rounds of communication, thus more time, to understand the problem itself.
Generally, fixing an issue goes through the following steps:

Understand the issue reported;
Reproduce the unexpected behavior locally;
Perform root cause analysis to identify the underlying problem;
Create test cases to cover the identified problem;
Work out a solution to rectify the behavior and make the newly created test cases pass;
Make a pull request and go through peer review;

As a result, it would be very helpful yet challenging if you could provide an isolated project reproducing your reported issue. Anyway, please ensure your issue report is informative enough for the community to pick up. At a minimum, include the following hints:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

Send messages in controller mode

What is expected to see?

Send messages normally all the time

What did you see instead?

Failed to send messages after a period of time. HA disconnection was found through log troubleshooting

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

#5182 modified the handling of HA protocol, which might cause the bug.

@RongtongJin assigne me I will fix it


Improve PluginActivator

Add ability to configure a plugin before activation
Add ability to deactivate

Hi @MFransen69 Could you review this?

Abandoning this PR based on the discussion with @emutavchi @MFransen69 @pwielders @woutermeek @sramani-metro


Fix use of deprecated class

Supports twig > 1.21 : https://github.com/twigphp/Twig/blob/1.x/lib/Twig/Environment.php#L96

Any plan to merge this hotfix to master branch?

@kachar i have that part in my fork, if you want to use it. https://github.com/kokspflanze/ZfcTwig/blob/1.4.1/src/ZfcTwig/Twig/EnvironmentFactory.php#L36
https://github.com/kokspflanze/ZfcTwig/blob/1.4.1/src/ZfcTwig/Twig/FallbackFunction.php#L24
also works with twig1|2 (twig2 just with zf3 and php7)

when is it going to be merged?

@kokspflanze any news here?

@kusmierz like i wrote use my fork https://packagist.org/packages/kokspflanze/zfc-twig that has that fix, about this repo i can not say smth.


Centralize table schema management in Coordinator

Motivation
Original proposal https://github.com/abhishekagarwal87/druid/blob/metadata_design_proposal/design-proposal.md#3-proposed-solution-storing-segment-schema-in-metadata-store
In summary, the current approach of constructing table schemas, involving brokers querying data nodes and tasks for segment schemas has several limitations and operational challenges. These issues encompass slow broker startup, excessive communication in the system, schema rebuilding on broker startup, and a lack of unified schema owner. Furthermore, it has functional limitations such as inability to query from the deep storage.
The proposed solution is to centralize schema management within the coordinator. This involves tasks publishing their schemas in the metadata database, along with segment row count information. The coordinator can then build the table schema by combining individual segment schema within the datasource.
Design
Changes are required in tasks, coordinator and broker.
TBA
Phases
The first phase is to move existing schema building functionality from the brokers to the coordinator and allow the broker to query schema from the coordinator, while retaining the capability to build table schema if the need arises.
The next step is to have the coordinator publish segment schema in the background to reduce the volume of segment metadata queries during coordinator startup.
In parallel, tasks should be updated to publish their schema in the database. Eventually, eliminating the need to query segment schema directly from data nodes and tasks.

Pr to move schema building functionality to coordinators https://github.com/apache/druid/pull/14985

https://github.com/apache/druid/pull/16873

Completed!


adding Nagorno Karabakh information

Nagorno Karabakh doesn't appear to be a UN recongized countries @hexorx do we have a stance on this type of data?

While we add extra information about countries in ISO 3166 I don't think we should add information for countries that are not part of the standard.


🐛 [BUG] - White Screen on Sprint_0.9.19_x64_win.exe

Description
I've downloaded Sprint_0.9.19_x64_win.exe
Open app see white screen
Reproduction URL
https://github.com/sprintrest/support/releases/download/v0.9.19/
Reproduction steps
1. Click on 'https://github.com/sprintrest/support/releases/download/v0.9.19/Sprint_0.9.19_x64_win.exe'
2. Install
3. Open App
4. See white screen

Expected Sign In/Sign Up

Screenshots
![DESCRIPTION](LINK.png)

Logs
No response
Browsers
Chrome
OS
Windows

Please try with v20

Same for "Windows 11 Home Single Language" - Windows Feature Experience Pack 1000.22684.1000.0 - OS Build 22621.3155

Still same in 21


mailto with template literal at reference-list

@maria-badanina please check if now is ok, thanks a lot!
Also, modified referenceItem accordingly.

Awesome!


Waypoint: Chaining If Else Statements : doesn't take into account if lines are commented out

Challenge Waypoint: Chaining If Else Statements has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function myTest(num) {
  // Only change code below this line
  if(num < 5){
    return 'Tiny';
  }
  else if(num < 10){
    return 'Small';
  }
  else if(num < 15){
    return 'Medium';
  }
  else if( num < 20){
    return 'Large';
  }
  else if(num >= 20){
    return 'Huge';
  }

  //return "Change Me";
  // Only change code above this line
}

// Change this value to test
myTest(7);

Test things "//return "Change Me";" is a return statement when it's just commented out.

I have done as said but still i am having this problem. plz help

@MK-Emon
Please use the HelpJavaScript chat room for getting challenge related help.
Happy Coding.

@MK-Emon
In your first else if return  statement S for "small" should be uppercase not lower case.

@MK-Emon The S in Small should be Uppercase

@MK-Emon .... Ur code is right except changing testSize(7) and making sure ur curly braces are pointing to else if.  Also remove the curly braces in front of else return "change me" n dt of d double //....
Happy Coding!

@ MK-Emon ... You have a typo. Where you have " small" you should have "Small".

I also have problem about this challenge.
Finally ,I found all words that need be returned is lowercase.
Samll——>small.
Tiny——>tiny.
……

this is the correct answer:
function testSize(num) {
// Only change code below this line
if(num < 5){
return 'Tiny';
}
else if(num < 10){
return 'Small';
}
else if(num < 15){
return 'Medium';
}
else if( num < 20){
return 'Large';
}
else if(num >= 20){
return 'Huge';
}
// Only change code above this line
}
// Change this value to test
testSize(5);

@MihaelaMarinca
Please do not post your solution on here. You could help people at FreeCodeCamp Chat Room or Forum. GitHub Issues are for reporting bugs on the website only.
Happy Coding!

sorry, i didn;t know.

just uppercase all return strings:
"example" to "Example"

@MiLeung  you should have testSize instead of myTest 👍


opencv overview

Converted python code snippets of opencv overview to C++.
Following code files were implemented:

Reading and writing images
Blending
Masking
Object detection
Contours
Resizing

Co authored by @vrnimje

Is this pr ready for review ?

Yes @Ris-Bali

@Om-Doiphode, why you are unnecessary changing the contents of the other folders. Kindly restrict the commits of this PR to the opencv folder only


Playground doesn't work in Visual Studio with IIS Express. Fixes issue #437

Fixes issue #437.
Playground doesn't work in Visual Studio with IIS Express.

Hi @ignatvilesov, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Vilesov Ignat (Akvelon)). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Looks good.


Local navigation: Add component

Fixes #890.
Two solutions proposed by first commit and actual changes.
On hold until https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/issues/890#issuecomment-1220607245 is answered.

Adding what was said in design spec meeting::

The local navigation should behaves like a collapse.

a11y issue? The active item's color is orange, with a font size of 16px bold, which is in contradiction with our own recommendations (should be at least 19px bold, see https://a11y-guidelines.orange.com/fr/web/tester/#test-couleurs-et-contrastes)... It's even more serious in the reduced version, where the active item is only indicated by the color (no thick line below item). I'm avare that this presentation comes from another component (navbar nav-link) but shouldn't we try to find a better solution ? (probably not in this PR)
==> Created a design task about this
https://teams.microsoft.com/l/entity/com.microsoft.teamspace.tab.planner/tt.c_19:5c26314b722943139b9809091fedb71b@thread.tacv2_p_5OwWXGw5vU64wmhmfKL1u5gAHk9k_h_1646994345964?tenantId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20&webUrl=https%3A%2F%2Ftasks.teams.microsoft.com%2Fteamsui%2FpersonalApp%2Falltasklists&context={"subEntityId"%3A"%2Fboard%2Ftask%2F7fIcEPmLGUajBMGk4nn4JJgAMO9R"%2C"channelId"%3A"19%3A5c26314b722943139b9809091fedb71b%40thread.tacv2"}

On hold until we have the final design

I've updated the Local navigation to conform to accessibility standards.
For Desktop breakpoints:

Selected labels on a white background are now black.
The orange section indicator line on white backgrounds remains orange #F16E00
On black backgrounds, there are no changes.

For Tablet portrait and Mobile breakpoints:

Selection and hover states have changed on white and black backgrounds. See Zeplin links below for specifications. I've also attached an image for your reference.

Zeplin specification links:
Web: https://zpl.io/g8Ke6XN
App: zpl://screen?pid=5e7af5b06120c388f6cbc173&sid=643e6e7198cca5236fe89270

All looks good to me.


How to test that chrome.runtime.sendMessage is being called?

I have a function
export const send = async msg =>
  new Promise(resolve =>
    chrome.runtime.sendMessage(msg, response => resolve(response))
  );

and corresponding test
describe('send', () => {
  const message = 'some message'

  beforeAll(async () => {
    await send(message);
  })

  it('called chrome.runtime.sendMessage with the message', () => {
    expect(chrome.runtime.sendMessage).toHaveBeenCalledWith(message, expect.any(Function));
  })
})

but I get the error
 FAIL  tests/messaging/messageManager.test.js
  ● send › called chrome.runtime.sendMessage with the message

    TypeError: listener is not a function

      14 | export const send = async msg =>
      15 |   new Promise(resolve =>
    > 16 |     chrome.runtime.sendMessage(msg, response => resolve(response))
         |                    ^
      17 |   );
      18 |

      at node_modules/jest-webextension-mock/dist/setup.js:123:14
          at Array.forEach (<anonymous>)
      at Object.<anonymous> (node_modules/jest-webextension-mock/dist/setup.js:122:24)
      at sendMessage (src/messaging/messageManager.js:16:20)

What am I doing wrong?

Can you link me to your repo?

I would assume it’s not setup correctly, can you check those steps in the readme?

Can you link me to your repo?

Sorry it's a closed-source project but I will see if I can get that changed.  I'll recheck the readme.

I would assume it’s not setup correctly, can you check those steps in the readme?

I have rechecked the readme and there is nothing in it that I can see with specific set up steps for testing chrome.runtime.sendMessage.    However I have now got this to work.
Here's the full source of my src/messaging/utils/send.js
/**
 *  A promisified version of the chrome sendMessage function.
 *
 *  @param the message to send.
 *  @returns a promise that resolves with the message response.
 */
const send = async msg =>
  new Promise(resolve =>
    chrome.runtime.sendMessage(msg, response => {
      if (chrome.runtime.lastError) {
        console.error(chrome.runtime.lastError.message);
      }
      resolve(response);
    })
  );

export default send;

and here's the now working test
import send from 'messaging/utils/send';

const message = 'some message';

const cleanup = () => {
  chrome.runtime.sendMessage.clearMocks();
  chrome.runtime.lastError = undefined;
};

describe('with no error', () => {
  beforeAll(async () => {
    chrome.runtime.sendMessage = jest.fn((msg, callback) => callback(msg));
    await send(message);
  })

  afterAll(cleanup);

  it('called chrome.runtime.sendMessage with the message', () => {
    expect(chrome.runtime.sendMessage).toHaveBeenCalledWith(
      message,
      expect.any(Function)
    );
  });
})

describe('with an error', () => {
  const error = new Error('oops');

  beforeAll(async () => {
    chrome.runtime.sendMessage = jest.fn((msg, callback) => callback(msg));
    chrome.runtime.lastError = error;
    await send(message);
  })

  afterAll(cleanup);

  it('called chrome.runtime.sendMessage with the message', () => {
    expect(chrome.runtime.sendMessage).toHaveBeenCalledWith(
      message,
      expect.any(Function)
    );
  });

  it('called logger.error', () => {
    expect(console.error).toHaveBeenCalledWith(error.message);
  })
})

I was wondering how you were using the setup, seen here: https://github.com/clarkbw/jest-webextension-mock#use-setup-file

I have a jest.init.js file
import 'core-js/stable';
import 'regenerator-runtime/runtime';
import 'jest-webextension-mock';

global.fetch = require('jest-fetch-mock');

global.console = {
  log: console.log,
  error: jest.fn(),
  warn: jest.fn(),
  info: jest.fn(),
  debug: jest.fn()
};


Add function to get earned mediation of user in network

Need https://github.com/trustlines-protocol/relay/pull/547 to provide the endpoint to work
Closes https://github.com/trustlines-protocol/clientlib/issues/266

I renamed the methods as you suggested. I did not rename getAccruedInterests to getTotalAccruedInterest because it can be used with an optional timeframe. Also total make it sound like a sum while it is a list.

awesome 👍
What is with the failing e2e tests on circle?

As written in the first comment, it Need trustlines-protocol/relay#547 to provide the endpoint to work.
This is just using an endpoint that is implemented in pr 547 of the relay.


When getStatic() has a ? in it, it should make otherQueries true.

Also, the call isn't 100% correct.

		$call = self::API_URL_STATIC_1_2 . $call;
		return $this->request($call, (strpos($call,'?') !== false), true);
	}

This is currently working for me.

Patched https://github.com/kevinohashi/php-riot-api/commit/cb4e5f3b3c793a8345f1134e86c4bce928dcb739


feat: Encrypt documents sent to EDV

Many of the operations unit tests were using a mocked KMS when they could have used a real one - those have been updated to use real in-memory KMSs now.
Added shorthand flags for the Bloc domain, external URL host, and universal resolver URL flags.
Some other minor refactoring

Signed-off-by: Derek Trider<EMAIL_ADDRESS>closes #61

@Baha-sk are you ok using ariesstorage????


Always show sidebar in desktop/tablet mode

Suggest to add responsive layout for desktop/tablet mode. The sidebar will always show when in desktop/tablet and one column in phone.

A button in settings panel for user to toggle whether they want it always be shown is better, maybe.

Good. I will try add the css code these days.


apps with elevated privileges don't use dark theme in kde plasma

Apps like gparted, timeshift, btrfs-assistant use the light theme if the dark theme (as your regular user) is configured in systemsettings.

To fix it for apps with elevated privileges run this command:
$ sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch systemsettings5
Fix elevated GTK2/3 apps:
Then open the newly opened system settings and choose the breeze dark theme in quick settings.
Go to appearance > application style > configure GNOME/GTK Application Style and select breeze > apply
If you leave it at the Default/Adwaita Theme/greyed out gparted will still be light mode and have broken icons.
Fix icons:
appearance > icons > breeze dark > apply
Reopen your affected applications

alternatively you could probably run these commands but I don't know for certain if this works.
sudo cp -r .config/kde* /root/.config
sudo cp -r .config/gtk* /root/.config

Is someone interested in a just command or something for this?
This is not bazzite/fedora specific but Just wanted to share maybe it helps someone.
Feel free to close.

This is not an issue exclusive to bazzite, and in most cases it's intentional to tell elevated apps from non elevated apps. You're not supposed to run GUI apps under elevated privileges

This is intentional behavior. However, if you'd like to document this process we have a Discourse here


[1.10.2] Spammy Unable to find InventoryPacketState handler  alerts - SV+SF

Vanilla client, default resourcepack.   I dont know if this is a well-known issue or how long it goes back version wise, I seem to recall spotting a stray warning here and there during dev testing in the past week or so, unreproducable at the time, but seeing a huge wall of it scroll by on a playtest server version caught attention and forced research:
100.0% reproducible and controllable spam:   On a workbench, or in either crafting  area or inventory content part of a player inventory page:  First left-click to pick up an itemstack and release left button, then now moving that itemstack around the grids, you right-click on an itemstack and hold the right button, then move the item stack even one pixel before releasing it, it triggers the alert upon button release, no matter where on the GUI it is released
Folks who rapidly rclick-and-release while crafting to put a specific number in a slot will trigger it partly sometimes when filling inventory, if their hand flinches while the button is in the down state before releasing.
On spongevanilla 1.10.2, this spam generated is like this:
`
[21:32:59] [Server thread/WARN] [Sponge]: Unable to find InventoryPacketState handler for click window packet: net.minecraft.network.play.client.CPacketClickWindow@4385d2d3
[21:33:00] [Server thread/WARN] [Sponge]: Unable to find InventoryPacketState handler for click window packet: net.minecraft.network.play.client.CPacketClickWindow@10700523
[21:33:00] [Server thread/WARN] [Sponge]: Unable to find InventoryPacketState handler for click window packet: net.minecraft.network.play.client.CPacketClickWindow@2e4ba8d7
[21:33:00] [Server thread/WARN] [Sponge]: Unable to find InventoryPacketState handler for click window packet: net.minecraft.network.play.client.CPacketClickWindow@4b8dccb6
[21:33:01] [Server thread/WARN] [Sponge]: Unable to find InventoryPacketState handler for click window packet: net.minecraft.network.play.client.CPacketClickWindow@1c9053d7
[21:33:01] [Server thread/WARN] [Sponge]: Unable to find InventoryPacketState handler for click window packet: net.minecraft.network.play.client.CPacketClickWindow@483f3e0

On spongeforge 1.10.2, this spam generated is more detailed, but happens just the same: `` [22:36:03] [Server thread/WARN] [Sponge]: Unable to find InventoryPacketState handler for click window packet: CPacketClickWindow{windowId=0, slotId=-999, usedButton=4, action Number=152, clickedItem=null, mode=QUICK_CRAFT}
Video in action client+server side by side
http://www.youtube.com/watch?v=IsRLEVreQR8

Thanks Aaron1001!  I look forward to upgrading to it and being able to glance at my server console page to follow conversations and spot stray errors from a much quieter baseline now :)


Add linter/style check

Currently there is no linter that would enforce consistent styling which is an easy win saving many unnecessary "nitpicks" in code reviews regarding missing semicolons etc. so it would be beneficial to add such

fixed via https://github.com/vacuumlabs/ledgerjs-cardano-shelley/pull/32


Variable Length Data Fields Within Repeating Group

As per the SBE specification references listed below, it appears that variable length data fields could be included within a repeating group so just wanted to clarify if the real-logic SBE utility supports this?
Repeating group elements
Repeating group entries are recursively organized in the same fashion as the root level: fixed-length fields, then nested repeating groups, and finally, variable-length data fields.
Group block length
The blockLength part of a group dimension represents total space reserved for each group entry, not counting any nested repeating groups or variable-length fields. (Length of a variable-length Data field is given by its corresponding Length field.) Block length only represents message body fields; it does not include the length of the group dimension itself, which is a fixed size.
Repeating Groups
A repeating group is a message structure that contains a variable number of entries. Each entry contains fields specified by a message schema.
The order and data types of the fields are the same for each entry in a group. That is, the entries are homogeneous. Position of a given field within any entry is fixed, with the exception of variable-length fields.

Yes var data fields can be placed at the end of a repeating group. The examples show this working.
https://github.com/real-logic/simple-binary-encoding/blob/master/sbe-samples/src/main/java/uk/co/real_logic/sbe/examples/ExampleUsingGeneratedStub.java#L141


Update Gaffer to 1.0.0-RC1

Work done as part of issue #173.

Migration Steps
See https://github.com/gchq/Gaffer/releases/tag/gaffer2-1.0.0-RC1
If you are using the mini accumulo cluster then the store properties template now does not have the table name in it. You will need to update to use a graphId instead.

Merged into develop.


Updating to work with latest Go 1.19 version

Updating to work with latest Go 1.19 version.
Copy wasm_exec.js was taken from GOROOT/misc/wasm folder of version 1.19.2

@JustusFT this will require your look, as we don't pass E2E. Running locally also seems we fail with worker, when we try to use it.

Having our own vendored copy of wasm_exec.js is bad; can we not import it from Go "directly" or something?

Having our own vendored copy of wasm_exec.js is bad; can we not import it from Go "directly" or something?

My initial thought the same, however I am not sure if it is possible as application and worker runs on client side where is no go environment. Seems this file has to be copied https://github.com/golang/go/wiki/WebAssembly#webassembly-in-chrome. This part requires more investigation.

Seems this file has to be copied [..]

Having a copy is the artifacts is fine, but can't we just grab it from the "go root" at build time? (i.e. instead of burning it into this repository?)

@donpui May be once https://github.com/LeastAuthority/wormhole-william/pull/92 is merged in, you may update the submodule to the latest commit in this PR itself, so all the Go 1.19 changes would be visible from this PR.

I have updated with w-w changes and also moved wasm_exec.js. Now it will be copied during the build with small change in file. @JustusFT take a look, maybe it can be done even better.
After all changes, seems we have working solution with Go-1.19