Snapshot is not saving Screenshots.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Snapshot is running without an error but screenshots are not saving in the folder.
I am using fastlane 2.156.0.
Tried with unchecked Delete option too.

Command executed
fastlane snapshot
Complete output when running fastlane, including the stack trace and command used
[21:14:18]: ▸ All tests
[21:14:18]: ▸ Test Suite AppUITests.xctest started
[21:14:18]: ▸ AppUITests
[21:16:18]: ▸     ✓ testExample (119.415 seconds)
[21:16:18]: ▸    Executed 1 test, with 0 failures (0 unexpected) in 119.415 (119.418) seconds
[21:16:18]: ▸
[21:16:18]: ▸ 2020-08-11 21:16:18.610 xcodebuild[28881:393290] [MT] IDETestOperationsObserverDebug: 121.247 elapsed -- Testing started completed.
[21:16:18]: ▸ 2020-08-11 21:16:18.610 xcodebuild[28881:393290] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[21:16:18]: ▸ 2020-08-11 21:16:18.610 xcodebuild[28881:393290] [MT] IDETestOperationsObserverDebug: 121.247 sec, +121.247 sec -- end
[21:16:18]: ▸ Test execute Succeeded
[21:16:19]: Clearing Status Bar Override
[21:16:19]: $ xcrun simctl status_bar 8252281D-34FE-4BE1-AB24-57B9FBAD22A1 clear &> /dev/null

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.6

Ruby
2.6.3

Bundler?
false

Git
git version 2.24.3 (Apple Git-128)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.15.6 (19G73)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.6

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Generate new localized screenshots"
  lane :screenshots do
    capture_screenshots(workspace: "app.xcworkspace", scheme: "app")
  end
end

`./fastlane/Appfile`
app_identifier("com.apps.app") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.156.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.4.0

slack-notifier
2.3.2

atomos
0.1.3

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.17.1

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

public_suffix
4.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.76.0

faraday
1.0.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
1.0.0

fastimage
2.2.0

gh_inspector
1.1.3

mini_magick
4.10.1

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.6

naturally
2.2.0

simctl
1.6.8

jwt
2.2.1

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.15.0

signet
0.14.0

memoist
0.16.2

os
1.1.1

googleauth
0.13.1

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.3.3

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

rake
13.0.1

digest-crc
0.6.1

google-cloud-storage
1.27.0

emoji_regex
3.0.0

jmespath
1.4.0

aws-partitions
1.354.0

aws-eventstream
1.1.0

aws-sigv4
1.2.1

aws-sdk-core
3.104.3

aws-sdk-kms
1.36.0

aws-sdk-s3
1.77.0

CFPropertyList
3.0.2

json
2.3.1

bundler
2.1.4

forwardable
1.3.1

logger
1.4.2

stringio
0.1.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.3

date
3.0.0

fileutils
1.4.1

io-console
0.5.4

zlib
1.1.0

libxml-ruby
3.1.0

rexml
3.2.3

psych
3.1.0

mutex_m
0.1.0

webrick
1.6.0

generated on: 2020-08-11

@joshdholtz Hi Josh, Do you have any suggestion for this issue?

@fatihyildizhan I will try to look into this afternoon to see if I can replicate 💪

Hi @joshdholtz Do you have any suggestions? I am still taking snapshots manually and couldn't fix this issue.
This is my Snapfile
# Uncomment the lines below you want to change by removing the # in the beginning

# A list of devices you want to take the screenshots from
devices([
 "iPhone 11 Pro Max",
  # "iPhone 11",
  # "iPhone 8 Plus",
  # "iPad Pro (12.9-inch) (4th generation)"
])

languages([
  "en-US"
])
ios_version("13.6")
localize_simulator(true)
concurrent_simulators(false)

# The name of the scheme which contains the UI Tests
scheme("ScreenShots")

# File > Workspace Settings > Project Relative Deriver Data Location
derived_data_path("/Users/fatihyildizhan/Library/Developer/Xcode/DerivedData/saydim-cyleehnzprrpkjbhwtoljefqskgy")
test_without_building(true)

# Where should the resulting screenshots be stored?
output_directory("./screenshots")

# remove the '#' to clear all previously generated screenshots before creating new ones
# clear_previous_screenshots(true)

# Remove the '#' to set the status bar to 9:41 AM, and show full battery and reception.
override_status_bar(true)

# Arguments to pass to the app on launch. See https://docs.fastlane.tools/actions/snapshot/#launch-arguments
# launch_arguments([
#    "-uiTest YES"
# ])

# For more information about all available options run
fastlane action snapshot

Is there any difference between fastlane ios screenshots and fastlane snapshot ?

I'm having the same problem running snapshot or ios screenshots. with Fastlane 2.157.3.
Running commands with sudo leads to the following error:
[!] File /Users/admin/Library/Developer/CoreSimulator/Devices/DD9D3F42-AA53-4551-9617-BD7BC444D376/device.plist not readable!
I tried it on several devices and with options: erase_simulator, clean, and reinstall_app.
any news on this?

@SchneMa Can you please share your Snapfile too. It can be helpful.
I still couldn't fix it. I am manually taking the screenshots.

# Uncomment the lines below you want to change by removing the # in the beginning

# A list of devices you want to take the screenshots from
 devices([
   "iPhone 8 Plus",
#   "iPhone X",
#   "iPad Pro (12.9-inch)",
 ])

 languages([
   "de-DE"
 ])

# The name of the scheme which contains the UI Tests
scheme("UITestProject")

# Where should the resulting screenshots be stored?
 output_directory("./screenshots")

# remove the '#' to clear all previously generated screenshots before creating new ones
clear_previous_screenshots(true)

# Remove the '#' to set the status bar to 9:41 AM, and show full battery and reception.
# override_status_bar(true)
erase_simulator true
clean true
reinstall_app true

# Arguments to pass to the app on launch. See https://docs.fastlane.tools/actions/snapshot/#launch-arguments
# launch_arguments(["-favColor red"])

# For more information about all available options run
# fastlane action snapshot

I am having the same issue with 2.160.0
Right now screenshots are dead.

Me too - #17464 (I'll close that as a duplicate).

Snapshots are working for me 😔  But I'll be looking more into this tomorrow to see if I can replicate what's going on!

I have an extra function to take ss Today Widget on SnapshotHelper.swift but when I remove this func, I am not able to get screenshots too.
This may help you to replicate.
 open class func todaySnapshot(_ name: String, screenshot: XCUIScreenshot, timeWaitingForIdle timeout: TimeInterval = 20) {
          guard var simulator = ProcessInfo().environment["SIMULATOR_DEVICE_NAME"], let screenshotsDir = screenshotsDirectory else { return }

          do {
              let regex = try NSRegularExpression(pattern: "Clone [0-9]+ of ")
              let range = NSRange(location: 0, length: simulator.count)
              simulator = regex.stringByReplacingMatches(in: simulator, range: range, withTemplate: "")

              let path = screenshotsDir.appendingPathComponent("\(simulator)-\(name).png")
              try screenshot.pngRepresentation.write(to: path)
          } catch let error {
              NSLog("Problem writing screenshot: \(name) to \(screenshotsDir)/\(simulator)-\(name).png")
              NSLog(error.localizedDescription)
          }
  }

For me the issue was the M1 processor. It runs as ARM64 arch, and in the snapshot helper (// SnapshotHelperVersion [1.20]) I had to modify the pathPrefix function at line 224 and extend the condition with arch(arm64) to pick up the location.


Command should tee vs echo with sudo

Sudo is lost when piped, tee the output instead: https://github.com/kenmoini/ocp4-ai-svc-universal#one-time--installing-oc

Closed-fixed


ban appeal

I made a mistake I did not mean to say that in chat my game crashed and I made a mistake I promise I will never make that mistake again

You were caught by the auto-banner for saying a racial slur. That's not "my game crashed and I was mad", that's "I can't control my anger". I am unbanning you because the autobanner is meant to catch trolls, and I don't believe you are one. But if it happens again, this will be permanent. You've now been unbanned.


when i add client or formyself this happends

Job for<EMAIL_ADDRESS>failed because the control process exited with error code. See "systemctl status<EMAIL_ADDRESS>and "journalctl -xe" for details.

Which OS did you use?

ubuntu 16
On Mon, 20 Jul 2020 at 00:08, D. Robin<EMAIL_ADDRESS>wrote:

Which OS did you use?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angristan/wireguard-install/issues/100#issuecomment-660846255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOJT7RFS4MBPNGV6WYZLFV3R4PUOHANCNFSM4PBGTULA
.

Make sure the machine is up-to-date (specifically the kernel, you need to reboot after a kernel update) before installing wireguard. Otherwise the DKMS module won't build.


Cannot get graph to show edge labels

Hi - congrats for your great work !
I am probably stupid but I cannot find how to get the edge labels (as per Ontology) displayed in Excalibrain...
It appears in some of your videos but I cannot find the how to.

Can you share where you found it? I have the same issue.


Issue 511 - Globus to Influx

New  method - should be used to push globus status data to InfluxDB.

Just pushed an update on this but I think it's ready to go, we can discuss this afternoon & deploy.


Parameter completers do not work when prompting for input

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce

Write a command supporting an ArgumentCompleter on one of the parameters
Test the completer by tabbing a parameter value on the command line and note that it works.
Invoke the cmdlet without parameters on the command line such that you are prompted for input.
Attempt to tab-complete the parameter that supports the completer.

Expected behavior
PowerShell tab-completes the parameter.

Actual behavior
PowerShell does nothing.

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Darwin 21.2.0 Darwin Kernel Version 21.2.0: Sun …
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

@chriskuech Please share demo script.

This is expected.
When a mandatory parameter is omitted the fall back is to use the functionality of Read-Host to prompt for user input.  So it:

Doesn't treat "," as a separator between items and requires multiple items as separate inputs
Does process Variables  - $PsversionTable will be the literal text starting with a $ sign not the value of the variable
Doesn't need quotes where there are spaces and treats quotes and escape characters as literal text.
Doesn't have any of the functionality provided by the prompt (and in modern versions by PS Readline).  So  [ctrl]+r  is not search-history but inserts `^R"
Doesn't add to the search history


”Strunga”, ”Brătulești”, ”Crivești”, ”Cucova” are listed in the drop-down menu

Description:
When user writes ”Strunga”, ”Brătulești”, ”Crivești”, ”Cucova” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Strunga"

Expected results
The location appears in the drop-down menu as "Sat Strunga, IAȘI (Strunga)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Brătulești"

Expected results
The location appears in the drop-down menu as "Sat Brătulești, IAȘI (Strunga)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Crivești"

Expected results
The location appears in the drop-down menu as "Sat Crivești, IAȘI (Strunga)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Cucova"

Expected results
The location appears in the drop-down menu as "Sat Cucova, IAȘI (Strunga)".


I couldn't figure out how to nicely convert a streamable reqwest::Response into a Readable

this is likely because I am bad at rust but I struggled to get this working (though in theory it shouldn't be too difficult?)
I was hoping to be able to do something like:
let resp = reqwest::get(u).await?;

for token in html5gum::Tokenizer::new(&resp) { ... }

or even with bytes_stream
let resp = reqwest::get(u).await?.bytes_stream();

for token in html5gum::Tokenizer::new(&resp) { ... }

fell back on
let resp = reqwest::get(u).await?.text().await?;

for token in html5gum::Tokenizer::new(&resp) { ... }

but I'm pretty sure that's not going to stream the response and it's going to convert it back and forth from Bytes -> String -> Vec -> String unnecessarily

yup that's a known problem. html5gum ideally would accept:

async streams (or whatever other async support there is, see #3)
iterators of characters, bytes, string chunks, whatever

then additionally, html5gum should ideally return String tokens (not Bytes), if the input was already guaranteed valid utf-8. however, that's a lot of trait magic i have to do.
i think it's likely that, if #47 #21 ever lands, i'll revamp the I/O setup significantly. a lot of the inflexibility i introduced in html5gum was based around performance improvements i can make if the entire input stream is available as a contiguous block of bytes in memory
i don't think buffering up all input in memory is strictly worse for performance. most html documents should fit into your I/O buffer, and in my experience you save quite a bit of branching when passing a string into the tokenizer vs passing in a File object (even with a massive I/O buffer size)
i was curious what you were working on. seems like it's some sort of improvement to pip? I think pip already does not use a fully spec-compliant HTML5 parser. And since you're parsing literally only one webpage from a single party, I suspect your range of possible HTML "dialects" you have to deal with will be very limited, so a custom parser or quick-xml might work fine (and probably quicker too)

thanks for the advice !


document#set(obj) doesn't work if obj is a sub doc

My schema is similar to the following:
let schema = new mongoose.schema({
  confirmation: {
    data: {
      email: String
    }
  }
});

I also have a User model, which is updated with data from the above schema:
user.set(this.get('confirmation.data')); // `user.email` won't be changed

But this doesn't work (there is now change to the user document). Meanwhile, if make confirmation.data of type Mixed, it works:
let schema = new mongoose.schema({
  confirmation: {
    data: mongoose.Schema.Types.Mixed
  }
});
// ...
console.log(this.get('confirmation.data')); // { email<EMAIL_ADDRESS>}
user.set(this.get('confirmation.data')); // This works just fine

Another strange behaviour: Setting strict mode to false leads to none of the above examples working:
let schema = new mongoose.schema({
  confirmation: {
    data: mongoose.Schema.Types.Mixed
  }
});
user.set(this.get('confirmation.data'), { strict: false }); // This won't work

By the way, I'm using version 4.0.0-rc4.
Should I write a test for it? Maybe, I could also try to work out a fix if you want me to.

What does your user schema look like? A test would be helpful.

So I pushed a fix for the "won't set data from a sub doc" test, that was legitimately a bug.
"won't set data from an object of type Mixed when in non-strict mode" is not an issue with mongoose - the correct way to do that would be doc2.set(doc3.data, undefined, { strict: false });. Note the 'undefined' as the 2nd parameter. That's because technically that is not a publicly supported syntax for doc2.set(), it's used as an internal hack, but it should work for the foreseeable future.


Added Pig Dice Game

Pull Request for PyVerse 💡
Requesting to submit a pull request to the PyVerse repository.

Issue Title
Please enter the title of the issue related to your pull request.
Enter the issue title here.
Adding Pig Dice game with python

[x] I have provided the issue title.
closes #453

Info about the Related Issue
What's the goal of the project?
Describe the aim of the project.

[ ] I have described the aim of the project.

Name
Please mention your name.
Enter your name here.

[ ] I have provided my name.

GitHub ID
Please mention your GitHub ID.
Enter your GitHub ID here.

[ ] I have provided my GitHub ID.

Email ID
Please mention your email ID for further communication.
Enter your email ID here.

[ ] I have provided my email ID.

Identify Yourself
Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, SWOC).
Enter your participant role here.

[ ] I have mentioned my participant role.

Closes
Enter the issue number that will be closed through this PR.
Closes: #issue-number

[ ] I have provided the issue number.

Describe the Add-ons or Changes You've Made
Give a clear description of what you have added or modified.
Describe your changes here.

[ ] I have described my changes.

Type of Change
Select the type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Describe how your changes have been tested.
Describe your testing process here.

[ ] I have described my testing process.

Checklist
Please confirm the following:

[ ] My code follows the guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added things that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

@UTSAVS26 Please Review the PR soon

@UTSAVS26 Please Review the PR soon

Create a new PR as you didn't fill all the details that are asked in it.


New icon for GradientTexture2D

From godotengine/godot#44259 by @Xrayez's choice.

Nice, this is definitely better than having the same icons for both classes!
Also, I'm not quite sure but it might be possible to override the GradientTexture icon as well, I haven't tried that, might work...
Thanks for your first contribution in Goost!


chore: Add option to set the aztec macros environment variable

Description
Resolves #52
Problem*

Resolves
Summary*

Additional Context

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Closing this as macros are on by default.


Disposal Conveyer Belts Not Moving Garbage

Description
I've noticed this issue across all maps for the last few weeks, in that the disposal conveyers will not move items that are sent to them by the disposal network. If a player picks up and drops the trash onto the conveyor, then it will now be moved.
Reproduction

Load up a map/Join a round
Flush some items into disposals
Check in the disposal room
Activate conveyer
Notice that trash doesn't move

OR

Join a round
Wait 20+ minutes
Visit disposal room
See the mass of trash that refuses to move

Screenshots

Additional context
For the screenshot, the conveyers are on, and the people are having to manually pick up the item and drop it for the conveyor to affect the items.

I believe this regression was introduced in the most recent conveyors rewrite.
Also note that if you pick up the trash and put it back down on the conveyor, it will move again.

Disposals and/or containers should be waking bodies when it dumps them.

I've still seen the same issue in rounds yesterday, so I will be leaving this up still.


Explore and remove code for filesystem volume (if not appropriate)

/kind bug
What happened?
There is code for both block and filesystem volumes in the powervs csi driver.
Explore about both block and file system volumes.
Remove the code for file system volumes if it is not appropriate.
What you expected to happen?
Volumes created by PowerVS CSI Driver are expected to be block volumes.
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?:
Environment

Kubernetes version (use kubectl version):
Driver version:

/assign

The objective of IBM PowerVS Block CSI Driver is to enable workloads to make use of block devices created in Power VS.
There is no file system disks can be created in the PowerVS.
But still we could see code for File system volumes: https://github.com/kubernetes-sigs/ibm-powervs-block-csi-driver/blob/18af96f9f253078318ca0378bc10db4e022a0dfc/pkg/driver/node.go#L350
Which is not actually needed. I think we can cleanup the file system related code.
@mkumatag what is your thoughts on this?

and who will advertise the capabilities here https://github.com/kubernetes-sigs/ibm-powervs-block-csi-driver/blob/4cb7aae9e69ae34a8a1059b39e424684dc8d5807/pkg/driver/node.go#L330 and hope this will never return non-block stuff

@mkumatag,
I have explored about modes for PVCs.
volumeMode is an optional API parameter. Filesystem is the default mode used when volumeMode parameter is omitted.

A volume with volumeMode: Filesystem is mounted into Pods into a directory. If the volume is backed by a block device and the device is empty, Kubernetes creates a filesystem on the device before mounting it for the first time.

You can set the value of volumeMode to Block to use a volume as a raw block device. Such volume is presented into a Pod as a block device, without any filesystem on it. This mode is useful to provide a Pod the fastest possible way to access a volume, without any filesystem layer between the Pod and the volume. On the other hand, the application running in the Pod must know how to handle a raw block device.

reference: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode
Currently we are allowing the pod to mount the power vs volume in either block mode or filesystem mode. Eventhough the Eventhough the PowerVS volumes are block volumes, volume mode represents how we want that volume to be mounted to the Pod. So, the filesystem related code in our driver represents the volume mode of the PVC.
The conclusion is There is no code refactor needed, current code does the job as expected.


Add migration publishing, update config publishing and environmental variables

Issue #81: Add migration publishing to service provider

Change database migration to stub file
Add migration publishing to ServiceProvider
Update config publishing to publish and merge correctly

Fixes Issues #65 & #83: Have config file pull values from environmental variables

Added env() helpers in config.php to allow easier changing of important settings in a per-environment basis

Looks good, but is there any reason for removing the if version_compare blocks? I'd like to try and keep backwards compatibility if possible.

@codetheorist you'll break anything prior to v5.3 for not much gain. Just environment support is probably enough for this PR rather then removing code that supports Laravel 4 onwards.

@codetheorist any update?


[Bug]: Connection to us.i.posthog.com timed out.

What happened?

A bug occurs when I use the following code:
client = chromadb.Client()
collection = self.client.get_or_create_collection(
name=vectorstore_name, metadata={"hnsw:space": distance}
)
batch_size = 10240
_iter = range(0, len(texts), batch_size)
for i in _iter:
a = self.client.heartbeat() # returns a nanosecond heartbeat. Useful for making sure the client remains connected.
collection.add(
embeddings=embeddings[i : i + batch_size],
documents=texts[i : i + batch_size],
metadatas=metadatas[i : i + batch_size],
ids=ids[i : i + batch_size],
)
collection.query(
text=text,
top_k=top_k,
where_metadata=where_metadata,
where_content=where_content,
)
Versions
Chromadb              0.4.24
chroma-hnswlib                           0.7.3
python 3.8.19
linux
Relevant log output
No response

@meu98, thanks for reporting this. Chroma has product telemetry enabled by default so that the team can make informed decisions about future features or address developers' challenges with the product. The telemetry is an opt-out feature (meaning you need to explicitly disable it). To disable the telemetry and avoid getting the warnings in your screenshot you can do the following:
import chromadb
from chromadb import Settings

client = chromadb.Client(settings=Settings(anonymized_telemetry=False))

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


Participant with different lease expiration timeout fail to reconnect [4971]

Given two participants on a network, if both participant have a different participant lease timeout value (for example, one has 120s lease while the other has 360s lease). When the network gets disconnected and the participant with the shorter lease timeout expire, if the network connection is reconnected before the longer lease participant had the opportunity to timeout, then communication cannot be re-established.

Sound as a regression. This was fixed on #155. We will look into it. Thanks.

Yes, this looks exactly like the issue linked.
Notes that I noticed / reproduced the problem on Fast-Rtps v1. 7.1

Ping, any insight about what might be happening here?

Hi @guillaumeautran
We are working in a hotfix for this. We have been able to reproduce it in a network environment (and the hotfix is ready) but we haven't in localhost.
We want to understand why is this happening and make sure it doesn't have any side effects before releasing the hotfix. Being able to reproduce it on localhost will allow us to create a test for this issue.
Best regards.


Leaderboard: hit the API

Create a new game with the name of your choice by using the API.
Make sure that you saved the ID of your game that will be returned by API.
Implement the "Refresh" button that will get all scores for a game created by you from the API (receiving data from the API and parsing the JSON).
Implement the form "Submit" button that will save a score for a game created by you (sending data to the API).
Use arrow functions instead of the function keyword.
Use async and await JavaScript features to consume the API.

Hi
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request
You have submitted a project, that has instructions from the README template creators. Kindly remove them since they are there to instruct you to set up a professional README. 📜
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Should we disable smart-faq based on device, not exclusively screen resolution?

As raised in our PR for frontend integration, it seems strange that the client is able to use the smart-faq in their device when it's in landscape mode, but not in portrait mode - that can cause weird situations like you are looking at the old help, flip your phone and suddenly a new help app appears.
What is your opinion on this? @jaroslav-kubicek @jalbertsr @kantord @dinodsaurus @edgarordonez @mjancik
Should we disable it based on device and resolution instead of just resolution. Apparently as of now the feature observed to determine the isMobile redux store attribute(which we use to render/not render)  is only screen resolution. https://gitlab.skypicker.com/frontend/frontend/blob/master/app/scripts/tools/windowBindings.js

I am not very comfortable with using device detection to implement responsive design. I think ideally the site should work the same way in small-sized browser windows as it works on mobile. (Well, with some exceptions maybe, but in our case I can't think of any)

let's implement responsive designs and this issue will be automatically resolved as well 👼

Aren't we intentionally limiting the userbase to desktop-only?

I think it's worth mentioning that this is only about the temporary desktop-only release, as @git-toni mentioned in an in-person discussion.

So after discussion with @jaroslav-kubicek it seems we will actually deploy responsive designs as well for this first release so this issue can be closed.


PHP Fatal error:  Uncaught Tumblr\API\RequestException: [401]: Unauthorized\n\n

Hi. I'm getting an error message that is similar to what was discussed in issue #22, but I'm not able to resolve it and would appreciate any help/feedback as to what I'm doing wrong. Starting with some of the example code in #22, I'm able to retrieve the blog information fine (ex: $info->user->name), but post creation seems to fail, with the following apache error.log messages:
[Wed Sep 21 12:28:37.327302 2016] [:error] [pid 16206] [client <IP_ADDRESS>:60340] PHP Fatal error:  Uncaught Tumblr\\API\\RequestException: [401]: Unauthorized\n\n  thrown in /var/www/html/tumblrAPI/vendor/tumblr/tumblr/lib/Tumblr/API/Client.php on line 427

Here's the full code. I've redacted the consumer key, consumer secret, and blogName, but everything else is in tact.
<?php
session_start();

require_once('vendor/autoload.php');

$consumerKey = 'PLACE HERE';
$consumerSecret = 'PLACE HERE';
$blogName = 'PLACE HERE'; // blogname.tumblr.com

$client = new Tumblr\API\Client($consumerKey, $consumerSecret);
$requestHandler = $client->getRequestHandler();
$requestHandler->setBaseUrl('https://www.tumblr.com/');

// If we are visiting the first time
if (!$_GET['oauth_verifier']) {

    // grab the oauth token
    $resp = $requestHandler->request('POST', 'oauth/request_token', array());
    $out = $result = $resp->body;
    $data = array();
    parse_str($out, $data);

    // tell the user where to go
    echo ' GO ';
    $_SESSION['t']=$data['oauth_token'];
    $_SESSION['s']=$data['oauth_token_secret'];

} else {

    $verifier = $_GET['oauth_verifier'];

    // use the stored tokens
    $client->setToken($_SESSION['t'], $_SESSION['s']);

    // to grab the access tokens
    $resp = $requestHandler->request('POST', 'oauth/access_token', array('oauth_verifier' => $verifier));
    $out = $result = $resp->body;
    $data = array();
    parse_str($out, $data);

    // and print out our new keys we got back
    $token = $data['oauth_token'];
    $secret = $data['oauth_token_secret'];
    echo "token: " . $token . "
secret: " . $secret;

    $client = new Tumblr\API\Client($consumerKey, $consumerSecret, $token, $secret);
    $info = $client->getUserInfo($blogName);

    echo "

congrats " . $info->user->name . "!";

	$client3 = new Tumblr\API\Client($consumerKey, $consumerSecret, $token, $secret);
	$data = array(
		'type' => 'link',
		'title' => 'title',
		'url' => 'http://www.yahoo.com',
		'description' => 'my sample tumblr post',
		'publisher' => 'me',
		'photos' => array(
			'width' => '1920',
			'height' => '1080',
			'url' => 'https://i.ytimg.com/vi/m5d1FlSeF-M/maxresdefault.jpg'
		)
	);

	$post = $client3->createPost($blogName, $data);

	echo $post;

}

?>

Same thing happening here.

I did a bit of testing on this. It looks like if you create a second instance of the API, then make a new request, you get an authentication error. It's nothing to do with the 'post' method. Most likely this is a restriction on the Tumblr side.
So for example, this produces the same error for me:
`$client = new Tumblr\API\Client($consumerKey,$consumerSecret,$token,$tokenSecret);
$info = $client->getUserInfo();
echo "congrats " . $info->user->name . "!";
$client2 = new Tumblr\API\Client($consumerKey, $consumerSecret, $token, $secret);
$info2 = $client2->getUserInfo();
echo "more congrats " . $info2->user->name . "!"; `
Whereas this works fine:
`$client = new Tumblr\API\Client($consumerKey,$consumerSecret,$token,$tokenSecret);
$info = $client->getUserInfo();
echo "congrats " . $info->user->name . "!";
$info2 = $client->getUserInfo();
echo "more congrats " . $info2->user->name . "!"; `
If you don't create a second instance, you should be ok.

@andrewbecks It looks like your passing up parameters based on what Link Post responses look like. However, if you check the Link Post Creation docs, it actually requires a few different parameters.
Try making a request with these parameters:
$data = [
    'type' => 'link',
    'url' => 'http://www.yahoo.com',
    'description' => 'my sample tumblr post',
    'thumbnail' => 'https://i.ytimg.com/vi/m5d1FlSeF-M/maxresdefault.jpg',
    'author' => 'me',
]

Which will produce a post including these parameters:
        "link_image": "https://68.media.tumblr.com/d6ef4c3eb45e1920ea3c91c01870eaac/tumblr_oszjtpmuJC1s4ftbf_og_540.jpg",
        "link_image_dimensions": {
          "width": 540,
          "height": 304
        },
        "link_author": "me",
        "excerpt": null,
        "publisher": "yahoo.com",
        "description": "
my sample tumblr post
",


I had an error on training in trainModel.py

I had an error on this line
train_x, test_x, train_y, test_y = train_test_split(features, labels, test_size=0.3, random_state=0)
they said
ValueError: With n_samples=0, test_size=0.3 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
How can I solve this?

Find this line of code:
mel = np.array(librosa.feature.melspectrogram(X, sr=sample_rate).T)
and replace with this line:
mel = np.array(librosa.feature.melspectrogram(y=X, sr=sample_rate).T)
Hope this helps.


Implementations of is_contiguous and make_contiguous

In this PR, we attempt to roll out python-based functions that allow one to check whether or not the values in a TensorBlock and TensorMap are contiguous, and make them contiguous as needed. Tests for the newly implemented operations have also been implemented.
Resolves #265
Contributor (creator of pull-request) checklist

[x] Tests updated (for new features and bugfixes)?
[ ] Documentation updated (for new features)?
[x] Issue referenced (for PRs that solve an issue)?

Reviewer checklist

[ ] CHANGELOG updated with public API or any other important changes?

📚 Documentation preview 📚: https://metatensor--522.org.readthedocs.build/en/522/

What's the status on this PR?

The status is that it has been lost to the bottom of the priority list - will finish it off at some point but happy for you to close for now if you like :)

Do you remember what's missing? I can also quickly take over and finish it

I think it was almost there but I remember not being able to make the trochscript tests work for a reason I didn't get to the bottom of


Cleanup Filtering

Rationalize the DetStepFilters in primary production.  Add a generic bash script for generating primary fcl.  Cleanup the cosmic scripts.  Remove the cosmic 'loose' stream: this needs to become a dedicated S2 job for Offspill and Extracted.

Hi @brownd1978,
You have proposed changes to files in these packages:

Scripts
JobConfig

which require these tests: build.
@Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main.
:hourglass: The following tests have been triggered for 6772bfd87c4d79d02e87288283ed014f35cae117: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.

:umbrella: The tests failed for 6772bfd87c4d79d02e87288283ed014f35cae117.

Test
Result
Details

merge
:white_check_mark:
Merged 6772bfd87c4d79d02e87288283ed014f35cae117 at f56a31e8e19f3f91513d4f959c30dbe6b639215e

build (prof)
:white_check_mark:
Log file. Build time: 27 min 38 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:x:
Log file. Return Code 24.

muDauSteps
:white_check_mark:
Log file.

ceMix
:x:
Log file. Return Code 24.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 6772bfd87c4d79d02e87288283ed014f35cae117 after being merged into the base branch at f56a31e8e19f3f91513d4f959c30dbe6b639215e.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

@brownd1978 it looks like the validation failed, do you know the reason?

The job ceSteps is writing an output file named: dts.owner.CeEndpoint.version.sequencer.art
The jobs ceDigi and ceMix fail because they cannot find an input file named: dts.owner.ceSteps.dsconf.seq.art
If I look at previous CI jobs that worked, the output of ceSteps was named: dts.owner.ceSteps.dsconf.seq.art
From: Stefano Roberto Soleti @.>
Reply-To: Mu2e/Production @.>
Date: Friday, November 26, 2021 at 9:31 PM
To: Mu2e/Production @.>
Cc: Rob Kutschke @.>, Team mention @.***>
Subject: Re: [Mu2e/Production] Cleanup Filtering (PR #141)
@brownd1978https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_brownd1978&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=9s0n95fodLptYW9rwpGMZbAgTLY7Ac7_ttu2fTvquJBbH1auzhKVi_3Vp7SyDWKq&s=sR-WjQBVoLjPO6n0RM1RdH8xcZXqmdaVWiUBWY6n4Pg&e= it looks like the validation failed, do you know the reason?
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mu2e_Production_pull_141-23issuecomment-2D980489004&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=9s0n95fodLptYW9rwpGMZbAgTLY7Ac7_ttu2fTvquJBbH1auzhKVi_3Vp7SyDWKq&s=976CXSm5IjdEmJLoz4d9FSFCVSTpoBlN236rRQliiiI&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABHY5ZWB4F3X6GU244WSXRLUOA7F7ANCNFSM5IWZGF5Q&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=9s0n95fodLptYW9rwpGMZbAgTLY7Ac7_ttu2fTvquJBbH1auzhKVi_3Vp7SyDWKq&s=ev_aEkQs0iBPEaqyjkeUOxJcnfMS1QdS-FGHtog-VaY&e=.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=9s0n95fodLptYW9rwpGMZbAgTLY7Ac7_ttu2fTvquJBbH1auzhKVi_3Vp7SyDWKq&s=6HFKJJyhypsbPe-bB5Nj3kWOmR3fB015HQYzpSyAvXc&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=9s0n95fodLptYW9rwpGMZbAgTLY7Ac7_ttu2fTvquJBbH1auzhKVi_3Vp7SyDWKq&s=wfCqxXvB42EcxHRfMM2MxoGTmDbz_NXZaYtEMKTDxd0&e=.

@FNALbuild run build test

:hourglass: The following tests have been triggered for e5bab82c5e7bebf99e0a84d0c563cf4102358f2e: build  (Build queue has 1 jobs)

:sunny: The tests passed at e5bab82c5e7bebf99e0a84d0c563cf4102358f2e.

Test
Result
Details

merge
:white_check_mark:
Merged e5bab82c5e7bebf99e0a84d0c563cf4102358f2e at f56a31e8e19f3f91513d4f959c30dbe6b639215e

build (prof)
:white_check_mark:
Log file. Build time: 27 min 40 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at e5bab82c5e7bebf99e0a84d0c563cf4102358f2e after being merged into the base branch at f56a31e8e19f3f91513d4f959c30dbe6b639215e.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.


precacheAndRoute is not working with addPlugins

Library Affected:
workbox-precaching
Browser & Platform:
_E.g. Google Chrome 111.0.5563.146 (Official Build) (arm64)
Issue Description:
We are using the precacheAndRoute method from the workbox-precaching module to pre-cache our assets. However, we have noticed that it fails whenever it encounters a 400, 404, or CORS error. To handle these situations, we have added the addPlugins method. After adding this method, the precacheRoute method is no longer working.
Steps to Reproduce:
Use the precacheAndRoute method from the workbox-precaching module.
Encounter a 400, 404, or CORS error.
Add the addPlugins method to handle the error.
Observe that the precacheRoute method is no longer working.
Expected Behavior:
We expected the precacheRoute method to continue working even after we added the addPlugins method to handle the 400, 404, and CORS errors.

Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:

For PRs, we closed everything that doesn't target the current v7 branch.
For Issues, we closed everything that was created before 2024.

Thanks, and we hope for your understanding!
The Workbox team


Add SWF support

I'd really like to see SWF support in moto, so I started hacking on the easiest endpoints here: https://github.com/botify-labs/moto/tree/feature/add-swf, with some implementation notes here: https://github.com/botify-labs/moto/wiki
I have a few questions before continuing:

do you think it would be possible to include it in moto? or should I make a separate library?
is there any kind of automatation to ease endpoint integration from boto docs or source code? not that it's a problem but if there's something...
are there general guidelines for implementing errors? I saw some parts of moto use boto exceptions directly, while other reimplement their own ones
if an integration upstream is possible, should I open a PR now as "WIP" for early comments? should I make separate incremental pull requests as I implement endpoints?

Thanks for any feedback and keep up the good work with moto ;-)

Yes, I would love it.
Nothing easy now, all manual :/
We try not to use boto exceptions anymore. For a example of what we do now, see here.
If you want to open it now, feel free and I can try to give some early feedback.

Let me know if there is anything else I can do to help!

This was added with #451


Download won't go past 21 000 images on a single group

I noticed this recently when I was trying to download every picture tagged with Hatsune Miku from gelbooru, which is a beefy number of 70 thousand so i guess it would have issues, my download stuck firm after twentieth batch, i know it's probably because of the search limit set on the site but is there any way to circumvent this? i also don't understand why the program needs to search the images in order to download them, why not, you know, download every image that comes under the specified tag that is located on the server? or is it not this simple?

also what i found strange is that my download seem to went up to 20 999 while to my knowledge gelbooru permits only 1001 pages per search which is only 20 020 results if we're searching with defualt Grabber pagination, this limit somehow didn't stop the creation of the full twentieth batch, i wonder why is that, could the pictures be searched past 20 0020 or am i missing something?

yep, the solution is to use id:< and id:> on gelbooru, danbooru and affiliated booru like them. In your exemple the solution is to do like that :

we can see hatsune miku as 72970 results
The problem is we don't know the id of each singular images, but we know the last id with the first result page (and we can eyeball it too) in this exemple it is id:6022756
so now the best way would be to look for the images betweens "id" plages. We idealy want query close to 20k result, more will make us skip some image, so we start with "hatsune_miku id:<990000" since this get us 19876 results, close enought to 20k, frome then we add this query to the batch and proceed to the next one : "hatsune_miku id:>990000 id:<1900000" is 18363, and we continue until we get over the last id.

So the requests for all the hatsune_miku images would be :

hatsune_miku id:<990000 (19876)
hatsune_miku id:>990000 id:<1900000 (18363)
hatsune_miku id:>1900000 id:<4350000 (19803)
hatsune_miku id:>4350000 id:<7000000 (14064)
Grand total : 72.106, so we miss a little but more likely images removed from the website, the id persist, but they got removed and are not counted in the results.

Save them in a path like : "hatsune_miku%artist% - %id% - %rating% - %md5%.%ext%" or wathever you like, but don't use %search% unless you want a folder for each query.


[tests-only] Updated core commit id to the latest upto date 2022-02-18

Bumps the core commit id for tests in master branch.
Part of https://github.com/owncloud/QA/issues/721

https://github.com/JankariTech/reva/tree/bump-core-commit-2022-02-18
"This branch is 2 commits ahead, 2 commits behind cs3org:master."
I updated https://github.com/JankariTech/reva master to the latest from https://github.com/cs3org/reva just now. We need to do that before starting PRs from our fork, otherwise they start from an out-of-date master branch.
@grgprarup please rebase this PR.


Geolocator plugin can't give me live location stream when I using " forceLocationManager: true, "

Please check the following before submitting a new issue.

[X] I have searched the existing issues.
[X] I have carefully read the documentation.

Please select for which platform(s) you need help

[X] Android
[X] iOS
[ ] Linux
[ ] macOS
[ ] Web
[ ] Windows

Your question
Geolocator plugin can't give me live location stream when I using " forceLocationManager: true, " and I can't getting location stream in background with this code.
import 'package:flutter/foundation.dart';
import 'package:geolocator/geolocator.dart';

Stream<Position> getLiveGeoLocatorData() {
  LocationSettings locationSettings;

  if (defaultTargetPlatform == TargetPlatform.android) {
    locationSettings = AndroidSettings(
      accuracy: LocationAccuracy.high,
      distanceFilter: 50,
      forceLocationManager: true,
      //(Optional) Set foreground notification config to keep the app alive
      //when going to the background
        foregroundNotificationConfig: const ForegroundNotificationConfig(
          notificationText:
          "Example app will continue to receive your location even when you aren't using it",
          notificationTitle: "Running in Background",
          enableWakeLock: true,
        ),
    );
  } else if (defaultTargetPlatform == TargetPlatform.iOS ||
      defaultTargetPlatform == TargetPlatform.macOS) {
    locationSettings = AppleSettings(
      accuracy: LocationAccuracy.high,
      activityType: ActivityType.automotiveNavigation,
      distanceFilter: 50,
      pauseLocationUpdatesAutomatically: true,
      showBackgroundLocationIndicator: true,
    );
  } else {
    locationSettings = const LocationSettings(
      accuracy: LocationAccuracy.high,
      distanceFilter: 100,
    );
  }

  return Geolocator.getPositionStream(locationSettings: locationSettings);
}

Version
^9.0.2

Hi @Milan-Verselix,
Thanks for submitting this issue. Can you help us with some more information?
First it would be very helpful if you can post the contents (or at least the permission part) of the app/src/main/AndroidManifest.xml in your application.
Secondly can you describe in more detail when the stream doesn't work? Is it only when running in the background, meaning it works in the foreground. Did you test on a real device or only on the simulator?
Lastly, can you provide the output of the flutter doctor -v command?

First it would be very helpful if you can post the contents (or at least the permission part) of the app/src/main/AndroidManifest.xml` in your application.

<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
    <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
    <application
        android:label="speed_tracking"
        android:name="${applicationName}"
        android:icon="@mipmap/ic_launcher">
        <activity
            android:name=".MainActivity"
            android:exported="true"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
    </application>
</manifest>

When I set forceLocationManager: true then it's not working in foreground and background both.
And When I remove forceLocationManager field then it's working in only on foreground but not in background.
I want to get live stream location in both (Foreground & Background).

I test it in real device and simulator both.

Secondly can you describe in more detail when the stream doesn't work? Is it only when running in the background, meaning it works in the foreground. Did you test on a real device or only on the simulator?

Lastly, can you provide the output of the flutter doctor -v command?

[✓] Flutter (Channel stable, 3.10.5, on macOS 12.5 21G72 darwin-x64, locale
    en-IN)
    • Flutter version 3.10.5 on channel stable at
      /Users/verselix/Library/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (6 weeks ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/verselix/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.80.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.68.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 115.0.5790.102

[✓] Network resources
    • All expected network resources are available.

• No issues found!

The same issue facing in Android 13 devices.Geolocator.getPositionStream not working continuously

plugin fails to function correctly on devices running Android 13 when the "forceLocationManager:false" configuration is used, which had been working seamlessly on Android versions up to 12 with "forceLocationManager:true."

I'm not getting any GPS updates on Android 13 devices either. On an Android 12 emulator it isn't working either.
Not in the background or even foreground. Changing forceLocationManager to true doesn't do anything either.
This is what I found in the logs
E/FlutterGeolocator( 6871): Geolocator position updates stopped
D/FlutterGeolocator( 6871): Stopping location service.
I/flutter ( 6871): [LOGLEVEL.INFO] AppLifecycleState: AppLifecycleState.resumed
D/FlutterGeolocator( 6871): Stop service in foreground.
E/FlutterGeolocator( 6871): Geolocator position updates started using Android foreground service
D/FlutterGeolocator( 6871): Start service in foreground mode.

And these android settings
AndroidSettings(
        intervalDuration: const Duration(seconds: 5),
        foregroundNotificationConfig: const ForegroundNotificationConfig(
          notificationText:
              "Zoef.app is running in the background to detect nearby stations.",
          notificationTitle: "Running in Background",
          enableWakeLock: true,
        ),
        distanceFilter: 100,
        accuracy: LocationAccuracy.medium,
      );

I can only get it to 'work' if I set the distanceFilter to 0. Does anyone else also experience the same?
Whatever I do though, I never seem to get the GPS icon in the status bar. The one that should appear indicating an app is using your GPS location. This does actually happen with for example Google Maps.

@mvanbeusekom Any solution for use in Android 13 ?

This is identical to issue #1114 that was opened that was opened in August of last year.

Is anybody working on this?

Dear @MattyBoy4444, @rlueders, @Milan-Verselix, @AkhilaTeam, @dipinsankar1, @sdegroot,
Does it work in the example app? It seems to work fine if I test the example app op a Nexus 7, Android 13.
Did you request the proper permissions and did you setup the manifest correctly? (Check the README for detailed steps)
If you don't get positions in the example app then check if your device is setup properly. The forceLocationManager forces the old location manager that is based on either GPS or Network. If one of them is not setup properly then you might not be able to get a location. Also notice that it is important to test your gps locations in an open environment. I've personally tested this in concrete buildings and the gps might not be able to find an accurate location. Also be careful when you test locations in your Simulator. It might not be working as expected.
If the example apps works correctly and your app does not work correctly then the issue can be found in your code.
Kind regards,
Tim

Dear @MattyBoy4444, @rlueders, @Milan-Verselix, @AkhilaTeam, @dipinsankar1, @sdegroot,
Does it work in the example app? It seems to work fine if I test the example app op a Nexus 7, Android 13.
Did you request the proper permissions and did you setup the manifest correctly? (Check the README for detailed steps)
If you don't get positions in the example app then check if your device is setup properly. The forceLocationManager forces the old location manager that is based on either GPS or Network. If one of them is not setup properly then you might not be able to get a location. Also notice that it is important to test your gps locations in an open environment. I've personally tested this in concrete buildings and the gps might not be able to find an accurate location. Also be careful when you test locations in your Simulator. It might not be working as expected.
If the example apps works correctly and your app does not work correctly then the issue can be found in your code.
Kind regards,

Dear @TimHoogstrate
I have the same issue here. When i use forceLocationManager: true the system doesn't even try to get the location. the gps icon does not even appear in the notification bar.
I made all your mentioned checks
My device is a samsung tablet, with Android13. All permissions alread ok. Both foreground and backgroud not work. getCurrentPosition and getPositionStream also not work.
If you need more information, i can help you to find the problem.
Regards

      //solicita as permissoes de gps caso naõ estejam ativadas
      var permission = await Geolocator.checkPermission();
      if (permission == LocationPermission.denied) {
        permission = await Geolocator.requestPermission();
        if (permission == LocationPermission.denied) {
          // Permissions are denied, next time you could try
          // requesting permissions again (this is also where
          // Android's shouldShowRequestPermissionRationale
          // returned true. According to Android guidelines
          // your App should show an explanatory UI now.
          return Future.error('Location permissions are denied');
        }
      }

      if (permission == LocationPermission.deniedForever) {
        // Permissions are denied forever, handle appropriately.
        return Future.error(
            'Location permissions are permanently denied, we cannot request permissions.');
      }

      // Test if location services are enabled.
      bool serviceEnabled = await Geolocator.isLocationServiceEnabled();
      while (!serviceEnabled) {
        await showPopUp(
            'Por favor ative o GPS!', 'GPS Obrigatório', '', context);

        debugPrint('apos o popup');

        await Future.delayed(const Duration(milliseconds: 500));

        debugPrint('apos o delayed');

        serviceEnabled = await Geolocator.isLocationServiceEnabled();
      }

....

      var accuracy = await Geolocator.getLocationAccuracy();
      debugPrint(accuracy.toString());
      // liga o stream do GPS para facilitar a busca
      positionStream = Geolocator.getPositionStream(
        locationSettings: AndroidSettings(
          accuracy: LocationAccuracy.best,
          forceLocationManager: true,
          foregroundNotificationConfig: ForegroundNotificationConfig(
              notificationTitle: 'Sistema de apontamento PCP',
              notificationText: 'Processo do sistema de apntamento em execução',
              enableWakeLock: true,
              setOngoing: true),
        ),
      ).listen((Position position) {
        debugPrint('gps funcionando ' + position.timestamp.toString());
      })
        ..onError((err, stack) {
          debugPrint('deu erro no stream');
        });

      Geolocator.getCurrentPosition(
        desiredAccuracy: LocationAccuracy.best,
        forceAndroidLocationManager: true,
      ).then((position) {
        debugPrint('recebi a localização' + position.timestamp.toString());
      }).onError((error, stackTrace) {
        debugPrint('erro ao receber a localizção');
      });

Flutter doctor:
PS C:\Users\dev\git\pcp_fabrica> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.9, on Microsoft Windows [versÆo 10.0.19045.3086], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.1)
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.81.1)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

Flutter doctor -v:
PS C:\Users\dev\git\pcp_fabrica> flutter doctor -v
[√] Flutter (Channel stable, 3.3.9, on Microsoft Windows [versÆo 10.0.19045.3086], locale pt-BR)
    • Flutter version 3.3.9 on channel stable at C:\Users\dev\.puro\envs\v3-3-9\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (10 months ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\dev\AppData\Local\Android\Sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = C:\Users\dev\AppData\Local\Android\Sdk
    • ANDROID_SDK_ROOT = C:\Users\dev\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33110.190
    • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.81.1)
    • VS Code at C:\Users\dev\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.72.0

[√] Connected device (4 available)
    • SM T220 (mobile)  • R9XW6024D0K • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [versÆo 10.0.19045.3086]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 116.0.5845.141
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 116.0.1938.62

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

The issue should be resolved. You can pull in the latest changes by running dart pub upgrade. Please check if pubspec.lock contains
  geolocator_android:
      ...
    version: "4.2.3"


Mapping file naming conventions

Technical group should define and provide guidance on a consistent requirement for mapping file naming

Mapping file naming proposed as 'mapfile__, e.g.:
https://github.com/OasisLMF/OasisDataConverter/blob/master/examples/mapfile_acc_template.yml
would be  mapfile_acc_OED-AIR-0.2
https://github.com/OasisLMF/OasisDataConverter/blob/master/examples/mapfile_loc_template.yml
would be mapfile_loc_OED-AIR-0.2
Feedback please @benhayes21

Convention has been set by using "mapping_loc_Cede-OED" to date. Suggest adding something that makes a mapping file unique in a set of files for the same model pairing.
e.g. yymmdd date and/or organisation
"mapping_loc_Cede-OED_220430_IDF.yaml"
"mapping_loc_Cede-OED_220124_Oasis.yaml"
"mapping_acc_Cede-OED_220124_Oasis.yaml"
"mapping_ri_Cede-OED_220124_Oasis.yaml"
This could be transferred to validation files too, which by default are "validation_OED_Location_v8.0.0_loc", to signify changes to the default.

Documented at https://oasislmf.github.io/OpenDataTransform/components/setup/inputs.html


Manifest  file is not signed

Why my manifest files is not signed but in the logs tells me that the sign was successfully.
2024-10-02T14:25:43.8697822Z The client secret options are obsolete and should no longer be specified.
2024-10-02T14:25:44.9009217Z info: Sign.Core.ISigner[0]
2024-10-02T14:25:44.9036474Z       Submitting xxx\Application Files\MYAPP_1_1_0_152\MYAPP.exe.manifest for signing.
2024-10-02T14:25:44.9053152Z info: Sign.Core.ISigner[0]
2024-10-02T14:25:44.9078364Z       SignAsync called for xxx\Application Files\MYAPP_1_1_0_152\MYAPP.exe.manifest. Using C:\Windows\SystemTemp\zwwa3gvj.5h4\1ph3jyhy.nu1 locally.
2024-10-02T14:25:44.9162440Z info: Sign.Core.ISigner[0]
2024-10-02T14:25:44.9188738Z       Completed in 23 ms.

My powershell script for sign in my Azure Pipelines ist the following
sign code azure-key-vault `
        "*.exe.manifest" `
        --publisher-name "$(PublisherName)" `
        --description "$(PublisherName)" `
        --azure-key-vault-tenant-id "$signingTenantId" `
        --azure-key-vault-client-id "$signingClientId" `
        --azure-key-vault-client-secret "$signingClientSecret" `
        --azure-key-vault-certificate "$certificateName" `
        --azure-key-vault-url "$signingVaultURL" `
        --timestamp-url http://timestamp.digicert.com `
        --base-directory "xxx\${directory}" `
        --verbosity debug `

I have no idea what is wrong. Any help welcome

@cpiock, are you intending to only sign one manifest (e.g.:  deployment or application) or are you intending to sign a ClickOnce application (i.e.:  both deployment and application manifests)?
If you're trying to sign a ClickOnce application and not just one manifest file, I think you should just pass the directory path and not "*.exe.manifest".

From your 👍, I assume this is now resolved.


Updated the BranchShareLink so the activity item children own the parent.

Result of Integration 1
Duration: 1 minute and 10 seconds
Result: -1 error, failing state: build-failed

iOS 10.3 / Xcode 8.3 broke the QA bot so don’t worry if integrations fail (for now).

Result of Integration 1
Duration: 4 minutes and 31 seconds
Result: Build failed 2 tests out of 169

Result of Integration 2
Duration: 2 minutes and 42 seconds
Result: 2 errors, failing state: build-errors


🍒 Cherry pick PR #20199 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/20199 to staging 🍒

🚀 Cherry-picked to staging by https://github.com/OSBotify in version: 1.3.24-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.24-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.24-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
cancelled 🔪

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


md-list - question re stopping click event propagation

md-list stops click event propagation: https://github.com/material-components/material-web/blob/9389e26b68705e82c1cde5469ab7777790db5477/list/internal/list.ts#L94
This potentially break the use of  md-list with an application router (for instance, https://github.com/andreasbm/router-slot) as the router will not receive a click event in a scenario like this :
<md-list>
  <md-list-item href="${window.location.href}/../routerLink1" headline="click should not reload the page"></md-list-item>
  <md-list-item href="${window.location.href}/../routerLink2" headline="click should not reload the page"></md-list-item>
</md-list>

If this is WAI, is it possible to :

mark the renderContent method as protected so that it is easier to override.
include a warning somewhere in the doc about this behavior.

Thanks!

@e111077 do you have insight into why list stops item click propagation? Could we let them bubble and handle list's situation differently?

I believe this is mostly vestigial code. I will likely have to make some changes to make sure parent menus do not ripple though

PR open #4825 for tracking. needs to go through internal test suite and review


Request: Show a "Polyfill" indicator while presenting

Feature request: while presenting using the Polyfill, can you show a small "Polyfill" text somewhere onscreen?
I've run into several cases where people where expecting to be using native WebVR, but were actually using the polyfill, or where they weren't sure which mode they were in. In a way, the emulation is too transparent.
I think it would be helpful if there's a small onscreen indicator showing that the polyfill is active. This would be especially helpful for troubleshooting, it's a lot easier to ask someone to look for text as opposed to asking them to check for subtle differences in how the settings screen looks.

I like this idea. I've gotten used to detecting the difference between daydream and cardboard UIs, but maybe a more obvious "P" would be helpful to work in a question "do you have [this icon/symbol] on your UI?". Do you think it'd be necessary to convey in whatever token that the polyfill is running? Would that be something most users understand what's going on, or more for debugging?

Yes, a "P" for Polyfill would work fine for this purpose. For bonus points, maybe tapping it could pop up an "About" page showing "Polyfill version x.y"?
I think it's dual use, both for debugging ("look for the 'P'") , and as something users can recognize more easily than looking for subtle styling differences.


"Completing incorrect phase" when falling into the void

Falling into the void causes an "Completing incorrect phase" error in the console.
Here's the log:
https://hastebin.com/rinoyogesa.md

Minecraft : 1.12.2
SpongeAPI : 7.0.0-SNAPSHOT-fb55a767
SpongeVanilla : 1.12.2-7.0.0-BETA-336

This is VERY and EASILY reproducible:   /kill  command to take yourself out, or in creative mode, punch your way straight down below the bedrock to fall out of the world.
This issue occurs in     Spongeforge-1.12.2-2486-7.0.0-BETA-2661
It does NOT OCCUR in Spongeforge-1.12.2-2486-7.0.0-BETA-2665
This issue  (and another one that spams phase errors pertaining to EntityRiding ) appears to be addressed in a Death related fix (and a skeleton-rider fix) that have been included in SpongeCommon between those SF releases, but are not in the most recent as of now build on the download page.
This bug SHOULD disappear in the next build of SV.

I pushed an update for SV, once it builds, let me know/close this issue if it indeed solves the issue.

@dualspiral
Yepp, got fixed in spongevanilla-1.12.2-7.0.0-BETA-337! /kill or jumping into void no longer causes the error.
Cheers!


Quest3 ALXR client crash

Description

Hi! After  v0.37.0+nightly.2024.05.19 removes quest oxr loader, I guess quest3 use alxr-client.apk as a client app. However, the app never makes it past the default loading screen after this version. Or is Quest out of support?

@Wizard-one hi, yes this is the version to use from now on, quest offically works with the standard/khronos OXR android loader. Meta is no longer releasing new versions of their vendor specific loader and has been removed in their latest sdk, you can read about it here.
I just tested the latest nightly build (v0.38.1) it is working on my Quest 3, which firmware version is yours on? if it is below v62 it will not work according to the changelog in the link

Oh, After I fix some network issue, I upgrade my firmware to V65, it works perfectly!
Thank you, much appreciated


Disabled UDropdown Item Submits Form Unexpectedly

Environment

Operating System: Windows_NT
Node Version:     v20.16.0
Nuxt Version:     -
CLI Version:      3.16.0
Nitro Version:    -
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Version
2.19.1
Reproduction
https://stackblitz.com/edit/nuxt-ui-5smvyb?file=app.vue
Description
When using a UDropdown component inside an HTML form element, any disabled dropdown item (disabled: true) unexpectedly triggers a form submission. This behavior occurs only when the dropdown item is disabled.
Steps to Reproduce

Add a UDropdown component inside an HTML form tag.
Define dropdown items with one or more having disabled: true.
Click on a disabled dropdown item.
Observe that the form is submitted, even though the item is disabled.

Additional context
No response
Logs

I have experienced this bug as well. It seems to occur because the button for rendering the disabled menu item in the dropdown does not explicitly have the disabled attribute, and at the same time, the type="button" is not explicitly specified, causing it to act as a submit button.


Refactor

#62

@palagdan what is this PR ?

@blcham
This was the initial PR for the refactoring. I decided to split it into separate issues because it was difficult to work on.
I close this PR.


Added tl-header component

Resolves #156

Coverage decreased (-0.6%) to 82.209% when pulling 8c647f7345cb989c2d668107ed68693067367698 on sprint4-156-tl-header into 485a0edcf9542e1ce9bca95446e8f0a291c7c7ce on web-components-156-157.


Fix platform support

document new argument
validate platforms before removal from platforms_intersection
add changelog entry

Added a changelog entry and resolved another minor issue.


Update thrift version to 0.16.0

0.16.0 allows to use thrift on Python 3.10.
See https://github.com/apache/thrift/pull/2487 and https://gitlab.gnome.org/GNOME/libxml2/-/issues/203

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Delete Basic and Azure JavaScript  Express 3 Templates

Part of #1051
This change just deletes the existing (non-starter app) JavaScript Express 3 templates. Later changes will update the other existing Express 3 templates to use Express 4, but that work can happen in stages.

@mousetraps Do we specifically reference Express 3 and these templates in any of our published marketing materials or documentation?
I'll update this page once this goes in, with note about NTVS 1.2: https://github.com/Microsoft/nodejstools/wiki/Projects#project-types

:+1:, though there are merge conflicts


Problem finding Top ViewController since Dialogs 5.2.2., Support 2.0.2 (iOS)

I started adding this issue here.
http://forums.xamarin.com/discussion/68253/5-2-2-update-to-acr-dialogs-breaks-existing-code#latest
Basically, since doing the packages update trying to use the code shown in the link above causes a null reference exception, suggesting that ACR.Support cannot get hold of the top ViewController.
Code is being called from within a UIViewController ViewDidLoad event, which in turn was loaded by a UITabBarController which is the top view controller.
There is no issue with earlier libraries, I can switch projects to just before I did the update and it works OK.
Many thanks for any suggestions.

Can you provide a reproducible case please.  I use this in a bunch of places with uitabcontrollers (even the sample is in one) and i haven't had this issue

Hi Allan.  I was just in the middle of doing this and I noticed a smoking gun in my code.  For some reason the TabController is receiving TWO ViewDidLoad events at startup.   I just bet that the second one would dereference the original objects in the hierarchy, which might make it look like the top viewcontroller has been dereferenced.
So I don't think this is a problem with your library, although, I have read in the Apple docs that all code needs to be able to handle multiple ViewDidLoad events, because it is at the discretion of the framework as to how many it may send, if that causes problems for obtaining the handle to the top UIViewController than that may be something you want to look at ?
Thanks again for your response.


fix: ids in json payloads should be cast to number

#506 made it impossible to use strings as an id in POST and PATCH requests. This PR makes it so the type cast still applies to id fields.

Current coverage is 88.90% (diff: 100%)

Merging #523 into master will decrease coverage by 0.05%

@@             master       #523   diff @@
==========================================
  Files           170        170
  Lines          1847       1847
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1643       1642     -1
- Misses          204        205     +1
  Partials          0          0

Powered by Codecov. Last update 8cca55e...618d80c


add field-specific update-after-edit method for structview

in struct field tag property: update-after-edit:"methodname" -- structview will then look for that method, and call it with arg of current struct and field name, only if that field value was changed.
target application: gide proj prefs target build dir: if user changes that, and other paths are still at their defaults, then it updates them to new target path..

Updater interface seems to be working well for emer with general Update method -- revisit specific use case here.


Outdated cask but cannot find link:

General troubleshooting steps

[x] I have retried my command with --force and the issue is still present.
[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[x] None of the templates was appropriate for my issue, or I’m not sure.

[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
The download link for the-archiver is broken and will not allow a download.
Note: if you would like to see for yourself, visit the download directly.
Output of your command with --verbose --debug
$ brew cask reinstall the-unarchiver --verbose --debug
==> Hbc::Installer#reinstall
==> Hbc::Installer#install
==> Printing caveats
==> Hbc::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading https://dl.devmate.com/cx.c3.theunarchiver/118/1522141689/TheUnarchiver-118.zip
/usr/bin/curl --show-error --user-agent Homebrew/1.5.12-57-g0851f96 (Macintosh; Intel Mac OS X 10.13.3) curl/7.54.0 --fail --location --remote-time --continue-at - --output /Users/jwiegand/Library/Caches/Homebrew/Cask/the-unarchiver--3.11.5,118:1522141689.zip.incomplete https://dl.devmate.com/cx.c3.theunarchiver/118/1522141689/TheUnarchiver-118.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
Error: Download failed on Cask 'the-unarchiver' with message: Download failed: https://dl.devmate.com/cx.c3.theunarchiver/118/1522141689/TheUnarchiver-118.zip
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:42:in `rescue in fetch'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:40:in `fetch'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:15:in `perform'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:126:in `download'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:51:in `fetch'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:75:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:104:in `reinstall'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb:10:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb:5:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb:5:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'

Output of brew cask doctor
$ brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.5.12-57-g0851f96
caskroom/homebrew-cask (git revision 9e257; last commit 2018-03-27)
==> macOS
10.13.3
==> SIP
Enabled
==> Java
10
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (2 files, 95.1MB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3944 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-drivers (143 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts (1158 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (173 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-eid (10 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib
/Library/Ruby/Site/2.3.0
/Library/Ruby/Site/2.3.0/x86_64-darwin17
/Library/Ruby/Site/2.3.0/universal-darwin17
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin17
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/zsh"

Output of brew tap
$ brew tap
caskroom/cask
caskroom/drivers
caskroom/eid
caskroom/fonts
caskroom/versions
homebrew/core
homebrew/services
vitorgalvao/tiny-scripts

https://github.com/caskroom/homebrew-cask/pull/45278

Thanks @commitay! It installed perfectly this time.


Add the ability to create CloudEndpoint resources using kfctl.

This is GCP specific code that allows CloudEndpoints to be created using
the CloudEndpoint controller. A Cloud endpoint is a KRM style resource
so we can kust have kfctl apply -f {path} invoke the appropriate
logic.

For GCP this addresses kubeflow/gcp-blueprints#36; specifically when
deploying private GKE the CloudEndpoints controller won't be able
to contact the servicemanagement API. This provides a work around
by running it locally.

This pattern seems extensible; i.e. other platforms could link in
code to handle CR's specific to their platforms. This could basically
be an alternative to plugins.

I added a context flag to control the kubecontext that apply applies to.
Unfortunately, it doesn't look like there is an easy way to use
that in the context of applying KFDef. It looks like the current logic
assumes the cluster will be added to the KFDef metadata and then
look up that cluster in .kubeconfig.

Modifying that logic to support the context flag seemed riskier
then simply adding a comment to the flag.

Added some warnings that KFUpgrade is deprecated since per #304
we want to follow the off shelf workflow.

/assign @adrian555

@jlewi review is done above.
I do have one general question. From the description above I am not clear whether there will be one or two commands to deploy Kubeflow.
If as you said that this can be an alternative to the plugins, then I would suspect it will take two commands (or, two runs of kfctl command) to deploy. The new command option creates the CloudEndpoints with the kubeContext. But then if you want to deploy the Kubeflow, you will need to run the command with a KfDef configuration. And this time, you have to make sure that the KUBECONFIG is correctly pointed to the same cluster.
If I get it right, my concern would be whether this model is sustainable in the long term. I probably need to read more on the CloudEndPoint controller. But not quite sure about the reason to have this ep.Process wrapped in the kfctl. I would rather expect that one command to complete two functionalities (eg. kfctl apply -f <config> -p <ep-config> --kubeconfig <cluster-config>).
Hope this does not add more confusion. :)

@adrian555 Thanks for the thoughtful response.
So the first problem is as follows:
We as GCP want/need to ship additional CLI functionality to support our customers. The question is whether we should bake this into the existing kfctl or ship a new GCP specific binary.
Our preference would be to ship it as part of kfctl and not require users to install a separate CLI.
I have tried to do it in a way that is extensible to other performs and Kubernetes native. In particular, the syntax
kfctl apply -f  ${FILE}

means we aren't adding a new flag sub command. So in this regard I think its not a one off hack for GCP. i.e. if other platforms wanted to follow this approach they could do so and we wouldn't have to worry that we would end up with 1000 flags and commands that nobody would understand.
There is a risk of binary bloat and possibly conflicting version dependencies but arguably that's not a new problem since we already allow platform specific logic to be baked into kfctl.

I do have one general question. From the description above I am not clear whether there will be one or two commands to deploy Kubeflow.

On GCP there will be multiple commands to deploy kubeflow. Initially we are using Makefile to glue these commands together. My hope is that we will find a more cloud native solution to glue it together. That could be a KF specific solution (e.g. some iteration on the current approach) but I'm hoping a more generic, cloud native solution will emerge. skaffold for example has a very pipeline centric view but it currently wouldn't work for our use cases.

If I get it right, my concern would be whether this model is sustainable in the long term

This is any area where multiple oppionions are possible and it may not be a place where one size fits all.
My personal oppinion is that treating it as a composable build pipeline makes it easier for folks to customize to meet their particular needs.
Fundamentally our process is two step
build | apply

Increasingly we see the need for folks to introduce additional steps in the pipeline. So with this pr the process is
build | apply | create DNS entry

Thanks @jlewi for the detailed info!
I totally agree on the pipelining aspect and we already see there are multiple sub commands/functions such as alpha mirror, set-image-name etc. So I am all in with the intention to bake things related with Kubeflow with kfctl.
One thing I may point out is the example of build | apply | create DNS entry may not be the case for GCP however since it is now using the kustomize to build and apply. :)
So my problem is more about whether the ep.Process should be part of the apply command. And I agree it depends on individual's opinion on how to interpret it. To me, running apply command means to apply the KfDef configuration of a set of Kubeflow applications. The result or output of it is a deployment of Kubeflow. Then if we compare the ep with KfDef plugins, we either treat that as an add-on (which can be a new kfctl addon command) or extra-config (which can be kfctl apply -p <ep-config>.

Then if we compare the ep with KfDef plugins, we either treat that as an add-on (which can be a new kfctl addon command) or extra-config (which can be kfctl apply -p .

Both of those options diverge from kubectl semantics which is what we've modeled kfctl on.
The kubernetes approach to bulk operations is to specify a single directory or file with multiple resources.
We don't need to add new subcommands or flags precisely because the KRM (i.e. metadata) allows the binary to figure out what resource to handle it appropriately.
So if we really wanted to we could support the having a single file with both resources separated by "---".

/lgtm
Thanks @jlewi .


Cannot parse set variables in frontend

PR opened here: https://github.com/kframework/k/pull/676
Wating for https://github.com/kframework/k/pull/675 to be merged.


Clean up composite event channel when undesirable and unpredictable overlapping events occur?

I'm looking at data from a scan that had absurdly long stimulus markers -- on the order of 500-1000 ms -- with imprecise offsets.  There's no point at which the composite stim channel returns to zero, and in many cases descending events are meaningful.  The stimulus delivery program has been corrected, but occasionally similarly unhelpful things will happen -- buttons get stuck, Presentation/Eprime programming errors occur, etc.  Is there a flexible, easy way to reconstruct what the stim channel should have looked like without the need to do a custom fix for each occasion?  I have an old lisp program for Graph from Matti K. that would do something like this, but that is not really optimal for scripting.  Using find_events with consecutive=True with shortest_event=0 and doing a diff between columns of the resulting array ends up miscategorizing events in cases where the onset of one event coincides with the offset of another.
A small raw file containing only the stim channels can be downloaded from [https://www.dropbox.com/s/tuw33qb67k53ych/show_long_triggers_raw.fif.gz?dl=0] -- you'll see e.g. that although there is an event 17 at sampling point 252541 (494.082 seconds in mne_browse_raw), it would be classified as a 111 on the STI101 data from find_events because it occurred in the sample after a 128 ended.  The next event, an 8 at 252790, is correctly detected, but then there is a spurious event at 252791.  (Note that in the first few minutes of this file there are events from only two categories; jump ahead to the good part).
We routinely collect the old STI001-STI016 along with STI101, so in principle I could use find_events and define_target_events separately with each of these channels to replace the 5's with the appropriate value for the channel (1,2,4,8,16,32, etc), concatenate the resulting arrays, convert the concatenated array into a structured array for sorting, sort, take a diff to detect simultaneous events, sum the event codes for adjacent rows indicated by the diff, swap in the new values, delete the extraneous rows, and so on. I illustrate most of this in a terrible gist at
[https://gist.github.com/jhouck/c28bbb7a88788936bd99] .
Does this make any sense or is there a better way?
Thanks,
Jon

I actually, intentionally have my events be this long, to ensure that I know precisely how long a given stimulus is presented. This is what the mask is for in find_events. I'm not sure the numbers make sense in your example, as I can't find a 111 instance in the raw file there. It is just that the trigger goes from 128 to 17, indicating that you had a 128 send then changed the value to 17. The easy way to detect this is to just get all your events, by setting consecutive to True. If you do have real examples of combined triggers use the mask option to mask out the uninteresting events.
hth
d

Did this help at all?

Yes, actually -- I switched from using find_events once and using that same array throughout, to using find_events per condition.  More of a derp than an actual issue, thanks for the response.

@jhouck well, if you switch to consecutive=True, you should be able to avoid running it multiple times. Also, can you close, once you are satisfied with my suggestion


Why add flutter_hooks to dependencies

The documentation says when using hooks_provider to add the following two dependencies to pubspec.yaml:
dependencies:
  flutter_hooks: ^0.14.0
  hooks_riverpod: ^0.11.1

However, hooks_riverpod already depends on flutter_hooks internally. It seems to me that it's unnecessary to tell people they need to add flutter_hooks. Am I missing something?

Riverpod does not export hooks, so it's a bad practice to not specify hooks in your pubspec (as riverpod could technically remove the dependency, even if unlikely)

Got it. Thank you.


feat: introduce accessor

This pr introduce a new (and simple) Accessor interface to enhance the form field values handling in a fully backward compatible way.
This interface is generic and contains only two method Set (for - guess what - setting value) an Get (you got it, for getting value).
The Value method of fields is very limited, and give only one way to expose fields values - via a variable pointer - with no other possibilities.
I propose to deprecate it in favor of an Accessor to define well... the field accessor :)
I propose a new Accessor method to define well... the field accessor :) Under the hood, Value method still exists but makes usage of an accessor.
Two generics accessors are already available:

EmbeddedAccessor which replace the current behavior of fields when no variable pointer has been defined via Value method.
PointerAccessor wich replace the current behavior of fields when a variable pointer is defined via Value method.

// Good ol' fashion
.Value(&foo)
// New shiny one
.Accessor(NewPointerAccessor(&foo))

Custom accessors can now be defined by end users :)

Hey I actually like the implementation more here but let's not deprecate Value as that API is much easier to use.
I like how currently the Value method simply is a shorthand for the current way of a pointer accessor.

@maaslalani ok, let's undeprecate Value, fine 👍
What about wording ? Do you agree with Accessor, EmbeddedAccessor and PointerAccessor ?
Another point that bugs me is error handling :( In a perfect world, a setter/getter should return errors, but i can't see a way to handle them without breaking the current interfaces...

@maaslalani ok, let's undeprecate Value, fine 👍 What about wording ? Do you agree with Accessor, EmbeddedAccessor and PointerAccessor ?
Another point that bugs me is error handling :( In a perfect world, a setter/getter should return errors, but i can't see a way to handle them without breaking the current interfaces...

You can have a Validator that wraps an accessor which does the error handling I believe.

Fantastic work @nervo. Thank you for this!

Wow, that was fast ❤


Add kubeval config to CI

I expect

CI to validate openshift files in test/ and prod

Instead

CI only validates dev

Notes

see https://cloud.redhat.com/blog/validating-openshift-manifests-in-a-gitops-world for configuring KUBEVAL in conjunction with openshift.

cc: @nnzjd


Jansson gets "\n" and return a new line

If my json have example:
{ "text":" hello\nworld" }
Jansson returns:
Hello
World

And i have errors with that :/

The JSON spec requires that \n is an escaped newline. If you want literal \n, your must use \\n.