Can't download from youtube anymore after updating to latest version

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.18. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.11.18

Before submitting an issue make sure you have:

[ ] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

So this is the script I usually use as .bat where I input youtube video URL or playlist URL (%input%)
set /p input="Input URL: "
youtube-dl -ci --write-thumbnail --sub-format ass/srt/best --write-auto-sub -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4 "/Videos/%%(uploader)s - %%(title)s (%%(id)s).%%(ext)s" %input%

It depends on the video, some videos start downloading, but with some the cmd window just closes.
C:\Users\COMPUTER\Desktop\ytdl>youtube-dl -ci --write-thumbnail --sub-format ass/srt/best --write-auto-sub -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4 "/Videos/%(uploader)s - %(title)s (%(id)s).%(ext)s" https://www.youtube.com/watch?v=videoID
WARNING: The url doesn't specify the protocol, trying with http
[generic] %(uploader)s - %(title)s (%(id)s): Requesting header
WARNING: Could not send HEAD request to http:///Videos/%(uploader)s - %(title)s (%(id)s).%(ext)s: <urlopen error no host given>
[generic] %(uploader)s - %(title)s (%(id)s): Downloading webpage
ERROR: Unable to download webpage: <urlopen error no host given> (caused by URLError('no host given',))
...

You're missing -o before "/Videos/%(uploader)s - %(title)s (%(id)s).%(ext)s"

Thanks, it works now. I guess this is a something new, because it was working all the time until I updated.

What's your original version? -o is there for more than 1 year.

I guess I might have somehow accidentally removed the -o.
Because I checked the other .bat script which I have (downloads batch of videos, and it has --output).
youtube-dl -ci --write-thumbnail --sub-format ass/srt/best --write-auto-sub -f bestvideo+bestaudio/best --output "%%(uploader)s - %%(title)s (%%(id)s).%%(ext)s" --batch-file="ytdllinks.txt"
Anyway, it works now, thanks for the help.


Maven AddDependency adds dependencies that are transitive already

While upgrading spring-petclinic app (available here: https://github.com/spring-projects/spring-petclinic) we've noticed that a few dependencies are added to the pom but are coming from transitive dependencies anyway.
Lets have a look at jakarta.persistence-api. M2E shows dependency hierarchy for this dependency as follows:

In other words spring-data-jpa starter -> hiberbate-core -> persistence-api. All are compile scope dependencies. Removing the added persistence-api direct dependency doesn't have any effect. The code still compiles fine because available via compile scope transitive dependency I think. The culprit for the dependency to be added is: https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddDependency.java#L202 Thus, all transitive dependencies are added.
Lets consider jakarta.xml.bind-api. M2E shows dependency hierarchy for this dependency as follows:

Besides compile scope dependency at the root level it only comes as runtime or test scope transitive dependency and probably this is the reason for this direct dependency to be necessary.
Now if I lift the restriction of checking direct dependencies only in AddDependency recipe class then jakarta.persistence-api direct dependency is not added because available via transitive dependency on compile scope. However, jakarta.xml.bind-api is not added either while it should be. It is not added because getResolutionResult().getDependencies().get(Scope.Compile) call includes jakarta.xml.bind-api while it seems to me that it should not be in the list of transitive dependencies on compile scope as it is a non-direct runtime and/or test scope dependency.
I have noticed that there is a test https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/test/java/org/openrewrite/maven/AddDependencyTest.java#L579 pointing at issue #1443. I'd say that jackson-core dependency isn't needed in this case... seems like this is either similar or the same as jakarta.persistence-api case where we would not add the dependency.
Curious what your thoughts are on this.

I'm going to close this issue given the amount of changes to the underlying recipes since this was opened, assuming this is no longer an issue.


Build issues iOS on develop branch

Currently the development branch doesn't build for iOS
There are multiple causes for this, like the dependencies itself as well as the new buld engine from Xcode 10
There are multiple issues:

App has to be renamed to "ViroSample" in the package.json

iOS folder with Podfile is missing in repo

add folder, then run sh setup-ide.sh --ios
go to ios folder and run pod update and pod install

The current version of react-native has issues with third-party / firebase

First build fails due to an error with the glog dependency in /node_modules/react-native/third-party since the third-party folder doesn't exist. After first failed build it should be present but might not show up, because Xcode doesn't recognize it

Clean Project in Xcode and build again

Now there will be an error in demangle.h from third-party, because the included config.h could not be found

rm -rf node_modules
npm cache verify
npm i
run node_modules/react-native/scripts/ios-install-third-party.sh
(* now build again in Xcode to get third-party folder)
go to node_modules/react-native/third-party/glog-0.3.4/ and run ./configure
clean project and build again

Next error will be libfishhook.a from RCTWebSocket not found

Remove and re-add Binary link in Xcode like suggested here: https://github.com/facebook/react-native/issues/19569#issuecomment-394869470

Next runner up: Firebase.h not found from RNFirebaseUtil.h

close Xcode

I wasn't able to resolve the issue yet.

Suggested solution doesn't seem to to the trick:

go to /ios

rm -rf ViroSample.xcworkspace
rm Podfile.lock
pod install
launch Xcode, clean project and build

further reading material and possible solution: https://github.com/invertase/react-native-firebase/issues/1016#issuecomment-384027481

Latest commit fixes the build issues. Resolved by setting up a clean viro/react-native project and merging with current project.


Fixes #448. opentelemetry_metrics: Correct duration conversion

from seconds to milliseconds.
See https://github.com/poem-web/poem/issues/448

You are welcome. Thanks a lot for merging so quickly @sunli829  :)


Add missing unframed assumption style and def

Assumption is only defined when framed. This PR add assumption style and definition copying the style of the related definitions (fixes #231).

Sounds good :)


Bump version

Trivial, so merging after travis passes

Pull Request Test Coverage Report for Build 263

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.382%

Totals

Change from base Build 260:
0.0%

Covered Lines:
1153

Relevant Lines:
1184

💛  - Coveralls


Uncaught exception: Error: ... authentifier verification failed

Version 1.7.1:
Uncaught exception: Error: known bad go38q4+DxyfamiSTzl5rmEBooilX0qGmoS36Wc9zVEY=: authentifier verification failed

Please do the following:

close the wallet
install http://sqlitebrowser.org/
open your .sqlite database with this program
open tab "Execute SQL"
run this query: DELETE FROM known_bad_joints
click Write Changes
close
restart the walet

Wallet not sync after that (stuck an 0%), after restart same error and entries in DB

Could you please send me its logs after restart.  Right-click, inspect background page, copy and paste console logs.

unzip attached png file, password sent by side channel

I had the same issue ... DELETE FROM known_bad_joints did the trick; just make sure all processes are killed.

Tried full backup and restore to another PC — same problem.

I have exactly the same issue as stated by Quark-Fusion, stuck to 0% syncing after deleting the known bad entry.

It is reacquiring and highly annoying but for me still solvable with the deletion of 'known_bad_joints'.

I have exactly the same issue as stated by Quark-Fusion, stuck to 0% syncing after deleting the known bad entry.

Me too :-(

Fixed in 1.8, please upgrade.

@tonyofbyteball it's not merged into headless-byteball?

1.8 sync for 10% and now stuck

There is a known issue that causes sync to stall sometimes.  The sync resumes after restarting.  Or you can replace your network.js with the latest version https://github.com/byteball/byteballcore/blob/master/network.js that fixes the issue.

restarts doesn't helps, replaced network.js, still at 0%. I see 5 active connections, but not much traffic or cpu usage.

Sync issues solved in 1.8.5


sqlite: store nil []byte as NULL

Closes #39
Signed-off-by: Artyom Pervukhin<EMAIL_ADDRESS>

@crawshaw do you think it's a reasonable change?

I think the main issue is just lack of cycles: this repository is used in Tailscale's backend systems and really aimed specifically at those internal needs. You're welcome to fork it to do what you need.

Hi @artyom, the other thing going on here is we're not sure what the future of the driver package is. We're thinking of moving away from database/sql and using the cgosqlite package via another mechanism. So it's hard to find the time to fix something in the driver that will probably require downstream changes in a non-oss repository right now.
Hopefully we'll have this figured out in a couple of weeks.

Thank you for the feedback! If this isn't something that contributes to this library use case, let's close this PR and a related issue. Package documentation is very up-front about its “internal use only” nature, so there's nothing to see there indeed. 😅


Update main.yml

'false', 'yes' need quotation marks - otherwise they'll be transformed to 'False', 'Yes' - which will not be recognized by /usr/bin/container-storage-setup

ci check this

/lgtm


fixed issue with index pruning, and removed index creation task from schedule

closes: #158
closes: #260

Current coverage is 70.11%

Merging #328 into master will decrease coverage by -0.32% as of 4219f93

@@            master    #328   diff @@
======================================
  Files           84      84
  Stmts         2709    2714     +5
  Branches         0       0
  Methods          0       0
======================================
- Hit           1908    1903     -5
  Partial          0       0
- Missed         801     811    +10

Review entire Coverage Diff as of 4219f93

Uncovered Suggestions

+0.63% via goldstone/views.py#30...46
+0.59% via ...stone/drfes/views.py#134...149
+0.37% via ...dstone/core/tasks.py#128...137
See 7 more...

Powered by Codecov. Updated on successful CI builds.

:+1:
wipe_docker.sh
followed by
eval $(docker-machine env default)
bin/test.sh

Client appears fine


Test and add support for Orion browser

The Orion browser is a new browser that's build with the WebKit with support for both Chrome and Firefox extensions. It's currently in beta, but most Chrome and Firefox WebExtensions work out of the box.
This is currently not the case for Sauce4Strava. The settings panel is available, but the addon is not visible on the Strava website. Orion allows you to change the UserAgent per site. Changing it to Chrome shows the Sauce Performance menu in the Strava Training dropdown, but none of the pages are available.

Orion states on their FAQ that only ~70% of the WebExtensions API is supported as of now. Despite this fact, it seems that Sauce4Strava currently has some internal config that assumes the browser is Chrome?
Would it be possible to test Sauce4Strava in Orion as well? I'll happily provide further festing and logs to help with this endeavour.

Hi @jpweytjens, thanks for making me aware of a new browser with extension support.
Looks like the issue is a bug in Orion.  I created an issue so they can hopefully fix it.
https://orionfeedback.org/d/4730-postmessage-with-transfer-object-is-broken

The bug affecting Orion support is actually a Safari/WebKit bug.
https://bugs.webkit.org/show_bug.cgi?id=254777
I figured out a workaround and published it to the Firefox store (which is the store that should be used for an Orion install).
Basic functionality works but Sauce Performance is hindered by some of the same issues that affect Safari so I don't recommend trying it.
Install Sauce from here:
https://addons.mozilla.org/en-US/firefox/addon/sauce4strava/

Thanks for all this work @mayfield .

@jpweytjens Just wanted to let you know the webkit team just landed a fix for this bug.  So you helped make Safari and Orion a little bit better by submitting this issue.

Thanks for the update! With this fix, does it matter whether Orion users install the Firefox or the Chrome version?

Thanks for the update! With this fix, does it matter whether Orion users install the Firefox or the Chrome version?

Yeah, you'll likely always want to use the Firefox based ext.  The Chrome one uses some APIs that are unique to it.  Even the native Safari build is essentially the same as the Firefox one.


Tutorial on RAG: Convert fruit vector store failed - GGML_ASSERT: ...... Aborted

Follow the new code in the github, compile success, thanks.
Then follow the 'Tutorial on RAG', I use the code on the github to generate 'fruits.dat', and in the next step, i try the cmd:
' ./build/bin/main --embedding_model ./models/bge-m3/bge-m3-q4_1.bin --init_vs ./fruits.dat'
or
' ./build/bin/main --embedding_model ./models/bce-embedding/bce_emb_q8.bin --init_vs ./fruits.dat'
then the error log happened, that is:
'ingesting...
GGML_ASSERT: /mnt/d/Codes/RAG/new_pipline/cpp_project/chatllm.cpp/chatllm.cpp-master/chatllm.cpp-master/ggml/src/ggml.c:3645: view_src == NULL || data_size == 0 || data_size + view_offs <= ggml_nbytes(view_src)
Aborted'
the model file is downloaded from the link https://modelscope.cn/models/judd2024/chatllm_quantized_models/files
So how to solve it for running the Tutorial?
Thanks

fixed by 19f96184f38c5516f1d27be1fd2c81da8d96b04c.

OK, I follow 19f9618 and change the code, .vsdb is generated, then has a 'Segmentation fault' as follow:
cmd:
./build/bin/main --embedding_model ./models/bce-embedding/bce_emb_q8.bin --init_vs ./fruits.dat
log:
ingesting...
2 /        3
done
Vector store saved to: ./fruits.dat.vsdb
Segmentation fault
Then I use this .vsdb to run the Retrieving Only pipline, it also has a 'Segmentation fault' as follow, and some 'nan':
cmd:
./build/bin/main --embedding_model ./models/bce-embedding/bce_emb_q8.bin --reranker_model ./models/bce-reranker-base_v1/q8_0.bin  --vector_store ./fruits.dat.vsdb +rag_dump
log:
{"file": "2.txt"}
the orange is green
Reference:

{"file": "2.txt"}
timings: prompt eval time =         0.00 ms /     0 tokens (     -nan ms per token,     -nan tokens per second)
timings:        eval time =         0.00 ms /     0 tokens (     -nan ms per token,     -nan tokens per second)
timings:       total time =         0.00 ms /     0 tokens
Segmentation fault

It doesn't look like normal and what should we do to solve it?

nan is normal, because nothing is generated by a LLM.
You forget -i, which enables inactive mode.

Follow your step, the error is solved, and log is:
'
________          __  __    __    __  ___
/ / /  ____ / // /   / /   /  |/  /______  ____
/ /   / __ / __ `/ / /   / /   / /|/ // / __ / __ \
/ // / / / // / // // // /  / // // // / // /
_// //_,/_////  /()/ ./ ._/
No LLM is loaded.                             //   //
Augmented by BCE-Embedding (0.2B) and BCE-ReRanker (0.2B).
You  > hello
A.I. > {"file": "2.txt"}
the orange is green
Reference:

{"file": "2.txt"}

You  > what's fruit is green
A.I. > {"file": "2.txt"}
the orange is green
Reference:

{"file": "2.txt"}
'

Thanks

By the way, if want to compile the .so or .dll for rag chat.cpp function, how to change the cmake file for this project, this part of compiling will be update for our chatllm project?

Just build so / dll as usual.

ok, I'm trying now, and if i want to offload the ModelObject memory (such as: embedding, rerank), what should be coded for it?

GPU offloading? Please stay tuned.


Postprovision hook fails if repository is cloned to a path containing spaces

This issue is for a: (mark with an x)
- [x] bug report
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Clone the repository to a path with spaces (example - C:\Ex Path\azure-openai-search) with azd init -t azure-search-openai-demo
Run azd up. Observe that the post-provision script fails

Any log messages given by the failure

prepdocs.py: error: unrecognized arguments: Path\azure-openai-search/data/*

Expected/desired behavior

Sample works when cloned to a path with spaces

OS and Version?
Windows 11
Additional comments
This is caused due to the $cwd variable not being quoted in the powershell launch script

This is still a problem


Update Package.swift to include macOS platform

Pulling this library in using a macOS target results in a package resolution error. This ensures the macOS version is specified in the package manifest.
error: the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' requires macos 10.10, but depends on the product 'GULAppDelegateSwizzler' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' to require macos 10.12 or later, or the product 'GULAppDelegateSwizzler' to require macos 10.10 or earlier.

@googlebot I signed it!

@ollieatkinson Thanks for the PR.
Would you provide more context about the issue?  GoogleAppMeasurement does not support macOS and only includes binaries for iOS.

Sure @paulb777, I have a dependency on Firebase on a macOS application as follows:
.package(name: "Firebase", url: "https://github.com/firebase/firebase-ios-sdk.git", .exact("7.3.1")), // 7.5.1 is breaking

When using any version after 7.5.1 swift package resolve fails due to version mismatch described in the original comment

Hmm, I'm not able to reproduce. Which version of Xcode and which Firebase products?

I am using Xcode 12.5, and the following products:
.product(name: "FirebaseAuth", package: "Firebase"),
.product(name: "FirebaseFirestore", package: "Firebase"),
.product(name: "FirebaseFunctions", package: "Firebase"),

I'm still able to successfully build mac targets. Would you share a reproducible example project?

Example.zip
Yes, here's a blank project with the issue. Reproduce by running swift build from the command line
Build output

$ swift build
Fetching https://github.com/google/GoogleUtilities.git from cache
Fetching https://github.com/firebase/firebase-ios-sdk.git from cache
Fetching https://github.com/firebase/boringssl-SwiftPM.git from cache
Fetching https://github.com/google/GoogleAppMeasurement.git from cache
Fetching https://github.com/google/GoogleDataTransport.git from cache
Fetching https://github.com/firebase/grpc-SwiftPM.git from cache
Fetching https://github.com/google/gtm-session-fetcher.git from cache
Fetching https://github.com/firebase/leveldb.git from cache
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git from cache
Fetching https://github.com/firebase/nanopb.git from cache
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetching https://github.com/google/promises.git from cache
Cloning https://github.com/google/GoogleDataTransport.git
Resolving https://github.com/google/GoogleDataTransport.git at 8.4.0
Cloning https://github.com/firebase/grpc-SwiftPM.git
Resolving https://github.com/firebase/grpc-SwiftPM.git at 1.28.4
Cloning https://github.com/apple/swift-protobuf.git
Resolving https://github.com/apple/swift-protobuf.git at 1.17.0
Cloning https://github.com/google/GoogleAppMeasurement.git
Resolving https://github.com/google/GoogleAppMeasurement.git at 8.1.1
Cloning https://github.com/firebase/abseil-cpp-SwiftPM.git
Resolving https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20200225.4
Cloning https://github.com/google/gtm-session-fetcher.git
Resolving https://github.com/google/gtm-session-fetcher.git at 1.5.0
Cloning https://github.com/google/GoogleUtilities.git
Resolving https://github.com/google/GoogleUtilities.git at 7.4.2
Cloning https://github.com/firebase/nanopb.git
Resolving https://github.com/firebase/nanopb.git at 2.30908.0
Cloning https://github.com/firebase/boringssl-SwiftPM.git
Resolving https://github.com/firebase/boringssl-SwiftPM.git at 0.7.2
Cloning https://github.com/google/promises.git
Resolving https://github.com/google/promises.git at 1.2.12
Cloning https://github.com/firebase/leveldb.git
Resolving https://github.com/firebase/leveldb.git at 1.22.2
Cloning https://github.com/firebase/firebase-ios-sdk.git
Resolving https://github.com/firebase/firebase-ios-sdk.git at 8.1.1
[19119/19119] Downloading binary artifacts
error: the library 'GoogleAppMeasurementTarget' requires macos 10.10, but depends on the product 'GULAppDelegateSwizzler' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementTarget' to require macos 10.12 or later, or the product 'GULAppDelegateSwizzler' to require macos 10.10 or earlier.
error: the library 'GoogleAppMeasurementTarget' requires macos 10.10, but depends on the product 'GULMethodSwizzler' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementTarget' to require macos 10.12 or later, or the product 'GULMethodSwizzler' to require macos 10.10 or earlier.
error: the library 'GoogleAppMeasurementTarget' requires macos 10.10, but depends on the product 'GULNSData' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementTarget' to require macos 10.12 or later, or the product 'GULNSData' to require macos 10.10 or earlier.
error: the library 'GoogleAppMeasurementTarget' requires macos 10.10, but depends on the product 'GULNetwork' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementTarget' to require macos 10.12 or later, or the product 'GULNetwork' to require macos 10.10 or earlier.
error: the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' requires macos 10.10, but depends on the product 'GULAppDelegateSwizzler' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' to require macos 10.12 or later, or the product 'GULAppDelegateSwizzler' to require macos 10.10 or earlier.
error: the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' requires macos 10.10, but depends on the product 'GULMethodSwizzler' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' to require macos 10.12 or later, or the product 'GULMethodSwizzler' to require macos 10.10 or earlier.
error: the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' requires macos 10.10, but depends on the product 'GULNSData' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' to require macos 10.12 or later, or the product 'GULNSData' to require macos 10.10 or earlier.
error: the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' requires macos 10.10, but depends on the product 'GULNetwork' which requires macos 10.12; consider changing the library 'GoogleAppMeasurementWithoutAdIdSupportTarget' to require macos 10.12 or later, or the product 'GULNetwork' to require macos 10.10 or earlier.

Thanks! The key step is swift build. It was working fine from Xcode.


schutzbot: add uploading to Azure

Support for uploading was already in, it's just needed to pass the right environment variables.
We should probably add an integration test for this but this is good enough for now and it allows us to get rid of Travis.

Thanks! Looks great!

Jenkins eventually failed and it is related to this change:
https://osbuildci.cloud.paas.psi.redhat.com/blue/organizations/jenkins/osbuild%2Fosbuild-composer/detail/PR-857/4/pipeline/490
[2020-07-15T15:06:59.386Z] + schutzbot/run_image_tests.sh

[2020-07-15T15:06:59.386Z]

[2020-07-15T15:06:59.386Z] ------------------------------------------------------------------------------

[2020-07-15T15:06:59.386Z] 🏃🏻 Running test: fedora_31-aarch64-ami-boot.json

[2020-07-15T15:06:59.386Z] ------------------------------------------------------------------------------

[2020-07-15T15:06:59.386Z] schutzbot/run_image_tests.sh: line 54: AZURE_CREDS: unbound variable

Pushed a fix, rebase got me.

Flaky mirrors everywhere. Otherwise, the upload worked nicely and was successfully skipped on aarch64.


Flutter Image Picker crashes when using two different sessions/instances from two Views IOS

I'm trying to use multiple sessions of image pickers(NOT A MULTI IMAGE PICKER), one for images to post and one for profile image. When I use the image picker to pick an image to post it works fine. But when I go to the profile page to select a profile picture, it crashes.
This is the function being called from view 1.
Future<File> selectVisualImage() async {
     File _james;
     final _picker = ImagePicker();
     final _image = await _picker.getImage(source: ImageSource.gallery);
     if (_image != null) {
       final File file = File(_image.path);
       _james = await _cropVisualImage(file);
       return _james;
     }
     return null;
   }

This is function being called from view 2.
Future<File> selectProfileImage() async {
     File _kames;
     final _picker = ImagePicker();
     final _image = await _picker.getImage(source: ImageSource.gallery);
     if (_image != null) {
       final File file = File(_image.path);
       _kames = await _cropDIFVisualImage(file);
       return _kames;
     }
     return null;
   }

SelectVisualImage works properly but when I go to view 2 and use selectProfileImage. it crashes immediately.This is the line that crashes.
    var _image = await ImagePicker().getImage(source: ImageSource.gallery);
I just want to pick regular images to post and one profile image without it crashing. Any ideas?

All

Q we

@flightwonder
Please provide flutter doctor -v and a minimal complete reproducible code sample that shows the issue.
Thanks.

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 description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Mobile app

@arthis-12 Thank you for your contribution. Can you tell us what this change is? After describing it, we'd also ask you to upload the files within the zip, not the zip itself. Finally, you'll need to ensure you sign your commits so that the DCO step passes.


Typo in Exercise 3.1

First bullet point under "Software and Virtual Machine requirements" currently states:
Deploy SQL Server 2022 with Windows Server 2022. You may use any edition of SQL Serve including any free edition.
It's missing a r after the last "SQL Server".

Fixed. Thank you for the catch. Please report anything else you find big or small


Plotting on WSL2 to a X-Server is not working.

I would like to be able to use this library with Windows Subsystem for Linux.
I used this method to display graphical applications to a X-Server (VcXsrv):
https://stackoverflow.com/a/43399827/12851544
Im getting the following runtime error:
terminate called after throwing an instance of 'std::runtime_error'
  what():  Error loading module matplotlib.pyplot!
Aborted

all packages are installed like mentioned in the readme.

I forgot how I sat up my environment, but matplotlib-cpp works on my WSL2, so you can review your setting again.
If you cannot run matplotlib from python at first place, I don't think this place is the best place to ask.
Sharing my settings, for your information.
End line of .bashrc
export DISPLAY=$(awk '/nameserver/ {print $2}' /etc/resolv.conf):0

my config.xlaunch
<?xml version="1.0" encoding="UTF-8"?>
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="-ac" Wgl="False" DisableAC="False" XDMCPTerminate="False"/>

Ok I managed to solve it by myself. But if anyone gets to the same problem here is the solution:
Go to your matplotlibrc file usually located in ~.config\matplotlib\matplotlibrc and change the following row: backend : GTKAgg into backend : TkAgg
Please close this issue.


Trying to get in touch regarding a security issue

Hey there!
I belong to an open source security research community, and a member (@whokilleddb) has found an issue, but doesn’t know the best way to disclose it.
If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)

Has the issue been fixed?
Does this refer to the Konga GUI or is it something about the Kong Admin API?
I'm just curious, no need to answer.

The issue has not yet been seen by the maintainer. Just for reference, the report can be found here:
https://huntr.dev/bounties/7440cefe-0b53-4f05-8ba5-43b8fac7bd4d/
It is currently private, but any maintainer with repository write permissions will be able to view it (cc @pantsel).


Any doc/guide for the installation of hovorod for tf-rocm?

Any doc/guide for the installation of hovorod for tf-rocm?
Some of my tries were either throwing crash fault during TF runtime, or failed to include the rccl allreduce integration.

If I directly setup rocmsoftwareplatform/hovorod:hip from source, the tensorflow horovod applications actually crash with following errors:
..
..
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/horovod-0.18.1-py3.6-linux-x86_64.egg/horovod/tensorflow/__init__.py:143: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.

WARNING:tensorflow:From ./horovod_tf_mnist.py:30: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.

WARNING:tensorflow:From ./horovod_tf_mnist.py:30: The name tf.logging.INFO is deprecated. Please use tf.compat.v1.logging.INFO instead.

WARNING:tensorflow:From ./horovod_tf_mnist.py:164: The name tf.app.run is deprecated. Please use tf.compat.v1.app.run instead.

Fatal Python error: Segmentation fault

Thread 0x00007f191caef740 (most recent call first):
  File "/usr/local/lib/python3.6/dist-packages/horovod-0.18.1-py3.6-linux-x86_64.egg/horovod/common/basics.py", line 60 in init
  File "./horovod_tf_mnist.py", line 85 in main
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250 in _run_main
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299 in run
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/platform/app.py", line 40 in run
  File "./horovod_tf_mnist.py", line 164 in <module>
$

Which ROCm release did you try?
I build ROCm horovod hip branch using the following env vars:
HOROVOD_WITHOUT_MXNET=1
HOROVOD_WITHOUT_PYTORCH=1
HOROVOD_GPU_ROCM=1
HOROVOD_WITH_TENSORFLOW=1
HOROVOD_ROCM_PATH=/opt/rocm
HOROVOD_GPU_ALLREDUCE=NCCL

I test using the TF CNN Benchmarks.  This implies I'm using TF 1.15 rather than >= 2.0 since the TF CNN Benchmarks don't support 2.x.
mpirun -n 8 python3 tf_cnn_benchmarks.py --variable_update=horovod

I have a public docker container based on ROCm 2.9 if you would like to try it.
jeffdaily/tensorflow:1.15-rocm2.9-ofed4.6-<IP_ADDRESS>-py3-mpich3.2.1-horovod

@jeffdaily Thanks, I tried your container and it worked. However, it is based on mpich which it not compatible with some of my openmpi-based applications. In the past I just used openmpi-bin libopenmpi-dev from ubuntu-18.04 repo and it worked well with CUDA's horovod applications.
I also retried to build rocm's horovod according to your suggestions, and it still has some problem with openmpi:
Install script:
export HOROVOD_WITHOUT_MXNET=1
export HOROVOD_WITHOUT_PYTORCH=1
export HOROVOD_GPU_ROCM=1
export HOROVOD_WITH_TENSORFLOW=1
export HOROVOD_ROCM_PATH=/opt/rocm
export HOROVOD_GPU_ALLREDUCE=NCCL

git clone --recursive https://github.com/ROCmSoftwarePlatform/horovod --branch hip --single-branch --depth 1

cd horovod && pip3 setup.py install

After the installation, just to run the applications in single-gpu mode without the context of mpiexec is OK:
~/horovod$ python3 ./examples/tensorflow_mnist.py
--------------------------------------------------------------------------
WARNING: There are more than one active ports on host 'amdgpu', but the
default subnet GID prefix was detected on more than one of these
ports.  If these ports are connected to different physical IB
networks, this configuration will fail in Open MPI.  This version of
Open MPI requires that every physically separate IB subnet that is
used between connected MPI processes must have different subnet ID
values.

Please see this FAQ entry for more details:

  http://www.open-mpi.org/faq/?category=openfabrics#ofa-default-subnet-gid

NOTE: You can turn off this warning by setting the MCA parameter
      btl_openib_warn_default_gid_prefix to 0.
--------------------------------------------------------------------------
AMDGPU ISA: gfx906
memoryClockRate (GHz) 1.725
pciBusID 0000:04:00.0
2019-11-16 06:26:28.433122: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library librocblas.so
2019-11-16 06:26:28.435480: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libMIOpen.so

(..successfully run..)

However, leading the execution with mpiexec would make horovod crash:
~/horovod$ mpiexec -np 1 --allow-run-as-root --map-by slot --bind-to none -x NCCL_DEBUG=INFO python3 ./examples/tensorflow_mnist.py
Fatal Python error: Segmentation fault

Thread 0x00007f68da9ce740 (most recent call first):
  File "/usr/local/lib/python3.6/dist-packages/horovod-0.18.1-py3.6-linux-x86_64.egg/horovod/common/basics.py", line 60 in init
  File "./examples/tensorflow_mnist.py", line 81 in main
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250 in _run_main
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299 in run
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/platform/app.py", line 40 in run
  File "./examples/tensorflow_mnist.py", line 160 in <module>
--------------------------------------------------------------------------
mpiexec noticed that process rank 0 with PID 0 on node amdgpu exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------

I also ensure my environment is clear and correct, because I manual write an nccl op injected to tensorflow and it works correctly with openmpi + rccl + tensorflow 1.14.x.
So can you test on the openmpi cases? I doubt whether the rocm's horovod is compatible with ubuntu's openmpi.

I followed most of your instructions and installed openmpi from packages in my ubuntu 16 docker.
jeffdaily/tensorflow:1.15-rocm2.9-ofed4.6-<IP_ADDRESS>-py3-openmpi-horovod
In the container I could successfully run the trivial TF CNN benchmark using horovod.
cd ~/benchmarks/scripts/tf_cnn_benchmarks
mpirun --allow-run-as-root -x NCCL_DEBUG=INFO -n 4 python3 tf_cnn_benchmarks.py --variable_update=horovod

@jeffdaily Maybe it is a bug only happens in ubuntu 18.04, and you can fully reproduce the crash with the following container environment:
FROM ubuntu:18.04

RUN apt-get update && apt install -y --no-install-recommends git ca-certificates \
    python3-pip python3-wheel python3-setuptools python3-dev python3-pytest \
    vim less netcat-openbsd inetutils-ping curl libopenmpi-dev openmpi-bin kmod \
    cmake g++ libpci3 libnuma-dev gnupg make openssh-server

RUN curl -sL http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | apt-key add - && \
    printf "deb [arch=amd64] http://repo.radeon.com/rocm/apt/2.9.0/ xenial main" | tee /etc/apt/sources.list.d/rocm_hip.list && \
    apt update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
    rocm-dev zlib1g-dev unzip llvm-dev rocblas hipsparse rccl rocfft rocrand miopen-hip cxlactivitylogger

RUN pip3 install --user tensorflow-rocm==1.14.3

RUN git clone https://github.com/tensorflow/benchmarks --branch cnn_tf_v1.13_compatible --single-branch --depth 1

ENV HOROVOD_WITHOUT_MXNET=1
ENV HOROVOD_WITHOUT_PYTORCH=1
ENV HOROVOD_GPU_ROCM=1
ENV HOROVOD_WITH_TENSORFLOW=1
ENV HOROVOD_ROCM_PATH=/opt/rocm
ENV HOROVOD_GPU_ALLREDUCE=NCCL

RUN git clone --recursive https://github.com/ROCmSoftwarePlatform/horovod --branch hip --single-branch --depth 1

RUN cd horovod && python3 setup.py install

After finishing the build of container, executing mpirun --allow-run-as-root -x NCCL_DEBUG=INFO -n 4 python3 /benchmarks/scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py --variable_update=horovod will trigger the crash problem.

And there is no issue running other non-NCCL tensorflow applications.


option for evaluating html fragments

I'm interested in including an a11y check as part of our continuous integration checks, but on otherwise well-formed templates that aren't a complete document, I get these errors:
✖ The web page should have the content's human language indicated in the markup
html
✖ The web page should have a title that describes topic or purpose
html
While acknowledging that testing fragments of html isn't a complete solution, it would be helpful as a first pass on every commit.  Ideally this would be exposed through the a11y command line option, so I could run something like:
a11y **/*.html --fragment-ok

I've been thinking about this for a while. One other possibility is that we allow you to have some sort of a11y config RC file where you can specify which options to relax and which ones to enforce more strictly. Something that would be adhered to by both the CLI and general module use. That said, we'll keep this open in case others think the fragment idea is useful.


Transform Animated .GIF to .PNG Sprites

All the graphical assets of the 6th generation are in animated sprites that cause problems when rendering. The previously used ones do not correspond to the latest generation with the exception of a few.
Using the Python Imaging Library, develop a script that can systematically transform all animated .gif to .png format. This should be simple after sampling the first gif frame and determining the correct color bit depth for the sprites (start at 8-bits and increase in powers of two if needed).

All optimizations done. Seems to work fine!


CocoaPods could not find compatible versions for pod "hermes-engine"

Build/Submit details page URL
https://expo.dev/accounts/yolpsoftware/projects/cards/builds/0341216c-01ef-4f73-94f6-945ebdf958d9
Summary
Since today, my Managed project does not build anymore on EAS build, although it runs fine on my local machine.
The project is managed, so I don't have an ios folder and no Podfile. Thus I cannot do what the error message suggests.
Managed or bare?
managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 12.5
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.7.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.15.0 - /opt/homebrew/bin/npm
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
IDEs:
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
npmPackages:
expo: ^46.0.0 => 46.0.8
react: 18.0.0 => 18.0.0
react-dom: 18.0.0 => 18.0.0
react-native: 0.69.5 => 0.69.5
react-native-web: ~0.18.7 => 0.18.7
npmGlobalPackages:
eas-cli: 0.60.0
expo-cli: 6.0.5
Expo Workflow: managed
expo doctor
Didn't find any issues with the project!
Error output
Fetching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspec
Fetching podspec for hermes-engine from ../node_modules/react-native/sdks/hermes/hermes-engine.podspec
Adding spec repo trunk with CDN https://cdn.cocoapods.org/
[!] CocoaPods could not find compatible versions for pod "hermes-engine":
In snapshot (Podfile.lock):
hermes-engine (from ../node_modules/react-native/sdks/hermes/hermes-engine.podspec)
In Podfile:
hermes-engine (from ../node_modules/react-native/sdks/hermes/hermes-engine.podspec)
It seems like you've changed the version of the dependency hermes-engine and it differs from the version stored in Pods/Local Podspecs.
You should run pod update hermes-engine --no-repo-update to apply changes made locally.
Error: Compatible versions of some pods could not be resolved.
You are seeing this error because either:

Versions in the Podfile.lock cached by EAS do not match required values for some of the libraries, it can be triggered when upgrading Expo SDK or any other library with native code. To fix that add the "cache.key" field (it can be set to any value) in the build profile in eas.json to invalidate the cache.
Some of your npm packages have native code that depend on different versions of the same pod. See logs for more information.

Reproducible demo or steps to reproduce from a blank project
https://expo.dev/accounts/yolpsoftware/projects/cards/builds/4bf47ead-f05b-49b7-a342-2b5f74a496cd
Please see also here.

Have you by any chance upgraded Expo to a new version?
Follow the instructions from the error message and the error should go away:

Versions in the Podfile.lock cached by EAS do not match required values for some of the libraries, it can be triggered when upgrading Expo SDK or any other library with native code. To fix that add the "cache.key" field (it can be set to any value) in the build profile in eas.json to invalidate the cache.

eas.json:
{
  "build": {
    "production": {
      "cache": {
        "key": "whatever" // <- set this
      }
    }
}

Have you by any chance upgraded Expo to a new version?
Follow the instructions from the error message and the error should go away:

Versions in the Podfile.lock cached by EAS do not match required values for some of the libraries, it can be triggered when upgrading Expo SDK or any other library with native code. To fix that add the "cache.key" field (it can be set to any value) in the build profile in eas.json to invalidate the cache.

eas.json:
{
  "build": {
    "production": {
      "cache": {
        "key": "whatever" // <- set this
      }
    }
}

Awesome, that did the trick in combination with eas-cli and expo upgrade to the newest versions

Thanks @dsokal this did it indeed.
Strange thing is, after I upgraded to Expo 46, one build ran fine. It was a few days later it stopped working.


Added Dutch translation

I know Zanata is the preferred way now, but I really don't understand Zanata so I hope you accept my "old-school" translation method through this PR :)

Thank you!


Jan 10th 2024 MicroProfile Marketing video for YouTube

Here is the link to the video for upload to YouTube. Please update the Meeting Minutes with a link to the recording.
Thanks!

https://youtu.be/fT5pHddNkXc updated


os/user: add users groups iteration functionality

Go native users/groups iteration functionality
go standard library has os/user package which allows to lookup user
or group records via either user/group name  or id. This pull request
extends capabilities of os/user package by introducing iteration
functionality for users and groups.
Users and groups iteration functionality might be useful in cases where
a full or partial list of all available users/groups is required in an
application. On unix, os/users iteration functionality relies
on two internal implementations: one that does not use cgo and parses
contents of /etc/passwd and /etc/group files for users and groups
respectively, and another one that does use cgo and utilizes POSIX
compliant libc library routines getpwent and getgrent for users and
groups respectively. On windows,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
registry key is iterated for SID values, each SID value represents either
a user or a group.
Tested and should work on gnu/linux, darwin, freebsd 13,
plan9 fourth edition, windows.

It would be also helpful if you listed the exact OS versions you have tested this with, and which commands did you run when testing.
For bonus points, write a small application in Go compatible to getent passwd and getent group and compare how they perform:

is the output identical?
duration.
memory usage.


How to get the Gaussian visualization in the demo?

Hi! The demo results are truly remarkable, and I was thoroughly impressed by the quality of the reconstructions.
I'm particularly interested in the 3D Gaussian primitives used in your method. Is there a way to visualize these reconstructed Gaussians?

you can use any viewer to visualize 3dgs render result which support to render 3dgs.
maybe you can try it:https://jatentaki.github.io/assets/gaussianviewer/index.html

Hi @LiHaodong0217 @yifliu3 , I also interested in this project and I'd like to ask how to save the gaussians in gaussian_splatting format (ply point cloud file)?

Hi, you can try to use this code https://github.com/donydchen/mvsplat/blob/main/src/paper/generate_point_cloud_figure_mvsplat.py to visualize the 3D Gaussians.
It would take a bit of time for me to clean my code due to the project deadlines, thank you for your patience.

I found an export_ply function, but it requires inputs of scales and rotations, and depthsplat only outputs covariance in the Gaussians class. I couldn't find a function that converts covariance to scales and rotations. Why predict covariance directly instead of scales and rotations?


Create eclipse p2-director based installer for eclipse features

To install features out of Red Hat Central repository there should be installer capable to run p2-director form devstudio and install feature configured in requirements.json.

Resolved with https://github.com/redhat-developer-tooling/developer-platform-install/pull/1103


can somebody help figuring out setting up conjure for guile scheme via lua?

hi i want to have real time evaluation for guile scheme so that it will make my life so much easier and make me work faster on my project.
i use init.lua but i see that you use vimscript, do you have a lua version of the command?
also i really dont get what you are saying about 'socket' i just dont get it. what am i suppost to do to setup up this 'socket' and documentation you give me like im suppose to know what to do with it?
https://github.com/Olical/conjure/wiki/Quick-start:-Guile-(socket)
ive seen on the example neovim video that the guy in the video did :Clj and it executed REPL. also what is REPL? where do i get it?
i just have so many questions,

Hi @fislysandi!
I don't have experience with Guile specifically but I can help clarifying some of your questions.

what is REPL? where do i get it?

REPL stands for Read-Print-Eval-Loop. It is a way to interact with a running program. According to the Guile docs you can run Guile without supplying a program to the interpreted to get a REPL at the command line.

also i really dont get what you are saying about 'socket' i just dont get it.

A socket is a communication channel between two running programs on a Unix environment.

what am i suppost to do to setup up this 'socket'

This is stated in the page you linked:

First, you need to start your Guile REPL and give it a path to a socket file, this path has to be absolute as far as I can tell. Here’s a script that starts a REPL and places the .socket file in your current repository then cleans up after it exits.

Did you try following these instructions? If you don't have a git repo or don't want to use the provided script you can simply run, for example, guile --listen=$HOME/.guile-repl.socket and supply that same path to the :ConjureConnect command in neovim.

i use init.lua but i see that you use vimscript, do you have a lua version of the command?

You can read more about setting variables from lua by running :help lua-vim-variables on neovim.
ToIn this specific case you can use vim.g["conjure#filetype#scheme"] = "conjure.client.guile.socket".

Thank you for stepping in and answering things here @fuadsaud! I hope that covers all of the questions, if not I'll try my best to help out too.


Added PeriodicDataFrame

This PR adds a PeriodicDataFrame that is essentially just streamz.dataframe.Random but with the callback parameterized so that users can supply their own function. The resulting object allows essentially arbitrary batched or non-batched callbacks without a user having to understand any of the complicated streamz logic; they just write a simple function and get back a periodically accumulating or updating streaming dataframe.
You can run a reproducible example of roughly this code by downloading the project at bit.ly/streaming_hvplot.  In a few lines that don't involve any tricky concepts (skip to the line starting "import pandas as pd, time, psutil" in tornado_stream.ipynb), users can make an entire streaming viz app with custom calls to system libraries to get real-time data. Following the main streamz API to do this is daunting for most users, but it's trivial with PeriodicDataFrame.
Open questions:

Is it cleaner if the callback takes **kwargs, so that we can add additional information there later without breaking existing callbacks?  I don't have any such information in mind now, but one never does...
The "freq" parameter is actually an interval (a time duration), not a frequency (cycles per time duration). Not sure if it's worth renaming, since it was already in Random.
Random was marked "experimental", but it's being used as an example in several external frameworks, including Panel and hvPlot. I've kept it; it adds only a few lines and no extra complexity.
The name could also be TornadoPeriodicDataFrame, because it's specific to the Tornado IOLoop, but I think that would likely just confuse a user that would want this convenient function.

It seems that random_datapoint is not covered by tests

Thanks for the flake fixes! From your replies:

Ok, I'll rewrite it using kwargs, and that's a good idea to support extra kwargs for configuring the callback.
Formulating and parsing as Hz seems tricky, so I'll rename to cadence. Thanks for the suggestion!
Ok, it will now be properly documented and no longer marked experimental.
PeriodicDataFrame explicitly depends on tornado.gen in all cases and on tornado.ioloop.IOLoop when not using Dask (for Dask it uses distributed.client.default_client().loop instead, which is probably also tornado based?).  I think that using the IOLoop from Tornado as the default event loop is important for keeping the mental model simple for Jupyter users. Maybe the loop itself could be parameterized, but I don't personally know how to use anything other than Tornado.  If you or anyone else could suggest how to parameterize the loop or have non-Tornado examples to follow, that would be great!  For now I think it does need to indicate that the implementation is specific to Tornado.

They are the same these days, although I'm sure Tornado can be configured to use non-asyncio loops. Does the jupyter model explicitly talk about Tornado? I'm not sure that it matters.

import asyncio
import tornado.ioloop
loop = tornado.ioloop.IOLoop.current()
assert asyncio.get_event_loop() is loop.asyncio_loop

Cool! I'll try replacing the references to Tornado with asyncio; perfect!

@martindurant. as best I can see streamz is only tested against Python 3.7. Does that mean I can ignore Python 2 and 3.6?
Also, it looks like the name freq was inherited from pd.date_range where it gets used. Pandas has a lot more detail about how to use it than streamz will, so I think it's probably best to keep it with a disclaimer rather than rename it.

2.7 we certainly don't care about any more. I am unsure about 3.6, lots of projects still release/test for it, but it seems to be fading. Probably we should have tests against 3.8 at least. cc @chinmaychandak

Using the same numbering as above,

This PR has now been rewritten using kwargs, both for the callback itself and accepting optional ones in the constructor.  As a bonus, with this approach freq no longer needed any special handling in PeriodicDataFrame; it was always just a constant that was passed into the callback, so now it's treated like any other kwarg, provided by Random and consumed by random_datablock but never explicitly handled by PeriodicDataFrame. I think this illustrates the utility of the kwarg approach, which easily handles configuration like this and avoids having to explain freq at the PeriodicDataFrame level (where it doesn't have any meaning).
The freq parameter thus stays named freq, but now it's really only used for random_datablock. freq is specific to the case of generating values on a timebase, and isn't broadly applicable to the types of callbacks accepted by PeriodicDataFrame.
Random is now properly documented and no longer marked experimental.
I haven't yet looked at asyncio (or tests).

Also replaced use of system time() function and the associated 1e9 conversion factors with Pandas Timestamp. As this class is explicitly based on Pandas and requires Pandas in the callbacks, it seems cleaner and more consistent to use Pandas times throughout.  Happy to revert that last commit if that's not appropriate.

Thanks @jbednar


Test suite uncovers issues with latest numpy version

Hi,
Debian just upgraded to latest numpy which resulted in a Bug report against the python-skbio package.  The log says something like:
...
======================================================================
ERROR: test_values_property (skbio.sequence.tests.test_sequence.TestSequence)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_skbio/build/skbio/sequence/tests/test_sequence.py", line 81, in setUp
    self.lowercase_seq = Sequence('AAAAaaaa', lowercase='key')
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_skbio/build/skbio/sequence/_sequence.py", line 647, in __init__
    self._convert_to_uppercase(lowercase_mask)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_skbio/build/skbio/sequence/_sequence.py", line 676, in _convert_to_uppercase
    with self._byte_ownership():
  File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_skbio/build/skbio/sequence/_sequence.py", line 2191, in _byte_ownership
    self._bytes.flags.writeable = True
ValueError: cannot set WRITEABLE flag to True of this array

======================================================================
FAIL: test_init_lowercase_no_validation (skbio.sequence.tests.test_grammared_sequence.TestGrammaredSequence)
----------------------------------------------------------------------
ValueError: cannot set WRITEABLE flag to True of this array

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_skbio/build/skbio/sequence/tests/test_grammared_sequence.py", line 238, in test_init_lowercase_no_validation
    ExampleGrammaredSequence(s, lowercase=True)
AssertionError: "character.*'R'" does not match "cannot set WRITEABLE flag to True of this array"

----------------------------------------------------------------------
Ran 2340 tests in 42.261s

FAILED (SKIP=30, errors=193, failures=1)

The numpy version that was used is 1.16.0~rc1.
Kind regards, Andreas.

Hi again.  Do you see any solution for this problem?  If not we will not be able to ship skbio with the next Debian stable release.

Hi @tillea, very sorry I lost track of this issue, I may have some time to fix this, when would you need this by?

On Thu, Feb 07, 2019 at 09:36:06PM +0000, Evan Bolyen wrote:

Hi @tillea, very sorry I lost track of this issue, I may have some time to fix this, when would you need this by?
Things are happening _ I also lost this out of focus.  The very latest is tomorrow but better today.

Presumably it is too late at this point, but it turns out the fix was extremely simple.
scikit-bio already understood ownership of the bytes, it was just mistaken in thinking it had any say in byte/string literals, which this numpy change exposed.

Thanks @ebolyen. The Debian freeze means we can't get new packages into the stable release, but a simple patch is no problem (full freeze comes next month).

Will there be a scikit-bio release soon that incorporates this fix?


BatchSpanProcessor calls exporter with empty list

BatchSpanProcessor periodically invokes the exporter with an empty list of spans.
This seems unnecessary.

PR open


ACS: move container commands to top

Currently we have az vm container, and ACS team likes az acs, which is what xplat-cli does

This has been done.


Use restart feature for video changes instead of room reconnection

Since version 2.7.0 Twilio has a restart feature to make it easy to change the constraints on the video without having to reconnect to the room :
https://media.twiliocdn.com/sdk/js/video/releases/2.7.0/docs/LocalVideoTrack.html#restart__anchor

wrong repo1


fetch validators once end of epoch

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#555  👈
#554
#553
feature/pos-networking-and-syncing

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on  Graphite


Thank you!

Thank you!
Thank you for your project and software!
Thank you for maintenance in the past and in the future!
Kind regards and season's greetings!

Thank you so much for your kind words!
Your support inspires me to keep improving and maintaining the project. I have some exciting stuff in the pipeline, please hang around!
Season's greetings to you too!


Make reaper.Monitor returns an error when exit code is not 0

Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>--
This fixes a deadlock for cases wgere the call to runc create fails.

Codecov Report

Merging #837 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #837   +/-   ##
=======================================
  Coverage   59.57%   59.57%
=======================================
  Files           5        5
  Lines         757      757
=======================================
  Hits          451      451
  Misses        199      199
  Partials      107      107

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 a1173ce...ad59eee. Read the comment docs.

I don't get how this fixed the issue.

The code only checks for err != nil also this make the call mimic the behavior of Process.Wait()

LGTM


Running npm outdated show latest 1.2.5

When I run the npm outdated it shows current/wanted as 1.2.6 but lists 1.2.5 as the latest.

"devDependencies": {
  "purify-css": "1.2.x"
}

The package is also duplicated on npm:
https://www.npmjs.com/package/purify-css => 1.2.5
https://www.npmjs.com/package/purifycss => 1.2.6
Would be great if this could be fixed in the same iteration. Was a bit confused about that.

Maintainers: if you want to fix this issue, here's a handy one-liner you can run:
npm dist-tag add<EMAIL_ADDRESS>latest

Cheers 😛

Not sure bug it seems 1.2.5 is not released and the latest version should be already the latest release. https://github.com/purifycss/purifycss/commit/d8a29b4fe89324086cccb83b25f3b30c8d214ed6

https://www.npmjs.com/package/purify-css?activeTab=versions
Current Tags
1.2.5
latest
1.1.7
beta
Version History
1.2.5
a year ago
1.2.6
a year ago
1.2.3
a year ago
...

Sorry, meant 1.2.6.
The isuue is that 1.2.5 was tagged / pushed after 1.2.6. npm adds the latest to the last published / tagged version.

I guess it as pushed as latest to the wrong repository or something else.
At least 7 months later something is different now.


Tests failing for Node 6

Looks to be an issue with Buffers and utf8/binary again.
Did something change in Node 6 that is going to make us incompatible?
@feross any ideas?

Link to the failing tests?

@feross https://travis-ci.org/crypto-browserify/pbkdf2/jobs/139344804
The bug presented is a sudden change in the handling of unicode.
To be clear,  this doesn't appear to be a bug in https://github.com/feross/buffer,  but I had hoped you might know if anything official upstream (aka, the many API deprecations for Buffer in Node 6) was causing this.

ping @indutny and @dominictarr

Random thought, but could it be related to https://github.com/nodejs/node/pull/7310 cc @mscdex

@dcousens Sorry -- I have no idea what this could be.

in node@<6 Hash.update(string) defaulted to Hash.update(string, 'binary')
depite the fact that everywhere else in node strings are interpreted as utf8 by default.
in node@6 this was fixed, breaking everything.

it looks like this module is very explicit about encodings...
but this module depends on create-hmac
which is much more lax.
https://github.com/crypto-browserify/createHmac/blob/master/browser.js#L42
my bet is that it's in create-hmac

@dominictarr that makes sense, except that this is happening in Node 6,  so it shouldn't even be using create-hmac/browser?

aha. okay so your test cases are assuming the implicit binary encoding.
var crypto = require('crypto')
//from pbkdf2/test/fixtures
var input =    {
      "key": "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about",
      "salt": "mnemonicメートルガバヴァぱばぐゞちぢ十人十色",
      "iterations": 2048,
      "dkLen": 64,
      "results": {
        "sha1": "d85d14adcb7bdb5d976160e504f520a98cf71aca4cd5fceadf37759743bd6e1d2ff78bdd4403552aef7658094384b341ede80fffd334182be076f9d988a0a40f",
        "sha256": "b86b5b900c29ed2724359afd793e10ffc1eb0e7d6f624fc9c85b8ac1785d9a2f0575af52a2338e611f2e6cffdee544adfff6f3d4f43be2ba0e2bd7e917b38a14",
        "sha512": "3a863fa00f2e97a83fa9b18805e0047a6282cbae0ff48438b33a14475771c52d05137daa12e364cb34d84547ac07568b801c5c7f8dd4baaeee18a67a5c6a3377",
        "sha224": "95727793842437774ad9ae27b8154a6f37f208b75a03d3a4d4a2443422bb6bc85efcfa92aa4376926ea89a8f5a63118eecdb58c8ca28ab31007da79437e0a1ef",
        "sha384": "1a7e02e8ba0e357269a55642024b85738b95238d6cdc49bc440204995aefeff499e22cba76d4c7e96b7d4a9596a70e744f53fa94f3547e7dc506fcaf16ceb4a2"
      }
    }

for (var alg in input.results) {
  console.log('EXPECTED', input.results[alg])
//  console.log( pbkdf2.pbkdf2Sync(input.key, input.salt, input.iterations, input.dkLen, alg).toString('hex') )
  console.log( crypto.pbkdf2Sync(new Buffer(input.key, 'binary'), new Buffer(input.salt, 'binary'), input.iterations, input.dkLen, alg).toString('hex') )
  console.log( crypto.pbkdf2Sync(input.key, input.salt, input.iterations, input.dkLen, alg).toString('hex') )
}

node's output fails the tests now, because it uses utf8 encoding, but the tests used binary.

output, first line after EXPECTED is with binary, row after that is with utf8.
EXPECTED d85d14adcb7bdb5d976160e504f520a98cf71aca4cd5fceadf37759743bd6e1d2ff78bdd4403552aef7658094384b341ede80fffd334182be076f9d988a0a40f
d85d14adcb7bdb5d976160e504f520a98cf71aca4cd5fceadf37759743bd6e1d2ff78bdd4403552aef7658094384b341ede80fffd334182be076f9d988a0a40f
7e042a2f41ba17e2235fbc794e22a150816b0f54a1dfe113919fccb7a056066a109385e538f183c92bad896ae8b7d8e0f4cd66df359c77c8c7785cd1001c9a2c
EXPECTED b86b5b900c29ed2724359afd793e10ffc1eb0e7d6f624fc9c85b8ac1785d9a2f0575af52a2338e611f2e6cffdee544adfff6f3d4f43be2ba0e2bd7e917b38a14
b86b5b900c29ed2724359afd793e10ffc1eb0e7d6f624fc9c85b8ac1785d9a2f0575af52a2338e611f2e6cffdee544adfff6f3d4f43be2ba0e2bd7e917b38a14
0b57118f2b6b079d9371c94da3a8315c3ada87a1e819b40c4c4e90b36ff2d3c8fd7555538b5119ac4d3da7844aa4259d92f9dd2188e78ac33c4b08d8e6b5964b
EXPECTED 3a863fa00f2e97a83fa9b18805e0047a6282cbae0ff48438b33a14475771c52d05137daa12e364cb34d84547ac07568b801c5c7f8dd4baaeee18a67a5c6a3377
3a863fa00f2e97a83fa9b18805e0047a6282cbae0ff48438b33a14475771c52d05137daa12e364cb34d84547ac07568b801c5c7f8dd4baaeee18a67a5c6a3377
ba553eedefe76e67e2602dc20184c564010859faada929a090dd2c57aacb204ceefd15404ab50ef3e8dbeae5195aeae64b0def4d2eead1cdc728a33ced520ffd
EXPECTED<PHONE_NUMBER>2437774ad9ae27b8154a6f37f208b75a03d3a4d4a2443422bb6bc85efcfa92aa4376926ea89a8f5a63118eecdb58c8ca28ab31007da79437e0a1ef
95727793842437774ad9ae27b8154a6f37f208b75a03d3a4d4a2443422bb6bc85efcfa92aa4376926ea89a8f5a63118eecdb58c8ca28ab31007da79437e0a1ef
d76474c525616ce2a527d23df8d6f6fcc4251cc3535cae4e955810a51ead1ec6acbe9c9619187ca5a3c4fd636de5b5fe58d031714731290bbc081dbf0fcb8fc1
EXPECTED 1a7e02e8ba0e357269a55642024b85738b95238d6cdc49bc440204995aefeff499e22cba76d4c7e96b7d4a9596a70e744f53fa94f3547e7dc506fcaf16ceb4a2
1a7e02e8ba0e357269a55642024b85738b95238d6cdc49bc440204995aefeff499e22cba76d4c7e96b7d4a9596a70e744f53fa94f3547e7dc506fcaf16ceb4a2
15010450f456769467e834db7fa93dd9d353e8bb733b63b0621090f96599ac3316908eb64ac9366094f0787cd4bfb2fea25be41dc271a19309710db6144f9b34

but with node@5
EXPECTED d85d14adcb7bdb5d976160e504f520a98cf71aca4cd5fceadf37759743bd6e1d2ff78bdd4403552aef7658094384b341ede80fffd334182be076f9d988a0a40f
d85d14adcb7bdb5d976160e504f520a98cf71aca4cd5fceadf37759743bd6e1d2ff78bdd4403552aef7658094384b341ede80fffd334182be076f9d988a0a40f
d85d14adcb7bdb5d976160e504f520a98cf71aca4cd5fceadf37759743bd6e1d2ff78bdd4403552aef7658094384b341ede80fffd334182be076f9d988a0a40f
EXPECTED b86b5b900c29ed2724359afd793e10ffc1eb0e7d6f624fc9c85b8ac1785d9a2f0575af52a2338e611f2e6cffdee544adfff6f3d4f43be2ba0e2bd7e917b38a14
b86b5b900c29ed2724359afd793e10ffc1eb0e7d6f624fc9c85b8ac1785d9a2f0575af52a2338e611f2e6cffdee544adfff6f3d4f43be2ba0e2bd7e917b38a14
b86b5b900c29ed2724359afd793e10ffc1eb0e7d6f624fc9c85b8ac1785d9a2f0575af52a2338e611f2e6cffdee544adfff6f3d4f43be2ba0e2bd7e917b38a14
EXPECTED 3a863fa00f2e97a83fa9b18805e0047a6282cbae0ff48438b33a14475771c52d05137daa12e364cb34d84547ac07568b801c5c7f8dd4baaeee18a67a5c6a3377
3a863fa00f2e97a83fa9b18805e0047a6282cbae0ff48438b33a14475771c52d05137daa12e364cb34d84547ac07568b801c5c7f8dd4baaeee18a67a5c6a3377
3a863fa00f2e97a83fa9b18805e0047a6282cbae0ff48438b33a14475771c52d05137daa12e364cb34d84547ac07568b801c5c7f8dd4baaeee18a67a5c6a3377
EXPECTED<PHONE_NUMBER>2437774ad9ae27b8154a6f37f208b75a03d3a4d4a2443422bb6bc85efcfa92aa4376926ea89a8f5a63118eecdb58c8ca28ab31007da79437e0a1ef
95727793842437774ad9ae27b8154a6f37f208b75a03d3a4d4a2443422bb6bc85efcfa92aa4376926ea89a8f5a63118eecdb58c8ca28ab31007da79437e0a1ef
95727793842437774ad9ae27b8154a6f37f208b75a03d3a4d4a2443422bb6bc85efcfa92aa4376926ea89a8f5a63118eecdb58c8ca28ab31007da79437e0a1ef
EXPECTED 1a7e02e8ba0e357269a55642024b85738b95238d6cdc49bc440204995aefeff499e22cba76d4c7e96b7d4a9596a70e744f53fa94f3547e7dc506fcaf16ceb4a2
1a7e02e8ba0e357269a55642024b85738b95238d6cdc49bc440204995aefeff499e22cba76d4c7e96b7d4a9596a70e744f53fa94f3547e7dc506fcaf16ceb4a2
1a7e02e8ba0e357269a55642024b85738b95238d6cdc49bc440204995aefeff499e22cba76d4c7e96b7d4a9596a70e744f53fa94f3547e7dc506fcaf16ceb4a2

Yikes, I thought about binary to utf8 migration. Just didn't expect it to surface here just now.

So, just in case, binary encoding strips non-ascii bits of utf8 characters and acts pretty similarly to latin. I would suggest just porting tests to utf8.

Welp,  hope that doesn't impact cause issues in the wild.

@dcousens actually, binary was causing problems in the wild. Many didn't know that it was default and passed utf8 stuff to it, so incorrect hashes were produced.

@indutny it might help if the crypto library exported some thing to mark that it uses binary or utf8.
this change could easily cause weird problems... say, you can't decrypt your stored private key (i.e. bitcoin wallet anymore)
in secure-scuttlebutt we didn't realize it was binary, but to keep everything running now we must explicitly convert to buffers via binary... utf8 was the right decision, problem is it should have been like that since the start.

@indutny so does parsing binary actually throw some bits away? meaning that now there are now collisions?

@dominictarr I think the binary/utf8 issue was that binary was parsing strings by character (not by byte), then % 256,  hence the truncation.  AFAIK.

@dominictarr exactly. Collisions for utf8 texts.

oh dear. that is actually a lot worse than I thought...

Depends, this was documented since crypto inception.

@dominictarr well,  I think we make the move to utf8 as the default,  even if its inconsistent with the previous versions?
We kind of sit in a hard place with crypto-browserify versioning and backwards compatibility heh.

@indutny I'm certainly not saying we should continue to use binary. I'm trying to figure out the best way to migrate an application that didn't realize it used binary encoding to utf8.
secure-scuttlebutt has this for hashes but not signatures (since it uses libsodium for sigs)
you could return a message that seems to hash correctly but is has an invalid signature.
it would be difficult to weaponize that, but it creates wiggle room for someone to try and I'd be much happier knowing it wasn't possible.

the main issue is just a lot of people get this library as a dep of a dep, so if we just upgrade code will break we could do something like create a depreciation warning first and then upgrade it maybe ?

hmm, we should probably contact the authors of the those modules, and make sure they know.
but the terrible thing is that crypto-browserify is just included transparently in browserify, so we have no idea who is actually using this!
another option is we could print a warning if someone passes a string in a way that would have used binary encoding (including a link to this issue, or similar?)

hmm, we should probably contact the authors of the those modules, and make sure they know.
but the terrible thing is that crypto-browserify is just included transparently in browserify, so we have no idea who is actually using this! This situation would be better if you actually had to manually install the browserify shim you wanted...
another option is we could print a warning if someone passes a string in a way that would have used binary encoding (including a link to this issue, or similar?)

another option is we could print a warning if someone passes a string in a way that would have used binary encoding (including a link to this issue, or similar?)

So,  maybe a temporary version that throws a warning if input is given which if run through "binary" does not equate byte-for-byte the "utf8" representation?


update examples README.md

closes #135
https://github.com/klis87/redux-saga-requests/issues/135

Coverage remained the same at 95.773% when pulling 64ae8412802b427f9720b77683d426434efe10f3 on mihaisavezi:patch-1 into 45805291b46627e1b98278e13091ca8da26ca445 on klis87:master.


Workshop: Add tests that expect "fail" to PUSH2 Opcode

Kakarot Workshop Issue
Level: Medium
Right now we only have, "ok" tests for PUSH2 Opcode.
For this issue please implement at least 1 extra test where calling PUSH2 would fail or revert.
https://github.com/sayajin-labs/kakarot/blob/286aaea710b22bf78facd5257a9da4b608e68a6e/tests/unit/src/kakarot/instructions/test_push_operations.cairo#L32
(Hint, you can play with Uint256 overflow/underflow , Bytes underflow/overflow)

I'll give this one a shot, looking to start contributing!


Create webhook through api returns 422

Gitea version (or commit ref): 1.13.7

Git version: 2.33.1

Operating system:
Gitea is downloaded from the release-page on github.
It runs through systemd

OS: Ubuntu 20.04

Database (use [x]):

[X] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[X] No
I cannot create a account at try.gitea.io because I do not receive the email to enter my password. So I can not test it.

Log gist:

Description
I am trying to make a call to gitea to create webhooks programmatically.
Request url: 'https://gitea.example.com/api/v1/repos/software/release-notes/hooks'
Request body:
{
   "active":true,
   "branch_filter":"*",
   "config":{
      "content_type":"application/json",
      "url":"http://example.com/commits/",
      "http_method":"post"
   },
   "events":[
      "push"
   ],
   "type":"gitea"
}

Request headers:
{
   "User-Agent":"python-requests/2.26.0",
   "Accept-Encoding":"gzip, deflate",
   "Accept":"*/*",
   "Connection":"keep-alive",
   "Content-Type":"application/json",
   "Content-Length":"186",
   "Authorization":"Basic {{ basic auth }}"
}

Response status code: 422
Response:
{
   "message":"Invalid content type",
   "url":"https://gitea.example.com/api/swagger"
}

I tried to send the request through postman and with the python requests library both came back with the same result.

By using json instead of application/json for body.config.content_type-ish request body, it works.
Although, I agree with the idea that this is a bug.
refs #13907

body.config.content_type is not HTTP header's content type


"docker:start"

how can this command work? it is in dockerfile

yes it has a Dockerfile and some doc about it.
if after trying it, let me know if it shows you some errors.


⚠ Secret Website 3 has degraded performance

In 8ca5c10, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2819 ms

Resolved: Secret Website 3 performance has improved in 8e28cfd.


Lots of corrections from Jon8RFC

Nice to see some changes being made even if no pull request was maed by Jon8RFC.


User should be logout and force to re-login when oauth token expires.

A user shouldn't be allow to navigate the portal if we don't have a valid oauth token for him.
Also lot's of the macos of the portal do some call on the API.  A JWT token is required to access the API and we can't generate a JWT if we don't have a valid oauth token for the user.

fixed in :

https://github.com/Jumpscale/jumpscale_core8/commit/27ef8d76ee7daf67578ca9871ce4352e90f5fe38
https://github.com/Jumpscale/jumpscale_portal8/commit/4bf226591f974780ae226df451e24398665044ce


Similar tokens now get bold property when moving insert-cursor.

There are some issues with parsing and autocomplete sometimes both being stopped after the user pauses input, typically after autocomplete running. Will fix this soon.

I'm getting very strange behaviour with this feature. Sometimes it works as it should, I suppose, but other times it bolds randomly in the nearest area. See screenshot below.

Can you check if the latest versions of libclangmm and jucipp works now?

Merged this in now, it worked perfectly this time. Great work!


1.5.19 warm cache start up does not work

Hey,
Issue description
if you pull your docker image 1.5.19-alpine and try to use warm cache start up option, you will notice it ends up in error:
ftruncate failed: Bad file descriptor
Aborted
How to reproduce
docker run -it --rm memcached:1.5.19-alpine sh
memcached -e /test

That would be expected and is the same in the debian image as well.  The memcache user doesn't have write access to /.  Try giving -e a place that it has write access, e.x. /tmp/test


[Carousel] Create carousel dialog iteration 2

As an author, I need a dialog to reorder and delete my slides, and manage their titles.

Reorderable list of slide titles (jcr:title).
Add button for adding a slide, asking for a resource type.
No link to open the dialog of the slide components.

(CQ-4247780)

This is available in the 2.2.0 release with the introduction of the new Carousel Core Component.


Fix a small error due to the unreleased lock before program exit.

Around the fixed codes, when pid == 0, there is the  accept_mutex_off(). However, other places are not. We would like to fix a small error due to the unreleased lock before the program exits in the left place.
It is a small, harmless error since the program exits and all of the program resources will be cleaned up by some common OS. However, other OS systems (e.g., embedded systems) do not automatically free some resources at the exit. It is a good manner for resource management. Adding the unlock statement adds symmetry, so the code looks better. Also, the debugger would not warn this case : )

@ylavic Can you take a look? Thank you very much!

Thanks, fixed in 9e02e2000cc05754a9c1c9a9aead7ce2cc8ea6ee

@ylavic Thank you very much.


refactor: inconsistent BalanceConversion fn

Related: https://github.com/paritytech/substrate/pull/13608

[ ] TODO: Cumulus companion

I will open the companion if this PR is deemed worthy.
Description
Fixes an inconsistent function naming for BalanceConversion trait: The fn to_asset_balance does not align with generics InBalance and OutBalance as to_asset_balance implies OutBalance to never be the native one.
By fixing this, we enable to use BalanceConversion truly flexibly as desired, see #13608
Alternative solutions
In case to_asset_balance API should not be broken, I see two alternatives:
Option A
Add from_asset_balance to BalanceConversion:
pub trait BalanceConversion<InBalance, AssetId, OutBalance> {
	type Error;
	fn to_asset_balance(balance: InBalance, asset_id: AssetId) -> Result<OutBalance, Self::Error>;
+	fn from_asset_balance(balance: OutBalance, asset_id: AssetId) -> Result<InBalance, Self::Error>;
}

The downside would be that this forces the only current implementor of BalanceConversion, which is BalanceToAssetBalance, to implement a function which it will never use.
Option B

Use existing BalanceConversion for true BalanceToAssetBalance conversion and rename
Add mirroring trait for AssetBalanceToBalance conversion

- pub trait BalanceConversion<InBalance, AssetId, OutBalance> {
+ pub trait BalanceToAssetBalance<InBalance, AssetId, OutBalance> {
	// snip
}

+ pub trait AssetBalanceToBalance<InBalance, AssetId, OutBalance> {
+	fn from_asset_balance(balance: InBalance, asset_id: AssetId) -> Result<OutBalance, Self::Error>;
+ }

The downside here is that we reduce the flexibility of this trait and create more noise.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2528580

bot merge

bot merge


/tmp file grows quite large and is left after quit?

HI,
The powermetrics output seems to accumulate in a /tmp file at about 1 MB per minute. This is not mentioned and if the monitor is left running long term is there any tidy up periodically?
The file remained after I stopped the run....
Could it be written to and read from a named pipe or similar maybe? (Both space use and SSD "wear" issues.)
Nice work though!
THANKS!~

PS this is M1 mini running Sonoma, 14.2.1

brew install graelo/tap/pumas
does a similar job and uses pipes I think. That interface is not quite as clear.
GFX bandwidtgh: when googling I find references to this readme tghat Apple removed bandwidth info from powermetrics.
I can't see that text myself! It does seem to be mentioned elsewhere and seems to be true on my system, I cannot find any ref to GFX in powermetrics --samplers all


Create content-data-admin app

Initial setup of app, prior to provisioning on the GOV.UK stack.
Following initial steps from https://docs.publishing.service.gov.uk/manual/setting-up-new-rails-app.html

 (5) Provision and deploy a new barebones Admin app


⚠ Bofrost.be has degraded performance

In 4fad8a1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1060 ms

Resolved: Bofrost.be performance has improved in 91eade8 after 9 minutes.


tests: add rule to check for tcp_mss

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6355
#1462 with more tests and changed syntax as proposed by Jason in Suricata PR

Requires https://github.com/OISF/suricata/pull/10824

Merged in #1769, thanks!


Menu hides touch events

Hi,
the FloatingActionMenu hides the touch events for underlying Views even if the Menu is closed.
Is there any setting to bubble up the touch events?
Any help appreciated
Thx

Hi I have also same problem, is there any solution?

Hi,
yes, i finally used following order:

You saved my life thanks!!! For those who want to align bottom their fab menu button, can use                 android:layout_gravity="end|bottom" in coordinator layout.

@toSilence I'm facing the same problem and I can't get my head around your solution. I use a ListView with FloatingActionMenu on top, all inside a CoordinatorLayout. So in your snippet, what exactly is <other stuff> - can it be a ListView? Then it will overlay the FAM, right? And why a LinearLayout? Would appreciate if you could post the actual layout you're using to solve the problem. Thanks!

Hi,
The  is from my example. It could be any view. And it's maybe not needed in your case.
No in my case, the  will be at the bottom of the FAM (no overlay).
With the LinearLayout (vertical) the  will be at the bottom.

I don't know where to set but I think the library uses visibility constant INVISIBLE and that should be replaced with GONE
look here in FloatingActionMenu.java
public void hideMenu(final boolean animate) {
       if (!isMenuHidden() && !mIsMenuButtonAnimationRunning) {
           mIsMenuButtonAnimationRunning = true;
           if (isOpened()) {
               close(animate);
               mUiHandler.postDelayed(new Runnable() {
                   @Override
                   public void run() {
                       if (animate) {
                           startAnimation(mMenuButtonHideAnimation);
                       }
                       setVisibility(INVISIBLE);
                       mIsMenuButtonAnimationRunning = false;
                   }
               }, mAnimationDelayPerItem * mButtonsCount);
           } else {
               if (animate) {
                   startAnimation(mMenuButtonHideAnimation);
               }
               setVisibility(INVISIBLE);
               mIsMenuButtonAnimationRunning = false;
           }
       }
   }

It seems that changing to android:clickable="false" worked.

I had the same problem and in my case it was happening because of the android:fillAfter="true" property in my hide animation xml file. After removing it worked.

changing the width and height to "match_parent" fixed it for me.

i'm still having this issue can any one help me.  i'v tried all the above solutions  and no one works.

@thairA2Ajaber I am also having the same issue, but im using a RecyclerView and it won't allow me to scroll or click any items inside the RecyclerView. If I move the RecyclerView below my FloatingActionMenu in the XML it hides the FloatingActionMenu and then makes the RecyclerView scrollable.
How do we fix this?

until the problem is solved use
 android:clickable="false"
android:fillAfter="false"
like this
<com.github.clans.fab.FloatingActionMenu
      .......
        android:clickable="false"
        android:fillAfter="false"
      ....


Problem installing new permissions

Horizon 1.0.1, running hz set-schema with the following file contents:
[groups.default.rules.read]
template = "collection(any()).anyRead()"

[groups.default.rules.write]
template = "collection(any()).anyWrite()"

and then get-schema, results in:
# This is a TOML document

[collections.b]

[collections.groups]

[groups.default]
[groups.default.rules.read]
template = "collection(any()).anyRead()"
[groups.default.rules.write]
template = "collection(any()).anyWrite()"

Where do collections.b and collections.groups come from?
Then, when I try to do run set-schema again on exactly the same file (as part of an automatic setup script for new installs), I get the error message:
set-schema failed with Error: Run with "--force" to continue.
These collections would be removed along with their data:
b, groups
    at /Users/stian/src/wallcology/ckx/ckx/node_modules/horizon/src/set-schema.js:187:19
    at tryCatcher (/Users/stian/src/wallcology/ckx/ckx/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (/Users/stian/src/wallcology/ckx/ckx/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (/Users/stian/src/wallcology/ckx/ckx/node_modules/bluebird/js/main/promise.js:581:18)
    at Promise._settlePromises (/Users/stian/src/wallcology/ckx/ckx/node_modules/bluebird/js/main/promise.js:697:14)
    at Async._drainQueue (/Users/stian/src/wallcology/ckx/ckx/node_modules/bluebird/js/main/async.js:123:16)
    at Async._drainQueues (/Users/stian/src/wallcology/ckx/ckx/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/stian/src/wallcology/ckx/ckx/node_modules/bluebird/js/main/async.js:15:14)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

But I never asked for these groups to be created in the first place, so why do they exist, and why should they be removed, given my two lines which just try to open all access to read and write?

@houshuang Are you running hz serve in development mode (with --dev), or with the --auto-create-collection flag? In that case collections will be automatically created once you run any query that uses them. I suspect that that's where those two collections are coming from. If you don't need them, you can use --force and they will be deleted.

By default, hz set-schema completely overwrites the existing settings, which include collections, indexes and permissions.
You can also run hz set-schema --update, in which case it will only add new elements or update existing ones if their names match, but will not delete any existing collections or rules.

OK, yes I was automatically creating collections, I just didn't understand
how the permissions had anything to do with my collections. Of course I
should have read the command better, "set-schema", and understood what was
going on. Seems like --update is what I need. Thanks!
On Wed, May 18, 2016 at 4:14 PM, Daniel Mewes<EMAIL_ADDRESS>wrote:

By default, hz set-schema completely overwrites the existing settings,
which include collections, indexes and permissions.
You can also run hz set-schema --update, in which case it will only add
new elements or update existing ones if their names match, but will not
delete any existing collections or rules.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/rethinkdb/horizon/issues/415#issuecomment-220144203

--
http://reganmian.net/blog -- Random Stuff that Matters

Trying to use --update gives me:
~/s/w/c/ckx (fix_sync) $ ./node_modules/.bin/hz set-schema .hz/schema.toml
--update
set-schema failed with ReqlDriverCompileError: Argument 1 to get may not be
`undefined`.
    at ReqlDriverCompileError.ReqlError [as constructor]
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/errors.js:23:13)
    at ReqlDriverCompileError.ReqlCompileError [as constructor]
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/errors.js:35:51)
    at new ReqlDriverCompileError
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/errors.js:46:57)
    at Get.<anonymous>
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:1428:17)
    at Get.RDBOp [as constructor]
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:1432:8)
    at new Get
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:1812:38)
    at
/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:1044:43
    at Table.RDBVal.get
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:1046:7)
    at
/Users/stian/src/wallcology/ckx/ckx/node_modules/horizon/src/set-schema.js:205:14
    at new Func
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:3386:17)
    at Function.<anonymous>
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:3977:12)
    at Function.expr
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/util.js:43:16)
    at funcWrap
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:34:19)
    at Array.map (native)
    at MakeArray.RDBVal.forEach
(/Users/stian/src/wallcology/ckx/ckx/node_modules/rethinkdb/ast.js:853:51)
    at
/Users/stian/src/wallcology/ckx/ckx/node_modules/horizon/src/set-schema.js:203:10
~

On Wed, May 18, 2016 at 4:16 PM, Stian Håklev<EMAIL_ADDRESS>wrote:

OK, yes I was automatically creating collections, I just didn't understand
how the permissions had anything to do with my collections. Of course I
should have read the command better, "set-schema", and understood what was
going on. Seems like --update is what I need. Thanks!
On Wed, May 18, 2016 at 4:14 PM, Daniel Mewes<EMAIL_ADDRESS>wrote:

By default, hz set-schema completely overwrites the existing settings,
which include collections, indexes and permissions.
You can also run hz set-schema --update, in which case it will only add
new elements or update existing ones if their names match, but will not
delete any existing collections or rules.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/rethinkdb/horizon/issues/415#issuecomment-220144203

--
http://reganmian.net/blog -- Random Stuff that Matters

--
http://reganmian.net/blog -- Random Stuff that Matters

Ok that looks like a bug in the --update implementation now. Sorry about that, we'll look into it.
Pinging @Tryneus


docs: Update display-emoji-as-text.md.

@timabbott FYI

Merged with a few additional edits. Thanks @HarshitOnGitHub!


To expensive App and Maintenance

Yesterday I heard from my colleagues that the corona app costs 20 Million Euro and 2 Million Euro per month for the German Tax payers. Which is a ludicrous price and feels like screwing the people of Germany. I think most people wouldn’t might that the costs are high. But these numbers don’t add up in any normal way. If you understand the complexity of the app, this doesn’t make sense. SAP and Telekom are such huge companies, that they shouldn’t even charge anything and do it for free to help Germany. So many lives are affected and hit hard by the corona crises and what do they do. Let’s charge at least 50+ times the usual....

This is a duplicate of #224. As stated there, please use the contact form of the Federal Government for such questions.
Mit freundlichen Grüßen / Best regards,
TK
Corona-Warn-App Open Source Team

@oezguercelebi For comparison, our government spends twice the development cost of CWA to support the distribution of subscription newspapers and by newspapers they mean actual stacks of paper onto which yesterday’s Internet news have been printed.

@oezguercelebi For comparison, our government spends twice the development cost of CWA to support the distribution of subscription newspapers and by newspapers they mean actual stacks of paper onto which yesterday’s Internet news have been printed.

Seems normal to me. Because we have a lot of elder people that don’t understand the thing called the internet. Government is spending anyway to much left and right. But this case involves techies, that don’t like bullshitting people.


Admin can not resolve questions

Current behavior
I can't resolve questions in AI Benchmarking. There is no resolution button. This was fixed before, but seems to have reverted.

https://www.metaculus.com/questions/29315/will-donald-trump-outperform-rick-scott-in-florida-in-the-2024-election/
Expected/desired behavior
Describe the behavior you expect or desire to have. Please provide links to mocks and or similar.

@hickman-santini @elisescu @lsabor This is high priority for AI Benchmarking.


Fix astro flow deploy integration by having a conditional sql_cli import

Description
What is the current behavior?

The astro flow deploy command fails currently as it cannot find the sql_cli library installed

closes: #1825
What is the new behavior?
This library sql_cli is required only for local runs when running a single task. So, to fix the deploy command, we identify if it is for a local run using the task_to_execute list in the context populated only for single task runs. This list will be empty when deploying DAGs that are supposed to generate and run wholly.
Does this introduce a breaking change?
No.
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

@pankajkoti do we need any tests around this? +1ing because it's a small fix but please do add tests if necessary :)

Thank you Daniel, yes, I have added the missing test to check the generated DAGs for single task runs include naql import and nominal operators for tasks to not run core logic.


The editor shows blank for one new created blob container under name & key attached account

Storage Explorer Version: 1.12.0
Build: 20200313.5
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 16.04
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Attach one Non-ADLS Gen2 storage account via name & key.
Expand the attached storage account -> Blob Containers.
Create a new blob container -> Observe the result.

Expect Experience:

The new created blob container is auto opened.
The editor shows well under the opened tab.

Actual Experience:

The new created blob container is auto opened.
The editor shows blank under the opened tab.

More Info:

This issue doesn't reproduce for ADLS Gen2 accounts.
This issue doesn't reproduce for File Shares/ Queues/ Tables.

Fix merged into master.


Latest version causing VS Code Insiders ExtensionHost to error/crash

Checklist:

[x] I'm sure this issue is not a duplicate?

With this extension active, using the latest VS Code insiders (On windows 10), an error is thrown in the Developer console:
[Extension Host] Activating extension `robertohuertasm.vscode-icons` failed: Cannot find module 'semver'.

[Extension Host] Here is the error stack:  Error: Cannot find module 'semver'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Function.G.o._load (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:403256)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\John Tsombakos\.vscode-insiders\extensions\robertohuertasm.vscode-icons-7.12.0\out\src\settings\settingsManager.js:5:16)
    at Object.<anonymous> (C:\Users\John Tsombakos\.vscode-insiders\extensions\robertohuertasm.vscode-icons-7.12.0\out\src\settings\settingsManager.js:81:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)

Edited by @jens1o: We don't want full templates here ;)

Personally, I can't reproduce, because my extension host is destroyed at all. But before, it has worked like a charm.... I shouldn't had updated today. But also other extensions are affected, for example wix's import-cost...

@jtsom I can't reproduce it either... I've just updated my Insiders version and installed a fresh version of vscode-icons and everything seems to be fine.
This is my vscode version:

Is this the same version as yours? Can you try reinstalling the extension?

Yes, that's the version I had also. It looks like it was more than just this one extension - several were having issues with the latest VS Code Insiders - Typescript Hero for one. There's an issue on the VS Code Github open about this Extension Host crash.

I'm not sure we should be keeping this issue opened as this is completely related to some vscode bug. What do you think?

Closing as not related to this extension.


How to remove AdministratorText ?

I'm developing an application that is supposed to run as admin. But the title shows My Title (Administrator)
How can I remove the part (Administrator) ?
I've tried the following:
this.AdministratorText = "";
this.IsInAdministratorMode = false;

But neither of them work.
How can I remove this text @ComponentFactory  @saleyn @Wagnerp

Hi @mridah
That's a default feature of Windows since Vista, not sure if you can override it.

That's a default feature of Windows since Vista

What does this mean? I've seen many software that require admin access to open but have a normal title containing just the app name or something relevant.
They don't have the admin text in the titlebar

Hi @Wagnerp

That's a default feature of Windows since Vista

What does this mean? I've seen many software that require admin access to open but have a normal title containing just the app name or something relevant.
They don't have the admin text in the titlebar

Hi @mridah
It does show if the classic theme is applied (pre Windows 8), I think it's a UAC feature.