Expand query system to allow getting selected attribute only

I'm trying to re-implement chunkc tiling::query --monitor-for-desktop <id> and have done so using text replacements:
yabai -m query --spaces --space 2 | sed -n -e 's/^.*"monitor":\(.*\),/\1/p'

The syntax I'm proposing as a replacement is
yabai -m query --spaces --space 2 monitor

which should return just the monitor id of space 2 (and a newline at the end of the output).

FWIW, jq is a much simpler way to process the existing query outputs than sed. Example:
$ yabai -m query --spaces --space 2 | jq .monitor
1

Didn't know jq. Lovely little tool. Thanks!

Just for info, I'm going to rename the "monitor" key to "display" to remain consistent with the rest of the program. Not sure how I made that mistake here..

Oh and you could also use yabai -m query --displays --space | jq .index to get the display of the active space.

On a similar note, I noticed that I can do stuff like this with jq:
# get all known open windows in a "app: window title" format
yabai -m query --windows | jq '.[] | .app + ": " + .title'

# get the space count of all displays
yabai -m query --displays | jq '.[].spaces'

Really amazing tool, makes this stuff so easy once you grok the syntax.

On a related note - has anyone looked into how Spotlight works and if it is possible to create custom searchable text and commands for it? As focusing the proper window has now been resolved using the scripting addition, and with the information provided through the query system in yabai I think it would be handy to create a fuzzy-seach mechanism for focusing windows - this could let you filter windows visible on the current space, current display(?) or all known windows, or whatever.

There's Flashlight, which basically is an extension to Spotlight, but I'm not sure if it still works. It's never been running smoothly for me, although I've only tried it after it first came out. I since switched back to Alfred—they recently released v4—, which has workflows that are very easy to configure. It's basically Spotlight on steroids and much better in every regard, especially responsiveness.


 User docker is an unmodified binary built by the docker team.
I'm going to hope this is a transient issue with docker hub and amazon s3.

How do you explain thay the same image can be pulled from system-docker but
not os/docker?
On Aug 4, 2017 21:00, "Sven Dowideit"<EMAIL_ADDRESS>wrote:

That has got to be the weirdest thing I've ever seen. User docker is an
unmodified binary built by the docker team.
I'm going to hope this is a transient issue with docker hub and amazon s3.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rancher/os/issues/2032#issuecomment-320377098, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKB8kMwUGH6QqaPB6AqUP9rIFbPToYWKks5sU7CHgaJpZM4OuQ9Y
.

--
--

I don't have an explanation. its bizarre in every way. Its similarly odd that another similar box in your vn works.
I presume you've retried at some later point, and that you've rebooted and seen if the problem persists?

Yes i rebooted and downgraded/upgraded os/docker between 17.03 and 17.05.
On Aug 4, 2017 21:49, "Sven Dowideit"<EMAIL_ADDRESS>wrote:

I don't have an explanation. its bizarre in every way. Its similarly odd
that another similar box in your vn works.
I presume you've retried at some later point, and that you've rebooted and
seen if the problem persists?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rancher/os/issues/2032#issuecomment-320380849, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKB8kJ0a83SnPULu0EFjM4swXtoYiCLzks5sU7wngaJpZM4OuQ9Y
.

--
--

Sounds like https://github.com/moby/moby/issues/34185 ?

We do have an S3 VPC endpoint configured in this VPC, but it's policy is set to "Full Access" so i'm not sure the scenario quite matches https://github.com/moby/moby/issues/34185, but here comes the surprise and a big question mark, this morning, i didn't test if something had changed overnight and after seeing @superseb comment i immediately deleted the s3 endpoint and tried again to pull from dockerhub and it worked!, i recreated the endpoint and tried again and surprisingly pulls kept working.
Now the big question is, did something change on the dockerhub backend overnight that caused it to work, or recreating the VPC endpoint somehow fixed the issue ?

@garceri
The system-docker and user-docker versions are different.
Close this issue.
If you still have doubts, please reopen it and let me know.

For others who stumble here debugging docker hub pulls in aws with a s3 vpc endpoint deny policy:
https://github.com/docker/hub-feedback/issues/1318#issuecomment-396429154
The following dockerhub s3 bucket needs to be allowed in the vpc endpoint policy.
{
    "Version": "...",
    "Id": "...",
    "Statement": [
        {
            "Sid": "stmtAllowDockerImages",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "*",
            "Resource": [
                "arn:aws:s3:::docker-images-prod",
                "arn:aws:s3:::docker-images-prod/*"
            ]
        }
    ]
}


[slyd] Double finish() for non-HtmlResponse types

When loading a non HTML page, e.g. Haddocks Pipeshop from #41, an exception is thrown because fetch_callback() calls response.finish() but continues processing the response, so it gets finish()ed again later.
Even if #41 was fixed, that link would fail because of this issue.
It seems straightforward to fix but I don't want to file a pull request without knowing what the desired behaviour for various different response types is.
The following might be acceptable, in place of lines 111-114, if nothing else needs supported at the moment?
if not isinstance(response, HtmlResponse) and not isinstance(response, XmlResponse):
    msg = "Non-html response: %s" % response.headers.get(
        'content-type', 'no content type')
    finish_request(request, error=msg)
    return

Traceback:
2015-03-30 16:37:41+1300 [scrapy] Unhandled Error
	Traceback (most recent call last):
	Failure: exceptions.RuntimeError: Request.write called on a request after Request.finish was called.

2015-03-30 16:37:41+1300 [scrapy] Spider error processing <GET http://www.haddockspipeshop.com/en/news.xml>
	Traceback (most recent call last):
	  File "/home/okey/work/portia/portia-env/local/lib/python2.7/site-packages/twisted/internet/base.py", line 1201, in mainLoop
	    self.runUntilCurrent()
	  File "/home/okey/work/portia/portia-env/local/lib/python2.7/site-packages/twisted/internet/base.py", line 824, in runUntilCurrent
	    call.func(*call.args, **call.kw)
	  File "/home/okey/work/portia/portia-env/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 382, in callback
	    self._startRunCallbacks(result)
	  File "/home/okey/work/portia/portia-env/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 490, in _startRunCallbacks
	    self._runCallbacks()
	--- <exception caught here> ---
	  File "/home/okey/work/portia/portia-env/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 577, in _runCallbacks
	    current.result = callback(current.result, *args, **kw)
	  File "/home/okey/work/portia/slyd/slyd/bot.py", line 148, in fetch_callback
	    error="unexpected internal error: %s" % ex)
	  File "/home/okey/work/portia/slyd/slyd/bot.py", line 187, in finish_request
	    trequest.write(jdata)
	  File "/home/okey/work/portia/portia-env/local/lib/python2.7/site-packages/twisted/web/server.py", line 217, in write
	    http.Request.write(self, data)
	  File "/home/okey/work/portia/portia-env/local/lib/python2.7/site-packages/twisted/web/http.py", line 962, in write
	    raise RuntimeError('Request.write called on a request after '
	exceptions.RuntimeError: Request.write called on a request after Request.finish was called.

That should be OK. You could also try:
if not isinstance(response, (HttpResponse, XmlResponse)):

typo above, should be HtmlResponse


codegen works incorrectly with multiple proto files

When several proto files are presented, and you try to generate to one of them which imports other protos, generate creates several identical #[allow...] statements + conflicting _priv_impl modules.
--Example of repo that uses ntex-grpc, but cleans up manually after generation: https://gitlab.com/oss47/tari_rgrpc#--
Will provide an example later, the one I wanted to use need streams support which is not currently available in ntex-grpc

I see. thanks for report

ntex-grpc-codegen 0.2.12 is released with fix

wow, thanks @fafhrd91 💜


calc_molecular_field needs to be rewritten

calc_molecular_field in nematic_liquid_crystal-    (NB! need to be rewriten when C != 0)

This has already been done. Just forgot to delete the comment.


Telegram doesn't embed

Discord works, but telegram for some reason doesn't. Could you take a look at making it work on more platforms?

After further testing it seems to be inconsistent because today it works fine.
Another messaging app I noticed it doesn't embed in is Signal. It should support odb so I'm not sure what's up with it

For me is still not working, but on discord works
Telegram:

Discord:

Can reproduce too

Not sure why, it seems to work fine when I try it. Maybe the server was slow at the time.

Hey @Wikidepia!
Is it possible to embed videos into Telegram in a way like fxtwitter does it? For now your tool just embeds only a preview image of a video that's actually in the instagram post.
IDK about the Discord because I personally don't use it that much but judging by the screenshot above it already embeds videos as videos there. It'd be awesome if we can have such a function in the Telegram as well.
Anyways, thanks! :)

For now your tool just embeds only a preview image of a video that's actually in the instagram post.

Do you have link for the post? It should be possible to embed video

link for the post

I'm not quite sure what post do you mean but here's some of my tries to share some links from instagram to the Telegram. As you can see almost all the links doesn't have any preview. The one that has is the post with a single image. But it's not an "instant view" preview so you can't actually view the image without opening a link, just a basic URL preview. The posts with video has no success at all as you can see.

Also met this issue, some of the posts doesnt load a preview and some of them load with "post not found" and the link follows you to the instagram main page. We had to stop using dd because it just led to lost posts.

@Cheeel666 can you send me links for post that return "post not found"?

@Wikidepia yep
‘’’
https://www.ddinstagram.com/reel/CzRlkCZxV4H/?igshid=MzRlODBiNWFlZA==
‘’’

@Wikidepia yep ‘’’ https://www.ddinstagram.com/reel/CzRlkCZxV4H/?igshid=MzRlODBiNWFlZA== ‘’’

your link must be like this :
https://www.ddinstagram.com/reel/CzRlkCZxV4H/


need more escaping

there's actually two issues here:
a) parameter names and values are not URI-encoded in a query string
b) a parameter name might contain characters that are illegal in method parameter names, for example a parameter "a-b" would produce a-b:Stringwhich scalac will not compile

this still need some testing

I just published a SNAPSHOT to let you check everything:
https://oss.sonatype.org/content/repositories/snapshots/eu/unicredit/sbt-swagger-codegen_2.10_0.13/0.0.7-SNAPSHOT/

this is still broken, and requires changes in the code generation.
i don't know how to get treehugger to generate backticked method/parameter-names, though.

treehugger should do it automagically if needed:
https://github.com/eed3si9n/treehugger/blob/master/library/src/main/scala/treehugger/TreePrinters.scala#L17

it does when i have an input parameter called "this" (which is a keyword) but not when it's called something like "correlation-id" (which is not  a keyword, but not a un-backticked name either)

uhm, which are the invariants on this?
just names that contains special characters like "-" or start with a number, what else?

i've seen "-" causing trouble, investigated a bit, and decided i'd just open a somewhat generic issue and maybe deal with it later.

Scalameta backticks parameters names automatically when needee


bump ash to 0.34, ash-window to 0.8 and raw-window-handle to 0.4

Tested the vulkan examples and they work fine.

I should have tested d3d12 examples as well.
I'm not sure why https://github.com/Traverse-Research/gpu-allocator/pull/86/files#diff-3f6a4bd27ac6c7b39899ceddf5853c5a29adeb30817221abea86029469c85013R215 fails.
error[E0277]: the trait bound `winit::window::Window: HasRawWindowHandle` is not satisfied

@adrien-ben don't worry about it, @MarijnS95 seems to also have opened a PR to address this as #87

winit 0.26 fixes it but then it breaks vulkan examples because of imgui-winit-support so I reverted raw-window-handle back to 0.3.
I'll close this one since @MarijnS95's seem more complete with disabling linked feature from ash.

Hi @adrien-ben, thanks for doing this, and right at the same time!
No worries, it's just unfortunate that I didn't submit this branch right after publishing the ash release (it was almost 3AM :grin:, and haven't been available all day) and made you go through all this trouble :sweat_smile: - sorry for that!
Feel free to pick up the winit 0.26 upgrade once imgui-winit-support for it is available, that'd be appreciated!

Hi @MarijnS95, no problem ! :)
By the way thank you for all the work with ash and rust/vulkan related stuff. Helps me a lot !
Alright !


Access denied finding property "vendor.camera.aux.packagelist"

I'm getting lots of this kind of messages on android studio output when scanner is open.
E/libc    (27455): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    (27455): Access denied finding property "vendor.camera.aux.packagelist2"

It doesn't breaks something but I wanna know that is the issue on project side or package side?

pubspec.yaml
dependencies:
  # A flutter plugin for scanning 2D barcodes and QRCodes via camera.
  barcode_scan: ^2.0.2

flutter doctor
[√] Flutter (Channel master, v1.16.4-pre.80, on Microsoft Windows [Version 10.0.18363.778], locale en-US)
    • Flutter version 1.16.4-pre.80 at D:\flutter
    • Framework revision 77ea848c46 (2 weeks ago), 2020-04-02 10:57:37 -0700
    • Engine revision 46277fd2ca
    • Dart version 2.8.0 (build 2.8.0-dev.18.0 b177e44ffa)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\<redacted>\AppData\Local\Android\Sdk
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = C:\Users\<redacted>\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.5.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.5.30002.166
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the
      "Desktop development with C++" workload, and include these components:
        MSBuild
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        Windows 10 SDK (10.0.17763.0)

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.44.1)
    • VS Code at C:\Users\<redacted>\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.9.1

[√] Connected device (2 available)
    • Mi A1   • <IP_ADDRESS>:5555 • android-arm64 • Android 9 (API 28)
    • Windows • Windows            • windows-x64   • Microsoft Windows [Version 10.0.18363.778]

Did you add the camera permissions to the manifest.xml?

Yes, here's AndroidManifest.xml file.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="**REDACTED**">
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
    <uses-feature android:name="android.hardware.camera" />

Hm, I think it's flutter's bug, https://github.com/flutter/flutter/issues/46952 same thing happened to other camera packages too.

It seems like the old version was fine, but I had a problem upgrading it to 3.0.0

Is there a solution

It seems like the old version was fine, but I had a problem upgrading it to 3.0.0

Same problem for me and after capute a code dont return ScanResult

3.0.1 still throws this error

E/libc    (27996): Access denied finding property "vendor.camera.hal1.packagelist"

I have the same problem as well. Flutter v1.17.1 - Android 10.
E/libc    ( 2279): Access denied finding property "vendor.camera.hal1.packagelist"

Does this guide solve the problem? https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects

It does, @devtronic! Thank you very much!
P.S.: For others having the same issue, it might be easier to erase your Android/iOS folders and simply use flutter create to restore everything; provided you have some kind of source control to restore all relevant changes you previously made.

@devtronic I'm having this issue using a POCOPHONE F1 (Android). I've tried to do your guide from

Does this guide solves the problem? https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects

and I was not successfully. If I understood correctly, my  MainActivity should look like this (correct me if I'm wrong):
package packge_name

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {

}

@devtronic my flutter proyect is post 1.12 and i have this issue on OP7 device, however in a pixel 2 it doesn't happens. I will update with more details later.

Hii,
This code will help definitely:
if (ContextCompat.checkSelfPermission(this, Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) { ActivityCompat.requestPermissions(this, new String[] {Manifest.permission.CAMERA}, 50); }

I am.also getting the same error plz help me

I am.also getting the same error plz help me

Upgrading flutter version helped me. (I just upgraded flutter sdk, created a new project and moved all source files to new project folder)

Thank you so much
On Sun, 27 Sep, 2020, 5:22 PM Misir Jafarov<EMAIL_ADDRESS>wrote:

I am.also getting the same error plz help me
Upgrading flutter version helped me. (I just upgraded flutter sdk, created
a new project and moved all source files to new project folder)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mintware-de/flutter_barcode_reader/issues/212#issuecomment-699625345,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AREVR55X47SUDTWUHKQC4SDSH4RRFANCNFSM4MKWI7SA
.

I am still facing the below issue. I m using Flutter 1.20.4.. Can someone help on this?..
E/libc    ( 9114): Access denied finding property "vendor.camera.aux.packagelist"

Use 0.1.3  and go to terminal and upgrade the flutter ask
On Mon, 28 Sep, 2020, 6:41 PM bharathiselvan<EMAIL_ADDRESS>wrote:

I am still facing the below issue. I m using Flutter 1.20.4.. Can someone
help on this?..
E/libc ( 9114): Access denied finding property
"vendor.camera.aux.packagelist"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mintware-de/flutter_barcode_reader/issues/212#issuecomment-699996633,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AREVR5YGWV4CIS54D2WCQSLSICDOTANCNFSM4MKWI7SA
.

Flutter sdk
On Mon, 28 Sep, 2020, 6:43 PM Darling Madhu<EMAIL_ADDRESS>wrote:

Use 0.1.3  and go to terminal and upgrade the flutter ask
On Mon, 28 Sep, 2020, 6:41 PM bharathiselvan<EMAIL_ADDRESS>wrote:

I am still facing the below issue. I m using Flutter 1.20.4.. Can someone
help on this?..
E/libc ( 9114): Access denied finding property
"vendor.camera.aux.packagelist"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mintware-de/flutter_barcode_reader/issues/212#issuecomment-699996633,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AREVR5YGWV4CIS54D2WCQSLSICDOTANCNFSM4MKWI7SA
.

I have already upgraded to latest version of flutter 1.2.04 and created a new project, but still getting this error..

I have already upgraded to latest version of flutter 1.2.04 and created a new project, but still getting this error..

I could only wish you a good luck.

Add  the activity to manifest file
On Tue, 29 Sep, 2020, 12:06 AM Misir Jafarov<EMAIL_ADDRESS>wrote:

I have already upgraded to latest version of flutter 1.2.04 and created a
new project, but still getting this error..
I could only wish you a good luck.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mintware-de/flutter_barcode_reader/issues/212#issuecomment-700209644,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AREVR573PGXXZ4LAFECA5HTSIDJRNANCNFSM4MKWI7SA
.


bootstrap-vcpkg.bat fails if vcpkg was cloned inside WSL on Windows April 2018 Update

When cloning the vcpkg repo using WSL's git client, the created directory structure is now treated as case-sensitive even outside WSL starting with the Windows April 2018 update (see https://blogs.msdn.microsoft.com/commandline/2018/02/28/per-directory-case-sensitivity-and-wsl/)
This results in bootstrap-vcpkg.bat failing quickly due to mismatch cases between 'release' and 'Release' folders:
c:\dev\vcpkg>bootstrap-vcpkg.bat

Building vcpkg.exe ...

  pch.cpp
CL : fatal error C1083: Cannot open compiler intermediate file: 'c:\dev\vcpkg\toolsrc\vcpkglib\release\vcpkglib.pch':
No such file or directory [C:\dev\vcpkg\toolsrc\vcpkglib\vcpkglib.vcxproj]
C:\dev\vcpkg\scripts\bootstrap.ps1 : Building vcpkg.exe failed. Please ensure you have installed Visual Studio with
the Desktop C++ workload and the Windows SDK for Desktop C++.
At line:1 char:4
+ & {& 'c:\dev\vcpkg\scripts\bootstrap.ps1'}
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,bootstrap.ps1

c:\dev\vcpkg>

The build script looks for 'release' but the folder on disk is 'Release', thus the no-such-file error with case-sensitive names.

Fixed, thanks for reporting!

b81090e2507c6512bdc9896bab02acc68488263f changed it back and so I'm hitting this issue. I'll checkout an older version to get around it for now, but you might need to reopen this issue.


Allow Init() on stopped containers

Needed for further Varlink work related to attach

@baude PTAL, should fix Init to do what you need

LGTM

LGTM

@rh-atomic-bot r+


Script has duplicate proj4

You are missing this from your script:
Compilation work for GDAL
mkdir -p "/tmp/gdal-${GDAL_VERSION}-build"
cd "/tmp/gdal-${GDAL_VERSION}-build"
curl -o "gdal-${GDAL_VERSION}.tar.gz"
"http://download.osgeo.org/gdal/${GDAL_VERSION}/gdal-${GDAL_VERSION}.tar.gz"
&& tar xfz "gdal-${GDAL_VERSION}.tar.gz"
cd "/tmp/gdal-${GDAL_VERSION}-build/gdal-${GDAL_VERSION}"
./configure --prefix=/usr/local/gdal
--with-static-proj4=/usr/local/proj4
--without-python
Make in parallel with 2x the number of processors.
make -j $(( 2 * $(cat /proc/cpuinfo | egrep ^processor | wc -l) ))
&& sudo make install
&& sudo ldconfig

Thank you, the above led me in the right direction but it's missing the trailing slashes for the multi-line commands:
Here's what worked for me with Amazon Linux and Django 2.2:
# Compilation work for gdal.
mkdir -p "/tmp/gdal-${GDAL_VERSION}-build"
cd "/tmp/gdal-${GDAL_VERSION}-build"
curl -o "gdal-${GDAL_VERSION}.tar.gz" \
    "http://download.osgeo.org/gdal/${GDAL_VERSION}/gdal-${GDAL_VERSION}.tar.gz" \
    && tar xfz "gdal-${GDAL_VERSION}.tar.gz"
cd "/tmp/gdal-${GDAL_VERSION}-build/gdal-${GDAL_VERSION}"
./configure --prefix=/usr/local/gdal \
    --with-static-proj4=/usr/local/proj4 \
    --without-python

# Make in parallel with 2x the number of processors.
make -j $(( 2 * $(cat /proc/cpuinfo | egrep ^processor | wc -l) )) \
 && sudo make install \
 && sudo ldconfig

Opened a PR https://github.com/vancityhuddy/aws-eb-gdal-example/pull/2

Opened a PR #2

Thank you, the above led me in the right direction but it's missing the trailing slashes for the multi-line commands:
# Compilation work for gdal.
mkdir -p "/tmp/gdal-${GDAL_VERSION}-build"
cd "/tmp/gdal-${GDAL_VERSION}-build"
curl -o "gdal-${GDAL_VERSION}.tar.gz" \
    "http://download.osgeo.org/gdal/${GDAL_VERSION}/gdal-${GDAL_VERSION}.tar.gz" \
    && tar xfz "gdal-${GDAL_VERSION}.tar.gz"
cd "/tmp/gdal-${GDAL_VERSION}-build/gdal-${GDAL_VERSION}"
./configure --prefix=/usr/local/gdal \
    --with-static-proj4=/usr/local/proj4 \
    --without-python

# Make in parallel with 2x the number of processors.
make -j $(( 2 * $(cat /proc/cpuinfo | egrep ^processor | wc -l) )) \
 && sudo make install \
 && sudo ldconfig

Hi, can you pls show me the full script for this as,
according to : https://stackoverflow.com/questions/55877882/beanstalk-migration-failing-for-geodjango/62943011#62943011
In point 2 of point 2, he writes we also need "proj-datumgrid-X.Y.tar.gz", how to do apply these changes ?


Allow binding metadata to specify a Type

For all languages other than C# (where the user can control the bound Type via their function signature), we need a way to allow the type to be specified in metadata. Currently we default to a particular type that will cover the 90% case (e.g. queues bind to string, blobs bind to a string, etc.). However, what if a Node.js function wants to bind to a Buffer rather than a string (e.g. in the image resize scenario)?
This might look like the below (a new "dataType" property).
{
  "bindings": [
    {
      "type": "blobTrigger",
      "direction": "in",
      "dataType": "byte",
      "path": "samples-input/{name}"
    }
  ]
}

Let's think through the right place for the type info to come through


Main

I have read the CLA Document and I hereby sign the CLA
I have read the Code of Conduct and I hereby accept the Terms
Initial Commit: New Folder in the integration-examples titled: observability-microservices-demo. This folder contains a readme.md file.
The readme.md contains an OpenTelemetry Quick Start is a guide to how to quickly get started evaluating the features of Splunk Observability Cloud. This exercise is using the Splunk branch of the Online Boutique microservices demo application instrumented with Application Peformance Monitoring and Real User Monitoring. The Splunk OpenTelemetry Collector for Kubernetes is also installed along side the microservices demo relaying signals to Splunk Observability Cloud as well as providing Infrastructure Metrics.

This is ready for review please reach out prior to merging if you have any questions or suggestions.

I have read the Code of Conduct and I hereby accept the Terms

recheck

Thank you for reviewing!


During local development, how can I simultaneously debug multiple services?

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Ask your question here
My scenario:
I have N daprized services and all of them act as both a server and a client, and I want to be able to debug multiple services locally at the same time.
The challenge:
In order to debug them in parallel I must run a sidecar for each of them. This means I need to manually allocate a different dapr-http-port to each sidecar in addition to manually allocating different app-ports. In addition to that I need to hold a config to tell each client at which dapr-http-port to find the sidecar of the dapr server running each target method.
The question:
Is there a better way? What would be the recommended approach?
Some thoughts I've had:

Create a dapr-mock lib and use that locally and during testing. Seems like the least involved option and most transparent to developers.
Create a docker-compose to run all my local sidecars. Would still require manual or automatic port allocation. And would require developer to add a sidecar definition to that docker-compose when creating a new service.
Create some more advanced tooling to dynamically create local sidecars with dynamic ports and some kind of local method->port discovery which the services can use.

Any input would be much appreciated. Thanks!

I have the same question. So many ports to juggle.

In the dotnet world I use https://github.com/dotnet/tye
It allows me to spin up multiple csproj's with first class support for Dapr.
While I use it for csproj files, you can reference dockerfiles directly, so it's great if you use a multi-stage docker build image:) Hope this helps!


Minimize to system tray menu icon for desktop applications.

It would be great if there was a way to minimize desktop applicants to the system task tray.

kivy.core.window.Window has minimize maximize restore as well as show hide methods, they are only available (as stated by documentation) using the SDL2 provider, but they are here.

Is this possible using Kivy for OSX and/or Windows?

+1 for this!!

Is anybody working on this?

We're not aware of anyone working on it.

@AliGhahraei See this answer for Windows implementation. For the rest of platforms you'll need to find your own way, e.g. for linux there should be some Xserver/X11 api, probably even callable from console via xprop. On Mac there'll be some api call, I think I saw something recently, for that you'll need pyobjus. Android + iOS don't support this feature afaik.

@dessant I understand. Thank you.
@KeyWeeUsr That's really helpful. I appreciate your guidance.
I'll post a comment if I find a nice way to implement this that is worth sharing.

+1 for this feature, I'm currently working on a few utility apps that would benefit from this.
For example, apps like: Launchy, ClipboardFusion, KeyCue, etc.
Those types of apps really shouldn't be hanging out in the task bar.
Kivy-Garden > HotKeyBehavior seems like a good way to attain similar functionality, although a tray icon would still be nice to have since it provides a definite point of access.

If the only problem for you is only a taskbar icon, look at garden.notification, the code for hiding works on win and linux. This behavior would make your app a "service"-like.
Regarding tray icon, I think the best guess might be checking sdl2 source first as I've seen some requests for this feature, though I'm not sure if the answer wasn't just using OS functions. If that's the case, the source code for WX python package could have the tray OS functions hopefully for all tray supporting platforms.

The wxWidgets is what i did (empty wx app wrapping) but mixing both GUI frameworks sounded a bit weird. I found the pystray (based on Gtk and/or X) and seems ok, cross-platform. Btw, tried a example following the docs but the icon won't show. This is the snipped i used https://pastebin.com/SjW8zsPp

Who said to use wx directly? I said to use their code :P

This functionality is possible for Windows with:

infi.systray
the ShowWindow function of win32gui (via pywin32)

I found the pystray () python module working (seems it works for both Windows and Linux). We don't need to extract anything, let python do it. It supports menu with actions, so it becomes really handy.

@erm3nda I tried pystray and it's exactly what I need. It also works on macOS, so that's what I'll use from now on.

pystray needs pygobject, which in turn needs pycairo. on windows, getting that to run with python3 is a pain in the ass. since I only needed a windows system tray icon, I went with infi.systray.

Will pystray work as we close the window, it minimizes the window to the system tray just like utorrent.

idk bout utorrent pystray works perfectly for me: https://stackoverflow.com/a/77016681/15822465


Re-introduce Retry logic for prepared statement caching - JRE 7 branch

Codecov Report

Merging #620 into RTW-V6.4.0.jre7 will increase coverage by 0.17%.
The diff coverage is 73.21%.

@@                  Coverage Diff                  @@
##             RTW-V6.4.0.jre7     #620      +/-   ##
=====================================================
+ Coverage              46.47%   46.65%   +0.17%
- Complexity              2211     2229      +18
=====================================================
  Files                    108      108
  Lines                  25343    25346       +3
  Branches                4178     4182       +4
=====================================================
+ Hits                   11779    11826      +47
+ Misses                 11542    11485      -57
- Partials                2022     2035      +13

Flag
Coverage Δ
Complexity Δ

#JDBC41
46.4% <73.21%> (+0.17%)
2216 <14> (+15)
:arrow_up:

#JDBC42
46.5% <73.21%> (+0.15%)
2224 <14> (+17)
:arrow_up:

Impacted Files
Coverage Δ
Complexity Δ

...t/sqlserver/jdbc/SQLServerConnectionPoolProxy.java
14.65% <ø> (-0.45%)
14 <0> (ø)

.../microsoft/sqlserver/jdbc/SQLServerDataSource.java
45.5% <0%> (-0.49%)
66 <0> (ø)

.../com/microsoft/sqlserver/jdbc/SQLServerDriver.java
77% <100%> (ø)
25 <0> (ø)
:arrow_down:

...m/microsoft/sqlserver/jdbc/SQLServerStatement.java
59.36% <100%> (-0.29%)
130 <0> (-3)

...oft/sqlserver/jdbc/SQLServerPreparedStatement.java
51.51% <73.75%> (+0.15%)
162 <3> (+2)
:arrow_up:

.../microsoft/sqlserver/jdbc/SQLServerConnection.java
46.16% <80.76%> (+0.35%)
287 <11> (+9)
:arrow_up:

...om/microsoft/sqlserver/jdbc/SimpleInputStream.java
51.11% <0%> (-1.49%)
11% <0%> (-1%)

...c/main/java/com/microsoft/sqlserver/jdbc/Util.java
60.88% <0%> (-0.45%)
87% <0%> (-1%)

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
52.64% <0%> (+0.12%)
241% <0%> (+3%)
:arrow_up:

... and 8 more

Continue to review full report at Codecov.

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


Create  component

Description
Link is used usually in the paragraph text to show that something navigates you to another location.
Visual style

Parameters

Parameter
Values
Default

Style
Primary, Secondary
Primary

External
[boolean]
false

Note: When external is true, it opens links in new tab/window.
Design tokens
For all configurations:
 font-weight: $fontWeightLinks
Based on selected configuration:

Parameter:Value
property: $token

Style:Primary
color: $colorLinkPrimary

Style:Secondary
color: $colorLinkSecondarytext-decoration: underline // token not needed, just visual change

Hover behavior
There are two things that will happen when the user hovers any link:

Underline appears
The text color will change to the darker version of $colorLinkPrimary color (for both styles, actually). For darkening percentage use design token $modifierDarkenHover

Other things to mention

If it’s possible, it should be used only inside <Text> or <Headline> components and it should inherit Size from parent text.
We are showing pointer cursor for every link
For the visited state of links, please use original link color (at least for now, it’s possible that this will change in future).
For focus state please keep outline there, until we decide what to do next with visited and focus state.

Some inspiration from other’s React components for heading component:
https://polaris.shopify.com/components/navigation/link
https://instacart.github.io/Snacks/#link-1
http://grommet.io/docs/anchor
http://design-system.pluralsight.com/components/link/
http://www.jetbrains.org/ring-ui/link.html

After discussion with @wEprous, we added few new tokens for taking control of link underline.

Token
Value

$textDecorationLinkPrimary
none

$textDecorationLinkPrimaryHover
underline

$textDecorationLinkSecondary
underline

$textDecorationLinkSecondaryHover
underline


Better body combine algorithm

I thought I'd make a seperate issue for this, since it didn't seem like you saw it in the main issue.
Anyway I made my own kind of algorithm recently and while it's not perfect, it works alright. Result is here: http://jimvliet.github.io/HTML5-Game/objectConverter
The code is in this file: https://github.com/JimVliet/HTML5-Game/blob/master/scripts/functionFile.ts
It works like this: It starts at the top left and goes to the bottom right. Everytime it finds a solid object which isn't already used it will create a rectangle with the largest possible area from that position. Then the tiles used in that rectangle won't be able to be used again.
If you have any questions, feel free to ask.
This is my current game: http://jimvliet.github.io/HTML5-Game/ in which this is used

I did, it looks cool. I just haven't had time to do anything with it yet.


[Docs] Document FormData local resource hack

Is this a bug report?
Yes, of a sort - request for documentation.
Have you read the Contributing Guidelines?
Yes - not overly relevant to reporting documentation issues.
Environment
Not relevant
Steps to Reproduce
Not relevant.
Expected Behavior
Not relevant.
Actual Behavior
Not relevant.
Reproducible Demo
Not relevant.

It'd be really useful to document the FormData { uri: [string] } hack that RN adds so that we can upload local files with Fetch/XHR. This is kinda documented in the tests and also features in some testing app but it's not explicitly mentioned in the networking documentation, which is the perfect place for it.

Agree, there's not much documentation about FormData and the tests fail when using libraries that use FormData. Would be really helpful to document this.


Validation failed

Issue Type: Bug
I keep getting this error even though I have logged in to my Github account in VSCode:
[Info] GitHubRepository> Creating pull requests failed: {"message":"Validation Failed","errors":[{"resource":"PullRequest","field":"head","code":"invalid"}],"documentation_url":"https://developer.github.com/v3/pulls/#create-a-pull-request"}
Extension version: 0.6.0
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.02GB free)

Process Argv
../apps-backend-news-article-push

Screen Reader
no

VM
0%

Any updates on this? Perhaps just a misconfiguration or something? I'm having the same issue

I was also seeing this issue, but I'm no longer seeing it. Closing as resolved.


download file questions

Hello,
I'm implementing a download module, want to try node-fetch and have a few questions:

How can i get the total fileSize so i can implement a progress?
How can i pause/resume/cancel a download?

Thank you!
const fetch = require('node-fetch');
const fs = require('fs');

const url = 'https://images.pexels.com/photos/45201/kitty-cat-kitten-pet-45201.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940'

async function download() {
  const nfetch = await fetch(url);

  const fileStream = fs.createWriteStream('./octocat.png');
  nfetch.body.pipe(fileStream);

  nfetch.body.on("response", (data) => {
    console.log('response ???');
  });

  nfetch.body.on("data", (chunk) => {
    console.log(chunk.length);
  });

  nfetch.body.on("error", (err) => {
    console.log('err:', err)
  });

  fileStream.on("finish", function () {
    console.log('finish');
  });
}

download();

For the filesize, you should be able to get it from the content-length response header, e g nfetch.headers.get('content-length');

For "pausing/cancel" download you should use AbortSignal and just terminate the download.
For "resume" please read https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests - basically, it's just some headers that you will need to send at fetch(url, { headers: {Range: 'bytes=0-1023'} }

The important part for resuming later on after you have aborted is that the request supports accept-ranges: byte it's mostly only static assets that have them.  so look for that response header later

@tinovyatkin i was only able to cancel by doing stream.body.destroy()
About pause/resume i couldn't find anything useful, except you answer, but it's still a long way to having something...
So i understand you're saying i should check if the server supports resuming.
If that would be the case, do you have any example or link i could look at?

Did you find how to do resume? how to get the current headers and then pass that on resume. I can't find.

here is some psudo code of how to write a downloader that can monitor progress, abort and resume
ctrl = new AbortController()
signal = ctrl.signal
url = 'https://images.pexels.com/photos/45201/kitty-cat-kitten-pet-45201.jpeg?d='+Date.now()
res = await fetch(url, { signal })
acceptRanges = res.headers.get('accept-ranges') === 'bytes'
contentLength = parseInt(res.headers.get('content-length'))
chunks = []
downloaded = 0

res.body.pipeTo(new WritableStream({
  write(chunk) {
    chunks.push(chunk) // uint8array
    downloaded += chunk.byteLength
    console.log(downloaded, contentLength)
    ctrl.abort()
    console.log(URL.createObjectURL(new Blob(chunks, {type:'image/jpeg'})))
    resumePartialRequest(url, downloaded)
  }
}))

async function resumePartialRequest (url, start = 0, end = '') {
  const res = await fetch(url, {
    headers: {
      'range': `bytes=${start}-${end}`
    }
  })
  await res.body.pipeTo(new WritableStream({
    write(chunk) {
      chunks.push(chunk)
      downloaded += chunk.byteLength
      console.log(downloaded, contentLength)
    }
  }))
  console.log(URL.createObjectURL(new Blob(chunks, {type:'image/jpeg'})))
}

I wrote this in chrome's devtool, so it's not 100% adopted for node-fetch with major differences being pipeTo/pipe and node/whatwg WritableStream
Note that there is a lot more to it. You have to check if it accepts byte ranges
read more about partial request here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests

Hi @muscaiu and @jimmywarting . It would be really great if you share working and tested solution if any. Thanks.

Hi everybody,
I am trying to migrate one of my open-source applications from the obsolete request package to node-fetch, to get (multipart) mjpeg streams from ip cameras.  Everything works smooth, except - as mentioned above - there is no pause/resume functionality in node-fetch.
When I debug the code of node-fetch (v2.x) I see that the pause/resume feature of the original NodeJs response instance is available until this point:

But a few statements later, the properties of the NodeJs res(ponse) instance are copied to the node-fetch Response instance.  So the node-fetch Response class is not a wrapper around the NodeJs res(ponse) instance.    Therefore the node-fetch Response instance cannot expose the pause/resume functions.
I was wondering if - at the time being - these pause/resume functions:

Have just been ignored , due to lack of time, or because there was simply no use cases for it?
Have been skipped explicit because the node-fetch developers have bad experience some how with them?

Reason for my question is: is it useful if we try to find a way to call these functions via the node-fetch Response instance, or should we stay away from it for some reason?
Thanks for reading!

pause is not something that exist in the Response specification - so it should not be used / dependent on it.
a response body should actually be a web stream.
My recommendations are that you use NodeJS v18 \w built in fetch or use undici that's more spec compatible and uses web streams instead of node streams it might require node v16+
node-fetch is more of a polyfill at this stage for older nodejs engines.
here are some pause logic from web streams: https://streams.spec.whatwg.org/#example-rs-push-backpressure

Hi @jimmywarting,
Thanks for the feedback!
Now indeed I see that pause/resume/isPaused is not part of the Response specification.  Had never noticed that...
Since I need to support older NodeJs versions, unfortunately I cannot use fetch or undici.
So it is a pitty that it can't be added to node-fetch, although I understand it...
I had managed to get something working a few minutes ago, by adding following changes to node-fetch:
class Response {
   constructor() {
      ...
      this[INTERNALS$1] = {
         ...
         wrappedResponse: opts.wrappedResponse
      };
   }

   pause() {
      this[INTERNALS$1].wrappedResponse.pause();
   }

   resume() {
      this[INTERNALS$1].wrappedResponse.resume();
   }

   isPaused() {
      return this[INTERNALS$1].wrappedResponse.isPaused();
   }
}
...
const response_options = {
   ...
   wrappedResponse: res
}
...
var response = new Response(body, response_options);
...
response.isPaused();
response.pause();
response.resume();

This way I can pause and resume the mjpeg stream from my IP camera's using node-fetch.
Then unfortunately I have no other option than using a local fork fixed of node-fetch...

@jimmywarting,
So there are two ways to pause/resume a response:

By calling the pause/resume function on the NodeJs response instance, to tell it whether it should send chunks to our event handler.
By adding/removing our event handler, to start/stop processing chunks.

That makes sense.  Thanks for sharing your thoughts!!
I tried all kind of stuff, but I didn't manage to implement the second option completely.  It is indeed simple to pause a stream, by quitting the for await loop.  However I want to resume my stream afterwards, by starting a new loop.  But that loop doesn't do anything (in combination with node-fetch): no new chunks arrive in that new loop unfortunately...
Do you have any tips I could try?


Send/receive screen small improvements

"send all" rename to "add all", make less attention to the button?
“paste address or find contact” rename to "send to"
"annotation" rename to "comment", "won't be shared" moved to hint instead of field header
"category" rename to "tag"
"existing addresses", "addresses" rename to "my active addresses"
addresses/contacts view updated to addresses/contacts screens (multi-categories, expiration date, etc)
update annotation on receive screen ("Send this address over...")
change wallet background colour (applies to whole app, mainnet only).

Updated screens are here:
send https://app.zeplin.io/project/5ba9be48f029d520c456f395/dashboard?seid=5cee6dd12f02be1d5003768c
receive https://app.zeplin.io/project/5ba9be48f029d520c456f395/dashboard?seid=5cee7c2d4c7fea1d62dc3144

Forbid invalid characters from being entered in the contact's address
To forbid to enter multiple rows(a column)

not error message:"Incorrect address"

Design:
https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5cf7271a6af3e11bb49cb6c1

https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5cf7271aa03dad1de7679bd5

https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5be5b6fe5087e47ea746a39d

https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5d36f5f2a2e9ba2f7bf40e64

https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5cf724665b623413417cd980

Actual:

checked


Enhancement: Improve index.html Structure and Accessibility for Rentalog Frontend

GSSoC Contributor
Description:
I would like to propose improvements to the index.html file of the Rentalog frontend to enhance its structure, accessibility, and SEO. The current file is functional but could benefit from the following changes:

Semantic Structure: Implement semantic HTML elements like <header>, <nav>, and <footer> for better organization and accessibility.

Open Graph Meta Tags: Add Open Graph meta tags to enhance social media sharing and improve visibility.

Responsive Navigation Bar: Introduce a responsive navigation bar to allow users easy access to different sections of the application, such as features, about, and contact.

CSS Framework Integration: Include a link to the Tailwind CSS framework for consistent and rapid styling.

Accessibility Enhancements: Ensure all external links use rel="noopener noreferrer" for security, and consider improving color contrasts for better readability.

These enhancements aim to provide a better user experience and optimize the application for search engines. I believe these changes will significantly benefit the Rentalog project.

I have already made changes to html code. Consider assigning me the issue so that I can raise a pull request for the modified index.html code.


Steps use position field to reorder steps

The Modelling Services team are implementing the Step by step publishing tool into Collections Publisher.
We want to be able to reorder the steps of a Step by step page using the position field.
When more than one step is created and they are reordered, some javascript updates the order of the steps and populates a hidden field in the form containing an array of step id and position values. The position for each step is then updated in the database.
Trello card: Page to reorder the steps

Thanks @sihugh, I have addressed these comments now 😄

Maybe we should hold this until we're back in the office now @deborahchua


Intermittent exception : Resource Not Found"

Hello Team,
Have  a web job which in turn run every day and delete the documents in a collection and insert the fresh data i.e document in a collection which are not partitioned . Have observed that i do not see any issue with process but some time i do get the below exception and data in the collection will be in corrupt state . Error message is not of much help and as am not using the partition , still do not understand that why this will look for the document in the partition .
could be great if someone can help me the possible causes for this . Please find the activity id and details
Error
{"Errors":["Resource Not Found"]} ActivityId: 132ca535-b6a9-40a5-b257-29791ee9cf7f, Request URI: rntbd://by3prdddc01-docdb-1.documents.azure.com:14053/apps/28284a68-9708-4ee8-97da-dc5bfad115b9/services/6ebac9e6-3bcd-4370-9d62-1918d46a80cc/partitions/e0ff8834-8fa6-4f3b-8ea6-c4dd97b34845/replicas/131527654382594212p/Message: {"Errors":["Resource Not Found"]} ActivityId: 132ca535-b6a9-40a5-b257-29791ee9cf7f, Request URI: rntbd://by3prdddc01-docdb-1.documents.azure.com:14053/apps/28284a68-9708-4ee8-97da-dc5bfad115b9/services/6ebac9e6-3bcd-4370-9d62-1918d46a80cc/partitions/e0ff8834-8fa6-4f3b-8ea6-c4dd97b34845/replicas/131527654382594212p/

I'm having some what similar problem with what I posted yesterday. Mine is happening with a collection that is partitioned. Even when you provide the partition key and the id, you will still get that error in a web job/azure function.

@PhaniJaddu are you enumerating the documents and then deleting them? Is it possible that parallel clients (web job instances) are trying to do the same and over-stepping on each other?
Also CosmosDB does support TTL (TileToLive) and evict item after the time. You can create documents with TTL aligned and this will be automatically taken care of.

@kirankumarkolli  : I forgot to mention that we have only one instance of the web job running , we are using stored procedure to delete the documents , so we send some list of the documents to stored procedure and then it will delete and then we pick some more and then it will delete .. this will be keep on happening till there are no records left

Retry might also cause this issue.
Ideal in your case would be to leverage TTL capability which would cleanup automatically.

@PhaniJaddu @chrisparkeronline : If you can provide a standalone repro for this, I can try repro'ing this on my end. At the minimum, please send me your sample code you are using, so that I can see if there is anything with the code that could cause this. Can you add some logging to your stored procedure when a delete is successful(log the id of the document) and also log the id of the document that throws Resource Not Found, to see if you only deleted the document that you are trying to delete again?
You could consider deleting the collection itself and then recreating the collection(that will implicitly delete all documents) and will be more efficient.
@PhaniJaddu To answer your question on the word "partition", that's an internal term we use for the single unit of storage in our system. It has nothing to do with your collection being partitioned or not.

@chrisparkeronline : Never mind, I saw your earlier post. That's a different issue that seems to have been resolved by you.

Please re-active is possible with a repo details.


Testfixes

Everything works but MongoDB. I think that is a dependency issue... Or an issue installing mongodb.


Build failing since version 4.3.3

According to JitPack package repository, it is failing to build this library starting from Version 4.3.3
https://jitpack.io/#CanHub/Android-Image-Cropper
What package repository are you using to build this library?

Just use maven central


Poor detection when wearing glasses

Fantastic library. Detection fails when target is wearing glasses though. Surely not a very difficult fix, but as it stands, detection fails on about 50% of all users!

Any update on this issue?
I am having the same issue when wearing glasses, I want to track eyes so in my case the eye-tracking is really really important.


After Dark - Leisure and Tourism

After Dark - Leisure and Tourism
It seems obvious that the xml file this mod produces there should be values for leisure and tourism as well.
Please add these to the mod as soon as possible.

Completed.
Please reopen the issue if the values aren't working.


Miniscule enhancement to sc.py

Added the function: get_added_obs_group_importance() to sc.py to complement the get_removed_obs_group_importance function

Coverage increased (+0.001%) to 72.542% when pulling 7bc1aa92a7dcb483e9af615685aca396e355170d on daniel-partington:get_added_obs_group_importance into d98be31179726f97329b5769517834ff4deefbb8 on jtwhite79:develop.


custom exception message display

PR is closed because the source has been added in to previous merged pr, thanks.


Feature request: support static classes / methods

Installed product versions

Visual Studio: 2019 community
This extension: 2.5.7

Description
It would be great if static classes / methods  are supported
Steps to recreate
Create tests for this class:
    public static class StaticClass
    {
        public static string MyMethod() => "test";
    }

Current behavior
Current code, the code won't compile because of new StaticClass
    [TestClass]
    public class StaticClassTests
    {
        [TestMethod]
        public void MyMethod_StateUnderTest_ExpectedBehavior()
        {
            // Arrange
            var staticClass = new StaticClass();

            // Act
            var result = staticClass.MyMethod();

            // Assert
            Assert.Fail();
        }
    }

Expected behavior
for static methods, no need for new StaticClass

    [TestClass]
    public class StaticClassTests
    {
        [TestMethod]
        public void MyMethod_StateUnderTest_ExpectedBehavior()
        {
            // Arrange

            // Act
            var result = StaticClass.MyMethod();

            // Assert
            Assert.Fail();
        }
    }

FWIW, I implemented support for this in my extension. It's a bit different to the boilerplate generator, in that it's nowhere near as customisable but supports a bunch of extra stuff. Just thought it was worth mentioning, as maybe someone who wants to implement it for this extension can get inspired by the code I wrote 👍

still after 3.5 years this is not yet fixed / implemented...

I actually haven't used this myself since 2017, which is nearly the entire life of the project. Since nobody pays me, I work on features that inspire me, and mocking static classes doesn't really do that. They are hard to test, which is why I use DI and created a tool to help set up mocks for constructor DI classes.
But I understand other people program in different ways and may find other features useful. I have taken a fair number of pull requests that have added nice features and would happily work with you to integrate your own PR, and even give you some code pointers to get started.
Listening to people try to shame me for not implementing their favored feature does not inspire me to do the work.


Dribble Button Design - Session of Buttons

Inline with our "session of Buttons", We would be building different kinds of buttons..
Design a Button that looks like the button in this image...
Create a file "Dribble_BUTTON_BY_YOUR_NAME.html" in the modules/buttons folder.
Use simple HTML and CSS to create the button. You can use the interface development https://kwickerhub.com (This project) or you can write the lines of code yourself.
Step by Step Guide.

Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend

Open your code Editor and Create a file "Dribble_BUTTON_BY_YOUR_NAME.html" in the "modules/buttons" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder "modules/buttons/images_and_icons"

Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository

git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.

Make you Pull Request... if you do not know how to go about it, Just visit your fork on GitHub and you would see the button/suggestion to make a pull request to this project(the upstream)

Good-luck.
For some additional info, You should read the instructions.txt file in "buttons" folder.

I am interested to work on this issue under Quine. So please assign me this issue to me.

Added another button https://github.com/KwickerHub/frontend/issues/176 Dribble Button by forking it to https://github.com/justani02/frontend
check https://github.com/justani02/frontend/pull/5 pull request for the changes.
Given reference:

Created dribble button:


Blocking call detected by BlockHound when invoke Actor methods, and access actorStateManager methods

Hi there,
We are experimenting with the dapr actor service, and have seen some blocking calls detected by BlockHound. Wondering if these are false positive or we did something wrong with the actor usage. Please see below for example:
Create a simple actor call Test
@ActorType(name = "Test")
public interface Test {
  @ActorMethod(name = "testHello")
  Mono<Void> testHello(String name);

  @ActorMethod(name = "testName")
  Mono<String> testName(String name);
}

public class TestImpl extends AbstractActor implements Test {
  private static final String NAME = "name_";

  public TestImpl(ActorRuntimeContext runtimeContext, ActorId id) {
    super(runtimeContext, id);
  }

  @Override
  public Mono<Void> testHello(String name) {
    return super.getActorStateManager().set(NAME + name, name);
  }

  @Override
  public Mono<String> testName(String name) {
    return super.getActorStateManager().get(NAME + name, TypeRef.STRING);
  }
}

Create testing endpoints with spring webflux:
  @PostMapping(path = "/testHello")
  public Mono<Void> testHello(@RequestBody(required = false) byte[] body) {
    return Mono.just(new String(body))
        .map(id -> new ActorProxyBuilder<Test>(Test.class, actorClient).build(new ActorId(id)))
        .flatMap(test -> test.testHello(new String(body)));
  }

  @PostMapping(path = "/testName")
  public Mono<String> testName(@RequestBody(required = false) byte[] body) {
    return Mono.just(new String(body))
        .map(id -> new ActorProxyBuilder<Test>(Test.class, actorClient).build(new ActorId(id)))
        .flatMap(test -> test.testName(new String(body)));
  }

Register the actor:
ActorRuntime.getInstance().registerActor(TestImpl.class);
Now make a remote call to the dapr service:
http://localhost:3500/v1.0/invoke/testapp/method/testName
We got the following BlockHound warning on DaprGrpcClient.invoke:
reactor.blockhound.BlockingOperationError: Blocking call! jdk.internal.misc.Unsafe#park
	at java.base/jdk.internal.misc.Unsafe.park(Unsafe.java) ~[na:na]
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoCallable] :
	reactor.core.publisher.Mono.fromCallable
	io.dapr.actors.client.DaprGrpcClient.invoke(DaprGrpcClient.java:41)
Error has been observed at the following site(s):
	|_  Mono.fromCallable ⇢ at io.dapr.actors.client.DaprGrpcClient.invoke(DaprGrpcClient.java:41)
	|_           Mono.map ⇢ at io.dapr.actors.client.DaprGrpcClient.invoke(DaprGrpcClient.java:51)
	|_                    ⇢ at io.dapr.actors.client.ActorClient.invoke(ActorClient.java:68)
	|_          Mono.then ⇢ at io.dapr.actors.client.ActorProxyImpl.invokeMethod(ActorProxyImpl.java:124)
	|_                    ⇢ at com.test.alert.controller.AlertController.lambda$testName$3(AlertController.java:56)
	|_       Mono.flatMap ⇢ at com.test.alert.controller.AlertController.testName(AlertController.java:56)

If we add a scheduler to the actor method call:
  @PostMapping(path = "/testName")
  public Mono<String> testName(@RequestBody(required = false) byte[] body) {
    return Mono.just(new String(body))
        .map(id -> new ActorProxyBuilder<Test>(Test.class, actorClient).build(new ActorId(id)))
        .flatMap(test -> test.testName(new String(body)))
        .subscribeOn(Schedulers.boundedElastic());
  }

then we got the following on DaprGrpcClient.getState:
reactor.blockhound.BlockingOperationError: Blocking call! jdk.internal.misc.Unsafe#park
	at java.base/jdk.internal.misc.Unsafe.park(Unsafe.java) ~[na:na]
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoCallable] :
	reactor.core.publisher.Mono.fromCallable
	io.dapr.actors.runtime.DaprGrpcClient.getState(DaprGrpcClient.java:70)
Error has been observed at the following site(s):
	|_  Mono.fromCallable ⇢ at io.dapr.actors.runtime.DaprGrpcClient.getState(DaprGrpcClient.java:70)
	|_           Mono.map ⇢ at io.dapr.actors.runtime.DaprGrpcClient.getState(DaprGrpcClient.java:80)
	|_       Mono.flatMap ⇢ at io.dapr.actors.runtime.DaprStateAsyncProvider.load(DaprStateAsyncProvider.java:65)
	|_ Mono.switchIfEmpty ⇢ at io.dapr.actors.runtime.ActorStateManager.get(ActorStateManager.java:135)
	|_           Mono.map ⇢ at io.dapr.actors.runtime.ActorStateManager.get(ActorStateManager.java:136)
	|_ Mono.switchIfEmpty ⇢ at io.dapr.actors.runtime.ActorStateManager.get(ActorStateManager.java:133)
	|_                    ⇢ at com.zafin.microhub.apollo.alert.actor.TestImpl.testName(TestImpl.java:23)

Thanks for your time and let me know what you guys think.
Cheers

Thanks for reporting this issue. This needs to be fixed. We did fix this in the non-Actor client but did not update this one.


GPUImageAVPlayer

Any plan to implement GPUImageAVPlayer?
This would be a new kind of output that will play a movie on file with one or more filters applied, without requiring to process the whole movie first, just after a few seconds of buffering. The movie should play like it will do in AVPlayer (speed, audio, seek operations, pause)  but showing filtered video frames.
This can be done now in two steps: filter movie to a new file and then play it. But it's not very practical if the movie is longer than a few seconds. In my tests AVPlayer doesn't work very well if the played file it's being modified, even if you delay the playback.
SimpleVideoFileFilter is able to show the transformed video frames, but it "plays" too fast and doesn't have any audio.
I looked into GPUImageView and GPUImageOpenGLESContext and it's not obvious how to add some kind of time synchronization to the mix.
I'm willing to collaborate with anyone that knows where to start.

I have done this with some efforts.
In my case as we apply filter on image or video it will play without any loading and also start writing the output video. If anyone interested  to build  GPUImageAVPlayer then  contact me.
<EMAIL_ADDRESS>


Problems pdf export in ubuntu 14.04

I have been using this library for years now, and it is definitely the best, congratulations!
Anyway, I had some problems using it yesterday:

I installed Ghostscript from the official repositories, sudo apt-get install ghostscript*. I installed pdftops from http://www.foolabs.com/xpdf as suggested (copying the executables to /usr/local/bin). And I would still run into problems in Ubuntu, because I cannot print using the opengl driver. Are there any specific instructions on how to do the installation in Ubuntu?
I used a workaround to get my (nice) export_fig figures in pdf: first, I used an older version of export_fig, and doing some modifications to it I could print the figures to eps, and then run this script on the terminal on the folder where all the (eps) figures are:

for i in *eps
do
  echo "epstopdf $i"
  echo `epstopdf $i`
done

I am not sure exactly what problem you are encountering with the latest export_fig that was solved with the older one. Please be more specific. e.g., "when I ran the command export_fig(...) in the latest version I got an error "..." but when I ran it in export_fig dated 1-1-2015 it was ok"

I believe that I have now incorporated the core of your workaround, namely using the same renderer (in your case, painters) in print2eps as in the main export_fig. Please download the latest version and test. Reopen this issue if the problem is not fully solved.

Hi altmany, I just tested the new commit of "export_fig". It works perfect now! Thanks a lot for looking into the issue! :-)


GATv2

Please provide GATv2 asap. Thanks.

Please provide GATv2 asap. Thanks.

Thanks, will look into it.


Use the PlatformArn property to specify a custom platform for Elastic Beanstalk.

AWS::ElasticBeanstalk::ConfigurationTemplate and AWS::ElasticBeanstalk::Environment
Use the PlatformArn property to specify a custom platform for Elastic Beanstalk.

Is it possible to get a bit more detail on this issue? I'd like to pick it up :)

@KrishanBhasin this should be pretty straightforward. Should just be adding the new property here for the Environment one. Same for the ConfigurationTemplate. Note: run "make test" to ensure it passes pycodestyle/pyflakes.


unsupported operand type(s) for >>: 'str' and 'int'

Hi, am trying to use your Simon and Speck ciphers in my project, however i keep getting the error "TypeError: unsupported operand type(s) for >>: 'str' and 'int' " on line 127 of either cipher. How do i go about that.
PS: My project is about sending encrypted traffic with Modbus-TCP

Please refer to https://github.com/inmcm/Simon_Speck_Ciphers/tree/master/Python/simonspeckciphers#data-types
All inputs must be of type int. If you have str you need to encrypt you can easily convert them:
>>> input_string = "This is 128 bits"
>>> input_int = int.from_bytes(input_string.encode(), 'big')
>>> hex(input_int)
'0x54686973206973203132382062697473'

Hi, sorry to bother you but how can do i convert deciphered int values generated by msg_int = sum([ord(c) << (8 * x) for x, c in enumerate(reversed(msg))]) back into string in python 2.7. Am using you example on [https://github.com/inmcm/Simon_Speck_Ciphers/tree/master/Python/simonspeckciphers#data-types] but stuck on converting the int values back to str


feat(website): add rubic to ecosystem

Closes #14584
@IlyaStor Please reopen an issue when Rubric has been integrated on Taiko testnet. Thank you.

thanks good catch, fixed


WIP: Planner Agent

This is an idea for how agents might maintain a long-running Plan, which we can represent in the UI as a list of checkboxes (similar to Devin)

I want to do some more work on the agent itself, but I think this is a good first pass at a planning mechanism

@rbren another conflict of regression test :(


esp_netif_obj isn't thread safe

I was trying to access the wifi object within a thread but it is throwing this error:
202 |     thread::Builder::new().stack_size(32768).spawn(move || {
    |                                              ^^^^^ `*mut esp_netif_obj` cannot be sent between threads safely
    |
    = help: within `EspWifi`, the trait `Send` is not implemented for `*mut esp_netif_obj`
    = note: required because it appears within the type `EspNetif`
    = note: required because it appears within the type `std::option::Option<EspNetif>`
    = note: required because it appears within the type `EspWifi`
    = note: required because of the requirements on the impl of `Sync` for `std::sync::Mutex<EspWifi>`
    = note: required because of the requirements on the impl of `Send` for `Arc<std::sync::Mutex<EspWifi>>`
    = note: required because it appears within the type `[closure@src/main.rs:202:52: 204:6]`
note: required by a bound in `Builder::spawn`
   --> /Users/username/.rustup/toolchains/esp/lib/rustlib/src/rust/library/std/src/thread/mod.rs:379:12
    |
379 |         F: Send + 'static,
    |            ^^^^ required by this bound in `Builder::spawn`

This happens after I wrapped wifi object inside a mutex and arc.
    let wifi = EspWifi::new(netif_stack, sys_loop_stack, default_nvs).expect("Need wifi");
    let wifi_arc = Arc::new(Mutex::new(wifi));

    thread::Builder::new().stack_size(32768).spawn(move || {
        let status = wifi_arc.clone().lock().unwrap().get_status();
    });

This issue was fixed in esp-idf-svc: 0.37.2. Closing this ticket.

I'm using esp-idf-svc version = "0.45.0" - and get the same error, has it been reintroduced or did I do something wrong?
   Compiling playground-2023-01-15 v0.1.0 (/home/thomas/Development/esp-rs/playground-2023-01-15_esp-idf_v4.4)
error[E0277]: `*mut esp_netif_obj` cannot be shared between threads safely
   --> src/main.rs:174:37
    |
174 |       let timer = timer_service.timer(move || {
    |  _______________________________-----_^
    | |                               |
    | |                               required by a bound introduced by this call
175 | |
176 | |         let do_reconnect = if let Ok(wifi_ro) = wifi.read() {
177 | |             if !wifi_ro.is_connected().unwrap_or(false) {
...   |
193 | |         }
194 | |     })?;
    | |_____^ `*mut esp_netif_obj` cannot be shared between threads safely
    |
    = help: within `EspWifi<'static>`, the trait `Sync` is not implemented for `*mut esp_netif_obj`
    = note: required because it appears within the type `EspNetif`
    = note: required because it appears within the type `EspWifi<'static>`
    = note: required for `RwLock<EspWifi<'static>>` to implement `Sync`
    = note: required for `std::sync::Arc<RwLock<EspWifi<'static>>>` to implement `Send`
note: required because it's used within this closure
   --> src/main.rs:174:37
    |
174 |     let timer = timer_service.timer(move || {
    |                                     ^^^^^^^
note: required by a bound in `EspTimerService::<T>::timer`
   --> /home/thomas/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-svc-0.45.0/src/timer.rs:173:50
    |
173 |     pub fn timer(&self, callback: impl FnMut() + Send + 'static) -> Result<EspTimer, EspError> {
    |                                                  ^^^^ required by this bound in `EspTimerService::<T>::timer`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `playground-2023-01-15` due to previous error

getting this error as well
    --> src/lib.rs:176:6
     |
176  |     .layer(layers);
     |      ^^^^^ `*mut esp_idf_sys::esp_netif_obj` cannot be shared between threads safely

getting this error as well for version 0.47.3:
    --> src/lib.rs:176:6
     |
176  |     .layer(layers);
     |      ^^^^^ `*mut esp_idf_sys::esp_netif_obj` cannot be shared between threads safely

Well... the the ESP IDF Netif API documentation claims that the Netif APIs are thread-safe, but if you look at the actual implementation, I think it is anything but thread-safe.
@igrr Is this indeed a bug in the ESP IDF documentation? While Netif state-changing functions are delegated to the LwIP thread, getters do read directly without LwIP thread delegation or any locking. So I think the Netif code has data races, if you try to use it from multiple threads, i.e. it is not Sync in Rust speak, only Send (as in you can call it from any thread, but not concurrently from multiple threads).

@cs-clarence if you really need a Sync behavior, put the EspNetif instance inside astd::sync::Mutex for now.

@ivmarkov I already tried wrapping it with an Arc<Mutex> but it still has errors
`*mut esp_idf_svc::sys::esp_netif_obj` cannot be shared between threads safely
within `esp_idf_svc::wifi::AsyncWifi<esp_idf_svc::wifi::EspWifi<'_>>`, the trait `std::marker::Sync` is not implemented for `*mut esp_idf_svc::sys::esp_netif_obj`
required for `&esp_idf_svc::wifi::AsyncWifi<esp_idf_svc::wifi::EspWifi<'_>>` to implement `std::marker::Send`

Just use an async mutex to wrap all of AsyncWifi.

It is already async (tokio::sync::Mutex). Anyway, I circumvented around the issue by using tokio::task::spawn_local which will accept a Future that is not Send. I just have to spawn my top level future within a LocalSet. Note that this will ensure that all futures will only be executed on the thread where LocalSet is created, which is probably fine.

It is already async (tokio::sync::Mutex).

If it IS wrapped in tokio::sync::Mutex then it IS Sync already, so I'm not really sure what your problem is, from then on. I think you might be wrapping it in a wrong way and not even realizing it. The error mesage says:
[&esp_idf_svc::wifi::AsyncWifi<esp_idf_svc::wifi::EspWifi<'_>](note: required for `&esp_idf_svc::wifi::AsyncWifi<esp_idf_svc::wifi::EspWifi<'_>>` to implement `std::marker::Send`)

What are you wrapping in tokio::sync::Mutex? AsyncWifi<EspWifi<>> or &AsyncWifi<EspWifi<>>? If the latter, that cannot work, as &AsyncWifi<EspWifi<>> is NOT Send, and therefore, tokio::sync::Mutex<&AsyncWifi<EspWifi<>>> is NOT Sync.

Anyway, I circumvented around the issue by using tokio::task::spawn_local which will accept a Future that is not Send. I just have to spawn my top level future within a LocalSet. Note that this will ensure that all futures will only be executed on the thread where LocalSet is created, which is probably fine.

Yeah. This is like saying that you actually don't need Sync as you'll only do a single thread. Completely fine, and BTW then there are alternatives to tokio. As in async_executor::LocalExecutor and edge_executor::LocalExecutor.

These are my typedefs:
pub type ArcAsyncMutex<T> = std::sync::Arc<tokio::sync::Mutex<T>>;
pub type Wifi = AsyncWifi<EspWifi<'static>>;
pub type ShareableWifi = ArcAsyncMutex<Wifi>;

The ShareableWifi is what I am using for the rest of my code when passing the the Wifi around it is sure to be Send + Sync. Passing them around is not really my problem, it is when it comes to using them.
For example, this code will not compile (note that wifi is ShareableWifi):
if !wifi.lock().await.is_started()? { // this is fine because even though `is_started()` takes `&self` or `&AsyncWifi`, it isn't an async call so no issues with Send and Sync.
  wifi.lock().await.start().await?; // <-- the compiler points the problem here because of the async call
}

Note that start takes in &mut self,  Self is AsyncWifi in this case which is not Sync because &mut AsyncWifi is not Send. So even the the passed wifi is wrapped with Arc<Mutex<>>, the lock() call returns a MutexGuard which is Send in this case, but when you actually use it, the MutexGuard needs to be deref coerced into a &mut AsyncWifi which causes the error:
[&esp_idf_svc::wifi::AsyncWifi<esp_idf_svc::wifi::EspWifi<'_>](note: required for `&esp_idf_svc::wifi::AsyncWifi<esp_idf_svc::wifi::EspWifi<'_>>` to implement `std::marker::Send`)

TL;DR:

This has nothing to do with esp_netif_obj_t not being Sync and again: it should not and cannot be Sync.
The crux was indeed using &AsyncWifi<EspWifi<>> instead of simply AsyncWifi<EspWifi<>> except that this was happening in the esp-idf-svc code, not in your code. :)
I've pushed changes to embedded-svc here and to esp-idf-svc here. If you use these from GIT, your problem should be solved (and  esp_netif_obj_t is still not Sync!)

Longer story:

These are my typedefs:
pub type ArcAsyncMutex<T> = std::sync::Arc<tokio::sync::Mutex<T>>;
pub type Wifi = AsyncWifi<EspWifi<'static>>;
pub type ShareableWifi = ArcAsyncMutex<Wifi>;

The ShareableWifi is what I am using for the rest of my code when passing the the Wifi around so it is sure to be Send + Sync. Passing them around is not really my problem, it is when it comes to using them.
For example, this code will not compile (note that wifi is ShareableWifi):
if !wifi.lock().await.is_started()? { // this is fine because
                                                          // even though `is_started()`
                                                          // takes `&self` or `&AsyncWifi`,
                                                          // it isn't an async call
                                                          // so no issues with Send and Sync.

  wifi.lock().await.start().await?; // <-- the compiler points the problem here
                                                       // because of the async call
}

Yes, I agree with all of the above. That was the issue for me too, and yeah, it should work even if esp_netif_obj_t is not Sync.

Note that start takes in &mut self, Self is AsyncWifi in this case which is not Sync because &mut AsyncWifi is not Send.
So even though the passed wifi is wrapped with Arc<Mutex<>>, the lock() call returns a MutexGuard which is Send in this case, but when you actually use it, the MutexGuard needs to be deref coerced into a &mut AsyncWifi in the start() call which causes the error:

I don't think this is correct. I think you might be having a too literal image of how futures are desugared...

Anyway, it all comes back to *mut esp_idf_sys::esp_netif_obj not being thread safe which also affects its dependents.

Fortunately not completely. Or else how would this code compile now?

Tried the new commits and can confirm that it works. Thanks!


Allow a custom fetch function to be provided in props

I considered how to best customize the API requests and figured that allowing a custom fetch function would be the most flexible and clean way.
If this new prop isn't present, the library will continue to function as before.
For example, it becomes easy to modify the URL parameters:
  <ReactAutosuggestGeocoder
    fetch={(resource, options) => {
      return fetch(resource + "&key=value", options);
    }
    // ...
  />

@tuukka this is supposed to be integrated with pelias. Did you want to integrate this with something else?

Hi @generalpiston! Yes and no: I have to send the requests to a Pelias instance which is  behind a cloud API gateway that looks for the API key under a different parameter name. Also, I want to rewrite the autocomplete requests to go to the search endpoint as it works better in my use case.
Going forward, more tweaks may be needed especially as I don't control the instance.

@generalpiston Thank you! I opened another pull request with some housekeeping in case it can help when making a release: #15


Error in 'getSelectionStyles' method

While collecting styles for the current selection toggled styleis being merged to selection styles and it causing errors inthe following scemario :
Set default style with size to 16 for whole editor and assign keepStyleOnNewline to true.    Now enter text and change the font size to any size other than 16. Now , Font size button shows text size as 16 ,though its different than 16.
the toggledStyle is being merged with the actual size attribute and we always get 16 as size value due to this merge
Style getSelectionStyle() {
   return document.collectStyle(selection.start, selection.end - selection.start).mergeAll(toggledStyle);
 }

We can solve this by updating _didChangeEditingValue in quill header widget as follows
    dynamic attribute;
    if (widget.controller.keepStyleOnNewLine == true) {
      final start = widget.controller.selection.start;
      final end = widget.controller.selection.end;
      attribute = widget.controller.document
          .collectStyle(widget.controller.selection.start, end - start)
          .attributes[widget.attribute.key];
    } else {
      attribute = _selectionStyle.attributes[widget.attribute.key];
    }
    if (attribute == null) {
      setState(() => _currentValue = _defaultDisplayText);
      return;
    }
    final keyName = _getKeyName(attribute.value);
    setState(() => _currentValue = keyName ?? _defaultDisplayText);
  }```


Halow issues when rendering with SDR lighting?

It seems there's a halo around render when using a png image to load.

Possibly this is a mipmap related issue?

Removing mipmaps and mipmap use fixes the issue.


Email config doesn't incorporate .env items

A line in .env such as
email.SMTPPort = 587

Would not be incorporated into the Email configuration
Caused by Config\Email not extending  CodeIgniter\Config\BaseConfig

This makes sense to me and is problem just due to porting the current library straight from CI3 but I'd like @jim-parry to take a look too since he handled that.


Files does not allow Ejection of mounted virtual hard disk drives because it thinks they are Fixed Disk Drives

Description
I cannot eject a mounted virtual hard disk drive in Files because the Eject command is not shown in contextual menus when right-clicking on the mounted drive.
Steps To Reproduce

Create a virtual hard disk drive VHDX file - as shown here.
Double-click the VHDX file to mount the drive.
In the File "Home" view, right-click the drive to view the contextual menu.
Note that the Eject command is not present.
Choose Properties from the contextual menu and note that Files shows the drive type as Fixed Disk Drive.

Requirements
I expect Files to who the Eject command for all mounted drives, including mounted virtual hard disk drives.
Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3324
Log File
not applicable

Thanks for the feedback, We're tracking this in #10154 . You can check there or click subscribe in the right sidebar for updates.