Caching swagger resulting docs

Hi, very nice solution.
But we have one problem, we cannot find any way to caching resulting swagger docs  used in swagger ui. For our project ui generation takes more that 10 seconds  and not confortable for usage.
Nice solution for me it will be posibility to override ISwaggerProvider in configuration step, but currently it no possible, or maybe you have another most better suggestion.
Thanks.

Available in v5.2.2 via "CustomProvider" config option

Thank you very much!
Finally we can get rid of private Swashbuckle nuget package that contains improvement.

Awesome, thank you @domaindrivendev !


Build(deps-dev): Bump eslint from 8.27.0 to 8.29.0 (#4434)

Pull request opened by the merge tool on behalf of #4434

Merged in f5417007cc94b68451e004336698cd4bf5b81d18


Explorer of BCD testnet URL and BCD testnet Faucet URL ??

hello i can't find any BCD testnet explorer links and how can i get BCD testnet coin from faucets.

No testnet explorer. Faucet


Support password-protected IRC servers

Scope would just be taking an additional config, and updating irc.create_user.

Implemented by 34abc47


How to set utf8 on windows?

Steps to reproduce
cat << EOF > build.sbt
name := "sbt-demo"

scalaVersion := "2.12.6"

EOF
mkdir -p project
cat << EOF > project/build.properties
sbt.version=1.2.0
EOF
mkdir -p src/main/scala
cat << EOF > src/main/scala/Testing.scala

object Testing extends App {
  println(System.getProperty("file.encoding"))
  println("ÖÄÜöäüß")
}
EOF

check file content
$ file src/main/scala/Testing.scala
src/main/scala/Testing.scala: UTF-8 Unicode text

and then
$ sbt run
[info] Loading project definition from ..
[info] Loading settings for project sbtwinenc-demo from build.sbt ...
[info] Set current project to sbt-demo (in build file:/.../)
[info] Running Testing
Cp1252
Í─▄÷õ³▀
[success] Total time: 1 s, completed 15.08.2018 17:47:50

The expected characters are not printed

@ThStock Thanks for the report.
I think you have to set JAVA_OPTS environment variable to -Dfile.encoding=UTF-8

@eed3si9n do you mean javaOptions += "-Dfile.encoding=UTF-8"? I tried this in my build.sbt with no effect. I'm looking for a commitable solution like mavens or gradles
<properties>
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

compileJava.options.encoding = "UTF-8"

I mean JAVA_OPTS in the system environment variable. You could also try putting that in sbtconfig.txt.

I've also opened https://github.com/sbt/sbt-launcher-package/issues/236

I've changed
object Testing extends App {
  println(System.getProperty("file.encoding"))
  println(System.getenv("JAVA_OPTS"))
  println("ÖÄÜöäüß")
}

and run
$ file src/main/scala/Testing.scala
src/main/scala/Testing.scala: UTF-8 Unicode text
$ JAVA_OPTS=-Dfile.encoding=UTF-8 sbt run
[info] Loading project definition from C:\Users\...\project
[info] Loading settings for project sbtwinenc-demo from build.sbt ...
[info] Set current project to sbt-demo (in build file:/C:/Users/.../sbtwinenc-demo/)
[info] Compiling 1 Scala source to C:\Users\...\target\scala-2.12\classes ...
[info] Done compiling.
[info] Packaging C:\Users\...\target\scala-2.12\sbt-demo_2.12-0.1.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Running Testing
Cp1252
-Dfile.encoding=UTF-8
Í─▄÷õ³▀
[success] Total time: 4 s, completed 16.08.2018 11:21:13

See https://superuser.com/questions/79612/setting-and-getting-windows-environment-variables-from-the-command-prompt

Overall I don't think it's a bug of sbt, so I am going to close this.

@eed3si9n I think it is a sbt problem, because I cannot set the encoding and I have to change system environment variables.
In my last comment I exported the environment variable correct
sbt requires JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 and not JAVA_OPTS to change the encoding.

ok. Maybe it requires further investigation.

@ThStock @eed3si9n If you are running from windows cmd, you also need to run chcp 65001 before running sbt to get the characters to display correctly. Otherwise, the system encoding will report correctly but the characters in your cmd will be printed as cp1252. This could be fixed in the sbt bat script by detecting if the encoding java opt contains utf8, then running the command to change code pages.

C:\Users\Eric Peters\IdeaProjects\test>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8

C:\Users\Eric Peters\IdeaProjects\test>chcp 65001
Active code page: 65001

C:\Users\Eric Peters\IdeaProjects\test>sbt run

...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[info] Loading settings for project global-plugins from idea.sbt,metals.sbt ...
[info] Loading global plugins from C:\Users\Eric Peters\.sbt\1.0\plugins
[info] Loading project definition from C:\Users\Eric Peters\IdeaProjects\test\project
[info] Loading settings for project test from build.sbt ...
[info] Set current project to sbt-demo (in build file:/C:/Users/Eric%20Peters/IdeaProjects/test/)
[info] running Testing
UTF-8
ÖÄÜöäüß
[success] Total time: 1 s, completed Oct 18, 2019, 7:32:05 PM

It looks like both the JAVA_TOOL_OPTIONS and chcp 65001 are required.

@eed3si9n Do you think we can set this as default for windows?

@ThStock my vote would be yes, a PR with tests would be welcome!  I didn't look into howto capture the "current codepage" so we could reset it back to the previous default after the sbt script is ran (or investigate if doing the change of the codepage actually changes the entire terminal session after sbt is ran)  I think that would be my only concern.

I should note that there might be a JLine issue that we might run into if we changed the default encoding on Windows - https://github.com/sbt/sbt/issues/871
For Bash sbt script I've changed the default to UTF-8 in https://github.com/sbt/sbt-launcher-package/pull/257/commits/3f9e91aa4f865a5faa2db5390de21cc3e696c4ab, so in principle I am for defaulting to UTF-8 on Windows as well for consistency.
Since JAVA_TOOL_OPTIONS has the annoying "Picked up JAVA_TOOL_OPTIONS" and since it may have wider implication, I don't think we should use that in sbt.bat. Instead it should follow what we did with Bash sbt script and set the fallback JAVA_OPTS to -Dfile.encoding=UTF-8 but allow users to customize it if that's not what the user wants.

Another interesting tidbit is this blog post Please stop hack "chcp 65001". The author claims that changing the code page messes up his font setting on the terminal, especially for an East Asian locale. His suggested workaround (e.g. https://github.com/curl/curl/pull/3212) is to use Wide String APIs, but doing so on Windows would not be pretty - https://stackoverflow.com/a/8921509/3827

For the record, here's how it looks on Windows 7 using the latest sbt 1.3.3:

By default the file encoding is set to UTF-8.

C:\Users\Eric Peters\IdeaProjects\test>set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8

C:\Users\Eric Peters\IdeaProjects\test>chcp 65001
Active code page: 65001

C:\Users\Eric Peters\IdeaProjects\test>sbt run

...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[info] Loading settings for project global-plugins from idea.sbt,metals.sbt ...
[info] Loading global plugins from C:\Users\Eric Peters\.sbt\1.0\plugins
[info] Loading project definition from C:\Users\Eric Peters\IdeaProjects\test\project
[info] Loading settings for project test from build.sbt ...
[info] Set current project to sbt-demo (in build file:/C:/Users/Eric%20Peters/IdeaProjects/test/)
[info] running Testing
UTF-8
ÖÄÜöäüß
[success] Total time: 1 s, completed Oct 18, 2019, 7:32:05 PM

It looks like both the JAVA_TOOL_OPTIONS and chcp 65001 are required.

This methods is available for me.

This works for me in cmd, but in PowerShell I see the same exact mojibake regardless of chcp and JAVA_TOOL_OPTIONS. Specifically, the mojibake looks as if UTF-8 got reinterpreted as CP866, my OEM code page. Other programs such as psql are able to output UTF-8 with chcp 65001 in the same PowerShell, so this seems like an SBT-specific issue.

Correction: I encountered the same issue in another program (pip), searched some more and found this, which resolves Unicode output issues for SBT as well:
$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding

Note if you use JDK >= 19 then instead of JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 you should set JAVA_TOOL_OPTIONS=-Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8 (also dont forget chcp 65001).
That's because:

file.encoding is UTF-8 by default in JDK >= 18
JDK >= 19 introduced new properties stdout.encoding and stderr.encoding with platform-dependent values by default, so you want to set it to UTF-8.


Release

Is there a release already? I can't install it with npm

Not yet, there's still some work to do

May I help?

Sure! The getManyReferences is not implemented yet. After that, I want to see if we can provide an authProvider and maybe some UI components for auth.

+1

See https://github.com/marmelab/ra-supabase/pull/2


Directory Models and Forms.

I'm somewhat confused, as I understood the models would be in forms such as LoginForm and ContacForm, because not to put the model User in the forms directory, or simply move all models to models, it would be important to have it clearly defined.

form models are in forms, other models are in models

If they're "form models" shouldn't we put them into models/forms?

We can, yes. It's up to personal taste.


Feature/enhanced text mode

Adds improved text options for draw mode labels.

Huge improvement to the text draw mode! Great work!


Documentation is confusing

I apologize if I am being a bit crass here, but I am thoroughly confused by the text "required optional components."
What does this mean? Are the components required? Are they optional? What are the components?
This text is found in the "Install WSL Command" section, right after the "wsl --install" code snippet. Again, I have no idea what this means, but I assume it may refer to the "Manual installation steps for older versions of WSL". Specifically, steps 1 and 3 that enable WSL and the Virtual Machine Platform, respectively. However, on that page it clearly states that steps 1 and 3 ARE required, using the language, "you must," which is quite clear.
If my assumption is correct, then it begs another question: why aren't these required steps on this top-level page???
Again, I apologize for being somewhat crass, but myself and a few others with whom I work have been struggling to install WSL on a Windows 10 laptop (that meets the prerequisites, according to this page) and I believe this is the source of our frustration. My coworker has hit the BSOD 3 times while trying to install WSL. He had to get the IT department involved, and it was only after the third BSOD they realized they needed to enable a few options for WSL to work properly.
I would greatly appreciate any clarity that can be provided.

I am thoroughly confused by the text "required optional components."

Run optionalfeatures.exe, it will show the optional features. This may explain in details what optional features are https://www.howtogeek.com/250228/what-windows-10s-optional-features-do-and-how-to-turn-them-on-or-off/.
tl;dr The wsl --install command enables those "required optional components" automatically so that users don't have to enable them manually.

First, just a heads-up that there's a separate Github repo for Doc issues.
I'm assuming that you are referring to the oxymoron "required optional", right?

wsl --install
This command will enable the required optional component

Yes, it's confusing, and an oxymoron.  Put differently, they are "optional" features in Windows, but required for WSL.  It might be more clear if it was worded:

This command will enable the Windows Features which are necessary for WSL.

And yes, as you mention, this means the features:

Windows Subsystem for Linux
Virtual Machine Platform

[W]hy aren't these required steps on this top-level page?

Because wsl --install does it for you, there's really no need to cover it separately unless you are doing the "Manual Installation."

I believe this is the source of our frustration. My coworker has hit the BSOD 3 times while trying to install WSL.

It seems unlikely, since wsl --install (as an Administrator, at least) should enable these for you, assuming that the user has Administrative access.  If not, then yes, you would need to drop back (as it sounds like the IT folks did) to the Manual Installation, and enable those features separately.

Thanks for the feedback. @craigloewen-msft - we should update this, or if somebody in this thread would like to take a stab, we do accept PR's.

Created an issue on the Docs repo for this: https://github.com/MicrosoftDocs/WSL/issues/1576 and a PR to address this, welcome to have any comments.
https://github.com/MicrosoftDocs/WSL/pull/1577

@craigloewen-msft  Thanks Craig - Beat me to it!


Update cachix actions

Hopefully this starts to unbreak the build with Nix 2.4

Makes it less broken at least.


Downloading onboarding package process is different

I tried following to download the onboarding package, but I think they may be outdated.
In Microsoft 365 Defender portal, go to Settings > Endpoints > Device management > Onboarding
When I go to settings in the Defender Portal I get the following:

I do not see Endpoint mentioned anywhere in the page.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cd66a255-36e5-29dc-7610-d50ef8bca3f3
Version Independent ID: 17375473-bc07-f8e5-a85f-d732bbba3d71
Content: Intune-based deployment for Microsoft Defender for Endpoint on Mac
Content Source: microsoft-365/security/defender-endpoint/mac-install-with-intune.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@Rykimaruh Thank you for your feedback. I was able to see the endpoints section in Settings.

If this continues to be a problem, I'd recommend you contact Microsoft support via the need help link in the admin center.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @Rykimaruh Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Post-close event to manage focus

Hello friends 👋
I am working in a system that uses websockets to process live updates and replace chunks of the DOM. In order for this live update to be successful, the element being replaced cannot have any interactions.
Because details-dialog is managing focus after it is closed, I get stuck in this workflow with an activeElement:

Click "Close" button
details-dialog opens and user confirms the behavior is desired by clicking another "Close" button
Form is submitted
details-dialog closes
Live update fails to replace the "Close" button from step 1 fails because details-dialog has called focus() on that button

Normally I would call blur() here, but we are removing blur() from the code base where possible to improve accessibility.
🌮 ty for your help!!

I believe we can now address this issue in live update. See https://github.com/github/github/pull/127656 (and might have already been fixed in https://github.com/github/github/commit/17ff11e6351899fb0832d32bfc475eeaab7de445).


Change "Blink" to "Buzz" for buzzers.

While not critical when writing my tutorial for TrafficHAT Involving buzzing the buzzer it felt a bit weird explaining to blink the buzzer. Where as being able to buzz the buzzer seems much more friendly.

I agree. We've discussed this before. I just don't think buzz is the right word to use (I would assume buzz would turn the buzzer on), and I can't think of a better one.

Hmm, just pondering this and I wonder if this is a solution:
pulse is a pretty generic term that can be applied to just about any device. The only issue with it is that in the case of LEDs, people may expect it to do something similar to the pulse method of the Explorer HAT (which "smoothly" blinks the LEDs via PWM). So...
Given how generic the term pulse is, we stick it in as a method on the base OutputDevice class with usual two on_time, off_time parameters. This is then inherited by LED and we can simply alias it as blink (partly to maintain compatibility and partly because it's a nice obvious alias and we're using those in other places, so why not). We could also alias it to buzz in Buzzer if we wanted (BTW, has anyone tried PWM with a buzzer yet?) or maybe siren?
In PWMOutputDevice, we can then extend the prototype of pulse to include two additional parameters: fade_in_time, fade_out_time (maybe those aren't the best names ... erm ... attack_time, decay_time? Or maybe ramp_on_time, ramp_off_time? Well whatever, you get the idea). These default to 0.0 (so the method does the same as its ancestor by default) and can be called like its ancestor or can be called to do the nice "smooth" blinking in descendents like PWMLED (as in #58).
Thoughts?

With PWM on a buzzer I don't find much of a use for it as it just makes it sound even more horrible. Instead a frequency change may work to change the sound made which then it would have a use?
Weather buzz is the correct word or not I don't know.
Siren may be good for a fading up and down version of Pulse for LED.

Actions:

Let's play around with PWM and try to find a use for it with the buzzer
Let's try to think of a good word to use as an alias for blink that suits the behaviour when used with a buzzer

We might just have to go for a word like "beep"

Beep sounds cool to me. Beep beep
Thanks -
Ryan Walmsley
Ryanteck LTD.
Email<EMAIL_ADDRESS>Skype: Ryanteck
Website: Http://ryanteck.org.uk Http://ryanteck.org.uk
On 12 November 2015 at 09:43, Ben Nuttall<EMAIL_ADDRESS>wrote:

We might just have to go for a word like "beep"
—
Reply to this email directly or view it on GitHub
https://github.com/RPi-Distro/python-gpiozero/issues/75#issuecomment-156050538
.

beep sounds good to me; I'll get on it tomorrow

Had a play with PWM while doing this; it sort of changes the volume at low values, but the results are pretty horrid. I wouldn't feel bad just leaving it out for now.

Interestingly, the guys developing the Python API for the BBC micro:bit have created a very cool music API which works when attaching a basic speaker or even the buzzer (like the camjam kit one). I asked how it worked and they said it's just calculated frequencies and duty cycles using PWM. I haven't looked at the code yet but I'd definitely like to see if we can borrow the idea from them. Not now - it can come after the release!

I could well believe that works with a completely reliably timed PWM implementation, but I'm not sure the software based one in RPi.GPIO is up to that (RPIO's DMA one probably is). My main reason for scepticism is that PWM with an LED occasionally produces "bright flashes" which I suspect is where the PWM thread gets interrupted by the OS to run something else, so its timing is disrupted. With sound that would produce audible "blips". Still, it's a fascinating idea and we should certainly explore it!


Tuples

Renaming to simply "tuples" because the current implementation support only named tuples. Unnamed tuples might be added in the future.


Refactor: move dask utils from misc.py to new dask.py

Description
Move 4 dask cache related functions from misc.py to new dask.py.
Type of change

[x] Refactor

How has this been tested?

[x] ran by hand
[x] ran existing tests

Final checklist:

[x] My PR is the minimum possible work for the desired functionality

Renamed to dask_utils.py and took @tlambert03's changes.


Client and server share too much code

Currently, client code re-uses the following types that are used by the server-side:

service.Catalog
api.ProvisioningRequest
api.BindingRequest
api.BindingResponse
api.UpdatingRequest

And the following exported constant:

api.OperationDeprovisioning

Purely on philosophical grounds, I do not like this. (Admittedly, it's my own doing.) I would prefer that client code share nothing with server-side code. The reasoning is that eventually, we will wish to replace our client library with an existing one (such as pmorie/go-open-service-broker-client, for instance) or, alternatively, extract our client code into its own project/library. In either of those cases, the effort will be reduced by ensuring client-side and server-side code share nothing.

If a user wanted to interact directly with osba, could they use paul's osba client today?


Wait For Download always uses path() and is thus unusable for remote playwright

Describe the bug
The waitForDownload function in node/playwright-wrapper/network.ts always calls path(). This is a problem, because this method throws with a remote connection: https://playwright.dev/docs/api/class-download#download-path.
And sure enough, the following message appears in the log:
[FAIL] Error: Path is not available when connecting remotely. Use saveAs() to save a local copy.

I am using saveAs, but network.ts also calls path(), so that doesn't help.
To Reproduce
Easily reproducible when using browserstack, but any remote playwright session should have the same issue.
Expected behavior
I need to be able to control whether path() is called. I wrote a solution that calls either saveAs or path (https://github.com/wvanasten/robotframework-browser/tree/remote-download-save-as), but was unable to test the new behavior quickly. It is probably not the best quick solution, since it breaks the current behavior.  I'll continue to try to get that working though and see how that behaves.
Desktop (please complete the following information):

OS: linux
Browser: Chromium
Version: Various

@allcontributors please add @wvanasten  for bugs

Hello, I just put the changes from @wvanasten 's branch onto Browser Library main branch and ran the atests. There were a couple tests failing randomly (see attached screenshots), but nothing connected to files. I also ran some quick tests checking the saveAs functionality with LambdaTest remote and the file is saved in the given path on the machine where the tests are ran at least when it's provided with an absolute path (didn't test relative paths, just provided it with ${OUTPUTDIR}${/}${filename})
I can attach full logs if necessary (need to make sure no credentials are included), this was just a quick and dirty POC

I just transferred the changes from @wvanasten 's branch onto Browser Library main branch, ran the atests and none of the file related ones failed. There were a couple random fails, but nothing related to promises or file management (see screenshots below).
When given an absolute path, the file is saved where expected, only downside You have to specify Your own filename (but that can later be changed to ${file.suggestedFilename}, so no big issue there). Didn't try providing relative paths, so no idea how it would behave.
If needed, I can attach the log, but I would need to process it with rebot to remove credentials etc, this was just a quick and dirty POC

Done in #3049


57 add social auth

Description:
This pull request introduces a custom-built, multi-platform OAuth integration system that currently supports Google and Facebook. This integration is designed without relying on external OAuth libraries, ensuring full control over the authentication process and easier compliance with specific security policies.
Details:

BaseOAuthHandler Class: Central to our approach, this class in base_oauth_handler.py serves as the blueprint for handling OAuth interactions across any platform. It manages token extraction, user information retrieval, and user creation.

Provider-Specific Handlers: GoogleHandler and FacebookHandler, extending BaseOAuthHandler, are tailored to meet the specific API requirements of Google and Facebook respectively, including unique user info endpoints and response handling.

OAuth Factory Function: Located in oauth_factory.py, this function dynamically selects the appropriate handler based on the provider specified, enabling the system to adapt to various OAuth providers without hard-coding dependencies.
OAuthLoginView: This view leverages the OAuth factory to process authentication requests, providing a unified interface that can handle any supported provider transparently.

The system’s architecture allows for the addition of more providers (like Twitter, LinkedIn, etc.) by simply extending BaseOAuthHandler and registering the new handler in the factory function.

No external OAuth libraries are used, which avoids additional dependencies and simplifies compliance with data handling regulations. To create a scalable and easily extendable system that can incorporate additional OAuth providers as needed without extensive reconfiguration or additional dependencies.

Related Issue
#57
Screenshots (if applicable)
N/A

conflict, pytest, codeQL has been fixed.
it require to use built it replace function to pass here, but i used enhanced regex inside our custom logger class
it's a fake error

Given the time, I will complete this task myself. Thank you for your valuable contribution. It was a very good contribution


Does not work in rollup

Rollup has issues with the wasm-bindgen implementation, does not recognize methods / properties attached to wasm object.
Recommend recompiling using --target web;

Interesting! Yes, it seems that rollup doesn't support WASM ESM integration, which is required for the bundler target. There's maybe some progress happening there (https://github.com/rollup/rollup/issues/2099) but very slowly.
If you're keen, I'm open to PRs to support this, if you can find a way to do so that's still compatible with the node & webpack builds as well (if the current tests still pass, that should be enough). I'm not sure exactly how the various package.json fields should be set to support all three targets easily.
Super extra bonus points if you can add a separate test to cover rollup too, so we can make sure this works in future.

Now fixed by #13 in version v1.3.0.


last successfull got timestamp

i plan to use the plugin to collect logs from oracle database. since these logs are very sensitive incannot afford ang loose of data.
The situation is that as i understand currently this plugin stores only last run of the query but not actual timestamp of last data got. so when the logs appear after the run (due to delay of write to DB) then during next run the data will not be collected.
I suggest to have the option to select field (in timestamp format) and during each run the last value of this filed will be stored (instead of current time of last run or last run end) and during next run this value will be used as input,

@nitram4 Hi,nitram4!
I come across the same problem as you now,have you any idea to resolve this?

Hello,
i have similiar java tool which I use to get data from DB to csv. Since i work with application logs I somethimes suffer with the issue that some logs enter the DB little bit later and within the cycle of fetching data from DB to csv i might loose them. So I have updated the tool (im not programmer, so I let my programmers to do it) and now it works like this:

I have xml file with the last successfull timestamp of last line from the fetch (exact value from database field)
when the tools cycle starts it reads the xml file and use the timestamp as parameter for where clause (where date_field between  and sysdate
after fetching the data the tool reads the output and looks for the last line and particular field vale in timestamp format and saves it into xml file (here is expected to have order by clause at the end of sql query in order to have last timestamp in last line)
waiting for next cycle

I hope i wrote it understandable, and hope that somebody will add this feature into this plugin because after that it will be usefull also for logs (it is not now)


Video player bugs

On Android, when viewing a video there are a few polish issues

When clicking play, a stretched, white image with a play button is displayed while the video content loads. Maybe this could be a loading icon instead? Or at the very least black.
After playing a video, the only controls available are the scrub bar. A pause/play button, full screen icon would be helpful at the least. Next level would be the addition of a chromecast icon.

Closed in favor of #715


Fix 'openssl req' to be able to use provided keytypes

'openssl req' was still using old APIs that could only deal with
EVP_PKEY_ASN1_METHOD based EVP_PKEYs.  Now modified to use more
generic functions that can handle all forms of EVP_PKEY, this app
should be ready for the future.
Fixes #15388

I currently have this in draft, until I've worked through the tests

This is not in draft any more

The external tests CI failure could be relevant.

Can you confirm that the majority of these changes are not required for stated purpose?
i.e. all the pkey_type to is_a changes aren't required.
I assume all that is required is the small block of changes around EVP_PKEY_asn1_find usage?

Oh, I'm sorry @gotthardp, I complete forgot that one :-/
I do notice a difference, though, where this one is a bit more thorough in using EVP_PKEY_is_a() instead of doing string compares.

That's OK, @levitte, your PR is less intrusive, so probably better, but I believe it is missing some aspects that were included in my PR (see my preview comments here).

Yup, just gotta figure out what's up with gost...

Now all Cis are happy, including the external tests one

This pull request is ready to merge

Merged
f0fa37a4a7f43c68770ccb0b3ce286cfe6e3254a Fix 'openssl req' to be able to use provided keytypes


Cannot start arlocal

Hi, try to run arlocal but it doesn't start, it started to happen today:
PS D:\ar> npx arlocal
Need to install the following packages:
arlocal
Ok to proceed? (y)
npm WARN deprecated<EMAIL_ADDRESS>Switch to namespaced @noble/ed25519 for security and feature updates
npm WARN deprecated<EMAIL_ADDRESS>CircularJSON is in maintenance only, flatted is its successor.
PS D:\ar>
Please help, what could that be?
Best

Can you try it without using npx? If it's the same thing @michalko

npm install -g arlocal@latest
arlocal

Hey there 👋 are you using the latest version 1.1.18 when encountering this error message?

Hmm, so when i try to do "npm install -g arlocal@latest" i get error regarding not initialized python env variable:
"Error: Can't find Python executable "python", you can set the PYTHON env variable."
But 1.1.16 works fine, i will try to set python variable and it should work with newest version i guess.
Thank you very much!!

Confirming. It stops working for me just like 24h ago or so. and I have no idea why,  just quits without any errors.

Confirming. It stops working for me just like 24h ago or so. and I have no idea why, just quits without any errors.

Yeah, the issue happened after updating knex, seems knex needs to have python installed on the local machine.
for the moment, you can use<EMAIL_ADDRESS>Whilst we get that fixed
And you can try installing python too . Sorry for the inconvenience

Or you can run it using docker
docker run -p 1984:1984 textury/arlocal

Or you can run it using docker
docker run -p 1984:1984 textury/arlocal

Yes, exactly 💪. The docker image already have all the necessary dependencies.

Hey @michalko version 1.1.19 has been released with an downgrade of knex. It wont ask again to have python installed.
You can always use npx<EMAIL_ADDRESS>to test it out.

thanks, ill try


[ALLUXIO-2882] renamed: TestCommandTest.java -> TestCommandIntegrationTest.java

https://alluxio.atlassian.net/browse/ALLUXIO-2882
Rename file tests/src/test/java/alluxio/shell/command/TestCommandTest.java to tests/src/test/java/alluxio/shell/command/TestCommandIntegrationTest.java

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15970/
Test PASSed.


Nested FolderName throwing exception

For Android, if we give the nested value for folderName property, it throws exception:
Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference.
sample object-
{fileName:"test.jpg",
folderName:"ParentFolder/ChildFolder",
height:768,
quality:100,
uri:"file:///storage/emulated/0/img1.jpg",
width:1024
}
Basically, i would like to copy the resized image in a nested folder, not in only parent folder.
So, if the value of folderName is 'ParentFolder', it works.
Can you please fix this issue so that the resized image gets copied to other nested folders.

Hi JoschkaSchulz,
Can you please take a look at this issue? Nested folder will give us great flexibility option.
Thanks,
Karthik M R

I will check that while I recheck everything :) It will take some time I havn't done anything inside here for 2 years but if you like to you can create a pull request and I will check that.


Icons duplication for Monk and Paladin

Minor “bug” but the Monk - Way of Weal and Paladin - Demon Hunter both have the same class icons.

Yep, we reuse icons now and then.


Fix "Empty message" report for java.lang.Error & children

Exceptions like java.lang.OutOfMemoryError are not inheriting from java.lang.Exception but from java.lang.Error (as seen here https://docs.oracle.com/javase/8/docs/api/java/lang/OutOfMemoryError.html).
In this PR we intercept java.lang.Throwable (instead of java.lang.Exception), the common ancestor to java.lang.Error and java.lang.Exception (https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html), to make sure errors like java.lang.OutOfMemoryError are fully reported.

This seems reasonable to me. There was something about throwables not getting caught right in JRuby, but I can't remember exactly what that was. Any else have thoughts on this, lest I merge it?

(CI is failing partially but this seems unrelated to the code in the PR)

@ArturMoczulski I'm done with my changes, so ready for review!

@ArturMoczulski any update on this one? Thanks!

@thbar looks great. Thank you for the PR. Merging in now.

@ArturMoczulski great, thanks for reviewing & merging!


Build failed on PR | Electons

I'm submitting a ...
[ X] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ X] question about how to use this project

Summary
automerge error

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
-[https://github.com/solana-labs/token-list/pull/21642]

adding a token shouldn't result in conflicts, please make sure to add the token only at the end of the file.


[Q] Neovim 0.8 issue with lsp

I found a new issue after migration. Maybe someone has a similar 'Error executing vim.schedule lua callback: vim/keymap.lua:0: rhs: expected string|function, got nil'

Are you working on the most recent commits?
I have not seen this in the last few weeks. I use the latest neovim so I assume it is a bit ahead of 0.8.0

I use homebrew neovim :D Magic upgrade from 0.7. will crash my setup in the term of lsp.

what is the git hash of your current nvim config?
Could you send more detail info on the stack trace?

I fixed it. The issue was related to the new API vim.diagnostic which changed in neovim 0.8.  I created a new keymap. Sorry for the trouble.


Add basic functions for colorspace transforms.

This PR makes the base for any colorspace transform.

add colorify and channelify functions.

Usage:
julia> f = Chain(x->HSV.(x),channelify,flatten,Dense(768,16),Dense(16,10),x->σ.(x))

julia> f(rand(RGB,16,16,1)) # single image of dims 16 x 16

colorify can be used if one ever requires a colorspace transform between two layers.
julia> f = Chain(...,
                         x->colorify(RGB,x),
                         x->Gray.(x),
                         channelify,
                         ...
                         ) # this would allow for a Grayscale colorspace transform in between the network

I am not sure if ever this will come to use. It's better to provide an option rather than not providing anything at all.
I would love to hear your comments @DhairyaLGandhi @johnnychen94
Also, channelview is not differentiable. I will be writing an adjoint for that.

Should this function specially handle ndims(m) == 2? I guess no? If so it's probably worth documenting something like "the last dimension is faithfully recognized as a batch dimension so you need to unsqueeze the input manually if the input is only one sample"

Yes you are right. I do require them to have the last dimension as a batch. I should document it as you say.

@johnnychen94 Should I merge this PR? I'll add the adjoints in another PR, will that be fine?

Every non-trivial PR should have its associated test cases.

Every non-trivial PR should have its associated test cases.

I completely forgot about the tests. No worries I will write them.

@johnnychen94 I have written the tests. Could you review them please?

I have added the adjoints for the necessary functions. I'll be adding the tests by tonight too.
cc. @DhairyaLGandhi @johnnychen94

Should we get this merged for the while? Differentiability is still an issue for (CT<:Colorant)(x::T) where T and it's taking a lot of debugging for the adjoints to be written for these, which I feel would be not required since colorspace transforms are not at all required for the Geometry stuff we are at.
I will accordingly open an issue for the adjoints of (CT<:Colorant)(x::T) where T and we can do that a while later.
CC: @johnnychen94 @DhairyaLGandhi

It's fine to separate the adjoint to another future PR. But I don't think this PR is finished.
As a summary, here's what I think should be covered in this PR:

[ ] differentiability test for colorview and channelview. Or equivalently, test colorify and channelify. https://github.com/SomTambe/DiffImages.jl/pull/3#discussion_r650553436
[ ] There is a multi-input version of colorview that needs an adjoint implementation: colorview(T, gray1, gray2...) https://github.com/SomTambe/DiffImages.jl/pull/3#discussion_r650557738 If you don't plan to support it in this PR, leave a comment in the source code.
[ ] If the adjoint of (CT<:Colorant)(x::T) where T is still an issue. They should be removed for this PR and added back in future PR.
[ ] set up CI and make sure it's all green checks.
[ ] jldoctest in the docstring seems broken, make sure it passes. You can add jldoctest as a part of the unit test by calling Documenter.doctest(DiffImages, manual = false)

You might also need to bookmark what's unsolved so we don't need to repeat the discussion in the new PR:

[ ] (CT<:Colorant)(x::T) where T<:Colorant for is missing https://github.com/SomTambe/DiffImages.jl/pull/3#discussion_r650557355
[ ] if https://github.com/SomTambe/DiffImages.jl/pull/3#discussion_r650557922 solves the issue in https://github.com/FluxML/Zygote.jl/issues/993

I might miss some unsolved issues. When the PR growing too big, it's always a good practice to provide a summary of the current status.

Sounds good. I had totally forgotten for writing tests for colorview and channelview. I'll do that and set up CI + doctests for the PR.

If the adjoint of (CT<:Colorant)(x::T) where T is still an issue. The relevant codes should be removed for this PR and added back in future PR.

I have commented out the tests which would evaluate gradients for these. This would be added in the next PR.

[x] Added gradients for colorview and channelview.
[ ] Completed CI integration.

I am still debugging CI integration. Will be done soon.

@johnnychen94 I have done all the required tasks we needed. I have also created #5 to track all our progress remaining over here.

Committed all the changes you asked for.

I am merging the PR as per conversation with @DhairyaLGandhi
cc @johnnychen94


Chapter 16: problem with test-em-all.bash and Kubernetes

Hi, while running the code in chapter 16, I'm experiencing problems with the test-em-all.bash script when it is running in a Kubernetes cluster.
I was trying to reproduce what you did in the section "Deploying to Kubernetes for development and test". My version can be found on GitHub at the following URL: Chapter16_init.  Since I have a Mac M1, I had to adapt your version of the project (See the "arm64" bullet in the README.md file). A detailed description of the steps that I did can be found in the section Deploying to Kubernetes for development and test of the same README.md file.
First, I started a cluster inspired by what you did in chapter 15, but without ingress and the metric-server (see Develop, build and deploy microservices on Apple silicon (ARM64) | Callista).
Then, for gradle to build successfully, I had to skip the unit tests since some tests were failing (see the "gradle build" bullet). Note that if I run gradle build outside of the minikube environment, they all pass.
After that, I was able to follow the rest of your instructions without any problem up to the test_em_all.sh script. When I start the script, it waits for ever for a response from the actuator health.
Start Tests: Ven 27 jan 2023 07:22:53 EST
HOST=<IP_ADDRESS>
PORT=30443
USE_K8S=true
SKIP_CB_TESTS=false
Wait for: curl -k https://<IP_ADDRESS>:30443/actuator/health... , retry #1 , retry #2 , retry #3 , retry #4 , retry #5 , retry #6 , retry #7 , retry #8

Note that I have the same problem if I use a plain minikube cluster (i.e. via minikube start).
I hope that in my GitHub repository, you'll find everything you need to diagnose the problem.
Finally, I'd like to thank you for your book. So far, it is the most complete reference on the subject and I would recommend it to everyone.
Thanks in advance

Is your review service running fine?  I see this after you typed this command $ kubectl get pods --watch
review-67ccb9ffcc-ldlxd              0/1     Running   1 (5s ago)    3m21s
I had something messed up in mine and it won't run. I just type $ minikube delete  to restart the whole process.
And type $ kubectl describe NAME_OF_THE_POD and $ kubectl logs NAME_OF_THE_POD  that is not running. Something like $ kubectl describe review-67ccb9ffcc-ldlxd.  The test won't run unless all services is up and running.
I didn't run your code, I just saw your README.MD.

Hi, when I ran kubectl get pods -watch, I would eventually get the following:
NAME                                 READY   STATUS    RESTARTS      AGE
auth-server-76d8c786d4-jdvvw         1/1     Running   0             61s
config-server-f474799bb-dg2pr        1/1     Running   0             61s
gateway-84c4d8599f-b8mjr             1/1     Running   0             61s
mongodb-8594c8fc45-bwj28             1/1     Running   0             61s
mysql-7dbd64ff56-vqlnn               1/1     Running   0             61s
product-55dcb77f5f-4xjrm             1/1     Running   0             61s
product-composite-5bccc45877-bfbgg   1/1     Running   0             61s
rabbitmq-cd46cc675-5kr86             1/1     Running   0             61s
recommendation-776848d5b9-x9vkl      1/1     Running   0             61s
review-6f657fbbc6-hv8sp              1/1     Running   0             61s
zipkin-server-6d89bd9b89-vx7nz       1/1     Running   2 (49s ago)   61s

As you can see, all my services were started successfully. I confirmed that with the following kubectl wait --timeout=600s --for=condition=ready pod --all and it replied:
pod/auth-server-76d8c786d4-jdvvw condition met
pod/config-server-f474799bb-dg2pr condition met
pod/gateway-84c4d8599f-b8mjr condition met
pod/mongodb-8594c8fc45-bwj28 condition met
pod/mysql-7dbd64ff56-vqlnn condition met
pod/product-55dcb77f5f-4xjrm condition met
pod/product-composite-5bccc45877-bfbgg condition met
pod/rabbitmq-cd46cc675-5kr86 condition met
pod/recommendation-776848d5b9-x9vkl condition met
pod/review-6f657fbbc6-hv8sp condition met
pod/zipkin-server-6d89bd9b89-vx7nz condition met

Like I've said in my first email, the problem comes when I start the test-em-all.bash.
Thanks

As an update, I realized that I had to include ingress and the metric-server to my cluster. Of course, I had! (removal of Eureka in chapter 16)!
I re-conducted my tests but, despite my expectations, it ended up with exactly the same problems.
By the way, I was able to fully reproduce the Kubernetes tutorial of chapter 15.
Thanks in advance,

Hi, to ease the troubleshooting, I have included the logs of the different microservices once they were booted up.
See all the *.log files under the root directory of my GitHub depot (see Chapter16_init).
Thanks in advance


0.65.3更新后 vite下unocss

UnoCSS version
0.65.2
Describe the bug
Cannot find module 'file:///d:/item/web-admin/node_modules/jiti/lib/index.js' Require stack:
c:\Users\hyx.vscode\extensions\antfu.unocss-0.65.3\dist\jiti-NID3X7Y7.cjs
c:\Users\hyx.vscode\extensions\antfu.unocss-0.65.3\dist\dist-OSZRW7AO.cjs
c:\Users\hyx.vscode\extensions\antfu.unocss-0.65.3\dist\index.cjs
d:\Users\hyx\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js
Cannot find module 'file:///d:/item/web-admin/node_modules/jiti/lib/index.js' Require stack:
c:\Users\hyx.vscode\extensions\antfu.unocss-0.65.3\dist\jiti-NID3X7Y7.cjs
c:\Users\hyx.vscode\extensions\antfu.unocss-0.65.3\dist\dist-OSZRW7AO.cjs
c:\Users\hyx.vscode\extensions\antfu.unocss-0.65.3\dist\index.cjs
d:\Users\hyx\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js
Reproduction

System Info
windows 10
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

这是我最新构建的vite项目  刚下载的unocss vscode 就会报这个错
unocss 插件版本0.65.3

找到原因了 是你这个必须要扩展文件


[Bug]: OIDC_ISSUER_URL does not return full URL

Welcome to Amazon EKS Blueprints!

[X] Yes, I've searched similar issues on GitHub and didn't find any.

Amazon EKS Blueprints Release version
v4.0.2
What is your environment, configuration and the example used?
N/A
What did you do and What did you see instead?
Receive the full OIDC URL but without the http prefix. This throws off what other resources are expecting, such as the resource "oidc" and its parameter "issuer_url".
Additional Information
This can be simply fixed in the current version by using the workaround: `join("", ["https://", module.eks.eks_oidc_issuer_url])`.

@danvau7 are you able to use the oidc_provider which does not include the https:// prefix

closing for now but please feel free to let me know if this needs to be opened - the existing oidc_provider should suffice for this request


Uncaught Error: error evaluating function darken: Cannot read property 'toHSL' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 0.176.0
System: linux 3.13.0-45-generic
Thrown From: Atom Core
Stack Trace
Uncaught Error: error evaluating function darken: Cannot read property 'toHSL' of undefined
At /usr/share/atom/resources/app/node_modules/less-cache/node_modules/less/lib/less/parser.js:604

Error:
  at new Parser (/usr/share/atom/resources/app/node_modules/less-cache/node_modules/less/lib/less/parser.js:333:27)
  at Object.module.exports.grammars.LESS.render (/home/nick/.atom/packages/preview/lib/renderer.coffee:73:21)
  at PreviewView.module.exports.PreviewView.renderPreviewWithRenderer (/home/nick/.atom/packages/preview/lib/preview-view.coffee:270:27)
  at PreviewView.renderPreviewWithRenderer (/home/nick/.atom/packages/preview/lib/preview-view.coffee:1:1)
  at PreviewView.module.exports.PreviewView.renderPreview (/home/nick/.atom/packages/preview/lib/preview-view.coffee:155:6)
  at PreviewView.renderPreview (/home/nick/.atom/packages/preview/lib/preview-view.coffee:1:1)
  at later (/usr/share/atom/resources/app/node_modules/roaster/node_modules/underscore/underscore.js:724:25)

Commands
  2x -0:14.9 core:backspace (atom-text-editor.editor.is-focused)
     -0:14.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:13.5 core:move-right (atom-text-editor.editor.is-focused)
     -0:13.4 core:move-up (atom-text-editor.editor.is-focused)
     -0:13.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:12.8 core:move-left (atom-text-editor.editor.is-focused)
     -0:12.4 core:move-right (atom-text-editor.editor.is-focused)
  6x -0:12.1 core:move-left (atom-text-editor.editor.is-focused)
     -0:10.6 core:move-right (atom-text-editor.editor.is-focused)
 10x -0:10.4 core:backspace (atom-text-editor.editor.is-focused)
     -0:09.1 core:move-up (atom-text-editor.editor.is-focused)
  2x -0:08.9 editor:newline (atom-text-editor.editor.is-focused)
  2x -0:08.6 core:move-up (atom-text-editor.editor.is-focused)
  2x -0:05.6 core:move-right (atom-text-editor.editor.is-focused)
  3x -0:04.9 core:move-down (atom-text-editor.editor.is-focused)
     -0:04.6 core:move-left (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  },
  "editor": {
    "invisibles": {}
  }
}

Installed Packages
# User
angularjs, v0.1.0
atom-beautify, v0.21.2
git-blame, v0.4.0
git-log, v0.2.0
go-plus, v3.2.1
language-jade, v0.3.0
last-cursor-position, v0.7.0
linter-less, v0.3.1

# Dev
No dev packages

Autocomplete typing a darken(.. function in a LESS file.

Is this reproducible in safe mode (atom --safe)?

Seems like you have or had the https://github.com/Glavin001/atom-preview package installed and it's causing problems. Let us know if you can reproduce in safe mode.


Lodestar flags nimbus as irrelevant peer on hive runs

Describe the bug
Lodestar is unable to connect to nimbus on hive runs because it flags it as an irrelevant peer from the very beginning:
Nimbus:
Feb-20 17:47:18.322[network]         debug: Irrelevant peer peer=16...ZKt1is, reason=GENESIS_NONZERO: 0x8f28acc048ba55423989aed22e1cbe56a16218c9decbcd6031d055c315b0dae7

Which seems to be this check over here:
https://github.com/ChainSafe/lodestar/blob/e5dabac124933bcadc650d19d6b128dcbfcb6c43/packages/beacon-node/src/network/peers/utils/assertPeerRelevance.ts#L48-L54

Expected behavior
Nimbus and lodestar should connect.
Steps to Reproduce
Run any hive simulator using lodestar+nimbus. I'm currently testing builder API using this PR branch: https://github.com/ethereum/hive/pull/715
And running:
./hive --client "go-ethereum,nimbus-bn,nimbus-vc,lodestar-bn,lodestar-vc" --sim eth2/withdrawals --sim.limit "/test-builders-capella-invalid-withdrawals
" --sim.loglevel 5

From the start, both clients will be unable to connect to each other, regardless of whether nimbus is set as bootnode of lodestar or vice-versa.
Desktop:

OS: Ubuntu
Version: 18.04.6 LTS
Branch: unstable
Commit hash: 7a40fab

Nimbus is indeed setting its finalized head to the genesis block root:
INF 2023-02-20 17:47:10.345+00:00 Block DAG initialized head=8f28acc0:0 finalizedHead=8f28acc0:0 tail=8f28acc0:0 backfill="(0, \"00000000\")" loadDur=5ms504us summariesDur=63ms246us626ns finalizedDur=127ms654us979ns frontfillDur=88ns keysDur=52us161ns

But I don't see why this should be an issue while peering.

cc: @tuyennhv Not sure if this relates to your investigation on Nimbus <> Lodestar peering?

@marioevz Opened PR https://github.com/ChainSafe/lodestar/pull/5199 to drop the condition which is unnecessary

cc: @tuyennhv Not sure if this relates to your investigation on Nimbus <> Lodestar peering?

@philknows no it's not related to that


shift "calc", "cross out" and "replace" to the far left

"cross out" and "replace" buttons should be next to the "calc" button since there are all functions rather than symbols or operations. It's fine to include a bit of a gap between the symbols/operations vs. the cross out / replace / calc keys.

completed

also need to move calc to the left.

completed.


Upgrade to<EMAIL_ADDRESS>since<EMAIL_ADDRESS>contains a vulnerable dependency

<EMAIL_ADDRESS>has an indirect dependency on nth-check:
<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>
Information about the vulnerability in nth-check was recently published: https://github.com/advisories/GHSA-rp65-9cf3-cjxr
This vulnerability was fixed in<EMAIL_ADDRESS>But our dependencies use the version<EMAIL_ADDRESS>which most likely will not be updated due to large changes.
<EMAIL_ADDRESS>is also not supported since October 2019.
Therefore, in my opinion, it is necessary to prepare some plan for upgrading to<EMAIL_ADDRESS>

Could you test if svgo 2 would just work? Maybe we can just update our docs?

Unfortunately, we cannot simply upgrade to version 2.0, since the default configuration of image-optimizer uses the "disable" flag:
https://github.com/spatie/image-optimizer/blob/9c85625f599675aac0b51b91dd810fb1e4b220c1/src/OptimizerChainFactory.php#L42-L44
But this flag was removed from CLI since svgo 2.0: https://github.com/svg/svgo/issues/1356#issuecomment-782834313
And as far as I understand, the only way to disable any plugin is to use a special "svgo.config.js" file. Something like svgo --config=/path/to/svgo.config.js
Thus, the image-optimizer must store in its sources a config file with a modified configuration for svgo (that is, with two disabled plugins). And when executing the svgo, it will need to substitute the path to the config file.
Because of this, there will be a BC break between the new standard configuration in OptimizerChainFactory using the config file and between the svgo 1.x previously installed by users. And I have not yet been able to come up with an easy way to solve this problem.

Hi, I understand that there is no clear cut solution to this issue. Could I ask what would happen if we do not install SVGO v1 on our server? In my usecase optimizing SVG is not that important. It's more the JPGs, PNGs and WEBP files that are problematic.
Would image-optimizer still work if SVGO is not installed? Do we need to explicitly skip SVG files or will the libary do this automatically?
Thanks for your views.

Unfortunately, we cannot simply upgrade to version 2.0, since the default configuration of image-optimizer uses the "disable" flag:
https://github.com/spatie/image-optimizer/blob/9c85625f599675aac0b51b91dd810fb1e4b220c1/src/OptimizerChainFactory.php#L42-L44
But this flag was removed from CLI since svgo 2.0: svg/svgo#1356 (comment) And as far as I understand, the only way to disable any plugin is to use a special "svgo.config.js" file. Something like svgo --config=/path/to/svgo.config.js
Thus, the image-optimizer must store in its sources a config file with a modified configuration for svgo (that is, with two disabled plugins). And when executing the svgo, it will need to substitute the path to the config file.
Because of this, there will be a BC break between the new standard configuration in OptimizerChainFactory using the config file and between the svgo 1.x previously installed by users. And I have not yet been able to come up with an easy way to solve this problem.

does this work for you?
addOptimizer(new Svgo([
'plugins' => [
['removeViewBox' => false],
['cleanupIDs' => false]
]
]));


Added rule warning for mention of passion.

This word indicates a high risk of unpaid overtime and a lack of understanding of what the job actually requires.

This is actually covered better by jenofdoom's pull request about work/life balance (https://github.com/rowanmanning/joblint/pull/86). My bad, I forgot to check existing pull requests before adding mine.

Thanks for contributing this years ago, but Joblint is now a dead project and is being archived


[Question] Glfw support

I was just wondering if there is GLFW support? If so is there any example code to use with glfw?

check this one id glfwGetCocoaWindow ( GLFWwindow *window )


Custom python decorators with global functions with arguments

See #574
def check(account: UInt160):
    # do owner check and abort if false
    pass

@check(UInt160())
@public
def withdraw() -> bool:
    pass

Only decorators that call functions with arguments is going to be implemented in this issue

https://app.clickup.com/t/2ewezp0


<IP_ADDRESS> Downsampling MQA files

<IP_ADDRESS> Downsampling MQA files to 44.1/16 or 48/24.
If Master Quality is 96 or 192  - that 48. If 88.2 - than 44.1.
Any ideas ?

Solved. Everything is fine , just the way how MQA , Tidal desktop app and my DAC which is not supporting MQA working.


Investigate subresource paging / filtering

Not natively supported by Ent / entgql, but the necessary parts exist if we want to implement it ourselves.
In particular, these pieces are:

https://gqlgen.com/reference/dataloaders/
https://entgo.io/docs/graphql#usage-and-configuration ("However, if you need to explicitly write these resolvers by hand...")

might be more possible now that https://github.com/ent/ent/releases/tag/v0.11.0 is out


Make Travis Build Fail if code is not go fmt'd

I don't know how we'd approach making this happen

Well, go fmt outputs a list of files it changed, so we can run go fmt during the install key and check for output. I think this should do it:
install:
    $(exit $(go fmt ./... | wc -l))
    make dependencies
    make # is this necessary?


Implement heapsort

See:

Heap.java
Priority Queues
heapsort.go
Heapsort

Moved to jkt project: https://github.com/pcoet/jkt-patterns/issues/47


[7.x] Apply strict typing for support str

In the company where I work, strict typing is important. I notice that Laravel is lagging behind in this area. Certainly, in the Support classes, I miss strict typing. In addition, weak typing is not desirable because the code is used in an unforeseen way.
PSR-12
When PSR-2 does not prescribe a standard, I consider PSR-12 as the standard.
Declare strict types
I chose to use declare(strict_types=1) to prevent "It works on my machine" problem.
Backwards compatibility
Without this proposal, PHP may cast the types to a usable type. If, for example, if it was not allowed to give a number as a parameter, this could still be accepted by PHP and cast by PHP to a string. After this PR you will receive an error in this situation. If it is not a crazy situation to send a number instead of a string, I accept it. Then I cast that in the method to a string. See contains(), startsWith() and endsWith().

👎 This doesn't fix any bugs and just makes the code slower at runtime.

Please feel free to send any bug fixes that are not related to strict typing in a separate PR.

I chose to use declare(strict_types=1) to prevent "It works on my machine" problem.

Strict typing has nothing to do with that class of problems.


Dixu/docker daemon check

close #1600
Remove hanging by offload docker daemon check from watchdog to job-exporter.

Coverage remained the same at 51.779% when pulling 7a8a2e3699051cf5817f3930a93db66f10e6c5c2 on dixu/docker-daemon-check into e8e21cda23894224a0c78e44caaedb487bce1042 on master.


fix: add strict null checks

@W-12220467@

closed in favor of https://github.com/salesforcecli/plugin-settings/pull/261


5.1.0 release: Image tags are not updated in the .env file

For instance, https://hub.docker.com/r/wodby/drupal-nginx/tags/ lists 4.2.0 versions, but the .env file from 5.1.0 release still uses 4.1.0 and no 1.15 versions.

Wow, thank you! Last minute merge before release overrode almost all changes to tags. Re-published 5.1.0 with updated archive https://github.com/wodby/docker4drupal/releases/tag/5.1.0


Not Supported Attachment File Type in Message.

i really hope we can support more file types,then i can use this lib to make a file center even if server in intranet.

You can use wechaty-puppet-puppeteer to download attachments.
wechaty-puppet-padchat is not supported download attachments yet, you can vote it up at here: https://github.com/lijiarui/wechaty-puppet-padchat/issues/101

do we have some documents for "wechaty-puppet-puppeteer"? or this puppet used in the same way as "wechat4u"

Yes, you are right, all puppet will be used in the same way.
You do not need the specific document from the wechaty-puppet-puppeteer, but you only need to use Wechaty, with WECHATY_PUPPET=wechaty-puppet-puppeteer environment variable set.
See the wechaty-puppet-puppeteer source code at: https://github.com/Chatie/wechaty-puppet-puppeteer

Merge to https://github.com/lijiarui/wechaty-puppet-padchat/issues/101


Remove WEX as street price provider

I guess wex.nz can be removed as a street price provider since it doesn't exist anymore.
Before:

After:

Will rebase the PR and submit it upstream once https://github.com/Samourai-Wallet/Sentinel-iOS/pull/9 is merged to develop.

Opened PR to be merged upstream, see https://github.com/Samourai-Wallet/Sentinel-iOS/pull/12
Closing this PR.


Get startBatch failed, when send an error in server callback

Should this be an issue in the gRPC issue tracker?
true
What version of gRPC and what language are you using?
V 1.10.1 on NodeJS
What operating system (Linux, Windows, …) and version?
MacOS Sierra Version 10.12.6
What runtime / compiler are you using (e.g. python version or version of gcc)
babel 6.24
nodeJS v8.8.1
What did you do?
// .proto file
syntax = "proto3";

package odini;

message PortQueryRequest {
  string uid = 1;
}

message PortResponse {
  string uid = 1;
  float portValue = 2;
}

service PortService {
  rpc GetPort (PortQueryRequest) returns (PortResponse) {}
}

// server

import grpc from 'grpc'
import path from 'path'

const PROTO_PATH = path.resolve(__dirname,'../protos/port-service.proto')
const testProto = grpc.load(PROTO_PATH).test

const server = new grpc.Server()

const GetPort = (call, done) => {
  done({
    code: 400,
    message: "invalid input",
    status: grpc.status.INTERNAL
  })
}

server.addProtoService(odiniProto.PortService.service, { GetPort })
server.bind('<IP_ADDRESS>:50051', grpc.ServerCredentials.createInsecure());
server.start()

// client

import grpc from 'grpc'
import path from 'path'

const PROTO_PATH = path.resolve(__dirname,'../protos/port-service.proto')
const testProto = grpc.load(PROTO_PATH).test

const client = new odiniProto.PortService('<IP_ADDRESS>:50051',grpc.credentials.createInsecure())
client.getPort({uid: "13"}, function(err, response) {
  if (err) console.error(err.message)
  console.log(response);
})

What did you expect to see?
I expect that should not throw an exception and the server should stay running
What did you see instead?
process of server is terminated with an exception
/Users/thakerng/Desktop/poc/test/node_modules/grpc/src/server.js:112
  call.startBatch(end_batch, function (){});
       ^

Error: startBatch failed
    at sendUnaryResponse (/Users/thakerng/Desktop/poc/test/node_modules/grpc/src/server.js:112:8)
    at sendUnaryData (/Users/thakerng/Desktop/poc/test/node_modules/grpc/src/server.js:599:9)
    at Object.GetPort (/Users/thakerng/Desktop/poc/test/services/port-service/port-service.js:16:3)
    at Object.wrapper [as func] (/Users/thakerng/Desktop/poc/test/node_modules/lodash/lodash.js:4941:19)
    at /Users/thakerng/Desktop/poc/test/node_modules/grpc/src/server.js:592:13

The argument to the callback in the server handler is incorrect. The code member should be an instance of grpc.status, and the status member doesn't do anything. If you want to send additional information, you can construct a grpc.Metadata object and pass it in the metadata member.


Use only URL and URI methods for UriCombiner.

Coverage increased (+0.02%) to 80.0% when pulling 454ad287e0bebc962dc1e82747a989b4400aba09 on uri_fix into 23a9bae98daab8f5fe44c6db6cf792afe2b7cb28 on master.


make: *** [Makefile:197: pinpoint_php.la] Error 1

Prerequisites

doing it with latest php-fpm docker image
PHP 7.4.12

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[ ] I checked the documentation,issues and found no answer

Expected Behavior
It should compile without but I can see errors
Current Behavior
I was following https://github.com/pinpoint-apm/pinpoint-c-agent/blob/master/DOC/PHP/Readme.md
to create php extension, all went well until I saw following error after running "make" command
root@603fd64f499b:/var/www/html/pinpoint-c-agent# make
/bin/bash /var/www/html/pinpoint-c-agent/libtool --mode=link cc -DPHP_ATOM_INC -I/var/www/html/pinpoint-c-agent/include -I/var/www/html/pinpoint-c-agent/main -I/var/www/html/pinpoint-c-agent -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/var/www/html/pinpoint-c-agent/common/include -I/var/www/html/pinpoint-c-agent/src/PHP  -DHAVE_CONFIG_H  -g -O2    -o pinpoint_php.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/www/html/pinpoint-c-agent/modules  src/PHP/pinpoint_php.lo -lstdc++ -L/var/www/html/pinpoint-c-agent/build/lib -l:libpinpoint_common.a -l:libjsoncpp.a -lrt
mkdir .libs
cc -shared  src/PHP/.libs/pinpoint_php.o  -lstdc++ -L/var/www/html/pinpoint-c-agent/build/lib -l:libpinpoint_common.a -l:libjsoncpp.a -lrt  -Wl,-soname -Wl,pinpoint_php.so -o .libs/pinpoint_php.so
/usr/bin/ld: cannot find -l:libpinpoint_common.a
/usr/bin/ld: cannot find -l:libjsoncpp.a
collect2: error: ld returned 1 exit status
make: *** [Makefile:197: pinpoint_php.la] Error 1

OUTPUT OF ./configure command is as follows:
root@603fd64f499b:/var/www/html/pinpoint-c-agent# ./configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes...   Stop.
----------------------------------------
checking for a sed that does not truncate output... /bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged

I also tried it running with following command but error is same after running "make"
./configure --with-php-config=/usr/local/bin/php-config
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

use the Dockerfile below
git clone https://github.com/pinpoint-apm/pinpoint-c-agent.git
phpize
./configure
make

Dockerfile
FROM php:fpm

# Arguments defined in docker-compose.yml
# Reference : https://www.digitalocean.com/community/tutorials/how-to-containerize-a-laravel-application-for-development-with-docker-compose-on-ubuntu-18-04

# Install system dependencies
RUN apt-get update && apt-get install -y \
    curl  \
    libpng-dev \
    libonig-dev \
    libxml2-dev \
    openssl \
    libssl-dev \
    unzip \
    zlib1g-dev \
    libzip-dev

RUN pecl install -o -f redis xdebug \
&&  rm -rf /tmp/pear \
&&  docker-php-ext-enable redis xdebug

# Clear cache
RUN apt-get autoremove -y && rm -rf /var/lib/apt/lists/*

# Install PHP extensions
RUN docker-php-ext-install pdo_mysql exif pcntl bcmath gd zip opcache sockets

RUN apt-get update && apt-get install -y libc-client-dev libkrb5-dev
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
    && docker-php-ext-install imap \
    && docker-php-ext-enable imap

# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

# Set working directory
WORKDIR /var/www/html

# Expose port 9000 and start php-fpm server
EXPOSE 9000
CMD ["php-fpm"]

Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Operating System:

PHP Version:

php.ini:

php-fpm or apache:

pinpoint_agent.conf:

Failure Logs
Please include any relevant log snippets or files here.

pinpoint_log.txt  php.log  php-fpm.log etc (Anything could help us )

@rightphp
‘’‘
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
------Build common libraries------------
./configure: line 4706: cmake: command not found
make: *** No targets specified and no makefile found.  Stop.
‘’‘
Please install cmake

@rightphp
‘’‘
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
------Build common libraries------------
./configure: line 4706: cmake: command not found
make: *** No targets specified and no makefile found.  Stop.
‘’‘
Please install cmake

Thank you @eeliu for pointing that. After installing cmake it worked

Thank you @eeliu for pointing that. After installing cmake it worked


Error when trying the example

If I copy the basic.md example from the view-raw and paste it in a new .md file and run it in cleaver I get this error:
YAMLException: JS-YAML: can not read a block mapping entry; a multiline key may not be an implicit key at line 10, column 1:
    # Cleaver 101
    ^

This is cleaver 0.2.0 from npm, on Windows Vista 64 using Node v0.10.17

maybe it‘s the issue of "blank space",

check the yml


Mistext correction

Correct ice velocity unit in the colorbar and legend label. Correct a comment.

Thanks a lot!


Drop duplicate index

I haven't looked into this yet, but recommendations from Azure, is to drop a duplicate index on the Identifiers database.
Need to have a look next week and see if there are any recommendations on some prod databases.

It's like you created a non clustered index including a column that is a primary key
Is dimension a primary key? If so it is automatically added when you create a non clustered index, even you don't specify it.

It's like you created a non clustered index including a column that is a primary key
Is dimension a primary key? If so it is automatically added when you create a non clustered index, even you don't specify it.

I’ve not had a chance to look @jtkech - it’s created by YesSql so not something we’ve done, just there on all our databases

I’ve not had a chance to look @jtkech - it’s created by YesSql so not something we’ve done, just there on all our databases

Okay, just found this line of code
https://github.com/sebastienros/yessql/blob/5731eede78d879fb49f458ebd61df1fdafb0010a/src/YesSql.Core/Services/DbBlockIdGenerator.cs#L65
I will dig into it when i will have time

Okay, just found this line of code
https://github.com/sebastienros/yessql/blob/5731eede78d879fb49f458ebd61df1fdafb0010a/src/YesSql.Core/Services/DbBlockIdGenerator.cs#L65
I will dig into it when i will have time

And yes, it is a primary key
https://github.com/sebastienros/yessql/blob/5731eede78d879fb49f458ebd61df1fdafb0010a/src/YesSql.Core/Services/DbBlockIdGenerator.cs#L61

And yes, it is a primary key
https://github.com/sebastienros/yessql/blob/5731eede78d879fb49f458ebd61df1fdafb0010a/src/YesSql.Core/Services/DbBlockIdGenerator.cs#L61

So, we could just remove
https://github.com/sebastienros/yessql/blob/5731eede78d879fb49f458ebd61df1fdafb0010a/src/YesSql.Core/Services/DbBlockIdGenerator.cs#L64-L66

So, we could just remove
https://github.com/sebastienros/yessql/blob/5731eede78d879fb49f458ebd61df1fdafb0010a/src/YesSql.Core/Services/DbBlockIdGenerator.cs#L64-L66

Yeah that looks like it. I assume .PrimaryKey forces an index so no point having a second useless one. Good find

Yeah that looks like it. I assume .PrimaryKey forces an index so no point having a second useless one. Good find

Maybe worth to fix it as commented above because of this new issue on OC https://github.com/OrchardCMS/OrchardCore/issues/8711


CB-7944 Make "faster setup of EBS encryption" logic unconditional

CB-7944 Make "faster setup of EBS encryption" logic unconditional.
Description :
With CB-4925(Support EBS encryption for FreeIPA and DL) few latencies/extra steps were introduced. These latencies were improved with CB-7360(Speed up handling of encrypted EBS (root & data)) behind the Entitlement - "CDP_CB_FAST_EBS_ENCRYPTION".
Following change is to remove the Entitlement "CDP_CB_FAST_EBS_ENCRYPTION" and make the improved behaviour unconditional and default.
    Default behaviour -
        1. Provision clusters (FreeIPA, DL and DH clusters) with encrypted EBS in a fast way, avoiding unnecessary resource creations.
        2. Skip cloning the source AMI. Remove references to ${group.encryptedAMI} in ImageId, always using the default  { "Ref" : "AMI" }

See detailed description in the commit message.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Style for the unsubscribe links in mails

In need to give style this unsubscribe link. For example:
https://github.com/CartoDB/cartodb/pull/4620/files#diff-05350410eae9880577a48ada7f2297b3R55
If you could help me, i could apply that style to all the links that need it :)

Beautiful, thank you @matallo


[BUG] Result: Failure Exception: ModuleNotFoundError: No module named 'azure.storage'.

I've got an Azure Function app with two Azure Functions which use external packages (e.g. azure-storage-blob). In VSCode locally (even if it's a Windows box) this works fine. I have a CI/CD pipeline which deploys the function app to Azure using the recommended approach by Microsoft described here. The deployment works fine as well and the Azure Functions run successfully until I use external packages. When I do so, the following error occurs:
Result: Failure Exception: ModuleNotFoundError: No module named 'azure.storage'.
Troubleshooting Guide: https://aka.ms/functions-modulenotfound Stack: File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/dispatcher.py", line 275,
in _handle__function_load_request func_request.metadata.entry_point) File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/utils/wrappers.py", line 34,
in call raise extend_exception_message(e, message) File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/utils/wrappers.py", line 32,
in call return func(*args, **kwargs) File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/loader.py", line 76,
in load_function mod = importlib.import_module(fullmodname) File "/usr/local/lib/python3.6/importlib/__init__.py", line 126,
in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/home/site/wwwroot/GenerateReport/__init__.py", line 5,
in <module> import azure.storage.blob as azureBlob

I investigated all the things described here all the root causes do not seem to match:

Package exists in the zip file in .python_packages/lib/site-packages/azure/storage/blob (as it does locally)
Tag section in the WHEEL file contains Tag: py3-none-any which indicates it should run on linux
Classifier section in the METADATA file contains

Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
so should be ok as well

There are no conflicts with other packages described here and I do not have the deprecated azure-storage package referenced in requirements.txt
The package supports linux I think: https://pypi.org/project/azure-storage-blob/12.7.1/ At least it's not mentioned that it isn't. But here I'm not sure.

The service plan of the Azure Function App is a Consumption plan (Y1).
What I also tried:

Use Azure Function Core Tools to deploy instead: func azure functionapp publish <app-name> --build-native-deps
This leaded into the same error.
I tried to use the following versions of Python 3.6, 3.7, 3.8, 3.8 both for the pip install --target="./.python_packages/lib/site-packages" -r ./requirements.txt command and the LinuxFxVersion of the Azure Function App. There I used the notation Python|3.x
I removed the dependency to the package azure-storage-blob but left a dependency to another external package (fpdf2). The result was the following error: Result: Failure Exception: ModuleNotFoundError: No module named 'fpdf2'.
I locally renamed folder .venv\Lib\site-packages\azure to .venv\Lib\site-packages\azure_ which lead to the same error: Exception: ModuleNotFoundError: No module named 'azure.storage'.

So to me it looks like the azure function totally ignores the folder .python_packages/lib/site-packages/ somehow.
Perhaps this is related to the following issues which did not help in my case:
https://github.com/Azure/azure-functions-python-worker/issues/477
https://github.com/Azure/azure-functions-python-worker/issues/800
Investigative information
Please provide the following:

Timestamp: 2021-02-17 12:33:00.049
Function App name: bc-func-batch-analytics-dev
Function name(s) (as appropriate): GenerateReport
Core Tools version: 3.0.3233
Azure region: West Europe

Expected behavior
Provide a description of the expected behavior.
After deployment the Azure Function App should run the same way as it does locally.
Actual behavior
Provide a description of the actual behavior observed.
It runs locally but it doesn't on Azure because of the following error mentioned above:
Result: Failure Exception: ModuleNotFoundError: No module named 'azure.storage'.
Contents of the requirements.txt file:
Provide the requirements.txt file to help us find out module related issues.
azure-functions
azure-storage-blob
fpdf2

I found the reason why it was not working. I was just missing to set environment variable FUNCTIONS_WORKER_RUNTIME to python.
It's just weird to me that it works fine without external packages even without this environment variable.
Hope this helps someone.

likewise +1
Able to replicate the issue.

@abhiraj1289 I know this post is old, but did you ever find a solution?

yes , I fixed it
check my comments on
https://github.com/Azure/azure-functions-python-worker/issues/477#issuecomment-949693450

@abhiraj1289 Thank you for the reply! Your comments helped me get past this exception.

@caffinit yes , I fixed it check my comments on #477 (comment)

adding this to my yml file caused the function to entirely disappear from the console.


datastore.Entity should not know about the dataset

This is redundant and potentially problematic.
The Key will know the dataset and that is sufficient.
See #445 and #336 for some context.

Closing out, this will be covered by #477.


Selecting the "Enter" key does not execute a search when the search has filters

Selecting the "Enter" key executes a search when there are not any filters selected.

This currently by design to avoid the situation where the Enter key would submit the 'simple' search form (without the advanced filters). In a future release this is going to be resolved by refactoring the search forms. For the time being you'll have to live with it, I'm afraid.

@gjvoosten Thanks.  I'll close the ticket.


Wrap block list and map in a struct

Test bongo animation compiled with this before merging!
Closes #3

New version works


The returned wiki url in response object by calling analyze_entities references to Non-English Wikipedia page

Hello,
The returned wiki url in response object by calling analyze_entities references to Non-English Wikipedia page. I think this method functioned properly before, i.e., always referencing to English Wikipedia page. However, it starts returning non-English wiki URLs right now. Please check details below.
Environment details

OS type and version: Ubuntu 20.04.4 LTS
Python version: python 3.9.7
pip version: pip 22.0.3
google-cloud-language version: google-cloud-language Version: 2.4.1

Steps to reproduce

from google.cloud import language_v1
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "AUTHENTICATION PRIVATE KEY"
client = language_v1.LanguageServiceClient()
text_content = "USA"
type_ = language_v1.Document.Type.PLAIN_TEXT
language = "en"
document = {"content": text_content, "type_": type_, "language": language}
encoding_type = language_v1.EncodingType.UTF32
response = client.analyze_entities(request = {'document': document, 'encoding_type': encoding_type})

Code example
The returned response object correctly recognizes the correct entity (USA), but references to non-English wiki URL even though I have specified "en" for the language option.
entities {
  name: "USA"
  type_: LOCATION
  metadata {
    key: "mid"
    value: "/m/09c7w0"
  }
  metadata {
    key: "wikipedia_url"
    value: "https://de.wikipedia.org/wiki/Vereinigte_Staaten"
  }
  salience: 1.0
  mentions {
    text {
      content: "USA"
    }
    type_: PROPER
  }
}
language: "en"

The error is also reproducible on your online demo. Please take a look at the url circled by me in the following screenshot.

Is there a way to revert the current release to an older version or revert your database?
Thanks!

Hello :) Hope you are doing well. I have reproduced your code, but it is showing me the correct wikipedia address.


Getting errors  while compiling a simple ICP for car_clouds using libpointmatcher.

when I compile using the following command
gcc ../libpointmatcher/examples/icp_simple.cpp .../examples/data/car_cloud400.csv  ../car_cloud401.csv
Getting a error as follows
/PointMatcher.h:47:27: fatal error: Eigen/StdVector: No such file or directory #include "Eigen/StdVector".
currently Im using

Name
Version

ubuntu:
Description: Ubuntu 14.04.4 LTS

architecture:
64-bit

gcc:
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

git:
git version 1.9.1

cmake:
cmake version <IP_ADDRESS>

boost:
Version: <IP_ADDRESS>ubuntu1

eigen3:
Version: 3.2.0-8

doxygen:
Version: 1.8.6-2

More over when i ran the following command
utest/utest --path [libpointmatcher root]/examples/data/
I encounter some failure
[==========] Running 58 tests from 13 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from icpTest
[ RUN      ] icpTest.icpTest
/root/Libraries/libpointmatcher/utest/utest.cpp:158: Failure
Expected: (rel_err) < (0.03), actual: 0.18699 vs 0.03
This error was caused by the test file:
examples/data/icp_data/defaultPointToPointMinDistDataPointsFilter.yaml
/root/Libraries/libpointmatcher/utest/utest.cpp:158: Failure
Expected: (rel_err) < (0.03), actual: 0.179957 vs 0.03
This error was caused by the test file:
examples/data/icp_data/defaultSimilarityPointToPointMinDistDataPointsFilter.yaml
[  FAILED  ] icpTest.icpTest (3716 ms)
[ RUN      ] icpTest.icpSingular
[       OK ] icpTest.icpSingular (0 ms)
[ RUN      ] icpTest.icpIdentity
[       OK ] icpTest.icpIdentity (108 ms)
[ RUN      ] icpTest.similarityTransform
/root/Libraries/libpointmatcher/utest/utest.cpp:242: Failure
Expected: (std::abs(scale - 1.04)) < (0.001), actual: 0.241112 vs 0.001
Expecting the similarity transform scale to be 1.04.
[  FAILED  ] icpTest.similarityTransform (1110 ms)
[ RUN      ] icpTest.icpSequenceTest
writing to pointmatcher-run1-iterationInfo.csv
writing to pointmatcher-run1-iterationInfo.csv
[       OK ] icpTest.icpSequenceTest (277 ms)
[----------] 5 tests from icpTest (5211 ms total)
[----------] 1 test from GenericTest
[ RUN      ] GenericTest.ICP_default
[       OK ] GenericTest.ICP_default (135 ms)
[----------] 1 test from GenericTest (135 ms total)
[----------] 4 tests from IOTest
[ RUN      ] IOTest.loadYaml
[       OK ] IOTest.loadYaml (2 ms)
[ RUN      ] IOTest.loadCSV
[       OK ] IOTest.loadCSV (0 ms)
[ RUN      ] IOTest.loadPLY
[       OK ] IOTest.loadPLY (0 ms)
[ RUN      ] IOTest.loadPCD
[       OK ] IOTest.loadPCD (0 ms)
[----------] 4 tests from IOTest (2 ms total)
[----------] 5 tests from IOLoadSaveTest
[ RUN      ] IOLoadSaveTest.VTK
writing to examples/data/unit_test.vtk
[       OK ] IOLoadSaveTest.VTK (1 ms)
[ RUN      ] IOLoadSaveTest.VTKBinary
writing to examples/data/unit_test.bin.vtk
[       OK ] IOLoadSaveTest.VTKBinary (0 ms)
[ RUN      ] IOLoadSaveTest.PLY
[       OK ] IOLoadSaveTest.PLY (1 ms)
[ RUN      ] IOLoadSaveTest.PCD
[       OK ] IOLoadSaveTest.PCD (0 ms)
[ RUN      ] IOLoadSaveTest.CSV
[       OK ] IOLoadSaveTest.CSV (0 ms)
[----------] 5 tests from IOLoadSaveTest (2 ms total)
[----------] 13 tests from DataFilterTest
[ RUN      ] DataFilterTest.RemoveNaNDataPointsFilter
[       OK ] DataFilterTest.RemoveNaNDataPointsFilter (1 ms)
[ RUN      ] DataFilterTest.MaxDistDataPointsFilter
[       OK ] DataFilterTest.MaxDistDataPointsFilter (515 ms)
[ RUN      ] DataFilterTest.MinDistDataPointsFilter
[       OK ] DataFilterTest.MinDistDataPointsFilter (521 ms)
[ RUN      ] DataFilterTest.MaxQuantileOnAxisDataPointsFilter
[       OK ] DataFilterTest.MaxQuantileOnAxisDataPointsFilter (494 ms)
[ RUN      ] DataFilterTest.SurfaceNormalDataPointsFilter
[       OK ] DataFilterTest.SurfaceNormalDataPointsFilter (336 ms)
[ RUN      ] DataFilterTest.MaxDensityDataPointsFilter
[       OK ] DataFilterTest.MaxDensityDataPointsFilter (480 ms)
[ RUN      ] DataFilterTest.SamplingSurfaceNormalDataPointsFilter
[       OK ] DataFilterTest.SamplingSurfaceNormalDataPointsFilter (167 ms)
[ RUN      ] DataFilterTest.GestaltDataPointsFilter
[       OK ] DataFilterTest.GestaltDataPointsFilter (2137 ms)
[ RUN      ] DataFilterTest.OrientNormalsDataPointsFilter
[       OK ] DataFilterTest.OrientNormalsDataPointsFilter (313 ms)
[ RUN      ] DataFilterTest.RandomSamplingDataPointsFilter
[       OK ] DataFilterTest.RandomSamplingDataPointsFilter (586 ms)
[ RUN      ] DataFilterTest.FixStepSamplingDataPointsFilter
[       OK ] DataFilterTest.FixStepSamplingDataPointsFilter (463 ms)
[ RUN      ] DataFilterTest.VoxelGridDataPointsFilter
[       OK ] DataFilterTest.VoxelGridDataPointsFilter (185 ms)
[ RUN      ] DataFilterTest.CutAtDescriptorThresholdDataPointsFilter
[       OK ] DataFilterTest.CutAtDescriptorThresholdDataPointsFilter (33 ms)
[----------] 13 tests from DataFilterTest (6231 ms total)
[----------] 1 test from MatcherTest
[ RUN      ] MatcherTest.KDTreeMatcher
[       OK ] MatcherTest.KDTreeMatcher (2772 ms)
[----------] 1 test from MatcherTest (2772 ms total)
[----------] 7 tests from OutlierFilterTest
[ RUN      ] OutlierFilterTest.MaxDistOutlierFilter2D
[       OK ] OutlierFilterTest.MaxDistOutlierFilter2D (1 ms)
[ RUN      ] OutlierFilterTest.MaxDistOutlierFilter3D
[       OK ] OutlierFilterTest.MaxDistOutlierFilter3D (138 ms)
[ RUN      ] OutlierFilterTest.MinDistOutlierFilter2D
[       OK ] OutlierFilterTest.MinDistOutlierFilter2D (1 ms)
[ RUN      ] OutlierFilterTest.MinDistOutlierFilter3D
[       OK ] OutlierFilterTest.MinDistOutlierFilter3D (132 ms)
[ RUN      ] OutlierFilterTest.MedianDistOutlierFilter
[       OK ] OutlierFilterTest.MedianDistOutlierFilter (167 ms)
[ RUN      ] OutlierFilterTest.TrimmedDistOutlierFilter
[       OK ] OutlierFilterTest.TrimmedDistOutlierFilter (132 ms)
[ RUN      ] OutlierFilterTest.VarTrimmedDistOutlierFilter
[       OK ] OutlierFilterTest.VarTrimmedDistOutlierFilter (277 ms)
[----------] 7 tests from OutlierFilterTest (849 ms total)
[----------] 2 tests from ErrorMinimizerTest
[ RUN      ] ErrorMinimizerTest.PointToPointErrorMinimizer
[       OK ] ErrorMinimizerTest.PointToPointErrorMinimizer (182 ms)
[ RUN      ] ErrorMinimizerTest.PointToPlaneErrorMinimizer
[       OK ] ErrorMinimizerTest.PointToPlaneErrorMinimizer (132 ms)
[----------] 2 tests from ErrorMinimizerTest (314 ms total)
[----------] 3 tests from TransformationCheckerTest
[ RUN      ] TransformationCheckerTest.CounterTransformationChecker
[       OK ] TransformationCheckerTest.CounterTransformationChecker (2 ms)
[ RUN      ] TransformationCheckerTest.DifferentialTransformationChecker
[       OK ] TransformationCheckerTest.DifferentialTransformationChecker (0 ms)
[ RUN      ] TransformationCheckerTest.BoundTransformationChecker
[       OK ] TransformationCheckerTest.BoundTransformationChecker (3 ms)
[----------] 3 tests from TransformationCheckerTest (5 ms total)
[----------] 1 test from Transformation
[ RUN      ] Transformation.RigidTransformation
[       OK ] Transformation.RigidTransformation (0 ms)
[----------] 1 test from Transformation (0 ms total)
[----------] 13 tests from PointCloudTest
[ RUN      ] PointCloudTest.CopyConstructor2D
[       OK ] PointCloudTest.CopyConstructor2D (0 ms)
[ RUN      ] PointCloudTest.FeatureConstructor2D
[       OK ] PointCloudTest.FeatureConstructor2D (0 ms)
[ RUN      ] PointCloudTest.FeatureConstructor3D
[       OK ] PointCloudTest.FeatureConstructor3D (1 ms)
[ RUN      ] PointCloudTest.ConstructorWithData
[       OK ] PointCloudTest.ConstructorWithData (0 ms)
[ RUN      ] PointCloudTest.ConcatenateFeatures2D
[       OK ] PointCloudTest.ConcatenateFeatures2D (0 ms)
[ RUN      ] PointCloudTest.ConcatenateFeatures3D
[       OK ] PointCloudTest.ConcatenateFeatures3D (1 ms)
[ RUN      ] PointCloudTest.ConcatenateDescSame
[       OK ] PointCloudTest.ConcatenateDescSame (0 ms)
[ RUN      ] PointCloudTest.ConcatenateDescSame2
[       OK ] PointCloudTest.ConcatenateDescSame2 (3 ms)
[ RUN      ] PointCloudTest.ConcatenateDescDiffName
[       OK ] PointCloudTest.ConcatenateDescDiffName (0 ms)
[ RUN      ] PointCloudTest.ConcatenateDescDiffSize
[       OK ] PointCloudTest.ConcatenateDescDiffSize (0 ms)
[ RUN      ] PointCloudTest.AssertConsistency
[       OK ] PointCloudTest.AssertConsistency (0 ms)
[ RUN      ] PointCloudTest.GetInfo
[       OK ] PointCloudTest.GetInfo (0 ms)
[ RUN      ] PointCloudTest.AddRemove
[       OK ] PointCloudTest.AddRemove (3 ms)
[----------] 13 tests from PointCloudTest (8 ms total)
[----------] 2 tests from Inspectors
[ RUN      ] Inspectors.PerformanceInspector
[       OK ] Inspectors.PerformanceInspector (0 ms)
[ RUN      ] Inspectors.VTKFileInspector
[       OK ] Inspectors.VTKFileInspector (0 ms)
[----------] 2 tests from Inspectors (0 ms total)
[----------] 1 test from Loggers
[ RUN      ] Loggers.FileLogger
[       OK ] Loggers.FileLogger (0 ms)
[----------] 1 test from Loggers (0 ms total)
[----------] Global test environment tear-down
[==========] 58 tests from 13 test cases ran. (15529 ms total)
[  PASSED  ] 56 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] icpTest.icpTest
[  FAILED  ] icpTest.similarityTransform
2 FAILED TESTS.
Please help me.
Thanx in advance.

Your compile command is pretty wrong. Is this a copy and paste bug? The actual error is due to missing include paths (-I). The *.csv files don't belong there. They should be arguments of the compiled program. I'd recommend some unix c++ tutorials to understand better how to use the compiler or try to use cmake to compile the examples / your upcoming program. Actually the examples should be already compiled with the libpointmatcher library.
The failures when running utest are certainly unrelated but should not happen. @pomerlef  , do you have an idea what could have happened to these tests?

Yes, it seems that you already compile the library and its API examples. You don't need to use gcc to run an executable.
Both of the unit test errors I seeing are related to the similarity transform module. Here's the useful part:
[ RUN ] icpTest.icpTest
/root/Libraries/libpointmatcher/utest/utest.cpp:158: Failure
Expected: (rel_err) < (0.03), actual: 0.18699 vs 0.03
This error was caused by the test file:
examples/data/icp_data/defaultPointToPointMinDistDataPointsFilter.yaml
/root/Libraries/libpointmatcher/utest/utest.cpp:158: Failure
Expected: (rel_err) < (0.03), actual: 0.179957 vs 0.03
This error was caused by the test file:
examples/data/icp_data/defaultSimilarityPointToPointMinDistDataPointsFilter.yaml

[ RUN ] icpTest.similarityTransform
/root/Libraries/libpointmatcher/utest/utest.cpp:242: Failure
Expected: (std::abs(scale - 1.04)) < (0.001), actual: 0.241112 vs 0.001
Expecting the similarity transform scale to be 1.04.
[ FAILED ] icpTest.similarityTransform (1110 ms)

I'm looking at that right now, but it seems that I've a segfault on MacOS with the latest version... I'll investigate more on the unit tests this week.

Everything is fine on my side. Maybe you need to update your version to the latest modif:
$ git pull

Feel free to reopen if something doesn't work on your side.


category links on blog posts are faulty

they link to /categoriescategory-name as opposed to /categories/category-name. missing a slash.

there is a pull request that fixes this issue. https://github.com/jpescador/hugo-future-imperfect/pull/24


Remove -swift-version 3 from a handful of tests and update them appro…

…priately.
These are all tests that would otherwise fail if the expression type
checker support for Swift 3 is removed.
I've moved some of the code from deleted Migrator tests into new
Constraints tests that verify that we do not support the constructs.

@swift-ci Please smoke test

@swift-ci Please smoke test

@benlangmuir I've updated the code completion results based on the current output. It turns out some completions didn't go away, they just had different content and different order. Apparently that's what we've been generating for a while now for -swift-version 4, but from glancing at the differences I have no idea if that would be expected. Should I open a JIRA for those differences, or do you already know why this is different?

We have a bug tracking this yet unexplained difference. I discussed with @nathawes to make sure this seems okay to merge given that this is not a new behavior (i.e. -swift-version 4 already produced these completion results) and we have a bug tracking investigation of the differences.