Is there a way to get yt-dlp to give me the subtitles filename?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hi! I'm trying to download both a video and its subtitles programmatically. I can extract the filename for the downloaded video with the following command:
yt-dlp --print filename -f "bv[ext=mp4]" -o "$(date +'%d-%m-%y') - $FILENAME.%(ext)s" $URL
which outputs 13-04-24 - $FILENAME.mp4 as expected.
However, I also need to extract the filename for the downloaded subtitles. Trying the below command
yt-dlp -o "$(date +'%d-%m-%y') - $FILENAME.%(ext)s" --write-sub --sub-lang en --skip-download $URL
outputs 13-04-24 - $FILENAME.mp4 which is the filename for the video, and not the subtitle file.
Is there a way to get yt-dlp to give me the subtitles filename? Looking around online I've found this StackOverflow question detailing the same problem, but with no answer :(
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

--print "after_move:%(requested_subtitles.en.filepath)s"

and for the video filename:
 --print after_move:filepath

Thank you! This worked amazing for one video I'm trying, but I'm running into issues when trying a different one, with a different subtitle language. Does
--print "after_move:%(requested_subtitles.en.filepath)s"
only work for subtitles in English, and not English (United States)?

the en in the requested_subtitles.en.filepath is the language code of the subs
for a general solution you could use this:
--print after_move:"%(requested_subtitles.:.filepath)l"

It might be easier to show what I'm doing and you can maybe let me know what I'm doing wrong.
The below function should download an mp4, and its subtitle file, and then merge them using ffmpeg.
I need the filenames so I can reference them in the ffmpeg command.
download_trailer () {
    trailerurl=$1
    trailername="$(yt-dlp --print filename -f "bv[ext=mp4]" -o "$(date +'%d_%m_%y')-$2.%(ext)s" $1)"
    trailersubtitles="$(yt-dlp --print "after_move:%(requested_subtitles.:.filepath)l" -o "$(date +'%d_%m_%y')-$2.%(ext)s" --write-sub --sub-lang "en,en-US" --skip-download $1)"
    yt-dlp --downloader aria2c --downloader-args '-c -j 3 -x 3 -s 3 -k 1M' \
        --write-sub -f "b[ext=mp4]" --sub-lang "en,en-US" $trailerurl -o "$(date +'%d_%m_%y')-$2.%(ext)s"

    ffmpeg -i $trailername -vf subtitles="$trailersubtitles" "subbed-$trailername"

    #cleanup
    rm $trailername $trailersubtitles
}

It is ran using
download_trailer $URL $FILENAME

I can't see why --print isn't giving me the filename anymore when using after_move:%(requested_subtitles.:.filepath)l... Any ideas?

ah, I missed that you were using --skip-download. remove the after_move: prefix

btw, why aren't you using --embed-subs instead?

Yes, as far as I'm aware --embed-subs doesn't "hardsub" (i.e. burn the subtitles into the video itself) and I've not come across some way to have yt-dlp do that yet. If you know how to get it to do that that'd be amazing though - would bring this down to a single yt-dlp call.

bring this down to a single yt-dlp call

you could do this:
download_trailer() {
  local trailerurl="$1"
  local trailerout="$2"
  yt-dlp \
    -f "bv[ext=mp4]" \
    --write-sub \
    --sub-lang "en,en-US" \
    -o "$(date +'%d_%m_%y')-$trailerout.%(ext)s" \
    --exec "ffmpeg -i %(filepath)q -vf subtitles=%(requested_subtitles.en.filepath,requested_subtitles.en-US.filepath)q %(filepath)q.subbed.%(ext)q && rm -- %(filepath)q %(requested_subtitles.en.filepath,requested_subtitles.en-US.filepath)q" \
    "$trailerurl"
}


acq2mat not working

Hello, in my script when I import bioread then call the function acq2mat to convert my data it gives me the error : 'module' object is not callable'. Am I doing something wrong?

Hm, can you paste an example of your code? I think generally you'd call acq2mat from the command line, not a python script but I'd need to see what's going on more


ImGui:keyboard input not work on win10 1803,gtx1060

what ever i typing any word  in inputs ,number or words,type in console,it stil not work,but mouse event seems work well,and i conjecture that keyboard event can't trigger,but i can't see any error in ImGui example.in tab of 'Inputs Navigation & Focus',the key event never trigger when i press,why it donsn't work,and how to solve this problem?(thanks for these example a lot:)

Keyboard input is not implemented for that sample, that's why it's not working.

Keyboard input is not implemented for that sample, that's why it's not working.

so how can i implement it,or any implemented demo project recommend?  I've been looking for a suitable realize input method typing with valkan C++ for longtime ago

linux also cannot work

linux also cannot work

but i'm using win10,it's normalcy?

@Iteravse Because the author dont write the code dealing the keyboard focus, and it confilcts with other keyboard event like WASD and space. The keyboard still focus the main window. For this problem, the linux solution is to rewrite the code of keyboard event. Override-redirect the X-Window. When your mouse click the textline, focus the Xwindow on the textline.
Win10 is not a unix and posix stardard system, cannot use Xwindow directyly except Cygwin. For win32 solution, you need to help yourself.

The official ImGui repository contains a Vulkan example where keyboard input is fully working by using either glfw or sdl. If you need a reference you may take a look at it.


Suggestion

Add spoofing capabilities.

Alright it seems like I'll have to make an API to allow this

Added in latest version


Updates primeng

Description
Fixes #...
Notes (out of scope, known isues, hints for reviewing code, ...)  (optional)
https://github.com/primefaces/primeng/wiki/Migration-Guide
Need to re-install node packages
Test cases

[x] Case 1:

Given I am the usual user
When I go to this page
Then I see 2 type of tables without design changes

[x] Case 2:

Given I am the usual user
When I go to this page
Click on start watch then go to Activities tab then Parcours officiels -> Parcours officiels -> L1S1 Computer science
Then click on Chapter View tab -> users
Then I see table without design changes

[x] Case 3:

Given I am the usual user
When I go to this page
Then switch Disable score
Switcher must work as before

I'll assume you have tested carefully most of screen, I have not much to test that you cannot do.


Implement the rest of the shell api

Here's a checklist for convenience:

[x] shell.dir
[x] shell.setDir
[x] shell.run
[x] shell.resolveProgram
[x] shell.resolve
[ ] shell.exit
[ ] shell.path
[ ] shell.setPath
[ ] shell.aliases
[ ] shell.setAlias
[ ] shell.clearAlias
[ ] shell.programs
[ ] shell.getRunningProgram
[ ] shell.complete
[ ] shell.completeProgram
[ ] shell.setCompletionFunction
[ ] shell.getCompletionInfo
[ ] shell.openTab*
[ ] shell.switchTab*

Not that important right now since we don't have multishell implemented.

For reference, the shell API is implemented in besh.lua.

Also, we should avoid making the shell API global - we should make it local and instead add it to the environment of processes started by besh.

Sure, I'll get to work on that.

Can you edit the OP? It'd be good if we assigned ourselves to them so we don't create a million merge conflicts. I'll claim shell.exit to get it started :P.


Adjust the numeric and symbolic behavior for switching back to alpha

A user reported this:

The native numeric and symbolic keyboards switch back to the alphabetic keyboard if you press space after typing one or multiple characters, e.g. !. KeyboardKit doesn't do this. It should.

After investigating this; I find that KeyboardKit actually does switch back to the alphabetic keyboard after typing a space on the numeric and symbolic keyboard, as can be seen here:
https://github.com/user-attachments/assets/2931da9d-3177-4f2f-9e64-9b163cbc22df
I'm closing this, but feel free to reopen it if I have misunderstood the desired behavior.


fix: reduce number of retries

Closing as this plugin has been deprecated in favor of our Snowflake destination for batch exports.


Add Azure Dev Tour 2018 Page

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/azure-developer-tour-2018/index.md
:white_check_mark:Succeeded
View

advocates/azure-developer-tour-2018/media/banner.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/azure-developer-tour-2018/index.md
:white_check_mark:Succeeded
View

advocates/azure-developer-tour-2018/media/banner.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off


feat: add support for matching lodash-es imports

Fantastic idea! We will still need to work on documentation, new unit tests, and making the preexisting tests pass though.


Fixing javadoc for Java 8

Java 8 has stricter javadoc checking (it cannot have  nested in , no '<' and '>' characters in javadoc and some stricter checking on @param names)

Hi @kane77, thanks for the fix. I was using a property to disable the strict javadoc checking from java 8:
<profile>
	<id>java8-disable-strict-javadoc</id>
	<activation>
		<jdk>[1.8,)</jdk>
	</activation>
	<properties>
		<javadoc.doclint.none>-Xdoclint:none</javadoc.doclint.none>
	</properties>
</profile>

Did you try to generate the javadoc without that property in the pom?

Hi German,
after my change the generation of javadoc succeeds without the property in pom, as well as with gradle.
I guess the property could be removed from the pom.
Cheers, Martin


NestJS v6

Nest v6 got released half a month ago, and all deprecations (from 4 to 5 version) have been removed (https://docs.nestjs.com/migration-guide).
components are not supported in module declarations, there should be providers instead:
https://github.com/fwoelffel/nest-bull/blob/master/lib/bull.module.ts#L12
So Nest doesn't work will BullModule anymore

Error: Nest cannot export a provider/module that is not a part of the currently processed module (BullModule). Please verify whether each exported unit is available in this particular context.

Ah, there is still pending PR #14 ...

Closed by #14 thanks to @cappuc


How to test locally when we have our own fast file importing fastlane file using import from git

We are trying to create our own fast file common that can be consumed by different product teams here.  Issue Example: Currently if we miss a parameter, we don't see the error until we actually run it in jenkins.  So our feedback loop is terrible.
I'm looking for a way to test our implementation locally.

What prevents from testing it locally?
The way I do this in my project is to

pass most parameters using environment variables and dotenv
each platform has a before_all block that checks for the required envs:

platform :ios do
  before_all do
    check_env(keys: ['BUILD_PRODUCT_ID', 'BUILD_BUNDLE_ID',
                     'XCODE_VERSION', 'HOCKEY_API_TOKEN',
                     'FL_UNLOCK_KEYCHAIN_PASSWORD', 'MATCH_PASSWORD'])

The check_env is internal to our project. I could put it online but it's very basic.

I also have a bunch of test lanes for troubleshooting/validation

I have a .env.CI that simulates the CI setup (and isn't checked in) to simulate locally

@lacostej, what @sonnack  and I are doing is wrapping some Fastlane commands (say "scan") for example with our own method,  we do this to limit the number of things that are users are required to provide for example the itunes teamname is always the same, we always output to the same report directory, etc.
So we want to test that Fastlane gets called with the correct arguments by our function, but rspec isnt recognizing any of the fastlane commands.
In production it works because we are using import_from_git to include our methods which call fastlane into the projects Fastfile so everything is "inline" and can call fastlane directly.

@lacostej
Thanks for the suggestion on using .env
I have one more question if we use .env files.
So we are building a fast file common project that all teams at our company will use.  We will call if Fast File Common.  Then we can have a dev team use this env file for their specific information (team name, app name, email) and their own fast file for custom methods.  Is there a way I can have a env in the same repo as fast file common instead of in every dev teams repo.

@sonnack .env are not shared (the import_from_git only imports the Fastfile and actions right now). Until fastlane supports the feature you could hardcode it using the following mechanism

store your .env files under your shared repor fastlane/actions/shared/
these files will get cloned at fastlane start
create an action in your shared repo that does something like

      def self.run(params)
        env_file = File.join(File.expand_path("../shared", __FILE__), "shared.env")
        require 'dotenv'
        Dotenv.load(env_file) # or overload
     end

add an action call at the start of your shared Fastfile. You will need fastlane 2.14.0 for this to work as there was a bug in < 2.14 WRT to properly loading actions and calling them from the shared fastfile.

Now this only works if the order in which you will load your dotenv works for you. You might need to add an extra mechanism to load your project dotenvs and not depend on fastlane --env parameter.
You could fetch your dotenv from elsewhere. I picked the git repo as this is where you already have your Fastfile

@CubicNitrous it looks to me you are trying to write a wrapping Fastfile and test the wrapper in complete isolation of the imported Fastfile.
To achieve this I would probably mock all fastlane calls/functions/actions from my rspec helper.


How about adding to the source compatibility suite?

Swift 5.0 regression. SR-9375

Thanks for reporting it.
Obviously, it turns to be a Swift 5.0 regression.
I will try to confirm it in the snapshot toolkit later, and send a PR to source compatibility repo to contain it to the regression test suite if necessary.

We made a small workaround to make it compile for Swift development toolchain snapshot you mentioned. However, we are still seeing some crash in our unit tests when we use the snapshot version. And the same issue is happening in the sample app. So I guess it is not a good time to use this framework with that Swift compiler since we didn't have a good time to run full tests for it.
I am closing this issue now.


pull request for e2e test at 12/15/2016 15:15:17

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Work around Firefox + Windows relative iframe path issue.

Fix to issue #194.

CLA signed.

If there are no outstanding issues with this pull request, can you please merge it and release it. Thank you.

Sorry for the delay, LGTM.


Simple program hanging on HVM-CUDA

Reproducing the behavior
Bend:
Bits/E     = λo λi λe e
(Bits/O x) = λo λi λe (o x)
(Bits/I x) = λo λi λe (i x)

def Count(n, bs):
  switch n:
    case 0:
      return 1
    case _:
      return Count(n-1, λt:t(1,bs)) + Count(n-1, λt:t(2,bs))

def Main:
  return Count(8, Bits/E)

HVM:
@Bits/E = (* (* (a a)))

@Bits/I = (a (* ((a b) (* b))))

@Bits/O = (a ((a b) (* (* b))))

@Count = (?(((* 1) @Count__C0) a) a)

@Count__C0 = ({a d} ({b e} h))
  &!@Count ~ (a (((1 (b c)) c) $([+] $(g h))))
  &!@Count ~ (d (((2 (e f)) f) g))

@main = a
  & @Count ~ (8 (@Bits/E a))

Fails to halt on HVM-CUDA. Same if you use native constructors.

@enricozb @developedby any ideas why?

What version of HVM / Bend are you using

This looks to be fixed as of a5e6788f3b377f28be91d27a4d7f6d4f6712c0bb, returning a Result: 256. If this was being run through the IO (run.c), it's possible the bug fixed in this commit was the culprit.


The metric does not contain the container, so the plot is not displayed, but other data is available,

What happened?
The metric does not contain the container, so the plot is not displayed, but other data is available, the 1.25.3 cluster created by kubadm

Did you expect to see some different?
How to reproduce it (as minimally and precisely as possible):
Environment

Prometheus Operator version:

prometheus-operator:v0.60.1

Kubernetes version information:

kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.3", GitCommit:"434bfd82814af038ad94d62ebe59b133fcb50506", GitTreeState:"clean", BuildDate:"2022-10-12T10:57:26Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:38:15Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

kubeadm 1.25.3
helm install

hello?

I'm also facing same issue. Looking at metric container_cpu_usage_seconds_total, not receiving container information.


Prepare Coding Standards and Naming Convention for extension developers

We need to put all the rules core devs are try to be compliant with into single document that allow extension developers to create quality and coherent code

#907


API command test fail on MacOS (for #157824)

Yeah the issue is still open actually from an earlier report. I reopened it.


Add badges to the README

Add the badges - The javadoc one isn't useful right now. It will after we publish.

#2 is related, but not covered.
LGTM, :shipit:


Installer manuellement , At checkout page is still Inglés

Installer manuellement
At checkout page is still Inglés

Thanks for your reply. I test it.

If you have already solve this problem, please , theach me how yo solve it ! Thanks

First, try to disable your cache and  flush cache (not clean, but flush...).
The best method to install this pack is composer. See: http://imaginaerum.github.io/magento2-language-fr-fr/en.html (installation section).

I have already disable cache and flush cache, but it does not work.

I will test on a Magento instance.

Ok, thank you very much :smile:

French language pack v100.6.0 is ready, try it ;) - I test on a magento instance

It's work for me.

I close issue. But i can help you to sole it.

is it Installer manuellement or Installer via Composer ?

As you want. But use composer.

i Installer manuellement, but,At checkout page is still Inglés.

Cloud you try to installer manuellment, check it at checkout page is still Inglés?

It's work for me (composer and manual install)

I unzip it into /magento/app/i18n/imaginaerum/fr_fr folder.  is correct ?

It's correct. What is your Magento version ? Use 2.0.4

My version is Magento 2.0.4 , i have tried verion Mangeto 2.0.0 | 2.0.2 | 2.0.4 .is not working.

I think it' a cache issue. Some user have the same problem. After deep clean, it's work.
To purge out-of-date items from the cache, you can clean or flush cache types:
Cleaning a cache type deletes all items from enabled Magento cache types only. In other words, this option does not affect other processes or applications because it cleans only the cache that Magento uses.
Disabled cache types are not cleaned.
Flushing a cache type purges the cache storage, which might affect other processes applications that are using the same storage.
Flush cache types if you’ve already tried cleaning the cache and you’re still having issues that you cannot isolate.
You can also clean and flush cache types in the Magento Admin. Go to System > Tools > Cache Management. Flush Cache Storage is equivalent to magento cache:flush. Flush Magento Cache is equivalent to magento cache:clean.


fix(ci): Testing CI release

:tada: This PR is included in version 2.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Updates

Codecov Report

Merging #134 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master    #134      +/-   ##
===========================================
- Coverage     99.22%   99.2%   -0.03%
  Complexity     2601    2601
===========================================
  Files           481     481
  Lines          4918    4918
===========================================
- Hits           4880    4879       -1
- Misses           38      39       +1

Flag
Coverage Δ
Complexity Δ

#phpunit
99.2% <ø> (-0.03%)
2601 <ø> (ø)

Impacted Files
Coverage Δ
Complexity Δ

src/Version/Ios.php
75% <0%> (-5%)
8% <0%> (ø)

Continue to review full report at Codecov.

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

Coverage decreased (-0.02%) to 99.161% when pulling b05b19927da81b9e2e1195e031085a3db5d2652e on updates into b16a6dd5b142e85a2045b5f3e6b2cb7a197c7e8d on master.


[REFACTOR] Removed doubled command

-Dcheckstyle.skip=true occurs in line 14 and line 16. One occurrence should be enough. ;)

We wanted to be really really sure 😉
Thanks!


F/use serializers errors

Closes #105

[x] Verify this in another project
[x] Update Readme with Exception Changes
[x] Updates Readme with information on the Exception Config changes needed

I want to verify this works in a secondary project and update the readme to reflect the changes, then read for review.

Assigning to @beporter to review the readme


Manual coercion via define_method (from mixin) doesn't work with Composition

Consider this composite form:
  class CompositeForm < Reform::Form
    include Composition
    include Reform::Form::Coercion

    model :user

    property :birthdate, on: :profile

    validates :birthdate, presence: true

    def birthdate=(val)
      super(Chronic.parse(val).to_date)
    end
  end

(If you're not familiar, Chronic just converts Strings like "tomorrow" to actual Date/Time objects. I'm just using it here as an example; the particulars don't matter.)
and this simple test case:
test do
    form = CompositeForm.new(user: OpenStruct.new, profile: OpenStruct.new)
    expect(form.validate({ birthdate: "12/03/1985" })).must_equal(true)  # for the sake of completeness

    form.save do |data|
      expect(data[:profile]['birthdate']).must_be_kind_of(Date)  # The real test
    end
end

All of that works great, as expected. However, if I move the manual coercion into a mixin and use define_method (or class_eval – same holds), all of a sudden the test fails (Expected "12/03/1985" to be a kind of Date, not String.). See this gist.
I dug around Disposable's Composition class, and I suspect it has to do with the expose_class which is created at runtime via Class.new, but there is so much metaprogramming going on here I can't follow it all. Any thoughts?

Why do you include Reform::Form::Coercion, can you please comment that line to make sure it's not that line? Since you're doing your coercion manually, there's no point in that. :wink:

It's odd, look, this works.
  class TwinCompositionDefineMethod < Disposable::Twin
    include Composition

    property :id, on: :song

    define_method :id do
      super() + 9
    end
  end

  it do
    twin = TwinCompositionDefineMethod.new(song: song)
    twin.id.must_equal 9
  end

This is fixed in Reform 2.1.1.


GUI: Json Resolver (#826)

Resolve #826
Demo usage
from taipy.gui import JsonResolver

class FunctionJsonResolver(JsonResolver):
    def resolve(self, o):
        if isinstance(o, FunctionType):
            return o.__name__

FunctionJsonResolver().register()

Performance if there are many resolver ?

We should be good performance wise. the isinstance check is not resource intensive at all and we will only resolve if it matches the if condition.

Performance if there are many resolver ?

We should be good performance wise. the isinstance check is not resource intensive at all and we will only resolve if it matches the if condition.

Agreed. And there will certainly never be more that a single custom adapter.


Incorrect pod version in documentation

I always get this error,when tried to update a pods
This problen was solved when I deleted version of pod
[!] CocoaPods could not find compatible versions for pod "CustomerIO/Tracking":
In Podfile:
customer_io (from .symlinks/plugins/customer_io/ios) was resolved to 1.3.2, which depends on
CustomerIO/Tracking (~> 1.3.2)
pod 'CustomerIO/MessagingPushFCM', ,'~> 3.1.2' =>
pod 'CustomerIO/MessagingPushFCM',
None of your spec sources contain a spec satisfying the dependency: CustomerIO/Tracking (~> 1.3.2).
You have either:

mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Hi @horlann, thank you for reaching out and sharing this with us. I have noticed that the version fetching on our docs site is currently misbehaving, and we are actively working on a fix, which will be applied very soon. In the meantime, I can help you here to resolve the issue.
iOS V3 is not currently supported by our Flutter Package. You will need to continue using V2. Please update your Podfile as follows:
# Note: You may need to add this line, as required by FCM, to the top of your Podfile if you encounter errors during 'pod install'
use_frameworks! :linkage => :static

target 'YourApp' do # Look for the main app target.
  # Make all file modifications after this line:
  config = use_native_modules!

  # Add the following line to add the Customer.io native dependency:
  pod 'CustomerIO/MessagingPushFCM', '~> 2.13.0'
end

# Next, copy and paste the code below to the bottom of your Podfile:
target 'NotificationServiceExtension' do
  pod 'CustomerIO/MessagingPushFCM', '~> 2.13.0'
end

After updating, please run Flutter Clean and install the pods again by either using Flutter commands or by running the following directly in your project folder:
pod update --repo-update --project-directory=ios

This should resolve the issue for you. Apologies for the inconvenience this has caused. Please let us know if you have any more questions.

Thats didnt help.Im also facing with with problem

Sorry to hear the issue is still not resolved. This could be related to caching or dependencies not being fetched properly. Can you please try the following steps?

Ensure the dependency is correctly listed in your pubspec.yaml file, or run flutter pub add customer_io again
Clear caches and restart your IDE if you are using Android Studio
Run Flutter Clean from Android Studio
Run Flutter Pub Get from Android Studio
Run pod install --repo-update --project-directory=ios in your terminal
Run your app

These steps should help resolve the issue. If the problem persists, please let us know so we can further help you with debugging.


Offline Installation and Model Download

Hello,
I'm trying to install ollama on an offline Ubuntu computer, Due to the lack of an internet connection, I need guidance on how to perform this installation offline. Additionally, I would like to understand how to download and utilize models on this offline Ubuntu machine.
Here are the specific questions and challenges I'm facing:
Offline Installation:
Is it possible to download all the necessary installation files and dependencies on an online machine and then transfer them to the offline Ubuntu computer?
Can you provide step-by-step instructions for manually installing the software offline?
Are there any specific dependencies or libraries that I need to be aware of for the installation?
Offline Model Usage:
How can I download pre-trained models or data sets for the software offline?
Once the models are downloaded, how can I integrate them with the software and use them?
I would greatly appreciate any guidance or assistance you can provide to help me with this offline installation and model usage.
Thank you in advance for your help!

Hi @OguzcanOzdemir, Ollama will work offline. Here are some install steps.
Offline installation:
This will be possible by downloading the ollama-linux-ARCH binary then moving it onto your offline machine.
You can find the binary in the release assets here:
https://github.com/jmorganca/ollama/releases
If you want to use you GPU you will also need to install the relevant CUDA driver:
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_local
Offline model usage:
The easiest way to do this would be to download the Ollama models on a machine which is connected to the internet, then moving the ~/.ollama directory to the offline machine.

What if I already downloaded the model from Facebook, where should I put it for ollama to be able to use it?

hi, i want to download models from ollama and move to a offline computer to use it in ollama, is there any guide or instructions to flow?

Why has this been closed? I do not see any real answer here.
Has anybody an update on how to do it?

need an answer

For anyone interested on where to put the model after downloading: https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored

Hey there, small update for anyone interested. Since this was still bothering me, I took matters into my own hands and created an Ollama model repository, where you can download the zipped official Ollama models and import them to your offline machine or wherever.
Any feedback is appreciated 👍 More models will be coming soon.

Hey there, small update for anyone interested. Since this was still bothering me, I took matters into my own hands and created an Ollama model repository, where you can download the zipped official Ollama models and import them to your offline machine or wherever.
Any feedback is appreciated 👍 More models will be coming soon.

Literally just had this need come up an hour ago.  Well done!

If anyone did not find a solution for their problem, I've created this simple app that will give you links to download and model in any size you want from the Ollama registry:
https://github.com/amirrezaDev1378/ollama-model-direct-download

hi, i want to download models from ollama and move to a offline computer to use it in ollama, is there any guide or instructions to flow?

@HEI201 I successfully installed an offline model downloaded from Hugging Face, you can check it out. Installing Ollama offline and loading offline models

Since ollama has a similar CLI interface to docker, I implement save and load functions to ollama just like docker, for transferring models to remote server without access to internet.
https://github.com/cgjosephlee/ollama-save-load
ollama pull gemma2:2b-instruct-q4_K_M
ollama list

export OLLAMA_MODELS="/path/to/ollama/models"  # change this if you have alternative path
./ollama-save.py gemma2:2b-instruct-q4_K_M | gzip > gemma2.tar.gz
./ollama-load.py gemma2.tar.gz

@yelog hey! i am trying to follow the steps in you blog, but i can't find the install.sh file you're talking about in the extracted directory

Extract the installation package ollama linux amd64.tgz, navigate to the extracted directory, and run the install.sh script to complete the installation.

here is what i get when i extract the files:
!tar -zxvf /kaggle/working/ollama-linux-amd64.tgz
./ ./lib/ ./lib/ollama/ ./lib/ollama/libcublas.so ./lib/ollama/libcudart.so.12 ./lib/ollama/libcublasLt.so.<IP_ADDRESS> ./lib/ollama/libcudart.so ./lib/ollama/libcudart.so.11.0 ./lib/ollama/libcublas.so.11 ./lib/ollama/libggml_cuda_v11.so ./lib/ollama/libcublas.so.12 ./lib/ollama/libcudart.so.11.3.109 ./lib/ollama/libcublas.so.<IP_ADDRESS> ./lib/ollama/libhipblas.so.2 ./lib/ollama/libcudart.so.12.4.127 ./lib/ollama/librocblas.so.4 ./lib/ollama/libcublasLt.so.<IP_ADDRESS> ./lib/ollama/librocblas.so.4.1.60102 ./lib/ollama/libcublasLt.so.11 ./lib/ollama/libcublas.so.<IP_ADDRESS> ./lib/ollama/libggml_rocm.so ./lib/ollama/libcublasLt.so.12 ./lib/ollama/libcublasLt.so ./lib/ollama/libggml_cuda_v12.so ./lib/ollama/libhipblas.so.2.1.60102 ./bin/ ./bin/ollama


Fix CI

Travis has several issues running the unit tests. I migrated to GitHub actions finally.
#6 fixes the remaining issues in GHA.

Hi @rhaschke ! It is great to see that someone is fixing long pending issues in the package, as I myself am not maintaining it.
It seems to me that it is worth letting you fix/evolve the package as you see fit, so I'm giving you access to it (I think you can do everything, if not, we can think of moving the repo somewhere else).
So please, be my guest and hit the "merge PR" buttons on the PRs!

Thanks for your trust. I will be happy to merge my fixes and also cut a new release if desired.
However, I won't be able to maintain the package in a long run.

Thanks for your trust. I will be happy to merge my fixes and also cut a new release if desired.

Feel free to do what you need.

However, I won't be able to maintain the package in a long run.

Anyway, these PRs are absolutely better than nothing at all 😊 Thank you very much!


Update blog “saigen”

Automatically generated by Netlify CMS

👷 Deploy Preview for koyomi processing.

Name
Link

🔨 Latest commit
f27a019640510378ee8c3b8c7bd3174c8b90247b

🔍 Latest deploy log
https://app.netlify.com/sites/koyomi/deploys/62d574028332560009f685bc


feat: change Response.json body to type Object?

Status
READY
Description
Hello @felangel !
Thanks for this package, I've been waiting a long time for a convenient backend framework for dart.
I think that the body field of Response.json should be typed [Object?]
As an example, my legacy project uses a List response like in jsonplaceholder example
Maybe only Map<String, dynamic>? has some hidden meaning that I didn't know?
Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Published in dart_frog v0.0.1-dev.5 🎉


filter-option display:inline, width:auto

Noticed the following in the CSS:
.filter-option {
  position: static;
  display: inline;
  padding: 0;
  width: auto;
}

Admittedly, CSS is not just my favorite thing ever, emergency dentistry being considerably higher on the list.
However, seems as if something can be display:inline, or have a width, but not both.

Good catch. The width: auto; is unnecessary here. I'll need to test it in IE to make sure there aren't any unexpected issues, but it can probably be safely removed.

Released in v1.13.10!

The change from position: absolute in version 1.13.0 to position: static in version 1.13.9 is breaking the dropdown style. See screenshot.


Godot 4 windows switching

Godot version
4.0
System information
Linux mint, GLES3, Nvidia quadro 2000m
Issue description
so sometimes (Randomly) Godot 4 starts switching between windows inside the engine itself, Some simple tasks like "Create script" as you can see here, It keeps doing that and i have to end the process from my task manager
Sometimes it happens when i add node child
Steps to reproduce

Go to script tab
Make a new script

Minimal reproduction project
https://user-images.githubusercontent.com/112822849/215447764-364a5ee3-304f-49b8-b36c-83e0d8e82f75.mp4

Same issue here. Using the new Beta 15. Same happens with Editor Settings. Project Settings works fine though.
When it happens, i can't even switch to my browser or anything else and use for example the url bar.
I tried running godot with the --verbose flag but there are no logs of when it does this.

Duplicate of https://github.com/godotengine/godot/issues/72187.


New release?

@Syndace: Can you create a new build?
The last version is v0.11.0-beta:

https://github.com/Syndace/python-omemo/releases
"Syndace released this on 13 Dec 2019 · 13 commits to master since this release"

Linked to Debian 11 freeze:

https://salsa.debian.org/xmpp-team/python-omemo-backend-signal

Linked to Debian 11 freeze:

https://salsa.debian.org/xmpp-team/python-omemo-backend-signal

Thanks for noting, I created a new release.

Thanks for noting, I created a new release.


On Android setSmallIcon when used with an XML resource adds unneeded padding, makes notification icon look incorrect.

Our notification icon is an XML resource. As you can see the icon is not scaled correctly and seems to have padding. When used with pure FCM push (no Responsys) the icon appears correctly and at the right size. Also it would be nice if you provided a setIconColor function (for default_notification_color) in order to style the icon for when the icon is provided in XML format. When a PNG resource is used, the icon appears correctly in Responsys. So this is an incompatibility with XML icons.
Is there a reason you can't use the default icon settings that are already passed to FCM in AndroidManifest?
The native code is as follows:
      // if it's a responsys push, set the icon and handle it with Responsys
        if (pushIOManager.isResponsysPush(remoteMessage)) {
            String appName = reactContext.getPackageName();
            int notificationIconID = reactContext.getResources().getIdentifier("ic_launcher_foreground", "drawable", appName);
            pushIOManager.setDefaultSmallIcon(notificationIconID);
            pushIOManager.setDefaultLargeIcon(notificationIconID);
            pushIOManager.handleMessage(remoteMessage);
        } else {
            // Otherwise not a Responsys push notification, handle it through FCM only
            FCMModule.onMessageReceived(reactContext, dataMap);
        }

Responsys:

FCM:

Please share the XML file that has this issue.

ic_launcher_foreground.xml.zip

The xml you have shared is for launcher icon.
When a launcher icon xml is used as a notification icon, there is a padding added by the system.
Firebase SDK reads the icon xml as a launcher icon, so the padding is not added by the system.
Responsys SDK reads the icon xml as a notification icon, so the padding is added by the system.
There are two ways to resolve this,

Don't set the small Icon in Responsys SDK. This will force the Responsys SDK to read the icon as a launcher icon.
OR
Create a copy of the launcher icon xml and use it as a notification icon.
-- In Android Studio, go to File > New > Image Asset
-- Select Icon Type as Notification Icons and Asset Type as Image.
-- Pick the icon xml file in the Path entry.
-- Once the icon xml is loaded, you should be able to see the extra padding added (even though Padding displays 0%).
-- To remove the padding, select Trim as Yes and save the file.

Just wanted to let you know the following:

Don't set the small Icon in Responsys SDK. This will force the Responsys SDK to read the icon as a launcher icon.

Hello @neerhaj  just checking back in. Any plans to allow Responsys to use the app icon like FCM does? If we don't set the icon in Responsys, it shows up as a white dot.

We are looking into the possible ways to allow apps to set the smallIcon. We'll get back with an update shortly.


Sorry, something went wrong - Trying to provision

[x] Bug

Expected or Desired Behavior
Trying to Provision Microsoft 365 learning pathways per instructions
Observed Behavior
Successfully signed in to https://provisioning.sharepointpnp.com/home/details?packageId=3df8bd55-b872-4c9d-88e3-6b2f05344239 as a tenant administrator
accepted the permissions
Browser clears and after waiting get the following error:
Sorry, something went wrong
There was an unexpected issue. Please try again after a while.
IDX21324: The 'nonce' has expired: '[PII is hidden]'. Time from 'nonce': '[PII is hidden]', Current Time: '[PII is hidden]'. NonceLifetime is: '[PII is hidden]'.
at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator.ValidateNonce(OpenIdConnectProtocolValidationContext validationContext) at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator.ValidateAuthenticationResponse(OpenIdConnectProtocolValidationContext validationContext) at Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationHandler.d__1a.MoveNext()
Steps to Reproduce
Tried a few times ended up with the same result.

@AdamPJones Unfortunately your issue is related to the SharePoint online provisioning service and not Microsoft 365 learning pathways which means we have no expertise to be able to assist you. You will need to submit this issue to their repository to get assistance which is at https://github.com/SharePoint/sp-dev-docs/issues.

Thanks, resubmitted as suggested.


Stable enough for long-term usage?

This is a question, no bug.

I'm just asking wether django-ddp is considered stable enough to be used for a medical application, where data loss/failure is a more-or-less no-go, and should be maintainable for many years.
How stable is django-ddp considered to be for that?
Would you recommend it for using in a "data loss critical" environment?

I know that this question is a bit broad, and answers maybe opinion-based, but I want to ask it nevertheless.

Is django-ddp on the server and python-ddp on the client a stable option? Any experiences here?
Thank you very much.

I'd suggest https://www.apollodata.com/

Hm. You'd suggest it for using Apollo instead of django-ddp? Could you explain a bit more?

Yes, definitely. We probably would have use it had it existed back then

Thanks.


Sidebar panel disappears on load

I'm trying to load https://googlemaps.github.io/js-store-locator/examples/panel.html, the sidebar panel  with "Where are you?" is flashing for an instant, then disappearing. This is happening in Firefox and Chrome at least.

This is working for me on Chrome v49, Firefox v49, and IE11.


Making the status quo of the project more clear

Update of the readme file. As mentioned by @LappleApple, we have to state the status and goals of the project more clear.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #474   +/-   ##
=======================================
  Coverage   84.36%   84.36%
=======================================
  Files          40       40
  Lines         563      563
  Branches       26       26
=======================================
  Hits          475      475
  Misses         70       70
  Partials       18       18

Continue to review full report at Codecov.

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

Hey @maxim-tschumak, can you merge the PR and then I'll look/edit? It's a lot easier for me to see things directly inside the regular README.md. Thanks (and good job getting around to this). :)

👍

👍

@LappleApple you can use this link btw to render the version of README from this PR: https://github.com/zalando-incubator/zally/blob/afb4edf4d782d33d57ed5c5c992a10b37c5b6f2e/README.md


Add Noms commit command

towards #2100

@aboodman please provide feedback as you have time, continuing to add tests and command line arguments

@aboodman PTAL

./csv-import --no-progress=1 --commit=0 --dest-type=map:0 sf-registered-businesses/2016-05-15.csv http://localhost:8000::temp | noms commit http://localhost:8000::sf-registered-businesses

test this

Please test this

build this

@mikegray do you know why the tests are failing?

No, I was unable to get it to build again. I apparently do not know the magic or it is broken. I have another commit coming though anyway - bringing url-fetch, json-import, and xml-import along for the commit ride.

Really nicely coming along.

BTY

@aboodman the build for this PR was broken because master has testExiter removed in favor of the MustRun/Run changes, but this branch was before that. I have rebased to master to pickup those changes which also allows me to turn on some of the disabled tests where stderr was not completely read when failure tests were run. I know this creates more work for you, the reviewer in this case, but having a working build and more fully tested code is better to have for review and landing purposes. PTAL.

@aboodman PTAL - ping

@mikegray I need to run to a meeting. If you have fixed my last comments, LGTM. I will review async.

TBR


PointerUpEvent.buttons always returns zero.

Using this:
Listener(
  onPointerDown: (event) => print(event.buttons),
  onPointerUp: (event) => print(events.buttons),
  child: Container()
);

On a left mouse click, you'll get:
1
0

When presumably, you should be getting:
1
1

Here's a runnable example.
And here's the flutter doctor:
[✓] Flutter (Channel master, v1.3.12-pre.30, on Linux, locale en_US.UTF-8)
    • Flutter version 1.3.12-pre.30 at /home/jediburrell/devel/os/flutter
    • Framework revision a1bee54fda (7 days ago), 2019-03-18 05:02:34 -0400
    • Engine revision e75f6de01f
    • Dart version 2.2.1 (build 2.2.1-dev.1.1 None)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/jediburrell/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /home/jediburrell/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] Android Studio (version 3.3)
    • Android Studio at /home/jediburrell/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.32.3)
    • VS Code at /usr/share/code
    • Flutter extension version 2.24.0

[✓] Connected device (1 available)
    • Google Pixelbook • <IP_ADDRESS>:5555 • android-x64 • Android 9 (API 28)

! Doctor found issues in 1 category.

The structure of Flutter's pointer event buttons is that they reflect the state of the device's buttons as a result of the event, so 1, 0 is correct.


Using EXDF Rules breaks pet macros

Hi,
Was using EXDF to display Japanese text (i.e. EnglishWithJapanese_SayQuestJapanese.json). I noticed that my SCH macro for Eos has broken as a result:
/pac Heel
/pac Place
/micon Place pet
suddenly starts throwing the error in chat that “Heel” is not a valid action name and “Place” is not a valid action name; changing the action names to their JP versions also did not fix the issue. I've isolated this issue to XIV Alexander as unloading the .json rule to remove JP text makes the macro work again.

Yes, use auto-translate feature to convert them to ((something)) format.

Ah my bad... I should've checked closed issues. Saw you handled this twice already (third time's the charm?!) Got it working now, thanks!


Support orchestration id reuse policy

Issue describing the changes in this PR
This PR adds support for the orchestration id reuse policy. It asking for corresponding server updates at https://github.com/microsoft/durabletask-go/pull/46
resolve: https://github.com/microsoft/durabletask-java/issues/190
Pull request checklist

[ ] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[ ] My changes are added to the CHANGELOG.md
[ ] I have added all required tests (Unit tests, E2E tests)

Additional information
Additional PR information

ping, whats missing to get this merged?


Allow up to two lines for names of PM participants

At present, names of PM thread participants are allotted one line in the left sidebar. This can make it hard to find the right group PM thread, especially when participants have relatively long names.
To address this, we should experiment with allotting up to two lines per conversation. We will need to test out the experience on CZO; it might impact how many conversations we show at a time.
CZO discussion thread

@alya , let me know if this looks good to go ahead to be in a PR?

@jai2201 this is not addressing the issue. There was no request to add member count; we just want to allocate two lines for the names.

@alya Could you assign this issue to me ?

@Atharvk7 , I have raised a PR for solving this issue, could you please look for some other issue.


Set DEVICE globally and decide where to transfer batches to the chosen device

Currently, for the PyTorch workloads the DEVICE is just hard-coded/set based on availability in each workload, e.g. here. The DEVICE should probably be set globally for all workloads to avoid inconsistencies. Maybe the user should even have the option to choose the device or the number of GPUs to use (in the GPU case), at least in "debug mode".
Moreover, in the PyTorch workloads the training and evaluation batches are transferred to DEVICE in the preprocess_for_{train|eval}() function. We could get rid of these functions (and the need for the user to call them) in multiple ways. The simplest option is to just call input_batch.to(DEVICE) in workload.model_fn(). In this way, the batches are always on the appropriate device for each forward pass during training and evaluation.

I agree, I think we were overly optimistic when we originally drafted the APIs, and based on how people are writing the input pipelines, preprocess_for_{train|eval} are unnecessary.

Not really an issue anymore.


I must be missing something obvious.

Hi,
I am trying to get started  with Finbuckle by adding a  simple working test of Multitenanncy to an existing .Net Core 3.1 application. I’m trying to inject the Finbuckle TenantInfo into a controller using dependency injection. Whatever I do, I always see the error:
“InvalidOperationException: Unable to resolve service for type 'Finbuckle.MultiTenant.IMultiTenantStore`1[Finbuckle.MultiTenant.TenantInfo]' while attempting to activate 'Application.Controllers.HomeController'. “
This is how I’ve configured Finbuckle in Startup.cs:
public void ConfigureServices(IServiceCollection services)
    {

        services.AddMultiTenant<TenantInfo>()
        .WithStaticStrategy("MyTenant");

...
and
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    app.UseMultiTenant();

        app.UseAuthentication();
        app.UseAuthorization();

        app.UseSession();
        app.UseCookiePolicy();

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapControllers(); // Map attribute-routed API controllers
            endpoints.MapDefaultControllerRoute(); // Map conventional MVC controllers using the default route
            endpoints.MapRazorPages();
        });

This is how the controller I'm trying to inject the TenantInfo into looks:
public class HomeController : Controller
{

    private readonly IConfiguration _configuration;
    private readonly IWebHostEnvironment _environment;
    private readonly TenantInfo _tenantInfo;

    public HomeController(
        IConfiguration configuration,
        IWebHostEnvironment environment,
        TenantInfo tenantInfo
    )
    {
        _configuration = configuration;
        _environment = environment;
        _tenantInfo = tenantInfo;

    }

Can anyone please point out to me what I must obviously be missing, because none of that works?
Regards,
Mike

Hi, it looks like you forgot to register a tenant store, eg WithConfigurationStore() after add multi tenant.
What type of store did you plan to use?

Hi Andrew,
Thanks for your very prompt reply.
I'd already tried following one of the ConfigurationStore samples earlier, like this:
    public void ConfigureServices(IServiceCollection services)
    {

        services.AddMultiTenant<TenantInfo>()
        .WithStaticStrategy("MyTenant")
        .WithConfigurationStore();

and with the values in appsettings.json from one of the sample projects:
"Finbuckle:MultiTenant:Stores:ConfigurationStore": {
"Defaults": {
"ConnectionString": "Datasource=sample.db"
},
"Tenants": [
{
"Id": "tenant-finbuckle-d043favoiaw",
"Identifier": "finbuckle",
"Name": "Finbuckle"
},
{
"Id": "tenant-initech-341ojadsfa",
"Identifier": "initech",
"Name": "Initech LLC"
}
]
},
But I get the same result.
Regards,
Mike

Did your static tenant identifier match one of tenant identifiers in your appsettings.json  file? If you have a GitHub repo for the project I’d be happy to take a look.

Hi Andrew,
Thanks. Naturally, that was it! The second pair of eyes was what I needed. I had mis-typed one character in .WithStaticStrategy in the actual  name data I was using.
In passing, I'm migrating my MultiTenant applications from SaasKit and on day one of Finbuckle, it's obvious your documentation, simplicity of use, and most of all active development and support are much better. Well done and thanks.
Regards,
Mike


feat(payments): INT-3931 Add SEPA form for Checkout.com

INT-3931
What?

Add SEPA form for Checkout.com payment method, injecting as a component in CheckoutcomCustomPaymentMethod.tsx and its validation schema
Create a file to store future custom forms for Checkout.com
Change multiple filenames in order to indicate more modularity for the multiple future forms for Checkout.com

Why?
As one of the requirements  it's support SEPA, the form is necessary to request the necessary data to create the payment request
Testing / Proof
https://user-images.githubusercontent.com/69487179/109849127-9ff9b900-7c16-11eb-897d-aa17e16caa07.mov
Related PRs

bigcommerce/checkout-sdk-js#1079

@bigcommerce/checkout

@MLoyo Circle seems to have missed running on this PR, I can't find how to trigger it manually. Can you try rebasing?


Add support for "duplicate" attribute names

Why is this needed?
A custom extension may define attributes that may already exist in core or other schema extensions. This should generally be acceptable as we have namespaces to disambiguate them. For example,
{
  "name": {
    "givenName": "Kamal"
  },
  "urn:ietf:params:scim:schemas:extension:envoy:core:1.0:User": {
    "name": "Kamal"
  }
}

I should also note that the type can also be different. The core name attribute is a complex type, but the urn:ietf:params:scim:schemas:extension:envoy:core:1.0:User.name is a simple attribute.
Currently, Scim::Kit will generate a resource getter and setter that is not namespaced.
What does this do?
This is not a fix, but only contains a failing spec to illustrate the issue.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)

Verification Plan

[ ] Define a custom extension with an attribute name that already exist elsewhere
[ ] Provide a payload with both attributes present

Thanks @kamal! I appreciate the example. Would you mind if I push commits to this branch?

@xlgmokha please commit away

@xlgmokha one idea I thought was to auto generate setters and getters with succ, so something like Resource#name_0= and Resource#name_1=. Resource#attribute_for will hide the implementation detail of which method to use.

@xlgmokha one idea I thought was to auto generate setters and getters with succ, so something like Resource#name_0= and Resource#name_1=. Resource#attribute_for will hide the implementation detail of which method to use.

That's a neat idea. It has been a while since I have worked on this codebase so I will need to source dive to refresh my memory. I will keep this idea in mind as I work towards a solution.

I apologize for the delay on this. I have made a bit of progress over in https://github.com/xlgmokha/scim-kit/pull/60. I wasn't able to push directly to the branch under this PR so I opened a duplicate PR.
@kamal do you mind taking a look at https://github.com/xlgmokha/scim-kit/pull/60 to see if using write_attribute is sufficient for collisions on schema attribute names?

@xlgmokha my apologies in not reviewing this in a timely matter. Thanks for solving it in a very clean way!


Support for x-jms-topic and exchange to exchange binding

The X-JMS-Topic type is an exchange available through the rabbitmq_jms_topic_exchange plugin.
We use this quite extensively for its SQL style filtering of messages, so I made some minor mods to support it.
Also I noticed there was no cmdlet to use the exchange to exchange binding feature in the web API.
Changes made:
Added support for X-JMS-TOPIC header type used for JMS SQL filtering. I made some modifications to the Powershell scripting to support it.
Added a cmdlet to add an exchange to exchange binding, very similar to the exchange to queue binding.

Hiyo!
Gave this a super quick skim - works for me - anyone else using this module have input?  Will merge in later this week or this coming weekend if not
Thanks!

I would merge this in. Have used the Exchange -> Exchange binding module a bit and it works great! (no experience with the X-JMS-Topic addition)

Thanks for the reminder and note, merging!


fix: unexpectedly returning error while skipping list<map<x,x>> type value

What type of PR is this?
fix: unexpectedly return error while skipping list<map<x,x>> type value
What this PR does / why we need it (en: English/zh: Chinese):
en:  fix unexpectedly returning error while skipping list<map<x,x>> type value
zh: 修复跳过list<map<x,x>>类型值意外退出问题

 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.


.cargo/config [paths] is broken

nightly-x86_64-unknown-linux-gnu
rustc 1.26.0-nightly (9cb18a92a 2018-03-02)
cargo 0.26.0-nightly (1d6dfea44 2018-01-26)

Cargo docs say:
# An array of paths to local repositories which are to be used as overrides for
# dependencies. For more information see the Specifying Dependencies guide.
paths = ["/path/to/override"]

.cargo/config contents:
[target.x86_64-unknown-linux-gnu]
paths = [
  "/media/workspace/qt_core",
  "/media/workspace/qt_gui",
  "/media/workspace/qt_widgets",
  "/media/workspace/qt_core_custom_events"
]

cargo build errors with:
error: expected a table, but found a array for paths in /home/snuk182/.cargo/config
Placing a table instead of array fixes the build error:
[target.x86_64-unknown-linux-gnu]
paths = {
  qt_core="/media/workspace/qt_core",
  qt_gui="/media/workspace/qt_gui",
  qt_widgets="/media/workspace/qt_widgets",
  qt_core_custom_events="/media/workspace/qt_core_custom_events"
}

but seems to have no effect on the build - the listed libraries are taken from crates.io, not from the listed paths. Neither single nor multiple path overrides work.

If paths are placed at the document root, without heading [target.x86_64-unknown-linux-gnu], everything works as intended.


ivi-controller: Fix the problem of assigning an address to a pointer

In function controller_screen_get, iviscrn should be checked for null before assigning it to a pointer.
If it is assigned before the check condition, the condition becomes meaningless.
Signed-off-by: Au Doan Ngoc<EMAIL_ADDRESS>

Reviewed-by: Tran Ba Khang<EMAIL_ADDRESS>


fix: cli relative path

:tada: This PR is included in version 1.7.0-stage.4 :tada:
The release is available on:

npm package (@stage dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Correct copyright year at footer

should be fixed after https://github.com/iotexproject/iotex-react-components/pull/194


An invalid response was received from the upstream server.

I use Kong 0.10.1.
It happens occasionally when in the first request.
And the second request is always normal.

@hongkang, can you provide a little bit more information. E.g. headersand bodies of first request vs. the second?

We're also getting intermittent invalid response was received from upstream server. Using FROM mashape/kong:0.10.0rc3.
I'll try to capture the kong logs next time this happens.

Reverting back to kong:0.9.9 seems to help.

Thanks, @amarjeet27 ; kong:0.9.9 does seem to help. I was able to capture the intermittent messages in error.log:
2017/04/16 22:54:04 [error] 94#0: *99116 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <IP_ADDRESS>, server: kong, request: "GET /api/v1/sites/58f28f767800007800441078/aci/domains?type=vmm HTTP/1.0", upstream: "http://<IP_ADDRESS>:9010/api/v1/sites/58f28f767800007800441078/aci/domains?type=vmm", host: "kong:8000", referrer: "http://localhost/schemas/edit/58f3f6008600009100c83066"
2017/04/16 22:54:04 [error] 94#0: *99116 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <IP_ADDRESS>, server: kong, request: "GET /api/v1/sites/58f28f767800007800441078/aci/domains?type=vmm HTTP/1.0", upstream: "http://<IP_ADDRESS>:9010/api/v1/sites/58f28f767800007800441078/aci/domains?type=vmm", host: "kong:8000", referrer: "http://localhost/schemas/edit/58f3f6008600009100c83066"
2017/04/16 22:54:26 [error] 94#0: *99212 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <IP_ADDRESS>, server: kong, request: "GET /api/v1/schemas HTTP/1.0", upstream: "http://<IP_ADDRESS>:9020/api/v1/schemas", host: "kong:8000", referrer: "http://localhost/schemas"
2017/04/16 23:01:32 [error] 95#0: *101074 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <IP_ADDRESS>, server: kong, request: "GET /api/v1/aci/sites/58f28f767800007800441078/nodes?type=leaf HTTP/1.0", upstream: "http://<IP_ADDRESS>:9010/api/v1/aci/sites/58f28f767800007800441078/nodes?type=leaf", host: "kong:8000", referrer: "http://localhost/schemas/edit/58f3f6008600009100c83066"
2017/04/16 23:03:34 [error] 95#0: *101598 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <IP_ADDRESS>, server: kong, request: "PUT /api/v1/schemas/58f3f6008600009100c83066 HTTP/1.0", upstream: "http://<IP_ADDRESS>:9020/api/v1/schemas/58f3f6008600009100c83066", host: "kong:8000", referrer: "http://localhost/schemas/edit/58f3f6008600009100c83066"
2017/04/16 23:23:14 [error] 95#0: *106684 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <IP_ADDRESS>, server: kong, request: "GET /api/v1/execute/schema/58f3f6008600009100c83066/template/template1 HTTP/1.1", upstream: "http://<IP_ADDRESS>:9030/api/v1/execute/schema/58f3f6008600009100c83066/template/template1", host: "localhost:8000"
2017/04/16 23:27:45 [error] 96#0: *107838 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <IP_ADDRESS>, server: kong, request: "PUT /api/v1/schemas/58f3f6008600009100c83066 HTTP/1.1", upstream: "http://<IP_ADDRESS>:9020/api/v1/schemas/58f3f6008600009100c83066", host: "localhost:8000"
2017/04/16 23:31:28 [error] 94#0: *108807 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: <IP_ADDRESS>, server: kong, request: "GET /api/v1/schemas HTTP/1.1", upstream: "http://<IP_ADDRESS>:9020/api/v1/schemas", host: "localhost:

The logs above only indicate that the upstream closed the connection before it finished sending data to the upstream.
BTW there are many people involved in this thread, and we will need some clear, concise detail to make sense of it all :)

@p0pr0ck5 I'll update to the latest version of Kong again to reproduce these errors, but what more logs would you like to see?

This log entry:
*108807 recv() failed (104: Connection reset by peer) while reading response header from upstream
Means that the connection was reset by the upstream, not by Kong. Are there any other notable entries in the error log? Any errors in the upstream nodes?

It also happens to me !
My log level is notice , there is not other log!

@bolv88 try downgrading to kong:0.9.9 to see if the issue goes away.

@saamalik any update based on the last response:

This log entry:
*108807 recv() failed (104: Connection reset by peer) while reading response header from upstream
Means that the connection was reset by the upstream, not by Kong. Are there any other notable entries in the error log? Any errors in the upstream nodes?

@p0pr0ck5 we upgraded to 0.10.3 and sadly still intermittently see the same problem. Like @hongkang mentioned, the failure is only seen on generally the first request after some idle-time. If I was to take a wild guess, I would say something to do with keep-alive which is enabled in the the 0.10.x series.
Backend servers are web playframework http servers. The request is not even initiated (nothing in the access logs of the backend server). Reverting back to 0.9.9 and the issue again is not reproducible.
Any other ideas how to debug?

Just for reference:
Kong 0.10.3 was deployed using docker.
Database: Postgres
Upstream services: Playframework (2.5.11) (in Docker Swarm)

Ok last point for reference. Playframework web server is netty based. I enabled the netty debug logs which shows all relevant information regarding the request-response (headers, body, response, etc).
Now in the happy paths, requests and responses are printed normally. To reproduce the Kong issue, just stay idle for ~10 min; and then trigger an API call. Everytime the first connection after a long bout of idle results in the "connection reset". And unfortunately, nothing is printed on the server side--zilch, almost as if the request never even made it here. Second request always goes through.

@saamalik thanks for the report back.
It sounds like your upstream is not respecting keepalive properly, and closing the connection without notifying downstream (Kong). What does tcpdump on the playframework hosts tell you when Kong sends  a request after a long idle period? My guess is the TCP connection is no longer held in an ESTABLISHED state upstream, which is something Kong cannot help with. And if it was never told to close the keepalive connection, it will assume the same TCP connection is usable, and not initiate a new handshake, meaning your upstream servers see packets for a connection they aren't tracking, and send back an RST.
So tl;dr, check your upstream keepalive timeout/network settings :)

Closing this as stale, following no response (and a thumbs-up from @saamalik :) ). If there are any further issues to report with Kong, please let us know. Thank you!

Sorry for the delay. I'll try to implement TCP SO_KEEPALIVE in Netty server
tomorrow.
On Jun 29, 2017 10:06 PM, "Robert"<EMAIL_ADDRESS>wrote:

Closing this as stale, following no response (and a thumbs-up from
@saamalik https://github.com/saamalik :) ). If there are any further
issues to report with Kong, please let us know. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Mashape/kong/issues/2360#issuecomment-312176016, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABY2LYkf0Wj289LwgEyXDEdrynNzBR0Lks5sJIJfgaJpZM4M4Vow
.


Combine the test discovery implementations for WASI and static Mach-O.

This PR reduces code duplication between the two supported platforms that do not use dynamic linking during test discovery.
Checklist:

[ ] Code and documentation should follow the style of the Style Guide.
[ ] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci test

@swift-ci test


Why we cannot use real data for calibrating quantization parameter instead?

If the target for generating fake data is to make the distribution to be same with the one from real data. Why we cannot directly collect the quantization parameter from the real data?

As the paper mentioned,  PSAQ-ViT can achieve better performance than Standard, which requires the real data, on all the aforementioned models, indicating that the generated images are even more effective than the real ones for parameter calibration. The main reason is that the sample generation is based on the prior information in the self-attention module, i.e., facilitating the distinction between foreground and background in images, and then when these samples are utilized to calibrate the quantization parameters, they in turn reinforce the functionality of the self-attention module, thus acting as positive feedback that can reduce the activation outliers to some extent and therefore improve the tolerance to parameter clipping


Caelumite veins can't be harvested sometimes

Not all Caelumite veins can harvested, and in some instances they're hard or too finicky to do so. Follow up on the MQ and mine the Caelumite veins, so far one of the veins at Piazzi VI-b - Science Facility from the MQ can't be harvested at all.
Clip of the issue: Caelumite veins not minnable
Game Version
<IP_ADDRESS>
New Game
No
Reproduction Steps
Aim at the Caelumite vein and try to harvest it, trying different angles help sometimes, but some of them won't work.
Attached a save for quick reproduction.
Save55_DBDBB2D9_4B68616E_010621_20230903181433_16_0_4.zip

So far there are 2 veins that can't be harvested, reloaded the save to be sure it's not a temporal glitch and can still reproduce.

Selecting the visual of the vein brings an FF FLOR record, and moving it slightly upwards with modpos z .05 ingame doesn't fix it, so I'm guessing the visual of the vein and the collision of it are not in the same thing. This will be trickier than expected to fix.
I'll keep looking for more of those while advancing the MQ.

This also happens randomly with procedurally generated resources of all kinds, anywhere. Sometimes, it is visible but cannot be interacted with, or is placed ever so slightly inside of whatever other object it's on that there's like...ONE pixel you can actually interact with. But good luck getting your cutter to actually hit that exact pixel.

I've had this issue since I first tried Starfield on Xbox gamepass, got so used to it I forgot it could be a bug.
I just use one elemental pull and ignore the rest.


Running list of general content updates that need transfer from IceSat-2 HW

https://github.com/ICESAT-2HackWeek/website2022/pull/91
CC: @scottyhq

https://github.com/ICESAT-2HackWeek/website2022/pull/92

closed by #97


Fix for Android

I tried implementing setting the mode from the config, but I had no way to test it. Imo it doesn't even compile.

The code should compile now.
However, while the mode seems to default to .confirmOnly, which is correct, I can't find if nRF Programmer is changing the eraseAppSettings to false. Also, pipelining seems to default to 1?


ironpython 2.7 : exposing a dynamic object to python unexpected behavior

If I try to expose an anonymous object to a python script through a hosted environment, I cannot access the members of the provided variable through python, it throws a MissingMemberException.

Would you like to add a simple project/sample, that makes your issue reproducable?

@simplicbe  Sure, working on it

This needs to be filed in the "main" repository, not ironpython3.


[wip] Support 3.10

TL;DR
Please replace this text with a description of what this PR accomplishes.
Type

[ ] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/lyft/flyte/issues/
Follow-up issue
NA
OR
https://github.com/lyft/flyte/issues/

Blocked by https://github.com/ray-project/ray/issues/19116. ray does not have a wheel for python 3.10 yet.

@eapolinario is it possible to skip one of the plugins so that we prevent plugins from
Blocking


Add a transaction type for sending an application-level message

This new transaction type would allow an address to send an arbitrary byte payload (e.g. a cleartext message, an encrypted message, a txid, a json object) to a recipient address, which could be the same as the sender. The payload would be application-level data, so it would have no effect on any Omni Layer objects. This mechanism would enable a general purpose messaging facility in Omni, within limits. The messages would not be subject to repudiation because they are on the blockchain.
The sender application would know how to produce the payload in an agreed upon form and the recipient application would know how to parse and interpret the incoming message.
Uses could include annotating prior transactions in a wallet, indicating future intentions to someone else, sharing arbitrary application-level data, etc. The payload could be encrypted for privacy or it could be in the clear for anyone to interpret.
The message could be intended for an application that has control over a particular address, targeted addresses (e.g. similar to Send to Owners), or for any application that is able to parse and use the message contents.
A variation on creating a new transaction type would be to add an application-level message payload field to existing (and future) Omni transaction types, so the message is an integral part of the "traditional" Omni transaction.

I'm trying to figure out byte-length minimums for the Subscribe tx where we can get chains of things and have off-chain data relate too it in the moderately decentralized applications enabled by other protocols. So I like the idea of enabling scattershot data as a panacea for that but I am concerned about our custodianship of the blockchain with data-bloat, generally everything is done in hashes rather than ASCII sized encoding, until 2017 we'll have very little space beyond 500 transactions a minute, and this is thinking of crunched down SegWit, single input tx's with 40-80 bytes of Op_Return.
So I think there would be political pushback on this from the rest of the Bitcoin dev community.
It would be better to crunch this into the allocations made available to us within other tx types.

@marv-engine: there is the option to send arbitrary data attached to a transaction with the RPC "omni_sendrawtx" and there is "omni_getpayload" to retrieve a payload.
A marker is attached, but other than that, it's up to the sender what data is sent. I don't see the need for a new transaction type to send arbitrary data, given it's not consensus critical and comes down to processing at an application layer.
Does this help you?

I hesitate to not be positive because I don't want people to stop coming forward with ideas, but in this case I'm kind of with @dexX7 in that I don't really see the value...

The payload would be application-level data, so it would have no effect on any Omni Layer objects.

If a transaction has no effect on the Omni Layer, it shouldn't be an Omni message imo.

This mechanism would enable a general purpose messaging facility in Omni, within limits

I'm against any kind of "general purpose" messaging (blockchain bloat) - the only thing I'd support is attaching a message to actual transactions that are already going to be put on-chain (eg add a note with a simple send) - @dexX7 & I have discussed this before but I think there are many ways to skin that proverbial cat.

but I am concerned about our custodianship of the blockchain with data-bloat

Agreed, there is no need to put application data on the blockchain in the vast majority of cases - a hash to verify off-chain data is true & unchanged would usually suffice.
...
Overall I do support the idea of adding messaging to the protocol, but I only support it in a general sense of allowing you to attach a message to a transaction that actually does something with Omni objects.  Messaging that has nothing to do with Omni objects (imo) is best left alone.

Thanks for the feedback. I like to spur discussion as well as learn some things, and I'm not offended by others' opinions.

there is the option to send arbitrary data attached to a transaction with the RPC "omni_sendrawtx" and there is "omni_getpayload" to retrieve a payload.

@dexX7 I wasn't aware of the payload capability. Does anyone use it? What are the constraints?
@zathras-crypto @patrickdugan I understand, and don't necessarily disagree with, your desire to keep blockchain data lean. My thought was to use one set of functionality to keep & access associated data in one place, rather than requiring new developer teams to create their own mechanisms to integrate blockchain data with off-chain data.
I'm good with the idea of "attach[ing] a message to a transaction that actually does something with Omni objects" as long as that message can be made readable only by intended consumers. Are you thinking of a new version of the transaction definitions that includes a message field? With what limits?
Note that certain transactions could have just a nominal effect on an Omni object and still include an arbitrary message - as long as the tx producer and intended consumers agree on the message format, contents and interpretation.


MWPW-144575: Modal-Iframe for apps-whats-included is broken for Desktop resolutions

This is a fix for recently merged changes, where the wrong CSS selector caused the .section height in commerce-frame modals to be 0 instead of 100%, which resulted in no content shown on desktop resolution.
Resolves: MWPW-144575
Test URLs:

Before: https://www.adobe.com/products/illustrator/campaign/pricing.html?mboxDisable=1&adobe_authoring_enabled=true#modal-see-whats-included
After: https://mwpw-144575-modal-section-height--milo--mirafedas.hlx.live/drafts/mirafedas/showdelayedmodalhere

Other test URLs

https://main--cc--adobecom.hlx.page/drafts/ilyas/checkout-links?martech=off&milolibs=mwpw-144575-modal-section-height--milo--mirafedas

Added high prio because this will fix an issue with some modals in production.


Allow certain response headers coming from AzurePipelinesCredential to be logged

These two response headers are useful for the service team to debug and diagnose issues, and hence it is requested that we do log them.

x-vss-e2eid
x-msedge-ref

We decided, other than logging them, to also add these header values to the exception message that is thrown, so they are always visible, even with logging disabled.
Given our logged headers are based on an allow list, currently these two headers are REDACTED.
https://github.com/Azure/azure-sdk-for-js/blob/9e8083e3fdae7cc0dfdb5b19c1f3f53631065e69/sdk/core/core-rest-pipeline/src/util/sanitizer.ts#L27-L70

See https://github.com/Azure/azure-sdk-for-cpp/pull/6001 for an example change from C++.


Fix typo

Fix typo on concept page

@Anorlondo448 Can you set the target branch to dev-1.17-ja.2 ?

/check-cla

@inductor Changed target branch.

@Anorlondo448 Please remove unnecessary changes.

@inductor Sorry. I understood the meaning of your point. Changed target branch again.

/lgtm
/approve


Toggle comments does not work for Chef Metadata file type

Describe the problem
When editing metadata.rb files, they are recognized as a Chef Metadata file type rather than Ruby.  However, the ability to toggle comments using the keyboard shortcut CTRL + / does not work in the Chef Metadata file type.
Software Version
VS Code: version 1.40.1
Chef Infra Extension: version 0.8.1
OS: Windows 10 (10.0.17763)
Replication Case

Open a file named metadata.rb.  Ensure that it is recognized as a Chef Metadata file type.
Highlight a portion of the file and use CTRL + / to attempt to toggle comments.  Notice comments are not toggled.
As a comparison, open a different Ruby file (for example, Policyfile.rb).  Perform the same action as step 2, but notice how comments are toggled on/off.

Update:  I was able to dig into the VSCode docs a bit and figure out a workaround.  Not sure this is the best solution though?
Workaround

Update package.json (in ~/.vscode/extensions/chef-software.chef-0.8.1) to include "configuration": "./chef_metadata_language.json" within the object for the chef_metadata language (under contributes > languages).
Created chef_metadata_language.json file in the same directory as the package file.  I kept it simple and just have it as:
{ "comments": { "lineComment": "#", "blockComment": "#" } }
Reloaded VSCode.

This is the documentation I referred to for this change: https://code.visualstudio.com/api/language-extensions/language-configuration-guide

@tas50 Could you have a look at this and see if it makes sense?

We've fixed this on master and it'll get shipped soon.


Created dockerfile for the project

I created the dockerfile from scratch #8
review pls @apurvjha123

please run locally before pr

Hi @Bhavya-55 were you able to run and resolve this locally?


Notification not received when app is closed.

Hello to all! First I want to thank you for this awesome module. It works better than ACS API and ArrowDB!
Second, I have a problem with a Android 6.0.0 device (Huawei P9) and:
Titanium SDK : 5.5.1
ti.goosh : 1.6.2
I send a push notification through FCM api:
$url = 'https://fcm.googleapis.com/fcm/send';
When the app is opened or in background, the notification are received as expected, but when I close the app (killed from multitasking window) and send a notification again, FCM return success: 1 (as expected) but the notification banner never appears in the phone.
Am I doing anything wrong? My app code is really easy, is the same as your example in the module :)
var TiGoosh = require('ti.goosh');
TiGoosh.registerForPushNotifications({
// The callback to invoke when a notification arrives.
callback: function(e) {
    //var data = JSON.parse(e.data || '');
    Ti.API.error(e);
},

// The callback invoked when you have the device token.
success: function(e) {
    // Send the e.deviceToken variable to your PUSH server
    Ti.API.error('Notifications: device token is ' + e.deviceToken);
},

// The callback invoked on some errors.
error: function(err) {
    Ti.API.error('Notifications: Retrieve device token failed', err);
}

});
Thanks again for your awesome job!
Pau.

Can you try upgrading both Titanium SDK to 6.0.0.GA and ti.goosh to version 2.0? We may have fixed the problem in this version. If it persists let us know and we'll look at it thoroughly

Hello progress44, thanks for your response.
I have updated my SDK to 6.0.1 and also the ti.goosh library to the 2.0.0. The same problem happens.
Just a note, I have installed on my phone the Google Play Services 10.0.84 but, every time I compile the app with ti.goosh, i read the following error on the console:
[ERROR] :  GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
This may be related to the main issue?
Also, when I use other code (Ti.cloudpush ... ) when i close the app and send a push notification throught ACS API, the notification is not received but i get the next message in the console:
[WARN] : W/GCM-DMM (22054): broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=d2app.idisc.es (has extras) }
I have also, with ti.cloudpush, receive the "GooglePlayServicesUtil:  The Google Play services resources were not found..."
I do not receive this warning in ti.goosh code but I think that the problem is the same.
This does not happens with all devices, but in some  yes. A device which this behaviour happens is a Huawei P9 (marshmallow 6.0.0), a device which does not happens is a BQ Aquaris E5 (Android 5.0.0)
Anyone can help me to solve it? Thanks!

I'll work on the module next week and I'll test this behaviour although I'm guessing it may be a permissions limit on the OS side. Try checking the settings and see if there are any particular permissions you need to enable for the app.

Right now I have tested the same code, same SDK (6.0.0) same ti.goosh version (2.0.0) in a Samsung Galaxy S7 Edge and everything works as expected. The push notification is received when the app is closed, opened or in the background.
But I have also received the error:  GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
Like the other device Huawei P9.
Thanks progress44 for your quick response and awesome job. If you need more info, please tell me and I will send you as many info you need. Thanks!

You can ignore the error message GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. It doesn't necessarily mean they're not found :)

For the record, this is the config I can change in my phone related to push notifications for each app "FCM" app is this app.
Best Regards!

Thanks! We'll look into it.

Hello Progress44, late yesterday my customer send a example list of a devices which didn't receive a push notification. Most of the devices are Huawei. I google it and I found several articles with this error.
Huawei has a option called "Protected Apps". If an app is not a protected app, when the app is closed, Huawei closes the listener for this app and the notification is rejected by the phone. So, when i put my app to a protected app, the push notification was received even the app is closed.

@argum Thanks for letting us know of this. It's really helpful to us as well. In the repo you can find out how to make it work with ti.map as well.
Ani


Afore Inverter

My Serial number starts with 27. I manage to connect to my Afore Inverter using the definition for Afore inverters. But there is no menu item on the inverter to change to modbus like it suggests in the definition. All values are wrong that I receive.
Is there anything I can do to make the connection working.

What afore inverter do you have? And what version of solarman are you using?

My inverter is bnt005ktl and solarman version is 1.4.3
I have been able to connect directly by modbus rtu also but i recieve the same wrong values. I found in the inverter to set communication port 2 to modbus but that didnt help. What menu changes rs485 to modbus?


PhantomJs 2.1.1- Unable to Switch to Iframe with executeInSelenium function (as there is no name for my iframe) and this is resulting my test case fail when I ran using phantom #3848

I have a vimeo video frame on my webpage. Trying to switch to Iframe in PhantomJs 2.1.1 which is failing to access the elements inside it, whereas I am able get this TC working in Chrome and Firefox with the same code.
As per ticket #3848, codeception team confirmed that it's not an issue from Codeception
$this->executeInSelenium(function (Facebook\WebDriver\Remote\RemoteWebDriver $webDriver)use ($video_iframe, $locatorType){
$webDriver->switchTo()->frame($webDriver->findElement(WebDriverBy::$locatorType($video_iframe)));
});

$this->click(".hd"); // .hd is the css locator for video quality adjuster button on play progress bar.

Console Ouput:

 CSS or XPath element with '.hd' was not found

1) Landing.feature: i am on /landing
 Test  src/xxxxxxx/Tests\acceptance\Landing.feature:i am on /landing
 Step  Move mouse over ".hd"
 Fail  CSS or XPath element with '.hd' was not found.

Scenario Steps:

 22. $I->moveMouseOver(".hd")
 21. $I->getLocator("common","vimeo_playing_button")
 20. $I->getLocator("common","vimeo_video_quality_button")
 19. $I->executeInSelenium("Closure") // here we have the switch to ifram code

# paste output here

I get locator "landing","landing_page_video"
I get test data "landing_page_te...","landing_video_p..."
I get locator "landing","landing_page_video"
I click ".evy_lndg_video>iframe"
I execute in selenium "Closure"
I get locator "landing","landing_page_video"
I execute in selenium "Closure"
I get locator "common","vimeo_video_quality_button"
I get locator "common","vimeo_playing_button"
I move mouse over ".hd"
[Selenium browser Logs]  EMPTY
FAIL
Fail  CSS or XPath element with '.hd' was not found.
Details

Codeception version: 2.2.1
PHP Version:7.0.7
PhantomJs Version: 2.1.1

modules:
    enabled:
        - WebDriver

config:
        WebDriver:
            url: 'https://xxx.yyyyy.com'
            browser: phantomjs
            wait: 2
            window_size: maximize
            clear_cookies: false
            capabilities:
                  unexpectedAlertBehaviour: 'accept'
                  handlesAlerts: true

I'm also having same issue and waiting for its solution.
seem had fixed in old version:
https://github.com/detro/ghostdriver/commit/0c171bb8854a065a435c993aa7bc13416cd956e1


Update scanner code

@eduardocorrearaujo, the scanner.py module here in this project, is what prepares the data for the Epi-scanner webapp.
Since we have already made some improvements to the code, in our dengue-sc repo, we need to update this version so that The web app is running our latest version.

@fccoelho, we need to proceed with the refactoring in the epi-scanner repository to remove duplicated code, such as episcanner.py, to prevent potential confusion :):
https://github.com/AlertaDengue/epi-scanner/blob/main/epi_scanner/model/scanner.py


Change Password UI issues

Rancher versions: 2.0 master 1/29
Results:

[x] Current Password is a required field so add * to the field

[ ] No password in field error message should say "Current Password required" and should be left justified.

[ ] Incorrect password error message should be "Invalid Current Password" (Capitalize the first letter of each word) and should be left justified

[x] Random generator field and copy to clipboard button should be left justified or something?

[x] I'm not a fan of random generator being default or the flippy thing back and forth when I select the radio buttons.

Copied the remaining open issues into #12752


storm: file protocol sitemover using webdav etags

a bit hacky, but confirmed working on QMUL and INFN-T1

I have seen worse hacks believe me!! Thanks a lot!


add note of tools package requirement for optimize window

This change fixes #7897 by adding "Please note: The Mixed Reality Toolkit Tools package is required to use the Optimize Window." to the debug log messages related to the optimize window.
It also changes the warning about no spatializer to a simple message and fixes: #7949

/azp run

/azp run

/azp run

/azp run

/azp run


pr response notebook

This notebook is really is a "notebook" for the code that will go into an 8Knot visualization. Thought it might be easier to review in this format first for the pandas and then ill open another pr in 8knot with the visualization

@JamesKunstle Updated the notebook from your comments and updated the pipfile. Lets move the discussion for the final point you made to the 8knot integration pr that I will open in the next day or two. Good to merge on my side

@cdolfi I forgot we were using pipenv for this repo. I have some memory of pipenv being deprecated or having some other problem that made us move away. idk, something I'll create an issue for.


TypeError: Cannot read properties of undefined (reading 'call')

I have the problem when i try to share a component from monorepo packages with another repo.

Monorepo code with HomePage component from ui package

Ui Simple component

Destination repo
"@module-federation/nextjs-mf": "^7.0.8",

You can try ^8 prerelease, its resolved several of these issues.


add libzip4 for macosx

You sure this wrapper supports libzip4?

yes, atleast for walkFiles and extract stuffs

This took way too long to merge :)


[Storage] Increment versions after STG90 GA Release v2

Redone for post-fix

API change check
API changes are not detected in this pull request.


Revert "Add RBIs for some URI methods"

Reverts sorbet/sorbet#2154
The signature for URI.encode_www_form_component seems too restrictive, as the method accepts any argument with a to_s method. Internally this has manifested as rejecting a lot of cases with T.nilable strings. Given that the runtime is OK with this, I'm not entirely sure what the right sig should be.
irb(main):003:0> URI.encode_www_form_component(nil)
=> ""

cc @Morriar

I believe the problem is only with the signature of URI.encode_www_form_component, the other two methods look fine with the signatures specified.
As for URI.encode_www_form_component, I believe the correct way to type it is as str: Object seen as str is any value that you can call to_s on.

Pushed another version using Object instead of String here: #2235


File system music provider - can't create play list since it's mounted read-only

What version of Music Assistant has the issue?
2022.8.2
The problem
I've got a file system mounted read-only via NFS and available in the Home Assistant container as /media/music.  I cannot create any play lists as it's attempted to be created at the root of the (read-only) file system.
I searched to see if this was a known issue, but didn't find anything; sorry if this is already a known issue?
How to reproduce
I've only a single "Music Provider", a filesystem provider, configured as /media/music in the configuration panel for music assistant.  That directory is mounted read-only.
Tried to add a track to a new playlist, named foo and it fails.  Errors in log follows.
Relevant log output
2022-08-12 00:14:47.113 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139966667869200] Error handling message: Unknown error (unknown_error)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
    await func(hass, connection, msg)
  File "/config/custom_components/mass/websockets.py", line 114, in async_get_mass_func
    await orig_func(hass, connection, msg, mass)
  File "/config/custom_components/mass/websockets.py", line 645, in websocket_playlist_create
    new_playlist = await mass.music.playlists.create(msg[NAME], msg.get(PROVIDER_ID))
  File "/usr/local/lib/python3.10/site-packages/music_assistant/controllers/media/playlists.py", line 97, in create
    return await provider.create_playlist(name)
  File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem/filesystem.py", line 454, in create_playlist
    async with self.open_file(filename, "w") as _file:
  File "/usr/local/lib/python3.10/contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem/filesystem.py", line 795, in open_file
    async with aiofiles.open(file_path, mode) as _file:
  File "/usr/local/lib/python3.10/site-packages/aiofiles/base.py", line 78, in __aenter__
    self._obj = await self._coro
  File "/usr/local/lib/python3.10/site-packages/aiofiles/threadpool/__init__.py", line 80, in _open
    f = yield from loop.run_in_executor(executor, cb)
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
OSError: [Errno 30] Read-only file system: '/media/music/foo.m3u'

More about the environment inside the container:
louie@macmini ~/hasstest/config % docker exec -it hasstest df /media/music
Filesystem           1K-blocks      Used Available Use% Mounted on
<IP_ADDRESS>:/mnt/z3/media/music
<PHONE_NUMBER>4 114978688<PHONE_NUMBER>6   1% /media/music
louie@macmini ~/hasstest/config %

Home Assistant instance is a non-production, testing instance and launched with this docker-compose file:
version: "3.3"
services:
  hass:
    container_name: hasstest
    image: "homeassistant/home-assistant:2022.8.2"
    restart: "always"
    network_mode: "host"
    environment:
      - "TZ=America/New_York"
    volumes:
      - "/home/louie/hasstest/config:/config"
      - "/mnt/music:/media/music:ro"

Additional information
I had imagined that the playlist was stored alongside (or inside) the music assistant database in the read/write Home Assistant configuration directory at /config or a subdirectory of that.  I'd rather not expost that file system as read-write as it's logically "owned" by another application running on another host.
What version of Home Assistant Core are your running
2022.8.3
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Linux

This doesn’t sound like an issue it sounds like an enhancement?

Bug or a feature (enhancement).. not sure.  It was a surprising behavior to me; maybe I thought that playlists spanned multiple different sources and thus would be independent of each of them and their individual storage means.  I'm coming to this with the ignorance of a brand new user and probably ill-informed expectations, or a model of how this works that I just imagined in my head vs. the reality of how it's actually built.
Regardless, I'll see if I can play some games with how it's mounted and have a read-write directory available "above" the actual mount point.  Thanks for taking a look!  This is a really nice feature to have available in Home Assistant.

@marcelveldt is back now so will see what he says....

For now, playlists are stored on disk (or on a streaming provider ofc). I've abused the filesystem playlists to store "multi provider" playlists as m3u files as that was a real quick win to fix for now and its also portable as in it can be moved to a new MA instance, survive a MA db error etc.
For now I'm going to keep it this way. If there's any interest in a "MA universal playlist format stored in the db or file location other than musicdir", please create a feature request. Thanks!

Thanks for the follow-up.  I think I can screw around with the mount points to have a R/W directory somewhere with the music mounted underneath.   I suppose the actual "bug" is assuming that the music is on some storage that's writable, rather than than some abstract read-only repository owned by some other software.  Perhaps that's more of an architectural assumption on the nature of the music providers and something to ponder.  Related might be per-user playlists, etc.