Error on build - dependency to Microsoft.Bcl.AsyncInterfaces

REFITTER000	System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. Systém nemůže nalézt uvedený soubor.
I tried to install package Microsoft.Bcl.AsyncInterfaces, but it did not help. VS 2022, MAUI app project.
Thanks for help

@all-contributors please add @folbrecht for bugs

@folbrecht I could easily reproduce your problem, but I haven't figured out why this happens with MAUI projects.
One good thing is that Refit itself works fine with MAUI but the Refitter.SourceGenerator package reference is causing the problems.
As a workaround, you can remove the Refitter.SourceGenerator package reference and add the Refit package reference. Then you can keep the generated file as it is or re-generate it using the Refitter CLI tool
My schedule is a bit packed these days leading up to the holidays. I'll eventually, and hopefully, figure out what's wrong when working with MAUI, and work on a fix for the problem. Until then, I apologize for the inconvenience and the delays

Thank you for your efforts. Jan
ne 10. 12. 2023 v 23:39 odesílatel Christian Helle @.***>
napsal:

@folbrecht https://github.com/folbrecht I could easily reproduce your
problem, but I haven't figured out why this happens with MAUI projects.
One good thing is that Refit itself works fine with MAUI but the
Refitter.SourceGenerator package reference is causing the problems.
As a workaround, you can remove the Refitter.SourceGenerator package
reference and add the Refit package reference. Then you can keep the
generated file as it is or re-generate it using the Refitter CLI tool
My schedule is a bit packed these days leading up to the holidays. I'll
eventually, and hopefully, figure out what's wrong when working with MAUI,
and work on a fix for the problem. Until then, I apologize for the
inconvenience and the delays
—
Reply to this email directly, view it on GitHub
https://github.com/christianhelle/refitter/issues/233#issuecomment-1849110172,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCWLWNRU4FWQXLI57WV6RITYIY23XAVCNFSM6AAAAABALLPWJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGEYTAMJXGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

REFITTER000 System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. Systém nemůže nalézt uvedený soubor.
I tried to install package Microsoft.Bcl.AsyncInterfaces, but it did not help. VS 2022, MAUI app project. Thanks for help

I have run into exactly the same problem on compiling, but it seems not be MAUI related (or, at least, not exclusively), because my project was a Web API and the build error occurred when building a class library, which was the project the nuget package was added to.

REFITTER000 System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. Systém nemůže nalézt uvedený soubor.
I tried to install package Microsoft.Bcl.AsyncInterfaces, but it did not help. VS 2022, MAUI app project. Thanks for help

I have run into exactly the same problem on compiling, but it seems not be MAUI related (or, at least, not exclusively), because my project was a Web API and the build error occurred when building a class library, which was the project the nuget package was added to.

Interesting... I primarily use this myself on Web API (Minimal API) projects. What version of .NET do you target and what version of Refitter do you use?
I just put this little Minimal API project together to test it out:
MinimalApi.zip
I could build and run it without any issues

REFITTER000 System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. Systém nemůže nalézt uvedený soubor.
I tried to install package Microsoft.Bcl.AsyncInterfaces, but it did not help. VS 2022, MAUI app project. Thanks for help

I have run into exactly the same problem on compiling, but it seems not be MAUI related (or, at least, not exclusively), because my project was a Web API and the build error occurred when building a class library, which was the project the nuget package was added to.

@manuel-fernandez-rodriguez Interesting... I primarily use this myself on Web API (Minimal API) projects. What version of .NET do you target and what version of Refitter do you use?
I just put this little Minimal API project together to test it out: MinimalApi.zip
I could build and run it without any issues

I have downloaded the zip, and the openapi definition for the PetStore was missing, so I downloaded it from https://petstore3.swagger.io/api/v3/openapi.json.
The Refit interface was successfully generated, but I get exactly the same error that we have been mentioning from the start:
Build started at 20:44...
1>------ Build started: Project: MinimalApi, Configuration: Debug Any CPU ------
1>CSC : error REFITTER000: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
1>Done building project "MinimalApi.csproj" -- FAILED.

Surprisingly, if I build it from the command line:
> dotnet build
MSBuild version 17.8.3+195e7f5a3 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
  MinimalApi -> C:\Users\mfernandezr\Downloads\MinimalApi\bin\Debug\net8.0\MinimalApi.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:08.75

So I have to presume the problem is not the code itself, but something related to Visual Studio or its interaction with the code generation.
My Visual Studio version is:
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.8.3

And I have the following SDK and runtimes installed:
> dotnet --list-sdks && dotnet --list-runtimes

8.0.100 [C:\Program Files\dotnet\sdk]
Microsoft.AspNetCore.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]```

@manuel-fernandez-rodriguez Thanks for all the input! This will be very helpful.
My excuse for not running into this - I spend most of my day in JetBrains Rider and the CLI 😞
I'll see what I can do

@manuel-fernandez-rodriguez Good news is that I found the line of code that throws an exception. The bad news is that I don't understand why it does, and why it doesn't...
For now, I think I'll add a try/catch around the deserialization code in the source generator project and just jump out if anything unexpected happens

@all-contributors please add @manuel-fernandez-rodriguez for bugs

I released a preview version to NuGet
<PackageReference Include="Refitter.SourceGenerator" Version="<IP_ADDRESS>-preview" />

It works for me in my Visual Studio setup. Can you also try it on your machines @manuel-fernandez-rodriguez @folbrecht ?

@christianhelle
Checked and, apparently it works flawlessly when building :)
Thank you SO much for the quick workaround.

@folbrecht I tested the latest release preview on a new MAUI app and it seems to work fine.
I'm closing this


added link to Matrix Chat Room

@startup-001-steve thanks, merged it with change for turning url into a link and rebase-squash-merged it.


[Question]: Starting a video (.mp4) at a given frame

Question

Using VideoGear I wish to start a video (.mp4) at a given frame say 100, I could not find if this is possible, is this not intended functionality?
Similar to opencv's functionality of
video_capture.set(cv2.CAP_PROP_POS_FRAMES, 100)

And below is async locked
stream = VideoGear(source='video.mp4').start()

stream.stream.stream.set(cv2.CAP_PROP_POS_FRAMES, 100)

Thanks in advance.
Acknowledgment

[x] I have searched the issues for my issue and found nothing related or helpful.
[x] I have read the FAQs.
[x] I have read the Documentation.

Context

Your Environment

VidGear version: 0.2.5
Branch: master
Python version: 3.7.9
PiP version: 20.1.1
Operating System and version: Windows 11

Seems #53 mentioned this in 2019, is this still the case?

@connor-john not at all, you lucky since can now use my new library DeFFcode which is designed exactly to tackle this problem, and will soon replace OpenCV in CamGear or some other Gear. Here's example for accurate seeking:
https://abhitronix.github.io/deffcode/latest/examples/basic/#saving-keyframes-as-image
You need to make some changes according to your application, but I'll leave that to you,as it's pretty easy. Anyways if you get stuck anywhere, let me know. Also, drop a 🌟 if you like it.

This looks like exactly what I am after, thank you @abhiTronix

@connor-john not at all, you lucky since now you can use my new DeFFcode library which is designed exactly to tackle this problem, and will soon replace OpenCV in CamGear or some other Gear in #148. Here's example for accurate seeking: https://abhitronix.github.io/deffcode/latest/examples/basic/#saving-keyframes-as-image
You need to make some changes according to your application, but I'll leave that to you,as it's pretty easy. Anyways if you get stuck anywhere, let me know. Also, drop a star2 if you like it.

Hello, is there any way to apply the "ffparams" after starting the video?, in short, I would like to use the equivalent of the function "cap.set(cv2.CAP_PROP_POS_FRAMES, 100)" in your library, several times, in the same video open only once


Fix MeshBuilder

If a transform matrix is passed to sphere() method of MeshBuilder, normal vectors are wrong.
Before this fix :

After this fix :

Thanks!

This change doesn't properly rotate the normals.

Why @xoppa ?

Indeed, if there is a rotation in the matrix, it would not work. How would you do that ?

Woops, I think you need to multiply the normals by the inverse of the transform transposed, then normalize.

MeshBuilder has a matrix transform nowadays which already properly transforms both vertices and normals (and binormal and tangent). So perhaps we can use that instead and move it out of the builder method. I've already moved all the builder methods to separate builders (and packge) in my repo. I'll commit that this weekend. After that we can look into this can of issues and perhaps remove the method taking a matrix altogether.

Sounds like a nice solution.

Yes it's good.


The gn command stopped working under some conditions

This seems to be a side effect of fixing #7104.

Run gvim.exe --clean --cmd "language messages English" --cmd "set encoding=utf-8".
Execute :set hlsearch.
Execute :help buffer.
Execute /list, the matches become highlighted in yellow.
Hit gN. gVim switches to Visual mode and selectes list in the Edit buffer [N] from the buffer list.  If [N] is not given, line.
Hit gN again. The selection is expanded up to list that points in the This is the most recent entry in the jump list that points line.
Now hit gn. Nothing happens.

Expected behavior
The selection should get smaller at step 7.
Environment

Vim version 8.2.1830
OS: Windows 10 Home 1803
Terminal: GUI.

I'm not quite sure what should happen in this case, but at least the cursor should move.
I suppose that after "gN" extending the visual area, "gn" would go back to the previous position.


The package product cannot be used as a dependency of this target because it uses unsafe build flags

I am getting this error in Xcode when trying to build the newly created project with this package imported:

The package product 'llmfarm_core' cannot be used as a dependency of this target because it uses unsafe build flags.

It doesn't work even when I'm importing the package locally and commenting out all the .unsafeFlags lines in the Package.swift
I also tried the approach suggested here with importing a specific commit, but it didn't help
How do you add this package to the Xcode project?
Sorry, I'm not proficient with packages 🙂

I have the same issue.

I solved this issue by using Commit for SPF

but I saw a compile issue as below

Hi. This is problem with Xcode 15.

@guinmoon
Thank you! New Xcode solved the issue.

Although using Commit for SPF , the library is considered an unstable-version package after relying on commit

Xcode 15.3, still have the issue.

Xcode 15.4, still have the issue.


Update autogenerated documentation to handle notebooks

Estimated size: medium
Update how documentation is generated, so that (1) notebooks (now with a _ prefix) are converted to Markdown and ignored by Sphinx autodoc and (2) modules are not converted to Markdown and included in Sphinx autodoc.
Summary of changes

Rename existing simulation notebooks to have _ prefix
Add an explicit check for if __name__ != "__main__" in notebooks to prevent them from being imported (and therefore running the entire notebook)
Add custom template for autodoc
Add jupytext to dependencies

Steps to verify

Run for FILE in $(find . -type f -name "_[a-z]*py"); do jupytext --sync $FILE; done which will generate Markdown versions of the notebooks in the docs folder
Run make docs which will generate the docs  (view the docs/_build/html/index.html file in a browser) -- note that none of the source/notebook links will work until this PR is merged

Some of the docs subfolders are already ignored, but some of them need to be tracked (e.g. docs/index.rst). I think once the workflow is set up, you shouldn't need to run make docs most of the time.


Some Questions

Hello, I just wanted to ask a few questions to help better my understanding after some more exploration.

In the example for Initializing a new turn, I couldn't get the example working until I changed .set_sort_rule(your_custom_sort_function) to TurnityManager.set_sort_rule(your_custom_sort_function)\. I'm unsure whether or not it was intended, so I just wanted to bring it to your attention.
When manually moving to the next turn, how do I trigger the ended_turn() signal? I tried using the code example in the 'Manually move to the next turn' section, but can only advance the turn. The signal is triggered fine when the turn duration is a non-zero value, but I want to fire that signal manually. I even did TurnityManager.ended_turn.emit() without any success.

Thank you again for all the hard work you've put into this plugin!

Hi @ipatterson, let me answer your questions:

You're right, the docs are missing the \ in two functions to continue the chain execution, I'll fix it
The ended_turn signal as I see in my code requires a manual action, i.e., right now calling next_turn() is only calling the TurnityManager signal turn_changed()

I created it this way so that there is control over this signal on each socket and you decide when it is actually 'the end' of the turn.
At the moment you can listen to the TurnityManager turn_changed() signal and manually emit the ended_turn signal on the first parameter that gives you the previous socket.
signal turn_changed(previous_socket: TurnitySocket, next_socket: TurnitySocket)
Thanks for your patience, I'm currently working on other things and I have pending an update for this plugin to make its use clearer.
Cheers!

Apologies for the late follow-up, but would you be able to provide a code example? I tried to emit and listen to turn_changed, but I think I'm writing unnecessary code. (I'm happy to also provide my code if needed). I'm sorry to say that I still don't fully understand the process.

After a bit more playing around, I found another workaround. I'm still working to understand Godot scripting, so I'm open to feedback. But I wanted to share in case it helps.
So, on a unit with an attached TurnitySocket (which itself has the actor attached), I wrote a custom signal send_active_unit(TurnitySocket), so now in my main script I can manually call ended_turn


No Possible OCR languages are installed

Microsoft PowerToys version
0.62.0
Running as admin

[X] Yes

Area(s) with issue?
TextExtractor
Steps to reproduce
Press Window + Shift + T and then select a screen area with text
✔ Expected Behavior
It should copy the text to clipboard
❌ Actual Behavior
It gives this error

"No Possible OCR languages are installed"

Other Software
No response

@jaimecbernardo, seeing a lot of similar issues, I think we should query a list of language packs installed and display them on the Text Extractor settings page, and show a warning if no language was installed. We could also introduce a dropdown setting for a preferred recognized language for non-English users and try to use it first before falling back to English.

fyi @yuyoyuppe, I am scanning English text and my PC language is also English, but still I see this error.

Here it is

And here's the GIF to see exact behavior for me https://jumpshare.com/v/QRHb3YcNfp9nveqPBmOA

@dotriz can you try temporarily removing "English (Pakistan)" pack and give it a test? Thanks.

Same behavior. See https://jumpshare.com/v/td6c41H2h1bmRMBEThJV

@dotriz, when English (United States) language is installed, then OCR pack should be installed alongside.
Could you please run next command from the Powershell in administrator mode:
PS C:\Windows\system32> Get-WindowsCapability -Online | Where-Object { $_.Name -Like 'Language.OCR*' }
It shout show you the status of the installed OCR packages, like:
Name  : Language.OCR~~~el-GR~<IP_ADDRESS>
State : NotPresent

Name  : Language.OCR~~~en-GB~<IP_ADDRESS>
State : NotPresent

Name  : Language.OCR~~~en-US~<IP_ADDRESS>
State : Installed

Name  : Language.OCR~~~es-ES~<IP_ADDRESS>
State : NotPresent

Name  : Language.OCR~~~es-MX~<IP_ADDRESS>
State : NotPresent

I just ran the command. All are showing NotPresent except Language.OCR~~~en-US~<IP_ADDRESS>

Do you still see "No Possible OCR languages are installed" message?

Yes, I still see that

Thank you. Could you please send your Windows build version from system information, like:

Here it is

Thank you. @dotriz, could you please run next commands in admin powershell and send us the output:
PS C:\Windows\system32> $null = [Windows.Media.Ocr.OcrEngine,                Windows.Foundation,      ContentType = WindowsRuntime]
PS C:\Windows\system32> [Windows.Media.Ocr.OcrEngine]::AvailableRecognizerLanguages

No output

That's the reason. TextExtrator show this message if there is no languages with OCR support.
However, this function should return en-US language, cause OCR for language en-US language is installed according to your comment above.
I can only suggest try to remove/add languages until this [Windows.Media.Ocr.OcrEngine]::AvailableRecognizerLanguages returns non-empty result.
You may also try remove and then add the OCR pack via powershell in admin.
For example, for en-US language:
PS C:\Windows\system32> $Capability = Get-WindowsCapability -Online | Where-Object { $_.Name -Like 'Language.OCR*en-US*' }
PS C:\Windows\system32> $Capability | Remove-WindowsCapability -Online
PS C:\Windows\system32> $Capability | Add-WindowsCapability -Online

PS C:\Windows\system32> $Capability = Get-WindowsCapability -Online | Where-Object { $_.Name -Like 'Language.OCR*en-US*' }
PS C:\Windows\system32> $Capability | Remove-WindowsCapability -Online
PS C:\Windows\system32> $Capability | Add-WindowsCapability -Online

After running these commands OcrEngine seems to have uninstalled. And by running this command [Windows.Media.Ocr.OcrEngine]::AvailableRecognizerLanguages I get this error
Unable to find type [Windows.Media.Ocr.OcrEngine].

It's needed to run both commands:
PS C:\Windows\system32> $null = [Windows.Media.Ocr.OcrEngine,                Windows.Foundation,      ContentType = WindowsRuntime]
PS C:\Windows\system32> [Windows.Media.Ocr.OcrEngine]::AvailableRecognizerLanguages

OK. Still blank result

Thank you. I'll try to figure out what could be the issue there, but it's definitely out of PowerToys scope.
Meanwhile you may try different things like restart, change language configuration and see what's the [Windows.Media.Ocr.OcrEngine]::AvailableRecognizerLanguages output.

FYI, I installed English UK language, made it default. Restarted. But still I get the same result

Thank you for information. It's helpful, we will take it into account.

same issue here. I am using english windows, the text is in Chinese

I see that [Windows.Media.Ocr.OcrEngine]::AvailableRecognizerLanguages queries the C:\Windows\OCR path and very likely it checks which OCR packs are available and returns them.

@dotriz, could you please run the next command in powershell on your machine and provide the output:
PS C:\> ls -Recurse C:\Windows\OCR

updated powertoys today, still same issue.

@oijqws, could you please send the screenshot like one above: https://github.com/microsoft/PowerToys/issues/20388#issuecomment-1249485896?

@dotriz just curious. Could you please try to copy G:\Windows\OCR to the C:\Windows\OCR and run https://github.com/microsoft/PowerToys/issues/20388#issuecomment-1245328942 again?

Hurray @teras-janea, this works and solves the issue❤

@dotriz just curious. Could you please try to copy G:\Windows\OCR to the C:\Windows\OCR and run https://github.com/microsoft/PowerToys/issues/20388#issuecomment-1245328942 again?

same issue here. I am using Chinese windows, the text is in Chinese.Could you help me? @taras-janea

The issiue was the windows is not installed on C drive? Can you fix it? I haven't C drive on my desktop.

@dotriz just curious. Could you please try to copy G:\Windows\OCR to the C:\Windows\OCR and run #20388 (comment) again?

Is it possible for us to change where it's searching in the registry? As I none of my drives are considered the C drive, but I do have the OCR folder in my windows folder on my main drive, as well as everything else checking out from running the commands besides the same issues OP had.
I'll see if it's possible to change the path its looking for in registry..  Haven't been able to find anything.


command terminated by singal 11

I am trying to modify the Openroad Flow scripts to support the systemverilog module. I thought it would be just as simple as replacing
foreach file $::env(VERILOG_FILES) {
  read_verilog -defer -sv {*}$vIdirsArgs $file
}

with something like
foreach file $::env(VERILOG_FILES) {
  read_systemverilog -defer -verbose -d 2 {*}$vIdirsArgs  -sv  $file
}

and properly loading the module with -m systemverilog. However this systematically fails after reading the second SystemVerilog file with a reason that I do not understand. Here are last lines that are printed out.
[  FATAL] : 0
[ SYNTAX] : 0
[  ERROR] : 0
[WARNING] : 1
[   NOTE] : 5
Command terminated by signal 11

The log file slpp_all/surelog.log does not contain any suspicious information.
Synthesis runs to completion if instead I do pass the SystemVerilog files as follows.
read_systemverilog -defer -verbose -d 2 {*}$vIdirsArgs  -sv  my_path_to_file1.sv \
                                                                                my_path_to_file2.sv \
                                                                                my_path_to_file3.sv \
                                                                                my_path_to_file4.sv

which indicates that the SystemVerilog files are all ok.

The -defer flag is currently experimental and might not work in all cases. Is it possible to share a design on which this happens? (preferable something small that reproduces this issue).

The following works well for me. I was missing the -link after reading with the -defer option
if {[info exist ::env(YOSYS_READ_SV)]} {

   foreach file $::env(VERILOG_FILES) {
      puts "reading file  $file"
      read_systemverilog -defer  -verbose -d 2 {*}$vIdirsArgs -DSYNTHESIS -sv $file
   }
   read_systemverilog -link -verbose -d 2
}


[DOCS] Link to the main branch instead of the master branch

Description
The contributing badge on the README.md is linking to the master branch, which doesn't exist and should instead link to the main branch.
Steps to contribute

Fork the repository here.
Create a new branch in your fork named update_branch_name.
Open the README.md file.
On line 13, replace master with main.
Commit and push your changes.
Create a pull request to compare your changes.
You're done now! 🎉 You just have to wait until the maintainers review and check your PR.

If you need any help, let us know about it.
Additional information
This is a good first issue. Please leave it open to first-time contributors and beginners. 🙂

Thank you for the help and this example issue!
Sorry that I couldn't reply on time because of school.

Thank you for the help and this example issue! Sorry that I couldn't reply on time because of school. Completed the fix

Thank you, but next time, please leave it open for first-time contributors. 🙂
Offtopic: What's your Discord username? I'd like to contact you over there something related to this repository.

No problem. My discord is satinwuker


chore: split into several files

Codecov Report

Merging #95 into master will increase coverage by 0.74%.
The diff coverage is 88.88%.


🕳 Add virtual pipes to wasi-common

This introduces Handle implementations for readable and writable pipes, backed by arbitrary Read and Write types, respectively. In particular, this allows for easily providing, capturing, or redirecting WASI stdio without having to resort to OS-provided file descriptors.
The implementation is based heavily on wasi_common::virtfs::InMemoryFile, but without inapplicable operations like seek or allocate.
Note that these types are not 1:1 replacements for real pipes, because they do not support poll_oneoff.

I'm looking forward to the point where we can say that features like this should be implemented through link-time virtualization mechanisms, rather than traits in Wasmtime, but we're not there yet :-), so this overall looks good for now.


Update kasten.svg

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~15 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

:heavy_check_mark: Deploy Preview for landscape ready!
:hammer: Explore the source changes: 73f1f1f64e50fe54e1853e38b599d7a407a0f082
:mag: Inspect the deploy log: https://app.netlify.com/sites/landscape/deploys/60b7f36c9dddd5000714d513
:sunglasses: Browse the preview: https://deploy-preview-2125--landscape.netlify.app


pingOnBotMention doesn't seem to be working

If I tag the bot in the main server on my account,, it wont ping in the mailbox server but when I use an alt to do so, it still pings in the mailbox server (logs channel) I dont want it to ping at all when the bot is mentioned in the main server, any help would be greatly appreciated.

Looking at your previous issue (which you closed), you need to change the config values from "false" to false and "true" to true (so without quotes).


Spring cloud netflix 4.1.x End Of Support on 2024-11-28, next any release planned?

Spring cloud Netflix 4.1.x End of Support is on 2024-11-28, could you please confirm whether any upcoming stable release is planned before previous version support ends?

Hello @KeerthigaMargesan4; yes, as planned here: https://github.com/spring-cloud/spring-cloud-release/milestone/147


Owls 82748 - Allow for customization of the liveness probe for WebLogic Server pods

Changes for JIRA OWLS-82748 to allow customization of the liveness probe for WebLogic server pods. Users can provide a custom script either using a domain resource field or an environment variable. This custom script will be invoked by the liveness probe script (livenessProbe.sh) and if custom script execution fails with non-zero exit status, the liveness probe will fail. If the domain resource field is set, it'll also internally set the environment variable.
The update to documentation sections and what contents needs to be included is in discussion. Creating this draft PR to get feedback on the implementation approach.

Open issues under discussion in slack:
Doc env vars:   To make writing a plug-in practical, we should document which existing env vars (WL_HOME, etc) and functions (trace? DOMAIN_HOME/bin/setDomainEnv.sh?) WKO supports, and warn against long running calls from the plug in (wlst.sh or any network call).
Init env vars:  We also need to make sure that vars like WL_HOME and DOMAIN_HOME are initialized properly (see exportEffectiveDomainHome, which the liveness probe already calls, and exportInstallHomes, which the liveness probe apparently does not).

Open issues under discussion in slack:
Doc env vars: To make writing a plug-in practical, we should document which existing env vars (WL_HOME, etc) and functions (trace? DOMAIN_HOME/bin/setDomainEnv.sh?) WKO supports, and warn against long running calls from the plug in (wlst.sh or any network call).
Init env vars: We also need to make sure that vars like WL_HOME and DOMAIN_HOME are initialized properly (see exportEffectiveDomainHome, which the liveness probe already calls, and exportInstallHomes, which the liveness probe apparently does not).

I have added draft of a new chapter for liveness/readiness probe customization in fa7e7ab and documented the environment variables that we discussed.
Regarding calling exportInstallHomes, I see that variables ORACLE_HOME, WL_HOME and MW_HOME are already available in custom script. I'm not sure if it's necessary to call  exportInstallHomes if these variables are already available. Thanks.


feat(tagsInput): Add support for selecting tags on click

Add the possibility for the user to click in a tag to select it, so it can be removed when clicking backspace. Adds a function called $selectTag() to the item template that can be used in a custom template. It uses the same logic as $removeTag().

Coverage decreased (-0.92%) to 99.08% when pulling 65f9a9a8f099c3079db7b3b2d012dbcf3b18e00b on jesucarr:select-tags-on-click into b5dc57f542c11351ad881e45cc238f75b9adc24a on mbenford:master.

Coverage remained the same at 100.0% when pulling dfe5d1aa4c52e11ee55309ce5c6d06c50ffc6c85 on jesucarr:select-tags-on-click into b5dc57f542c11351ad881e45cc238f75b9adc24a on mbenford:master.


Content-length not calculated correctly

PUT request using previous connection .content generates content-length of 1. Please can you help me determine why this is happening?
Code:
r = requests.get('http://<IP_ADDRESS>/api/?client=wget&file-name=dummy&type=vmware/vmware/2.0/si/serviceprofile/serviceprofile-1/containerset',
data={r1.content}, headers={'content-type':'application/xml'}, verify=False, auth=('admin', 'paloalto'))
Generated request:
PUT /api/?client=wget&file-name=dummy&type=vmware/vmware/2.0/si/serviceprofile/serviceprofile-1/containerset HTTP/1.1
Host: <IP_ADDRESS>
Connection: keep-alive
User-Agent: python-requests/2.10.0
Accept-Encoding: gzip, deflate
Accept: /
Content-Length: 1
content-type: application/xml
Authorization: Basic YWRtaW46cGFsb2FsdG8=

securitygroup-22Ten1SubtA-sec-group3IP<IP_ADDRESS><IP_ADDRESS>securitygroup-27test-sec7IP

You can see the body is clearly more than 1 byte so unless I'm missing something this looks like a bug. Let me know what additional information you would like and I will add it.

It's actually not quite complete. You haven't told us what operating system you're using or shown us how to get r1 for the post request you make above. The way in which you made that request is actually worth knowing.
You also don't explain where you retrieved this generated request from. Is that from the server or from the request attribute on the response.
There is, in fact, very little information here and at this point belongs on StackOverflow. There's little evidence of any actual bug in requests.

Python 3.6.0a1 (v3.6.0a1:5896da372fb0, May 16 2016, 15:20:48)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import requests
requests.version
'2.10.0'

The generated request is a capture (tcpdump) of r on the server, before it was cut off it clearly showed over 400 bytes of content, yet the Content-Length has been calculated as '1' by requests.
r1 = requests.get('https://<IP_ADDRESS>/api/2.0/si/serviceprofile/serviceprofile-16/containerset', verify=False, auth=('root', 'paloalto'))
The response to GET request r1 contains the data I am using in the PUT request r
data:

securitygroup-22Ten1SubtA-sec-group3IP<IP_ADDRESS><IP_ADDRESS>securitygroup-27test-sec7IP

data:

securitygroup-22Ten1SubtA-sec-group3IP<IP_ADDRESS><IP_ADDRESS>securitygroup-27test-sec7IP

Uh...why is your data= argument a set?

uh... hmm.. maybe I chopped and changed my code too much and ended up with a typo... Thanks for pointing me at my mistake :) I will now go and slap myself in the face for the next 10 minutes :(

Heh, no need to self-flagellate too much, it happens to all of us. =)

@therealjb86 I should have caught that last night. :) Sorry for not being able to be helpful sooner.


[BUG] Schemathesis extremly slow with localhost on windows

Checklist

[X] I checked the FAQ section of the documentation
[X] I looked for similar issues in the issue tracker

Describe the bug
When using localhost to acces the OpenAPI schema like that st run  http://localhost:5000/openapi.json it take about one second for every requests.
I think this is caused by the library urllib3 as described in this stackoverflow  question :

the slow connections on Windows were related to urllib3 (the transport library used by requests) attempting an IPv6 connection first, which is refused since the server is listening on IPv4 only. For Windows only, however, there is an unavoidable 1 sec timeout on socket.connect for refused TCP connections, while the OS 'helpfully' retries the connection up to 3 times. (See: Why do failed attempts of Socket.connect take 1 sec on Windows?).
On Linux, socket.connect fails immediately if the connection is refused, and it can attempt the IPv4 connection without any delay. In addition, some software, like curl, support limiting name resolution to only IPv4 or IPv6. Unfortunately, requests and urllib3 do not support this, and do not seem to plan to support this anytime soon (See: https://github.com/psf/requests/issues/1691)

To Reproduce
Steps to reproduce the behavior:

Run this command  st run  http://localhost:5000/openapi.json on Windows
Look at only one request being received by your api every second.

Expected behavior
Pointing to localhost should give the save result as pointing to <IP_ADDRESS> or else should be documented to avoid any confusion for new users.
Environment (please complete the following information):

OS: Windows
Python version: 3.10.4 and 3.11
Schemathesis version: 3.18.3
Spec version: Open API 3.0.3

I guess, it could be at least documented indeed - not sure if we can do something about it without introducing some surprising behavior in other cases.

Thank you for the feedback.
1 - Would the debugging section be a good place to put it in?
2 - I did a quick search for localhost in the documentation and found a few results. We could swap localhost with <IP_ADDRESS> so that peoples doing copy-past from example don't have any issue.
If that's OK with you, I can do a PR.

I think for now we can put it into a FAQ - there is a plan to build a proper troubleshooting guide, which will derive from FAQ, including this entry.
yep, let’s replace this mentions - you are very welcome to create a PR :)

I also suspect that it could be the reason why our test suite is multiple times slower on Windows


chore: mb november 1st release

Changelog:

https://github.com/bitcashorg/masterbots/pull/320
https://github.com/bitcashorg/masterbots/pull/317
https://github.com/bitcashorg/masterbots/pull/314
https://github.com/bitcashorg/masterbots/pull/313
https://github.com/bitcashorg/masterbots/pull/309
https://github.com/bitcashorg/masterbots/pull/306
https://github.com/bitcashorg/masterbots/pull/304
https://github.com/bitcashorg/masterbots/pull/303
https://github.com/bitcashorg/masterbots/pull/302
https://github.com/bitcashorg/masterbots/pull/301
https://github.com/bitcashorg/masterbots/pull/300
https://github.com/bitcashorg/masterbots/pull/299
https://github.com/bitcashorg/masterbots/pull/298
https://github.com/bitcashorg/masterbots/pull/297
https://github.com/bitcashorg/masterbots/pull/296
https://github.com/bitcashorg/masterbots/pull/295
https://github.com/bitcashorg/masterbots/pull/294

[Auto Observation 👀] deploy more often.

@coderabbitai create a product update document with all the changes pushed to the main branch. The product update document should:
Include product updates:

Version tracking: A good document should allow you to record different software versions and their release dates to keep track of updates systematically.
Change log: It should include a section to detail the changes made in each update, helping users understand what has been modified or improved.
Impact assessment: Assessing the impact of each update on existing systems is vital. The document should have provisions to document this analysis.
User feedback: A section dedicated to collecting and reviewing user feedback post-update can help in refining future updates.
Given notes: Documents should follow the provided documents for the product updates and add them to their respective sections. This includes dates and/or unorganized lists with explanatory text (if any).

Avoid product updates:

Overly complex layouts: Documents with too many sections or intricate designs can make it difficult to quickly find information or update statuses.
Assuming data: documents should not have any assuming data. Review before completing the document.

@coderabbitai these are the summaries for each PR below:
PR #320
Integrate Drizzle ORM into the project to enhance database management capabilities. Implement new admin services and API for user management, including actions like blocking users and updating subscriptions. Update environment and docker-compose configurations to support the new database setup.
Release Notes

New Features

Enhanced error handling and validation for admin actions.
Introduced an adminApi for executing administrative actions with type safety.
New functions for user management, including blocking/unblocking users and updating subscriptions.
Added a structured approach for handling administrative actions with schema validation.

Bug Fixes

Improved robustness of API responses for various error scenarios.

Documentation

Updated configuration for database connection and added new schema definitions for user management.

Chores

Added environment variable for database connection in the Docker configuration.

PR #317
Add custom settings options including font size selection and theme toggling. Enhance accessibility by introducing an AccessibilityProvider to manage font size settings. Implement suspense with a fallback skeleton for the ProfileSidebar component to improve loading experience.
Release Notes

New Features

Introduced a font size selector for enhanced typography control.
Added a theme toggle feature to the user menu and profile sidebar.
Integrated an accessibility provider for managing font size preferences across the application.

User Experience Improvements

Implemented loading skeletons for the profile sidebar to improve loading visibility.
Enhanced header layout by removing the theme toggle from the header component.
Updated the UserLogin component to display a loading skeleton for the profile sidebar.

Bug Fixes

Fixed layout inconsistencies in the chat panel header and chat options.

These updates aim to improve usability, accessibility, and overall user experience within the application.
PR #314
Update the ChatChatbotDetails component with a new UI layout, including a card header, floating avatar, and enhanced description section. Refactor the component for improved readability and maintainability.
Release Notes

New Features

Improved user interface with a welcoming message in the card header.
Enhanced responsiveness and visual appeal of the component.
Added descriptive text to assist users in creating new threads.
Styled button for starting a new chat for better visual integration.
Introduced a new loading skeleton for the chatbot details interface.

Documentation

Expanded documentation detailing features like responsive design and theme support.

Refactor

Restructured the return statement for improved layout and styling.
Updated import paths for better modularity and organization.

PR #313
Release Notes

New Features

Enhanced sidebar navigation with improved thread toggle functionality, reflecting the current thread view in the browser's history.
Streamlined navigation process for categories and chatbots, allowing for smoother user interactions without full page reloads.
Introduced flexible user identification in the user thread panel, improving thread fetching based on user context.

Bug Fixes

Improved logic for managing thread visibility and loading states, ensuring a more responsive user experience.

Documentation

Updated internal documentation to reflect new navigation parameters and methods for better developer understanding.

PR #309
Add a new feature to enable web search within the chat interface and enhance the checkbox component to support custom settings. Update UI components to use muted colors for better visual consistency.
Release Notes

New Features

Introduced a web search feature with a toggle option in the chat panel.
Enhanced error handling and response processing in AI-related functions.
Updated response guidelines to allow format changes based on instructions.
Added support for custom rendering in the checkbox component.

Bug Fixes

Improved error reporting by throwing exceptions for web search tool failures.

Style

Updated visual styles across various components, including buttons, dropdowns, and menus, to ensure a consistent muted theme.

PR #306
Release Notes
Enhance the SEO capabilities of the application by updating the sitemap with new URLs and improving metadata descriptions. Include category names in Hasura service queries and truncate long responses in metadata generation for better SEO.

New Features

Enhanced sitemap functionality with new URLs for improved navigation.
Dynamic SEO descriptions for category pages, improving relevance and context.

Bug Fixes

Improved null safety across various functions to prevent runtime errors.

Documentation

Updated metadata handling to include truncated responses for better readability.

Chores

Enhanced GraphQL queries to include category names, improving data retrieval capabilities.

Documentation

Clarified type definitions and improved the structure of TypeScript interfaces related to web search functionality.

PR #304
Bug fixing the error with the search by implement a new search feature that enables searching within thread content, enhancing the browsing experience. Improve the search input component with dynamic placeholders and responsive design, and add visual feedback for search input focus.
Release Notes

New Features

Introduced a ThreadSearchProvider to enhance context management for thread searches.
Added search functionality to the BrowseListItem and BrowseList components, improving thread visibility based on user input.
Updated BrowseSearchInput for a more intuitive search experience with improved UI and state management.
Implemented loading skeletons (BrowseListSkeleton, ThreadItemSkeleton, NoResultsSkeleton) for better user feedback during data fetching.
Added a NoResults component to inform users when no search results are found.
Enhanced UserThreadPanel to manage thread visibility based on search input and loading states.
Introduced searchThreadContent function for improved thread filtering based on search terms.

Bug Fixes

Enhanced feedback for users with a "No results found" message in the BrowseList component.

Documentation

Updated comments and documentation for clarity throughout the components.

PR #303
Release Notes

New Features

Added a "Browse" navigation link to the header, accessible on larger screens.
Introduced a new button variant called "powerUp" with updated styling.
Implemented a "Power-Up" toggle feature in the chat panel header.

Improvements

Enhanced model selection logic in the chat combobox to ensure safe operations in production environments.
Added a new PowerUpProvider for managing power-up state across components.

Style

Updated dimensions of the switch component for better usability.

PR #302
Refactor chat components to improve code organization and state management, including separating message pair rendering into a new component and enhancing loading state handling. Update the regex in the web search tool for better JSON data matching.
Release Notes

New Features

Enhanced chat functionality with improved message handling and error management.
Introduced MessagePairs component for better organization of chat messages.
Added loading state indicators and improved user experience in chat components.
Enhanced web search tool with more precise JSON extraction and structured error messages.
Added ThreadPopUpCardHeader for better organization of thread popup functionality.
Introduced AiToolCall type to improve type safety for AI tool interactions.
Launched useMBChat hook for streamlined chat interactions and message management.
Added new anchor component for improved hyperlink handling in chat messages.
Updated ChatPanelHeader and ChatPanel for better loading state management.
Refactored Chat component and ThreadPopup for improved message processing and UI feedback.
Simplified BotThreadsPage and BrowseProBotPage components by removing unnecessary prompt formatting logic.

Bug Fixes

Improved error handling in the web search tool and chat components, ensuring clearer error messages.

Documentation

Updated descriptions and parameter details for AI tools to enhance clarity and usability.

Chores

Refined styling and layout of components for a more consistent and polished user interface.
Streamlined TypeScript configurations for better readability and updated ECMAScript targets.

PR #301
Improve the user interface and logic of the authentication forms by adding password visibility toggles and a password strength meter. Refactor email templates into a separate module for better code organization. Enhance the responsiveness and animations of authentication-related pages. Simplify and improve the ClickableText component logic and truncate long usernames in the user menu for better UI consistency.
Release Notes

New Features

Enhanced user experience with animated transitions on the Forgot Password, Reset Password, Sign In, and Sign Up pages.
Added password visibility toggle in Sign In and Sign Up forms for improved usability.
Introduced a Password Strength Meter to guide users in creating strong passwords.
Implemented a new email template generation system for password reset and verification emails.
Added a new function to truncate long usernames in the User Menu for better readability.

Improvements

Updated email handling to utilize dedicated functions for generating email templates, improving modularity.
Improved scroll management in the Browse Accordion component for mobile users.
Refined layout and responsiveness across various components, including adjustments to spacing and structure in BrowseChatbotDetails and BrowseUserDetails.
Streamlined the ChatPanel component for clearer disabled state conditions.
Enhanced the structure and styling of the ThreadPopup and ChatbotDetails components for better readability and user experience.
Updated the Sign In and Sign Up forms to improve layout and responsiveness.
Enhanced clickable text handling in the Chat component for better accessibility.

Bug Fixes

Streamlined error handling and validation processes across various forms.

Documentation

Added new interfaces and functions for better structure and clarity in email and password management.

PR #300
Implement a user profile page with a new 'Profile' link in the user menu and a 'UserCard' component to display user details.
Release Notes

New Features

Introduced a UserMenu for easy navigation to user profiles.
Added a Hero component for enhanced profile display.
Launched UserCard to showcase user details and interactions.
Implemented ProfileProvider for improved user profile management.
Added ProfileSidebar for better navigation within user profiles.
Introduced ThreadPage for viewing specific chat threads.
Enhanced NoResults component with loading state indication.
Added a new UserPersonalityPrompt function for generating user insights.
Introduced UserThreadList for displaying user-specific threads.
Enhanced BrowseChatMessageList with user prop for future flexibility.
Updated ChatChatbotDetails to conditionally render based on profile context.
Added support for image uploads to Cloudinary via a new hook.
Enhanced profile page layout with a new structured design.

Bug Fixes

Improved error handling for user data retrieval and session management.

Enhancements

Updated routing logic for user profiles and threads.
Enhanced loading states and user feedback mechanisms.
Added new properties to user-related interfaces for better data management.
Improved visibility management for sidebar components based on screen size.
Refined the structure of user data handling in authentication processes.
Expanded image handling capabilities by allowing SVGs from Cloudinary.
Enhanced user experience with improved session management and error handling.

Chores

Updated dependencies and improved internal documentation.

PR #299
Implement a thread list display feature and enhance the user interface by highlighting the active thread in browse and chat sections.
Release Notes

New Features

Introduced multiple new components: BrowseAccordion, BrowseCategoryButton, BrowseCategoryTabs, BrowseChatMessageList, BrowseChatMessages, BrowseChatbotDetails, BrowseSpecificThreadList, NewChat, PromptForm, SuccessContent, ShareLink, DateRangePicker, and ThreadList.
Enhanced chat functionality with a new message list and category buttons for easier navigation.
Added date range selection for filtering threads.
Implemented sharing functionality for threads.

Improvements

Enhanced documentation across components for better clarity.
Improved accessibility features and user experience through dynamic styling and feedback mechanisms.

Bug Fixes

Streamlined state management and rendering logic for various components to ensure consistent behavior.

Refactor

Updated import statements for types to improve clarity and maintainability.
Refactored components to enhance readability and structure without changing functionality.

PR #298
Reorganize the navigation menu for mobile view by introducing a right-side sidebar for the user profile menu and moving main navigation items into it. Enhance the user experience by adding auto-close functionality for the sidebar and fixing logout context errors. Adjust the desktop header by removing 'Browse' and reorder navigation items for better accessibility.

Redesigned user profile menu to become a right-side sidebar in mobile view
Moved main navigation items (Chat, Pro, Browse, Ww) into the mobile sidebar
Reordered navigation: Chat > Pro > Browse > Ww
Removed "Browse" from desktop header, keeping it only in mobile sidebar
Added auto-close functionality when selecting navigation options
Fixed logout functionality to prevent context errors

Release Notes

New Features

Introduced a new ProfileSidebar component for enhanced user profile management and navigation.
Updated the UserLogin component to display the ProfileSidebar for authenticated users.
Added new button variants for the sidebar profile.

Improvements

Restructured the Header component for better navigation link organization on larger screens.
Adjusted the minimum width of dropdown menus for improved responsiveness.

These changes enhance user experience by streamlining navigation and profile management within the application.
PR #297
Release Notes

New Features

Enhanced user table with new array relationships: chats, followers, following, preferences, prompts, referrals, referralsByUserId, threads, and userTokens.
Introduced a new role, user, with specific insert permissions for the user table.

Bug Fixes

Reformatted existing followers relationship for consistency.

Documentation

Updated comments for clarity in the moderator role permissions.

PR #296
Update user permissions by adding select permissions for 'anonymous', 'moderator', and 'user' roles, and remove unnecessary array relationships and table includes.
Release Notes

New Features

Introduced new select permissions for anonymous, moderator, and user roles, enhancing data access based on user roles.
Users can now only update their own information, ensuring better privacy and security.

Bug Fixes

No changes were made to the existing insert and update permissions, ensuring stability in those areas.

PR #295
Introduce new tools for chatbots, including a web search tool and a chatbot metadata tool, to enhance their capabilities. Refactor code for consistency in string literals and improve error handling in AI processing functions.
Release Notes

New Features

Introduced a Skeleton component for loading states in UI.
Added support for ordered and unordered lists in markdown rendering.
Enhanced ChatPanelHeader with improved loading state management.
Implemented a new function generateShortLink for creating short links via the Dub.co API.
Added new asynchronous functions for chatbot and web search tool interactions.
Updated WordwareChat to include appVersion in prompt execution.

Bug Fixes

Improved error handling in various components, including ShareButton and PromptForm.

Documentation

Updated comments and code organization for clarity and maintainability.

Chores

Updated multiple dependencies to their latest versions for improved performance and security.

PR #294
Release Notes

New Features

Enhanced dark mode support for ChatOptions and ShareButton components.
Updated ShareButton to provide visual feedback during the sharing process with dynamic icons.

Bug Fixes

Improved null safety checks in the BrowseListItem component to prevent runtime errors.

Refactor

Streamlined ShareButton interface by removing unnecessary properties and updating its functionality.

@coderabbitai reformat the product update according to this template below:
Example:
What’s shipping 🌟

Gamification Features: Implementation of points and level systems for Pro users is underway, rewarding interactions and task completions to enhance user engagement.
User Preferences: Development of user preferences settings is ongoing to enhance personalization.
Subscription Management: Working on subscription management systems for the Pro version.
Pro Version Development: Initial designs for the Pro version are ready, and development has commenced.

Announcements 📣

Testing Initiatives: Comprehensive regression testing and integration checks for all new features are underway to ensure system stability and performance.
Self-Hosting Research: Ongoing exploration into integrating an open-source large language model (LLM) for self-hosting, aiming to enhance scalability and customization options.

FYI’s 📌

Timeline Adjustments: To streamline progress, overlapping testing periods are being considered.
Assignee Responsibilities: Clear definitions of responsibilities for each feature update are being established to prevent delays.
Enhanced Reporting: Progress reports will be integrated into the roadmap to effectively track milestone achievements.
Future SEO Enhancements: Regional SEO strategies are being prioritized for better market penetration.


ryujinx: 1.1.1053 -> 1.1.1079

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for ryujinx is: Experimental Nintendo Switch Emulator written in C#
meta.homepage for ryujinx is: https://ryujinx.org/
meta.changelog for ryujinx is: https://github.com/Ryujinx/Ryujinx/wiki/Changelog
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.1079 with grep in /nix/store/3s20q4d2ipd7kisz04ha8yiac17nx596-ryujinx-1.1.1079
found 1.1.1079 in filename of file in /nix/store/3s20q4d2ipd7kisz04ha8yiac17nx596-ryujinx-1.1.1079

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
ryujinx

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3s20q4d2ipd7kisz04ha8yiac17nx596-ryujinx-1.1.1079 \
  --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 ryujinx https://github.com/r-ryantm/nixpkgs/archive/707af860ea47debcc33206bdfba0345884d22e1c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/707af860ea47debcc33206bdfba0345884d22e1c#ryujinx

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3s20q4d2ipd7kisz04ha8yiac17nx596-ryujinx-1.1.1079
ls -la /nix/store/3s20q4d2ipd7kisz04ha8yiac17nx596-ryujinx-1.1.1079/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.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @IvarWithoutBones @06kellyjac for testing.

1.1.1079 looks fairly outdated, please create a new PR.


[Bugfix] Fix bug query INFORMATION_SCHEMA.tasks Failed

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #9919
Problem Summary(Required) ：

when query INFORMATION_SCHEMA.tasks it will throw Internal error processing getTasks, host: unknown
this because there was no Task type for async before, and an EVENT-TRIGGED type was added later, which was not recognized. If an older version created this type it will affect the display.
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

Add an UT

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 3 / 3 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
3
3
100.00%
[]

run starrocks_admit_test

@Mergifyio backport branch-2.4


Mark of darkness timer seems to be wrong when casting it while equipping a purging staff.

Type
Incorrect behavior
Operating System
Windows
OS Version
2
Bug description
Mark of darkness duration depends on your magic level but when used with a purging staff it goes to 5 minutes if I read correctly on the wiki, Currently it just calculates it based on your magic level.
In the screenshot you can see the timer for mark of darkness while wearing the purging staff (my magic level is 92)
In the second image you can see it says that mark of darkness has already been cast but the timer is gone.
Screenshots or videos

https://i.imgur.com/1tbmqLS.jpeg
RuneLite version
<IP_ADDRESS>
Logs
No response

Download
https://www.mediafire.com/file/3hzk77cxvxc9nq2/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Duplicate of #18128


net/http: do not decode multipart form parts containing Content-Transfer-Encoding headers

A multipart/form-data form consists of a series of parts, separated by a boundary. As originally specified in RFC 2388, each part may contain a Content-Transfer-Encoding header as defined in RFC 2045 Section 6.
RFC 7578, Section 4.7, which updates and obsoletes RFC 2388, deprecates the use of Content-Transfer-Encoding in contexts which support binary data, specifically including HTTP.
http.Request.ParseMultipartForm will parse form parts containing a Content-Transfer-Encoding header. To use an example from RFC 7578, ParseMultipartForm will parse this form part as containing the body "Joe owes €100.":
--AaB03x
content-disposition: form-data; name="field1"
content-type: text/plain;charset=UTF-8
content-transfer-encoding: quoted-printable

Joe owes =E2=82=AC100.
--AaB03x

This can act as a content smuggling vector, since other implementations generally do not decode quoted-printable form parts in HTTP multipart/form-data responses. As a hardening measure, we should consider not decoding encoded parts in ParseMultipartForm. RFC 7578 indicates that implementations that send such bodies are uncommon to nonexistent.

Addendum:
Thanks to Qi Wang and Jianjun Chen for reporting this issue.

See also #66434.


main panel is vertically centered

It seems to be caused by this line:
https://github.com/yunity/foodsaving-frontend/blob/8763988e244212a880165d29f5e980fdcf142223/client/app/components/_mainLayout/mainLayout.styl#L5
@D0nPiano can you give me insight why you added "margin auto"? Can it be removed or replaced?

Just noticed that yesterday too - I already solved it locally on the new groupMap. Going to be fixed soon 🙂

Closed with #569


Change import package

What issue does this pull request resolve?
In fact, some codes that were not needed much have been removed.
What changes did you make?
The recent removal of the line const {default: Ajv} = require('ajv') was made possible by eliminating the export statement module.exports.default = AjvClass. As a result, we no longer require the named import of the Ajv module.
And since we mentioned the following code sample in the documentation, I don't think there is a problem:
const Ajv = require("ajv")
Is there anything that requires more attention while reviewing?
require packages in CJS

Or at least it can be as follows:
const {Ajv} = require('ajv')
The following also works:
const Ajv = require('ajv')

@jasoniangreen what happened?

@jasoniangreen what happened?!

I just wanted to pull master into your branch so I can see if it passes and do a proper review in the up to date context.

Thanks.

Hi @jarqvi, I don't really understand why should make this change?

I felt that it has more readability when importing package.

Hi @jasoniangreen, I felt that it has more readability when importing package.

Ah ok, but it would be a potentially breaking change, correct? Depending on how people are currently importing it?

Hi @jasoniangreen, I felt that it has more readability when importing package.

Ah ok, but it would be a potentially breaking change, correct? Depending on how people are currently importing it?

Well, we can make these changes by keeping the previous method and be backward compatible

Hi @jasoniangreen, I felt that it has more readability when importing package.

Ah ok, but it would be a potentially breaking change, correct? Depending on how people are currently importing it?

Well, we can make these changes by keeping the previous method and be backward compatible

@jasoniangreen Done.


RBAC ClusterRoles

Given that RBAC is taking off, it might be worth creating the corresponding ClusterRoles for the Namenodes and Datanodes.

Thanks for filing this issue. I agree. We'll have to clarify the privileges required by HDFS pods.
I wonder if the starting point is to allow the service account used by our pods to be overridden. So far, the default service account worked for us. But going forward, it is likely that the default service account may not have all the required privileges. What do you think?
FYI, we are trying to add Kerberos support (issue #23 and PR #24) I would love to get some feedbacks there with respect to what more privileges the Kerberos option would add in the future.

Another important aspect is what privileges should be given to the human user account launching HDFS pods. So far we assumed people would have full admin privileges. That may not be the case going forward.


Mystery error not providing info to HA

I get one of these every day with 0.3.3 and 0.3.4rc0.  It is handled gracefully by HA, so seems to be a minor issue.  Need to determine the type of exception and find out why the message isn't passing from subarulink to the subaru integration.
2020-07-29 02:03:35 ERROR (MainThread) [homeassistant.components.subaru] Error fetching subaru_data data: Error communicating with API:

I have it too it sees to be a delay issue in Fetch Or some unknown timeout issue (I think)
service: logging.set_level
data:
custom_componenets.subaru: debug (I use your app as a custom_component rather than having to merge my own HA code)
subarulink: debug
I will let you know what it is freaking out on in a few hours...

Forgot to check the log before some more restarts today. Earlier though I was only getting timeouts because the fetch command took longer than 30 seconds to complete. Not sure if I am gonna catch the error before tomorrow's release will see.

I found why the exception message wasn't being logged in the HA subaru init.py.
    async def async_update_data():
        """Fetch data from API endpoint."""
        try:
            async with async_timeout.timeout(30):
                data = await subaru_update(vehicle_info, controller)
            return data
        except SubaruException as err:
            raise UpdateFailed(f"Error communicating with API: {err}")

I think it might be the intermittent 403 error that occasionally happens.  It looks like it resolves itself upon the next call to async_update_data()?  A better behavior would probably be to catch the 403 and attempt the fetch again within the subarulink controller before raising the exception to HA.  Though it would be best to get to the bottom of the root cause of the 403 and prevent it from happening in the first place.

would be good to raise these all as subaruexception errors if we're gonna use that for the err value. not sure where they all hide I don't think ever failure has been excepted yet.

If the client maintains the session cookie by polling (via fetch) every 5 minutes or so, the session cookie never expires on the HTTP side, but any API requests that get forwarded on to backend servers stop working.  This looks like it occurs after exactly 24 hours.  I just need to have the connection object handle this specific 403 error and reauthenticate when it occurs.
5 2020-10-13 08:39:09 DEBUG (MainThread) [subarulink.connection] POST: https://mobileapi.prod.subarucs.com/g2v15/login.json
8 2020-10-13 08:39:11 DEBUG (MainThread) [subarulink.connection] Client authentication successful
...
61999 2020-10-14 08:38:37 DEBUG (MainThread) [homeassistant.components.subaru] Finished fetching subaru_data data in 1.056 seconds
62000 2020-10-14 08:43:37 DEBUG (MainThread) [subarulink.connection] GET: https://mobileapi.prod.subarucs.com/g2v15/validateSession.json
62001 2020-10-14 08:43:37 DEBUG (MainThread) [subarulink.connection] {'data': None, 'dataName': None, 'errorCode': None, 'success': True}
62002 2020-10-14 08:43:37 DEBUG (MainThread) [subarulink.connection] POST: https://mobileapi.prod.subarucs.com/g2v15/service/g2/vehicleStatus/execute.json
62003 2020-10-14 08:43:37 DEBUG (MainThread) [subarulink.controller] {'data': {'errorDescription': None,
62004           'errorLabel': '403-soa-unableToParseResponseBody'},
62005  'dataName': 'errorResponse',
62006  'errorCode': '403-soa-unableToParseResponseBody',
62007  'success': False}
62008 2020-10-14 08:43:37 ERROR (MainThread) [homeassistant.components.subaru] Error fetching subaru_data data:
62009 2020-10-14 08:43:37 DEBUG (MainThread) [homeassistant.components.subaru] Finished fetching subaru_data data in 0.513 seconds


Getting a Silent Token Response with the Username but no Access Token

Hey!
Nice Work you've done here.
I tried your sample but I'm getting no Access Token out of it.
What I done:
deleted the Resource cause I don't want to auth against a webapi (for now), linked the Login Method to the Login Button and changed the ClientID to mine.
Silent Token Response: Success
Username =<EMAIL_ADDRESS>Access Token:
That's what I get in the UnityPlayer Log.
Hope you can help :-)
Greetings!

I saw that you need a resource in order to get a token back. I hope I can just change it to whatever I need.
My bad :-)

Aha! Yeah, it is easy to miss something there - a lot of fiddly details.


Feature request: input.index(key)

Vm.sol offers string manipulation functions that come in very handy when dealing with strings. In the latest versions of forge-std, the introduction of new functions such as replace  has lowered our dependency on other external libraries.
However, forge-std still lacks one useful function for which foundry users may have to rely on external dependencies - a function that can return the index of the first occurrence of a key in an input string.
function index(string memory input, string memory key) external pure returns (uint256);

It would, therefore, be very useful if we could add support to it.

Hey @DaniPopes! Opened a PR featuring this, review it whenever free. Thanks!

Great work @kamuik16.

Thanks 🙂


Renaming grandparent folders of edited files does not work (Atom Beta)

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
You cannot rename folders in Atom BETA on at least Windows 10 and Windows 7 when a file in a sub-folder of the targeted folder to be renamed is edited. This also affects windows explorer. It gives an error that the folder cannot be renamed because it is in use by another program.
Steps to reproduce found here: https://github.com/johnpyp/atom-canary-isolation
Expected behavior: Folder renames normally even if file is changed
Actual behavior: Folder (in Atom) does not have permission to change and (in explorer) doesn't get renamed due to "the folder being open in another program".
Reproduces how often: 100% (3 tests so far, fairly thorough in terms of testing order of things and different operations to try to affect it. Two different folder and file structures analyzed to reproduce)
Versions
Atom    : 1.21.0-beta2
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0
apm  1.18.5
npm  3.10.10
node 6.9.5 x64
python
git 2.14.1.windows.1
visual studio
Tested on Windows 10 and Windows 7,  not sure what versions.
You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Edit: Seems to be a long-standing bug in normal Atom too, just happens to be a case I have only really run in with using the Beta (though I do remember this error popping up in normal Atom).

Edit: Seems to be a long-standing bug in normal Atom too, just happens to be a case I have only really run in with using the Beta (though I do remember this error popping up in normal Atom).

Hmmm, yeah I think maybe a duplicate of https://github.com/atom/node-pathwatcher/issues/101 yeah @50Wliu?

Yeah that's what I was about to mention.

is there any work to get this fixed? It seems pretty major.

Thanks for confirming @50Wliu, closing as a duplicate of https://github.com/atom/node-pathwatcher/issues/101.
@johnpyp - I don't believe it's currently prioritized and though we can't make any promises, I'll  bring it up with the team.


Add PHP 7.1 to Travis CI builds.

Adds support for PHP 7.1 which required a severe refactoring of the .travis.yml structure.

thanks 👍


could not put the tag in selected order, even with hidden input

select2 could not perform as 3.5.4 which put the tags as it's order. here is the example
even when I use input instead of select, it also use the order of data provided. try to change the code of InputData.prototype.current like follows:
InputData.prototype.current = function (_, callback) {
    function getSelected (id, dataArray, selectedIds) {
      var selected = [], data;

        for(var s = 0; s < dataArray.length; s++) {
            data = dataArray[s];
            data.selected = data.selected || $.inArray(data.id, selectedIds) !== -1;

            if (data.id == id) {
                selected.push(data);
            }

            if (data.children) {
                selected.push.apply(selected, getSelected(id, data.children, selectedIds));
            }
        }

      return selected;
    }

    var selected = [],
        selectedIds = this.$element.val().split(
            this._valueSeparator
          );

    for (var d = 0; d < selectedIds.length; d++) {
      var id = selectedIds[d];

      selected.push.apply(
        selected,
        getSelected(
          id,
          this._currentData,
          selectedIds
        )
      );
    }

    callback(selected);
  };

Then it will put the new tag as the end of the list, but it could add duplicate values.
Prerequisites

[x] I have searched for similar issues in both open and closed tickets and cannot find a duplicate
[x] The issue still exists against the latest master branch of Select2
[x] This is not a usage question (Those should be directed to the community)
[ ] I have attempted to find the simplest possible steos to reproduce the issue
[ ] I have included a failing test as a pull request (Optional)

Steps to reproduce the issue

instance a new select2 whith tags feature enabled, with at least 2 options
select the 2nd option
select the 1st option

Expected behavior and actual behavior
When I follow those steps, I see 1st options is before the 2nd one, not as it's selected order(which 3.5.4 does)
I was expecting the tags will be ordered as is't selected sequence
Environment
Browsers

[x] Google Chrome
[ ] Mozilla Firefox
[ ] Internet Explorer

Operating System

[ ] Windows
[ ] Mac OS X
[x] Linux
[ ] Mobile

Libraries

jQuery version: 1.12
Select2 version: 4.0.3

Isolating the problem

[ ] This bug happens on the examples page
[ ] The bug happens consistently across all tested browsers
[ ] This bug happens when using Select2 without other pluigns
[ ] I can reproduce this bug in a jsbin

This appears to be a duplicate of #3106.


Leeds PHR Theming

Tasks for LeedsPHR:

Restyling the site
Patient Summary
Footer
Header
Add new block "Vaccination" to Patient Summary
Change logic of displaying Patient Summary (Home) blocks:

Full View
Only Preview
Only List

Push the changes to http://<IP_ADDRESS>/#/

thanks Anna
Can you push LeedsPHR theming related changes to this repo for now please?
https://github.com/LeedsCC/PulseTile-React
We then need to work out which we keep in the main https://github.com/PulseTile/PulseTile-React repo

@tony-shannon
Sure, Tony. Alexey will push the code today or tomorrow.

thanks Anna
T
On 21 December 2017 at 15:42, Anna Otrokhova<EMAIL_ADDRESS>wrote:

@tony-shannon https://github.com/tony-shannon
Sure, Tony. Alexey will push the code today or tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PulseTile/PulseTile-React/issues/81#issuecomment-353382751,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5X3OTRCfCLLFlwwW7Mn6pK327tBIYWks5tCnxTgaJpZM4RJtIO
.

@tony-shannon
Unfortunately, Alexey doesn't have permissions to push the code to that repo. Could you check it, please?  (Here is his account https://github.com/ahoncharov )

Done , he has access

@anna-otrokhova
Can I get an update on the LeedsPHR code & where it sits.. some in this repo and some in the LeedsCC repo?

All of the new functionality pieces have been committed to the main repo. We extended existing components to make them more flexible and added new headings for the pages that were introduced. Configuration file (themes.configs.js) determines the difference between Main React and LeedsPHR versions. This way maintenance and fine tuning of these two instances is exceedingly simplified as when any new feature or fix is committed to Main React repository it can easily become available for LeedsPHR instance.
We merged PulseTile-React version develop branch into LeedsPHR develop branch, so now they are equivalent. The difference lies only in LeedsPHR master branch, that contains its own configuration options that are specific for LeedsPHR theme. This way we can easily update the LeedsPHR version with latest Main React changes while configuration file of the LeedsPHR will always be on top of the new amends set.

@tony-shannon we merged the commit history inside the LeedsPHR fork. Now, if you go to "compare" section https://github.com/PulseTile/PulseTile-React/compare/master...LeedsCC:master, you can see that LeedsCC is only two commits ahead of the PulseTile-React repository. These commits contain changes to the readme and configuration files.

I think this issue can be closed as we have changed course and moved towards core repo + plugins (inc themes) + generators


reflect: make Value uncomparable

Comparing two Value type does not do what the user expects. The type is documented as such:

Using == on two Values does not compare the underlying values they represent, but rather the contents of the Value structs. To compare two Values, compare the results of the Interface method.

However, it is still common to see users accidentally make this mistake. What's worse is that it "seems to work", giving a false sense of security.
s1, s2 := "hello", "goodbye"

v1a := reflect.ValueOf(&s1)
v1b := reflect.ValueOf(&s1)
v2 := reflect.ValueOf(&s2)

fmt.Println(v1a == v1a) // Prints true
fmt.Println(v1a == v1b) // Prints true
fmt.Println(v1a == v2) // Prints false

This is because the Value struct contains a flag field whose value may be different for each Value and is entirely an implementation detail of the reflect package.
Perhaps we should add a uncomparable type to prevent this misuse:
type Value struct {
	_ [0]func() // Prevents Value from being comparable and occupies 0 bytes
	typ *rtype
	ptr unsafe.Pointer
	flag
}

\cc @ianlancetaylor

Adding [0]func() is a clever idea, but unfortunately it breaks the Go 1 guarantee.  We can't actually modify reflect.Value so that == does not work, as that will cause currently working programs to stop compiling.

What @ianlancetaylor said. It would break things like collecting a set of reflect.Values in a map.

It would break things like collecting a set of reflect.Values in a map.

Is that so bad?  That was exactly what someone tried doing the other day and it "seemed to work".
However, I do agree that we probably can't do this in Go 1.

A map is fine in some cases. (e.g. using it as a set of things to process, and ranging over it to get the reflect.Values back)
Maybe worth a static analysis checker?

In the subset of the Go corpus v0.01 that actually compiles, there are 33 instances of using == or != with two reflect.Value.
Of these, 12 compare against the zero value reflect.Value{}, as it is returned by, for example, MethodByName. 12 compare a reflect.Value against the result of reflect.Zero. The remaining 9 compare two generic reflect.Values.
Of the 21 incorrect comparisons, 5 compare reflect.Values derived from function values, which would not be comparable if converted to interface values first.
I've attached the list of matches. [fn] denotes a comparison of functions, [zero] denotes a comparison with the zero value, [zv] denotes a comparison with a value produced by reflect.Zero, and the rest are normal, though sometimes oddly written, comparisons.
[fn] github.com/Masterminds/glide/vendor/github.com/Masterminds/semver/constraints_test.go:47:9: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/cyfdecyf/cow/config.go:320:12: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/cyfdecyf/cow/config.go:348:12: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/cyfdecyf/cow/config.go:629:13: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/docker/docker/vendor/github.com/imdario/mergo/map.go:70:18: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/docker/machine/vendor/github.com/Azure/go-autorest/autorest/validation/validation.go:313:7: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/docker/machine/vendor/github.com/Azure/go-autorest/autorest/validation/validation.go:333:7: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/drone/drone/vendor/gopkg.in/gorp.v1/gorp.go:1763:7: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/type_go_slice.go:71:78: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/type_go_struct.go:41:70: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/ethereum/go-ethereum/vendor/github.com/robertkrimen/otto/type_go_struct.go:45:55: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[fn] github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra/cobra_test.go:949:31: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/go-xorm/xorm/statement.go:418:19: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/go-xorm/xorm/statement.go:655:18: To compare two reflect.Values, compare the results of the Interface method (SA0000)
github.com/google/cadvisor/vendor/github.com/stretchr/testify/assert/assertions.go:41:19: To compare two reflect.Values, compare the results of the Interface method (SA0000)
github.com/google/cadvisor/vendor/github.com/stretchr/testify/assert/assertions.go:46:77: To compare two reflect.Values, compare the results of the Interface method (SA0000)
github.com/iris-contrib/formBinder/formBinder.go:40:14: To compare two reflect.Values, compare the results of the Interface method (SA0000)
github.com/iris-contrib/formBinder/formBinder.go:570:33: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/kataras/go-serializer/vendor/github.com/imdario/mergo/map.go:70:18: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/kataras/go-websocket/vendor/github.com/imdario/mergo/map.go:70:18: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/mitchellh/packer/vendor/github.com/gophercloud/gophercloud/params.go:61:46: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/mitchellh/packer/vendor/github.com/gophercloud/gophercloud/params.go:83:46: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/openshift/origin/vendor/github.com/Azure/go-autorest/autorest/validation/validation.go:313:7: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/openshift/origin/vendor/github.com/Azure/go-autorest/autorest/validation/validation.go:333:7: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] github.com/openshift/origin/vendor/github.com/imdario/mergo/map.go:70:18: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/prometheus/prometheus/vendor/github.com/Azure/go-autorest/autorest/validation/validation.go:313:7: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] github.com/prometheus/prometheus/vendor/github.com/Azure/go-autorest/autorest/validation/validation.go:333:7: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[fn] github.com/sosedoff/pgweb/vendor/github.com/jmoiron/sqlx/sqlx.go:37:23: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[fn] github.com/spf13/cobra/cobra_test.go:1135:31: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[fn] github.com/tj/cobra/cobra_test.go:1136:31: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zero] k8s.io/heapster/vendor/github.com/imdario/mergo/map.go:70:18: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] k8s.io/heapster/vendor/github.com/rikatz/goryman/marshal.go:30:29: To compare two reflect.Values, compare the results of the Interface method (SA0000)
[zv] k8s.io/heapster/vendor/github.com/rikatz/goryman/marshal.go:93:29: To compare two reflect.Values, compare the results of the Interface method (SA0000)


How do I actually run it?

Because idris2-dom is missing IndexedDB support, I thought I'd just plop in the WebIDL files from e.g. https://searchfox.org/mozilla-central/source/dom/webidl and it should Just Work (tm), but alas, I can't even figure out how to run it. It seems to look for an .idr output file in some directory somewhere (that I can kind-of override mostly with the -o flag, if only I pass the -o flag before the input file name?!), but I thought the whole point is to create the .idr file.

Also, one of the outputs seems to be the Web.Internal.Types module, but that module is already part of idris2-dom so I will have a bad time if my IndexedDB FFI package also has that module. Or is the idea that it would have to be included with idris2-dom, together with all other W3C specs past, present and future?

OK I kind of figured out how it works: basically, it needs $OUT/Web/Raw and $OUT/Web/Internal directories to already exist (if run with -o $OUT), but otherwise doesn't seem to do any readback.
Which turns out to be a problem on its own, because it means I can't re-run it on idris2-dom, without knowing the exact set of input files. Otherwise, it removes all the existing definitions from Web.Interlal.Types.

Yeah sorry, running this is very basic, but it didn't bother me so far... Here's how to run this after building it with make lib:
$ build/exec/generateDomBindings -o outdir idl/*.webidl

where outdir is the source dir of the idris2-dom project (for instance: ../idris2-dom/src). And yes, I need to make this more accessible, possibly by adding a proper make target which automatically generates the necessary directories in outdir.
Please note also that it makes no sense to run this with a single .webidl file, since many interfaces are spread across several files.

And yes, the Web.Internal.Types is hardcoded so far. Another thing that needs changing, if this should be used by other projects than idris2-dom.

Yeah sorry, running this is very basic, but it didn't bother me so far... Here's how to run this after building it with make lib:
$ build/exec/generateDomBindings -o outdir idl/*.webidl

Ah, I missed that /idl directory in idris2-webidl because I was looking for it in idris2-dom (since in my mind, idris2-webidl was a generic tool and idris2-dom was just one use of it, with its own set of IDLs to compile). So in that case, I should be able to re-create the whole of idris2-dom with the addition of the IndexedDB interfaces. Let me try just that.


Added Secure Code Review Methodologies Documentation

I have added the secure code review methodologies documentation in secure code research in cybersecurity.

I have moved the file to cybersecurity/secure-coding folder


Add Algorithms for Q-Sharp & Update Readme

[ ] Grover's Search
[ ] Bernstein- Vazirani
[ ] Shor's Algorithm
[ ] Deutsch-Jozsa Algorithm
[ ] QKD(Quantum Key Distribution)
[ ] Quantum Teleportation

just Q#?

@ricardoprins This issue is for Q-Sharp only. We have issues that deal with implementation of algorithms with other frameworks too.

Alright, I might be able to work on these on Wednesday.

@JillisaJeffery yes, you can take up Shor's and Bernstein-Vazirani Algorithms


Initialize workspace manager with state of the world

Proto files depend on others and the existence of files impact things like completion, errors etc. Therefore, we need to initialize our workspace manager with the current state of the world so our workspace has knowledge of every proto file, even if it's not open.

https://github.com/protobuflab/protobuf-langserver/commit/a64fbb2eee89962f4c4582181a526dbbc3e279e0


Add option to set timeout for file downloading?

It seems that the downloading timeout is hardcoded 10 seconds, it would be mouch more convenient if we can set the time from the command line options ：）

I am having the issue when running this behind our proxy server. it starts downloading packages and then a get a timeout


Fix issue 542.

Fix #542:Update the Chinese documentation with the changelog for 2.3.12 and the new GridItem preserveAspectRatio prop.

thanks!

thanks!


Formula request: Thesaurus

http://nisus.com/Thesaurus/download.php
Thank you!

For what it's worth, you can also find it on the Mac App Store: https://itunes.apple.com/us/app/nisus-thesaurus/id471448642?mt=12

Closed in #12789.

Thank you @scribblemaniac @jawshooah :+1:

No problem, thanks for submitting the suggestion :+1:


where in(subquery() ) very slow than in(1, 2, ..., n) identical list

good speed
SELECT uid FROM short WHERE uid IN(306, 152, 232, 137, 298, 203, 480, 225, 110, 325, 152, 204, 215, 117, 351, 114, 342, 155, 199, 293);

20 rows in set.  Elapsed: 0.515 sec. Processed 159.49 million rows, 1.65 GB (309.45 million rows/s., 3.20 GB/s.)

but subquery much faster
SELECT uid FROM count WHERE uid IN(SELECT uid2 FROM tbl WHERE uid = 168) ORDER BY count DESC LIMIT 20;

20 rows in set. Elapsed: 0.224 sec. Processed 46.88 million rows, 750.00 MB (209.38 million rows/s., 3.35 GB/s.)

The second query is slow because MergeTree index is currently not used for conditions of the form key_column IN (<subquery>). Another issue with the same problem: #687


Is there any implementation of flow-php-server in slim framework?

Hello,
I'm trying to implement flow-php-server in Slim framework, but it is not working.
Here is my code:
$app->any('/upload', function(Request $req, Response $resp, $args){

  try {

    $response = [
      'type' => 'error',
      'message' =>'no data'
    ];

    $request = new \Flow\Request();

    $dest = 'files/' . $request->getParam('path');
    $chunks_temp_folder = $request->getParam('chunks_temp_folder') ?: './chunks_temp_folder';

    if (!is_dir($chunks_temp_folder) || !is_writable($chunks_temp_folder)) {
      throw new Exception("Chunks directory {$chunks_temp_folder} does not exists or is not writeable");
    }

    $config = new \Flow\Config(['tempDir' => $chunks_temp_folder ]);

    if (!is_dir($dest) || !is_writable($dest)) {
      throw new Exception("Destination directory {$dest} does not exists or is not writeable");
    }

    $dest .= DIRECTORY_SEPARATOR . $request->getFileName();

    if (\Flow\Basic::save($dest, $config, $request)) {

      $file = $request->getFile();

      $response = [
        "type" => "success",
        "name" => $file['name'],
        "filetype" => $file['type'],
        "error" => $file['error'],
        "size" => $file['size'],
        "readablesize" => self::human_filesize(filesize($dest), 2),
        "fullpath" => $dest
      ];
    } else {
      throw new Exception("\Flow\Basic::save failed");
    }

  } catch (Exception $e) {
    $response['type'] = 'error';
    $response['message'] = $e->getMessage();
  }

  echo json_encode($response);
  return;
});

The "\Flow\Basic::save failed" exception is being thrown. Anyone has been successful in doing this?

It is allright to receive failed message. File is sent in chunks. If file contains more than one chunk, \Flow\Basic::save returns false. You should not throw an Exception there. You should return 400 status instead

Look at this example https://github.com/flowjs/flow-php-server#advanced-usage

Thank you very much, it did work.
I'm pasting below my working example with Slim framework, it might be useful to others:
<?php

$app->any('/upload', function(Request $request, Response $response){

  try {

    $message = [
      'type' => 'error',
      'message' =>'no data'
    ];

    $req = new \Flow\Request();

    $dest = $req->getParam('path');
    $chunks_temp_folder = $req->getParam('chunks_temp_folder') ?: './chunks_temp_folder';

    if (!is_dir($chunks_temp_folder) || !is_writable($chunks_temp_folder)) {
      throw new Exception("Chunks directory {$chunks_temp_folder} does not exists or is not writeable");
    }

    $config = new \Flow\Config(['tempDir' => $chunks_temp_folder ]);

    if (!is_dir($dest) || !is_writable($dest)) {
      throw new Exception("Destination directory {$dest} does not exists or is not writeable");
    }

    $dest .= DIRECTORY_SEPARATOR . $req->getFileName();

    if (\Flow\Basic::save($dest, $config, $req)) {

      $file = $req->getFile();

      $message = [
        "type" => "success",
        "name" => $file['name'],
        "filetype" => $file['type'],
        "error" => $file['error'],
        "size" => $file['size'],
        "fullpath" => $dest
      ];
    } else {
      return $response->withStatus(400);
    }

  } catch (Exception $e) {
    $message['type'] = 'error';
    $message['message'] = $e->getMessage();
  }

  return $response->withJson($message, 200);
});

Hello,
I'm still having some issues with files bigger than 1 chunk.
Here is the Firebug log for two tests: a small file and a bigger one. The small file is correctly uploaded, the bigger one is being uploaded in chunks, but the chunks are not being merged in one file and then saved:
Small file:
GET http://localhost/test/upload?path=&chunks_temp_folder=.%2Ftmp&flowChunkNumber=1&flowChunkSize=1048576&flowCurrentChunkSize=41984&flowTotalSize=41984&flowIdentifier=41984-autorizzmissione_0doc&flowFilename=small_file.jpg&flowRelativePath=small_file.jpg&flowTotalChunks=1 400 (Bad Request)

XHR failed loading: GET "http://localhost/test/upload?path=&chunks_temp_folder=.%2Ftmp&flowChunkNumber=1&flowChunkSize=1048576&flowCurrentChunkSize=41984&flowTotalSize=41984&flowIdentifier=41984-autorizzmissione_0doc&flowFilename=small_file.jpg&flowRelativePath=small_file.jpg&flowTotalChunks=1".

XHR finished loading: POST "http://localhost/test/upload".

Big file:
GET http://localhost/test/upload?path=&chunks_temp_folder=.%2Ftmp&flowChunkNumber=3&flowChunkSize=1048576&flowCurrentChunkSize=1048576&flowTotalSize=17111530&flowIdentifier=17111530-Burchfieldpdf&flowFilename=big_file.jpg&flowRelativePath=big_file.jpg&flowTotalChunks=16 400 (Bad Request)

XHR failed loading: GET "http://localhost/test/upload?path=&chunks_temp_folder=.%2Ftmp&flowChunkNumber=3&flowChunkSize=1048576&flowCurrentChunkSize=1048576&flowTotalSize=17111530&flowIdentifier=17111530-Burchfieldpdf&flowFilename=big_file.jpg&flowRelativePath=big_file.jpg&flowTotalChunks=16".

GET http://localhost/test/upload?path=&chunks_temp_folder=.%2Ftmp&flowChunkNumber=2&flowChunkSize=1048576&flowCurrentChunkSize=1048576&flowTotalSize=17111530&flowIdentifier=17111530-Burchfieldpdf&flowFilename=big_file.jpg&flowRelativePath=big_file.jpg&flowTotalChunks=16 400 (Bad Request)

XHR failed loading: GET "http://localhost/test/upload?path=&chunks_temp_folder=.%2Ftmp&flowChunkNumber=2&flowChunkSize=1048576&flowCurrentChunkSize=1048576&flowTotalSize=17111530&flowIdentifier=17111530-Burchfieldpdf&flowFilename=big_file.jpg&flowRelativePath=big_file.jpg&flowTotalChunks=16".

GET http://localhost/test/upload?path=&chunks_temp_folder=.%2Ftmp&flowChunkNumber=1&flowChunkSize=1048576&flowCurrentChunkSize=1048576&flowTotalSize=17111530&flowIdentifier=17111530-Burchfieldpdf&flowFilename=big_file.jpg&flowRelativePath=big_file.jpg&flowTotalChunks=16 400 (Bad Request)

XHR failed loading: GET "http://localhost/test/upload?path=&chunks_temp_folder=.%2Ftmp&flowChunkNumber=1&flowChunkSize=1048576&flowCurrentChunkSize=1048576&flowTotalSize=17111530&flowIdentifier=17111530-Burchfieldpdf&flowFilename=big_file.jpg&flowRelativePath=big_file.jpg&flowTotalChunks=16".

POST http://localhost/test/upload 400 (Bad Request)

XHR failed loading: POST "http://localhost/test/upload".

XHR failed loading: POST "http://localhost/test/upload".

Thank you