Include SVSM module as a payload in OVMF firmware image

The current svsm module needs to be loaded as a separate pflash image where QEMU detects the svsm pflash, reads the metadata and launches the module using a 32-bit entry point at offset 0 of the image. This PR introduces changes that combine the firmware images for OVMF and the svsm module as well as reorganising the entry points to simplify the configuration of the VM as well as allow removal of some boilerplate in QEMU.
The major changes introduced are:

Builds the EDK2 branch that supports SVSM launch of OVMF using a git submodule, integrated into the Makefile.
Switches to using the OvmfSvsmX64 package for OVMF which packages svsm.bin as part of the OVMF firmware image and modifies layout of reset vector and SVSM/OVMF metadata to support launch.
SVSM changes to use new location of OVMF metadata and to launch guest using OVMF 16-bit entry point (the original reset vector).

With these changes, it is possible to revert some of the boilerplate added to QEMU detect and launch the SVSM.
Please note that the final commit in the series switches to using the OvmfSvsmX64 package. This is currently in an active PR (https://github.com/coconut-svsm/edk2/pull/1) and has not yet been merged so in order to successfully build the code for this PR you will need to checkout the relevant code from that EDK2 PR branch. Hence this PR is marked as draft until that code is merged.

Closing this draft PR now pending future discussions on strategies for building and packaging the SVSM and firmware. I'll retain the branch for future reference.


Add a shortcut / alias variable

At the moment inside templates pretty everything is done via $this variable.
I think would be nice to have a short-named (probably one letter) variable that allow to access all features with less typing.
that would be as easy as to add $T = $this; before requiring template files.
After that inside templates, will be possible
$T->section('foo');

instead of
$this->section('foo');

Moreover, syntax to access variables:
$T->varname

is not very much longer than
$varname

Considering Foil has no global variables in templates that should not cause any name conflict and, since $this is still available, that will not cause any backward compatiblity break.

Feature added in version 0.6


set the url for sent the request

Sorry for this question.
:)
How do i set the url for send the request

Please read the AbstractSoapClientBase usage from which the ServiceType classes inherit. You'll find the setLocation method that allows to set the location where the request must be sent if not defined in the WSDL.

public function getStreamContextOptions()

TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/ship';

You must call setLocation on the ServiceType instance:
$do = new ServiceType\Do([]);
$do->setLocation(...);

$result = $do->do($parameters);

there is a way to output the wsdl with before is send?

there is a way to output the wsdl before is send?

You mean the XML request? If so, yes, you need to use the soapclient option such as in https://github.com/WsdlToPhp/PackageEws365/blob/develop/generate.sh and copy classes from https://github.com/WsdlToPhp/PackageEws365/tree/develop/SoapClient, then you can do whatever you need in the https://github.com/WsdlToPhp/PackageEws365/blob/develop/SoapClient/SoapClient.php class that extends the native PHP SoapClient class.
If you need more information, please open a discussion in the Discussions tab.


immich-go: 0.20 -> 0.20.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for immich-go is: Immich client tool for bulk-uploads
meta.homepage for immich-go is: https://github.com/simulot/immich-go
meta.changelog for immich-go is: https://github.com/simulot/immich-go/releases/tag/0.20.1
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.20.1 with grep in /nix/store/qhcc65g1a1pj0k8vdycrpjm5hvs3sghq-immich-go-0.20.1
found 0.20.1 in filename of file in /nix/store/qhcc65g1a1pj0k8vdycrpjm5hvs3sghq-immich-go-0.20.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

immich-go

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qhcc65g1a1pj0k8vdycrpjm5hvs3sghq-immich-go-0.20.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A immich-go https://github.com/r-ryantm/nixpkgs/archive/01ecaadaf3bc195dfddcfd1a004a8b10561e0ad2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/01ecaadaf3bc195dfddcfd1a004a8b10561e0ad2#immich-go

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qhcc65g1a1pj0k8vdycrpjm5hvs3sghq-immich-go-0.20.1
ls -la /nix/store/qhcc65g1a1pj0k8vdycrpjm5hvs3sghq-immich-go-0.20.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

immich-go

Maintainer pings
cc @kai-tub for testing.

@NixOS/nixpkgs-merge-bot merge


Sprint 4 prerelease

Codecov Report

Merging #24 into master will decrease coverage by 3.2%.
The diff coverage is 75.55%.

@@             Coverage Diff              @@
##             master      #24      +/-   ##
============================================
- Coverage     89.71%   86.51%   -3.21%
- Complexity       58       71      +13
============================================
  Files             5        7       +2
  Lines           175      215      +40
  Branches         18       21       +3
============================================
+ Hits            157      186      +29
- Misses           11       22      +11
  Partials          7        7

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/lukuvinkki/domain/Tip.java
80% <100%> (+3.8%)
24 <4> (+3)
:arrow_up:

.../java/lukuvinkki/controller/CommentController.java
100% <100%> (ø)
3 <3> (?)

src/main/java/lukuvinkki/domain/Comment.java
62.5% <62.5%> (ø)
7 <7> (?)

...main/java/lukuvinkki/controller/TipController.java
90.1% <64.28%> (-5.02%)
22 <1> (ø)

Continue to review full report at Codecov.

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


Getting Exception System.IO.FileNotFoundException for Android

Hi,
I was getting the error assembly reference not loaded so i used this  V3Adapter.Reference(); in the App() Xamarin project.
Now i am getting compilation error by using that.
Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Microsoft.Data.OData, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Microsoft.Data.OData.dll'
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection1 assemblies, AssemblyDefinition assembly, Boolean topLevel)    at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute()	SampleApp.Droid

I am facing the same problem. Please help.
http://stackoverflow.com/questions/41133382/simple-odata-client-inside-potable-class-library

It's not easy to figure out what can cause such issue without looking at the actual content of the folders, but usually this is due to version mismatch of some DLLs. Did you check what version of Microsoft.Data.OData.dll is present in the bin folder? Did you try to configure assemblyBinding in app.config (configuration/runtime/assemblyBinding section)?


add kubeadm-dind as another local-machine solution

add kubeadm-dind as another local-machine solution

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For 1.9 Features: set Milestone to 1.9 and Base Branch to release-1.9
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NOTE: Please check the “Allow edits from maintainers” box (see image below) to
allow reviewers to fix problems on your patch and speed up the review process.
Please delete this note before submitting the pull request.
NOTE: After opening the PR, please un-check and re-check the "Allow edits from maintainers" box. This is a temporary workaround to address a known issue with GitHub.

This change is

CLA is signed on my side, is there a way to refresh or rerun the checks?

@zoobab No. github has already noticed this change.


feat: add optional merge to main

I'm down for this, however, if it's a breaking change, I think we want to iterate the major version number for semantic versioning.
To do so, the text BREAKING CHANGE needs to be added in the commit message as a footer or a ! can be added after the type like feat!: commit message, which currently isn't there. So when this is merged, the squash commit should be overridden to add that text to have semantic version do the proper major version iteration.
I haven't dealt with a breaking change with the semantic version system yet, so I'm just trying to be mindful

ref https://www.conventionalcommits.org/en/v1.0.0/

BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Client Information: Allow explicit refresh / react on size changes...

http://scn.sap.com/docs/DOC-61450
[...]
My problem is that if I change for example the left margin of my panel using a script then ownWidth is not refreshed and the event is not fired. This  change is correctly taken into account as soon as I resize a little the browser window.
It would be great if the ownWidth and Height could be refreshed when the container (here the panel) is resized and not only the browser window (and have the associated event trigerred), or at least add a Refresh method to the ClientInformation that allows to recompute ownWidth and ownHeight on demand.

done and produced today

explicit function: .reload()


Support of legacy project structure

We have several legacy solutions with the following folder structure:

root-folder

Solutions

Solution 1

BuildOutput
Sulution 1.sln
...

Solution 2

BuildOutput
Sulution 2.sln
...

Solution 3

BuildOutput
Sulution 3.sln
...

Software

DotNet

Projects

Project 1

Project 1.csproj
...

Project 2

Project 2.csproj
...

Project 3

Project 3.csproj
...

Tests

Test Project 1

Test Project 1.csproj
...

Test Project 2

Test Project 2.csproj
...

WPF Projects

Wpf Project 1

Wpf Project 1.csproj
...

Wpf Project 2

Wpf Project 2.csproj
...

All solutions have some common projects with other solutions.
Now we use nuget as package manager. Is it possible to use paket instead with this folder structure? Is there any configuration that I can use to handle this? I tried the convert-from-nuget, but this doesn't work.

What is the concrete issue?
/cc @theimowski

yeah it'd be nice if you could share more details on how you're trying to run convert-from-nuget and what errors occur

I execute the .paket\paket convert-from-nuget on the solution level. In standard solutions this convert all nuget dependencies in all projects of the solution to paket.references. With the folder structure that we have, the conversion generates only the empty paket.dependencies and paket.lock in the solution folder. None of the projects was converted.

Did you try to run it from the root folder? Paket is always looking down, never sideways or a up.

yes, that's what I wanted to suggest, IIRC convert-from-nuget should deal with multiple solutions

Paket failed with:

Error in resolution.
  Resolved:
    - SDSDevXDeps 15.1.5
    - Newtonsoft.Json 7.0.1
    - EntityFramework 6.1.3
    - MvvmLightLibs <IP_ADDRESS>
    - Moq 4.2.1507.0118
    - PostSharp 4.1.21
    - iTextSharp-LGPL 4.1.6
    - NLog 4.0.1
    - NLog.Config 4.0.1
    - NLog.Schema 4.0.1
    - FluentAssertions 3.5.0
    - NUnit 2.6.4
    - Extended.Wpf.Toolkit 2.5
    - Unity 2.1.505.2
    - CommonServiceLocator 1.3
    - Microsoft.Bcl 1.1.10
    - Prism.PubSubEvents 1.1.2
    - Microsoft.Bcl.Async 1.0.168
    - System.Data.SQLite <IP_ADDRESS>
    - System.Data.SQLite.Core <IP_ADDRESS>
    - System.Data.SQLite.EF6 <IP_ADDRESS>
    - System.Data.SQLite.Linq <IP_ADDRESS>
    - TraceLogAspectLib 1.0.35
    - Microsoft.Bcl.Build 1.0.21
    - GT.TestBase <IP_ADDRESS>
    - GT.WpfUtilities <IP_ADDRESS>
    - GT.IoC.Contract <IP_ADDRESS>
    - GT.IoC.UnityExtension <IP_ADDRESS>
  Could not resolve:
    - Unity >= 3.5
       - from GT.IoC.UnityExtension <IP_ADDRESS>
 Please try to relax some conditions.

Now the conversion failed with the message obove. The problem is the following:
All our projects are .Net 4.0 projects. Unity exists in version 2.1.x for .Net 4.0 and with 3.5.x for .Net >= 4.5. Is it possible to constrain the convert to a specific .Net version?

yes that is possible by editing the paket.dependencies file. see http://fsprojects.github.io/Paket/nuget-dependencies.html#Framework-restrictions

I mean before or during the conversion.
I constrained the frameword and run paket.exe update. Now all projects have messy references. On top of the project file are old (nuget) references and at the buttom are paket definitions.
  <ItemGroup>
    <Reference Include="ftspcnet, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\Kommunikation\Serial Port Control\Microsoft.NET\Control\ftspcnet.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="GalaSoft.MvvmLight, Version=<IP_ADDRESS>051, Culture=neutral, PublicKeyToken=0e453835af4ee6ce, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\..\..\..\..\Solutions\SDS Full\packages\MvvmLightLibs.<IP_ADDRESS>\lib\net40\GalaSoft.MvvmLight.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="GalaSoft.MvvmLight.Extras, Version=<IP_ADDRESS>049, Culture=neutral, PublicKeyToken=f46ff315b1088208, processorArchitecture=MSIL">
      <HintPath>..\..\..\..\..\..\..\Solutions\SDS Full\packages\MvvmLightLibs.<IP_ADDRESS>\lib\net40\GalaSoft.MvvmLight.Extras.dll</HintPath>
      <Private>False</Private>
    </Reference>
...
  </ItemGroup>
...
  <Import Project="..\..\..\..\..\..\..\.paket\paket.targets" />
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.0'">
      <ItemGroup>
        <Reference Include="mscorlib">
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>

I mean before or during the conversion

I don't think so. @theimowski  ?

Now all projects have messy references

try to run paket install --hard

No it's not possible in convert, it takes only the latest version and disregards target framework if there is more than one version : https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/NugetConvert.fs#L246-L254

Yes. This solved the problem.
Thanks for the great tool and support.

Cool


Deployement

deploy web app 1.0.0
guide: https://create-react-app.dev/docs/deployment

Work needs to be done on master


icu4c 74.2<EMAIL_ADDRESS>

Update<EMAIL_ADDRESS>

:beers: @BrewTestBot has triggered a merge.


lakeFS configuration should load from a standard service location

lakeFS configuration should first load from a known location. Common service location is machine level path: /etc/lakefs.yaml
Need to support the current home dot/hidden configuration and document the change in the integration documentation.

lakeFS configuration lookup:

./config.yaml
$HOME/lakefs/config.yaml
/etc/lakefs/config.yaml

last one will be fallback to the current yaml- $HOME/.lakefs.yaml


⚠ Fortnite has degraded performance

In effca38, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1642 ms

Resolved: Fortnite performance has improved in 0a156a4.


Docker pull progressively slow for large layers

I am pulling an image from a private docker repo. It consist from multiple layers. I can see how small layers (as example 20MB) downloaded in 5-6 second (~4Mb/s).
However, with bigger layers (as example 300MB) it works fast at the beginning, but starts to slow down at the end and gets to ~0.1Mb/s (40 times slower than smaller layers or beginning of this layer)

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

Can you add the requested information (see above)?

I understand that my issue is quite vague. However, I was trying to find info in internet about docker pull slowness and on one hand a lot of people says that it exist on other hand, there were couple of bugs here related to it which are marked as closed.
I was able to download ubuntu docker image which was 0.2Gb without any problem (really fast). And my custom image which was 1.6Gb took forever (something like half an hour).
I checked that it's not my connection speed.
a) I used speed test
b) I downloaded other artifacts from Artifactory and the speed was really high
I understand that there is one more variable here, which is Artifactory. It could be that it's involved. I don't have another private docker registry to try it out.

I've had the same experience with the Docker Hub, both pushing and pulling.  For example, I recently uploaded an image to the hub which had layers from 15Mb to 200MB.  The 15MB layers uploaded at around 1MB/s, but the 200MB layer uploaded at 0.1MB/s, causing it to take over half an hour.  I'd assume that this was just the vaguearies of the internet, except that the pattern seemed really consistent, and I've seen lots of similar reports on Stack Overflow etc.
Is Docker maybe doing some kind of progressive checksumming as the file is downloaded/uploaded?  Something else which would involve doing a cyclical check on the contents of the whole file, and thus be geometrically slower with large files?

I have also been struggling with pull performance from a private registry.  As far as I can tell, I think it is getting stuck on "verifying checksum"   But pulling, what should just be a couple of ~100MB layers takes close to 10 minutes.

From #14018:

I've been able to reproduce that issue multiple times; it really seems like docker push checksums each MB as it's uploaded, resulting in N^2 upload times for large layers.

I took a quick peak at this and it looks like there is a performance knee for large files, rather than a particular N^2 process. If we look at https://github.com/docker/docker/blob/master/graph/push_v2.go#L225, we can see that the file is buffered into a temp file, then read back. This is a 4*N process. Mathematically, this is okay, but this is probably causing the issue. On small files, this is probably done mostly in buffer cache and it doesn't have an effect on fast disks. For larger files with fast disks, this is going to have a massive impact.
I'm putting together a PR to fix this now.

@stevvooe Sure I could see that.  I don't have a good way to systematically test pushes of each different size to determine the exact pattern.
Let me know when/where I can test to see if you've fixed it.

@jberkus PR is up here: https://github.com/docker/docker/issues/15493, so you could try to build from that

OK, so this fix is entirely client-side?  I assumed that there needed to be a fix on the Hub side as well.

@jberkus Please avoid assumptions and let's focus on facts and real observations.
#14018 is covering push performance issues. From the looks of this issue, it is not covering push performance. My comments earlier and #15493 cover pull performance. Sorry for the confusion (I made assumptions based on the extra comments).
@vronin-okta We need some more information to troubleshoot the original complaint. Would you mind providing the docker logs with debug enabled on pull? We may also need to get someone from sonatype involved to help debug the registry side.
@jberkus I am not sure that you're particular issue is covered here. I would consider this bug to be artifactory + pull, whereas your issue is hub + pull/push. These may have shared causes but could be wildly different.

@stevvooe ooops, sorry. too many pull/push issues open that I'm trying to test.

@jberkus No worries. We are trying to keep this manageable ourselves.
Did you have a chance to try out #15493? I think this one addresses the perceived scaling behavior? Others have had luck with it.

@stevvooe : I'm having trouble finding the final version of the patch on #15493.  It's a bit of a mess.

@jberkus There is not a version with that integrated. You'll have to build it yourself. Its up to you whether you want to try now or wait till it is merged and you can give master a try, which is always available at https://master.dockerproject.org/.
  What I was questioning is whether it was ready for testing; there's multiple code comments on that PR, and it wasn't clear that they were all resolved.

@jberkus Don't worry about those. Most are just nits and sloppy integration tests.

OK.  This'll take a bit; the system where I have images with large layers is not the same system where I have docker built from source.  Probably I should set up docker-on-docker for source builds ...

@jberkus We merged #15493 into master. Could you give it a try? Binaries are available here: https://master.dockerproject.org/.

Will do!

@jberkus any updates?

Finally got a test environment up.  The issue appears to be fixed in the latest; at this point, pull speed seems to be constant with the size of the layer.

@jberkus Great to hear!

I am having the slowest issue trying to pull an image for Oracle.  See attached, which was started yesterday, got 401 errors, and now started again.  Any help will be appreciated
![docker pull slow and errored out]
Just installed the Docker tools yesterday on my Mac, and am connected via ethernet to Verizon Fios.
(https://cloud.githubusercontent.com/assets/10927/11918892/7985d3da-a70f-11e5-9342-fe2f857b5330.png)

@owendall Please do not comment on closed issues. It is extremely unlikely that you are encountering this specific problem and the data you've provided does not indicate that in any way.

for me (in china) download a 8 mb directly from an high end server (something closer to amazon Chinese made).. takes like forever....

I have this experience in every system with docker installed, OSX, Linux, PhantonOS etc..
Pulling images from the registry starts quickly and then drops to really slow download.
Is docker pulling layers in parallel?
I think the issue is related to parallel image download from docker. Something in the network drops or slow down the connection (maybe the firewall server from docker hub registry) because it think is  a abuse too many connection from the same origin.
I'm working on a 800Mbs link with 1Gb switchs, my machine can't even saturate the link because my Hard Drive is slower lolol, so is not a network issue, and I have tested that possibility

This issue is closed, as the original problem was resolved.  If you think you've discovered a new issue with pulls, please open a new issue.  Thanks!

Is docker pulling layers in parallel? I guess the issue is related to parallel image download from docker.

Yes, image layers are pushed/pulled in parallel. You can set the number of concurrent up/downloads in the daemon configuration, using a flag;
     --max-concurrent-downloads=3           Set the max concurrent downloads for each pull
      --max-concurrent-uploads=5             Set the max concurrent uploads for each push

Or through the daemon.json configuration file;
https://github.com/docker/docker/blob/v1.12.3/docs/reference/commandline/dockerd.md#linux-configuration-file
Docker for Mac (at least in the Beta, not sure in the "stable" channel), allows setting this configuration in the UI;

I hope this information helps you further, I'm going to lock the discussion here, because (as @jberkus explained), closed issues should not be used for reporting new issues. It's easy for reports to get unnoticed when commenting on closed issues, and if the issue is unrelated, makes it hard to keep track.


File System Watcher has double slashes // as path separator

Version: 1.88.1 (Universal)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:42:52.765Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0
Add the following in your extension activation:
        const fileSystemWatcher = workspace.createFileSystemWatcher("**/*", true, false, true);
        fileSystemWatcher.onDidChange(uri => {
            console.log(`Changed file: ${uri.fsPath}`);
        });

Now this prints:
Changed file: /Users/aboyko/git/vscode-spring-boot-dashboard/test/projects/spring-petclinic//src/main/java/org/springframework/samples/petclinic/owner/OwnerController.java
extensionHostProcess.js:146
Changed file: /Users/aboyko/git/vscode-spring-boot-dashboard/test/projects/spring-petclinic//target/classes/org/springframework/samples/petclinic/owner/OwnerController.class

Note the // in both URIs: petclinic//src and petclinic//target

I cannot reproduce, you would have to tell me exactly how your setup looks like (folder path you run from, etc.).
Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

I can reproduce the issue with the latest nightly insiders build as well. No idea yet what exactly triggers this though.
The didSave event contains the correct URI, whereas the didChangeWatchedFiles event contains a URI with the duplicated / at the position of the folder that I opened.
In the example above from @BoykoAlex the folder that got opened in VSCode is /Users/aboyko/git/vscode-spring-boot-dashboard/test/projects/spring-petclinic, the src/main/java/org/springframework/samples/petclinic/owner/OwnerController.java is the path inside the project. So it looks to me like the duplicated / shows up between the workspace folder and the path inside the workspace.

👋 Martin
I wonder if some other extension installs a watcher that ends up with this double slash. Does it reproduce with all extensions disabled except for the one that creates the watcher?
Specifically, I would try with disabling the Java extension and friends.

👋 Ben! Long time, no see... :-)
You are right, once I have this extension active: vscjava.vscode-java-dependency, the events from the file watcher have the double slashes problem. Without that extension active, the events look fine.

Ok thanks for confirming, we document that baseUri cannot have trailing slashes:
https://github.com/microsoft/vscode/blob/a7d0bc898241b7c049ccdf628b9af4a6242e6a29/src/vscode-dts/vscode.d.ts#L2221-L2226
I will go ahead and close this issue.


on line #62, change "context" to "db"

You have not created "context" in the using statement, you created "db"

Hi @github5775, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

ty

Hi @github5775, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;


Refine existing and add car sharing and rental car MermaidJS state diagrams

Based on #67 so it need to be merged first
Updated existing state flows and added new car sharing and rental car state diagrams
Also positioning it from top to bottom not from left to right

ALD which is shared car uses RESERVED status and then it goes to ACTIVATED straight away.

ARRIVED state is not supported by all taxis. There is some distance hack in BE which actually flicks taxi status to ACTIVATED based on proximity it works like this:

taxi is coming... (CONFIRMED)
if taxi is close enough and there is no ARRIVED state supported then the Booking is set to ACTIVATED - even though passenger may be still waiting for the taxi to arrive (TSP will return the status as CONFIRMED).

@iaforek Good find, fixed ´RESERVED´ for shared cars.
Regarding taxis, yeah, those are some sort of the hacks, but best case scenario is to have native ARRIVED state.


manifoldjs run windows gives powershell errors

Installed it on a freshly installed Windows 10 (upgrade from 8.1). I used travelcontose.azurewebsites.net to generate the stuff but when I run manifoldjs run windows I get errors

I already tried setting powershell to execution policy unrestricted and rebooting but to no succes. Anyone an idea?

I wonder if you need to put your computer in dev mode to side load.  Go into settings and search for developer mode, and see if you have it set.

I wouldn't expect this error from that, but it's worth checking first.  I'll reach out to the guy who owns that package (it's a dependency) and see what he think.

Awesome, that did the trick. On my other laptop it directly worked but on that I made a fresh install and opted for developer mode.

Great!  I hope the demo goes well, let me know if you need any other support.

Glad to see it's working. In the future if you want to save a step, you don't actually don't need to change the powershell execution policy—you only need to enable developer mode.


Support for multiline syntax header ?

Hey,
I'm not sure if we can use the issue tracker here for improvement request. (sorry)
I have a case where I've got many informations for a http header, i.e. the Link http header.
In this case, to improve readability in the edition mode, preview or raw display, it would be really nice if it can support multiline.
+ Headers
    Link: </uri>;
                rel="http://myschema.org/relation/resource";
                title="My title",
          </uri2>;
                rel="http://myschema.org/relation/resource2";
                title="My title 2",
          </uri3>;
                rel="http://myschema.org/relation/resource3";
                title="My title 3",

At the moment, everything is inlined and it's really annoying.
Thank you for the awesome work.

RFC proposal of syntax addressing this issue: https://github.com/apiaryio/api-blueprint-rfcs/pull/3.
Please track and comment on the RFC.
Thank you!


Arc<dyn Client> doesn't implement Blob trait

Similar to https://github.com/MindFlavor/AzureSDKForRust/issues/292, Arc<dyn Client> doesn't seem to work, though Arc<Box<dyn Client>> does. Maybe the best way to support all pointer types is actually to implement Client for &dyn Client or something? I would assume this kind of problem is frequent enough in Rust that there is some canonical solution, though I don't myself know what it is.

I guess it has something to do with ?Sized (and my improper handling of it). I'm opening a PR to try and fix this.

@cswinter : can you please test the PR and tell me if it helps? Thanks!

Tested the PR, seems to work 🎉

Thank you for your help!


Root options do not follow priority order

What happened:
Running SYFT_CONFIG=foo syft package does not pick up the application config from file foo.
What you expected to happen:
Running syft -c bar packages results in the expected error unable to load config: unable to read application config="bar".
I would expect the same error when the config flag is set using an environment variable SYFT_CONFIG.
Steps to reproduce the issue:

Run SYFT_CONFIG=foo syft packages

Notice that the error rror during command execution: an image/directory argument is required is produced.  It should fail when the application configuration file is not found.
Anything else we need to know?:
The value of configPath is passed to Application.LoadAllValues.  The decision on the value of top-level happens before we load values.  The values of root options should come from a viper lookup, rather than from a pflag binding.
This is related to #1143, but is a smaller scoped issue.
Environment:

Output of syft version: latest git
OS (e.g: cat /etc/os-release or similar): macos & linux

@AidanDelaney thanks for the report. This happens to be something that we just started working on.


Dragonflight Season 3

Update to S3 Dungeons

added Dawn of the Infinite Mega Dungeon
added Atal'Dazar, Waycrest Manor, Black Rook Hold, Darkheart Thicket, The Everbloom, and Throne of the Tides

Corrections for S2 Dungeons

removed Flaming Shrapnel (FH) - [Close #44]
updated Rotten Food / Obscured Vision (FH)
added Avalanche Rocks (NL)

Thank you!


[QUESTION] How to use .WithWinRM() ?

Question
I have a question about the WithWinRM method for the VirtualMachine creation using the .NET Azure SDK.
I'm using this call to create a VM:
var vm = await azure.VirtualMachines.Define("testVM")
                       .WithRegion("East US")
                       .WithExistingResourceGroup("TestRg")
                       .WithExistingPrimaryNetworkInterface("testVM_nic")
                       .WithWindowsCustomImage(customImage.Id)
                       .WithAdminUsername("Testuser")
                       .WithAdminPassword("Test12345678")
                       .WithWinRM(new WinRMListener(ProtocolTypes.Https, certificateUrl))
                       .WithComputerName("testVM")
                       .WithSize(VirtualMachineSizeTypes.StandardDS3V2)
                       .CreateAsync();

After running this I get an error:
Certificate https://xxx.vault.azure.net/secrets/xxx/db1baf0c860f456ks4nckh06d86e1ec8594 specified in WinRM configuration is not defined in the VM model secrets.

How can I specify the OsProfile.Secrets option with the fluent API?
Why is this not a Bug or a feature Request?
Not sure if I'm using it correctly, even though I found nothing in the documentation about this.
Setup (please complete the following information if applicable):

OS: Windows
IDE : Visual Studio 2019
Microsoft.Azure.Management.Fluent 1.26.1

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x ] Query Added
[x ] Setup information Added

Sorry for late response. @weidongxu-microsoft could you please share some insights? Thank you.

@Mishu
Would please upgrade to 1.30.0 or later? Latest is 1.33.0.
Related PR https://github.com/Azure/azure-libraries-for-net/pull/926
Related doc https://docs.microsoft.com/en-us/azure/virtual-machines/windows/winrm
It would have an additional API WithVaultSecret to set up keyvault setting.

AlexGhiondea, this looks to be an issue with the Fluent SDK, not the backend API. So I am removing the Service Attention label.

I assume upgrading to 1.30.0+ would solve the problem (as in PR mentioned).
Reopen it if you still find issue.


Invalid URL port: "0": Codeium not working

Codeium is not working anymore for me. I see this exception:
Unhandled exception in [StandaloneCoroutine{Cancelling}@4f4345f7, Dispatchers.IO]

java.lang.IllegalArgumentException: Invalid URL port: "0"
	at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.kt:1330)
	at okhttp3.HttpUrl$Companion.get(HttpUrl.kt:1634)
	at okhttp3.Request$Builder.url(Request.kt:184)
	at com.codeium.intellij.chat_server_client.ChatServerClient.establishConnection(ChatServerClient.kt:90)
	at com.codeium.intellij.chat_server_client.ChatServerClient.<init>(ChatServerClient.kt:70)
	at com.codeium.intellij.chat_server_client.ChatServerClientMultiton$Companion.getInstance(ChatServerClient.kt:53)
	at com.codeium.intellij.chat_window.ChatViewLoader.getClientUrl(ChatViewLoader.kt:48)
	at com.codeium.intellij.chat_window.ChatViewerWindow.loadClient(ChatViewerWindow.kt:126)
	at com.codeium.intellij.chat_window.ChatViewerWindow.access$loadClient(ChatViewerWindow.kt:45)
	at com.codeium.intellij.chat_window.ChatViewerWindow$1.invokeSuspend(ChatViewerWindow.kt:74)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@78692e1a, Dispatchers.IO]

I ran into the same problem

A am also not able to login w/ same error.
https://github.com/Exafunction/CodeiumJetBrains/issues/13#issuecomment-2284930425
https://github.com/Exafunction/codeium/issues/76
https://github.com/Exafunction/codeium.vim/issues/425

Plugin and chat is working (i don't see problem) except of stacktrace in IDE Errors.
IDE: JetBrains Rider 2024.1.5
Plugin: Codeium AI 1.10.11
Unhandled exception in [StandaloneCoroutine{Cancelling}@63b95bae, Dispatchers.IO]

java.lang.IllegalArgumentException: Invalid URL port: "0"
	at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.kt:1330)
	at okhttp3.HttpUrl$Companion.get(HttpUrl.kt:1634)
	at okhttp3.Request$Builder.url(Request.kt:184)
	at com.codeium.intellij.chat_server_client.ChatServerClient.establishConnection(ChatServerClient.kt:90)
	at com.codeium.intellij.chat_server_client.ChatServerClient.<init>(ChatServerClient.kt:70)
	at com.codeium.intellij.chat_server_client.ChatServerClientMultiton$Companion.getInstance(ChatServerClient.kt:53)
	at com.codeium.intellij.chat_window.ChatViewLoader.getClientUrl(ChatViewLoader.kt:48)
	at com.codeium.intellij.chat_window.ChatViewerWindow.loadClient(ChatViewerWindow.kt:126)
	at com.codeium.intellij.chat_window.ChatViewerWindow.access$loadClient(ChatViewerWindow.kt:45)
	at com.codeium.intellij.chat_window.ChatViewerWindow$1.invokeSuspend(ChatViewerWindow.kt:74)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@63b95bae, Dispatchers.IO]

Like @BartZuc, I noticed the plugin works, despite the thrown exception.
I still see Codeium: Refactor, Explain, and Docstring. When I click on them, the plugin works as usual.

For me it just doesn't work at all. It was working normally before. When I try to log in it pops up this window but nothing happens:

Furthermore I see this on the logs:
2024-08-12 21:58:42,527 [48440594]   WARN - #com.codeium.intellij.language_server.LanguageServerService - Unable to get process ports...language server not started
2024-08-12 21:58:42,529 [48440596]   INFO - #com.codeium.intellij.chat_window.ChatViewerWindow - Refreshed process ports:
2024-08-12 21:58:42,536 [48440603] SEVERE - #c.i.o.a.i.CoroutineExceptionHandlerImpl - Unhandled exception in [StandaloneCoroutine{Cancelling}@4f4345f7, Dispatchers.IO]
java.lang.IllegalArgumentException: Invalid URL port: "0"

And in a different part:
2024-08-12 21:58:58,201 [48456268]   INFO - #com.codeium.intellij.language_server.LanguageServerProcessHandler - [Language Server]: I0812 21:58:58.201276 21380 main.go:288] Failed to get random ports within 15 seconds
2024-08-12 21:59:01,496 [48459563]   INFO - #c.i.o.a.i.ActionPopupMenuImpl - isPopupOrMainMenuPlace(NotificationManager)==false. Use ActionPlaces.getPopupPlace.
2024-08-12 21:59:02,527 [48460594]   INFO - #com.codeium.intellij.language_server.LanguageServerProcessHandler - [Language Server]: E0812 21:59:02.523566 21380 cmd_wrapper.go:265] LanguageServer wait failed: timed out while waiting on process 23172 at 0812 21:59:02.519026, sent SIGTERM then SIGKILL
2024-08-12 21:59:02,528 [48460595]   INFO - #com.codeium.intellij.language_server.LanguageServerProcessHandler - [Language Server]: E0812 21:59:02.528566 21380 main.go:240] Failed to remove stderr file C:\Users\CESARA~1\AppData\Local\Temp\18290950436365280420\codeium\manager/server_outputs/language_server_stderr_1723514323134259600_7936393574512133583: remove C:\Users\CESARA~1\AppData\Local\Temp\18290950436365280420\codeium\manager/server_outputs/language_server_stderr_1723514323134259600_7936393574512133583: The process cannot access the file because it is being used by another process.

Same Invalid URL port: "0" error occurring for me in CLion 2024.2.
Attaching log.
idea.log

I'm in the same boat, how should this problem be solved
Unhandled exception in [StandaloneCoroutine{Cancelling}@6614a24e, Dispatchers.IO]
java.lang.IllegalArgumentException: Invalid URL port: "0"
at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.kt:1330)
at okhttp3.HttpUrl$Companion.get(HttpUrl.kt:1634)
at okhttp3.Request$Builder.url(Request.kt:184)
at com.codeium.intellij.chat_server_client.ChatServerClient.establishConnection(ChatServerClient.kt:90)
at com.codeium.intellij.chat_server_client.ChatServerClient.(ChatServerClient.kt:70)
at com.codeium.intellij.chat_server_client.ChatServerClientMultiton$Companion.getInstance(ChatServerClient.kt:53)
at com.codeium.intellij.chat_window.ChatViewLoader.getClientUrl(ChatViewLoader.kt:48)
at com.codeium.intellij.chat_window.ChatViewerWindow.loadClient(ChatViewerWindow.kt:126)
at com.codeium.intellij.chat_window.ChatViewerWindow.access$loadClient(ChatViewerWindow.kt:45)
at com.codeium.intellij.chat_window.ChatViewerWindow$1.invokeSuspend(ChatViewerWindow.kt:74)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@6614a24e, Dispatchers.IO]

I was logged in before the error started to appear and I am still logged in. Maybe that is the difference.
I recall a similar error already happened in the past. The cause was different, but the effect was the same.

Works on another laptop with RustRover, doesn't work on my personal laptop with RustRover, that is just weird. The IDEs and the plugin are all up to date.

Same here..
Codeium 1.10.11
Intellij IDEA 2023.3.1
Unhandled exception in [StandaloneCoroutine{Cancelling}@438749b, Dispatchers.IO]

java.lang.IllegalArgumentException: Invalid URL port: "0"
	at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.kt:1330)
	at okhttp3.HttpUrl$Companion.get(HttpUrl.kt:1634)
	at okhttp3.Request$Builder.url(Request.kt:184)
	at com.codeium.intellij.chat_server_client.ChatServerClient.establishConnection(ChatServerClient.kt:90)
	at com.codeium.intellij.chat_server_client.ChatServerClient.<init>(ChatServerClient.kt:70)
	at com.codeium.intellij.chat_server_client.ChatServerClientMultiton$Companion.getInstance(ChatServerClient.kt:53)
	at com.codeium.intellij.chat_window.ChatViewLoader.getClientUrl(ChatViewLoader.kt:48)
	at com.codeium.intellij.chat_window.ChatViewerWindow.loadClient(ChatViewerWindow.kt:126)
	at com.codeium.intellij.chat_window.ChatViewerWindow.access$loadClient(ChatViewerWindow.kt:45)
	at com.codeium.intellij.chat_window.ChatViewerWindow$1.invokeSuspend(ChatViewerWindow.kt:74)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@438749b, Dispatchers.IO]

I was able to log in again w 1.12.6!
Steps:

Upgrade to Codeium JetBrains Plugin 1.12.6, disable the plugin, and close the IDE
Delete the .codeium folder in your $HOME folder
Start IDE, re-enable plugin, restart IDE as required.
Log in afresh.

Yes, my errors are also disappeared after installing 1.12.6.. 👍 🥳

Observation: updated to 1.12.6 on mac and the JetBrains IDE to latest version and then bug came out, but the plugin kept on working. I think that maybe the bug is still around and does depend on some outdated stuff in the .codeium folder. Somehow, it isn't a showstopper on MacOS but is on Linux.

The past week I saw some unhandled exceptions for some plugins, not only the Codeium plugin, but also the OpenAPI Specifications plugin.
I am using PhpStorm 2<IP_ADDRESS> (Build #PS-242.20224.427, built on August 21, 2024) and the Codeium plugin 1.14.9.

I was able to log in again with version 1.12.6! Steps:

Upgrade to Codeium JetBrains Plugin 1.12.6, disable the plugin, and close the IDE
Delete the .codeium folder in your $HOME folder
Start IDE, re-enable plugin, restart IDE as required.
Log in afresh.

This worked well for me, thank you.
I was facing the same error with WebStorm 2024.2.3 and Codeium 1.20.4 and I removed the folder of codeium in
C:\Users\userName\.codeium

I was able to log in again with version 1.12.6! Steps:

Upgrade to Codeium JetBrains Plugin 1.12.6, disable the plugin, and close the IDE
Delete the .codeium folder in your $HOME folder
Start IDE, re-enable plugin, restart IDE as required.
Log in afresh.

it's worked! I must say an old Chinese saying to praise you, Niubi!


steam: .desktop file is not accurate on KDE

Issue description

Could not find the program '/nix/store/f1prnbk9i0jpl8kvwriqxpf636v9nmsh-steam/bin/steam'

If I run steam from the terminal it runs fine.
Steps to reproduce
Install steam, use KDE as your desktop, try to open steam from start menu.
Technical details

system: "x86_64-linux"
host os: Linux 4.14.24, NixOS, 18.03pre130932.cc4677c36ee (Impala)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.0
channels(root): "nixos, nixpkgs"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

This may be a problem only on my end, as well as #37131.
I'll update this and the other issue if I find out with a new install some time in the future.

I don't know why, but it's working now.

It's doing it again.
I'm going to check if it's something to do with kde's user settings.

Strangely enough, this is fixed by clicking on one of the installed steam game .desktop files and somehow the steam .desktop fixes itself. I guess that's what happened last time.

This is also fixed by installing a steam game. (creating a shortcut)


[Bug] HMR & storyStoreV7 is not works with framework: "@storybook/web-components"

What version of vite are you using?
2.9.7
System info and storybook versions
Environment Info:
System:
OS: macOS 10.15.7
CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
Yarn: 3.2.0 - ~/.nvm/versions/node/v16.14.0/bin/yarn
npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
Browsers:
Chrome: 101.0.4951.54
Firefox: 100.0
Safari: 15.0
npmPackages:
@storybook/addon-actions: ^6.4.22 => 6.4.22
@storybook/addon-essentials: ^6.4.22 => 6.4.22
@storybook/addon-links: ^6.4.22 => 6.4.22
@storybook/builder-vite: ^0.1.33 => 0.1.33
@storybook/web-components: ^6.4.22 => 6.4.22
Describe the Bug
when not set storyStoreV7:
update /src/my-element.ts ,  got the Log : [vite] page reload src/my-element.ts
The expected result should be: [vite] hmr update /src/my-element.ts
when set storyStoreV7: true,
update /src/my-element.ts, then got the error Log:
Failed to execute 'define' on 'CustomElementRegistry': the name "my-element" has already been used with this registry
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "my-element" has already been used with this registry
    at legacyCustomElement (http://localhost:6008/node_modules/.vite-storybook/deps/lit_decorators_js.js?v=53feff7d:16:25)
    at http://localhost:6008/node_modules/.vite-storybook/deps/lit_decorators_js.js?v=53feff7d:29:99
    at __decorateClass (http://localhost:6008/src/my-element.ts?t=1651908414168:7:57)
    at http://localhost:6008/src/my-element.ts?t=1651908414168:50:13

The expected result should be: [vite] hmr update /src/my-element.ts
Link to Minimal Reproducible Example
https://github.com/boeto/test-vite-lit-storybook-story-store-V7
Participation

[ ] I am willing to submit a pull request for this issue.

Web components cannot use HMR, according to https://github.com/storybookjs/storybook/tree/master/app/web-components#setup-page-reload-via-hmr.  I'll take a look at the storyStoreV7 issue.

@IanVS LGTM 🎉  Thank you !!!


Trailing whitespace in triple double quotes does not get cut

Operating system: Windows 10 x64
Python version: 3.6.5
Black version: 18.6b1
Does also happen on master: :heavy_check_mark:
Black does not change anything in this:
"""
This string has
trailing whitespace
in every but the last line.
"""

Is it supposed to be that way?

Thanks for your interest in Black! 💯
As for your question: yes, all contents in a multiline strings is data. It would be invalid for Black to modify it because your application may depend on it being exactly as is.


Columns protected by access rules can be deleted by any user.

Current behavior
I have a crowd sourced table and one of the columns needs to be read only, which I managed to set-up fine.
The issue is, while public contributors can't delete the contents of the cells in that column, they can still delete the whole column and there doesn't appear to be a way to prevent that.
I need the protected column to be safe from deletion as it contains moderator verified links.
Additionally, if a public user deletes the column, they can't undo that action.
Here is the spreadsheet I'm working in.
Steps to reproduce

Setup access rules for a column as follows:

Using the following public access link:

Open the link in a separate browser and click the following button to delete a protected column

after doing so, the document undo button will not work

Describe the expected behavior
I expected that denying edit permission would naturally also deny deletion.
However this option can be added.
In the access rules there is only a RU (Read | Update) option for a column.
If there was also a Delete permission that would be intuitive.
Also I have an idea to make column access rules UI&UX much easier.
For logged in Owners, there could be toggles for these permissions right in the column settings sidebar:

Where have you encountered this bug?

[X] On docs.getgrist.com

A first step recommended when locking down parts of a document is to deny most users the permission to change structure: https://support.getgrist.com/access-rules/#lock-down-structure. This is not the default for compatibility with documents without access rules. Locking down structure will prevent actions like deleting columns.
That said, I agree that denying "Update" permission on a table or column should probably deny the ability to delete that table/column as well. At least I don't see any argument against that.
As for a simplified toggle, the issue that always comes up with simplified UI ideas is that they don't include the ability to specify who should have that permission. For example, important documents often match users with some in-document data using user attributes, and then control permissions using some data associated with the document (organization role, department, etc)

Locking down structure will prevent actions like deleting columns.
I havn't allowed structure editing (See screenshot below)

The Problem
The problem with this structure permission deny approach (For my use case) is that I do want people to be able to create and delete tables and columns, to work with the structure... But then I want to lock down columns or tables that I don't want to be delete-able anymore.
My Goal
I want the crowd (people with public access to the grist doc link, that don't need to sign-up) to be able to make new tables add and remove columns they make by mistake, etc. But then owners/editors/moderators (people with accounts) to be able to restrict columns or whole tables form being deleted once they're ready, while still allowing public users to update the content of cells.
Deny update should deny delete by default
Naturally yes, you would expect that denying update permission would automatically deny delete.
Can't see any reason for it not to. Agree there.
Possible Solutions
More granular permissions will probably help cover a wider set of use cases. For example, I imagine if one had separate permissions for R, U & D per column then I could deny public users from deleting columns or tables, but they would still be able to update data in the cells of that column or create new columns.
Let me know if there is actually a way to do this. Because I did some more testing and I don't see a way. This is what I found:
More Delete issues
I created a test table using the owner account then locked it with the following permissions:

But then from a public user browser I was still able to remove the entire table and delete the raw data...
Surely that isn't right?
I have re-created the 'Test' table with some locked columns with the same permissions so you can open it and test for for yourself.
###Structure permission Questions
Also as you can see there "Allow editors to edit structure" is not enabled and it hasn't been enabled before.
But 'user.Access in [EDITOR, OWNER]' is allowed to edit structure and I can't change that permission. :thinking: is that right
I'm happy to set a time/meeting to figure this all out if need be.

As for a simplified toggle... specify who should have that permission
I imagine being logged in as the owner or an editor with permissions, them having that permission toggle be visible in column settings only to them.
Then for moderators to be able to specify users access in that UI, you could have a searchable drop down list of existing users, user groups whom you would grant a set permissions to. Also have 'Everyone' as an option.drop down list.

I've run into another issue now, where every time I save access rules, I get logged out. This is on brave browser with adblocking and a VPN but fingerprint blocking turned off. Should I open a separate issue?


Fetching https://gonum.org/v1/gonum?go-get=1
https fetch failed: Get https://gonum.org/v1/gonum?go-get=1: net/http: TLS handshake timeout
package gonum.org/v1/gonum/...: unrecognized import path "gonum.org/v1/gonum/..." (https fetch: Get https://gonum.org/v1/gonum?go-get=1: net/http: TLS handshake timeout)

Hi there :)
Has this issue been resolved? Some of our builds broke today because of the following:
go get -u gonum.org/v1/gonum/...
go get gonum.org/v1/gonum/...: unrecognized import path "gonum.org/v1/gonum" (https fetch:
Get https://gonum.org/v1/gonum?go-get=1: dial tcp <IP_ADDRESS>:443: i/o timeout)

Same for me, builds are failing due to the same issue today

This is really not something that we can fix. Can I suggest that if it continues to be a significant problem, file an issue against the go tool.

Workaround:
I had the same issue, the workaround is simply to move the entire gonum.org folder to a "vendor" folder under your project root - this way go shall look for the gonum dependencies in the vendor folder first and will not try to get it from https://gonum.org/v1/gonum?go-get=1

in a Go-module setup, another workaround might be to put this replace directive in your go.mod file:
replace gonum.org/v1/gonum => github.com/gonum/gonum v0.6.2

ie:
https://play.golang.org/p/IolH7f-b0kK

Not something that we can fix and not updated in a long time, closing.


Allow changing colorCustomizations without writing them to settings file

I have an extension which colors the activeTab (or status bar) based on a regex.
The extension works fine however because I'm changing the settings.json -> colorCustomization at runtime, it creates an extra flicker (an extra paint of the editor) when its set.
I'd like to see an option of changing colorCustomizations at runtime without having to save them to the settings.
Something that exists only in memory perhaps, using the API

we have a memory configyration tareg, but I think it's not available in the extension API.
While I see that this would help you, it's unclear to me how users would understand what's going on. We probably also need UI for the memory settings.

@oreporan What is that extra flickering and why is it caused only when you are writing in to the settings file?

I'm not sure what causes the flickering. I'm guessing its because the file renders, and then I change the colorCustomization so it re-renders, but instead of just the tab color changing, the whole file flickers

@aeschli Can you please explain about the flickering?


chore: revise ESLint built-in configuration

There are a lot of new rules since the last time I revised the ESLint
rules documentation.
I've updated the main .eslintrc.yml to include some newer additions,
plus I added another ESLint configuration file inside tests, so we can
add some stricted rules to the production code while relaxing them for
the test suite (due to the fact that Mocha is not very ES6 friendly and
Angular tests require a bit of dark magic to setup).
This is a summary of the most important changes:

Disallow "magic numbers"

These should now be extracted to constants, which forces us to think of
a good name for them, and thus make the code more self-documenting (I
had to Google up the meaning of some existing magic numbers, so I guess
this will be great for readability purposes).

Require consistent return statements

Some functions relied on JavaScript relaxed casting mechanism to work,
which now have explicit return values. This flag also helped me detect
some promises that were not being returned, and therefore risked not
being caught by the exception handlers in case of errors.

Disallow redefining function arguments

Immutability makes functions easier to reason about.

Enforce JavaScript string templates instead of string concatenation

We were heavily mixing boths across the codebase.
There are some extra rules that I tweaked, however most of codebase
changes in this commit are related to the rules mentioned above.
Signed-off-by: Juan Cruz Viotti<EMAIL_ADDRESS>

Looks like you've been 'relaxying' your spelling too. LOL

lol, fixed!

@lurch Do I have the green sign for this one?


Adding rotation to scatter scales metadata

This was forgotten, and causing the pyplot PanZoom to fail when a rotation scale was specified.

:+1:


A better annotation usage suggestion

Hi, I have a better suggestion for the annotation usage,
This class is a tool class and should not be handed over to the container for management. If @Component is added, it may cause exceptions.
Hope my suggestion can give you some help.

@WilliamSESE This code was generated by JHipster (www.jhipster.tech), so I'd rather not change it. FWIW, it's no longer used in JHipster 7 because we use Spring Cloud Gateway now instead of Zuul.


Template fails to build with errors NU1012 and NETSDK1139

[Enter feedback here]
Also, the Android emulator is missing from the "Debug Target " list.
I'm following the tutorial on Microsoft Learn and this article and have the same issues.
My problem is caused because I have 2 SDKs installed, both x86 without .NET6 and x64 with .NET6.  I need the x86 SDK first in the environment path to build a legacy project. When it is first in the path I see these errors.  Also dotnet --info does not report the .NET 6 SDK even though it is installed.  Adding global.json to the project explicitly specifying the .NET SDK version does not help. (I have VS2022 17.3.4 with >NET 6 SDK 6.0.401).
I can resolve the issue by re-ordering my path so x64 appears first (although my legacy project then fails to build).  As a new user trying to follow a tutorial, this is hard to find / resolve.  Maybe a comment in the article stating that there must not be multiple SDKs would help the few that hit this issue.  Or if there can be both sdks, how the system should be configured.

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

ID: 779d2db3-3e9c-2692-57ff-787d9465a444
Version Independent ID: e77ba6a7-e59d-1e1e-52e1-935f98a985cf
Content: Build your first .NET MAUI app - .NET MAUI
Content Source: docs/get-started/first-app.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Thank you for this feedback. We have a troubleshooting article which this information should be in. It's also documented in the (Install .NET on Windows article](https://learn.microsoft.com/en-us/dotnet/core/install/windows?tabs=net60#it-was-not-possible-to-find-any-installed-net-core-sdks).


[UI] Add people finder as a widget in home page

Subject of the issue
The person search (currently in relief camp)should be its own widget in the home page
Your environment

python3
*firefox
*Ubuntu

Steps to reproduce
Open https://keralarescue.in
click on Relief Camp widget
You will see a blue button for Person search
Expected behaviour
A user friendly option would be to have this in the home page as its own widget or search bar.
Probably with the option of live population based on last names or first names.
Actual behaviour
Currently the search option is inside the relief camp page. People who are frantically trying to reach out will miss it.

We will take this up little later as adding widgets etc will slow down the page load and we are trying to keep the page size as minimum as possible also #459 will get some of this working

This can be closed as it is already solved @syam3526 @biswaz @vigneshhari
'
{% bootstrap_icon "user" %}

Missing Person/Find Person
വ്യക്തിയെ തിരയുക/കാണാതായ വ്യക്തികളെ റിപ്പോർട്ട് ചെയ്യുക

'


Can I directly use log_m_ratio matrix to do methylation differential analysis?

Hi Shian,
Following the guideline in R help, I used the conversion function bsseq_to_log_methy_ratio to convert from my BSseq object bsseq to a matrix of log-methylation ratios log_m_ratio. I understand that the log_m_ratio matrix can be used with the plotMDS or plotPCA function.
If I want to do differential methylation analysis and to distinguish differential methylated loci and loci without significant methylation level changes within one sample and in different treatment conditions. Can I directly use the values in log_m_ratio matrix? Do you have suggestions what statistical method should I use?
Thank you very much for your time. Looking forward to your reply!
Yingzi

The methylation ratios shouldn't be used for differential methylation analysis, because the ratios don't capture the coverage which is important for statistical methods. For example we are more confident about a loci that has 0.5 methylation if we captured 50 methylated CG and 50 unmethylated CG rather than 1 and 1. I recommend using the BSSeq object directly with DSS or bsseq. I believe DSS can work when there are no replicates within conditions, not sure about bsseq.

Hi Shian,
Thank you for the explanation. I am moving on with DSS instructions for further differential  analysis. Many thanks.
Yingzi


Changed cli() invocations to fix a general problem.

Fixed https://github.com/eerkunt/terraform-compliance/issues/41

Pull Request Test Coverage Report for Build 161

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.2%) to 83.938%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

terraform_compliance/main.py
2
3
66.67%

Totals

Change from base Build 158:
2.2%

Covered Lines:
324

Relevant Lines:
386

💛  - Coveralls

Pull Request Test Coverage Report for Build 161

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.2%) to 83.938%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

terraform_compliance/main.py
2
3
66.67%

Totals

Change from base Build 158:
2.2%

Covered Lines:
324

Relevant Lines:
386

💛  - Coveralls


Allow a user to change their own password

Provide a way for any active user to change their password.
Passwords must meet certain minimum requirements:

Must be at least 8 characters in length
Must have at least one alphanumeric character.
If length is less than 12 characters, must have:
A upper case character
A lower case character
A number
Cannot contain any form of these words:

WARM, password, 1234, the current month in letters or numbers

The screen must require both the valid old password and require the new password be typed in twice.
The screen should provide help about what a minimum password requires, except that it should only say that certain words are forbidden.
Access to this screen should require that the user login first.

Perhaps use a library (like password-checker) to prevent short and easy to guess passwords and password permutations (e.g. changing the suffix to the next month name or number)

If easy to do, provide a password expiration after some number of days (set in Constraints) but do not implement it for now.

There's some built-in views to do this https://docs.djangoproject.com/en/3.1/topics/auth/default/#module-django.contrib.auth.views

I'm confused by "Must have at least one alphanumeric character."  Is this the same as saying a password can't consist entirely of punctuation and other non-digit, non-letter characters? i.e. " **&))${}:"
I'm looking at sub-classing the built-in PasswordChangeForm.  Django's PasswordChangeForm checks for commonly used passwords.

This issue was resolved with PR #290 so it can be closed.


[Doc] Fix readme error link

Proposed changes
Issue Number: close #xxx
Problem Summary:
Fix readme error link, such as Compilation and Basic Usage
Checklist(Required)

Type of your changes:

[ ] Improvement
[x] Fix
[ ] Feature-WIP
[ ] Feature
[x] Doc
[ ] Refator
[ ] Others:

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[x] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Hi @stalary , the old links are broken due to the suffix .html. I think removing the suffix is better.

Hi @stalary , the old links are broken due to the suffix .html. I think removing the suffix is better.

Ok, I will modify it

done. @adonis0147

Duplicated. See #11091

Duplicated. See #11091

Thanks for reminding me, I will close this PR.


docs(design): script storyboard responses edits

Reworded some more and took out a few things that didn't make sense

:tada: This PR is included in version 1.7.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add distance to crash feedback to racers.

The original intent was to have racers act like "autonomous drivers" with similar information you'd see in a self-driving car.  To that end, it would be expected to make decisions, not on complete information about a track, but only what it can "see in the moment".
So, the feedback on move options tells the racer which of the 9 choices move them "closer" to the finish line.
But they should also get some information to allow them to avoid crashes - in the future.
So, I think we want to return a "distance to crash" - if the racer were to do nothing but coast at his current velocity.
And then, to give the dx, dy to that point (so he can calculate how far in advance to slow down to avoid a collision).

Implemented by 11bef2849dff48e08ccb92a911d13684f72975b7


change ubuntu version

Change the CI ubuntu version from latest to 18.04 because latest uses a too recent version of glibc, preventing meilisearch from running on the debian version of the DO image

bors try

bors try

bors try-

bors try

bors try-

borst try

bors try

bors merge


RECONFIGURE OUTPUT TO RTs because many things have changed

ack
🤢 🤢 🤢
RDF RT structure has changed

😢 😢 😢

OKAY OKAY OKAY IT WAS A FALSE ALARM
I had some faulty node tests that were preventing output of sinopia:hasPropertyType triples.


Visual scripting?

Can this game be scripted using visual scripting instead of gdscript?

I don't see why not. I believe someone may have done so in the Godot demo projects repo.


Update reporter to be compatible with WebdriverIO V8

Current version has dependencies fixed for WebdriverIO V7, so it won't install when using V8.
An update for V8 would be appreciated.

Thanks for reporting the issue. Any contributions to make this happen would be appreciated.

I am looking at this. It seems to be closely connected to #31, since the upgrade to wdio V8, as I understand it, requires the module to use ESM instead of CommonJS.

@kschiller afaik CJS 3rd party plugins should also work with v8

Yes, you are right. Only a small change is needed to resolve this issue. I will make a PR.


Please add search engine support for Google

I know Google is hated for a reason and I understand why this project is called ungoogled-chromium. But sometimes Google is needed for searching and I would like to have this as my defaut search engine at times.
I was wondering if it could be added into the browser?

Absolutely! You probably need to enable the collection of search engines or manually add google search.

Duplicate of https://github.com/Eloston/ungoogled-chromium/discussions/1488#discussioncomment-619116

Thanks guys :)


Epoch confusion in 10_neural_nets_with_keras

hello @ageron
I am running my first keras code in Jupyter notebook. The first code in the chapter is for the SequentialAPI(). Though i understand it clearly on a theoretical basis I am having hard time understanding the output of the model.fit. Why is the epoch size differing in the outputs below?
history = model.fit(X_train,y_train,epochs=30,                     validation_data=(X_valid,y_valid))
Output of my Jupyter notebook is as below.
Epoch 1/30
1719/1719 [==============================] - 4s 2ms/step - loss: 1.0187 - accuracy: 0.6807 - val_loss: 0.5207 - val_accuracy: 0.8234
Epoch 2/30
1719/1719 [==============================] - 3s 2ms/step - loss: 0.5028 - accuracy: 0.8260 - val_loss: 0.4345 - val_accuracy: 0.8538
Epoch 3/30
1719/1719 [==============================] - 3s 2ms/step - loss: 0.4485 - accuracy: 0.8423 - val_loss: 0.5288 - val_accuracy: 0.8002
Epoch 4/30
1719/1719 [==============================] - 3s 2ms/step - loss: 0.4210 - accuracy: 0.8531 - val_loss: 0.3915 - val_accuracy: 0.8650
Epoch 5/30
1719/1719 [==============================] - 3s 1ms/step - loss: 0.4061 - accuracy: 0.8584 - val_loss: 0.3753 - val_accuracy: 0.8684
whereas for the same code the output as per the textbook and the author's code is as below.
Train on 55000 samples, validate on 5000 samples
Epoch 1/30
55000/55000 [==============================] - 2s 44us/sample - loss: 0.7226 - accuracy: 0.7641 - val_loss: 0.5073 - val_accuracy: 0.8320
Epoch 2/30
55000/55000 [==============================] - 2s 39us/sample - loss: 0.4844 - accuracy: 0.8321 - val_loss: 0.4541 - val_accuracy: 0.8478
Epoch 3/30
55000/55000 [==============================] - 2s 39us/sample - loss: 0.4414 - accuracy: 0.8464 - val_loss: 0.4373 - val_accuracy: 0.8508
Epoch 4/30
55000/55000 [==============================] - 2s 40us/sample - loss: 0.4129 - accuracy: 0.8549 - val_loss: 0.4170 - val_accuracy: 0.8562
Epoch 5/30
55000/55000 [==============================] - 2s 38us/sample - loss: 0.3927 - accuracy: 0.8616 - val_loss: 0.3825 - val_accuracy: 0.8646
Where am i going wrong here?

You are running on 55000 batches compared to the books 1719 batches. Maybe you have a different batch size or are using more data samples.

You are running on 55000 batches compared to the books 1719 batches. Maybe you have a different batch size or are using more data samples.


Mistake - Configure Azure AD SSO Step 7e

This line is incorrect
"e. From the Source attribute list, type the attribute value shown for that row."
If you type the attribute, it will automatically add quote marks to the value.  This will cause the SAML to fail.
You MUST select the correct value from the drop down menu, you can not type it.

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

ID: ee0d3d2c-71f4-9366-73a3-f0c910cf9073
Version Independent ID: 953ee878-2afd-d2b4-c5f0-a750ecd910a9
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with Cisco Webex Meetings
Content Source: articles/active-directory/saas-apps/cisco-webex-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@GriffReborn Thanks for reporting this. I have updated the doc and it will be merged shortly.


Make some more X509 functions const.

I'm wondering if I should drop the serial number part of the change since this seems to be (ab)used in quite a few places. Resolving all the warnings would end up with quite a large patch. It doesn't help that
there doesn't really seem to have been a const clean up of the ASN.1 code, eg: int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a);
Perhaps that should all be cleaned up too?

+1

merged.  thanks!


Hello for Business - Multi-factor Unlock - Login with Password only?

Can you please share if a password-based login is still possible?
Thank you!
(admin edit: update doc details with latest)

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

ID: 38f8c2ce-8edb-60d3-ebf9-bdb625bf66dc
Version Independent ID: ee1ed0a8-b05c-c499-6504-40b5b298c53b
Content: Multi-factor Unlock
Content Source: windows/security/identity-protection/hello-for-business/feature-multifactor-unlock.md
Product: windows-client
Technology: itpro-security
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

@CHfish-ch , yes possible, if you signed in with your local account on windows.

Thank you @RAJU2529
I'm currently looking for a matrix / table of the different options with local, domain and Azure Account, especially if (how) one can could enforce MFA-Authentication to Windows with Hello for Business (in other words preventing a login with password only).
Do you have any information on that?

@CHfish-ch . No other information sorry

@Gitprakhar13 Please help us in resolving this issue. Thanks

Hello @CHfish-ch,
password login is still a viable option, unless you disable the password credential provider or require the use of smart card.
we don't have a table with the different options. You can review the following documentation to go passwordless and essentially moving to MFA https://learn.microsoft.com/windows/security/identity-protection/hello-for-business/passwordless-strategy
Hope this helps!


Server Side Rendering compatibility (check if window exists)

I appreciate that the latest releases are more webpack/React friendly.
Unfortunately, paypal-checkout uses "window" in many points without checking if window is available, so it breaks on the first server side rendering.
Of course the Paypal button is shown only client-side, but the library cannot be used because "window is undefined".
Now I load the CDN checkout.js script asyncronously using react-async-script-loader and set a showButton flag on the local state only if the script is correctly loaded (check in componentDidMount and willReceiveProps) and also set React/ReactDOM on the window global. Unfortunately this solution isn't stable enough (our customers say that many clients call because the button isn't showing, it throws errors etc).
I'd like to use the new 4.0.78 library with WebPack instead, but it is impossibile for a server-side rendering project (and I think any e-commerce based on React should be SSR to be SEO-friendly).
I think it is enough to check if window exists before calling any method on window. Do you think it is feasible?
Thank you,
Matteo Frana

Hmm, good question.
It might be possible but would require some pretty extensive changes through all of the dependencies for paypal-checkout.
For now can you do a conditional require?
if (typeof window !== 'undefined') {
    let paypal = require('paypal-checkout');
}

Thank you Daniel,
I'm using the conditional require now and everything seems ok in dev/sandbox.
Tomorrow I'll test it in a production environment.
Anyway, I'd leave the issue open as a Feature request, because I think that having the component working in a React SSR environment would be an shared need.
Thank you for your work,
Matteo

Glad it works! So, in terms of officially supporting SSR, I'm not totally convinced, since this intended to be a 100% client-based library. So, if it's required on the server-side, it's going to fail at some point, whether it's on require() or on calling paypal.Button.render(). I could check for window everywhere and export no-ops, but that would just move the failure point to later.
Seems to me like it's cleaner if it's just up to clients to do a typeof window check. Otherwise I'm not sure what the cleanest behavior for this lib would be.

Original poster no longer exists - but I am curious how important SSR is for SEO in 2019.


Icons is missing on this released. Was showing before on the Nobara OS. No idea what happen.

No sounds still. I'm still testing on this Nobara OS.
I will try the Fedora OS out next. The one from the Rawhide 40. Just to test out to see the same issues are there.

Windows 11 Home no issue at all. :)

ok the icons are there on the Fedora 41 (Which is odd on the version because the 40 isn't out yet.)

No sounds only.
Something ether got removed or an update broken the icons on the Nobara 39 OS. Still no idea.

No sounds for any of the games?

Just the Windows have the sounds. None on Linux.
Tested on the Kubuntu 22.04.3. No sounds and the buttons are black.
Next up testing the Ubuntu 22.04.3 out. Probably have the same issue as the Nobara 39 and Kubuntu 22.04.3.

I think the sounds should work when it connect to sdl or sdl2 on Linux.

Please check the latest commit.

You got the icons fixed.

:)

Does the sounds work? I tested the sounds on Ubuntu 22.04.3.

Nobara-39-Official-2024-01-24 and Fedora-Workstation-Live-x86_64-39-1.5 no sounds. Competely ignore the 39 releases. There is a bug. Been fixed on the 40 beta.
Fedora-KDE-Live-x86_64-Rawhide-20240218 and ubuntu-22.04.3-desktop-amd64 got sounds.

I found out this morning that the Fedora 39 and Nobara 39 is using an out of date QT5. Which is why it having this issue. Funny it's does run after the python3-pyqt6-devel installed.

I got this fully working on the Distrobox. No issue. https://github.com/89luca89/distrobox
========================================
Create a container.
distrobox-create --name fedorabox --image fedora:rawhide
distrobox-create --name ubuntubox --image ubuntu:22.04
========================================
Load a container.
distrobox-enter --name fedorabox
distrobox-enter --name ubuntubox
========================================
Install these packages.
Fedora Rawhide. sudo dnf install python python3-pyqt6-devel qt6-qtbase
Ubuntu 22.04. sudo apt install libpulse0 python3-pip python3-pyqt6.sip qt6-base-dev && pip3 install pyqt6
========================================
Logout and then reload the Distrobox. This will get the BrickEmuPy to run better.
logout
========================================
Load the BrickEmuPy Emulator.
cd BrickEmuPy && python3 main.py
========================================
Remove a container. (Warning: This will perment delete container and files inside the container.)
distrobox stop fedorabox && distrobox rm fedorabox
distrobox stop ubuntubox && distrobox rm ubuntubox

Got the sounds to work on the Nobara 39. Should work on the Fedora 39. Uploaded the QT updates and the Python updates here. https://mega.nz/folder/aBVSVQQD#vwIesJi9NrOi6k3_lbX0FA There is a command in the readme for installing the updates onto Nobara/Fedora 39.
Note: Update System will downgrade all back to the older version. Do not use this. Use this instead. sudo dnf upgrade --refresh
I took some time to find all these. :)

GloriousEggroll added a ton of patches on his Nobara 39 last night. Now the sounds is working.
I removed the link to the files. Not needed now.


product variation Support

Now the plugin don't support product attribute. Will you add support for product attribute, set varying prices based on attributes combinations ? thanks

A pro plugin to provide support for product variations/attributes, with stock support, is planned.

Provided by https://github.com/flaviocopes/grav-plugin-shoppingcart-product-variations


tests: add test for bug 6008 SMB_COM_WRITE_ANDX data padding issue

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6008
Rebase of https://github.com/OISF/suricata-verify/pull/1260 with min-version: 7 for the test remaining to be added

Merged in #1364, thanks!


Added OpenVPN support for Azure

Steps and resources to setup an OpenVPN server on Azure VM (along with $100 student benefit) which works on Campus network.
Changes commited:
modified:   README_technical.md
new file:   assets/azure-openvpn-makeclient.sh
new file:   assets/azure-openvpn.sh

Thanks for the PR, it will be reviewed soon. Btw, for script, we are using script by angristan, which is super easy to use.

Umm.. what's different from https://proffapt.hashnode.dev/openvpn-server-on-azure


Color slider border color token update

Description
Color-slider-border-color token was updated to reference gray-1000 instead of gray-900 in both light and dark themes.

Motivation and context

S2 color slider design changes.
Related issue

This update is a part of this Jira ticket body of work.
Types of changes

 [ ] Patch (bug fixes, typos, mistakes; non-breaking change which fixes an issue)
 [X] Minor (add a new token, changing a value; non-breaking change which adds functionality)
 [ ] Major (deleting a token, changing token value type; fix or feature that would cause existing functionality to change)
Checklist:

 [X] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
 [X] I updated the token in all applicable sets. This applies if updating, adding, or deleting a token that has data across different sets (for example, if the value differs across color themes.)

TESTING spectrum2-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-colors/
TOKENS STUDIO DATA IS COLOR ONLY
SPECTRUM SYNC SUMMARY
CHANGED VALUES: (1) color-slider-border-color

TEST COMPLETE

SYNCING spectrum2-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-colors/
TOKENS STUDIO DATA IS COLOR ONLY
SPECTRUM SYNC SUMMARY
CHANGED VALUES: (1) color-slider-border-color

WROTE: /spectrum-tokens/packages/tokens/src/color-component.json
SYNC COMPLETE
Spectrum Tokens Pull Request


Support for builder mode in RpcClientOptions and RpcServerOptions

nit: CI failed.
Let's add an unit test to cover your change, thanks.


Clearer error messages for private functions with #[spirv(fragment)] attribute

Working off of this ticket
Unsure about this one honestly. I do think that it works, but I'm having to clone item and I'm unsure if that's wanted.
Also not sure if the language used for the error is exactly what is wanted, but I do think that this technically works and it clearer than what was seen before.
This is also currently only detecting for fragment shaders just since only that was mentioned in the original ticket. However, it'd be pretty easy to add other checks (such as for #[spirv(vertex)]).
Any feedback is appreciated, thanks!

Oops, forgot to run cargo fmt before. Sorry about that, new commit now.

Hi again! Was feeling unpleased with this solution and wanted to go back to it.
Attempting to simply use if let instead of getting a string from the spirv macro.
// rust-gpu/crates/spirv-std/macros/src/lib.rs/spirv()
    // prepend with #[rust_gpu::spirv(..)]
    let attr: proc_macro2::TokenStream = attr.into();
    tokens.extend(quote! { #[cfg_attr(target_arch="spirv", rust_gpu::spirv(#attr))] });

-   if attr.to_string().trim() == "fragment" {
-       let item_clone = item.clone();
-       let input = syn::parse_macro_input!(item_clone as ItemFn);
-       if !matches!(input.vis, Visibility::Public(_)) {
-           panic!("The `spirv` macro can only be applied to public functions.");
-       }
-   }

+   if let Ok(item_fn) = syn::parse::<ItemFn>(item.clone()) {
+       if !matches!(item_fn.vis, Visibility::Public(_)) {
+           panic!("The `spirv` macro can only be applied to public functions.");
+       }
+   }

    let item: proc_macro2::TokenStream = item.into();
    for tt in item {

This works great! However, there are some functions instead of the spirv_std source that are not public. I don't know much about these functions, so I'd love to know if that was intentional, or if we can go ahead and make them public. I've pushed a new commit with those changes to be viewed. However, if the two function changes are not wanted, we can do it another way!

Oops, apparently I missed a lot more private functions. I can fix this in the morning if that's the way that the code owners want to go with it

So! As far as I can tell, nothing close to this error message shows up anywhere in the rust-gpu repo. However, the exact same error message showed up in another repo, SPIRV-Tools#2538. They fixed is by going from SPV_ENV_VULKAN_1_0 to SPV_ENV_UNIVERSAL_1_3 whatever that means. This makes me think that the error is probably on the vulkan or spirv side of things, rather than the rust-gpu side.
In addition to this, when I change functions from public to private in the rust-gpu examples, such as compute-shader or mouse-shader, the error I get when using cargo build -p [crate] is simply
error: function `main_fs` is never used
   --> examples/shaders/mouse-shader/src/lib.rs:140:4
    |
140 | fn main_fs(
    |    ^^^^^^^

which makes it seem even more to me like it isn't being checked on the rust side.
Going to keep investigating, but figured I'd share some results. Happy Thanksgiving all!


mc_pos_control: hotfix for possible thrust below minimum thrust setting

Hotfix after a crash because of a heavily negative desired thrust that got clipped to 0 by the mixer.
0 thrust meant no more attitude tracking.
Flight log that lead to these changes:
http://review.px4.io/plot_app?log=90a3f19b-c8c2-44db-887f-0e6f5488aa84

Without looking too detailed into the fix, why did the min thrust not catch that?

Because the check for it was bypassed due to the sign error.


Specifying root service port to a port other than containerPort/TargetPort of the leaf service doesn't not work

According to the SMI documentation, we can have a configuration where the root service port is 8080 and the leaf service has a targetPort other than 8080: https://github.com/servicemeshinterface/smi-spec/blob/main/apis/traffic-split/v1alpha4/traffic-split.md#ports
kind: Service
apiVersion: v1
metadata:
  name: birds
spec:
  selector:
    app: birds
  ports:
  - name: grpc
    port: 8080
  - name: rest
    port: 9090
---
kind: Service
apiVersion: v1
metadata:
  name: blue-birds
spec:
  selector:
    app: birds
    color: blue
  ports:
  - name: grpc
    port: 8080
  - name: rest
    port: 9090
---
kind: Service
apiVersion: v1
metadata:
  name: green-birds
spec:
  selector:
    app: birds
    color: green
  ports:
  - name: grpc
    port: 8080
    targetPort: 8081 <--- 8081 would match the container port of
  - name: rest
    port: 9090

When trying this on the httpbin canary rollout sample though, I wasn't able to see this sample work with this kind of configuration. https://release-v1-0.docs.openservicemesh.io/docs/demos/canary_rollout/
Repro steps
Follow the tutorial in https://release-v1-0.docs.openservicemesh.io/docs/demos/canary_rollout/, except we are going to update the yaml definitions of the services and apply those instead
httpbin.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: httpbin
  namespace: httpbin
---
apiVersion: v1
kind: Service
metadata:
  name: httpbin
  namespace: httpbin
  labels:
    app: httpbin
spec:
  ports:
  - name: http
    port: 8080
  selector:
    app: httpbin

httpbin-v1.yaml
apiVersion: v1
kind: Service
metadata:
  name: httpbin-v1
  namespace: httpbin
  labels:
    app: httpbin
    version: v1
spec:
  ports:
  - name: http
    port: 8080
    targetPort: 14001
  selector:
    app: httpbin
    version: v1
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: httpbin-v1
  namespace: httpbin
spec:
  replicas: 1
  selector:
    matchLabels:
      app: httpbin
      version: v1
  template:
    metadata:
      labels:
        app: httpbin
        version: v1
    spec:
      serviceAccountName: httpbin
      nodeSelector:
        kubernetes.io/arch: amd64
        kubernetes.io/os: linux
      containers:
      - image: simonkowallik/httpbin
        imagePullPolicy: IfNotPresent
        name: httpbin
        command: ["gunicorn", "-b", "<IP_ADDRESS>:14001", "httpbin:app", "-k", "gevent"]
        ports:
        - containerPort: 14001
        env:
        - name: XHTTPBIN_POD
          valueFrom:
            fieldRef:
              fieldPath: metadata.name

Where we deploy these yamls in step 3 and 4 instead of the ones in the raw github link.
On Step 6, instead of getting a 200, we are consistently seeing 503s.
Other details
It seems like there are some oddities in this behavior where if we change the targetPort on the root service to 14001, then change it back to 8080, the configuration is still working.

@jkotalik thanks for the detailed repro steps.

It seems like there are some oddities in this behavior where if we change the targetPort on the root service to 14001, then change it back to 8080, the configuration is still working.

I have a suspicion this happens due to a race condition somewhere. Will try to repro the issue.


exclusive not making it exclusive

Hey sir. Thanks a bunch for this library!
Not sure whether that's intended or not, but setting exclusive={true} isn't ensuring that an element currently in the DOM is allowed to finish its leave transition before the next one entering.
Is that a bug, or am I misinterpreting how it works?
Thanks!

try install 1.0.4.
If not works, can you point me a demo? exclusive will make current animation stop immediately
https://github.com/react-component/animate/blob/f3d61107c6ed73ac514febb599d91b811b799780/src/Animate.js#L87

Hey!
Yeah, I think I misunderstood it. I thought exclusive made the enter animation wait until a leave animation is finished.
I'll see if I can add that myself.

@juliocesar  see example for exclusive, http://react-component.github.io/animate/examples/exclusive.html, this has been fixed in 1.0.5

@xujihui1985 Hey! Thank you. Just checked, and I don't think it's a bug in exclusive per se.
I thought exclusive meant that before the next component enters, that it would wait for a current one to leave, and only then be put in the DOM and animate, but that's not how it works at all.
In my case at least, exclusive doesn't seem to make any difference (toggling it on or off yields the same result).

@juliocesar  exclusive here means, stop the current one before next compnent enters, and that should make difference when toggling it or or off, try to clone the latest code and toggle the property in examples/exclusive.js to see the difference :)

non exclusive: http://react-component.github.io/animate/examples/simple.html
exclusive: http://react-component.github.io/animate/examples/simple-exclusive.html

@xujihui1985 @yiminghe Many thanks!
Yeah, I misunderstood it. I was looking for a way to queue the enter/leave process. Will ping back here if I come up with something.
This is what I'm cooking with it -> https://gist.github.com/juliocesar/ae67cc40593d71e2f5e4


Add synonyms or aliases to attributes

This would enable us to provide compatibility between old and new attributes.

Hey @MyPyDavid, I still think this whole Attribute mess is something for 2025 ... but I got some ideas today.
What we could do is create some opaque id for each Attribute once, like a UUID but based on the hash of the current URI. Then we can use migrations to create those ids to for attribute independently.
We can then remove the whole tree of keys and just store the uri_path and uri_prefix for each attribute. And we can rename attributes and add field for alternative identifiers or aliases.
What do you think?

Just an idea: Maybe we need one new model/table Alias, which maps URIs to other things. We will have the problem not only with attributes, but also with options (e.g. new version of the DFG Fachsystematik).


100: Update CognitoStack

Allow clients customization through input params

Codecov Report

Merging #101 (7028d18) into release (4a3bbbc) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             release     #101      +/-   ##
=============================================
+ Coverage      98.96%   98.97%   +0.01%
  Complexity       169      169
=============================================
  Files              9        9
  Lines            967      978      +11
  Branches          30       30
=============================================
+ Hits             957      968      +11
  Partials          10       10

Flag
Coverage Δ

unittests
98.97% <100.00%> (+0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

...rc/main/java/org/wcdevs/blog/cdk/CognitoStack.java
99.02% <100.00%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

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