Essential Oil Wizardry

Submission Type
New listing
Merchant Listing Code
---BEGIN CODE---
JTVCJTIyRmdXSGxlaXMlMjIlMkMlMjJFc3NlbnRpYWwlMjBPaWwlMjBXaXphcmRyeSUyMiUyQyUyMlRoZSUyMGZpbmVzdCUyMHF1YWxpdHklMjBvcmdhbmljJTIwJTI2JTIzeDJGJTNCJTIwd2lsZCUyMGNyYWZ0ZWQlMjBFc3NlbnRpYWwlMjBPaWxzJTJDJTIwV2l6YXJkJTIwQWxjaGVteSUyMEJsZW5kcyUyQyUyMENlcmVtb25pYWwlMjBhbmQlMjBUaGVyYXBldXRpYyUyME9pbHMlMkMlMjBVbHRyYXNvbmljJTIwVGluY3R1cmVzJTIwJTI2YW1wJTNCJTIwQm90YW5pY2FsJTIwUGVyZnVtZXMuJTIyJTJDJTIySU1HXzIwMjQwNjA2XzEwMjQ0MF85MjQucG5nJTIyJTJDJTIyaHR0cHMlM0ElMkYlMkZ3d3cuZXNzZW50aWFsb2lsd2l6YXJkcnkuY29tJTIyJTJDJTVCJTIyMjclMjIlMkMlMjIzMiUyMiUyQyUyMjM1JTIyJTJDJTIyNDYlMjIlNUQlNUQ=
---END CODE---
Merchant Listing Image

Comments for listing reviewer (optional)
No response

Thanks so much!

Ahoi @DOCTANICK
thank you for being on board. ⚓
Your listing has been approved and shared on the following platforms.
https://x.com/PirateARRRmada/status/1808511293386604610
https://t.me/c/1452389363/3664
Best RegARRRds 🏴☠

thank you much for your assistance with this!

On Jul 3, 2024, at 8:43 AM, ARRRmada @.***> wrote:
Ahoi @DOCTANICK https://github.com/DOCTANICK
thank you for being on board. ⚓
Your listing has been approved and shared on the following platforms.
https://x.com/PirateARRRmada/status/1808511293386604610
https://t.me/c/1452389363/3664
Best RegARRRds 🏴☠
—
Reply to this email directly, view it on GitHub https://github.com/ARRRmada/ARRRmada.com/issues/41#issuecomment-2206358710, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJAAT6UNAY2326DWICTIQQTZKQEY7AVCNFSM6AAAAABI5GFUWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGM2TQNZRGA.
You are receiving this because you were mentioned.


Compose an intro

Make an intro (introduction), where in 2-4 sentences describe what you do, what you like to do, what you want to do better, what is important to do, why you are here.

I solved this problem


Fixed typo in comment in ModelTest

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
-

Thanks!


dynamically move aside tiles when placing tiles on the same place

two features would be very helpful:

When I drop a tile and it overlaps another one - everything moves dynamically to make space for the dropped tile.
Make the whole grid fluid according to the browser window side.

See example here: https://strml.github.io/react-grid-layout/examples/0-showcase.html

@ramigg I am slowly trying to get to that direction. The thing is I need to totally rework the whole behavior. To be honest, I have already implemented such a behavior in one of my former grid component, and it was hell to maintain. I need to work on a new approach to bring that features out. I hope this will come in the long run. Be patient or propose some PR 😉


Chunkwise iteration over arrays.

Closes #398.
Thanks to @alimanfoo for giving me the formula for unit tests! The only tricky thing is the zero-d case, which I've mirrored numpy's behaviour for.
TODO:

[ ] Add unit tests and/or doctests in docstrings
[ ] Add docstrings and API docs for any new/modified user-facing classes and functions
[ ] New/modified features documented in docs/tutorial.rst
[ ] Changes documented in docs/release.rst
[ ] Docs build locally (e.g., run tox -e docs)
[ ] AppVeyor and Travis CI passes
[ ] Test coverage is 100% (Coveralls passes)

Thanks @alimanfoo, I've implemented those. Love the changelog format btw, I think I'll be copying that!


Key Vault Secrets Error

When I'm applying key vault secrets (based off the docs example here I'm getting the below error:
W0304 14:14:08.310104       1 appconfigurationprovider_controller.go:261] Fail to update the target ConfigMap or Secret of AzureAppConfigurationProvider 'appconfigurationprovider-example' in 'testing' namespace: Secret "secret-created-by-appconfig-provider" is invalid: data[TestApp:Settings:KeyVaultMessage]: Invalid value: "TestApp:Settings:KeyVaultMessage": a valid config key must consist of alphanumeric characters, '-', '_' or '.' (e.g. 'key.name',  or 'KEY_NAME',  or 'key-name', regex used for validation is '[-._a-zA-Z0-9]+')

Here is my JSON file if it helps
{
  "Settings:KeyVaultMessage": {"uri":"https://<redacted>.vault.azure.net/secrets/Message"}
}

Is it worth mentioning this in the provider docs? Normal key/values are working fine btw
Thanks

Do you think it's worth adding something to the docs about this, with suggested examples?

I was thinking we probably could have a TSG for the Kubernetes Provider, list the frequently encountered error messages, explain more in detail, and give guides to address them.

We should try to have error messages self-explanatory as much as possble. I hope most users don't even need to look for documentation. For example, the message in this current one can be improved. But I agree to include those trickier ones that need more explanation in the troubleshooting document.
https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-azure-kubernetes-service#troubleshooting

That would be good, thanks. I've been following the docs mostly up to this point, but it's clear some things work a bit differently when using the K8s provider

For some bizarre reason this looks to be working today, with my JSON file above

I'll close this issue now, thanks


Release 2021/04

Added

Python bindings with MPI
new gate specialization for OpenMP performance improvement
distributed implementation of SWAP-type gates
class Permutation and PermuteQubits method to manipulate the representation
of quantum states and possibly reduce the overhead from MPI communication
class ChiMatrix to represent quantum channels and method ApplyChannel
to simulate 1- and 2-qubit channels.
all C++ code belongs to namespace iqs
extra examples and tutorials
readthedocs for easy-to-navigate documentation

Changed

CMake build is now modular

Removed
Fixed

when compiling with GCC, the option -O3 is used for performance improvement
several minor bugs

There is the question whether to squash the commits for the merge.
PRO: clarity of release and tracking
CON: impossibility to attribute the contributions to the authors
It seems to me that the common approach for open-source projects is to NOT squash the commits.


Storages: Don't merge SegmentReadTasks when data sharing is disabled

What problem does this PR solve?
Issue Number: ref #8564
Problem Summary:

In PR #8567, we disable data sharing when dt_max_sharing_column_bytes_for_all <= 0.
However, SegmentReadTaskScheduler will still try to merge SegmentReadTask when dt_max_sharing_column_bytes_for_all <= 0, although these SegmentReadTasks would not sharing data.

What is changed and how it works?

Don't merge SegmentReadTasks when data sharing is disabled.

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-unit-test


Replace ScrollView and Animated with gesturehandler and reanimated

Platforms affected
iOS, Android
What does this PR do?
This PR is part of #632
replaces Animated, Easing, ScrollView, and FlatList provided by react-native with react-native-gesture-handler and react-native-reanimated
What testing has been done on this change?
Ran example App on iOS and Android Simulators
Tested features checklist

[x] Default setup (example)
[x] Carousels with and without momentum enabled (prop enableMomentum)
[ ] Vertical carousels (prop vertical)
[x] Slide alignment (prop activeSlideAlignment)
[x] Autoplay (prop autoplay)
[x] Loop mode (prop loop)
[ ] ScrollView/FlatList carousels (prop useScrollView)
[ ] Callback methods
[ ] ParallaxImage component
[x] Pagination component
[ ] Layouts and custom interpolations

Hi @Naturalclar,
Thanks for taking the first step in the right direction for this plugin 👍
Do you mind expanding on the benefits the PR provides? Unless I'm mistaken, there will be no visible effect for the users at this point, am I right?
And please don't forget to ping me when you create a PR, otherwise I will only stumble upon it randomly like I just did ;-)

Agree! For example, some props for Pagination component (like animatedTension) aren't available for use yet.

Is there any benefit in the migration?

yes. reanimated uses declarative api, rather than .start() and .stop().So all animated values will be declared and manipulated on ui thread and doesn't depend on any js operation.
In this video Varun explains why reanimated is smoother

@radko93  are you thinking about migrating to reanimated ?

@vamshi9666 not at the moment. It might not be beneficial (look at the link I've posted)

I did. I even tried to repro his hypothesis. To be honest ,i didn't see any lags or framedrops.


[Functional Tests] Asset Mutability Test: failed to load UVGrid material.

Multiple users in the scene failed to load the UV grid texture. Error in Altspace log:
[MRE-SDK] Error: Asset 7db35667-ca47-67a6-6a49-8602585708d2 is not patchable, or not of the right type!
(This is probably due to attempting to animate the non-loaded texture.)
After restarting the test the texture loaded for everyone.

Fixed in #304


gollvm: *** struct epoll_event data.fd offset unknown , while compiling on Windows 10 (64bit)

I will try to be short: I got the following, while running CMake, on "x64 Native Tools Command Prompt for VS 2019":

cmake -DCMAKE_INSTALL_PREFIX='D:' -DCMAKE_BUILD_TYPE=Release -DGOLLVM_DEFAULT_LINKER=link -G Ninja ../llvm-project/llvm

-- Looking for alloca - not found
-- Looking for memcpy
-- Looking for memcpy - not found
-- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4
-- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 - Failed
-- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8
-- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 - Failed
-- Performing Test HAVE_AS_X86_AES
-- Performing Test HAVE_AS_X86_AES - Failed
CMake Error at tools/gollvm/cmake/modules/AutoGenGo.cmake:386 (message):
***** struct epoll_event data.fd offset unknown**
Call Stack (most recent call first):
tools/gollvm/libgo/CMakeLists.txt:323 (mkepoll)
I was tracking down to these lines - it could be related to one them:
https://go.googlesource.com/gollvm/+/e5452d9188dade7d731f5c4b5b88d308d3383da6/cmake/modules/AutoGenGo.cmake#337

https://go.googlesource.com/gollvm/+/e5452d9188dade7d731f5c4b5b88d308d3383da6/cmake/modules/AutoGenGo.cmake#347
Ivan

Currently gollvm does not support Windows, so it is expected not to work. If you want to work on it, that is great. Otherwise there is no need to file a bug report, as it is technically not a bug. Thanks.


[] debug lib has wrong name

Host Environment

OS: Windows
Compiler: v141

To Reproduce
Steps to reproduce the behavior:
./vcpkg install libgeotiff
The debug library is named installed\x64-windows\debug\lib\geotiff_d_i.lib but the find_package logic (from the toolchain file?) does not include the _d postfix.

If I remember correctly GeoTIFF exports targets. So if you would use the targets it will work correctly.
If you have a dependency which ships its own FindGeoTIFF just delete that file.
Hmm have to make a PR for liblas to delete that file.

You are right. I am not sure what happened before, but I double-checked my current build and the right name is used for the debug geotiff library. Sorry for the false alarm. Thanks for your help!


Multicert http listener

what

Adding SNI support

why

variable was added but the resource was missing

/rebuild-readme

/test all

/test all

/test all

/terraform-fmt

/test all

LGTM @jamengual


Fix ARM32 instructions with missing conditions

@clover2123 this is a simple fix, what do you think about it?

Is it possible to verify this patch?
For example, adding some TCs for this?

I was thinking about that. Turn conditional to non-conditional instruction depends on flags, and "controlling" that requires fine details, which might change in the future, making the test pointless. Regardless, I can make tests for this if you prefer it.

Thumb2 instruction set is superior compared to ARM32 in nearly all aspects, but the current CI uses the old instruction set, so I thought that is important. At least it was in the past, because there were issues in the CI which I couldn't reproduce until I found out that the CI uses the old instruction set.

Maybe it's better to support the recent arm versions only because nowadays, aarch64 is commonly used.
Do you have any suggetions about this?

We have an ARM64 CI, and I agree that is the most important target. We also support Thumb2 and 32 bit instruction sets as well. I have no preference here, please decide which targets needs to be supported.

Note: if we support the Thumb2 or the 32 bit instruction set, supporting the other is an easy task, since they are operating in the same way.


Daterangepicker add cancel method

hi @Nayjest  i've made a little modification to the datarange picker adding the
possibility to reset the values. ( I hope it can be considered an enhancement)
even it is not in your intention to use this method maybe can be useful as an example fot those who wants to create their own views
#https://github.com/wdog/Grids/commit/d54702390b45439384ca6bd696b7d9cf5bc9d1eb

Hi!
Looks gool, please create pull-request, I will merge it.

done! It's my first pull request

My congratulations =)
I will examine it now.


Unclear when Orchestrator Plugin should use single-container Sonata Flow vs. entire Sonata Flow K8s Operator / Knative / OpenShift ecosystem

What do you want to improve?
Need clarification on when to use "dev mode" deployment of a single-container SonataFlow vs. the Orchestrator Helm chart/operator to support the Orchestrator plugin.  Are there certain features/use cases that are only supported by the more heavyweight operator?
What does the current documentation state?
The Orchestrator plugin is configured by default ("dev mode") to create a single docker container as the backstage-internal-sonataflow service to support Backstage calls for Orchestrator workflows.
When considering a production use of the Orchestrator plugin, the documentation steers one to much more complex deployment of OpenShift, and the Orchestrator Helm chart which deploys RHDH (Red Hat Developer Hub) Backstage, OpenShift Serverless Logic Operator (with Data-Index and Job Service), OpenShift Serverless Operator (Knative Eventing and Knative Serving).
What would you like to be added/updated in the documentation?
Examples of when a single-container SonataFlow should be used vs. when the full SonataFlow Orchestrator operator should be used

@masayag

@BillKlineVT Could you please review the content at this blog post to see if it contains the information you need?

The blog post looks great!  Thank you for taking the time to lay out the differences!


TdApi.GetChat behavior

Hello @levlam
I noticed that TdApi.GetChat request returns the 400 Exception when I use the correct chatId.
I send such a request client.send(new TdApi.GetChat(chatId), defaultHandler); to get a chat by id (chatId is correct and exists) and it returns this exception:
Error {
  code = 400
  message = "Chat not found"
}

But when I send TdApi.SearchPublicChat request to make a search by username (the chatId owns this username) it works well. So after that, I send the same request to find a channel by chatId, and it returns chat information.
I can describe this issue easier:

client.send(new TdApi.GetChat(chatId), defaultHandler); - error
client.send(new TdApi.SearchPublicChat(username), defaultHandler); - get result
client.send(new TdApi.GetChat(chatId), defaultHandler); - works well

Or maybe it's expected behavior because I see it in TdApi.GetChat description.

Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.
Maybe we should find a chat by name before making a search by id to upload the chat in the cache?

This is expected behavior. Before requesting a chat by id the TdLib must know about this chat in the current session (link).


When background is transparent, highlighted text not inverted

In ZSH when you tab complete, you can tab through options. When you set xterms background to transparent(say you are on a dark background) the text color does not get inverted correctly on the v3 branch.  Changing the foreground, cursor, or selection colors did not fix the issue.
Repro steps:

Set xterms theme background to transparent
jump into zsh
tab complete a command

If that doesn't really make sense I've attached a gif to help to show what I'm talking about.

Transparent is no longer a valid background color. This is related to https://github.com/sourcelair/xterm.js/issues/936, previously black was just used as the default background color which breaks when the background is not black.
Did you call this to get into this state?
var term = new Terminal({
  theme: {
    background: 'transparent'
  }
});

@Tyriar Yes, that is what I called to get into that state.

Changing the background to 'none', yields the desired results and inverts the text color correctly. Closing.


Add classes to end and start date in range mode

This would be handy so that I can style the start and end dates differently from the rest of the range.

Start end end of what?

Like this:

Although if the range crossed multiple calendars/months the last class should be on the very last instance of the range.

It is already possible with current set of events and callbacks PickMeUp provides to the developer: https://jsfiddle.net/rnnrewwc/
Yes, it is a bit of code, but there are more use cases and I'd like to enable people to achieve them without editing PickMeUp's source code rather than implementing everything in the core.

After doing this if pickmeup('.date').clear(); use to clear then its show this error:
index.html:50 Uncaught TypeError: Cannot read property 'valueOf' of undefined
at Object.render (index.html:50)
at pickmeup.min.js:489
at HTMLInputElement.fill (pickmeup.min.js:524)
at HTMLInputElement.clear (pickmeup.min.js:1027)
at :1:20

I have no idea why it happens without any demo


implmentation of Count attendees bytesttype ,no record found handling and starred candidate filtering

Fixed Issues
#23717
Files Changed
test-report.html
test-report.component.ts
Checks

[x] Naming Conventions
[x] Server side code comments (proper English, grammar and no spelling mistakes)
[x] Client side code comments (proper English, grammar and no spelling mistakes)
[x] Unused variables, methods, blank spaces and name spaces.
[x] Optimal Code and code formatting
[x] Commit History is proper, no merge is done.
[x] Commit/pull request messages should be proper to justify your feature
[x] All test cases are executed provided by tester.

Known Issues
N/A
Comments
N/A

This change is

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 test-report.html#L12: Replace this  tag by .


wayland-pipewire-idle-inhibit: 0.5.1 -> 0.5.2

Description of changes
https://github.com/rafaelrc7/wayland-pipewire-idle-inhibit/releases/tag/v0.5.2

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 342428 run on x86_64-linux 1

1 package built:

wayland-pipewire-idle-inhibit


Console.ReadKey() Error

Hi, I'm following the steps as they are but i kept getting the following error :
Unhandled Exception: System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.
at System.ConsolePal.ReadKey(Boolean intercept)
at System.Console.ReadKey()
at BasicSendReceiveQuickStart.Program.MainAsync(String ServiceBusConnectionString, String QueueName) in C:\Users\SMQK3813\source\repos\azure-service-bus\samples\DotNet\GettingStarted\BasicSendReceiveQuickStart\BasicSendReceiveQuickStart\Program.cs:line 57
at BasicSendReceiveQuickStart.Program.Main(String[] args) in C:\Users\SMQK3813\source\repos\azure-service-bus\samples\DotNet\GettingStarted\BasicSendReceiveQuickStart\BasicSendReceiveQuickStart\Program.cs:line 34
So I changed the "Console.ReadKey()" in the code to "Console.Read()" and now it works as expected.
Is there a simple explanation for this?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 47fbe533-9b56-de1e-0bf0-b5acc091541b
Version Independent ID: 146c649d-e037-b3f0-0536-743a63fb1e3f
Content: Quickstart - Use the Azure portal to create a Service Bus queue
Content Source: articles/service-bus-messaging/service-bus-quickstart-portal.md
Service: service-bus-messaging
GitHub Login: @spelluru
Microsoft Alias: spelluru

Hello @YaraZakaria Thank you for your feedback! We will review and update as appropriate.

@YaraZakaria I believe Console.ReadKey specifically looks for a key press by the user which will not work when there is no interactive console.
For example, when using input redirection or in a CI job.
On the other hand, Console.Read and Console.ReadLine just obtain the next character / set of characters from the input stream instead, which could be either input from an interactive console or stream redirected to it.

@PramodValavala-MSFT So how was I supposed to make it work without changing the code and by using the  Console.ReadKey as supposed?

@YaraZakaria Could you share details on the environment where you are running this code like the IDE, OS, etc.

@PramodValavala-MSFT I'm running this on my VM having Windows Server 2016 Standard and Visual Studio Entreprise 2019. And the commands in git bash command.

@YaraZakaria There seems to be a couple of inconsistencies when running interactive windows programs that use native windows API in mintty (powers git-bash).
If you are running the dotnet command in CMD or PowerShell, you shouldn't see this problem.
For git-bash, you will have to run to run the dotnet command prefixed with winpty
winpty dotnet BasicSendReceiveQuickStart.dll -ConnectionString "myConnectionString" -QueueName "myQueueName"

@PramodValavala-MSFT  I tried with winpty and it works as expected.
Thank you

@YaraZakaria Glad we could help.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi @YaraZakaria , @PramodValavala-MSFT ,
I encounter the same problem, but I don't know how to use winpty on Azure environment. Is there a tutorial or article about how to use winpty on Azure.

Hi @PramodValavala-MSFT ,

If you are running the dotnet command in CMD or PowerShell, you shouldn't see this problem.

We encounter the problem in powershell
2022-03-23T10:03:41.3188553Z Unhandled Exception: System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
2022-03-23T10:03:41.3189560Z    at System.Console.ReadKey(Boolean intercept)
2022-03-23T10:03:41.3190532Z    at UK.Connect.Tool.CopyDll.Program.Main(String[] args) in D:\a\1\s\UK.Connect\tool\UK.Connect.Tool.CopyDll\Program.cs:line 46
2022-03-23T10:03:43.5270171Z ##[error]PowerShell exited with code '1'.
2022-03-23T10:03:43.5773096Z ##[section]Finishing: PowerShell


Add some more phoenix mix commands

I've added some other commands that i find useful.

Thank you @Tankard :)


Update URL for ARK

AMD has changed URLs for ASK/ARK certificates (and other developer resources). This PR updates ASK/ARK certificates URL for the Milan.

Closing due to lack of CLA. I'll fix this.


Add reference to VSCode Cucumber Extension

Hi @gasparnagy - could you add this please?

polite bump @gasparnagy


Renamed gookie to iecook

Also changed description and removed some tags
https://github.com/thisago/iecook

Action needs to be re-runned, the repo was in wrong name when I pushed..


Auto-detect rotation

Currently, when you play a horizontal video the player starts in landscape mode and then the player starts sensing that the phone is hold upright, starting the rotate animation each time you open a new video.
I guess you could fix this in two ways:

Read the video metadata before opening the player and then starting out in the video's rotation

Use information from the gyroscope to set the default orientation, like many apps do.

Currently, when you play a horizontal video the player starts in landscape mode

Strange, I'm not experiencing this. Every video starts in portrait mode if I'm holding the phone upright. I'm on version 0.111 (latest build as of 5th May, 2022).

I am still on 0.104, because that's the latest release on F-Droid. But have there been changes to the rotation mechanics since then?

I don't know, I just relayed what my experience is. I'm on the Play Store version.

Read the video metadata before opening the player and then starting out in the video's rotation

Accessing files is heavy async operation and generally it shouldn't block UI especially app launch. I also experienced this issue with the animation before so I opted for landscape mode as default (cause most movies/shows are landscape) because of this. Anyway, in the latest versions of Android the app startup looks ok IMHO.


feat: support health check on ApisixUpstream

Please answer these questions before submitting a pull request

Why submit this pull request?

[ ] Bugfix

[x] New feature provided

[ ] Improve performance

[ ] Backport patches

Related issues

Bugfix

Description

How to fix?

New feature or improvement

Describe the details and related test reports.

Backport patches

Why need to backport?

Source branch

Related commits and pull requests

Target branch

Test cases will be added as soon as possible.

Codecov Report

Merging #247 (90b241e) into master (8ca5075) will increase coverage by 54.67%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           master      #247       +/-   ##
============================================
+ Coverage   45.32%   100.00%   +54.67%
============================================
  Files          35         1       -34
  Lines        2054         1     -2053
============================================
- Hits          931         1      -930
+ Misses        984         0      -984
+ Partials      139         0      -139

Impacted Files
Coverage Δ

pkg/kube/init.go

pkg/log/default_logger.go

pkg/apisix/route.go

pkg/seven/state/route_worker.go

pkg/api/server.go

pkg/apisix/nonexistentclient.go

pkg/types/errors.go

cmd/ingress/ingress.go

pkg/apisix/apisix.go

pkg/types/timeduration.go

... and 21 more

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 8ca5075...90b241e. Read the comment docs.


Add additional AirPort models

https://www.tonymacx86.com/threads/howto-use-ubuntu-as-a-mac-os-x-time-capsule.86371/post-533769

@drakebrian Possibly something you'd be interested in adding? I'll try to find some time to find additional sources too 🙂

I'm on it, I'll try and find some additional sources to confirm

Okay! Progress. Adapted from this AskUbuntu answer, we also have these IDs:
AirPort4,102
AirPort4,107
AirPort5,104
AirPort5,105
AirPort5,108
AirPort5,114
AirPort5,117
AirPort6,106
AirPort7,120

For a human-readable (ish) version, run:
plutil -convert json /System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist -o info.json

So we can get the devices "UITypeDescription" but that's not super helpful since ideally we want a 1:1 name-to-id mapping... time to find another way to get these product names!

Funny, I came across the same plist dump in my research. Here's what I am thinking the mapping is, but not quite ready to commit it:
AirPort Express

AirPort4,102 - Airport Express 802.11g (1st generation)

AirPort Extreme

AirPort5,104 - Original
AirPort5,105 - 1st generation, 2nd generation (model A1143)
AirPort5,108 - 3rd generation
AirPort5,114 - 4th generation
AirPort5,117 - 5th generation
AirPort7,120 - 6th generation

AirPort Time Capsule

AirPort6,106 - 1st generation
TimeCapsule8,119 - 2nd generation

I think the generic AirPort4 and AirPort5 I have come across in a few places is a placeholder for the whole product line.


Fixed segment upload error return

Description
If a segment is uploaded that is not in tar.gz format, we just get back an internal error message. It is useful
to return the actual message.
Unfortunately, we return a 5xx error code when this should be a 4xx. The only way we can distinguish the invalid
file format case in pinot is by comparing the error message string. The apache commons lib raises the same exception
(java.io.IOException) whether the input is bad or we had trouble accessing the file system. Will let that be for now
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #7957 (712747f) into master (b2b2a14) will decrease coverage by 56.80%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #7957       +/-   ##
=============================================
- Coverage     71.11%   14.31%   -56.81%
+ Complexity     4115       80     -4035
=============================================
  Files          1593     1550       -43
  Lines         82397    80643     -1754
  Branches      12276    12104      -172
=============================================
- Hits          58600    11543    -47057
- Misses        19842    68242    +48400
+ Partials       3955      858     -3097

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.31% <0.00%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ces/PinotSegmentUploadDownloadRestletResource.java
39.56% <0.00%> (-18.70%)
:arrow_down:

...ain/java/org/apache/pinot/core/data/table/Key.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../java/org/apache/pinot/spi/utils/BooleanUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../java/org/apache/pinot/core/data/table/Record.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../java/org/apache/pinot/core/util/GroupByUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/config/table/FSTType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/data/MetricFieldSpec.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...va/org/apache/pinot/spi/utils/BigDecimalUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/common/tier/TierFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/common/utils/StringUtil.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 1263 more

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 b2b2a14...712747f. Read the comment docs.


refactor: Implement log and authentication as tower::Layer

This PR moves the sub-request logging and authentication to their own
tower::Layer middleware.
HttpTransport is now a Service<reqwest::Request> that we can apply
tower::Layer implementations on.
Currently I Pin<Box<>> the reqwest execute future and the
authentication future. boxing the authentication future should be fine
as it will only happen once per request. boxing the reqwest execute
future might benefit from not having to be boxed as we can send multiple
subrequests per request, will have to figure
our how to do that at some point in the future (pun intended =).

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 85.83691% with 33 lines in your changes missing coverage. Please review.

Files
Patch %
Lines

src/service/auth.rs
90.90%
13 Missing :warning:

src/pyoci.rs
37.50%
10 Missing :warning:

src/app.rs
38.46%
8 Missing :warning:

src/service/log.rs
94.28%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

:loudspeaker: Thoughts on this report? Let us know!


Fix a couple of incorrect APIs for the incremental migration docs

EDIT by @Rick-Anderson
Internal review URL
Fixes https://github.com/dotnet/systemweb-adapters/issues/302
Fixes #28547

@twsouthwick  I'll get all the embedded snippets moved to projects. Much easier to maintain and validate. See #28548


Make futures::task::noop_waker_ref available without std.

#2332 removed the std dependency and some #[cfg(feature = "std")], but missed the one on the reexport from futures_util. This PR removes that cfg attribute, so noop_waker_ref should be equally available from all places it is reexported. I searched for other mentions of noop_waker_ref in this repository and did not find any other changes needed.

Published in 0.3.18.


Subpath pattern export error is either incorrect or confusing

I tried running the CLI on tslib after making the change at https://github.com/microsoft/tslib/pull/217, and it reports these errors:
Errors:
1. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
2. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
3. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
4. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
5. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
6. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
7. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
8. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
9. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
10. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
11. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
12. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
13. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
14. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
15. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
16. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
17. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
18. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
19. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
20. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
21. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
22. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
23. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
24. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?
25. pkg.exports["./*"] is ./* but the file is not published. Is it specified in pkg.files?
26. pkg.exports["./"] is ./ but the file is not published. Is it specified in pkg.files?

I’m not sure what it’s doing to come up with these errors, so it’s hard to say whether they’re correct, but they seem to be omitting a key piece of information either way 😄. tslib uses an npmignore file and doesn’t specify files.

Looks like I might've messed something up 👀 The published checks shouldn't happen in glob exports as they can mean any file


Flatpak bundling

Thanks again for this awesome package!
I am trying to bundle my app using flatpak but I am constantly hitting
error while loading shared libraries: libmpv.so.1: cannot open shared object file: No such file or directory

I tried to follow the setup that the project that is recommended uses uses. The processes compiles a lot of stuff but it seems like it is still missing the necessary library.
Do you have any pointers how to get a flatpak running?
Additionally, it would be really nice to get a list of dependencies or smth that medikit uses in its libmpv build. mpv compilation lists a lot of optional packages, which of them are necessary?
Thank you very much!

When looking at build-dir/files/lib there is a libmpv.so, a libmpv.so.2 and a libmpv.so.2.0.0.
Am I building the wrong libmpv version?

my current building .json can be found here

error while loading shared libraries: libmpv.so.1: cannot open shared object file: No such file or directory

Check your LD_LIBRARY_PATH environment variable so that it points to the directory containing the library.
The name of the library is correct, as media_kit supports the following names:
https://github.com/media-kit/media-kit/blob/97c2ab230df819b9ebc98b00b55468100faa50c1/media_kit/lib/src/player/native/core/native_library.dart#L48-L52

Hey I am currently shipping Spotube using Flatpak you can follow it's manifest if it helps
app-id: com.github.KRTirtho.Spotube
runtime: org.gnome.Platform
runtime-version: '44'
sdk: org.gnome.Sdk
command: spotube
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio #This might be needed
- --share=network
- --share=ipc
- --device=dri
- --filesystem=xdg-download
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.kde.StatusNotifierWatcher
- --talk-name=org.freedesktop.secrets
- --filesystem=xdg-documents
- --filesystem=xdg-run/gvfs #This might be needed
- --filesystem=xdg-run/pipewire-0:ro #This might be needed
- --own-name=org.mpris.MediaPlayer2.spotube
- --system-talk-name=org.freedesktop.NetworkManager
modules:
- shared-modules/libappindicator/libappindicator-gtk3-12.10.json
- shared-modules/libsecret/libsecret.json
- name: libnotify
  buildsystem: meson
  config-opts:
  - -Dtests=false
  - -Dintrospection=disabled
  - -Dgtk_doc=false
  - -Ddocbook_docs=disabled
  sources:
  - type: archive
    url: https://download.gnome.org/sources/libnotify/0.7/libnotify-0.7.8.tar.xz
    sha256: 69209e0b663776a00c7b6c0e560302a8dbf66b2551d55616304f240bba66e18c
- name: jsoncpp
  buildsystem: meson
  config-opts:
  - --default-library=shared
  sources:
  - type: git
    url: https://github.com/open-source-parsers/jsoncpp
    tag: 1.9.5

# These are the required dependencies
- name: libmpv
  cleanup:
  - /include
  - /lib/pkgconfig
  - /share/man
  buildsystem: simple
  build-commands:
  - python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date
    --disable-alsa
  - python3 waf build
  - python3 waf install
  sources:
  - type: git
    url: https://github.com/mpv-player/mpv.git
    tag: v0.35.1
  - type: file
    url: https://waf.io/waf-2.0.25
    sha256: 21199cd220ccf60434133e1fd2ab8c8e5217c3799199c82722543970dc8e38d5
    dest-filename: waf
  modules:
  - name: libass
    cleanup:
    - /include
    - /lib/*.la
    - /lib/pkgconfig
    config-opts:
    - --disable-static
    sources:
    - type: archive
      url: https://github.com/libass/libass/releases/download/0.17.1/libass-0.17.1.tar.xz
      sha256: f0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784
    modules:
    - name: fribidi
      cleanup:
      - /bin
      - /include
      - /lib/pkgconfig
      - /lib/*.la
      - /share/man
      buildsystem: meson
      config-opts:
      - --buildtype=release
      - -Ddocs=false
      sources:
      - type: git
        url: https://github.com/fribidi/fribidi.git
        tag: v1.0.13
        commit: b54871c339dabb7434718da3fed2fa63320997e5
  - name: x264
    cleanup:
    - /include
    - /lib/pkgconfig
    - /share/man
    config-opts:
    - --disable-cli
    - --enable-shared
    sources:
    - type: git
      url: https://code.videolan.org/videolan/x264.git
      commit: a8b68ebfaa68621b5ac8907610d3335971839d52
      x-checker-data:
        type: json
        url: https://code.videolan.org/api/v4/projects/536/repository/commits
        commit-query: first( .[].id )
        version-query: first( .[].id )
        timestamp-query: first( .[].committed_date )
  - name: nv-codec-headers
    cleanup:
    - '*'
    no-autogen: true
    make-install-args:
    - PREFIX=/app
    sources:
    - type: git
      url: https://github.com/FFmpeg/nv-codec-headers.git
      commit: 855f8263d97bbdcaeabaaaa2997e1ccad7c52dc3
  - name: ffmpeg
    cleanup:
    - /include
    - /lib/pkgconfig
    - /share/ffmpeg/examples
    config-opts:
    - --enable-shared
    - --disable-static
    - --enable-gnutls
    - --disable-doc
    - --disable-programs
    - --disable-encoders
    - --disable-muxers
    - --enable-encoder=png
    - --enable-libv4l2
    - --enable-libdav1d
    sources:
    - type: git
      url: https://git.ffmpeg.org/ffmpeg.git
      branch: release/6.0
      commit: 3d5edb89e75fe3ab3a6757208ef121fa2b0f54c7
# -----------------------------------------------------------------------------------

- name: spotube
  buildsystem: simple
  build-commands:
  - install -Dm644 spotube/com.github.KRTirtho.Spotube.appdata.xml /app/share/appdata/com.github.KRTirtho.Spotube.appdata.xml
  - desktop-file-edit spotube/spotube.desktop --set-key=Exec --set-value="spotube
    %u" --set-icon=com.github.KRTirtho.Spotube
  - install -Dm644 spotube/spotube-logo.png /app/share/icons/hicolor/128x128/apps/com.github.KRTirtho.Spotube.png
  - install -Dm644 spotube/spotube.desktop /app/share/applications/com.github.KRTirtho.Spotube.desktop
  - install -dm755 /app/bin /app/spotube
  - cp -R spotube/ /app
  - ln -s /app/spotube/spotube /app/bin/spotube
  sources:
  - type: archive
    dest: spotube
    url: https://github.com/KRTirtho/spotube/releases/download/v3.1.0/spotube-linux-3.1.0-x86_64.tar.xz
    sha256: d9b38e7b57b04c17822541d122292c461a8db824f1bd10bdc82c23840593f30b

I consider this as solved. Closing.
The discussion is left open in-case any further conversation is required.
Thanks!

@KRTirtho I tried copying your file and adapting it to my file structure. But I am still hitting
error while loading shared libraries: libmpv.so.1: cannot open shared object file: No such file or directory
I build the flatpak like this
# building flutter app
flutter build linux --release
# zip and copy the application to the flatpak directory
...
# build flatpak
flatpak-builder --force-clean build-dir com.DaAppLab.DaKanji.yaml --repo=repo
flatpak build-bundle repo com.DaAppLab.DaKanji.flatpak com.DaAppLab.DaKanji
# install flatpak
flatpak install com.DaAppLab.DaKanji.flatpak

The app installs just fine and the icon also shows up in my applications. However, during runtime I encounter the mentioned issue.
Do you have any idea what I am missing? My build .yaml:
app-id: com.DaAppLab.DaKanji
runtime: org.gnome.Platform
runtime-version: '44'
sdk: org.gnome.Sdk
command: DaKanji
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio #This might be needed
- --share=network
- --share=ipc
- --device=dri
- --filesystem=xdg-download
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.kde.StatusNotifierWatcher
- --talk-name=org.freedesktop.secrets
- --filesystem=xdg-documents
- --filesystem=xdg-run/gvfs #This might be needed
- --filesystem=xdg-run/pipewire-0:ro #This might be needed
- --own-name=org.mpris.MediaPlayer2.spotube
- --system-talk-name=org.freedesktop.NetworkManager
modules:

# These are the required dependencies
- name: libmpv
  cleanup:
  - /include
  - /lib/pkgconfig
  - /share/man
  buildsystem: simple
  build-commands:
  - python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date
    --disable-alsa
  - python3 waf build
  - python3 waf install
  sources:
  - type: git
    url: https://github.com/mpv-player/mpv.git
    tag: v0.35.1
  - type: file
    url: https://waf.io/waf-2.0.25
    sha256: 21199cd220ccf60434133e1fd2ab8c8e5217c3799199c82722543970dc8e38d5
    dest-filename: waf
  modules:
  - name: libass
    cleanup:
    - /include
    - /lib/*.la
    - /lib/pkgconfig
    config-opts:
    - --disable-static
    sources:
    - type: archive
      url: https://github.com/libass/libass/releases/download/0.17.1/libass-0.17.1.tar.xz
      sha256: f0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784
    modules:
    - name: fribidi
      cleanup:
      - /bin
      - /include
      - /lib/pkgconfig
      - /lib/*.la
      - /share/man
      buildsystem: meson
      config-opts:
      - --buildtype=release
      - -Ddocs=false
      sources:
      - type: git
        url: https://github.com/fribidi/fribidi.git
        tag: v1.0.13
        commit: b54871c339dabb7434718da3fed2fa63320997e5
  - name: x264
    cleanup:
    - /include
    - /lib/pkgconfig
    - /share/man
    config-opts:
    - --disable-cli
    - --enable-shared
    sources:
    - type: git
      url: https://code.videolan.org/videolan/x264.git
      commit: a8b68ebfaa68621b5ac8907610d3335971839d52
      x-checker-data:
        type: json
        url: https://code.videolan.org/api/v4/projects/536/repository/commits
        commit-query: first( .[].id )
        version-query: first( .[].id )
        timestamp-query: first( .[].committed_date )
  - name: nv-codec-headers
    cleanup:
    - '*'
    no-autogen: true
    make-install-args:
    - PREFIX=/app
    sources:
    - type: git
      url: https://github.com/FFmpeg/nv-codec-headers.git
      commit: 855f8263d97bbdcaeabaaaa2997e1ccad7c52dc3
  - name: ffmpeg
    cleanup:
    - /include
    - /lib/pkgconfig
    - /share/ffmpeg/examples
    config-opts:
    - --enable-shared
    - --disable-static
    - --enable-gnutls
    - --disable-doc
    - --disable-programs
    - --disable-encoders
    - --disable-muxers
    - --enable-encoder=png
    - --enable-libv4l2
    - --enable-libdav1d
    sources:
    - type: git
      url: https://git.ffmpeg.org/ffmpeg.git
      branch: release/6.0
      commit: 3d5edb89e75fe3ab3a6757208ef121fa2b0f54c7
# -----------------------------------------------------------------------------------

- name: DaKanji
  buildsystem: simple
  build-commands:
  - pwd
  - ls DaKanji -la
  - install -Dm644 DaKanji/com.DaAppLab.DaKanji.appdata.xml /app/share/appdata/com.DaAppLab.DaKanji.appdata.xml
  #- desktop-file-edit DaKanji/DaKanji.desktop --set-key=Exec --set-value="dakanji %u" --set-icon=com.DaAppLab.DaKanji
  - install -Dm644<EMAIL_ADDRESS>/app/share/icons/hicolor/512x512/apps/com.DaAppLab.DaKanji.png
  - install -Dm644 DaKanji/DaKanji.desktop /app/share/applications/com.DaAppLab.DaKanji.desktop
  - install -dm755 /app/bin /app/DaKanji
  - cp -R DaKanji/ /app
  - ln -s /app/DaKanji/DaKanji /app/bin/DaKanji
  sources:
  - type: archive
    path: bundle.zip
    dest: DaKanji
  - type: file
    path: com.DaAppLab.DaKanji.appdata.xml
    dest: DaKanji
  - type: file
    path: DaKanji.desktop
    dest: DaKanji
  - type: file
    path<EMAIL_ADDRESS>    dest: DaKanji

We provide a libmpv argument in MediaKit.ensureInitialized.
Maybe see if the application was launched from Flatpak & pass the applicable path. Many applications I've seen do it.
Also, I wanted to warn (my past experience) that applications that run through Flatpak are sandboxed. It means that cache etc. can't be saved unless some permissions etc. are declared. Unfortunately I don't know which ones. I decided to stop since it brought more maintenance cost & potential bugs for me in my limited time, I rather have stability.

As long as media_kit is using standard cache directories like ~/.cache or ~/.local/share//cache it should be fine as Flatpak follows the freedesktop XDG directory specification & by default provides these folders for each app
And yes I get the extra headache (not helpful to actual development) to support multiple linux packaging formats that does the same job :smile:

@KRTirtho can you tell me the commands you use to build the flatpak?
i am at a loss here...

Well, I always use this command for Spotube:
$ flatpak-builder --user --install --force-clean build com.github.KRTirtho.Spotube.yml

The workflow is currently not in use as there are waaay too many problems.
Wow! Did not know about flutter distributor. If it enables me to build all my packages this would be such a life saver! But it does not support flatpak?
Yes, I am currently trying using a local build. Following this
# building flutter app
flutter build linux --release
# zip and copy the application to the flatpak directory
...
# build flatpak
flatpak-builder --force-clean build-dir com.DaAppLab.DaKanji.yaml --repo=repo
flatpak build-bundle repo com.DaAppLab.DaKanji.flatpak com.DaAppLab.DaKanji
# install flatpak
flatpak install com.DaAppLab.DaKanji.flatpak

I am now encountering flutter not being  able to find some libs that are in the bundle itseld : bundle/lib/
error while loading shared libraries: libclipboard_watcher_plugin.so: cannot open shared object file: No such file or directory

when shelling into the environment the libraries are there
[📦 com.DaAppLab.DaKanji ~]$ ls /app/DaKanji/
com.DaAppLab.DaKanji.appdata.xml  libapp.so                       libmecab_dart_plugin.so            libscreen_retriever_plugin.so
DaKanji                           libclipboard_watcher_plugin.so  libmedia_kit_libs_linux_plugin.so  libsentry_flutter_plugin.so
DaKanji.desktop                   libflutter_linux_gtk.so         libmedia_kit_native_event_loop.so  libtensorflowlite_c-linux.so
flutter_assets                    libgtk_plugin.so                libmedia_kit_video_plugin.so       liburl_launcher_linux_plugin.so
icudtl.dat                        libisar_flutter_libs_plugin.so  libpdfium.so                       libwindow_manager_plugin.so
<EMAIL_ADDRESS>              libisar.so                      libprinting_plugin.so

So it seems like all the libraries paths are somehow not correct...

Yup. The shared objects (*.so) should be inside /app/DaKanji/lib
For reference here's how Spotube's look:
[📦 com.github.KRTirtho.Spotube app]$ ls /app
bin  include  lib  manifest.json  share  spotube
[📦 com.github.KRTirtho.Spotube app]$ ls /app/spotube/
com.github.KRTirtho.Spotube.appdata.xml  lib	  spotube.desktop
data					 spotube  spotube-logo.png

Well back to one. Again
DaKanji: error while loading shared libraries: libmpv.so.1: cannot open shared object file: No such file or directory

What I do not get is, when I run the app as the portable output from flutter I get this output (I hard coded the path for now)
./DaKanji
package:media_kit_libs_linux registered.
flutter: TESTING IF THIS PRINTS
flutter:
--------------------------------------------------------------------------------
media_kit: ERROR: MediaKit.ensureInitialized
This indicates that one or more required dependencies could not be located.

Refer to "Installation" section of the README for further details:
GitHub  : https://github.com/media-kit/media-kit#installation
pub.dev : https://pub.dev/packages/media_kit#installation

TIP: Copy-paste required packages from the above link to your pubspec.yaml.

If you recently added the packages, make sure to re-run the project ("hot-restart" & "hot-reload" is not sufficient for native plugins).
--------------------------------------------------------------------------------

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library '/app/lib/libmpv.so.2': /app/lib/libmpv.so.2: cannot open shared object file: No such file or directory
#0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11)
#1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22)
#2      NativeLibrary.ensureInitialized (package:media_kit/src/player/native/core/native_library.dart:33)
#3      nativeEnsureInitialized (package:media_kit/src/player/native/player/real.dart:47)
#4      MediaKit.ensureInitialized (package:media_kit/src/media_kit.dart:26)
#5      main (package:da_kanji_mobile/main.dart:25)
#6      _runMain.<anonymous closure> (dart:ui/hooks.dart:131)
#7      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:296)
#8      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189)

Why is the output not atleast the same...

I also now checked spotube (btw you got a new user)
[📦 com.github.KRTirtho.Spotube ~]$ ls /app/lib/
debug			   libavdevice.so.60.1.100  libdbus-glib-1.so.2.3.5	libindicator3.so.7.0.0	libswresample.so
libappindicator3.so	   libavfilter.so	    libdbusmenu-glib.so		libjsoncpp.so		libswresample.so.4
libappindicator3.so.1	   libavfilter.so.9	    libdbusmenu-glib.so.4	libjsoncpp.so.25	libswresample.so.4.10.100
libappindicator3.so.1.0.0  libavfilter.so.9.3.100   libdbusmenu-glib.so.4.0.12	libmpv.so		libswscale.so
libass.so		   libavformat.so	    libdbusmenu-gtk3.so		libmpv.so.2		libswscale.so.7
libass.so.9		   libavformat.so.60	    libdbusmenu-gtk3.so.4	libmpv.so.2.0.0		libswscale.so.7.1.100
libass.so.9.2.1		   libavformat.so.60.3.100  libdbusmenu-gtk3.so.4.0.12	libnotify.so		libx264.so
libavcodec.so		   libavutil.so		    libfribidi.so		libnotify.so.4		libx264.so.164
libavcodec.so.60	   libavutil.so.58	    libfribidi.so.0		libnotify.so.4.0.0	pkgconfig
libavcodec.so.60.3.100	   libavutil.so.58.2.100    libfribidi.so.0.4.0		libsecret-1.so
libavdevice.so		   libdbus-glib-1.so	    libindicator3.so		libsecret-1.so.0
libavdevice.so.60	   libdbus-glib-1.so.2	    libindicator3.so.7		libsecret-1.so.0.0.0

DaKanji, I really do not get why i t cannot find it
[📦 com.DaAppLab.DaKanji ~]$ ls /app/lib/
debug             libavcodec.so.60.3.100   libavfilter.so.9.3.100   libavutil.so.58.2.100  libmpv.so.2.0.0            libswscale.so.7.1.100
libass.so         libavdevice.so           libavformat.so           libfribidi.so          libswresample.so           libx264.so
libass.so.9       libavdevice.so.60        libavformat.so.60        libfribidi.so.0        libswresample.so.4         libx264.so.164
libass.so.9.2.1   libavdevice.so.60.1.100  libavformat.so.60.3.100  libfribidi.so.0.4.0    libswresample.so.4.10.100
libavcodec.so     libavfilter.so           libavutil.so             libmpv.so              libswscale.so
libavcodec.so.60  libavfilter.so.9         libavutil.so.58          libmpv.so.2            libswscale.so.7

This is the problem I tried to highlight

when shelling into the environment the libraries are there
~/dev/dakanji/flatpak$ flatpak run --devel --command=sh com.DaAppLab.DaKanji
[📦 com.DaAppLab.DaKanji ~]$ ls /app/DaKanji/
com.DaAppLab.DaKanji.appdata.xml  libapp.so                       libmecab_dart_plugin.so            libscreen_retriever_plugin.so
DaKanji                           libclipboard_watcher_plugin.so  libmedia_kit_libs_linux_plugin.so  libsentry_flutter_plugin.so
DaKanji.desktop                   libflutter_linux_gtk.so         libmedia_kit_native_event_loop.so  libtensorflowlite_c-linux.so
flutter_assets                    libgtk_plugin.so                libmedia_kit_video_plugin.so       liburl_launcher_linux_plugin.so
icudtl.dat                        libisar_flutter_libs_plugin.so  libpdfium.so                       libwindow_manager_plugin.so
<EMAIL_ADDRESS>              libisar.so                      libprinting_plugin.so

Answer:

Yup. The shared objects (*.so) should be inside /app/DaKanji/lib
For reference here's how Spotube's look:
[📦 com.github.KRTirtho.Spotube app]$ ls /app
bin  include  lib  manifest.json  share  spotube
[📦 com.github.KRTirtho.Spotube app]$ ls /app/spotube/
com.github.KRTirtho.Spotube.appdata.xml  lib	  spotube.desktop
data					 spotube  spotube-logo.png

Ah sorry, I wasn't clear. After cleaning everything and rebuilding etc. the flutter libs are now in /app/DaKanji/lib

This soon turned into a mystery :sweat_smile:
Ok this is the last resort ig. If it doesn't work I'm done :joy:
try running your app with
$ flatpak run --env="LD_LIBRARY_PATH=/app/lib" com.DaAppLab.DaKanji

Thank you a lot for your help but this also does not help.

@KRTirtho success!
Adding
- cp /app/lib/libmpv.so /app/lib/libmpv.so.1

and running via flatpak run --socket=session-bus --env="LD_LIBRARY_PATH=/app/lib/" com.DaAppLab.DaKanji made it work.
Do you have any idea how to integrate -env="LD_LIBRARY_PATH=/app/lib/"  into the building phase?

@birros doess media-kit check for libmpv.so.1 somwhere else?
The app crashes before calling MediaKit.ensureInitialized(libmpv: "/app/lib/libmpv.so.2");.
When I do
cp /app/lib/libmpv.so.2 /app/lib/libmpv.so.1

it works...

Do you have any idea how to integrate -env="LD_LIBRARY_PATH=/app/lib/"  into the building phase?

For anybody stumbling upon this, it's possible like this
finish-args:
  - ...
  - --env=LD_LIBRARY_PATH=/app/lib


Output all processors and use a list comprehension

WIP, not tested

@nilp0inter, feature/dpkg is a WIP branch in itself.  You are welcome to push your changes directly.
Thanks a bunch!

What should happen with the package "python-dev"???

It should be stripped of the standard suffix -dev, leaving a bare python.
--
pancho horrillo

On 23 Mar 2020, at 13:16, Roberto Abdelkader Martínez Pérez<EMAIL_ADDRESS>wrote:

What should happen with the package "python-dev"???
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

But python is a prefix. That means tha suffix stripping takes precedence over prefix stripping?


Plod patch 2

updating versions to get dockerfile to build at greater risks

sorry was meant for my fork


When using script template input artifact is not able to save in volume mount

Is this a BUG REPORT or FEATURE REQUEST?: Bug
What happened:
When using script template input artifact is not able to save in volume mount
How to reproduce it (as minimally and precisely as possible):
- name: execute
    inputs:
      artifacts:
      - name: config
        path: /mnt/vol/.aws/config
        mode: 0777
        raw:
          data: |
            [profile default]
            role_arn = arn:abc
            credential_source = Ec2InstanceMetadata
    script:
      volumeMounts:
      - mountPath: /mnt/vol/.aws
        name: aws
      image: my-image
      env:
      - name: AWS_DEFAULT_REGION
        value: us-west-2
      - name: AWS_CONFIG_FILE
        value: /mnt/vol/.aws/config
      command: [sh]
      source: |
        echo "Hello World"

Anything else we need to know?:
time="2019-10-31T23:50:37Z" level=info msg="Start loading input artifacts..."
time="2019-10-31T23:50:37Z" level=info msg="Downloading artifact: config"
time="2019-10-31T23:50:37Z" level=info msg="Specified artifact path /mnt/volume/.aws/config overlaps with volume mount at /mnt/volume/.aws. Extracting to volume mount"
time="2019-10-31T23:50:37Z" level=error msg="executor error: open /mainctrfs/mnt/volume/.aws/config.tmp: no such file or directory"
time="2019-10-31T23:50:37Z" level=info msg="Alloc=4745 TotalAlloc=9854 Sys=70334 NumGC=3 Goroutines=4"
time="2019-10-31T23:50:37Z" level=fatal msg="open /mainctrfs/mnt/volume/.aws/config.tmp: no such file or directory"

Environment:

Argo version:

$ argo version

argo: v2.4.2
  BuildDate: 2019-10-21T18:39:52Z
  GitCommit: 675c66267f0c916de0f233d8101aa0646acb46d4
  GitTreeState: clean
  GitTag: v2.4.2
  GoVersion: go1.11.5
  Compiler: gc
  Platform: darwin/amd64

Hi @alexec , may I take this issue?

Hey @changhc, feel free to start work on this, I'll assign you the issue. Thanks for contributing!


Warnings thrown when installed along with React 15 .

Problem Description

Versions

Material-UI:  0.15.0-alpha.2
React: 15.0.0
Browser: Chrome 49

npm i --save material-ui   complains about react version , although I have already installed React v15 that I understand was released very recently.
Please find below the actual NPM error message .
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed. npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

This is not a problem, this works as intended. You are installing a newer version than the team have tested for.

Yes.. that makes sense.


refactor(blockifier): revert contract test

This change is

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

#2941  👈 (View in Graphite)
#2913
#2889
#2918
main-v0.13.4

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


Lesson 11 - Translation folder Typo

Describe the bug
The name of the translations folder is transaltions.
Expected behavior
The name of the folder is written correctly.
It's better to fix this after the Portuguese translation #121 is merged as this needs to be fixed in all the translations.
Affected files ==>
Lesson 10 Portuguese README.md  (Referenced at the end of the lesson) and Main Portuguese README.md (Referenced in the table)
Lesson 10 Chinses README.md  (Referenced at the end of the lesson) and Main Chinese README.md (Referenced in the table)
Additional context
https://github.com/microsoft/generative-ai-for-beginners/tree/main/11-integrating-with-function-calling/transaltions/

@PabloNunes can you please look at this


PyCG fails when parsing files whose names are used in init file declarations

Description
When PyCG processes a python package which includes a function/class declaration in the __init__.py, it fails to process the classes of a file which has the same name with the declaration, and is stored in the same directory.
Steps to Reproduce

Declare in an __init__py file a function test()
Create in the same directory a python file named test.py and declare a class within.
Run: pycg __init__.py test.py

PyCG will yield the following error:
   ...
    File "/opt/homebrew/lib/python3.10/site-packages/pycg-0.0.6-py3.10.egg/pycg/processing/preprocessor.py", line 65, in analyze_submodule
    super().analyze_submodule(PreProcessor, modname,
  File "/opt/homebrew/lib/python3.10/site-packages/pycg-0.0.6-py3.10.egg/pycg/processing/base.py", line 485, in analyze_submodule
    visitor.analyze()
  File "/opt/homebrew/lib/python3.10/site-packages/pycg-0.0.6-py3.10.egg/pycg/processing/preprocessor.py", line 375, in analyze
    self.visit(ast.parse(self.contents, self.filename))
  File<EMAIL_ADDRESS>line 410, in visit
    return visitor(node)
  File "/opt/homebrew/lib/python3.10/site-packages/pycg-0.0.6-py3.10.egg/pycg/processing/preprocessor.py", line 114, in visit_Module
    super().visit_Module(node)
  File "/opt/homebrew/lib/python3.10/site-packages/pycg-0.0.6-py3.10.egg/pycg/processing/base.py", line 61, in visit_Module
    self.generic_visit(node)
  File<EMAIL_ADDRESS>line 418, in generic_visit
    self.visit(item)
  File<EMAIL_ADDRESS>line 410, in visit
    return visitor(node)
  File "/opt/homebrew/lib/python3.10/site-packages/pycg-0.0.6-py3.10.egg/pycg/processing/preprocessor.py", line 368, in visit_ClassDef
    super().visit_ClassDef(node)
  File "/opt/homebrew/lib/python3.10/site-packages/pycg-0.0.6-py3.10.egg/pycg/processing/base.py", line 126, in visit_ClassDef
    self.scope_manager.get_scope(self.current_ns).reset_counters()
AttributeError: 'NoneType' object has no attribute 'reset_counters'

Root Cause
When PyCG visits a new module/class/function declaration it creates a new scope for the corresponding namespace.
Therefore, when pycg visits the test()method in the init file it creates a scope with the namespace modulepath.test
During the preprocessing phase, when PyCG visits the module test defined from test.py, it checks if the scope of the corresponding module namespace already exists in the scope manager:
https://github.com/vitsalis/PyCG/blob/4448238be6d87c4dcf486d2e92e3ce75669f5896/pycg/processing/preprocessor.py#L91-L97
Since the namespace modulepath.test exists already due to the _init_.py file declaration, PyCG mistakenly percieves the test modules as a root module and does not initialize the scopes declared in the module correctly.
As a result,  in the base processing stage occuring later, when PyCG visits a new class definition in module test,
https://github.com/vitsalis/PyCG/blob/4448238be6d87c4dcf486d2e92e3ce75669f5896/pycg/processing/base.py#L126
it resets the counters of the corresponding namespace (e.g. modulepath.test.Class1) declared in the scope manager, but since the scopes of the module test have not been initialized, the specific namespace and consequently the scope does not exists, resulting in an  AttributeError, since NoneType object has no attribute reset_counters. The error occurs only in Class declarations and not in function declarations because currently PyCG checks if the specific function scope exists before resetting the counters:
https://github.com/vitsalis/PyCG/blob/4448238be6d87c4dcf486d2e92e3ce75669f5896/pycg/processing/base.py#L68-L69
Propably this check throws the issue under the carpet.
Proposed Fix
In order to tacke this issue, ideally we should make PyCG able to distinguish the difference between a scope defined through the  a declaration in an init file and a module declaration with the same name.
In order to implement this,  we could implement a dictionary mapping each scope namespace to its type (e.g. module/function/class scope) and we could modify PyCG to match two scopes only when their type is the same.
Related to https://github.com/vitsalis/PyCG/pull/50

Closing due to archival of repository.


adjust format in geference/glossary-1

% ./scripts/lsync.sh content/zh/docs/reference/glossary/network-policy.md
diff --git a/content/en/docs/reference/glossary/network-policy.md b/content/en/docs/reference/glossary/network-policy.md
old mode 100755
new mode 100644
% ./scripts/lsync.sh content/zh/docs/reference/glossary/pod.md
diff --git a/content/en/docs/reference/glossary/pod.md b/content/en/docs/reference/glossary/pod.md
old mode 100755
new mode 100644
% ./scripts/lsync.sh content/zh/docs/reference/glossary/volume-plugin.md
diff --git a/content/en/docs/reference/glossary/volume-plugin.md b/content/en/docs/reference/glossary/volume-plugin.md
old mode 100755
new mode 100644

/lgtm
/approve


Revert fast-uri change

What issue does this pull request resolve?
Fast URI breaks browser builds
What changes did you make?
Revert the change to switch uri-js with fast-js. Also bumped the version to 8.16.0.
Is there anything that requires more attention while reviewing?
No

Please, merge this. Thanks in advance 😄

Hey, we’re fixing this over here at Fastify, just to let you know:
https://github.com/fastify/fast-uri/pull/83


docs: add package installation and finding instructions for rpm

I guess docs should cover this:
Installing RPM officially from Fedora + RPMFusion (Universal Blue enables it by default), from COPR, from other repo sources & locally without repo.


Ensure pods are updated if the service account is

This deals with #350
After this change, the pods will be deleted/recreated automatically if a pullSecret is added to the CR
Also, the pull secret will be deleted from the service account if it is deleted from the CR.

@halim-lee This is the PR for issue #350

closing in favour of PR #387 as I've tweaked the commits a fair bit. All the review comments from this PR are addressed in 387


gltfio now uses FADE when the asset is BLEND.

Fixes #1461

Woops, I need to update ubershader mode too...


Wrong formatting

I follow all the step and i got this not this. Please help me

Can you share link to your figma file?

I had fix but it's won't work. Please check for me
This is my figma link file
https://www.figma.com/file/1SIMaqNyiwjIo3HIKkuky1/Phi-Hùng-Tạ-Hoàng-s-team-library?node-id=0%3A1


Wrong rgba color

Please ensure you have given all the following requested information in your report.
Issue details
rgba color is wrong.
Reproduction steps/code
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator;

  FreeTypeFontGenerator.FreeTypeFontParameter parameter2 = new FreeTypeFontGenerator.FreeTypeFontParameter();
            parameter2.size = 80;
            parameter2.color =  new Color(255, 155, 0, 1);
            parameter2.borderWidth = 4f;
            BitmapFont font2 = generator.generateFont(parameter2);
            font2.draw(batch, "TEST!!!", x, y);

Use any color picker to see color, it should be darker yellow. Between orange and yellow.
But rendered always Color.YELLOW not rgba.
Version of LibGDX and/or relevant dependencies
Gdx version: 1.9.8
Stacktrace
No stack trace, justwrong color.
Please select the affected platforms

[+] Windows

Not tested other platforms yet.

Not a bug: you are using this constructor, which takes floats in the range [0-1], not bytes. What you want instead, is new Color(1f, 0.61f, 0f, 1f).
Interestingly, your alpha channel is correct.

I propose a new constructor that takes the first two arguments at 0-255 and the other two at 0f-1f.

Tell me please how to check or convert to 0-1f from 0-255? Is 0.5 equal to 127.5?

Converting from 0~1 to 255
r = 0.3333;
r*=255;

Converting from 255 to 0~1
r = 82;
r/=255f; // Please do not forget the f or Java will convert to int

@yuripourre  thank you!

@BonBonSlick
Just multiply each channel by 255

@yuripourre thank you :)


fix Hammerhead initialization in iframe (close #184)

/cc @inikulin @churkin

\r-

/r-

FPR

lgtm

\r-

FPR

lgtm

lgtm

lgtm


Remote JALSE server

A remote JALSE server that allows instances of the model to be manipulated via REST and WebSockets.
REST would be used to pull down detailed information (sync state, web statistics and specific entity details).
WebSockets would be used to stream attribute changes and when entities are created and killed (after sync).
NOTE: there is a need for user/client authentication or state the model is globally exposed and mutable.

Java EE 8 doesn't come out until 2016 - find alternatives.

The most useful link I've found so far
http://martinfowler.com/articles/richardsonMaturityModel.html

Good find - I've done some research too:
WebSockets

Tomcat
Jetty
We don't have to worry about creating Java WebSocket clients (is possible though)

REST

JAX-RS and Jersey
Spark - looks promising!
Clients we can use the Apache HttpClient for Java

Tags can be used to state what attribute types are visible for X Y and Z

@mariosk89 @stelioskiayias this may be of interest http://wildfly.org/news/2015/05/05/WildFly-Swarm-Released/
wildfly-swarm

There is also http://netty.io/


Navbar dropdown not working

Hello,
I'm having trouble getting the nav dropdown to show nested files. Here is my mkdocs.yml:
site_name: My Test Site
nav:
  - Home: index.md
  - About: about.md
  - Notebook Pages:
    - First Steps:
      - 01 - The Data Directory.md
      - 02 - The Sidebar.md
      - 03 - The Middlebar.md
      - 04 - The Mainbar.md
      - Third Level:
        - 05 - Notes.md
        - 06 - Tags.md
        - 07 - Shortcuts.md
        - 08 - Importing.md
        - 09 - Multi-Note Editing.md
theme: bootstrap4

In the attached screenshot, I expect to see the Notebook Pages menu drop down, but when I click on it, it does nothing.

I installed mkdocs-bootstrap4 with pip on Anaconda Python 3.7.1 running on Windows 10. Can you help?
Thanks!

Same for me. Dropdown renders in HTML, but there is no action or errors in the console.

Same here. Any workaround?

Also created a Merge Request, #5. sadly though this project seems to be unmaintained.

I merged the pull request. I am sorry, but for some reason I was not notified of the PR when it was submitted. I am trying to figure out why I didn't get the email.

This should be fixed


Can't find smartypants, even though it is installed

I've got a Python 2.7 virtual environment into which hyde installed without error. But then hyde won't run without error.
Here's the list of installed packages, and a which hyde shows which instance of hyde will be invoked:
(venv27)[master]~/Documents/prj/moi/jenesuispasdave.github.io$
pip list
commando (0.3.4)
distribute (0.6.14)
fswrap (0.1.2)
hyde (0.8.8, /Users/datihein/Documents/prj/moi/jenesuispasdave.github.io/venv27/src/hyde)
Jinja2 (2.7.3)
Markdown (2.6.2)
MarkupSafe (0.23)
pip (7.1.0)
Pygments (2.0.2)
PyYAML (3.11)
setuptools (18.0.1)
smartypants (1.8.6)
typogrify (2.0.7)

(venv27)[master]~/Documents/prj/moi/jenesuispasdave.github.io$
which hyde
/Users/datihein/Documents/prj/moi/jenesuispasdave.github.io/venv27/bin/hyde

But when I run hyde, it seems it cannot find smartypants 1.8.6, even though it is installed:
(venv27)[master]~/Documents/prj/moi/jenesuispasdave.github.io$
hyde gen ./wat
Traceback (most recent call last):
  File "/Users/datihein/Documents/prj/moi/jenesuispasdave.github.io/venv27/bin/hyde", line 5, in <module>
    from pkg_resources import load_entry_point
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2671, in <module>
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 654, in require
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 552, in resolve
pkg_resources.DistributionNotFound: smartypants==1.8.6

Can you run the following from within the same virtualenv:
python -c "import smartypants; print smartypants.__version__"
I don't trust pip list/freeze to always tell the truth :)

Confirming ...
(venv27)[master]~/Documents/prj/moi/jenesuispasdave.github.io$
python -c "import smartypants; print smartypants.__version__"
1.8.6


upgrade diffusers to 0.6.0

did a clean install to get 1.5 updated (since I'm new and have no idea how to do shit the proper way)
Anyways, I get this error.

I have updated it, and it shows 0.6.0 in Anaconda Navigator.  What am I doing wrong?
Thank you!!

I had the same problem yesterday. To resolve it I deleted the "sd-inf" file in (C:\Users'username'\anaconda3\envs) and ran app.py again. All sorted.
I'm sure that someone can tell you a quicker way of fixing it but I'm not that person :-)

I have the same problem.

Thank you for this! Will give it a go when I get home. Cheers

for me what solved this error was to update with pip:  pip install diffusers --upgrade

I tried the pip..... upgrade.  The screen shot above shows its 0.6.0

I'm sure that there is an easier way to fix this but when I had the problem I ended up reinstalling from scratch (delete the repo AND the sd-inf environment). It's a bit annoying but at least it works now.

i ended up deleting all the stable diffusion i had downloaded. deleted environment, even removed anaconda navigator to clear everything up. then installed it and now i works!  except.....
now it takes 10 minutes to generate a 256 square. i run amd with an  rtx 3060. before it was about 9 10 seconds.

i ended up deleting all the stable diffusion i had downloaded. deleted environment, even removed anaconda navigator to clear everything up. then installed it and now i works! except.....
now it takes 10 minutes to generate a 256 square. i run amd with an rtx 3060. before it was about 9 10 seconds.

I'm really sorry about this. When I suggested uninstalling/reinstalling it worked perfectly for me but something changed yesterday, 27/10/22 (I'm guessing that it is an update to one of the install packages) and I now have the same problem as you do. I have raised it as an issue #123 and hopefully things will get fixed soon :-)

duplicate of #89

pip install diffusers --upgrade solved the issue for me, even though it said it already has version 0.6.0 installed.


[REQ] Option to edit Header, Footer & SEO

Would it be possible to configure/change some Header, Footer & SEO information via the database?
What I thought of was some option to change the logo in the Header.

Option to change the favicon and title of the site, would be interesting.

SEO when we share the link by default with this information, it would be an interesting option to edit this text.

Regarding the site's credits, I thought about removing the Source Code and leaving the direct link to the project in the name in the credits.

And in addition to the project credits, you can also put a message at the front that we can change, for example:
cstrike's Inventory Simulator - CUSTOMIZABLE MESSAGE

This will not be supported by the project right now.


How to report potential security issue?

I think I found a potential security issue, and I created a test that reliably reproduces it. Should I open a github issue with the details, or is there another way that I should report this?

If the issue allows arbitrary code execution or crashing YARA by crafting a malicious rule in source form, you can send me the details to<EMAIL_ADDRESS>Everything else could be reported here I think.

I sent an email just to be safe. Thanks!


S3TransferUtilitySample is not working

I am trying to use the S3 sample without success: everything is well configured (the same setup works fine on iOS) but I cannot upload anything.  Nothing in the logs, no connection or authentication error, I do not really know how to debug that. I am using a Samsung Galaxy S5 with Android 5.0.2, any help would be greatly appreciated.

Hi,
We have implemented this with AWS one time session as well.  (Authenticated
developer identity)
Can you please share code what you are using.
Regards,
Rakesh
On Tue, Jun 7, 2016 at 1:15 PM, epot<EMAIL_ADDRESS>wrote:

I am trying to use the S3 sample without success: everything is well
configured (the same setup works fine on iOS) but I cannot upload anything.
 Nothing in the logs, no connection or
authentication error, I do not really know how to debug that. I am using a
Samsung Galaxy S5 with Android 5.0.2, any help would be greatly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-sdk-android-samples/issues/60, or mute
the thread
https://github.com/notifications/unsubscribe/AHmH1LO807A0TCo100ER3JU-vUa0rsvfks5qJSGngaJpZM4IvpeN
.

--
Regards,
Rakesh

Hey,
I am not sure I understand your question, sorry. I am using the code sample, without any modification (apart from the changes to use our Cognito identity of course).
Cheers

@epot Which region is your S3 in? Does the bucket have special characters like '.' or '-'? What's the size of the object? Does your device connect to a proxy (or Charles)? Is it behind a firewall?

It is in US-EAST1. The bucket name contains only alphabet characters and a '.'.
I am trying to upload an image, so a few MB. No proxy or firewall. Thanks !

It works fine on the emulator, but not on the device, if that can help narrow down the issue.

@epot I suggest you try it on a different device. As for the timeout issue, try increasing socket timeout and connection timeout.

I tried on a different device, same issue. It is probably a firewall issue, but it's hard to point out since it works fine on iOS.
I have a fiber connection, increasing the timeout will definitely not help (I get a timeout because it does not work).

@epot I can't reproduce the issue on emulator and device. You also claim that the sample works on emulator. Therefore I assume the SDK is working correctly. My suggestion will be trying the same code on different devices, network, etc.


Em 3384 ingestion   db client

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/EM-3384
Change description
Initial domain model and some contollers
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x] No

closing PR as helm seems to have an issue


⚠ GitLab Server has degraded performance

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

HTTP code: 200
Response time: 6457 ms

Resolved: GitLab Server performance has improved in 22d76e0.


[Upstream] Fix the UI config for GPU number dropdown

Do we need to put upstream somwehere in the commit message as we talked about?

Do we need to put upstream somwehere in the commit message as we talked about?

I thought about that, but we hadn't discussed exactly what to do.  Also, we don't have a spreadsheet to track those things just yet.  wdyt?

Do we need to put upstream somwehere in the commit message as we talked about?

I've added [Upstream] to both the title of the PR and edited the commit message.  How's that look?


fix(generate-config): update success message and default path for env

This is a follow up to #1588 .
The PR updates the success message printed after configs are generated.
rhoas generate-config --type env should save configurations to rhoas.env
Verification Steps

Run the following command:

./rhoas generate-config --type env

The command should save configurations in rhoas.env.

Configurations successfully saved to "/home/rkpattnaik780/coding/redhat/mk/cli/rhoas.env"

You can now use existing service accounts or create new to connect to the services.
To create new service account, run this command:

  $ rhoas service-account create

Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation change
[ ] Other (please specify)

I would personally go with config.env but rhoas.env is ok.


Localization issue when get the result

Hi, i can't get the result in other language, I used MeiliSearch with Strapi and need to do search and get the result  in other language..

Meilisearch version: [e.g. v0.30.4]
meilisearch-dotnet version: [e.g v<IP_ADDRESS>]

Hello @Ahmad-Nour
Very sorry for the delayed response. Could you please clarify your current data configuration? Do you have a field per language in your documents? Do you have an index per language?
Thanks

Hello @oluademola
Thnak you for your response, I solved the issue yasterday, the issue was in my configureations sorry about that ...


Implement full build pipeline

Description:
We need to have a GitHub Action workflow to build all the repositories from ballerina-lang repository to ballerina-distribution repository. There we need to change versions to SNAPSHOT and publish each other using maven local.

This is not required anymore

Implemented full build pipeline for ballerina.
Developer can select the branch of the ballerina-lang to trigger workflow.
https://github.com/ballerina-platform/ballerina-release/pull/1070


Second batch of changelog edits, up to but not including SE-0099

@lattner : Batch 2 as promised.
(No code changes.)

LGTM!


Why do I get a package named ~QLAlchemy instead of SQLAlchemy

➜  galio git:(dev) ✗ python3 --version
Python 3.7.1
➜  galio git:(dev) ✗ pipreqs --version
0.4.10

➜  galio git:(dev) ✗ pipreqs ./ --use-local --force --debug
DEBUG: Found packages: {'sqlalchemy', 'traceback', 'jinja2', 'colorama', 'json', 'subprocess', 'mimetypes', 'functools', 'flask_script', 'math', 'flask_cors', 'tarfile', 'shutil', 'pynpm', 'copy', 'time', 'datetime', 'cacheout', 're', 'logging', 'urllib', 'kubernetes', 'mysql', 'requests', 'yaml', 'os', 'git', 'redis', 'flask_socketio', 'socket', 'hashlib', 'apscheduler', 'random', 'flask', 'uuid'}
DEBUG: Found imports: apscheduler, cacheout, colorama, Flask, flask_cors, flask_script, flask_socketio, GitPython, Jinja2, kubernetes, mysql_connector_repackaged, pynpm, PyYAML, redis, Requests, SQLAlchemy
DEBUG: Getting package information ONLY from local installation.
DEBUG: Writing 13 requirements: pynpm, Flask_Cors, Flask_Script, Jinja2, ~QLAlchemy, requests, Flask_SocketIO, kubernetes, redis, cacheout, colorama, APScheduler, Flask to ./requirements.txt
INFO: Successfully saved requirements file in ./requirements.txt

requirement.txt when run the cmd above
pynpm==0.1.2
Flask_Cors==3.0.7
Flask_Script==2.0.6
Jinja2==2.10
~QLAlchemy==1.3.15
requests==2.21.0
Flask_SocketIO==4.2.1
kubernetes==11.0.0
redis==3.2.1
cacheout==0.11.1
colorama==0.4.1
APScheduler==3.5.3
Flask==1.0.2

why do I get ~QLAlchemy==1.3.15

Hi! I know this is an old issue but could you provide a minimal setup to reproduce your error?

I got this persistent warning when running pip in python 3.9:
WARNING: Ignoring invalid distribution -qlalchemy (c:\programdata\anaconda3\lib\site-packages)
So I checked and I had a folder called ~qlalchemy-1.4.22.dist-info in my c:\programdata\anaconda3\lib\site-packages.  The tilde was getting reported in the warning as a -.  I'm not sure if this is part of that typosquatting attack mentioned above.  None of the contents of the folder seemed to be dangerous:

The only file contents that might be dangerous was in direct_url.json but its entire file contents is just the below, which just pointed to a nonexistent folder on my local drive:
{"dir_info": {}, "url": "file:///C:/ci/sqlalchemy_1626948551162/work"}
Anyway I deleted this folder and the warning went away.


feat: add delete bottom_sheet command

Feature Addition: Bottom Sheet Deletion Command
Overview:
This pull request introduces a new feature to the Stacked CLI tool, enabling users to delete bottom sheets using a designated command. With this enhancement, users can now efficiently manage their application's UI components, enhancing flexibility and productivity.
Feature Details:
Command Syntax:
The newly added command follows the syntax: stacked delete bottom_sheet <sheet_name>. Users can specify the name of the bottom sheet they wish to delete, streamlining the deletion process.
Functional Testing:
Rigorous testing has been conducted to ensure the reliability and effectiveness of the new feature. Various scenarios and edge cases have been examined to verify the robustness of the implementation.
Thanks for such an amazing framework :)

Thanks for flagging this. After checking the linting and testing pipeline, I noticed warnings from the dart analyze step regarding dead code and unused elements. These warnings seem unrelated to the PR changes and don't impact functionality.
Could you review these warnings? They don't affect the PR's functionality, and all features are functioning as required.

Hi @Neer-Pathak, thanks for the collaboration! I will fix those warnings later.

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

v1.13.0
GitHub release

Your semantic-release bot :package::rocket:


import cli

I imported the automerge-cli code over.  The "change" module will require significant changes do I commented it out for now.  For the rest I was able to get them compiling and running with minimum effort.
Hopefully this will be good enough to bring the tool back into the fold.

CI is failing because this introduces a transitive dependency on colored_json, which is licensed under EPL-2.0. I don't think this should be a problem for us as based on my understanding of the EPL this does not require us to do anything as we only depend on colored_json and don't modify it. @orionz does that sound reasonable to you? If so I can allow the EPL-2.0 license in deny.toml

Having said that, I think this would make us incompatible with anyone who wants to depend on us in a GPL licensed work (it's in here: https://www.gnu.org/licenses/license-list.html#GPLIncompatibleLicenses). That's probably okay as this is just the CLI, but I'm not sure.

Since the CLI is a standalone app and not a library they people link to this should be fine.  That said since this is a mono-repo we have to allow or deny to all apps.  Would be nice to just find an alternative to the offending library.


"Clear Console" Button

This pull request adds a new button to the top of the "Development Server" pane to clear the console.
It looks like this:

Hi @prasoc! Thanks for this. As I've been using Guppy, this has been probably the biggest pain point for me, so I'm super glad to see a contribution for it!
Sorry it's taken a couple days to get to the review.
The code looks great, the approach seems solid... the one thing I'd like to tweak is the design. Rather than float another button above the card, I think it makes sense to give the right side of the pane a heading:

This'll be helpful for us in the future when we want to support opening the logs in a new window (it can just be another button on the right side).
Could I trouble you to update the PR? If you don't want to spend too much more time on it, you could also just remove the UI changes entirely (like extraButtons) and I can work it into the UI after merge.

Couple other thoughts, after I hit "comment":

Don't worry too much about what size/colors/etc to use. I'm picky with designs so I'll likely do a quick pass afterwards. If you can just add the right components in the right places I can do the pixel-polishing.

It would be great to add it to the application menu (ApplicationMenu.js). We can also take the opportunity to give it a keyboard shortcut (⌘K, to match iTerm?). This last suggestion is more of a power-user feature, and so it's non-critical; if you can't spare the time, no problem at all.

Hi thanks for the review!
I will move it into the terminal output component, with an extendible implementation to support extra buttons in the future.
Will also look into the application menu support
Thanks
James

I have moved the functionality into the TerminalWrapper component to fit you design, and set-up the Cmd-K shortcut in the "Edit" menu, but it currently doesn't currently work

Thanks for updating, @prasoc!

set-up the Cmd-K shortcut in the "Edit" menu, but it currently doesn't work (it is commented out for the moment)

I see the action added to ApplicationMenu, but don't see any commented-out code; I'm guessing the issue was that the application menu doesn't have any info about the task in question?
There's a selector, getDevServerTaskForProjectId, that could be used here. We'd just need to find out what the current project ID is, but that can be retrieved from getSelectedProjectId in projects.reducer.js.
I'm alright if we want to cut that from the current PR and tackle it separately :)

Hi Josh
I have completed the changes requested and completely disbled ⌘K shortcut in the main application menu so I can add it into another pull request
Thanks
James

Hi @prasoc,
Super sorry that this went without a reply for so long :( My attention shifted to working on my React Rally talk, and I'm still getting caught up on everything that's gone on in the meantime.
Reviewing this PR now.


Help - "Expensify" is dark green in the "ExpensifyHelp" title

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
<IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Navigate to help.expensify.com

Expected Result:
It should be white
Actual Result:
"Expensify" is dark green in the "ExpensifyHelp" title
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

@adelekennedy  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

can reproduce but this is so small and outside of the project map I'll close


Solve the challenge using dynamic programming

Hello Mr. Jordan Ell,
My name is Tam Tran. After talking to Andrea, she asked me to complete this coding challenge as the recruitment process. I have solved it using dynamic programming algorithm. Please help me check the result.
Thank you,
Tam Tran

Thanks for the submission @TamTran72111 ! Our HR people will be in touch soon.


Schnee18 cv

Please check my CV. (Hope I did this right;)

Looks great
I am merging this document but consider adding to it

Mention OBW as your advanced training
Link to your projects on MS that you worked on.


Provide Linux ARM python wheels (for RPI)

Rerun should be building fine on Linux Arm(v8). We should provide python wheels that work on raspberry Pi out of the box.
This got requested here originally by @alsuren

#2111

continued at https://github.com/rerun-io/rerun/issues/2951


Selecting empty arrays vs. NULL values when using non-primitive inner-types OBJECT and GEO_SHAPE

CrateDB version
5.0.1
CrateDB setup information
docker run --rm -it --publish=4200:4200 crate/crate:5.0.1 -Cdiscovery.type=single-node -Ccluster.routing.allocation.disk.threshold_enabled=false

Steps to Reproduce
I am using this cratedb-check-empty-array.sh.
crash <<SQL
    DROP TABLE IF EXISTS testdrive;
    CREATE TABLE testdrive (details ARRAY(OBJECT));
    INSERT INTO testdrive (details) VALUES ([]);
    INSERT INTO testdrive (details) VALUES (NULL);
    REFRESH TABLE testdrive;
    SELECT count(*) AS count_array_is_null FROM testdrive WHERE details IS NULL;
SQL

Expected Result
IS NULL does not match empty arrays.
Actual Result
IS NULL also matches empty arrays. Regarding the example above, count_array_is_null is 2, as it matches both example records.
References

https://github.com/crate/crate/pull/12704
https://community.crate.io/t/cratedb-getting-the-count-of-null-values-excluding-empty-arrays/1245

Other than this, when invoking the reproduction program, you will find that the evaluation of the WHERE details = [] constraint croaks on CrateDB 4.7.3 and higher with
SQLParseException[Cannot search on field [details] since it is not indexed.]

It still works on CrateDB 4.6.7. Let me know if this should go into a different issue.

Btw. it works correctly when NOT using an array of objects but a non-composite inner type instead like e.g. ARRAY(INT).
 crash <<SQL
    DROP TABLE IF EXISTS testdrive;
    CREATE TABLE testdrive (details ARRAY(INT));
    INSERT INTO testdrive (details) VALUES ([]);
    INSERT INTO testdrive (details) VALUES (NULL);
    REFRESH TABLE testdrive;
    SELECT count(*) AS count_array_is_null FROM testdrive WHERE details IS NULL;
    SELECT count(*) AS count_array_equals_empty FROM testdrive WHERE details = [];
SQL

Hi again,
I've amended the title of this issue to better reflect the facts. Also, there is the cratedb-empty-array-special-type.py program now, which can be used to exercise the problem space.

python cratedb-empty-array-special-type.py null shows that the WHERE details IS NULL check only does not work correctly on ARRAY(OBJECT) and ARRAY(GEO_SHAPE) column definitions, where it includes both records (count(*)=2).

python cratedb-empty-array-special-type.py equality shows that the WHERE details = [] check croaks on ARRAY({IP,OBJECT,GEO_SHAPE,BIT}) column definitions.

IP: NullPointerException[Cannot invoke "org.apache.lucene.index.SortedSetDocValues.advanceExact(int)" because "docValues" is null]
OBJECT: SQLParseException[Cannot search on field [details] since it is not indexed.]
GEO_SHAPE: UnsupportedFeatureException[NYI: geo_shape]
BIT: UnsupportedFeatureException[NYI: bit]

With kind regards,
Andreas.

Hi @amotl, thanks for the detailed report!
In the first revision I saw report on OBJECT column having the same issue.
Also, IS NOT NULL has the same issue
SELECT count(*) AS count_array_is_null FROM testdrive WHERE details IS NOT NULL returns 0 instead of 1 (same for non-array OBJECT column, 0 instead of 1.)
Those issues have the same root cause so will be address in a single patch.


Fix a typo in position_at

I was wondering what was going on!  Now, we use the second hermite basis function instead of the first for acceleration.
Closes #21.

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #22   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         336    336
=====================================
  Hits          336    336

Impacted Files
Coverage Δ

src/lib.rs
100% <100%> (ø)
:arrow_up:

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 05f2189...254e460. Read the comment docs.