Fastlane with multiple targets setup

New Issue Checklist

[Y] Updated fastlane to the latest version
[Y] I have read the Contribution Guidelines

Issue Description
Hello everyone,
I might sound very nooby here, but I've been trying to understand how to properly setup fast lane with multiple targets and I still failed to do so, which is why I would like to ask for some more guidelines. I believe some other users will find it useful as well!
Basically, I have .xcodeproj which contains multiple targets. I have researched a lot of documentation on whether to use targets vs several projects and I am confident that in my case targets is the best solution.
I have never used fastlane before, but I want to set it up now so that I can easily deliver all of the updates to the App Store with a click of one button. I would also like to use snapshot to capture new screenshots whenever they need to be updated.
Ideally, I would like to have the following structure in my fastlane folder:
fastlane/
    app1/
        ... relevant subfolders for the app
    app2/
        ... relevant subfolders for the app

As the apps are already in the store, I would like to download all the existing metadata into the app specific folders. So far I only managed to download the metadata for my first target into the fastlane folder, but such solution is clearly not ideal.
I read a lot about .env files and also checked the sunApps example, but I am still puzzled as to how I can make it all work for my case. The thing I do not understand with the sunApps is the following comment:

The Appfile contains the same Apple ID for every app, but a dynamic bundle identifier based on the current directory

This sounds like exactly what I need. However, I do not understand how I can change the current directory? My ideal solution would be to create a lane which, when executed, would build all relevant targets and would upload them to the App Store. I think that I only need one tiny example of how to do something with multiple targets and I will be able to sort out the rest!
If anyone could assist me it would be really great and I think helpful for many other users!
Thanks in advance!

I have managed to get it working in the end. Quite a few trial and errors though :) Once I set up everything properly, I will make a note in my blog to describe what I did in case it may be helpful for others

@AndriyGo
How different are the targets/schemes in your case?
For use we just get list of all shared schemes with Ruby code like this:
# Get filtered list of Xcode project schemes
def schemes(project_path)
  # List /scchareddata/xcschemes and map to scheme base names
  Dir["#{project_path}/xcshareddata/xcschemes/**/*.xcscheme"].map { |f| File.basename(f, ".xcscheme") }
end

You could use xcodebuild -list as well, but browsing schemes is somewhat easier to parse and is actually faster than xcodebuild command.
Once we get the schemes we just loop through them, filter out the ones we don't want to build, etc - it's all custom Ruby script inside a custom lane.
There are so many ways to do this anyways.


Data point missing

Describe the bug
The data point for the accuracy of the position determination is missing
To Reproduce
Steps to reproduce the behavior:

Go to 'system.adapter.traccar.*'
There ist no data point

Expected behavior
Traccar indicates the accuracy of the position. The adapter should also provide this.
Versions:

Adapter version: 1.1.4
JS-Controller version: 6.0.9
Node version: 20.16.0
Operating system: debian bookworm

check new version

Thank you very much! It works.


feat: Make a distinction between CairoRun and CairoRunGas

This change is

@enitrat  this is an idea.
It allows to run either scarb cairo-run or scarb cairo-run --available-gas .. , depending on the presence of a new tag called GasConsumption
I would still need to create the tag, and modify the appropriate listings

This is not the right approach to the problem. If there is a requirement for the runner to support a --available-gas argument, the correct approach would not be to have a command matching cairo-run specifically with gas, but to add support for command arguments in general - and this is already implemented


(CONT-214) Fix rubocop inheritance

Prior to this PR we attempted to configure the puppet-lint gem so downstream plugin authors could consume rubocops config via the gem.
This mostly worked however there seemed to be an issue when inheriting AllCops/Exclude properties.

tldr; inheriting a config called .rubocop.yml doesn't seem to work as expected.

This PR attempts to solve that by splitting out the main rules for puppet-lint in to a new file called rubocop_baseline.yml. Them, .rubocop.yml has been configured to inherit from this file.
This means that puppet-lint can continue to operate as normal.
The gemspec entry for .rubocop.yml has been replaced with rubocop_baseline.yml. This ensures that we are packaging the baselines config with the puppet-lint gem.
Downstream plugins can then inherit this configuration like this:
inherit_gem:
  puppet-lint:
    - rubocop_baseline.yml

This appears to pull in the AllCops/Exclude properties as expected.

Sure we can get this sorted soon.


Override the seed for version of Spark before 3.4.0 [Databricks]

This PR adds a condition parameter based on which we should override the datagen_overrides if it's provided. If no condition is provided then we apply the override unconditionally.
Based on the findings, the bug stems from an old bug in Spark decimal sort.

build

it would be nice to have the title and description mention this is only overriding in the test_map_scalars_supported_key_types test

build

build


Updating preview upgrade instructions

Description

Updating the instructions on how to update a WinUI 3 Preview 4 app to use WinUI 3 - Project Reunion 0.5 Preview. Thanks @ShashankNay for putting these instructions together.
Motivation and Context

How Has This Been Tested?

Tested manually by @ShashankNay and @JeanRoca
Screenshots (if appropriate):

/azp run


Support for reload navigation

Support for reloading the page
CMD - await page.reload();

Requirement not clear


Issue with white screen in cordova applications

Getting a white screen on load and freezing the Cordova applications. Not sure what I'm missing. Here are the installed plugins in the application -
branch-cordova-sdk 4.2.1 "branch-cordova-sdk"
cordova-ios-plugin-no-export-compliance 0.0.5 "iOS No Export Compliance"
cordova-plugin-fastclick 1.0.0 "FastClick"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-inappbrowser 4.1.0 "InAppBrowser"
cordova-plugin-media-capture 3.0.3 "Capture"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-wkwebviewxhrfix 1.0.0 "Cordova WKWebView File XHR Fix"
pushwoosh-cordova-plugin 8.0.0 "Pushwoosh"

And following cordova platforms are used -
<EMAIL_ADDRESS><EMAIL_ADDRESS>
Both cordova-ios and cordova-android builds are successful. And able to deploy to the play stores successfully.
Would be great, if anyone suggests ideas to solve the problem. Thanks in advance

@nagaperla could you resolve this issue? Also it looks like you're using v4.2.1 of the plugin. If you upgrade to v4.2.4 does the problem persist?


Cleanup flag should cleanup when the detonation fails

e.g.
$ stratus detonate --cleanup gcp.privilege-escalation.impersonate-service-accounts
2023/01/30 12:05:44 Checking your authentication against GCP
2023/01/30 12:05:44 Warming up gcp.privilege-escalation.impersonate-service-accounts
2023/01/30 12:05:44 Initializing Terraform to spin up technique prerequisites
2023/01/30 12:05:50 Applying Terraform to spin up technique prerequisites
2023/01/30 12:05:56 Attempting to impersonate each of the 10 service accounts
2023/01/30 12:05:56 Cleaning up gcp.privilege-escalation.impersonate-service-accounts
2023/01/30 12:05:56 Cleaning up technique prerequisites with terraform destroy
2023/01/30 12:06:01 Error while detonating attack technique gcp.privilege-escalation.impersonate-service-accounts: unexpected error while attempting to impersonate a service account: googleapi: Error 403: Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist).
Details:
[
  {
    "@type": "type.googleapis.com/google.rpc.ErrorInfo",
    "domain": "iam.googleapis.com",
    "metadata": {
      "permission": "iam.serviceAccounts.getAccessToken"
    },
    "reason": "IAM_PERMISSION_DENIED"
  }
]

should yield a cleanup

Actually this is arguable... it should probably trigger just a revert (not cleanup) instead. @rollwagen any opinions here? it's similar to #293

Thanks for the questions. So here's my two cents:
Just had a look at the description of '--cleanup', which is Clean up the infrastructure that was spun up as part of the technique prerequisites.
So as a user, I would expect that when explicitly using the '--cleanup' flag that the resources are in indeed deleted, to be  in line with what the description says;  independent of the detonation being successful or not.
What you are describing int the last comment, to me, sounds like a potential new flag stratus detonate --revert.
--revert   Always revert the detonation, independent of detonation being successful or not

Makes sense! So the behavior described in this issue makes sense, let's keep it open. Thanks for the sanity check!

Looking into this, it seems it's already the behavior implemented. c.f. what's in the output I posted:
2023/01/30 12:05:56 Cleaning up technique prerequisites with terraform destroy

and https://github.com/DataDog/stratus-red-team/blob/main/v2/cmd/stratus/detonate_cmd.go#L80-L82


Android version

Hello, is there any Android version of this project?
I'd like to try it on Remix OS in particular (which is a desktop x86_64 port of Android)

From README.md:
The initial target is GNU/Linux, but I'll welcome any contributor that want to port input generation for other OS (OSX, Windows, *BSD, Android/Linux, ...)
I think, it's a great idea to port it on android! I don't know python yet, but ready to help))

I'm fairly certain there are no up to date stable ports of Python to ARM/ARM64, so I'm not sure if this is even possible right now...
Especially as all Implementations I know of have basically no support for anything UI related...

Of Course does Python work on ARM. Think about Raspberry Pi and similar Boards. Also you will find a lot Python "Apps" in the Playstore.
That said this driver works nicely on Android if you are using a chroot and your Android kernel does support all necessary features (does not mess with /dev/usb or uinput).
I am using it on a Nexus Player.

Darn I didn't know the Pi was ARM but I guess it totally makes sense, I'm not too familiar with those boards...
Sorry about that then...

As for working on ARM, I'm running this steamcontroller utility on a Pine64 board running Debian.  I've event cobbled together a launcher that runs a bash script toggle it on and off.

The main issue you will have to do an android port is that you will need a rooted device to inject events in the kernel.

Well, having it availabile for rooted devices is surely better than nothing. I was asking this question mostly for Remix OS (which is Android for desktop, and it's easily rootable ofc) but my phone is rooted as well tho I don't really plan on playing games on that... tho it would be nice if I had a tablet.

@Drakulix Can you specify your compile and install method on the nexus player? I have rooted Android devices running various OS (rooting the N910V retail was not trivial when I did it) - a steam controller, and some Linux and other programming/scripting experience.

@zediiiii i just installed an arch linux arm chroot on my data partition, starting it with a little shell script in su.d (SuperSU). then i could just install it from the AUR.

Ah, I wasn't aware of this possibility - thanks! Doesn't appear to be too
tough... I would like to create a flashable zip that makes the building and
installing a bit easier for repeat deployment. Perhaps someone has already
done so; I'll post if I find one.
I'm assuming your battery life is pretty awful while running a separate
Linux os,  and that android power management (sleep) doesn't play nice with
the Linux os. Since one can't charge a phone while plugging in an otg cable
(required to plug in the dongle), this would be for short bursts of
controller use, unless I'm missing something?
On Sun, Dec 11, 2016, 3:28 PM Victor Brekenfeld<EMAIL_ADDRESS>wrote:

@zediiiii https://github.com/zediiiii i just installed an arch linux
arm chroot on my data partition, starting it with a little shell script in
su.d (SuperSU). then i could just install it from the AUR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ynsta/steamcontroller/issues/38#issuecomment-266313167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHs6hsKaC66SJJZRbxNyeJFUiYbdCvOuks5rHHklgaJpZM4JIfZ0
.

Of course the Nexus Player is a stationary device, so I never worried about power consumption, but it should not be that bad.
You are not booting a whole OS with all its processes, you just launch one process (the steam controller daemon) in an isolated environment, so it is not consuming more then usual.
 I never had any issues with that, but I imagine a device with a very small RAM might run into problems here.

Thanks for the tips. I've followed your nicely made guide here but no success that way. I was successful installing Arch linux using Linux Deploy, installed the package via yaourt (after updating the repo and the os), and I see that for some reason I can't make on an armv7h platform. Am I still missing something? Thanks so much for your comments @Drakulix

I followed Drakulix nice guide but some things are different after the years have past. I ended up using Linux Deploy to install arch, updated the system, installed dependencies, ran the install script, and the xbox script, and it works swell! If we could attach this to the nice UI here which will compile and run (not in python) for arm, then we'd have a really nifty thing going. Thing is, I while this script attached itself to a virtual keyboard, I'm not sure how the other script operates.

@zediiiii You seems to managed to work it out with a rooted android device. Do you mind to share more on details with some step guideline?
Appreciate if anyone has any update to steam controller on android, I managed to cloud streaming pc games on Android but device fails to make the steam controller as a gamepad

I used a linux prebuilder app on Android and then just followed the
instruction on the build page.
On Mon, Jul 10, 2017 at 4:07 AM marcoccy<EMAIL_ADDRESS>wrote:

@zediiiii https://github.com/zediiiii You seems to managed to work it
out with a rooted android device. Do you mind to share more on details with
some step guideline?
Appreciate if anyone has any update to steam controller on android, I
managed to cloud streaming pc games on Android but device fails to make the
steam controller as a gamepad
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ynsta/steamcontroller/issues/38#issuecomment-314063192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHs6htHkW3_10-jqTjl3xG0DzmMs4_htks5sMffXgaJpZM4JIfZ0
.

@zediiiii So, to clarify: You downloaded a linux app from the Play Store, and installed this program on that? Or do I still need to follow the steps in your previous post? All I really need is Xinput emulation, does that work?

I installed a fully working arch Linux distro on my cell phone and ran the
program via ssh scripts or vnc and gui.
This was quite a while ago, so my memory isn't perfect, but I believe you
are not getting xinput with this method. The program makes a new input
device (like a keyboard) and use that for input. Since Linux supportes
infinite, discrete input devices, this doesn't overlap. See release notes
for details on how things are mapped.
One could probably program this to emulate xinput with a hook...
I purposefully didn't list the steps for this because it requires a
familiarity with Linux that average users don't have. It might be a 60-70
step guide if I make it for non-programmers with contingencies for possible
issues. That's not to say it's hard; you could learn it (I did), but if you
aren't capable of making the appropriate searches to get started, you
probably shouldn't attempt this project.
On Sat, Feb 10, 2018, 8:56 PM Ott<EMAIL_ADDRESS>wrote:

@zediiiii https://github.com/zediiiii So, to clarify: You downloaded a
linux app from the Play Store, and installed this program on that? Or do I
still need to follow the steps in your previous post? All I really need is
Xinput emulation, does that work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ynsta/steamcontroller/issues/38#issuecomment-364718432,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHs6hrLvxWBa2i4EsN_64mHky87P-peEks5tTmTRgaJpZM4JIfZ0
.

So, is there a working android version now?


Update LogoURI #23267

I'm submitting a ...
[ *] logoURI Update

Summary
#23267

Original Pull Request
#23206

merged


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.16 to before v5.16.5",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b18c3ab2343d632d186963644d1e6eae1ed4330a",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8923f11810889165717501813dc54fb7b3e2dcae"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "b18c3ab2343d632d186963644d1e6eae1ed4330a",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "8923f11810889165717501813dc54fb7b3e2dcae",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "btrfs: defrag: fix wrong number of defragged sectors\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.5 by commit 8923f11810889165717501813dc54fb7b3e2dcae, it was introduced in version v5.16 by commit b18c3ab2343d632d186963644d1e6eae1ed4330a. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000602


Include the documentation in the Skydive Web UI

https://github.com/skydive-project/skydive/pull/331


Prevent from unbeatable defaults

What does this PR change?
Prevent from automatically overriding a value set in the main.tf.
image is initialized as 'default' for both server and proxy at
modules/server/variables.tf
modules/proxy/variables.tf
I don't see a need to add extra check for the product version:
if image == 'default' we will get the image matching the product version.
The problem with the extra check is as follows:
if the user sets the image as
image = 'foo' ; maybe for a quick test
and if product_version is 'head', then we will ignore the user value 'foo', taking
the default instead.

Reason why it was coded that way is that head can only be built on exactly one OS, and any other one will fail (or could fail, but that would be unsupported). So we got confused users, and we decided to hardcode the OS for that particular version, exactly in order to avoid user errors.
What is your use case exactly? I am in favor of this patch if there is at least a concrete case when switching OSs really makes sense.


Sibling query half: :include fails in 2.0.2

The query for siblings @member.siblings(half: :include) fails due to an invalid query:
ERROR:  operator does not exist: integer == integer
Seems that Postgres (and probably other SQL languages) do not support the double equals operator.  Found at line 104 of query_methods.rb.

ok connecting to mysql makes some tests fail because of that. Thanks, I'll look into it. thankyou

Thanks!  Loving the work you've done, by the way.

Should be ok in 2.1.1 (I made an extra version bump by mistake). Travis tests added for mysql and postgres.


Updated deploy-api-2.md

This pull request is to fix the return json sample for the Upload Package API call.
The existing json sample has a typo, resulting in anyone using the sample not being able to get the JobId.
This pull request fixes the typo.
The typo was found while working on support ticket 117622

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Redirect from Praqma.com

[ ] redirect www.praqma.com/codeall
[ ] redirect www.praqma.com/alliance
[ ] www.Josra.org
[ ] mention at www.praqma.com/services

Giving this a little bump.
Looks like we'll need a little write-up of the code alliance under praqma.com/services. (@JasmineCrozier ?)
After which we can redirect some old links to http://alliance.praqma.com/.
(@anetacamo  ?)

@praqma-thi The alliance is mentioned under Community instead (it's not a service)
https://www.praqma.com/community/codeall/

But yes for all the redirect


Current incompatibilities between CL, Uberon, and GO

The following ontology, which combines CL, Uberon, GO, RO, and NCBITaxon, has 18
unsatisfiable classes.
Ontology(<http://example.org/ontologies/2019/9/4/untitled-ontology-1328>
Import(<http://purl.obolibrary.org/obo/cl/releases/2019-08-12/cl-base.owl>)
Import(<http://purl.obolibrary.org/obo/go/releases/2019-07-01/go-base.owl>)
Import(<http://purl.obolibrary.org/obo/ncbitaxon/subsets/taxslim-disjoint-over-in-taxon.owl>)
Import(<http://purl.obolibrary.org/obo/ncbitaxon/subsets/taxslim.owl>)
Import(<http://purl.obolibrary.org/obo/ro/releases/2019-09-25/ro.owl>)
Import(<http://purl.obolibrary.org/obo/uberon/releases/2019-06-27/uberon-base.owl>)
)

I opened the issue here because it seem like the most suspicious culprit axioms are capable of relations asserted by CL.   It's really not justified by definition adipose tissue.  If we need a general class for both maybe make 'fat storage tissue' in Uberon.

Thanks for checking this @dosumis!

This seems done, so I'll close.


MNT: Update for conda-build 3

Hi! This is the friendly automated conda-forge-webservice.
I've updated the recipe for conda-build 3 as instructed in #2.
List of changes done to the recipe:
Renamed build with host
Moving posix from host to build
Removing {{native}}toolchain in favour of compiler()
Removing gcc in favour of compiler()
Removing libgcc in favour of compiler()
Adding C compiler with mingw for windows
Adding C++ compiler with mingw for windows
Adding merge_build_host: True  # [win]
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #2

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.


combine interpolated into Markdown doesn't work

Notebook:
### A Pluto.jl notebook ###
# v0.19.27

using Markdown
using InteractiveUtils

# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
    quote
        local iv = try Base.loaded_modules[Base.PkgId(Base.UUID("6e696c72-6542-2067-7265-42206c756150"), "AbstractPlutoDingetjes")].Bonds.initial_value catch; b -> missing; end
        local el = $(esc(element))
        global $(esc(def)) = Core.applicable(Base.get, el) ? Base.get(el) : iv(el)
        el
    end
end

# ╔═╡ 48ab0180-7390-4214-900d-1ea1a35f63ed
using PlutoUI

# ╔═╡ 1ed41ded-9205-4aa6-afce-85c27d66e7a5
options_md = @bind options PlutoUI.combine() do Child
	md"""
	 $(Child("a", CheckBox())) a $(Child("b", CheckBox())) b
	"""
end

# ╔═╡ 6f9e9d3f-8535-4401-bb76-ffba22b00bbf
options

# ╔═╡ 18ee6ee7-f744-4865-ba56-92abc2f88a8f
md"OK:"

# ╔═╡ ab78f4b5-c115-4d85-ac14-751197882fad
options_md

# ╔═╡ 35051904-0ba3-41b5-b617-3fd1f5e34051
md"OK:"

# ╔═╡ 914955a3-c77d-4f67-83cf-6312aba7c1a7
md"$options_md"

# ╔═╡ 12989589-9b4d-4ca4-842f-2991e3d8f98b
md"""
 not OK: $options_md
"""

# ╔═╡ 00000000-0000-0000-0000-000000000001
PLUTO_PROJECT_TOML_CONTENTS = """
[deps]
PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8"

[compat]
PlutoUI = "~0.7.52"
"""

# ╔═╡ 00000000-0000-0000-0000-000000000002
PLUTO_MANIFEST_TOML_CONTENTS = """
# This file is machine-generated - editing it directly is not advised

julia_version = "1.9.0"
manifest_format = "2.0"
project_hash = "f5c06f335ceddc089c816627725c7f55bb23b077"

[[deps.AbstractPlutoDingetjes]]
deps = ["Pkg"]
git-tree-sha1 = "91bd53c39b9cbfb5ef4b015e8b582d344532bd0a"
uuid = "6e696c72-6542-2067-7265-42206c756150"
version = "1.2.0"

[[deps.ArgTools]]
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
version = "1.1.1"

[[deps.Artifacts]]
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"

[[deps.Base64]]
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

[[deps.ColorTypes]]
deps = ["FixedPointNumbers", "Random"]
git-tree-sha1 = "eb7f0f8307f71fac7c606984ea5fb2817275d6e4"
uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
version = "0.11.4"

[[deps.CompilerSupportLibraries_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
version = "1.0.2+0"

[[deps.Dates]]
deps = ["Printf"]
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"

[[deps.Downloads]]
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
version = "1.6.0"

[[deps.FileWatching]]
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"

[[deps.FixedPointNumbers]]
deps = ["Statistics"]
git-tree-sha1 = "335bfdceacc84c5cdf16aadc768aa5ddfc5383cc"
uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
version = "0.8.4"

[[deps.Hyperscript]]
deps = ["Test"]
git-tree-sha1 = "8d511d5b81240fc8e6802386302675bdf47737b9"
uuid = "47d2ed2b-36de-50cf-bf87-49c2cf4b8b91"
version = "0.0.4"

[[deps.HypertextLiteral]]
deps = ["Tricks"]
git-tree-sha1 = "c47c5fa4c5308f27ccaac35504858d8914e102f9"
uuid = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2"
version = "0.9.4"

[[deps.IOCapture]]
deps = ["Logging", "Random"]
git-tree-sha1 = "d75853a0bdbfb1ac815478bacd89cd27b550ace6"
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89"
version = "0.2.3"

[[deps.InteractiveUtils]]
deps = ["Markdown"]
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"

[[deps.JSON]]
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
git-tree-sha1 = "31e996f0a15c7b280ba9f76636b3ff9e2ae58c9a"
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
version = "0.21.4"

[[deps.LibCURL]]
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
version = "0.6.3"

[[deps.LibCURL_jll]]
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"]
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
version = "7.84.0+0"

[[deps.LibGit2]]
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"

[[deps.LibSSH2_jll]]
deps = ["Artifacts", "Libdl", "MbedTLS_jll"]
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"
version = "1.10.2+0"

[[deps.Libdl]]
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"

[[deps.LinearAlgebra]]
deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"]
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[[deps.Logging]]
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"

[[deps.MIMEs]]
git-tree-sha1 = "65f28ad4b594aebe22157d6fac869786a255b7eb"
uuid = "6c6e2e6c-3030-632d-7369-2d6c69616d65"
version = "0.1.4"

[[deps.Markdown]]
deps = ["Base64"]
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"

[[deps.MbedTLS_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
version = "2.28.2+0"

[[deps.Mmap]]
uuid = "a63ad114-7e13-5084-954f-fe012c677804"

[[deps.MozillaCACerts_jll]]
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
version = "2022.10.11"

[[deps.NetworkOptions]]
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
version = "1.2.0"

[[deps.OpenBLAS_jll]]
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
version = "0.3.21+4"

[[deps.Parsers]]
deps = ["Dates", "PrecompileTools", "UUIDs"]
git-tree-sha1 = "716e24b21538abc91f6205fd1d8363f39b442851"
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
version = "2.7.2"

[[deps.Pkg]]
deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"]
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
version = "1.9.0"

[[deps.PlutoUI]]
deps = ["AbstractPlutoDingetjes", "Base64", "ColorTypes", "Dates", "FixedPointNumbers", "Hyperscript", "HypertextLiteral", "IOCapture", "InteractiveUtils", "JSON", "Logging", "MIMEs", "Markdown", "Random", "Reexport", "URIs", "UUIDs"]
git-tree-sha1 = "e47cd150dbe0443c3a3651bc5b9cbd5576ab75b7"
uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8"
version = "0.7.52"

[[deps.PrecompileTools]]
deps = ["Preferences"]
git-tree-sha1 = "9673d39decc5feece56ef3940e5dafba15ba0f81"
uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
version = "1.1.2"

[[deps.Preferences]]
deps = ["TOML"]
git-tree-sha1 = "7eb1686b4f04b82f96ed7a4ea5890a4f0c7a09f1"
uuid = "21216c6a-2e73-6563-6e65-726566657250"
version = "1.4.0"

[[deps.Printf]]
deps = ["Unicode"]
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[[deps.REPL]]
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"

[[deps.Random]]
deps = ["SHA", "Serialization"]
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[[deps.Reexport]]
git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b"
uuid = "189a3867-3050-52da-a836-e630ba90ab69"
version = "1.2.2"

[[deps.SHA]]
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
version = "0.7.0"

[[deps.Serialization]]
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"

[[deps.Sockets]]
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"

[[deps.SparseArrays]]
deps = ["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse_jll"]
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[[deps.Statistics]]
deps = ["LinearAlgebra", "SparseArrays"]
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
version = "1.9.0"

[[deps.SuiteSparse_jll]]
deps = ["Artifacts", "Libdl", "Pkg", "libblastrampoline_jll"]
uuid = "bea87d4a-7f5b-5778-9afe-8cc45184846c"
version = "5.10.1+6"

[[deps.TOML]]
deps = ["Dates"]
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
version = "1.0.3"

[[deps.Tar]]
deps = ["ArgTools", "SHA"]
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
version = "1.10.0"

[[deps.Test]]
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[[deps.Tricks]]
git-tree-sha1 = "aadb748be58b492045b4f56166b5188aa63ce549"
uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775"
version = "0.1.7"

[[deps.URIs]]
git-tree-sha1 = "074f993b0ca030848b897beff716d93aca60f06a"
uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
version = "1.4.2"

[[deps.UUIDs]]
deps = ["Random", "SHA"]
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

[[deps.Unicode]]
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

[[deps.Zlib_jll]]
deps = ["Libdl"]
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
version = "1.2.13+0"

[[deps.libblastrampoline_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
version = "5.7.0+0"

[[deps.nghttp2_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
version = "1.48.0+0"

[[deps.p7zip_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
version = "17.4.0+0"
"""

# ╔═╡ Cell order:
# ╠═48ab0180-7390-4214-900d-1ea1a35f63ed
# ╠═1ed41ded-9205-4aa6-afce-85c27d66e7a5
# ╠═6f9e9d3f-8535-4401-bb76-ffba22b00bbf
# ╟─18ee6ee7-f744-4865-ba56-92abc2f88a8f
# ╠═ab78f4b5-c115-4d85-ac14-751197882fad
# ╟─35051904-0ba3-41b5-b617-3fd1f5e34051
# ╠═914955a3-c77d-4f67-83cf-6312aba7c1a7
# ╠═12989589-9b4d-4ca4-842f-2991e3d8f98b
# ╟─00000000-0000-0000-0000-000000000001
# ╟─00000000-0000-0000-0000-000000000002

https://github.com/JuliaPluto/PlutoUI.jl/assets/4170948/f9d184c4-3b61-4504-869f-062bb9441cff

The problem here is that HTML does not allow a <div> inside of a <p>, and the md" inside the combine expression creates a <div class="markdown">. So HTML moves the <div> out of the <p>, and then the combine logic is lost.
If this is an issue for you, then my recommended solution is to use HypertextLiteral inside the combine expression to fully control the HTML used in the widget, make sure that only Phrasing content is used, e.g. use <span> instead of <div>.

You could also use ExperimentalLayout (which is designed to work inside phrasing content) to display it...
md"""
hello $(PlutoUI.ExperimentalLayout.Div([options_md]))
"""


Fails to build on linux

   Compiling tray-item v0.8.0 (/home/dilawars/Work/FORKES/tray-item-rs)
error[E0433]: failed to resolve: could not find `TrayItemImpl` in `api`
  --> src/lib.rs:30:22
   |
30 |         Ok(Self(api::TrayItemImpl::new(title, icon)?))
   |                      ^^^^^^^^^^^^ could not find `TrayItemImpl` in `api`

error[E0412]: cannot find type `TrayItemImpl` in module `api`
 --> src/lib.rs:5:26
  |
5 | pub struct TrayItem(api::TrayItemImpl);
  |                          ^^^^^^^^^^^^ not found in `api`

error[E0412]: cannot find type `TrayItemImpl` in module `api`
  --> src/lib.rs:48:46
   |
48 |     pub fn inner_mut(&mut self) -> &mut api::TrayItemImpl {
   |                                              ^^^^^^^^^^^^ not found in `api`

Some errors have detailed explanations: E0412, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `tray-item` due to 3 previous errors

Ah, my mistake. Looks like I've to enable one of the feature. Either ksni or libappindicator.


Support arabic language

We are working on arabic projects, and we need this feature to be pushed also under october cms repo

Hello @hamzaMENSOURI
Thanks for this. You can find instructions for translating the October CMS repo here: https://docs.octobercms.com/3.x/extend/system/localization.html#contributing-language-strings


Issue 157 warn about missing translations

Closes #157
Why is this the best possible solution? Were any other approaches considered?
This approach ensures that the warning work has been done along side the work that puts in placeholders for missing translations. It is focused on making sure we never re-evaluate the form for missing languages but uses what is already implied in the form build.
What are the regression risks?
Last time I attempted to solve this issue, I assumed the existence of certain pieces of the path string and tried to build warning messages using those pieces. When the warnings function tried to parse paths without what I assumed to be present, it broke. I do not believe this risk is still present, but I do assume things like path and content type are not null in this function. This feels like a safe assumption, so I dont think the risks are great.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No
Before submitting this PR, please make sure you have:

[x] included test cases for core behavior and edge cases in tests_v1
[x] run nosetests and verified all tests pass
[x] run black pyxform to format code
[x] verified that any code or assets from external sources are properly credited in comments

@lindsay-stevens Thanks so much for that big PR fixing up the tests!!! it got CI to pass!
@lognaturel I was able to clean up and shorten this PR, Hoping it can get a look soon?

@lindsay-stevens
Thank you so much for the comment and feedback! I have been needing some guidance and collaboration badly here, as you can see :smile:
Sorry in advance for so much text, the TL:DR is:

I will reconsider the approach and see if I can make something work more upstream. (do you think we could we move all the translation work up here?)
I will remove the refactor.
I internal__warnings was added because of the approach I took,  and to list on to json was added to support serializing the internal__warnings.

Please feel free to @ me on slack if you would rather decline the PR and move me to a simpler or more urgent set of work, or if you want to chat more about what I've done here. I mostly only have time for this on weekends, but could get away from work on Fridays, Thursdays, and maybe Tuesdays.
Longer version -

Could you please clarify the current approach and whether the above xls2json.py locations were considered?

I considered and even preferred the upstream approach here, and to be honest now that you bring it up again I think you might be correct. But let me explain why I went downstream:
What caused me to pick this downstream approach is that we actually build the translations themselves downstream. The "state" of a missing translation is detected  and handled at this point, so seems redundant to me to detect it and warn about it earlier. You are right that it forces us to reverse engineer the xpath, which I thought would be easier than it turned out to be :/
I am going to spend some time today reconsidering that upstream path again. What I would really like to do is move the translations upstream - when I first had that thought it sounded like too big of a change, but looking at it again I think it would at least be worth spending a few hours seeing what that would look like. Now, if we calculate missing translations upstream, but only create translations downstream, that feels redundant, but I suppose it might not be. (and redundancy might be better than reverse engineering?)

It seems a bit peripheral to this PR anyway so maybe it should be moved to a new PR?
It is, at my company we follow the "boy scout rule" (leave it better than you found it) as a way of packing refactors into PRs. I think the tests cover the case you had mentioned, but I am happy to just back it out for simplicity's sake - the "boy scout rule" might doesn't make sense for this project? (small team,  less frequent updates, testing that's more situation-ally driven and doesn't cover small units of work like this particular chunk of code)

so why not use warnings only?

I don't (think?) ther'es a way to access that warnings object in the "guts" of where I do this work (this is another hazard of the downstream approach I am using). I do think its a bit odd that the internal workings can't pass information back up to the user, so while the approach of adding another mutable/stateful attribute was hardly ideal, this was the quickest way I could make it work.
If I can make the more "upstream" approach work we can remove this for now. My guess is that we will need something that achieves the same later? but I could be wrong. This is a pretty mature codebase and it hasn't needed it before :shrug:

@lindsay-stevens
Reviewing the sections you linked me to - dealias_and_group_headers is very agnostic as to what the "tokens" it works with actually are, which makes it hard to detect if the token is a language. It also works row-by-row, but translations are added column-by-column, so we would have to review the aggregated data again.
I could certainly add something like find_uneven_translations(out_dict_array) at the end of that function, but I am still worried I'd duplicating work with the stuff done in the Survey class (see _add_empty_translations and _setup_translations ).
I haven't done enough work to see if its possible, but what do you think of trying to move some or all of the work in _setup_translations and/or _add_empty_translations to this upstream point? Perhaps we could build JSON elements that are much easier to work with down stream. Before I spend time trying to code a proof of concept, is that what you were getting at with your earlier comment? Or are we strictly trying to detect unbalanced translations and move on? Again, I think that would require duplication of logic, but I am not sure.
I'll keep mulling this over in my mind, still not sure what the best way forward is, LMK if you have any thoughts or if I've missed something here.

Hi @KeynesYouDigIt
The dealias_and_group_headers reference was meant as more of an example of examining the XLSForm data and processing/validating. To implement this I think a new function would be appropriate, particularly since dealias_and_group_headers is used by multiple sheets (Settings, Survey, Choices, External Choices, OSM) which don't all have translatable columns.
There are finite translatable column types, as noted in this comment. So after splitting column names on ::, any columns not in a 'translatable' list / mapping could be ignored. Even if it's not currently possible to determine with all certainty what all the translatable columns are, the referenced comment identifies what are likely the most commonly used ones, so the warning would still be valuable.
About the duplication concerns, I think these may overlap code-wise but the purpose is different. The goal for #157 is a warning to the user, which they may ignore at their peril. The existing _add_empty_translations seems to be about structural integrity in the XForm XML. For example if I comment out the body of _add_empty_translations, then in pyxform_test_case.py set run_odk_validate = kwargs.get("run_odk_validate", True), then run all the tests, there are 5 failures from errors from ODK Validate.
I would recommend aiming to address #157 as directly as possible. If it looks like a refactor is needed or potentially beneficial, then please create a separate issue/PR to describe/discuss/implement it. My concern is that there aren't many tests around translations behaviour, so embarking on that at the same time could stymie the PR or cause regressions.

Thanks @KeynesYouDigIt for sticking with this one and exploring from multiple angles. I'd like to propose @lindsay-stevens take this one over and put up a new PR. Then you can use what you've learned to do an initial review and evaluate his approach.
As @lindsay-stevens says, if there's an area you feel really needs some refactor, please file an issue for now.

@lognaturel sounds good I'll take a look at this in a new PR.

@lindsay-stevens / @lognaturel Sounds good to me as well, thanks for all the help!

closing in favour of #571


Point out in README.md that the default max test run is 1h

This is due to the timeout handler with a default timeout value of 1h. This default can be changed with KNUU_TIMEOUT.

Like 😉

@smuu Can I work on this issue ?

@smuu Can I work on this issue ?

Yes @AnmolSirola, I just assigned the issue to you.
If you have any questions, don't hesitate to contact me :+1:

@smuu Can you please tell me where in the documentation I need to make the required changes?

done


Country Boundaries needs Access and use constraints

@nfeuerstein Country Boundaries service need Access and Use Constraints.  @karlterrey can help with wording for those services for demo purposes only; however, we still need to cite where we got the data.

[ ] Country Boundaries Feature Layer id:086c5358415e4a948764385685240cb7
[ ] CountryBoundaries id:a1956f5df1d34a1fbe8c58e3b5e0b1b4

@nfeuerstein @jrweakland @karlterrey @sschwoppe @lfunkhouser @elinz
Based on the review from legal I am going to delete all Ebola content at 1100 today.

I deleted this item.


BIOIN-1258-itai/BalancedStrandQC_updates

Hi all, this is ready to review. @itamark-ug can you make sure your parts haven't changed due to something I've done?


Bug in HTTP Handler

Hello Tom,
I tested a combo of http+zip for osio+godal but never plain HTTP. I guess I misread the following VSIKeyReader comment:
// When registering a reader with
//  RegisterVSIHandler("scheme://",handler)
// calling Open("scheme://myfile.txt") will result in godal making calls to
//  VSIReader("myfile.txt")

In the HTTP Handler, I assumed the full URL would be returned, instead it is called without the scheme (ie www.google.com instead of https://www.google.com).
I was wondering how you wanted this to be fixed?
For example:
httpr, _ := osio.HTTPHandle(ctx)
httpsr, _ := osio.HTTPSHandle(ctx)

httpa, _ := osio.NewAdapter(httpr)
httpsa, _ := osio.NewAdapter(httpsr)

godal.RegisterVSIAdapter("http://", httpa)
godal.RegisterVSIAdapter("https://", httpsa)

Thomas

Maybe the best would be to always feed the scheme/protocol and let the underlying handler do the TrimPrefix if needs be?
I'd argue that the protocol (http/ https,  ftp/ftps) is semantically fully part of the "key".
This would not break existing implementation as the scheme is systematically stripped if it exists (https://github.com/airbusgeo/osio/blob/main/uri.go#L19).

In gdal world, the prefix is only used to register a handler, and is not part of the key (e.g., you use /vsicurl/https://server/path), so it is customary for gdal to drop this prefix when forwarding to the underlying handler. In our case we are using the prefix in both ways, thus the mixup we have here.
In theory, in order to not break backwards compatibility we should add a StripPrefix() option to godal.RegisterVSIAdapter that defaults to true. I believe that the use-case is sufficiently widespread that we can tolerate it defaulting to false, and make sure that all osio adapters gracefully handle the prefix://bucket/object and bucket/object keys ( which I believe it the case ). Are you willing to submit a PR to godal for this ?


Unfrozen word vector

Hi,
Can you please give some guidelines as to how can I unfreeze the word vectors?
I have the embedding file, word gets converted to embedding, but I want this embedding to get tweaked while training ('hence unfreezing'). Can you help?
Thanks

The word embeddings will be fine-tuned during training.


Unit tests

Description

Initial commit for unit tests in AgentNeo/agentneo.py.
Adds tests for project creation, project connection, project listing, and dashboard launch functionalities.
Updated requirements.txt with pytest for testing support.

Related Issue

#3  (Add Unit Tests)

Type of Change
Please delete options that are not relevant.

Added unit tests for AgentNeo/agentneo.py functionalities.
Updated requirements.txt with pytest.

How Has This Been Tested?

Ran the new test cases to verify successful creation, connection, and listing of projects.
Ensured tests handle cases where projects already exist without causing test failures.
Verified the dashboard launch functionality with mock.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Additional Context

Exception handling in tests ensures cases with pre-existing projects are managed without needing deletion.
Sample test output and debugging information available upon request.

Impact on Roadmap

Aligns with project goals to improve code reliability and maintainability through comprehensive testing.
Supports future feature integration by ensuring foundational tests are in place.

@kiranscaria, have I done this correctly?


TS-4482: To freely output to custom log

Modify the contents are as follows:

add note field on logging
add CPP API functions named noteStringSet / Get
add StringHashMap on lib/ts/Map.h in order to store note fields data

note field format is same as each of header
%<{key name}note>

Testing again, this will blow up and I'm blaming @PSUdaemon [approve ci]

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/202/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/309/ for details.

@jpeach you had some concerns on this concept ?


Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found

OS : Windows
Error:
C:\Users\OneDrive\Desktop\Cheque Clearance Project\2 Bank-Cheque-OCR-master\Bank-Cheque-OCR-master\scripts>python main.py
Using TensorFlow backend.
2020-04-22 21:10:43.537143: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-04-22 21:10:43.546929: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-04-22 21:10:45.486138: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-04-22 21:10:46.270844: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:
pciBusID: 0000:02:00.0 name: GeForce GTX 960M computeCapability: 5.0
coreClock: 1.176GHz coreCount: 5 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 74.65GiB/s
2020-04-22 21:10:46.283679: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-04-22 21:10:46.290302: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cublas64_10.dll'; dlerror: cublas64_10.dll not found
2020-04-22 21:10:46.296248: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
2020-04-22 21:10:46.303130: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found
2020-04-22 21:10:46.309457: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found
2020-04-22 21:10:46.317877: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cusparse64_10.dll'; dlerror: cusparse64_10.dll not found
2020-04-22 21:10:46.325132: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found
2020-04-22 21:10:46.330768: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1592] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2020-04-22 21:10:46.360475: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-04-22 21:10:46.368318: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-04-22 21:10:46.379055: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102]
Traceback (most recent call last):
File "main.py", line 13, in
if img_color.ndim == 3:
AttributeError: 'NoneType' object has no attribute 'ndim'
Is there any solution for this,please do also mention the steps
Regards

@shanethomas1029,
In order to expedite the trouble-shooting process, could you please provide the complete code to reproduce the issue reported here and also the TensorFlow version you are using. Thanks!

yes please wait I will attach it

yes please wait I will attach it

@shanethomas1029
Any updates regarding this? Thanks!

I had the same issue
I tried to verify the installation of tensorflow
(venv) C:\Users\Sid\AppData\Local\Programs\Python\Python38\Scripts>python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
2020-06-19 22:19:01.250810: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-06-19 22:19:01.276424: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-06-19 22:19:29.912082: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
2020-06-19 22:19:29.924171: E tensorflow/stream_executor/cuda/cuda_driver.cc:313] failed call to cuInit: UNKNOWN ERROR (303)
2020-06-19 22:19:30.035621: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: Siddarth
2020-06-19 22:19:30.046836: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: Siddarth
2020-06-19 22:19:30.202986: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-06-19 22:19:30.846192: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x29b99ba7da0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-06-19 22:19:30.861260: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
tf.Tensor(814.5987, shape=(), dtype=float32)

I had this error
2020-07-13 10:52:25.069042: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-07-13 10:52:25.132497: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

Any help will be highly welcome thanks

@nancyepey,
Please submit a new issue from this link and fill in the template, so that we can track the issue there. Thanks!


UI - Refactoring $notification according to the old version

Description
Related to PR https://github.com/apache/cloudstack/pull/5549 changed the notification from $notification to $showNotification. This PR aims to change it back to the way it was for easier use while keeping the delete all button.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan ui

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5819 (SL-JID-956)


Git Commit History

Lesson 1: Navigating a Commit History

Links to my forks:

Asteroids: https://github.com/DeuceX/asteroids
Pappu pakia: https://github.com/DeuceX/pappu-pakia

Reflections
Comparing files
It helps to check what have you changed and which of your changes broke the program, so you will fix the wrong line of code.
But it's a slow process to check it manually.

How could having easy access to the entire history of a file make you a more efficient programmer in the long term?
Because you will be able to go back to the previous version if something goes wrong or if the requirements changed.
Also you are able to check the steps of adding some functionality and to analize it.

What do you think are the pros and cons of manually choosing when to create a commit, like you do in Git, vs having versions automatically saved, like Google Docs does?
Because when you have automatic savings, the program can be saved during the process of typing some code, so it won't work correctly and probably there will be a mistake that will block the work of the program. Also you can finish adding some features and you are ready to start fixing new things but the commit is not saved yet, so you have to wait for automatical save.

Why do you think some version control systems, like Git, allow saving multiple files in one commit, while others, like Google Docs, treat each file separately?
I think this happens because when you use Git usually your projects have a lot of files, so it would take much time to save each file separately

How can you use the commands git log and git diff to view the history of files?
You can use git log to view all the steps of changing files, then you can use git diff to check the changes that were made.

How might using version control make you more confident to make changes that could break something?
Because you can go back to any version in any time. Just don't forget to commit before making changes that can break something.

Now that you have your workspace set up, what do you want to try using Git for?
I'd like to try working with branches.


Support using callable config in @ray.task

The Ray provider 0.2.1 allowed users to define a hard-coded configuration to materialize the Kubernetes cluster. This PR aims to enable users to define a function that can receive the Airflow context and generate the configuration dynamically using context properties. This request came from an Astronomer customer.
There is an example DAG file illustrating how to use this feature. It has a parent DAG that triggers two child DAGs, which leverage the just introduced @ray.task callable configuration.
The screenshots below show their success, when using the local development instructions using Astro CLI.
Parent DAG:

Child 1 DAG:

Example of logs that illustrate the RayCluster using dynamic configuration was created and used in Kubernetes, with its own IP address:
(...)
[2024-11-29T12:14:52.276+0000] {standard_task_runner.py:104} INFO - Running: ['airflow', 'tasks', 'run', 'ray_dynamic_config_child_1', 'process_data_with_ray', 'manual__2024-11-29T12:14:50.273712+00:00', '--job-id', '773', '--raw', '--subdir', 'DAGS_FOLDER/ray_dynamic_config.py', '--cfg-path', '/tmp/tmpkggwlv23']
[2024-11-29T12:14:52.278+0000] {logging_mixin.py:190} WARNING - /usr/local/lib/python3.12/site-packages/airflow/task/task_runner/standard_task_runner.py:70 DeprecationWarning: This process (pid=238) is multi-threaded, use of fork() may lead to deadlocks in the child.
(...)
[2024-11-29T12:14:52.745+0000] {decorators.py:94} INFO - Using the following config {'conn_id': 'ray_conn', 'runtime_env': {'working_dir': '/usr/local/airflow/dags/ray_scripts', 'pip': ['numpy']}, 'num_cpus': 1, 'num_gpus': 0, 'memory': 0, 'poll_interval': 5, 'ray_cluster_yaml': '/usr/local/airflow/dags/scripts/first-254.yaml', 'xcom_task_key': 'dashboard'}
(...)
[2024-11-29T12:14:55.430+0000] {hooks.py:474} INFO - ::group::Create Ray Cluster
[2024-11-29T12:14:55.430+0000] {hooks.py:475} INFO - Loading yaml content for Ray cluster CRD...
[2024-11-29T12:14:55.451+0000] {hooks.py:410} INFO - Creating new Ray cluster: first-254
[2024-11-29T12:14:55.456+0000] {hooks.py:494} INFO - ::endgroup::
(...)
[2024-11-29T12:14:55.663+0000] {hooks.py:498} INFO - ::group::Setup Load Balancer service
[2024-11-29T12:14:55.663+0000] {hooks.py:334} INFO - Attempt 1: Checking LoadBalancer status...
[2024-11-29T12:14:55.669+0000] {hooks.py:278} ERROR - Error getting service first-254-head-svc: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Audit-Id': '81b07ac4-db3b-48a6-b336-f52ae93bee55', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Kubernetes-Pf-Flowschema-Uid': '955e8bb0-08b1-4d45-a768-e49387a9767c', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'd5240328-288d-4366-b094-d8fd793c7431', 'Date': 'Fri, 29 Nov 2024 12:14:55 GMT', 'Content-Length': '212'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"services \"first-254-head-svc\" not found","reason":"NotFound","details":{"name":"first-254-head-svc","kind":"services"},"code":404}
[2024-11-29T12:14:55.669+0000] {hooks.py:355} INFO - LoadBalancer service is not available yet...
[2024-11-29T12:15:35.670+0000] {hooks.py:334} INFO - Attempt 2: Checking LoadBalancer status...
[2024-11-29T12:15:35.688+0000] {hooks.py:348} INFO - LoadBalancer is ready.
[2024-11-29T12:15:35.688+0000] {hooks.py:441} INFO - {'ip': '<IP_ADDRESS>', 'hostname': None, 'ports': [{'name': 'client', 'port': 10001}, {'name': 'dashboard', 'port': 8265}, {'name': 'gcs', 'port': 6379}, {'name': 'metrics', 'port': 8080}, {'name': 'serve', 'port': 8000}], 'working_address': '<IP_ADDRESS>'}

(...)

[2024-11-29T12:15:38.345+0000] {triggers.py:124} INFO - ::group:: Trigger 1/2: Checking the job status
[2024-11-29T12:15:38.345+0000] {triggers.py:125} INFO - Polling for job raysubmit_paxAkyLiKxEHPmwG every 5 seconds...
(...)
[2024-11-29T12:15:38.354+0000] {hooks.py:156} INFO - Dashboard URL is: http://<IP_ADDRESS>:8265
[2024-11-29T12:15:38.361+0000] {hooks.py:208} INFO - Job raysubmit_paxAkyLiKxEHPmwG status: PENDING
[2024-11-29T12:15:38.361+0000] {triggers.py:100} INFO - Status of job raysubmit_paxAkyLiKxEHPmwG is: PENDING
[2024-11-29T12:15:38.361+0000] {triggers.py:108} INFO - ::group::raysubmit_paxAkyLiKxEHPmwG logs
[2024-11-29T12:15:43.416+0000] {hooks.py:208} INFO - Job raysubmit_paxAkyLiKxEHPmwG status: RUNNING
[2024-11-29T12:15:43.416+0000] {triggers.py:100} INFO - Status of job raysubmit_paxAkyLiKxEHPmwG is: RUNNING
[2024-11-29T12:15:43.417+0000] {triggers.py:112} INFO - 2024-11-29 04:15:40,813	INFO worker.py:1429 -- Using address <IP_ADDRESS>:6379 set in the environment variable RAY_ADDRESS
[2024-11-29T12:15:43.417+0000] {triggers.py:112} INFO - 2024-11-29 04:15:40,814	INFO worker.py:1564 -- Connecting to existing Ray cluster at address: <IP_ADDRESS>:6379...
[2024-11-29T12:15:43.417+0000] {triggers.py:112} INFO - 2024-11-29 04:15:40,820	INFO worker.py:1740 -- Connected to Ray cluster. View the dashboard at <IP_ADDRESS>:8265
[2024-11-29T12:15:48.430+0000] {hooks.py:208} INFO - Job raysubmit_paxAkyLiKxEHPmwG status: SUCCEEDED
[2024-11-29T12:15:48.430+0000] {triggers.py:112} INFO - Mean of this population is 12.0
[2024-11-29T12:15:48.430+0000] {triggers.py:112} INFO - (autoscaler +5s) Tip: use `ray status` to view detailed cluster status. To disable these messages, set RAY_SCHEDULER_EVENTS=0.
[2024-11-29T12:15:48.430+0000] {triggers.py:112} INFO - (autoscaler +5s) Adding 1 node(s) of type small-group.
[2024-11-29T12:15:49.448+0000] {triggers.py:113} INFO - ::endgroup::
[2024-11-29T12:15:49.448+0000] {triggers.py:144} INFO - ::endgroup::
[2024-11-29T12:15:49.448+0000] {triggers.py:145} INFO - ::group:: Trigger 2/2: Job reached a terminal state
[2024-11-29T12:15:49.448+0000] {triggers.py:146} INFO - Status of completed job raysubmit_paxAkyLiKxEHPmwG is: SUCCEEDED
(...)

Child 2 DAG:

Kubernetes RayClusters spun:

Limitations
The example DAGs are not currently being executed in the CI, but there is a dedicated ticket for this work:
https://github.com/astronomer/astro-provider-ray/pull/95
References
This PR had inspiration from:
https://github.com/astronomer/astro-provider-ray/pull/67

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.52%. Comparing base (5b15f3a) to head (64d1b6a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   97.63%   98.52%   +0.88%
==========================================
  Files           7        7
  Lines         593      610      +17
==========================================
+ Hits          579      601      +22
+ Misses         14        9       -5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix Fix bug in report tablet

Proposed changes
Issue Number: close #xxx
Problem summary
_report_tablet_worker_thread_callback never clears request. resource and request.storage_policy, which will cause memory to increase forever.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.88 seconds
load time: 482 seconds
storage size:<PHONE_NUMBER>3 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230203161250_clickbench_pr_90350.html


Adds links to the left hand index

So that it's clearer where burr lives and
links to other things.

@elijahbenizzy do docs auto build? or?


VSCode gets stuck with "The window has crashed"

VSCode Version: 1.4
OS Version: OSX 10.11.6

Steps to Reproduce:

If I would know, I would be wiser

This happened:
VS Code launched and stated than an update is available. I clicked update, restart and then this happened. See attached GIF. Unfortunately, this particular behavior is worse than it seems. I cannot get out of the loop, I even deleted VS Code, deleted settings in Application Support, but nada. My Code installed is stuck. The machine is still available for repro if required.

Can you launch it from the command line? code --verbose

Well, it doesn't seem to be an option on OSX.

Christophs-MBP:Desktop Christoph$ open -a Visual\ Studio\ Code --verbose
open: unrecognized option `--verbose'
Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b ] [-a ] [filenames] [--args arguments]
Help: Open opens files from a shell.
By default, opens each file using the default application for that file.
If the file is in the form of a URL, the file will be opened as a URL.
Options:
-a                Opens with the specified application.
-b                Opens with the specified application bundle identifier.
-e                Opens with TextEdit.
-t                Opens with default text editor.
-f                Reads input from standard input and opens with TextEdit.
-F  --fresh       Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents.
-R, --reveal      Selects in the Finder instead of opening.
-W, --wait-apps   Blocks until the used applications are closed (even if they were already running).
--args        All remaining arguments are passed in argv to the application's main() function instead of opened.
-n, --new         Open a new instance of the application even if one is already running.
-j, --hide        Launches the app hidden.
-g, --background  Does not bring the application to the foreground.
-h, --header      Searches header file locations for headers matching the given filenames, and opens them.
<

Can you try /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code --verbose?

I just downloaded (5minutes ago) the current build of vs code on https://code.visualstudio.com/Download
For OSX and I'm getting the same as above.
Here is the console output:
michaelmanus@Michaels-MacBook-Pro:~$ /Applications/Visual\ Studio\ Code\ 2.app/Contents/Resources/app/bin/code --verbose
(6:58:54 PM) Sending env to running instance...
(6:58:54 PM) Sent env to running instance. Terminating...
michaelmanus@Michaels-MacBook-Pro:~$
Oddly, it works when it's launched from the downloads folder - perhaps because I launched an older version of the application from there before and it expects a file that was created there.

Ok, didn't know that you wanted me to run the binary directly. Here is the Output BUT once I ran the code binary with --verbose directly, the app actually launched and launches ever since.
Here is the output from the first launch:

Christophs-MBP:bin Christoph$ ./code --verbose
(10:34:27 AM) ### VSCode main.js ###
(10:34:27 AM) /Applications/Visual Studio Code.app/Contents/Resources/app { pathArguments: [],
programStart: 0,
enablePerformance: false,
verboseLogging: true,
debugExtensionHostPort: undefined,
debugBrkExtensionHost: false,
logExtensionHostCommunication: false,
debugBrkFileWatcherPort: undefined,
openNewWindow: false,
openInSameWindow: false,
gotoLineMode: false,
diffMode: false,
extensionsHomePath: undefined,
extensionDevelopmentPath: undefined,
extensionTestsPath: undefined,
disableExtensions: false,
locale: undefined,
waitForWindowClose: false }
(10:34:29 AM) IPC#vscode:setDocumentEdited
(10:34:29 AM) IPC#vscode:startCrashReporter
(10:34:29 AM) IPC#vscode:setRepresentedFilename
(10:34:29 AM) IPC#vscode-workbenchLoaded
(10:34:32 AM) App#activate

That's great to know, even though we didn't figure out the problem. I'll close the issue.
One more thing: you should upgrade your command line launcher:

Remove the code alias from your .bashrc that you set up long ago
Execute the Shell Command: Install 'code' command in PATH command from the command palette Cmd Shift P

I actually resolved it by removing it from Applications folder and putting a new app back

I'm encountering this issue now. The OS (Windows 10) either crashed or ran some updates automatically restarted. Now after logging in when I attempt to launch VS Code it displays "The window has crashed" dialog. And this dialog doesn't permit escape to the editor. The --verbose flag doesn't seem to have any effect. I suppose I'll have to reinstall VS Code.

The --verbose flagged worked for me on Windows 7 64 Bit.
For newbies:
Run "code --verbose" from command line.

This issue started to me after update VS Code.
Tried running with -verbose, which doesn't help
/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code --verbose
[main 4:25:00 PM] Sending env to running instance...
[main 4:25:01 PM] Sent env to running instance. Terminating...

Also tried removing from Applications folder and re-adding... the issue persists.

I had two windows open and one ended up stuck in a loop of saying it's crashed but never letting me close it -- only redisplaying the error message saying to close or reopen. I finally resolved the issue by exiting VSC entirely and relaunching it.
I have no idea what the circumstances might have been. On Mac OS X. VSC 1.16.0 (1.16.0).


Set package.version to semver for auto update

Checklist

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

This is a fix of #87, because it didn't enable auto-update unfortunately.
Once this PR is merged, there will be a difference between the FFmpeg versioning and the versioning of this package (only when patch version equals zero); however I don't think manual updating is sustainable.
I'll leave the decision to the maintainer.

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.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin, please rerender

ping @conda-forge/ffmpeg

This LGTM, and I think there won't be any problems switching to from 4.3 to 4.3.0. The only little annoyance is that I think this will make anyone with 4.3 installed to install an equivalent 4.3.0 package. So what about also bumping ffmpeg to 4.3.1 on the way, or before, pushing this?

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.

@sdvillal Thank you for your comments. I updated v4.3.1.

I forgot to update sha256. I'll fix it later.

@conda-forge-admin, please rerender

Thanks @estshorter