Flutter run crashes while initializing gradle

Steps to Reproduce

Just made a new project with flutter
flutter doctor executed with no issues
flutter run would crash at initializing gradle

**Target Platform:**Android
**Target OS version/browser:**Android Pie
Devices: Redmi 6
Logs

Log of flutter run --verbose
The system cannot find the path specified.
[  +27 ms] executing: [D:\Softwares\flutter\] git log -n 1 --pretty=format:%H
[ +131 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[   +3 ms] 68587a0916366e9512a78df22c44163d041dd5f3
[   +1 ms] executing: [D:\Softwares\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +213 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[   +1 ms] v1.9.1+hotfix.6-0-g68587a091
[  +47 ms] executing: [D:\Softwares\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +171 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [D:\Softwares\flutter\] git ls-remote --get-url origin
[  +88 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +134 ms] executing: [D:\Softwares\flutter\] git rev-parse --abbrev-ref HEAD
[  +98 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +139 ms] executing: C:\Users\binab\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +55 ms] Exit code 0 from: C:\Users\binab\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[        ] List of devices attached
           176898367d26           device product:cereus model:Redmi_6 device:cereus transport_id:3
[  +16 ms] C:\Users\binab\AppData\Local\Android\sdk\platform-tools\adb.exe -s 176898367d26 shell getprop
[ +268 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +142 ms] ro.hardware = mt6765
[        ] ro.build.characteristics = default
[  +62 ms] Launching lib\main.dart on Redmi 6 in debug mode...
[  +17 ms] Initializing gradle...
[   +2 ms] Using gradle from D:\Projects\flutter_app3\android\gradlew.bat.
[ +161 ms] executing: D:\Projects\flutter_app3\android\gradlew.bat -v
[+1066 ms]
                    ------------------------------------------------------------
                    Gradle 4.10.2
                    ------------------------------------------------------------

                    Build time:   2018-09-19 18:10:15 UTC
                    Revision:     b4d8d5d170bb4ba516e88d7fe5647e2323d791dd

                    Kotlin DSL:   1.0-rc-6
                    Kotlin:       1.2.61
                    Groovy:       2.4.15
                    Ant:          Apache Ant(TM) version 1.9.11 compiled on March 23 2018
                    JVM:          1.8.0_202-release (JetBrains s.r.o 25.202-b03)
                    OS:           Windows 10 10.0 amd64

                    The system cannot find the path specified.
[  +12 ms] "flutter run" took 2,057ms.

Sending crash report to Google.
Crash report sent (report ID: 09f56e5c76fb66cf)
Oops; flutter has exited unexpectedly.

Crash report written to D:\Projects\flutter_app3\flutter_02.log;
please let us know at https://github.com/flutter/flutter/issues.

Log of flutter analyze
The system cannot find the path specified.
Analyzing flutter_app3...
No issues found! (ran in 36.8s)

Log of flutter doctor -v
The system cannot find the path specified.
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Windows, locale en-US)
    • Flutter version 1.9.1+hotfix.6 at D:\Softwares\flutter
    • Framework revision 68587a0916 (8 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\binab\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 41.0.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code, 64-bit edition (version 1.39.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.6.0

[√] Connected device (1 available)
    • Redmi 6 • 176898367d26 • android-arm • Android 9 (API 28)

• No issues found!

Here is the log of file flutter_01.log while trying flutter run from terminal
`Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run
exception
ProcessException: ProcessException: Process "D:\Projects\flutter_app3\android\gradlew.bat" exited abnormally:

Gradle 4.10.2
Build time:   2018-09-19 18:10:15 UTC
Revision:     b4d8d5d170bb4ba516e88d7fe5647e2323d791dd
Kotlin DSL:   1.0-rc-6
Kotlin:       1.2.61
Groovy:       2.4.15
Ant:          Apache Ant(TM) version 1.9.11 compiled on March 23 2018
JVM:          1.8.0_202-release (JetBrains s.r.o 25.202-b03)
OS:           Windows 10 10.0 amd64
The system cannot find the path specified.
Command: D:\Projects\flutter_app3\android\gradlew.bat -v
#0      runCheckedAsync (package:flutter_tools/src/base/process.dart:259:7)
<asynchronous suspension>
#1      _initializeGradle (package:flutter_tools/src/android/gradle.dart:300:9)
<asynchronous suspension>
#2      _ensureGradle (package:flutter_tools/src/android/gradle.dart:281:37)
<asynchronous suspension>
#3      _readGradleProject (package:flutter_tools/src/android/gradle.dart:192:31)
<asynchronous suspension>
#4      _gradleAppProject (package:flutter_tools/src/android/gradle.dart:112:37)
<asynchronous suspension>
#5      getGradleAppOut (package:flutter_tools/src/android/gradle.dart:106:29)
<asynchronous suspension>
#6      AndroidApk.fromAndroidProject (package:flutter_tools/src/application_package.dart:164:23)
<asynchronous suspension>
#7      ApplicationPackageFactory.getPackageForPlatform (package:flutter_tools/src/application_package.dart:46:32)
<asynchronous suspension>
#8      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:359:56)
<asynchronous suspension>
#9      HotRunner.run (package:flutter_tools/src/run_hot.dart:254:39)
<asynchronous suspension>
#10     RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:472:37)
<asynchronous suspension>
#11     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:490:18)
#12     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#13     _rootRunUnary (dart:async/zone.dart:1132:38)
#14     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#18     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#19     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#20     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#21     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#22     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#23     _rootRunUnary (dart:async/zone.dart:1132:38)
#24     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#25     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#27     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#28     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#29     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#30     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#31     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
#32     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#33     _rootRunUnary (dart:async/zone.dart:1132:38)
#34     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#35     _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#36     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#37     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#38     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#39     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:552:7)
#40     _rootRun (dart:async/zone.dart:1124:13)
#41     _CustomZone.run (dart:async/zone.dart:1021:19)
#42     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#43     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#44     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#45     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#46     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#47     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

flutter doctor
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Windows, locale en-US)
    • Flutter version 1.9.1+hotfix.6 at D:\Softwares\flutter
    • Framework revision 68587a0916 (8 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\binab\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[✓] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 41.0.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[✓] VS Code, 64-bit edition (version 1.39.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • Redmi 6 • 176898367d26 • android-arm • Android 9 (API 28)

• No issues found!

@Binabh , I already had problems with gradle, I would recommend you to use the latest version of AndroidStudio and create your Flutter project through it.

@joaovictorpsantos Thank you for replying.
I am using latest android studio to build and run flutter project. I have even uninstalled and installed everything including the Java, flutter, android studio, sdk etc. But no luck at all. It has been like week and I was compelled to post here in search of any help.

It looks like  D:\Projects\flutter_app3\android\gradlew.bat is missing according to the error message, can you confirm that this is the case?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.

Unfortunately I had to change my OS due to some other issue. Along with my installed apps everything was deleted and while reinstalling everything again I worked.
Also never received notification about the discussion in this issue so, replying this late.
Thanks to everyone for the support.


Fixed some things in this project

Why are you putting sudo in the install script and then telling the user not to run with elevated permissions?
Here, I fixed some things for the project.
#!/usr/bin/env bash

RED='\e[0;31m'     # Red
export RED
GREEN='\e[0;32m'   # Green
export GREEN
BLUE='\e[0;34m'    # Blue
export BLUE
NC='\e[m'          # Color Reset
export NC

if [ "$UID" == 0 ]; then
    bash -c "python -m pip install -r requirements.txt"
    bash -c "python -m playwright install"
    echo -e "${BLUE}[+]${GREEN} Installation is finished. You can run 'run.sh' file now.${NC}"
else
    echo -e "${RED}[-]Install Error, Check if you have the latest python and pip installed, then run this install file again with sudo${NC}"
    exit
fi

and run.sh
#!/usr/bin/env bash

echo -e "Moriarty Project Remastered V4.1.1"
echo -e "Github:https://github.com/AzizKpln/Moriarty-Project"
echo -e "Linkedin:https://www.linkedin.com/in/aziz-k-074604170/\n"

echo -e "Project is currently running.
bash startBrowser.sh &
bash -c "python3 MoriartyProject.py"

I love trolling people so that's why

lol


Review bar chart code

Task to do
Take a look at the code in the Top20ishBarChart branch.
Reason
Let's talk through and appreciate some mistakes together next week!  Jessica and Eric, I've added your name as comments on particular things so I don't forget to review with you next week.
Result
What's the result of doing this task

Steps to take

[ ] None
[ ] Step 1
[ ] Step 2

This looks like a good resource for figuring out how to annotate the bar chart: https://www.cararthompson.com/talks/rl-cambridge-beautifully-annotated/

This would be easier to review as a pull request.  One of the ways I showed how to make a pull request was using the R code usethis::pr_push() when working on your branch in RStudio.


Switched to PAT for build Workflow

Current dependencies on/for this PR:

main

PR #24   👈

This comment was auto-generated by Graphite.


feature: Paragraph.delete()

In order to modify an existing document
As a developer using python-pptx
I need a way to delete a paragraph
Need to account for the possibility the paragraph contains the last reference to a relationship, such as might a hyperlink or inline picture.

Would like to see this available for python-docx. It would be very useful in populating a document full of placeholders given that it would allow the placeholder paragraph to be deleted if the value to populate the placeholder is None.

You should be able to do this for the simple case with this code:
def delete_paragraph(paragraph):
    p = paragraph._element
    p.getparent().remove(p)
    p._p = p._element = None

Any subsequent access to the "deleted" paragraph object will raise AttributeError, so you should be careful not to keep the reference hanging around, including as a member of a stored value of Document.paragraphs.
The reason it's not in the library yet is because the general case is much trickier, in particular needing to detect and handle the variety of linked items that can be present in a paragraph; things like a picture, a hyperlink, or chart etc.
But if you know for sure none of those are present, these few lines should get the job done.

That works! Thank you!!

Glad it worked out Jeff :)

Steve, thanks so much. I was having trouble after merging cells in a table which left extra empty paragraphs. Used your function and worked great, which let the cells shrink back by getting rid of empty space. Used it in a nested loop as follows:
    delete_paragraph(table.rows[rx].cells[cx].paragraphs[-1])

thanks - wayne (retired HW designer, having fun with python while hopefully helping out the non-profit I volunteer for)

Hi @scanny
Why not implement the feature and close the issue?

You should be able to do this for the simple case with this code:
def delete_paragraph(paragraph):
    p = paragraph._element
    p.getparent().remove(p)
    p._p = p._element = None

Any subsequent access to the "deleted" paragraph object will raise AttributeError, so you should be careful not to keep the reference hanging around, including as a member of a stored value of Document.paragraphs.
The reason it's not in the library yet is because the general case is much trickier, in particular needing to detect and handle the variety of linked items that can be present in a paragraph; things like a picture, a hyperlink, or chart etc.
But if you know for sure none of those are present, these few lines should get the job done.

What's the difference compared to this solution?
def delete_element(el):
    el._element.getparent().remove(el._element)

Well, in fact, on review, there is an error in that code. The last line should be:

delete_element and el are misleading name choices in my view. A Paragraph object is an element-proxy object which composes an element object; it is not itself an element. So in general we reserve the name element and its derivatives for the XML element objects.

Well, in fact, on review, there is an error in that code. The last line should be:
paragraph._p = paragraph._element = None

But as for the rest of it:

delete_element and el are misleading name choices in my view. A Paragraph object is an element-proxy object which composes an element object; it is not itself an element. So in general we reserve the name element and its derivatives for the XML element objects themselves.

The core code is essentially the first two lines combined into one, so that's a matter of taste; the operation is the same. I would personally probably choose something like yours in my own code, but for someone learning, sometimes breaking things down more step-by-step eases figuring out what the underlying process is, like first get the element from the proxy, then do this thing with the element, etc.

The (previously incorrect) last line is setting the _p and _element attributes of the "host" Paragraph proxy object to None so the now-deleted (or actually only orphaned) element is not accidentally accessed in later code and also is freed up for garbage collection. Removing an element in lxml does not delete it, it only breaks its relationship with its parent. So the original Paragraph object could still make changes to it and the user might puzzle for quite a while to figure out why their code wasn't working. So you can think of it as preventative medicine.

Thanks for this @scanny
I suggest you to edit the original previously incorrect last line, because that's the answer which is still linked by you from Stackoverflow.

Steve, thanks so much. I was having trouble after merging cells in a table which left extra empty paragraphs. Used your function and worked great, which let the cells shrink back by getting rid of empty space. Used it in a nested loop as follows:
    delete_paragraph(table.rows[rx].cells[cx].paragraphs[-1])

thanks - wayne (retired HW designer, having fun with python while hopefully helping out the non-profit I volunteer for)

I have this same problem. However, when I use the delete_paragraph function with the corrected last line, the resulting document throws an error when opened that reads "Word found unreadable content in document_name.docx. Do you want to recover the contents of this document?" Clicking yes works to open the document, but I'm trying to figure out why deleting the paragraphs is causing this problem.
I think it might be related to the fact that this paragraph exists in a merged cell, but it sounds like @waynerth didn't experience this problem.
Any thoughts?

@mrufsvold each cell must contain at least one block item, so a paragraph or a table. If you get rid of all the paragraphs, that leaves the cell in an invalid state. You might want to delete paragraphs[1:] or something like that, just be sure there's at least one left.

@scanny That makes complete sense! Thanks for your quick reply. I'll give that a shot when I get back to that project!

It worked!

Glad you got it working @mrufsvold :)

The reason it's not in the library yet is because the general case is much trickier, in particular needing to detect and handle the variety of linked items that can be present in a paragraph; things like a picture, a hyperlink, or chart etc.

@scanny Does that mean that if I delete a paragraph containing a link, my document will/might crash because the linked stuff is still kept/referenced somewhere else in the document ... or something alike?

It depends a little on what you mean by link, but deleting is not so much a problem in practice as copying is.
If you have a hyperlink, for example, in a paragraph, that hyperlink element in the XML contains a relationship reference (like "rId7") to a Relationship element in the .rels "file" associated with the part containing the paragraph (maybe the document-part most commonly). That Relationship element contains the URL of the hyperlink and that's the extent of the relationship (a so-called "external" relationship). If you delete the paragraph but don't delete the Relationship element in the .rels collection that Relationship element will hang around and be saved with the document. This actually shouldn't cause a problem and I don't believe by itself represents a file "corruption" that might give rise to a so-called "repair error" when opening the file.
If you have something "bigger", like say an image embedded in the paragraph (a so-called inline-shape), and you delete the paragraph without attending to the now-dangling relationship, then both the Relationship element in the .rels _as well as the Image-part it refers to will be retained in the document. That bloats the file a little but again, shouldn't cause a problem and may or may not give rise to a "repair-error" on opening the document. You'd have to experiment and behavior might vary by client, like maybe PowerPoint doesn't complain but LibreOffice does or vice-versa.
So deleting a paragraph is worth trying if you don't mind a little wasted space.
But if you copy a paragraph and don't re-establish the relationships (which may need to change "name", e.g. "rId7" -> "rId9") and also copy over target part(s) (e.g. the image in the example above) then that will definitely trigger a repair error on loading the document because Word can't find the image to render in that paragraph.

I think deleting is working for me, at least for the tests I made with many small controlled documents.
Now with a big document (where I do lots of things, not just deleting paragraphs) I am getting errors when opening it.
Word has to correct it and save, but I wonder if I have any chances of finding out the error source:

Do you know of any way to make Word report where the "unreadable content" is?
Reading again your last comment, I wonder what you exactly mean with copying a paragraph. Could you post a simple code example? (maybe I am unconsciously doing it since I reuse quite a few functions made by some other people).

Thanks

Wow, thank you. It works!!!


integrate sqlFormater & add shortcut alt+r for it

integrate sqlFormater & add shortcut alt+r for it

Oh my noob code，
but  I'm taking it as a compliment.
i almost finished my own mybatis-generator-tool project,but i learn a lot from your sqlpad
about dealing with datasource,that's very cool~

Please do take it as a compliment! I'm very impressed you've jumped in and added the feature yourself. Thanks for your kind words and contribution :)


feat: new example specification package

This PR introduces a new package for our OpenAPI example specification. This is great, because it’s easier to use the example specification  in different places, it fits well in our existing pipelines (e.g. validation, testing) and it’s versioned then.
Say hello to @scalar/galaxy! :)
Usage
CDN
⚠ works once released

Version
Format
URL

Latest
JSON
<EMAIL_ADDRESS>

Latest
YAML
<EMAIL_ADDRESS>

OpenAPI 3.1
JSON
<EMAIL_ADDRESS>

OpenAPI 3.1
YAML
<EMAIL_ADDRESS>

Import as object
import galaxy from<EMAIL_ADDRESS>
Import as JSON string
import galaxy from '@scalar/galaxy/latest.json?raw'

Import as YAML string
import galaxy from '@scalar/galaxy/latest.yaml?raw'

Import specific OpenAPI version
import galaxy from<EMAIL_ADDRESS>

can merge once conflicts are fixed up ✨


init_db() not called during startup?

I noticed that in the article init_db was being called in main.py but in the current version that's not happening. I combed through all the files figuring out if i missed it somewhere. Is there a reason or was just missed?
@app.on_event("startup")
async def on_startup():
    await init_db()

Isn't init_db() removed in favor of using alembic?


Made pixi 5 conversion of scissor mask implementation.

Description of change

Pre-Merge Checklist

[x] Tests and/or benchmarks are included
[x] Documentation is changed or added
[x] Lint process passed (npm run lint)
[x] Tests passed (npm run test)

Codecov Report

Merging #6024 into dev will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##              dev    #6024      +/-   ##
==========================================
- Coverage   70.53%   70.52%   -0.01%
==========================================
  Files         208      208
  Lines       10533    10534       +1
==========================================
  Hits         7429     7429
- Misses       3104     3105       +1

Impacted Files
Coverage Δ

packages/graphics/src/Graphics.js
69.1% <0%> (ø)
:arrow_up:

packages/core/src/mask/MaskSystem.js
26.56% <0%> (-0.43%)
:arrow_down:

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 b749ffb...8a96bfa. Read the comment docs.

You rock! thanks for this PR! Do you have an example of this working with scissor rect we I can check out? Cheers!

ping @J00nz, could you please provide a live example of this feature working?

I will deal with that as soon as I'm available :)

scratch that, noticed that enableScissor was false :D


Feature/inline jda builder

Closes MinnDevelopment/jda-ktx#8
Adds an idiomatic way of creating the JDA instance in Kotlin.
Simple to use, looks clean.
Usage:
val jda = DefaultJDA("[your token here]") {
    memberCachePolicy = MemberCachePolicy.ONLINE or MemberCachePolicy.VOICE
    chunkingFilter = ChunkingFilter.NONE
    compression = Compression.ZLIB
    largeThreshold = 250
}

wait meant to open this on my repo lmfao


Apple Mac OS X Find-By-Content .DS_Store Web Directory Listing

Description
It is possible to read a '.DS_Store' file on the remote web server.
This file is created by MacOS X Finder; it is used to remember the icons position on the desktop, among other things, and contains the list of files and directories present in the remote directory.
Note that deleted files may still be present in this .DS_Store file.
Solution

Configure your web server so as to prevent the download of .DS_Store files

Output
http://<IP_ADDRESS>/.DS_Store
reveals the following entries:
hosted.html
upload
assets
app-2.5.1.js
images
css
License.md
downloading
README.md
index.html
Risk Factor: Medium
CVSS v2.0 Base Score: 5.0
CVSS v2.0 Temporal Score: 3.7
CVSS v2.0 Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N
CVSS v2.0 Temporal Vector: CVSS2#E:U/RL:OF/RC:C
https://nvd.nist.gov/vuln/detail/CVE-2001-1446

.DS_Store is already added to gitignore.  How to reproduce this issue? Which web server you used?

Updated docker image, can you please check it?
Docker images run better on Linux Platforms, including your NAS. But if you install docker on macOS or Windows, you may see poor performance. I asked this on Docker forums, and they told me macOS and Windows support is for Development purposes only. For Production, you need to use any Linux Platform.
The same Story goes for Windows NGINX. Nginx uses only one worker even if you specify n number of worker processes. They will show in Task Manager, but the system will only use one. I got this information directly from the Nginx website.

I'm using Docker on Linux. The issue persists. The .DS_Store file is still in the nginx html root and downloadable remotely.


mac-9 lost external connection phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
lost external connection phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting machine to restore connection.


Fix contextual menu command and command-line

Xcode always passes targets as arguments to plugin, thats why a condition !arguments.isEmpty is always true, and final command is incorrect. Also have added missing DERIVED_SOURCES_DIR environment support.
Fixes #8

@djbe can you take a look and merge this feature asap?

@djbe 🚀

Interesting...looks like others have found the same missing DERIVED_SOURCES_DIR issue as I have. What is blocking this PR from being merged?


Updating confirmation page

Updating confirmation page to match latest prototype: Confirmation page
Ticket details found here: IDVA5

CI: No security warnings found


Documentation needs to be updated with new install method

With HACS deprecating NetDaemon, the documentation for installing this automation needs to be updated.
https://hacs.xyz/docs/categories/netdaemon_apps/
https://netdaemon.xyz/docs/v3/started/hacs/

Removed this repo from HACS.


Upgrade jQuery

I noticed that this library is using old jQuery which is not supported anymore. Is it possible to upgrade jQuery. I am more than happy to create PR for it ,however I will need some guidance.

I think it would be nice if all assets were the newest version of bootstrap and angular. But how difficult would it be to implement?


Directive for both v-bind and v-on

What problem does this feature solve?
I have several cases of components with different views, the children of these components are almost the same, but have some key differences, I want my code to be DRY and give the implementation in a base Component
Imagine i have a component with this template:
<template>
  <component is="myView" :textOptions="textOptions" />
</template>

Whatever view is chosen, there's always a text component inside that uses these textOptions like so:
<TextComponent v-bind="textOptions.props" v-on="textOptions.listeners" :otherProps=" 'other' " />

What does the proposed API look like?
I propose a new directive (which I'm calling v-all for now)
 <TextComponent v-all="textOptions" />

You already commented on the issue that was closed #9958
You may be interested in https://github.com/vuejs/rfcs/pull/26 for v3
For v2, this doesn't happen often enough to introduce a new template syntax and can already be solved in a slightly more verbose way


Time saver plugin

Hey, I just made a Pull Request!
Introducing timeSaver plugin. It does some analysis graphs and charts that helping your management and team how using scaffolder templates can bring value and savings to the onboarded Teams!!!
It is declarative so it requires to put some savings data for each template execution into the template definition.  Checkout README

:heavy_check_mark: Checklist

➖  A changeset describing the change and affected packages. (more info) // please let me know if this is needed on plugin init
✔  Added or updated documentation
✔  Tests for new functionality and regression tests for bug fixes
✔  Screenshots attached (for UI changes)
✔ All your commits have a Signed-off-by line in the message. (more info)

Please let me know if any changes are needed and what else should be accomplished moving forward publishing this plugin.

Hi @tduniec, this looks pretty awesome!
Just wanted to give you a heads up that there is currently a freeze on accepting new plugins while the Community repo is setup for them, more details here: https://github.com/backstage/backstage/issues/20266. You could host this on a public GitHub repo and publish it to NPM in the mean time? Then add it to the Plugin Directory by following the instructions here: https://backstage.io/docs/plugins/add-to-directory

Hi @awanlin,
yes I have seen your comment.
So it means I should close the PR and keep it under my repo right ?
How then we can run all the pipelines to validate the code ?

Yes, for the time being it would be best to close the PR and create this in a public repo. You would then have your own CI/CD pipeline that would handle validation etc.
The work to create a Community is just starting so I don't have any ETA yet on that


Reproduce passage ranking and document ranking experiments

Reproduced anserini passage ranking and document ranking experiments for the screening exercise

Environment:
$ java --version
openjdk <IP_ADDRESS> 2020-11-04 LTS
OpenJDK Runtime Environment Zulu11.43+55-CA (build <IP_ADDRESS>+1-LTS)
OpenJDK 64-Bit Server VM Zulu11.43+55-CA (build <IP_ADDRESS>+1-LTS, mixed mode)

$ mvn --version
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /opt/homebrew/Cellar/maven/3.8.4/libexec
Java version: <IP_ADDRESS>, vendor: Azul Systems, Inc., runtime: /Users/kevinwang/opt/anaconda3/envs/pyserini
Default locale: en_CA, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"

Issues encountered:

Downloading MS MARCO document dataset took a very long time and sometimes the command would timeout

Using the alternative mirror link was significantly faster

I'm getting "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository." when I navigate to the URL in your commit... you want to use the commit id of the upstream source and not your own local commit.

I've fixed the commit URL. Let me know if it looks right now.


Scroll startPosition is not working on Android

Describe the bug
Scroll start-positions are ignored in Android
To Reproduce

[x] I have tested this issue on the latest Detox release and it still reproduces

Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.

Create a submit button with position: absolute in front of a scroll-view
Write detox test to scroll on the scroll-view
Scrolling does not happen because detox keeps hitting the button instead of the scroll-view

Demo project: https://github.com/sbycrosz/Detox/commit/db368ccee4403f87d4eec6d28ecc4b97bb35f8c5
Expected behavior
Scrolling should happen
Screenshots

Environment (please complete the following information):

Detox: 14.0.0
React Native: 59.9
Node:8.11.1
Device: Android Emulator
OS: OSX 10.14.5

Device and Verbose Detox Logs
detox[98320] INFO:  [DetoxServer.js] server listening on localhost:56653...
detox[98320] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:56653
detox[98320] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=530623a2-6803-014c-4361-12040edce896
detox[98320] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=530623a2-6803-014c-4361-12040edce896
detox[98320] DEBUG: [exec.js/EXEC_CMD, #0] /Users/sam/Library/Android/sdk/emulator/emulator -list-avds --verbose
detox[98320] DEBUG: [exec.js/EXEC_CMD, #1] /Users/sam/Library/Android/sdk/platform-tools/adb  devices
detox[98320] DEBUG: [exec.js/EXEC_SUCCESS, #1] List of devices attached
emulator-5554	device

detox[98320] DEBUG: [exec.js/EXEC_CMD, #2] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "getprop dev.bootcomplete"
detox[98320] DEBUG: [exec.js/EXEC_CMD, #3] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "getprop ro.build.version.sdk"
detox[98320] DEBUG: [exec.js/EXEC_CMD, #4] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
detox[98320] DEBUG: [exec.js/EXEC_CMD, #5] /Users/sam/Library/Android/sdk/build-tools/28.0.3/aapt dump badging "/Users/sam/works/detox/examples/demo-react-native/android/app/build/outputs/apk/debug/app-debug.apk" | grep -e "package: name="
detox[98320] DEBUG: [exec.js/EXEC_CMD, #6] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list packages com.detox.rn.example"
detox[98320] DEBUG: [exec.js/EXEC_CMD, #7] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall com.detox.rn.example
detox[98320] DEBUG: [exec.js/EXEC_CMD, #8] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list packages com.detox.rn.example.test"
detox[98320] DEBUG: [exec.js/EXEC_CMD, #9] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall com.detox.rn.example.test
detox[98320] DEBUG: [exec.js/EXEC_CMD, #10] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -r -g -t "/Users/sam/works/detox/examples/demo-react-native/android/app/build/outputs/apk/debug/app-debug.apk"
detox[98320] DEBUG: [exec.js/EXEC_CMD, #11] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -r -g -t "/Users/sam/works/detox/examples/demo-react-native/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk"
detox[98320] DEBUG: [exec.js/EXEC_CMD, #12] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "am force-stop com.detox.rn.example"
detox[98320] DEBUG: [exec.js/EXEC_CMD, #13] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "date +\"%m-%d %T.000\""
detox[98320] DEBUG: [exec.js/EXEC_CMD, #14] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list instrumentation"
detox[98320] DEBUG: [exec.js/SPAWN_CMD, #15] [pid=98359] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:56653 -e detoxSessionId 530623a2-6803-014c-4361-12040edce896 -e debug ZmFsc2U= com.detox.rn.example.test/androidx.test.runner.AndroidJUnitRunner
detox[98320] DEBUG: [exec.js/EXEC_CMD, #16] /Users/sam/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.detox\.rn\.example$\""
detox[98320] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=530623a2-6803-014c-4361-12040edce896)
detox[98320] DEBUG: [DetoxServer.js/LOGIN] role=testee, sessionId=530623a2-6803-014c-4361-12040edce896
detox[98320] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=testee, sessionId=530623a2-6803-014c-4361-12040edce896
  Example

My application has a button at the bottom but scroll action does not follow the set startPosition. Therefore, cannot perform the scroll action. Please help to fix this bug soon
Environment:

Detox: 14.0.2
React Native: 0.59.8
Device: Android Emulator (Nexus_6_API_28)

I have same issue @d4vidi .

My android simulator stuck here (Detox 14.0.2, RN 0.58.9)

I have the same this issue, the action scroll works well on iOS, but on Android, it does not.

@sbycrosz please refer to the startPositionX and startPositionY parameters for the scroll() method, which is now supported on Android (Detox 14.3.4).

Thanks @d4vidi ! I will upgrade my project to use the latest detox soon!

Hi @d4vidi , I was updated the lastest version as your recommended, but this issue still happened
When I run, It shows message error, Please help check again.

No such accessible method: scrollInDirection() on class: com.wix.detox.espresso.DetoxAction"

@ShiroFei this is because in this version we changed the contract between the JS and native. Be sure to recompile the native code (i.e. test APK) from scratch.


AVR Request Table: Fix Typo on Tutorial page

Validation is misspelled in the first sentence on this page
Assignee: Ellen

@ChuckKollar This is something for the antibody repo. Closing the issue in this repo.


⚠ GitLab Server has degraded performance

In d253614, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11493 ms

Resolved: GitLab Server performance has improved in ed37ff1.


Slow speed compare to desktop client

Speedtest cli can achive onlyu about 40% less than the desktop client.

upload is 3,7 while on the desktop is almost 40...

My one is 2.1.2 on Windows

Debian 10


Outdated docker image

Hi,
thanks for sharing and maintaining this.
It seems that your related docker image is outdated ( https://hub.docker.com/r/lovoo/jenkins_exporter/ ). I've created temporary images ( https://hub.docker.com/r/tolleiv/jenkins_exporter/ ) - but of course it would be much nicer to have your's available and updated.
Cheers

Thx for the hint. I will check that next week.

any news on that ? the docker image is still outdated.

@gcmalloc you can build your own image with Dockerfile in this repository.
the image in docker hub is outdated for a long time.

The lovoo image is still completely broke. The tolleiv image is working.

Any news on this ?

Hei. We cannot support this Jenkins exporter anymore. Since we migrated from jenkins to another ci solution we cannot test pull requests or the docker image. It would be great when someone will create a fork and take care of the exporter and the related stuff like docker image and pr´s. Sorry for that.

Hi all, Automated builds should help you solve this.


⚠ Bofrost.de has degraded performance

In e88e498, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 751 ms

Resolved: Bofrost.de performance has improved in 988caae after 9 minutes.


add installation documentation for heroku using buildpacks

Added documentation on Readme to help Heroku users.

Coverage remained the same at 100.0% when pulling 63e23c06c81fbabc33b15b7fb9d0c73b9a6ecd8d on serodriguez68:add-heroku-install-documentation into ca8d3e55622bc4b3d6f5c5c8fcd33253d3d0e38a on jtescher:master.


Alarm not creating on ALB

When I set the following tags, on an ALB, I should get an alarm created with the default values as per the README.md.
autoalarm:alb-4xx-count-anomaly =  //
autoalarm:alb-4xx-count-anomaly =  /
autoalarm:alb-4xx-count-anomaly =

This is fixed in version 1.5.1 and currently in main.


Add Nabla axes for Extrusion Depth and Edge Highlight

Closes #58 and #60
cc @justvanrossum

This needs images before merging.

How mandatory is that default value? I hope not at all...

Correct, not at all, we have per-family override ability, but the system requires a library-wide default

How mandatory is that default value?

It doesn't have to be your axis default in the font, it's just what you get from our API by default. If that's a bad default for your family it can be overriden per family.
That said ... @davelab6 having the only family that implements an axis override the default makes me wonder if it might be the wrong default? Maybe by default we should have a little extrusion and highlighting?

Since it always need to be overridden the default is meaningless.

please suggest a value

If you have these axes I would think the default should show them off a little, such as on fonts.google home or specimen. On that basis my naive thought would be we pick some non-zero value that makes sense for Nabla, ideally one that we think might possibly also make sense if someone else implements these axes.
@justvanrossum what default would you choose on that basis?

In shear_and_extrude.py the nabla defaults are 50% of the range implemented
https://github.com/justvanrossum/nabla/blob/a1a463e3c8c285675331dca3d7f794a1ea23f75e/scripts/shear_and_extrude.py#L463-L487

the default should show them off a little, such as on fonts.google home or specimen

Yes, the default from the font is perfect for that. A non-font-specific default doesn't make sense.

I've updated the PR with the Nabla values - @rsheeter does this now look good?

LGTM. Is the image/description review a blocker for merging? - would love to have fully functional Nabla on dev.

LGTM. Is the image/description review a blocker for merging? - would love to have fully functional Nabla on dev.

We'll need to add a single fallback to each new registration configuration (like https://github.com/googlefonts/axisregistry/pull/66/files) to land this without the images and description review

If there's anything specific that Arthur or I can do, please let us know.
FWIF, I  feel it is counter-productive to require axis registration in the first place. It makes sense for axes that are (or will be) common, but for all we know, Nabla might be the only font to ever need a "Highlight" axis. Any new font may introduce an axis that hasn't been thought of before, and the mandatory GF axis registration is just burocracy that doesn't really benefit anyone. It's holding back innovation.

 It makes some sense for "wght" and "wdth" to have a generally accepted default value, for other axes not so much.

it is the font that should decide what the axis default is

The axis registry default doesn't have to match the font default for that axis, it's merely what our API gives you if you didn't specify anything for that axis and didn't override for the family.
For context, we use the axis registry to give our systems some metadata about axes. It's also, probably it's primary purpose, intended to help us avoid having multiple definitions of the same axis. For example, four fonts on Google Fonts that all define grade with a wildly different range wouldn't be a great outcome as it moves away from having standard well understood axes. On that note, I hope in time to see some axes emerge as semi-standard and to have widely accepted ranges and defaults as weight or width do. Grade comes to mind.


add purge prefixes capability

Add prefixes to PurgeCacheRequest.
Fixes https://github.com/cloudflare/cloudflare-go/issues/615
Description
Added the Prefixes field, similar to what has been requested in https://github.com/cloudflare/cloudflare-go/issues/615 (flarectl has also been updated with prefixes)
Has your change been tested?
Tested manually if it works, since it's just a field addition to a struct, and it works.
Types of changes
What sort of change does your code introduce/modify?

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@aorfanos are you interested in following up this PR with the fixes required from CI?

@jacobbednarz whenever you can, please approve the CI workflow to check if the new commit fixes issues.

thanks for this @aorfanos! looks good!


Enable the no-empty-character-class and no-template-curly-in-string linting rules

The former prevents unintended errors in regexes. The latter is something I ran into a couple of times before editors had proper support for syntax highlighting in template literals, and it's an easy mistake to make, especially when converting older code to use template literals. Nowadays most editors display template literals in different colors, but nevertheless it seems like a good idea to enable this rule.
Fortunately both rules don't require any code changes, so it's more for prevention.
Refer to https://eslint.org/docs/rules/no-empty-character-class and https://eslint.org/docs/rules/no-template-curly-in-string for more information about those rules.

/botio lint


Return an empty container from select, reject, etc...

It seems that a more consistent API choice for the select/reject family of methods is to return an empty container (NSSet, NSArray or NSDictionary) instead of nil when nothing is matched.
Maybe it's too late to change this, but conceptually I think it makes more sense.

Completed in BlocksKit 1.0.6.


Vehicules ranges are not correct for Genesys

We need a way to modify the ranges from the Star Wars's list to the Genesys List:
Engaged, Short Range, Medium Range, Long Range, Extreme Range and Strategic Range

Just wondering if people would be ok with having Strategic range available all the time or if they want a toggle for it. I can do a fix for just adding it to the list but a toggle would be a bit more effort which I would have to look at more.


UX issue of autocomplete suggestions with parameters

👓 What did you see?
When there is a step with Cucumber expression {string} then after selecting this suggestion:

all text including double quotes is selected
VS code is suggesting some values for parameter itself (I didn't find out what is mechanism e.g from currently opened file etc)

✅ What did you expect to see?

only text inside double quotes is selected
default value should be just empty string because there is very little chance to have valid suggestion for parameter

Surprisingly it works for regular expression e.g /^PATCH request to "(.*)" with body:$/
Also it's ok with Cucumber expression {int} because there is no need for double quotes.
📦 Which tool/library version are you using?
Cucumber plugin: v1.7.0, VS code: 1.74.2
🔬 How could we reproduce it?
Steps to reproduce the behavior:
Install Cucumber extension v1.7 onto latest VS Code
Have step definition with Cucumber expression {string}
Create any feature file
Use autocomplete suggestion for this step

Hi @znevrly, examining your autocompletion options, it looks like your step definition pattern does not include double quotes around the string parameter i.e. PATCH request to {string} and not PATCH request to "{string}". Thus, the suggested completions will match and select the double quotes as well as the text inside them. Modifying your step definition pattern to match for double quotations around your string should hopefully resolve the issue (PATCH request to "{string}"). Please advise whether this works.
The completions are built from your glue files (where your step definitions are defined) and gherkin steps from your feature files.


Open pop-ups on map don't clear with a new search

Overview
A pop-up displayed on the map from a previous search does not clear when a new search is run and there is no way to get rid of the box.
Expected Behavior
The pop-up box should either disappear when a new search is run or the X to close the box should always be visible and operational.
Actual Behavior
The pop-up remains when a new search is run and it is impossible to pan up on the map to close the box.
Steps to Reproduce
Tested in Firefox on a Mac but reproduced in other browsers.

Search Saitex in the facility name field and view results on the map
Click the bubble with a 7 in it
Map will zoom in
Click the bubble with a 6 in it to get a pop-up
Click Reset in the search filters
Map resets but popup remains
Search toy in the facility name field and select AGT from the contributor list
Map loads search results but pop-up remains
Attempting to pan up the map to use the X to close the search box just causes the map to bounce back to a view where the top of the box is not visible

Demo

Additional context
Optional. Add any other context about the problem here.

I experienced this issue in Chrome on my Mac, FYI.


Revert "c++ check if workerthread could be spawned"

Reverts grpc/grpc#20376
Sorry to report that this broke some more stressful internal tests. In particular, the call to created() after the new WorkerThread causes a race as currently stated. I'm going to try to revert this revert ASAP.

The problem is that the WorkerThread gets created, does all its work, and then finishes itself off before the next line that calls created(). We should not Start the WorkerThread until after checking the created call, I suppose.


The following build commands failed

CompileC /Users/gregfrost/EngApp/mobile/ios/build/Build/Intermediates.noindex/RCTAppMetrica.build/Debug-iphonesimulator/RCTAppMetrica.build/Objects-normal/x86_64/RCTAppMetrica.o /Users/gregfrost/EngApp/mobile/node_modules/react-native-appmetrica/ios/RCTAppMetrica/RCTAppMetrica/RCTAppMetrica.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

I have this problem when i use "ENVFILE=.env react-native run-ios --simulator='iPhone 5s'"
I've checked the Build Phases, it's ok. Do you have any ideas?

Hi. Can you attach more logs


[ios] Error: BackgroundGeolocation. was called with 2 arguments but expects 1 arguments

I have next error when i mount the component
BackgroundGeolocation. was called with 2 arguments but expects 1 arguments. If you haven't changed this method yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make this error go away.

Plugin version: 0.2.0-alpha.7
Platform: iOS
OS version: 9.2
Device manufacturer and model: Iphone 6 (Simulator)
React Native version: 0.44.2
Plugin configuration options:
Link to your project: N/A
Plugin configuration options:
desiredAccuracy: 10,
stationaryRadius: 50,
distanceFilter: 50,
locationTimeout: 30,
debug: false,
notificationTitle: 'DrinkDelivery GPS',
notificationText: 'GPS Habilitado',
startOnBoot: false,
stopOnTerminate: false,
locationProvider: BackgroundGeolocation.provider.ANDROID_ACTIVITY_PROVIDER,
interval: 1000 * UPDATE_SECS,
fastestInterval: 5000,
activitiesInterval: 10000,
stopOnStillActivity: false,
//TODO Wait for cookies
url: Routes.getCurrentServerUrl() + Routes.UPDATE_LOCATION,
syncUrl: Routes.getCurrentServerUrl() + Routes.UPDATE_LOCATION

*StackTrace:
BackgroundGeolocation. was called with 2 arguments but expects 1 arguments. If you haven't changed this method yourself, this usually means that your versions of the native code and JavaScript code are out of sync.
On Android seems to work without any issues. Also BackgroundGeolocation.showLocationSettings() doesn't seems to do anything on iOS.

Any update on this? I'm seeing the same issue on iPhone 5 with version 0.2.0-alpha.7

There is a fix in #92. Cheers

How to fix it?

@smartliang not sure if it's the best solution but I just looked through #92 s' commits and changed my local version accordingly.
I also added a bit more to make showLocationSettings work - in LocationManager.m changed
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]]; with [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"App-Prefs:root=Privacy&path=LOCATION"]];

Does anybody know how to make the automatic request to the url? I could make it work only on android devices

@smartliang, @jorexe it this not will work?


Cannot access a disposed object - Droid.PancakeViewRenderer

Have Xamarin.Forms <IP_ADDRESS>2 (Android, iOS and UWP) and have upgraded to the latest version <IP_ADDRESS>8 of PancakeView.  I have updated the Shadow and Border properties to the new way using the Markup design method.
            <yummy:PancakeView                 x:Name="LoginView"                 Grid.Row="1"                 Grid.Column="1"                 Margin="10,5,10,10"                 Padding="10"                 BackgroundColor="{DynamicResource BackgroundColorSecondary}"                 Border="{yummy:BorderMarkup Color={StaticResource ListItemBorderColor}, Thickness=3}"                 CornerRadius="10,10,10,10"                 Shadow="{yummy:ShadowMarkup Color=#b3b3b3,                                       Offset='5,5'}">
The UWP and iOS seem to be working as they should be excpected but on the Android platform I randomly get the following exception from the PancakeViewRenderer that crashes the application.
System.ObjectDisposedException: 'Cannot access a disposed object. Object name: 'Xamarin.Forms.PancakeView.Droid.PancakeViewRenderer'.'
Thought I would enable Source Link so I could debug the PancakeViewRenderer and give you more information but I was enable to get Source Link working . Open to helping debug this if I could get Source Link working.
Orgbrat

Might be a duplicate of #112

Could you try this in https://www.nuget.org/packages/Xamarin.Forms.PancakeView/<IP_ADDRESS>1-beta?

@sthewissen  I tried this in Android first and it seems to be fixed or at least I tried to get errors and none happened. :)
I also tried in the UWP and iOS platforms just to make sure we were still OK in those and everything seems OK there too.
Good job...


Content script is not injected on www.huya.com

Please answer the following questions for yourself before submitting an issue

[X] Filters were updated before reproducing an issue
[X] I checked the knowledge base and found no answer
[X] I checked to make sure that this issue has not already been filed

AdGuard version
7.18.0 nightly 11 (4784) (CL 1.15.63, DL 2.5.38 )
Browser version
Chrome 127
OS version
Windows 11
Issue Details
Steps to reproduce:

Add this rule:

www.huya.com#%#alert(1);

Go to - https://www.huya.com/
Refresh website (few times, but it might be not necessary)

Expected Behavior
Alert should be displayed.
Actual Behavior
There is no local.adguard.org so rules are not applied.
Screenshots
No response
Additional Information
It doesn't occur every time, sometimes it works, but sometimes doesn't.
If you cannot reproduce try to refresh website or click on the website logo few times.

@AdamWr On my end injection works

Details

Maybe is it caused by failed Popup Blocker?

This problem occurs only sometimes, I have to reload website few/several times and it's not related to Popup Blocker.
When it happens then there is no local.adguard.org in page source.
https://github.com/user-attachments/assets/c8b77a40-7162-4cd1-85d7-d723e22f1b70


[BLOCKED] datastreams: implement asynchronous writer

closes #139

@slint it is ready for review. note that names is not writen async right now, but if we agree on this implementation is just a matter of changing this config.

Rebased and included in https://github.com/inveniosoftware/invenio-vocabularies/pull/357


Lpal 265 add ecs deploy runbook

Purpose
To update the runbook for redeploying ECS services, to include a redeployment based on container version.
This uses terraform instead which also means it will help with consistency of environment.
Fixes LPAL-265
Approach
Additional documentation with script examples
Learning
N/A
Checklist

[x] I have performed a self-review of my own code
[X] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

thanks for approving, happy to go over this if interested, especially if we have another incident.

thanks for approving, happy to go over this if interested, especially if we have another incident.


Configuration for specifiying external copr://owner/project repositories

Description
For packages that are released togehter - like "mock" and "python-templated-dictionary" - we often need to build one of those packages first, and make the updated (newer version) version available when CI-building the second one (and sometimes vice-versa).
For Mock, we have https://copr.fedorainfracloud.org/coprs/g/mock/mock-deps/ project where we (sometimes) host pre-release versions of some tools to fixup CI.
It would be nice to say, e.g.:
copr_build_external_repositories:
    - copr://@mock/mock-deps

Benefit
No response
Importance
No response
What is the impacted category (job)?
Copr builds
Workaround

[ ] There is an existing workaround that can be used until this feature is implemented.

Participation

[ ] I am willing to submit a pull request for this issue. (Packit team is happy to help!)

hi @praiskup , just to clarify, is this something else than additional_repos?

tps://github.com/rpm-software-management/mock/pull/1461


Issue #SB-18779 feat:updated telemetry pdata version

Codecov Report

Merging #839 into release-2.10.0 will decrease coverage by 0.05%.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             release-2.10.0     #839      +/-   ##
====================================================
- Coverage             41.04%   40.98%   -0.06%
  Complexity             1023     1023
====================================================
  Files                   150      150
  Lines                 10148    10148
  Branches               1123     1123
====================================================
- Hits                   4165     4159       -6
- Misses                 5564     5570       +6
  Partials                419      419

Impacted Files
Coverage Δ
Complexity Δ

...n/java/org/sunbird/common/models/util/JsonKey.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...sunbird/helper/CassandraConnectionManagerImpl.java
70.87% <0.00%> (-5.83%)
13.00% <0.00%> (ø%)

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 179a13f...96d9dda. Read the comment docs.


Chore: some minor improvements to Cell

Changes:

Since a Color is immutable, we don't need to deep clone Cell, we can simply use the clone operator.
I've changed the order of evaluation in equals (not a big deal, though)

I've seen no performance regression; on the contrary, it has improved.
Suites
+-----------+---------------------+--------+------------+--------+------------+------+----------+----------+
| suite     | date                | php    | vcs branch | xdebug | iterations | revs | mode     | net_time |
+-----------+---------------------+--------+------------+--------+------------+------+----------+----------+
| <current> | 2023-11-15 16:45:48 | 8.2.12 | cell       | false  | 44         | 1100 | 12.525ms | 11.963s  |
| main      | 2023-11-15 16:24:08 | 8.2.12 | main       | false  | 44         | 1100 | 14.750ms | 13.628s  |
+-----------+---------------------+--------+------------+--------+------------+------+----------+----------+

<current>
+-----------------+---------------------------+---------+----------+----------+----------+--------+-----------+
| benchmark       | subject                   | memory  | min      | max      | mode     | rstdev | stdev     |
+-----------------+---------------------------+---------+----------+----------+----------+--------+-----------+
| DisplayBench    | benchRenderFrame ()       | 7.967mb | 9.743ms  | 10.150ms | 9.880ms  | ±1.10% | 108.574μs |
| ImageShapeBench | benchImageShape ()        | 8.110mb | 11.838ms | 12.218ms | 11.929ms | ±1.21% | 144.852μs |
| CanvasBench     | benchLowResolutionMap ()  | 8.311mb | 13.455ms | 13.807ms | 13.516ms | ±0.90% | 122.274μs |
| CanvasBench     | benchHighResolutionMap () | 8.311mb | 17.128ms | 18.090ms | 17.292ms | ±1.61% | 279.771μs |
| BdfParserBench  | benchParseRealFont ()     | 5.060mb | 2.113ms  | 2.160ms  | 2.131ms  | ±0.62% | 13.267μs  |
+-----------------+---------------------------+---------+----------+----------+----------+--------+-----------+

main
+-----------------+---------------------------+---------+----------+----------+----------+--------+-----------+
| benchmark       | subject                   | memory  | min      | max      | mode     | rstdev | stdev     |
+-----------------+---------------------------+---------+----------+----------+----------+--------+-----------+
| DisplayBench    | benchRenderFrame ()       | 7.967mb | 11.824ms | 12.297ms | 11.916ms | ±1.46% | 175.753μs |
| ImageShapeBench | benchImageShape ()        | 8.110mb | 13.861ms | 14.127ms | 13.896ms | ±0.88% | 122.463μs |
| CanvasBench     | benchLowResolutionMap ()  | 8.311mb | 15.319ms | 15.748ms | 15.410ms | ±0.93% | 143.396μs |
| CanvasBench     | benchHighResolutionMap () | 8.311mb | 19.054ms | 19.625ms | 19.153ms | ±1.02% | 197.414μs |
| BdfParserBench  | benchParseRealFont ()     | 5.060mb | 2.082ms  | 2.162ms  | 2.123ms  | ±1.00% | 21.266μs  |
+-----------------+---------------------------+---------+----------+----------+----------+--------+-----------+

:thumbsup:


Redundant arguments in Hiera ?

I'm a little confused by the default arguments passed to the Hiera class. https://github.com/facebookresearch/segment-anything-2/blob/7e1596c0b6462eb1d1ba7e1492430fed95023598/sam2/modeling/backbones/hieradet.py#L184
It seems like window_spec is hiding two things at once.
In the first window attention blocks, They have respectively 8 and 4 tokens (That's window attention).
After those, they will have 14 and 7 tokens (That's all the tokens left, so that is global attention).
But then it looks redundant with the global_att_blocks parameters.
Can you help me understand those 3 parameters, window_spec, global_att_blocks and window_pos_embed_bkg_spatial_size.
Thanks!

Hi @hugoWR, at a resolution of 1024px, stages 1, 2, 3, 4 will have 2562, 1282, 642, 322 tokens, so 14 and 7 is still window attention and not global - while global_att_blocks will be global (so for e.g. a block from stage 3 listed in global_att_blocks will have an attention span of 642 and not 142).
At a resolution of 224px, you are correct that 14 and 7 for stages 3 and 4 are indeed global already and setting global_att_blocks in these stages would be redundant.

Thank you for the clarification, I have further question if you don't mind.

Why is global_attention used on those 3 blocks by default ? In the original paper it looked like it would use global attention in all of the deeper blocks. See figure 2, in this paper.

What is window_pos_embed_bkg_spatial_size parameter ? Why does it make sense to have it to that default value of (14, 14)

Also want consult an question, the Hiera det outputs 4 heirachy featuremaps, which one should be used, if we want use it for understanding?

There is another paper by the authors that explains some of your questions I think, called: "Window Attention is Bugged".

Why is global attention used on those 3 blocks by default?

The short answer seems to be that windowing is faster and having 3 global layers was found to be 'good enough'. Speed-wise, on my machine, the base model takes 21ms when using just the three global blocks vs 27ms with all global blocks on stage 3 (the large model is 47ms vs. 73ms).
The paper mentioned above talks about this in more detail and I assume they used the same approach for SAMv2. It's in the appendix under the section: HieraDet Ablations (page 16).

What is window_pos_embed_bkg_spatial_size parameter?

That paper describes a special position encoding that consists of a 'global' learned position encoding that is combined with a tiled 'window' encoding. The window_pos_embed_bkg_spatial_size is (confusingly, maybe a typo?) the size of the global part of that encoding. The windowed part gets it's size from the first stage windowing which is 8x8 for all models. The 14x14 size is only for the base model for some reason, all others (including the large model) are 7x7, no idea why it's done that way...

Hiera uses slightly less parameters than the one in the paper

Not sure about this one... The SAMv2 model includes an FpnNeck, maybe it replaces part of the original Hiera output layers?

Also want consult an question, the Hiera det outputs 4 heirachy featuremaps, which one should be used, if we want use it for understanding?

The SAMv2 model makes use of all 4 outputs, but the stage 3 one is the most important (the others can be ignored without breaking the model). So if you had to use only one, then the stage 3 (i.e. second-last) output is probably best.

@heyoeyo Oh, I noticed that the output 0 1 2 actually the middle output in a auto regression manner, so 3 is the last one,
Why does the last 2 one is the most important one? Is it be the design or by the training?
torch.Size([1, 144, 224, 224])
torch.Size([1, 288, 112, 112])
torch.Size([1, 576, 56, 56]) <----- You mean this one should be used for understanding?
torch.Size([1, 1152, 28, 28])

... so 3 is the last one

Yes sorry, I forgot about that detail. The Hiera model has 4 outputs, but the SAM image encoder only has 3 outputs because it has extra steps to merge the last 2 outputs. If using just Hiera, the output you highlighted is probably the single best one, otherwise if using the SAMv2 image encoder, then the 'last' (low-res) output is probably best.

Why does the last second one is the most important one? Is it be the design or by the training?

I'm not sure why they prioritize the 3rd stage specifically, it might just be to match SAMv1 (the 3rd stage of SAMv2 ends up with a size of 64x64, which is what the v1 model used). Though even in the original Hiera model (separate from SAMv2), the 4th stage always has very few blocks compared to the 3rd stage, which seems to prioritize the 3rd stage output (for example, the large models uses 36 blocks on stage 3, but only 4 for stage 4).
That being said, if you were going to make a classifier model, maybe the 4th stage output is best (it has a bit more processing steps and the low resolution doesn't matter so much), or if you needed the higher resolution of earlier stages they could be better choices. The 3rd stage just seems like the best option 'generally' because stage 4 has so few blocks and a reduced resolution.

@heyoeyo thanks for your advise.
Am used hiera directly to experiment, and the 4th layer were used here.Since only the last layer outputs a reasonable tokens in for LLM to understanding.
I still want consult a question, does SAM2 plan to release the huge model? large is not so big for more advanced usage such as transfer SAM2's image encoder for OCR or image understanding.

@heyoeyo Hi, i suddendly found sam2 has a FPN neck in imageEncoder, and it outputs position embedding.
Do u think is fpn neck also necesssary for image understanding? if so, does pos emebedding necessary send to LLM?

I still want consult a question, does SAM2 plan to release the huge model?

I don't know for sure, but I wouldn't expect it, since they don't reference the huge model in the paper.

Do u think is fpn neck also necesssary for image understanding?

It might be helpful if you plan to swap out different SAM models (i.e. large vs. tiny), since the main job of it seems to be to project the image features to have a consistent number of channels (256) regardless of the model size. However, that could be harmful if you're planning to use only one model size and have some follow-up processing, since reducing the channel count could be throwing away a lot of the information.

if so, does pos emebedding necessary send to LLM?

That position embedding can be done independent of the FpnNeck and isn't learned (it comes from the PositionEmbeddingSine model), however the only use of it seems to be adding a small fraction back into the image features for the memory attention step. I have little experience with LLMs, so I'm not sure how helpful the extra encodings would be, though they don't do much for SAMv2 and they only get used when working with video data (so maybe not important if you're working with single images).

@heyoeyo thank u so much for the insight!


support multiple major version of go package

fix #98604

I think we can also symbolic link the dependencies in build phrase? should improve build time.

successor: https://github.com/NixOS/nixpkgs/pull/98903


SteamVR Not Found

so i am trying out ALVR for the first time and im watching videos on how to do it, but i can never get past the "install SteamVR" part. i do have it installed (i dont have a steam vr headset but i have it installed) and when i try to run steam vr it says running for 3 secounds then stops. nothing opens. and when i try to open ALVR on my computer, it says "No SteamVR installation found." but i know i have it. Please help, Thanks!

also i am reinstalling it to see if that is the problem

need install SteamVR in STEAM

I did (as shown in the second picture) and it still doesn’t work

You can’t really see it very well but that is the steam be page on steam and it’s installed and ready to be played

I believe the cause of this is that new installations of SteamVR are not into a directory named OpenVR
I was able to workaround this issue by creating a symbolic directory link.  From the target directory you can run this command "mklink /D SteamVR OpenVR" (you will need to run the command prompt as administrator as well)

Hi,
Maybe this won't work for all but I had the problem and I solved this just starting SteamVR first and then initiate ALVR, for me works.
Regards.


RabbitMQ Dashboard is not installed with service

See my Stack Overflow post here:
https://stackoverflow.com/questions/48106204/pcf-dev-rabbitmq-management-dashboard-not-installed
Any help on what step I'm missing would be great!

I'm curious what the manual steps would be to install the route?

Product leadership pinged for an update on this issue. (2018-03-01)

@mikepc @dcarwin-pivotal Development on PCF Dev has moved here, where we're working on an a new version that is being reviewed for incubation in the Cloud Foundry Foundation. All new releases of PCF Dev will be via an extension to that version. While we do not yet have a timeline for the PCF extension or for rabbitmq integration, we do have an alpha release available that will allow you to deploy the cf-rabbitmq BOSH release manually.
@ssisil is currently testing whether that integration works, and will report back here shortly with instructions. Note that the alpha release requires macOS Sierra or greater, and currently fails to start without Docker for Mac installed, due to a bug. (On the plus side, it doesn't require Virtualbox and comes with a BOSH director!)
It's worth noting that PCF Dev is a free beta product, not a supported Pivotal product. If you're a PCF customer using PCF Dev in a way that is critical to your business, please let us know!

@mikepc @dcarwin-pivotal
I was able to get the RabbitMQ bosh release running with our alpha version of CF Dev.
You need to make a few tweaks to the manifest and bosh lite vars file in the release to get things up and running :
lite-vars-file.yml
--> Change stemcell-version to 3.468.17 (the one bundled with CF Dev)
--> Change the bosh-domain to v3.pcfdev.io
cf-rabbitmq-template.yml
--> change vm_type to small-highmem for rmq instance_group
--> change vm_type to small-highmem for haproxy instance_group
I would recommend uploading the version from bosh.io
# Upload latest version, currently 238.0.0
$ bosh upload-release https://bosh.io/d/github.com/pivotal-cf/cf-rabbitmq-release --sha1 7a88d3cda9f92b34f28f056cf2c64f70f8546b7c

And then using the cloned github repo to  generate your manifest.yml using the scripts/generate-manifest script after you have made the changes mentioned above.
Let us know how it goes.

Hi Stephen, we are a baby company that hasn’t even formed yet.  There are
three engineers on the project (5 in the company). and we really don’t need
a cloud deployment, but our plan is to deploy to PWS in May or June with a
non-prod and prod environment.  PCF Dev is working awesome for us during
incubation.
The rabbitmq issue isn’t a blocker but it is.. annoying.  One of my
partners recommended it and we haven’t regretted it yet.
Please don’t abandon the project! Pretty please!
It is the cleanest, simplest, and fastest way to ramp up a simple
microservice architecture during incubation.
Minikube takes a lot more hassle to get ramped up with and requires all of
the engineers to understand k8s.  As far as I am concerned it’s the only
other realistic option.
On Thu, Mar 1, 2018 at 1:48 PM Stephen Levine<EMAIL_ADDRESS>wrote:

@mikepc https://github.com/mikepc @dcarwin-pivotal
https://github.com/dcarwin-pivotal Development on PCF Dev has moved here
https://github.com/pivotal-cf/cfdev, where we're working on an a new
version that is being reviewed for incubation in the Cloud Foundry
Foundation. All new releases of PCF Dev will be via an extension to that
version. While we do not yet have a timeline for the PCF extension or for
rabbitmq integration, we do have an alpha release available that will allow
you to deploy the cf-rabbitmq BOSH release manually.
@ssisil https://github.com/ssisil is currently testing whether that
integration works, and will report back here shortly with instructions.
Note that the alpha release requires macOS Sierra or greater, and currently
fails to start without Docker for Mac installed, due to a bug. (On the plus
side, it doesn't require Virtualbox and comes with a BOSH director!)
It's worth noting that PCF Dev is a free beta product, not a supported
Pivotal product. If you're a PCF customer using PCF Dev in a way that is
critical to your business, please let us know!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pivotal-cf/pcfdev/issues/277#issuecomment-369742538,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1ok61gYdjHbmUYZWWXNfpFzYgpaUABks5taGy7gaJpZM4RT8yx
.

I'm glad you find PCF Dev so compelling! I don't think your use case is unreasonable, as long as you aren't using PCF Dev to host production apps that others outside of your group have access to.
We have no plans to abandon PCF Dev, just plans to update the underlying implementation to use CF Dev with PCF patches and extras.

I am having the same issue with rabbitmq console. I tried to install pcfdev-v0.26.0+PCF1.10.0-osx as the above user, and cannot start pcf dev as per this issue: https://github.com/pivotal-cf/pcfdev/issues/273. How can I get this version started and get up and running with pcfdev?

There are two options:

Deploy rabbitmq to CF Dev, using the instructions that @ssisil provided.
Set your system clock back several months before starting PCF Dev v0.26.0. (I strongly discourage this option. Bad things may happen.)

Having this same issue, I was thinking we could maybe find a "hack" solution via the management console using the utility 'rabbitmqctl' that ships with rabbitmq in the bin dir from a separate local installation.
My question Is there a way to talk to the rabbitmq instance inside pcf? I came close to achieving this by accessing the rabbitmq instance inside of PCF. I was able to connect via tcp but my connection was rejected because I didn't have the .erlang.cookie needed to connect from a different host (it is inside the user directly in the pcf generated VM) see screenshot.
I am thinking if we can somehow obtain this cookie value we can use the 'rabbitmqctl' utility to spin up the management console. Is this possible? Right now i'm stuck I cannot obtain access to the .erlang.cookie file in the VM.

Please re-open this issue if this is still a concern with our latest releases.


Fixes touch interactions for slider

Fixes the general touch support for slider plugin and I guess also for other plugins since the error seemed to affect all plugins there.
However, sliding still kinda bugs when vertical slider is used on touch devices (doesn't happen in Chrome emulation...) - I will fix that within the next days.
Edit: Clicking the slider's track actually works well, just the dragging part needs some work.

Damn this is a nice one! Thanks for commiting!
Just curious, are you contracted by Zurb Foundation? If not they should :)

Should be touch-usable now. Although the slider handle is quite hard to hit on touch. Maybe there should be some CSS making it bigger on small screens by default?

@Silvester20 would you be able to test this one?

Thanks @Owlbertz We'll be testing this out! Would like to to get this into the next patch

@Owlbertz Yeah sure, but don't know how to test this. My site is using the foundation.min.js & foundation.min.css from the complete download package.
And I assume when I redownload the complete package the files doesn't have changed, still the same foundation.min.js as the release of 6.2.0, without your commits right?. So how can I test this?

@Silvester20 You can checkout the branch here: git checkout -b Owlbertz-touch-slider develop and pull those changes to test it. We'd love to see more people confirming the fix so we can merge it in faster.

@Owlbertz—regarding "hard to hit on touch"—since small screen ≠ touch screen, we could use what-input.js to know when the user is trying to touch the slider and adjust the style with something like this:
http://codepen.io/andycochran/pen/VaQzzz

@andycochran Yeah, I had something like this on my mind as well. Looks promising.

@Silvester20 were you able to test this out?  Alternatively, @andycochran can you try it out and see if it works as expected?

@kball This is only a JS change, no CSS. So you'd be a better judge. Did we want this to address the "hard to hit on touch" problem, or should we document that in a separate issue?

Since this fixes an actual issue I think the "convenience stuff" could be done later on, in a separate issue.

k tested it out, seems good.  Merging.

@Owlbertz does this fix any outstanding filed issues that you are aware of?

At least #8666 which I recently referenced. I do believe there was something else reported by @Silvester20

I can only test this with a compiled javascript (*.js) file. But I trust you guys :)

This seems to fix some touch issues I've been having. Have tested on latest iOS and Android, many thanks @Owlbertz


Create the animation controller for the sentinel slasher

Descriptions
Create the animation controller for the sentinel slasher

Post action:
Seperate tickets will need to be created for the implementation of each animation.


Pipelines List (global & project)

Closes: #1056
Description

Adds a Pipelines page and sets up the official first fetch calls to the Kubeflow API.
Pipelines from API:

I upgraded the empty / error states to support things a bit better:

How Has This Been Tested?

Install Red Hat OpenShift Pipelines Operator
Flip on the feature flag
View the Project Details page or the Global Pipelines page (and create a project)
Add the Pipeline Server to the project
View the Pipelines

To add more pipelines, go to OpenShift Console => Networking Nav => Routes Nav => (be in your project) => use the ui route to go to Kubeflow and add your own pipelines (or delete existing ones).
Test Impact

None yet, Pipelines has no tests. Planning to do those in a different test once things settle down in what shifts during each story.
Request review criteria:

[x] The commits have meaningful messages (squashes happen on merge by the bot).
[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Included tags to the UX team if it was a UI/UX change.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work
[x] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

TODOs:

[x] Cleanup markdown footer spacing
[x] Verify code didn't leak from demo
[x] Check on any loading states that probably need reworking

I'm going to merge this as it's going into a feature branch and it will block other work.


DOC: Update toolchain roadmap (1/N)

It's been a long time coming; first step towards #19815, though many points still left to address.
I've started by hiding some historical cruft (it'd be a pity too delete, but doesn't need to clutter the main page IMO), and updating the current compiler constraints landscape. After doing the same analysis as in https://github.com/scipy/scipy/pull/16589, my conclusion is that we could (don't have to) move our compiler support lower bounds to GCC 10 / LLVM 14. Happy to drop that commit though if ends up being controversial.
I'm also moving away from numbered references, which are an utter pain to maintain, keeping only a handful that are potentially worth referring to several times (as named references), and turning the rest in to regular single-use links.

I think line 16 should change to "Forcing the user base to upgrade other components for every release...", if I understand the intent of the sentence correctly.

Thanks for the reviews, I made all the requested changes (bump to GCC 9 only, couple of editorial fixes). :)

Last push was just to fix some broken links. I think this is ready for merging.

Are you planning to follow up with a bump to GCC 9.x in the top-level meson.build and the CI job for GCC8 @h-vetinari?

Sure, I'll give that a go!
(Even though it's not the roadmap per se, it easily falls under the "1/N" counter 😉)


Severals issue fixed #22  #23  #24

fixes issues #22  #23  #24

@shalithasuranga
These three issues have been already pull requested.

@shalithasuranga Its good to be enthusiastic, but don't be so enthusiastic and re do the same thing that someone else already have done unless you have a separate way to implement it. If you see you can do improvements, you can commit to the existing PR. That is the true essence of Open source development. Keep up the enthusiasm 👍
PS: I am closing the PR as #22 #23 #24 has already been merged.

@rehrumesh  Good advice. I saw previous PR whereas  forgot to close those. Thanks for closing


Cuttlefish 1 - Color by file instead of record

Hello!
I'm interested in using cuttlefish 1.0  because of your approach to coloring that yields monochromatic unitigs. I was wondering if you had any suggestions for ways I could color by input files instead of by individual records in fasta files.
I had considered just merging my Fasta records into one record; however, then that would include artificial k-mers formed by appending contigs together.
I'm aware this is not the recommended usage of cuttlefish but for our research question this approach is necessary. Do you have any suggestions for ways to easily do this?
Thank you!
Best,
Arya

Hi Arya,
Thanks for using Cuttlefish! Just making sure how you're using it: currently we do not output color-information explicitly. Are you inferring the color-set of the maximal unitigs through an invertex-indexing like approach from the GFA-tilings?
Currently in the path-tiling output of the GFA / GFA-reduced format, each tiling has a corresponding header including the following information:
Reference:x_Sequence:y
where x is the sequence-ID of the reference in input (i.e. it is the x'th FASTA file), and y is the sequence-ID of the corresponding record in that file—as discussed here. So the "Reference:x"-information should provide you the corresponding color of the x'th file.
Let me know if I got your query right!

Thanks for the clarification Jamshed! I think I figured out the problem. I erroneously expected these two commands to be identical:
(cuttlefish) ➜ cuttlefish build -s ../data/split0_part1.fasta -s ../data/split0_part2.fasta -t 14 -k 31 -m 28 -f 1 -w /n/scratch3/users/a/ak586/tmp_cuttlefish -o ./test_1
(cuttlefish) ➜ cat fof.txt
../data/split0_part1.txt
../data/split0_part2.txt
(cuttlefish) ➜ cuttlefish build -l ./fof.txt -t 14 -k 31 -m 28 -f 1 -w /n/scratch3/users/a/ak586/tmp_cuttlefish2 -o ./test_2

But inspecting both of their outputs this is not the case! Only the last file ../data/split0_part2.fasta  is read from the first command
(cuttlefish) ➜ grep '^P' ./test_1.gfa1 | cut -f2 | cut -f1 -d'_' | sort | uniq -c
  34839 Reference:1
(cuttlefish) ➜ grep '^P' ./test_2.gfa1 | cut -f2 | cut -f1 -d'_' | sort | uniq -c
  35252 Reference:1
  34839 Reference:2

I probably just misunderstood the documentation, but in case this is not intended wanted to bring it to your attention, thanks again!

Hi Arya,
You're right—the parsing of the arguments does not seem to match what we have in the documentation here. Seems like a problem with interfacing with the cxxopt library—they do mention that multiple arguments can be passed as -s ... -s ..., here. Maybe we're missing arguments because of wrapping the vector with an optional, instead of directly using the vector as in their example.
Thanks for bringing this to our attention!


ResponseFactory is passed to service instead of response prototype

Before the response prototype was passed to the service so the second
fetch of the service used the same response.
The brand new response should be created each time the service is used.
Ref:

https://github.com/zendframework/zend-expressive-authentication-oauth2/issues/16#issuecomment-368691028
https://github.com/zendframework/zend-expressive-authentication/pull/19

Thanks, @webimpress


okd 4.4 cluster on Digital Ocean bootstrap fail

Hi Team,
we are trying install okd 4.4 cluster on Digital Ocean.
Following the https://docs.okd.io/latest/installing/installing_bare_metal/installing-bare-metal.html
But we stuck into the step of bootstrap of fcos step. It seems that we setup the https server to download the raw image and verify the connectivity. The connection works fine. But after we provide the kernel edit steps mentioned in the docs and we noticed it was not downloading the fcos raw image. any idea on this ?
Note:- we are using latest fcos version .
• received below connection refused ERROR
[root@linux home]# openshift-install --dir=installation_directory/ wait-for bootstrap-complete --log-level=info
INFO Waiting up to 20m0s for the Kubernetes API at https://api.okd4.mydomain:6443...
ERROR Attempted to gather ClusterOperator status after wait failure: listing ClusterOperator objects: Get https://api.okd4.mydomain:6443/apis/config.openshift.io/v1/clusteroperators: dial tcp 138.485.284.394:6443: connect: connection refused
let me know if you need any additional info?

Dupe of #257


feat: implemented a model export cli command

First pass at solving #335. Converted the bash script provided by supersonictw to golang.
Export a model by running ollama export <model> <output>. For example ollama export llama3:latest llama-backup.

Glad to see this export feature coming up. Any update on it? What shall we do to make it an official feature?


Combining with onPress

What would be the best way to combine an onPress handler for the component? I would like to add functionality where the card flips on press.

Solved using PanResponder.
onPanResponderRelease, use the gestureState parameter's dx and dy values to check if just a tap was made:
onPanResponderRelease: (e, {vx, vy, dx, dy}) =>
{
        if ((dx === 0)&&(dy === 0))   //meaning the gesture did not cover any distance
        {
          alert('tap');
        }
}

This would would be easiest by using the original repo for implementation.


Add Crashlytics to WatchOS app

https://dev.to/no2s14/add-crashlytics-to-your-watchos-app-ec7

Code is in the crashlytics-watch-os branch.
All reporting the crashes fine, but needs to update the target to WatchOS 7.0+, which removes support for Series 1 and 2 watches
Also, no support for Firebase Analytics yet on the watch - see https://github.com/firebase/firebase-ios-sdk/issues/4557

See https://dev.to/no2s14/add-crashlytics-to-your-watchos-app-ec7


[WIP] Prevent transpiling node modules. Fixes #58

Just putting this up for discussion. Will add notes to #58

Webpack was removed (#157) so this PR is no longer relevant


(Chore) Output Target Group ARN

Thanks, looks good. Shall I create a release?

Done, released 0.2.0


fix: Revert "chore(build): uplift webpack-related packages to v5 (#28342)"

This reverts commit 8c27d4d47f310339d8897acb3fdd393a916ff6a7 (PR https://github.com/apache/superset/pull/28342).
The reason for revert is that after installing the new dependencies and running npm run dev-server, the localhost would not load. Confirmed by @michael-s-molina
CC @hainenber
SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Approving to unblock master. I left a comment here with a possible solution.


Error new update integration stop working

This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/tuya_v2/init.py:81
Integration: Tuya v2 (documentation)
First occurred: 01:56:50 (1 occurrences)
Last logged: 01:56:50
Error setting up entry Tuya V2 for tuya_v2
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 293, in async_setup
result = await component.async_setup_entry(hass, self)  # type: ignore
File "/config/custom_components/tuya_v2/init.py", line 290, in async_setup_entry
success = await _init_tuya_sdk(hass, entry)
File "/config/custom_components/tuya_v2/init.py", line 118, in _init_tuya_sdk
entry_data = entry_decrypt(hass, entry, init_entry_data)
File "/config/custom_components/tuya_v2/init.py", line 81, in entry_decrypt
if init_entry_data[XOR_KEY]:
KeyError: '00oo00'
new version

I think this is the same issue as #209

Try v1.4.1.

@Martynhsmith Have your problem solved?

Yes, thank you


No UI?

Tried building this from source, no UI popped up and nothing seemingly seems to happen

Added some instructions to the README as a stopgap solution (b9769aaead4c8dfced57b5fcb4475f199be9572c). In the future there'll be a proper onboarding experience.


input-number 组件, error prop 无效

[x] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>System: Windows10
Browser: chrome86.0.4240.198
Reproduction Link: https://codesandbox.io/s/a-input-number-error-test-b66b91

Extra info
I compared the code of 'input-number' and 'input'.

input-number:

  setup(props, { emit, slots }) {
    const { size, disabled, error } = toRefs(props);
    // ...
    const { mergedSize: _mergedSize, mergedDisabled } = useFormItem({
      size,
      disabled,
      error,
    });
    const { mergedSize } = useSize(_mergedSize);

input:

  setup(props, { emit, slots, attrs }) {
    const { size, disabled, error, modelValue } = toRefs(props);
    // ...
    const {
      mergedSize: _mergedSize,
      mergedDisabled,
      mergedError: _mergedError,
      feedback,
      eventHandlers,
    } = useFormItem({ size, disabled, error });
    const { mergedSize } = useSize(_mergedSize);

Is there a mistake here?
Arco-design is an amazing project, thank you very much!!!  Looking forwar to your reply.
Best wishes.
What is expected?
The 'error' prop is valid.

@ByeBug Hello~ Welcome to Arco.
There is a problem with the use of the error attribute, which should be passed directly to the internal input component. I will fix the problem in the next version

fixed at 2.25.0


Supermarket setup failing

As a user I need the setup:supermarket task to work and not fail with
Host is not a Valid IP or Resolvable Hostname

so I can have a supermarket server up and running.

Fixed https://github.com/opscode-cookbooks/delivery-cluster/commit/1ac40978190444381391aca1c448d47a79219aaf


Add a scenario for reporting "critical medium error " disk failures

The kernel reports if it encounters trouble reading/writing to a disk sector, so we can leverage it to report possible disk failures.
Example kern.log:
2023-11-11T06:30:30.786134+05:30 host-name kernel: [1490644.477294] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
2023-11-11T06:30:30.786156+05:30 host-name kernel: [1490644.477304] sd 1:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
2023-11-11T06:30:30.786159+05:30 host-name kernel: [1490644.477308] sd 1:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
2023-11-11T06:30:30.786161+05:30 host-name kernel: [1490644.477313] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 85 4f 28 00 00 08 00
2023-11-11T06:30:30.786163+05:30 host-name kernel: [1490644.477316] print_req_error: critical medium error, dev sdb, sector 8736552
2023-11-11T06:30:30.845875+05:30 host-name kernel: [1490644.537055] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
2023-11-11T06:30:30.845893+05:30 host-name kernel: [1490644.537058] sd 1:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
2023-11-11T06:30:30.845896+05:30 host-name kernel: [1490644.537060] sd 1:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
2023-11-11T06:30:30.845900+05:30 host-name kernel: [1490644.537062] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 85 1e 38 00 00 08 00
2023-11-11T06:30:30.845904+05:30 host-name kernel: [1490644.537064] print_req_error: critical medium error, dev sdb, sector 8724024
2023-11-11T06:30:30.971339+05:30 host-name kernel: [1490644.662495] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

This is already covered by: https://github.com/canonical/hotsos/blob/main/hotsos/defs/scenarios/kernel/disk_failure.yaml

@pponnuvel
Ah, I see. Oddly, the scenario did not report it even though it's present in the /var/log/kern.log. I believe it has something to do with the kern.log lines being a little bit different than the pattern is designed to match:
<6>2024-04-17T00:26:33.540821+05:30 host-name kernel: [   29.751657] i40e 0000:5d:00.0 eth5: Changing Rx descriptor count from 512 to 4096
<6>2024-04-17T00:26:33.540822+05:30 host-name kernel: [   29.782098] sd 1:0:0:0: [sdb] tag#6 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
<6>2024-04-17T00:26:33.540823+05:30 host-name kernel: [   29.782101] sd 1:0:0:0: [sdb] tag#6 Sense Key : Medium Error [current]
<6>2024-04-17T00:26:33.540829+05:30 host-name kernel: [   29.782104] sd 1:0:0:0: [sdb] tag#6 Add. Sense: Unrecovered read error
<6>2024-04-17T00:26:33.540831+05:30 host-name kernel: [   29.782107] sd 1:0:0:0: [sdb] tag#6 CDB: Read(10) 28 00 00 85 1f 80 00 00 80 00
<3>2024-04-17T00:26:33.540832+05:30 host-name kernel: [   29.782109] print_req_error: critical medium error, dev sdb, sector 8724376

The regex pattern does not match any of the lines above, as can be seen here

Seems the kern.log's timestamp pattern isn't fixed. The following are all valid:
Jun  8 10:48:13
Jun 08 10:48:13
2024-04-17T00:26:33.540832+05:30

Perhaps we could drop the regex that looks at timestamp.


Sema: Ensure that use of availability macros in closures in fragile functions is diagnosed

Type checking of closure bodies does not invoke TypeChecker::typeCheckStmtConditionElement() so use of availability macros inside closure bodies written in fragile (inlinable) functions was undiagnosed. Move the diagnostic logic to MiscDiagnostics.cpp which implements diagnostics that are emitted regardless of the typechecking model used.
Additionally, remove the DC->getAsDecl() != nullptr check from diagnoseHasSymbolCondition() which was preventing similar fragile function diagnostics for if #_hasSymbol from being emitted when a closure was involved.
Resolves rdar://100581013

@swift-ci please smoke test