Service cannot start, (SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client)

Describe the bug
Since yesterday the  service became unavailable...
To Reproduce
Just restart the service/docker container...
Expected behavior
Service to run and display data, executes tests.
Environment (please complete the following information):

OS: docker container (both the original one from  ghcr.io/alexjustesen/speedtest-tracker:latest and lscr.io/linuxserver/speedtest-tracker:latest
Architecture: arm64
Browser: browser independent
Version: 0.16.5

Screenshots
not relevant
Logs
attached below.
Additional context
Add any other context about the problem here.
======
⏳  Generating an application key...
⚠  An application key was generated at start up, no environment variable was set.
👀  To set an application key that persists, read the docs: https://docs.speedtest-tracker.dev/
💰  Building the cache...
✅  Cache set.
🚛  Migrating the database...
[2024-02-21 06:28:45] production.ERROR: SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Please, report to the developers (Connection: mysql, SQL: select table_name as name, (data_length + index_length) as size, table_comment as comment, engine as engine, table_collation as collation from information_schema.tables where table_schema = 'speedtest_tracker' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name) {"exception":"[object] (Illuminate\Database\QueryException(code: 2054): SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Please, report to the developers (Connection: mysql, SQL: select table_name as name, (data_length + index_length) as size, table_comment as comment, engine as engine, table_collation as collation from information_schema.tables where table_schema = 'speedtest_tracker' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name) at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829)

[stacktrace]
#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(783): Illuminate\Database\Connection->runQueryCallback()
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(414): Illuminate\Database\Connection->run()
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(401): Illuminate\Database\Connection->select()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php(41): Illuminate\Database\Connection->selectFromWriteConnection()
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(165): Illuminate\Database\Schema\MySqlBuilder->getTables()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php(184): Illuminate\Database\Schema\Builder->hasTable()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(700): Illuminate\Database\Migrations\DatabaseMigrationRepository->repositoryExists()
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(140): Illuminate\Database\Migrations\Migrator->repositoryExists()
#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(248): Illuminate\Database\Console\Migrations\MigrateCommand->Illuminate\Database\Console\Migrations\{closure}()
#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(140): retry()
#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\Database\Console\Migrations\MigrateCommand->repositoryExists()
#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(84): Illuminate\Database\Console\Migrations\MigrateCommand->prepareDatabase()
#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(633): Illuminate\Database\Console\Migrations\MigrateCommand->Illuminate\Database\Console\Migrations\{closure}()
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(83): Illuminate\Database\Migrations\Migrator->usingConnection()
#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Database\Console\Migrations\MigrateCommand->handle()
#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call()
#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call()
#20 /var/www/html/vendor/symfony/console/Command/Command.php(326): Illuminate\Console\Command->execute()
#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\Component\Console\Command\Command->run()
#22 /var/www/html/vendor/symfony/console/Application.php(1096): Illuminate\Console\Command->run()
#23 /var/www/html/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#24 /var/www/html/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\Component\Console\Application->run()
#26 /var/www/html/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#27 {main}
[previous exception] [object] (PDOException(code: 2054): SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Please, report to the developers at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65)

[stacktrace]
#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(65): PDO->__construct()
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(44): Illuminate\Database\Connectors\Connector->createPdoConnection()
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#4 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1339): call_user_func()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(528): Illuminate\Database\Connection->getPdo()
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(423): Illuminate\Database\Connection->getPdoForSelect()
#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(816): Illuminate\Database\Connection->Illuminate\Database\{closure}()
#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(783): Illuminate\Database\Connection->runQueryCallback()
#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(414): Illuminate\Database\Connection->run()
#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(401): Illuminate\Database\Connection->select()
#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php(41): Illuminate\Database\Connection->selectFromWriteConnection()
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(165): Illuminate\Database\Schema\MySqlBuilder->getTables()
#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php(184): Illuminate\Database\Schema\Builder->hasTable()
#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(700): Illuminate\Database\Migrations\DatabaseMigrationRepository->repositoryExists()
#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(140): Illuminate\Database\Migrations\Migrator->repositoryExists()
#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(248): Illuminate\Database\Console\Migrations\MigrateCommand->Illuminate\Database\Console\Migrations\{closure}()
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(140): retry()
#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\Database\Console\Migrations\MigrateCommand->repositoryExists()
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(84): Illuminate\Database\Console\Migrations\MigrateCommand->prepareDatabase()
#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(633): Illuminate\Database\Console\Migrations\MigrateCommand->Illuminate\Database\Console\Migrations\{closure}()
#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(83): Illuminate\Database\Migrations\Migrator->usingConnection()
#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Database\Console\Migrations\MigrateCommand->handle()
#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call()
#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call()
#29 /var/www/html/vendor/symfony/console/Command/Command.php(326): Illuminate\Console\Command->execute()
#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\Component\Console\Command\Command->run()
#31 /var/www/html/vendor/symfony/console/Application.php(1096): Illuminate\Console\Command->run()
#32 /var/www/html/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#33 /var/www/html/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\Component\Console\Application->run()
#35 /var/www/html/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#36 {main}
"}
In Connection.php line 829:
SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Pleas
e, report to the developers (Connection: mysql, SQL: select table_name as      name, (data_length + index_length) as size, table_comment as comment,
engine as engine, table_collation as collation from information_schema.
tables where table_schema = 'speedtest_tracker' and table_type in ('BASE TA
BLE', 'SYSTEM VERSIONED') order by table_name)
In Connector.php line 65:
SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Pleas
e, report to the developers
s6-rc: warning: unable to start service laravel-automations: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
prog: fatal: stopping the container.

Can you please share your Docker Compose file?

I have the same problem here my compose file
dockercompose.txt

It is the new Mariadb which causes this problem (had the same error with Nextcloud)
change your docker.compose to:
  speedtestdb:
        container_name: speedtestdb
        image: mariadb:11.3.2
        command: --character-set-server=utf8

then it works

Came to report the same. I was on 0.16.5 and just tested 0.16.6 as well

@luckman212 try it as i described

@zackmuc, your proposed solution works perfectly! Thank you for the tip!

Yes @alexjustesen, I'm using :latest
I am trying (must be doing something wrong) to add the character-set-server=utf8 to my compose but it's not working. I think the version of docker compose on Synology may be too old (it uses docker-compose instead of docker compose)

Hmm I fiddled around with it enough and it's working now! I added character-set-server=utf8 as an environment var as well, not sure if that was necessary.
Thanks @zackmuc and @alexjustesen

I'm going to roll this up to the framework, I bet others are having this issue too.

@alexjustesen, for your information: people are working on a patch. See this link.
It seems to me that this in short term will be solved in a updated MariaDB image.

@alexjustesen, for your information: people are working on a patch. See this link.
It seems to me that this in short term will be solved in a updated MariaDB image.

Thanks for the link, I'm going to lock this issue because it's out of my hands and will close it when the base image is fixed.

Looks like the MariaDB team has resolved the issue with the latest build: https://github.com/MariaDB/mariadb-docker/issues/560#issuecomment-1958709372


audio only 941 or 940 buffer size for iphone 6s. causing the video to get out of sync.

Hi,
Im using the iphone 6s and the audio from the internal mic works differently, it sends out smaller buffers which causing the video to get out of sync
What should I do in order to fix it, I know its should be somewhere here:
CMBlockBufferRef blockBuffer = CMSampleBufferGetDataBuffer(sampleBuffer);
CFRetain(blockBuffer);
OSStatus status = CMBlockBufferGetDataPointer(blockBuffer, 0, NULL, &_pcmBufferSize, &_pcmBuffer);
NSError *error = nil;
if (status != kCMBlockBufferNoErr) {
error = [NSError errorWithDomain:NSOSStatusErrorDomain code:status userInfo:nil];
}
NSLog(@"PCM Buffer Size: %zu", _pcmBufferSize);
    memset(_aacBuffer, 0, _aacBufferSize);
    AudioBufferList outAudioBufferList = {0};
    outAudioBufferList.mNumberBuffers = 1;
    outAudioBufferList.mBuffers[0].mNumberChannels = 1;
    outAudioBufferList.mBuffers[0].mDataByteSize = _aacBufferSize;
    outAudioBufferList.mBuffers[0].mData = _aacBuffer;
    AudioStreamPacketDescription *outPacketDescription = NULL;
    UInt32 ioOutputDataPacketSize = 1;
    status = AudioConverterFillComplexBuffer(_audioConverter, inInputDataProc, (__bridge void *)(self), &ioOutputDataPacketSize, &outAudioBufferList, outPacketDescription);
    NSLog(@"ioOutputDataPacketSize: %d", (unsigned int)ioOutputDataPacketSize);
    CMTime pts = CMSampleBufferGetPresentationTimeStamp(sampleBuffer);

Got the same issue for me.

Our team fix this issue.
In KFAACEncoder.m, set mSampleRate to 48000 both in outAudioStreamBasicDescription and inAudioStreamBasicDescription when setupAACEncoderFromSampleBuffer. We think this is a bug of IOS SDK.

this is how i resolve this problem:
static OSStatus inInputDataProc(AudioConverterRef inAudioConverter,
UInt32 *ioNumberDataPackets,
AudioBufferList *ioData,
AudioStreamPacketDescription **outDataPacketDescription,
void *inUserData)
{
AACEncoder *encoder = (__bridge AACEncoder *)(inUserData);
if(encoder.inBufferList.mBuffers[0].mDataByteSize > 0)
{
ioData->mBuffers[0].mNumberChannels = 1;
ioData->mBuffers[0].mData = encoder.inBufferList.mBuffers[0].mData;
ioData->mBuffers[0].mDataByteSize = encoder.inBufferList.mBuffers[0].mDataByteSize;
encoder.inBufferList.mBuffers[0].mDataByteSize = 0;
encoder.inBufferList.mBuffers[0].mData = NULL;
*ioNumberDataPackets = 1;
return noErr;
}
else
{
encoder.inBufferList.mBuffers[0].mDataByteSize = 0;
encoder.inBufferList.mBuffers[0].mData = NULL;
*ioNumberDataPackets = 0;
return -1;
}
}

(void) encodeSampleBuffer:(CMSampleBufferRef)sampleBuffer
{
CFRetain(sampleBuffer);
dispatch_async(self.encoderQueue, ^{
if (!_audioConverter)
{
[self setupAACEncoderFromSampleBuffer:sampleBuffer];
}
  NSError* error = nil;
  CMBlockBufferRef blockBuffer = CMSampleBufferGetDataBuffer(sampleBuffer);
  OSStatus status = CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer(sampleBuffer,
                                                                            NULL,
                                                                            &_inBufferList,
                                                                            sizeof(_inBufferList),
                                                                            NULL, NULL, 0, &blockBuffer);
  if (status != noErr)
  {
      error = [NSError errorWithDomain:NSOSStatusErrorDomain code:status userInfo:nil];
      NSLog(@"===error1:%@",error);
  }

//        CMBlockBufferRef blockBuffer = CMSampleBufferGetDataBuffer(sampleBuffer);
//        CFRetain(blockBuffer);
//        OSStatus status = CMBlockBufferGetDataPointer(blockBuffer, 0, NULL, &_pcmBufferSize, &_pcmBuffer);
//        NSError *error = nil;
//        if (status != kCMBlockBufferNoErr) {
//            error = [NSError errorWithDomain:NSOSStatusErrorDomain code:status userInfo:nil];
//        }
//        NSLog(@"PCM Buffer Size: %zu", _pcmBufferSize);
......................................
......................................
......................................
CFRelease(sampleBuffer);
CFRelease(blockBuffer);
});
}

I used your method , but still there is noise . Is there a way to solve it ?

I have the same error. How can we solve this? working well in ipods, ipads, and old iphones, but not working for iphone 6s. The audio is very noisy.

same issue here

@dkarsh @merlinnetpower @pablogeek @urit @BhaveshKumbhani I suggest you and everyone else who is having this problem with 6s/6s plus (maybe ipad air 2?) to check this commit from a fork of openKickflip:

https://github.com/AndriiSosna-bMuse/openkickflip-ios-sdk/commit/090cd45cfe95da950626da109a9aac3c5ae413aa

The only file that need changes is KFAACEncoder.m;
Streaming recorded with iPad 2 and iPhone 6s plus are flawlessly reproduced in every device I tested (Android 5.1, iPhone 5s, OSX Safari & Chrome)

@Arlem It is working better (getting less errors) I was getting 5 of 10 samples with errors, now I get 1 of 10.

@Arlem Still not working for me. Even implementing this.


Update autogen dependency

Should not affect any usage

Tested. Worked.

Hi, when I did pip install trace-opt it installed autogen v0.4 instead of autogen v0.2
 - Installing autogen-agentchat (0.4.0.dev6)

Steps to reproduce:
poetry new
poetry shell
poetry add trace-opt

or
pip install trace-opt

Hi @sameersegal
I wasn't able to reproduce it. I did
conda create -n test-trace python=3.9
conda activate test-trace
pip install trace-opt
pip show autogen-agentchat

and I got
Name: autogen-agentchat
Version: 0.2.38
Summary: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework
Home-page: https://github.com/microsoft/autogen
Author: AutoGen
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /home/chinganc/miniconda3/envs/test-trace/lib/python3.9/site-packages
Requires: diskcache, docker, flaml, numpy, openai, packaging, pydantic, python-dotenv, termcolor, tiktoken
Required-by: trace-opt


[BUG] warnin in string functions about a missing first_defined function

Describe the bug
A clear and concise description of what the bug is.
hello,
i am using some of the string functions and i get a
WARNING: Ignoring unknown function 'first_defined', in file ../../../.local/share/OpenSCAD/libraries/BOSL2/strings.scad, line 324.
(just pulled again if ther ewas a change, but its still present....
Code To Reproduce Bug
// Code goes here.

called by funcs somewhere inside that one:
function sanitize(designator) = let (
match =(str_find(designator,"-ext") > 0 ) ?
str_find(designator,"-ext") :
(str_find(designator,"-int") > 0)?
str_find(designator,"-int") :
0)
(match > 0) ?  substr(designator, 0, match) : designator;
Expected behavior
A clear and concise description of what you expected to happen.
the warning to disappear?
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

OpenSCAD Version: nightly build
Other libraries used: unsed inside my version of threadlib, depends also on <IoP-satellite/OpenSCAD_bottle_threads/thread_profile.scad>

20.07.06 nightly?
hmmm indeed strange...


Abstractions

Design the app so we are able to swap out implementations of providers and mix and match.
E.g Allow use of OpenAI, Llama, Dolly , Hugging face models etc.
Application should be configurable so you may choose provider per feature, i.e use OpenAI for image generation and Llama or some other LLM for text completion for instance.

We will do this once we have implemented OpenAI to begin with, keep it simple for everyone to begin with.

Hi @jodendaal   I’m the maintainer of LiteLLM (abstraction to call 100+ LLMs)- we allow you to create a proxy server to call 100+ LLMs, and I think it can solve your problem (I'd love your feedback if it does not)
Try it here: https://docs.litellm.ai/docs/proxy_server
https://github.com/BerriAI/litellm
Using LiteLLM Proxy Server
import openai
openai.api_base = "http://<IP_ADDRESS>:8000/" # proxy url
print(openai.ChatCompletion.create(model="test", messages=[{"role":"user", "content":"Hey!"}]))

Creating a proxy server
Ollama models
$ litellm --model ollama/llama2 --api_base http://localhost:11434

Hugging Face Models
$ export HUGGINGFACE_API_KEY=my-api-key #[OPTIONAL]
$ litellm --model claude-instant-1

Anthropic
$ export ANTHROPIC_API_KEY=my-api-key
$ litellm --model claude-instant-1

Palm
$ export PALM_API_KEY=my-palm-key
$ litellm --model palm/chat-bison


Loading screen too long since Beta 17

Godot version
Godot 4 RC 5
System information
Windows 11, i5, surface pro 8, 8go RAM, Iris X
Issue description
I had the loading white screen issue before that has been fixed since the beta 10, but since the beta 17 the loading screen is still extremely long (around 15 to 20 seconds) on surface pro 8 and other laptop I have tried it on with no gpu.
On my gaming pc (with i5 and 3060RTX) it works like a charm, though.
Here's a video to show the issue:
https://user-images.githubusercontent.com/88930512/221343265-e3084a0d-dfbd-41c4-b8a7-8e6f2e0a6dde.mp4
Steps to reproduce
Just open Godot on a surface pro, or other laptop with no gpu on it.
Minimal reproduction project
N/A

How does loading your full project compare to opening a simple project or a new project?
From the video it looks like the project manager starts up very fast, so it would be very helpful to identify what elements are making the editor load so slowly. It could be loading resources, or loading scripts etc.

Hello Clayjohn,
I've recorded a video where I'm creating a new project without any texture nor script and loading the scenes, it has the same issue.
https://user-images.githubusercontent.com/88930512/221344783-59f5c64d-29da-4673-9566-abc731708f73.mp4

Just to show you: in Godot Beta 16 i was not having that problem:
https://user-images.githubusercontent.com/88930512/221345397-071e7949-9f5e-4f29-bb46-753073ba24d9.mp4
it's only since beta 17 that it has started. At that time I didn't report this as I thought it was a potential temporary regression or something like that, but Godot RC 5 is there and it still has that problem.

Just tested RC6 and the regression is still there unfortunately.
https://user-images.githubusercontent.com/88930512/221548187-2993f5d7-32ba-426b-bde8-7619c1caa19a.mp4

Update about Godot 4: the waiting time is gone now! I don't know where the problem was and what has been done but thanks! :)
https://user-images.githubusercontent.com/88930512/222346471-e75510f1-5f3e-4a98-8b08-e34feaea9580.mp4


Apply maven extensions only if project doesn't have them

Closed in favor of https://github.com/gradle/develocity-bamboo-plugin/pull/107


CCI 2.0

Migrate to CircleCI 2.0
Motivation
CircleCI 2.0 has been released and 1.0 is deprecated.
The benefits of using CircleCI 2.0 compare to 1.0 include: much faster builds, much more convenient and flexible caching, custom build images.
Changes

Migrate to CCI 2.0
Using official stack build image fpco/stack-build
Better caching strategy (fallback caches)
Introduced build workflow (see below)

Workflow
CircleCI 2.0 supports Workflows which allow splitting the build process into semi-independent parts.
The workflow proposed in this PR (called full-cycle) does:

Run the main eta build process
When build succeeds, run the following steps in parallel:

Runs eta tests (which includes building tons of packages and currently has a long history of failures)
Build/release Eta/Etlas docker container (release will only happen for the master branch)
Triggers build on other projects (only happens in master)

The workflow is defined as:
  full_cycle:
    jobs:
      - build

      - test:
          requires:
            - build

      - release_container:
          requires:
            - build
          filters:
            branches:
              only: master

      - dev_container:
          requires:
            - build
          filters:
            branches:
              ignore: master

      - trigger_builds:
          requires:
            - build
          filters:
            branches:
              only: master

Room for improvements

The build process can be improved further by figuring out better integration between caches and git submodules. I have never used git submodules in my projects (I generally prefer publishing and reusing artifacts instead) so it is not done for this build.

Looking good! I'll merge as soon as the build fails at a similar point as the previous failures.

These test steps are failing for a long time before my PR (checked CCI history). Looks like eta cannot build one of the sources of one of the packages.
Please correct me if I am wrong and I broke something, because I could ;)

No mistake on your side. We need to update some of the patches on eta-hackage, which should fix it. Thanks for the upgrade! Merging.


WalletConnect error

Hi, I've been working on a few bounties for Shanghai Hackathon and found the following glitch. When I am logging into the app using WalletConnect, I am getting the following error. Have no issues logging in with any other wallet.
Unhandled Runtime Error
Error: PollingBlockTracker - encountered an error while attempting to update latest block:
undefined

Call Stack
PollingBlockTracker._performSync
node_modules/eth-block-tracker/src/polling.js (51:0)

Also for MetaMask and WalletConnect, when trying to have a chat between them, I am getting the following error, it says that WalletConnect user is not on xmtp network.
Unhandled Runtime Error
Error: Recipient 0xfC... is not on the XMTP network

Call Stack
Conversations.eval
<EMAIL_ADDRESS>(79:0)
Generator.next
<anonymous>
fulfilled
<EMAIL_ADDRESS>(4:42)

@timofeli with this one:

Also for MetaMask and WalletConnect, when trying to have a chat between them, I am getting the following error, it says that WalletConnect user is not on xmtp network.

In this case are you using two different browsers? And are you sending messages between two distinct addresses? Or the same account logged in with two different methods?

@timofeli just an update on my end—I was just able to sign in with WalletConnect to the example chat app that's deployed at https://xmtp.netlify.app. Can you test to see if you're able to do the same on that URL?

@galligan yes, I was using two different browsers and two distinct addresses.
Sure, will try it there, thank you.

@galligan had no issues connecting on netlify, maybe it has something to do with me connecting with meta mask before

@galligan had no issues connecting on Netlify, maybe it has something to do with me connecting with meta mask before

I'm wondering if it might be some sort of Infura configuration error then

@galligan I'll check it, thanks again!

@galligan I'll check it, thanks again!

Sounds great. Let us know if you continue to experience the issue and we can escalate on our end.

@galligan I'll check it, thanks again!

Sounds great. Let us know if you continue to experience the issue and we can escalate on our end.

Hi, I'm working on Shanghai Hackathon and tried to run this chat on my end.
I use MetaMask and Ropsten testnet and connecting wallets works well.
But once I input the account address of another one, it shows
"Recipient is not on the XMTP network" error.
I also try to use https://xmtp.netlify.app/ but it also shows above message.
How can I resolve this? I'm using Google Chrome.

thanks for submitting this issue. That issue is a temporary (by design) implementation where recipients mist be "known" the network, i.e. have signed in through a client on XMTP.
if you have the target recipient sign in, the error will go away.

After some investigation, we uncovered an issue in our testnet environment. The issue has been resolved so this should be working as expected now! @timofeli @haCryptoha

The issue we resolved with the testnet would explain the second issue @timofeli was experiencing, but not necessarily the first. Are you able to confirm the app is working as expected now?

@neekolas yes, it's working as expected, thank you!


Title: Updating Readme

Is your feature request related to a problem? Please describe.
Making the readme more interactive by adding demo and screenshots , aligning elements as well as making it more informative.
Please assign this issue to me I want to work on it and contribute to the community.
Describe the solution you'd like.
I what to add a brief description about this platform enabling user to get more information about it.
Describe alternatives you've considered.
We can add descriptive screenshots of the website so that the user can help themselves.
Add any other context or screenshots about the feature request here.
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign

Please assign this issue to me. @arora-jasjot

Sure @Atulsingh30


[FEATURE]: Next Auth Adapter package

Describe want to want
Not exactly a feature related to drizzle itself, more of just a low-priority wishlist, but it would be amazing if there was an official standard drizzle adapter for us to use which also documents the drizzle schema for users to copy-paste that matches the schema required for next auth/auth.js to work seamlessly. It's a common enough problem which would help everyone I think.
e.g. Something similar to what's documented for Prisma: https://authjs.dev/reference/adapter/prisma

Seems like someone is working on it already here:
https://github.com/nextauthjs/next-auth/pull/7165

There a drizzle addapter for next-auth https://authjs.dev/reference/adapter/drizzle


Feature request: Decline/End Call

Hi,
would be wonderful when there was a way to end the currently incoming call/ring.
For example when the door was opened without anybody answering the call, it still continues ringing for the full minute.
If that service was provided you could attach an "end call" to the door opened event or at least have some button in home assistant to manually decline it afterwards.
Thanks again for your nice integration, we are using it every day!

Hi, sadly it is not currently possible.

Hi Anis,
First of all I really love your implementation 😉
But as it seems, I’m not the only one asking for this.
Is there a way (or location) where we could ask this to be implemented in the API.
Maybe if enough people ask it, UI could implement it?
Filip Heens
ICT Consultant
Tel: +3224865090
[Patronale Life b.png]
Patronale Life N.V.
Verzekeringsonderneming toegelaten onder code 9081, onder toezicht van de NBB
Entreprise d’assurance agréée sous le code 1642 - Sous la surveillance de la Banque Nationale Belge
Bld. Bischoffsheimlaan 33, B-1000 Brussel / Bruxelles
www.patronale-life.be
This e-mail and any attached files are confidential and may contain information which is protected by intellectual property rights. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication (including any attachment) is prohibited. If you have received this e-mail in error, please notify the sender immediately and destroy this e-mail and any copies from your system. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, and shall have no liability for any loss or damage suffered by the user, which arise as a result of e-mail transmission. The sender is validly committed only if the content of this e-mail has been accepted in writing and signed by an authorized representative, in accordance with the applicable rules on the delegation of powers.
From: Anis Kadri @.>
Sent: zaterdag 1 juni 2024 21:06
To: imhotep/hass-unifi-access @.>
Cc: Subscribed @.***>
Subject: Re: [imhotep/hass-unifi-access] Feature request: Decline/End Call (Issue #38)
External mail
Hi, sadly it is nothttps://github.com/imhotep/hass-unifi-access/issues/37 currently possible.
—
Reply to this email directly, view it on GitHubhttps://github.com/imhotep/hass-unifi-access/issues/38#issuecomment-2143551558, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXJWG4Q75KZX6H5JAIGVWULZFILP5AVCNFSM6AAAAABIRZ6CX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGU2TCNJVHA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@filip-heens you could add your request in the UI forums, for example here:
https://community.ui.com/questions/Auto-cancel-call-after-X-Seconds/d3e1ce8f-b776-4a92-ba71-a708fec41aa8#answer/bbbd4a06-33df-46e6-9a59-42a167e10d10
They seem to actively read it and at least a few times I saw "I'll relay the request to our development team", no idea if ever something came out of that ;)

Thanks, I added a comment 😉
I hope they read it and do something with it 😃
Filip Heens
ICT Consultant
Tel: +3224865090
[Patronale Life b.png]
Patronale Life N.V.
Verzekeringsonderneming toegelaten onder code 9081, onder toezicht van de NBB
Entreprise d’assurance agréée sous le code 1642 - Sous la surveillance de la Banque Nationale Belge
Bld. Bischoffsheimlaan 33, B-1000 Brussel / Bruxelles
www.patronale-life.be
This e-mail and any attached files are confidential and may contain information which is protected by intellectual property rights. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication (including any attachment) is prohibited. If you have received this e-mail in error, please notify the sender immediately and destroy this e-mail and any copies from your system. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, and shall have no liability for any loss or damage suffered by the user, which arise as a result of e-mail transmission. The sender is validly committed only if the content of this e-mail has been accepted in writing and signed by an authorized representative, in accordance with the applicable rules on the delegation of powers.
From: philipp2310 @.>
Sent: zondag 2 juni 2024 8:55
To: imhotep/hass-unifi-access @.>
Cc: Filip Heens @.>; Mention @.>
Subject: Re: [imhotep/hass-unifi-access] Feature request: Decline/End Call (Issue #38)
External mail
@filip-heenshttps://github.com/filip-heens you could add your request in the UI forums, for example here:
https://community.ui.com/questions/Auto-cancel-call-after-X-Seconds/d3e1ce8f-b776-4a92-ba71-a708fec41aa8#answer/bbbd4a06-33df-46e6-9a59-42a167e10d10
They seem to actively read it and at least a few times I saw "I'll relay the request to our development team", no idea if ever something came out of that ;)
—
Reply to this email directly, view it on GitHubhttps://github.com/imhotep/hass-unifi-access/issues/38#issuecomment-2143724006, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXJWG4W3TUCFBLQPCLHD4ILZFK6THAVCNFSM6AAAAABIRZ6CX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTG4ZDIMBQGY.
You are receiving this because you were mentioned.Message ID: @.***>


Deploying playbook to GitHub enterprise shows blank screen when loading

Went through build setup instructions using unmodified code. Can execute 'npm run dev' and runs locally ok. Unit and e2e test failed with "playbook" <> "Git Playbook"  error message.
Can execute 'npm run gh-pages' but when attempting to load it shows a blank screen. Viewing page source shows it has loaded page with "This is your fallback content in case JavaScript fails to load". Repo named 'git-playbook'.

there is a hard-coded git-playbook reference in config/index.js which needs to be changed to your path. Please try that out. Thanks

I changed the path to be the name of my repository, but I am still having the same error. Could you clarify by what you mean by the path? Thanks.

e.g. this repo here runs on https://github.com/thomasreinecke/git-playbook, so the GH pages were deployed against https://thomasreinecke.github.io/git-playbook/#/playbook. The String on line 12 needs to be changed to whatever your repo is (I assume you also try to deploy against GH pages, right?). This should do the trick

I am using GHE and also see the BLANK page issue. The resolution is change '/git-playbook/' to '/GHE-username/repo-name/'


Login by Username

Is your feature request related to a problem? Please describe.
I'm using subdomains for all my services and a password manager which has saved my password for the main domain.
On all my other services I can login with my password manager, just not with speedtest-tracker
Describe the solution you'd like
I'd like to be able to login with a Username as well or instead

Password managers should work, not sure which you're using but Chrome's PW manager and 1Password both work for me when logging in. Just add your sub-domain to your list of urls the account is valid on and that should be fine.

Also regarding username vs. email login I'm going to stick to email based as its the standard for the underlying framework.

The problem is more that my password manager can't have both a username and an email (for one domain) and differentiate between when to use which for a given subdomain.


Fix arm64 upgrades for dev env

What this PR does / why we need it:

Which issue(s) this PR fixes:

Does this PR require a test?

NONE
Does this PR require a release note?

NONE

Does this PR require documentation?

NONE

Merging as this only affects dev env.


Syntax highlighting for all keywords

It would be probably be good to have syntax highlighting for all of the keywords. It is now easy to incidentally introduce a constant called for example comp and one then ends up getting a parse error. It would be better if comp was colored nicely in the emacs mode so that one see directly that it is a keyword.

How can one get operations like comp or transport to be colored differently from special keywords like data or import?


Add SQL Queries and Subqueries audio file

Description 📜
Added the audio file for sql queries and subqueries
Fixes #7743

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] Database

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@Ash515 can you please review my PR


Add possibility to disable shuffling of Inputs, Outputs

transaction builder: added properties ShuffleInputs, ShuffleOutputs to disable shuffling of inputs and outputs

can you rebase this PR?


Add troubleshooting section

Adding troubleshooting section for Rancher itself and Kubernetes cluster components.

This (https://github.com/rancher/docs/pull/1053) is merged


 It introduces the .go-version file to specify the Go version.

I noticed that when building with the new Go version using make build, some CRD YAML files undergo modifications. It appears these changes were inadvertently included in my commit. Can you confirm if this is expected behavior?


localHydroProxy files lost during file migration

@dtarb @hyi @mjstealey @mseul @aphelionz
When I wrote the ResourceFile fix, I didn't account for a category of files for which there are few instances. I accounted for:

local data resources, accessed by the HydroShare proxy user.
federated resources, accessed via a federation path and federated proxy user.

I did not account for a third category of resources, that are stored on the local user server, but accessed through a different proxy account (like localHydroProxy). These look a lot like federated resources, but there is one important difference: Their paths are dynamically generated based upon deployment setup, and not fixed. They also live on our servers rather than on federated servers.
Thanks to @mjstealey  who just spent an hour with me and helped me get to the bottom of this.
In short, in the ResourceFile makeover, I mistakenly treated these as federated resources, and because of this difference, they became inaccessible. There are about 20 of these. Fortunately, these resources are easily recognizable via the embedded keyword localHydroProxy in their paths.
Fix is to treat them differently than federated resources, creating a flag that indicates that their access paths should be dynamically generated. Thus, these resources do not have a resource_federation_path (which by definition is statically defined), but instead, a Boolean flag that marks them as in the local user proxy zone, from which their paths can be dynamically constructed via setup information.
Otherwise, their files look like files of local resources.

@alvacouch @mjstealey I don't quite understand this third category of resources described and don't quite understand what local user server means in this context. But it looks like deployment-related, so if you all figured out a way to work around or fix this, it is good.

@hyi @pkdash @mjstealey @dtarb
See PR #2051 for a hotfix to fix this for 1.10.0. It does nothing in a production environment but it makes testing on alpha, beta, ... work for user-zone files. It implements @hyi's suggestion about rewriting the user zone paths in testing environments.
The purpose of this PR is to eliminate confusion from broken user-zone resources that aren't really broken in production.

This issue is completely addressed, but there is more work to be done on avoiding embedding what are essentially configuration constants into file paths. See issue #2104.


[c++] Parameterize schema-creation unit-test helpers

Issue and/or context: This is a line-count-reducing under-diff following on #2936 for issue #2407 / [sc-51048].
The intended Python and R API changes are all agreed on and finalized as described in #2407.
Changes:
Some prep for having variant-indexed dataframe objects in libtiledbsoma test so that #2916 and #2917 can be unit-tested.
This will get put to work for other datatypes on #2916 and #2917.
Notes for Reviewer:
#2785 is unreviewable as-is: besides being a WIP, it's an all-in-one experimental area. Smaller PRs such as this one are being offered for manageable review.

Leaving this in draft until I address unit-test failures


Recursive clone not possible du to permission denied

I thought the keys are only important when I upload something to github, but I am getting this error when trying to clone as described:
git clone --recursive git@github.com:Kaljurand/K6nele-service.git
Cloning into 'K6nele-service'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Just for the next one to know:

Add github account to Android studio:
https://stackoverflow.com/questions/68659576/how-to-add-a-github-account-in-android-studio-artic-fox

Add public key to github account (under settings)

Yes, it's a known issue to which I don't have a good solution yet. The issue being that convenient read-only cloning on the command line requires authentication via a GitHub account.
The problem is that .gitmodules specifies the speechutils-URL using the git@github notation, which in turn requires authentication.
One work-around (which is maybe not acceptable in all use cases) is:
git clone git://github.com/Kaljurand/K6nele-service.git
cd K6nele-service/
git clone git://github.com/Kaljurand/speechutils.git
cd speechutils/
git checkout e1ce5d5 # this must point to the currently used changeset of speechutils


ARROW-4615: [C++] Add checked_pointer_cast

Seems there are various CI failures.

@pitrou CI failure are now fixed.


ERROR_CODE_INTERNAL_ERROR

Hi @sbugert
I am using RN v0.31 ， Android Genymotion

Ads are appearing when adUnitID="ca-app-pub-3940256099942544/2934735716" 。
I changed adUnitID to "ca-app-pub-3940256099942544/1033173712" then No Ads are appearing。
Console log say “ERROR_CODE_INTERNAL_ERROR”。

Why did you change it in the first place?
The test ad unit id ca-app-pub-3940256099942544/1033173712 is only for interstitial ads.
Reopen the issue if I misunderstood the problem.

Having the same issue.
I have two different unitID's - one for iOS and one for Android.  The iOS (first to be implemented) works and the Android doesn't. It is not an interstitial ad.

I aslo have this error when changing ca-app-pub for my own (VideoReward). With testing or even prod interstitial ca-app-pub the ad is showing

Having the same issue.

Having the same issue,has anyone solved this problem?

I changed ad id,then it works.maybe you can change your ad id,
https://developers.google.com/admob/android/test-ads


Move network-accessing fixtures init into a pytest fixture

Move the OSHFixtures class into a pytest fixture to defer initializing it (and therefore accessing the Internet) until the relevant test functions are called.  This makes it possible for pytest.mark.online to correctly skip them.  It also avoids initializing the fixtures class multiple times -- now it should be initialized once per session.
While at it, move the global functions into the OSHFixtures class.  It would need to access the class members anyway, and this seems cleaner than passing its instance explicitly.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.007%) to 60.149%

Files with Coverage Reduction
New Missed Lines
%

owslib/iso3.py
1
79.04%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.007%

Covered Lines:
8561

Relevant Lines:
14233

💛  - Coveralls


ISPN-5142 Cross site state transfer - retry mechanism not working correc...

...tly
https://issues.jboss.org/browse/ISPN-5142

PR updated @danberindei

Integrated, thanks Pedro!


Add Windows Support (C++)

Describe the Feature
Add support for React Native Windows apps.
Possible Implementations
Follow the documented steps for adding Windows support to a community native module.
Related Issues
n/a

i am working on this.


Version Parse does not support suffix after a dot

Enable  suffix after a dot ( 1.2.3.Final )
suggested updated REGEX -
/^(?<major>[0]|[1-9]+[0-9]*|[*])((\.(?<minor>[0]|[1-9]+[0-9]*|[*]))(\.(?<patch>[0]|[1-9]+[0-9]*|[*]))?)?(\-|.(?<pre>[0-9A-Za-z\-\.]+|[*]))?(\+(?<build>[0-9A-Za-z\-\.]+|[*]))?$/gm
I added . for group 7 (instead of just - )

This is not a valid SemanticVersion. Pre-release identifiers MUST be separated by a hypen ("-"), and build metadata MUST be separated by a plus ("+") as by the SemVer spec.
As of now SemVer doesn't have provisions for "Final" versions and a final version would simply be the highest version available. Though I'd argue that, even though it's a bit iffy at best and wrong at worst, you could use the build metadata field for that. So, the correct style for the version you wrote would be: 1.2.3+Final


Updating minimum resource requirements to allow Istio to start

his is still significantly less than the documented requirements for master and worker nodes. I also fixed the formatting of the README.md to pass the Markdownlint tests.
Resolves #237.
Signed-off-by: Avi Miller<EMAIL_ADDRESS>

Fair call. Though, we need to acknowledge that the resource requirements are cumulative. Keep in mind that the documented minimums are supposed to be 16GB for the master and 8GB per worker, so this is still significantly less than what we document.

Plus, I'd like to bring to the discussion the fact that IF the purpose of this Vagrantfiles is to allow developers to use the environment for dev purposes, some features should be disabled like "zero-impact upgrade process" (single replica for Istio pods) and taint removed from master (to reduce the number of VMs. IF this OLCNE Vagrantfile is not for Devs, but for Admins to test OLCNE capabilities without having to install it, it makes total sense to keep it the way it is. In that case I'll propose a new Vangratfile for developers to use OLCNE. (Something lightweight like minikube)

In my head, the purpose of the Vagrant files is to "kick the tyres" of Oracle products, i.e. to see what functionality they provide out-of-the-box but in a smaller environment that can't actually support production workloads. As such, the fact that Istio is HA by default is something that needs to be demonstrated (it's a feature).
I don't consider these Vagrant boxes useful for the developer use-case because that's not how they've been designed. OLCNE itself is not designed as a "single box" solution at all.
However, I also understand the scale of these things and I know requiring 15GB for the smallest possible install is unfeasible.
These are all good points. We'll need to end up somewhere in the middle. What I really want to try and avoid though is hacking the product for our purposes. That's not a sustainable model downstream. I want to limit our choices to tunables that are presented by the product specifically.

Closing this as unfeasible. The requirements are too high. We need to reconsider how to offer OLCNE in a more resource-frendly way.


The following build commands failed

CompileC /Users/yunzhaoliu/Desktop/abc/myApp/ios/build/Build/Intermediates/AirMaps.build/Debug-iphonesimulator/AirMaps.build/Objects-normal/x86_64/RCTConvert+AirMap.o AirMaps/RCTConvert+AirMap.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
my reactnative version:0.51

@lyz1991 Go through the linking process manually -- don't rely on / trust react-native-link react-native-maps.
For me, this was the issue. I manually added AirMaps.xcodeproj to my XCode project's Libraries folder, the AirGoogleMaps folder to the root directory of the project, added LibAirMaps.a to Linked Frameworks and Libraries and have pod 'GoogleMaps' in my Podfile.

Delete ios/build folder

@wkoutre
I have done what you say，but I get more wrongs
such as
In module 'MapKit' imported from /Users/yunzhaoliu/Desktop/abc/myApp/node_modules/react-native-maps/lib/ios/AirMaps/RCTConvert+AirMap.h:7:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h:13:5: note: 'MKMapTypeStandard' declared here
MKMapTypeStandard = 0,
^
1 error generated.
CompileC /Users/yunzhaoliu/Desktop/abc/myApp/ios/build/Build/Intermediates/AirMaps.build/Debug-iphonesimulator/AirMaps.build/Objects-normal/x86_64/RCTConvert+AirMap.o AirMaps/RCTConvert+AirMap.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/test.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

@alvelig
Can the conponents support GeoCode ?

You can use this component, for example: https://github.com/devfd/react-native-geocoder

Hello,
I am having almost the same issue I guess :
The following build commands failed: 	CompileC build/Build/Intermediates.noindex/we_are_open.build/Debug-iphonesimulator/we_are_open.build/Objects-normal/x86_64/AppDelegate.o we_are_open/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
I tried to remove de ios/build folder and run again : react-native run-ios and same error as above.
I am getting more errors due to this I guess
The following commands produced analyzer issues: 	Analyze Base/RCTModuleMethod.mm normal x86_64 (1 command with analyzer issues)
Installing build/Build/Products/Debug-iphonesimulator/we_are_open.app An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22): Failed to install the requested application The bundle identifier of the application could not be determined. Ensure that the application's Info.plist contains a value for CFBundleIdentifier. Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/we_are_open.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist
thanks for help

@wkoutre how do you manually add LibAirMaps.a?  I can't find it anywhere.


its not working?!

It taking forever. I put a song on from my drive and upload it to the music player and it wont load and it just stays there saying loading info _

Its doing the exact same thing to me.


Catch code that immediately follows a comment, fixes #9

I noticed that code on the line after comment wasn't captured in the context:
/**
 * Some comment
 */
var someCode;

I was just able to start the context search one line sooner to catch this.
I also added another test to make sure comments following comments weren't captured as code context.

Published as 0.8.6 on npm. thanks again!


Date input doesn't render properly in some browsers

Bug, feature request, or proposal:
Several modern browsers (Firefox, IE, Safari) do not natively support the date input.
Does (or will) Material2 provide the needed shims for this?
What is the expected behavior?
date inputs should consistently render across browsers.

What is the current behavior?
date input doesn't render into anything meaningful on non-Chrome browsers (below: Firefox)

What are the steps to reproduce?
<md-input type="date"></md-input>

http://plnkr.co/edit/nL8iy9hJ2usy8sfPOZsN?p=preview
What is the use-case or motivation for changing an existing behavior?
As a UI framework, I think it's appropriate to say that Material is responsible for ensuring consistent component behavior across browsers.
Which versions of Angular, Material, OS, browsers are affected?
I think all versions, but definitely v2.0.0-alpha.7-4, and the latest (v2.0.0-alpha.8-2)
Is there anything else we should know?

duplicate of #675

Yep, follow #675 for the full datepicker component.


Add support for Tahoma Somfy Remote controller (rtds:RTDSRemoteControllerComponent)

Device information
The Somfy Remote Controller 5 buttons shipped and paired with the Tahoma box is not recognized.
would it be possible to associate the Remote Controller buttons to scenes/scripts in HA ?
Device details
2020-10-25 10:23:48 DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (rtds:RTDSRemoteControllerComponent - RemoteController - AlarmRemoteController)

Duplicate of #259.

@LoicRivoal feel free to do a thumbs up 👍🏻 on #259 or add additional information you miss in that issue.
Thanks for reporting!


Add MIT License

Fix issue https://github.com/gmacario/lora-shield/issues/1
Signed-off-by: Gianpaolo Macario<EMAIL_ADDRESS>

LGTM. Merging


fix: detect ledvance bluetooth bulbs #1839

Draft for a change which let alexa media player detect local ledvance bulbs #1839

Thanks. Isn't this a new feature? We never supported these lights before.

I wasn't sure... it seems to be a bit of both... on the one hand it is a fix because the existing code catches other lights as well on the other hand yes, you are also right, if you say, they were not supported before. Should I change something?
I don't know, why one of the checks failed. There is no real hint given in the output. Is it ok though?

Don't worry about the pre-commit. For some reason it's not finding pylint.


when translateValue is '' (not just undefined) we should get defaultLang translations as fallback

I'm submitting a ...  (check one with "x")
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[] support request => check the FAQ and search github for a similar issue before submitting
[x] feature request

Current behavior
en.json
{
"KEY1":"hello"
"KEY2":"value2"
}
zh.json
{
"KEY1":"ni hao"
"KEY2":""
}
use zh as curLang
set en as default lang
translate.instant('KEY2')    //   ''
if not find the key or result === ''
typeof translateResult === undefined or translateResult === ''
then use default language to translate again and trigger the missingHandler
Expected/desired behavior
use zh as curLang
set en as default lang
translate.instant('KEY2')=value2    //   value2
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar. You can use this template as a starting point: http://plnkr.co/edit/tpl:01UjWY3TKfP6pgwXKuEa
What is the expected behavior?
use zh as curLang
set en as default lang
translate.instant('KEY2')=value2    //   value2
What is the motivation / use case for changing the behavior?
as a develop
we extract the en.json zh.json with value to be ''
and the tranlations come to us in 3-7 days

You can try this loader from here: https://github.com/CodeAndWeb/ngx-translate-demo/blob/master/ngx-translate-demo/src/app/pruning-loader.ts
It removes all empty translations.

@CodeAndWeb this file is not there anymore? how to deal this problem nowadays?

@carsten-ennulat
here
https://github.com/ngx-translate/core/issues/830#issuecomment-630221928


SSM chapter (ch 28) is missing from 2022-08-08 edition!

On p935 you can see that the content of the SSM chapter is there, but the title is missing, due to a latex error.
Thus the chapter number is broken.

fixed


Update usage.rst

There is a spelling error on the file "doc/source/usage.rst" at line 46.
Please change "paramter" to "parameter".

Coverage decreased (-0.5%) to 53.608% when pulling d6a58a587b4d76a5877d6f9886eff80d71e2d36f on sauravsapkota:patch-2 into 3a1bec73019ed1d8965ca53abfc6946ff5944d41 on xhtml2pdf:master.


Re-activating revision

If a revision is deactivated by closing PR or something, there is no feature to re-activate the revision by this action in case of re-opening the PR.
Do we need to provide a way for re-activation by this action?

In the first place, it is not possible to reopen a PR that has been merged.
In addition, a new PR could be opened for a new review, so that it can be addressed. In many cases, they will link past PRs within that PR.
There will be very few cases where there is no other option but to reopen a past Pull Request.
So I don't think Reactivate is necessary.


fix file.name bug in postgresql migrator

Currently database migrator in postgresql.py won't work because of bug; hereby this bug is fixed

@sergei-krivoshein
Check this version on your code please. Since tests mock this code :/

@sergei-krivoshein Check this version on your code please. Since tests mock this code :/

Checked, migrations work fine


Experiment with a fly.io deployment

Got this email and should I return to the branch I should follow it's instructions.
Hello! This email is to officially inform you that your app “quiet-wave-8219” has been migrated to our shiny V2 platform. This will make your app [more reliable](https://fly.io/blog/carving-the-scheduler-out-of-our-orchestrator/#numad), [easier to control](https://fly.io/docs/machines/guides-examples/machines-app-using-flyctl/), and [maybe even cheaper](https://fly.io/docs/apps/autostart-stop/). You can read all about it here: [We’re Getting off Nomad](https://community.fly.io/t/get-in-losers-were-getting-off-nomad/12914).

You don’t need to make any immediate changes, but right now would be a good time to update flyctl and run fly config save to pull in the latest fly.toml format.

If you have questions, get stuck, or want to talk about what you’re building, come to find us on the community forum: https://community.fly.io/.

Thanks, Your Friends at [Fly.io](https://fly.io/)


data(opening): new SEO job opening

Added new post for senior SEO Developer in src/data/openings.json

This is a pr in reference to #1946

package-lock.json does not need to be modified

I think its fine for now. I have updated my commit


Async loading of portfolio

Right now, you're using await for each integration (and coinmarket), wouldn't it be better to run all the integrations async, and wait for all of them to finish?

Yes, I think so... That would speed up the process ;)


remove external loadbalancer from kubernetes services now that we use ingress

[merge]

ok to test

ok to test

ok to test

retest this please

retest this please

ok to test

retest this please

retest this please

ok to test

retest this please


Open bag file exception

librealsense
2.54.2 RELEASE

OS
Windows

Intel RealSense Viewer / Depth Quality Tool has crashed with the following error message:
Program terminated due to an unrecoverable SEH exception:
Access Violation!

Hi @Axl-zhang  If your bag file was recorded in a previous version of the RealSense Viewer then it will not currently playback in a newer Viewer version.  This is a known issue - please see https://github.com/IntelRealSense/librealsense/issues/12213#issuecomment-1770817635 - and Intel have created an internal bug report to investigate the issue further.
Bag files recorded in the Viewer version that you are currently using - 2.54.2 - should be able to play back correctly.

Hi @Axl-zhang  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Added Material Design Icons to Semantic UI material theme.

Merged in 49444b6a101a25f28ac9e4117bcf3c5168c9c25b I've modified paths to be more consistent with rest of lib

It looks like the actual asset names don't match the default icon.variables.
I just cloned the repo and tried it. The default path is:
@fontPath: './../themes/innohead/assets/fonts';
it should be:
@fontPath: '../../themes/material/assets/fonts';
Then also the font name doesn't match. The binary asset files are all named "icons.eot", "icons.woff", etc. They should be named "MaterialIcons-Regular.eot", "MaterialIcons-Regular.woff", etc.
OR
The @fontName should be set to:
@fontName: 'icons';
Unless I am missing something?

This also breaks Semantic UI standard styles for icons inside input.
.icon.input:before { content: '\e890'}
How/Why did this get merged?

Awesome! How do I use material icons instead of FontAwesome? The documentation doesn't say anything about it.

If you have the material theme for Semantic UI installed, you should be able to change the @icon property value to material in the theme config.

Hi, I noticed that there is not a .woff2 font file included in this theme, according to the source code for Icon https://github.com/Semantic-Org/Semantic-UI/blob/master/src/themes/default/elements/icon.variables#L13, 5 type of font files should always be presented, and this will cause build error when I tried to build it with webpack


Should this subroutinizer be run before or after hinting?

Not too long ago @khaledhosny passed on maintenance of the Libertinus font family to me. I've been working on automating the PR review and release process to work automatically through CI jobs. In messing with the build system I inadvertently changed the order of the build process from taking the built OTF file → hinting it with psautohint → running this subroutinizer and reversed the last two steps so that this subroutinizer was run, then the hinter.
The result was a wildly different font file by the numbers (diffing the TTX dumps took longer than building the font!). Everything seems to be in a different order internally and the filesize is a lot bigger overall, but oddly enough I am unable to tell the difference visually. I've typeset large chunks of data in both with zero overall difference in metrics, and done some image comparison of the rasterization it a couple apps and can't find any difference. It's entirely possible that's because I am not on a system where the kind of hinting differences that might show up would be evidenced, but at first blush at least the fonts appear the same.
Of course I can go back to the original order and almost certainly there is a good reason for it, but I can't find it documented anywhere. What, if any, is the reason for hinting before running this as opposed to hinting being the latter step?
Perhaps where in the build sequence to put this should also be part of #2.

I believe the subroutinizer should be run after the autohinter, as the latter has to desubroutinize the charstrings to be able to do its job. Can anybody more knowledgeable of CFF confirm? /cc @khaledhosny @madig @josh-hadley

Subroutinizer must run after autohinting because the psautohint just leaves everything behind uncompressed.

Thanks @anthrotype and @madig, that makes perfect sense.
My only sugestion would be to drop a note about this in the usage documentation. There might even be other things to note that it comes before or after, for example if one were to run gftools fix-hinting or some of the other normalization and cleanup functions, it would be useful to document somewhere what order these should be in.

yes, documentation is always good to have..
Maybe one source of confusion is that ufo2ft now supports cffsubr as alternative subroutinizer, so one can run cffsubr as part of fontmake pipeline; but psautohint is not integrated in neither ufo2ft nor fontmake, so if one wants to make a hinted CFF font, one has to create an un-subroutinized font with fontmake, then run psautohint on it and finally run the cffsubr on it.
Ideally the auto-hinting stage should be integrated in ufo2ft (as part of the post-processing stage) before the subroutinization happens.

All true, but I'm not coming from UFO on this project so ufo2ft isn't 100% relevant ;-) The principle still applies though.
Honestly my personal opinion in that granular tools are better so that end users of the tooling have more choices about how they assemble them, but that all in one tooling that handles the whole build chain by default is also useful. Hence why I am building fontship ... as the build tool that glues all the other tooling together. From the standpoint of working on that, having each stage itemized is much more flexible. For example I can currently change hinting parameters and rebuild fonts without starting from scratch, you only have to rebuild the steps after the one you are working on. Also you can skip steps (permanently or temporarily) for some workflows easier if tools like ufo2ft don't try to take over the whole end-2-end build process.
Hence having standalone projects like this one is great. If all you have is monolithic projects (i.e. psautomint only being built into AFDKO rather than being a standalone tool) then you can't itemize well, but if you have standalone projects with umbrellas that collect them all into a complete systems everybody wins.

Yes, i also agree with the unix philosopy of separate tools each making one thing good.
By the way, fontship looks like a cool project, I'll check it out 👍

Adobe’s auto hinter is rather special. Its core is a C library that don’t work with font data directly, it only understands its own textual representation of PostScript outlines and works with single glyph at a time, so no subroutines or any other form of outline sharing. The Python code decodes CFF glyphs to this textual representation and back, desubroutinizing everything in the process. So subroutinization naturally needs to be done before it.
If I were integrating psautohint into ufo2ft I’d do it even before building the CFF table, because it is just waste if the tool will then have to decode it and encode it again, and instead generate the textual glyph representation it needs from the UFO glyphs, hint, and build CFF glyphs from the result.

Thanks Khaled for the suggestion.

generate the textual glyph representation it needs from the UFO glyphs, hint, and build CFF glyphs from the result.

Does psautohint support generating such textual glyph representation from UFO glyphs already? I haven't looked into it yet.

Does psautohint support generating such textual glyph representation from UFO glyphs already? I haven't looked into it yet.

Yes, it is does. You can autohing UFO though the output is only understood by AFDKO, but you don’t have to use the output in UFO, you should be able to able to generate CFF directly from it (there is code for this as well).


Tox templates

This fixes #160 and #161.
@abravalheri Is this okay?

Coverage remained the same at 96.549% when pulling 19ff10fab3737a4f0ff06f78acf9409e9ac1b719 on tox_templates into 620ccb288f4c58919153b7d658c453bc1f4aebe5 on master.


Instructions on how to build examples

Hi,
I don't see the examples being built on cargo build and there aren't any instructions in the readme on how to build them.
How do you have in mind to build the examples? We should add some documentation for this.

Hey acrisci.
To build examples using cargo you use cargo build --examples.
Feel free to open a pr to add this info to the README, but this is fairly well known across the Rust ecosystem.


Change the byte to message decoder verifier example to be correct. Bug #1243

Change the byte to message decoder verifier example to be correct.
Motivation:
The byte to message decoder example on the ‘verifyDecoder’ method was not compiling.
Modifications:
Added the example output objects to an array so that they match the method signature.
Result:
The example is now compiling and can serve as the basis for creating an implementation from the example.

@swift-nio-bot test this please


🍒[TaskLocal] copyTo must initializeWithCopy the task local value

Explanation: When we create a Task{} it is unstructured and thus we must retain the new value in case it's a class. We previously did initialize the value in the new task with Take  but instead should do with Copy so the class remains alive as long as the other unstructured task is alive. Not doing this can result in referring to released memory at runtime.
Reviewer: @DougGregor @jckarter ?
Radar/SR Issue: rdar://79528413
Risk: Small.
Testing: PR testing and CI on main.
Original PR: https://github.com/apple/swift/pull/37988

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 383119a339b567972061ae95be795c089608a25d

Build failed
Swift Test Linux Platform
Git Sha - 383119a339b567972061ae95be795c089608a25d

@swift-ci please test macOS Platform
failure was an argument parser failure - weird/unrelated.

@swift-ci please nominate

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 383119a339b567972061ae95be795c089608a25d

@swift-ci please test macOS

Build failed
Swift Test OS X Platform
Git Sha - 383119a339b567972061ae95be795c089608a25d

@swift-ci please test macOS

Build failed
Swift Test OS X Platform
Git Sha - 383119a339b567972061ae95be795c089608a25d

I don't think this can have impacted this test...?
02:25:11.710   Swift(macosx-x86_64) :: Runtime/protocol_conformance_collision.swift

@swift-ci please test macOS

Build failed
Swift Test OS X Platform
Git Sha - 383119a339b567972061ae95be795c089608a25d

Rebasing seems to have helped locally.
@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 3f9f9ade046c434b6a3bb41d8dc229d5a5b378db

Weird failure?
04:19:06.863 Testing failed:
04:19:06.863 	PlaygroundLoggerTests_macOS:
04:19:06.864 		The test runner encountered an error (Failed to establish communication with the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/buildnode/jenkins/workspace/swift-PR-macos/branch-release/5.5/buildbot_incremental/playgroundsupport-macosx-x86_64/DerivedData/Logs/Test/Test-BuildScript-Test-PlaygroundLogger-macOS-2021.06.23_01-14-39--0700.xcresult. (Underlying Error: Couldn’t communicate with a helper application. Try your operation again. If that fails, quit and relaunch the application and try again. The connection to service on pid 0 named com.apple.testmanagerd.control was invalidated.))
04:19:06.864
04:19:06.864 ** TEST FAILED **

@swift-ci please test macOS


Fix var name in sodium.php

Hello,
I fix var name in body function with parameter name
but i think it's useless cause lot of function here doesn't have body.
Do you want to delete all body for this file ?

@tolbon you are absolutely right! Function bodies are useless as these functions are just stubs, so please remove the bodies.


Need some help with code

Hey i am new to swipe js and wish to use it in one of my project. My aim is to achieve a swipe div in which we slide from right to left and on shipping I wanna add one more div to right and it can be scrolled too.... If some1 could either tell me how to do it or maybe just point out how can i detect the event and refresh the swiper it would be very helpful!!

Hey I have successfully converted my thoughts into code if anyone needs he/she can use it! Thanks for developing such a wonderful thing[to the developers]!
<!DOCTYPE html>

    <meta charset="utf-8" />
    <title>Swiper demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />

    <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css" />

    <link rel="stylesheet" href="style.css">

Slide 1

Slide 2


Bad SQL génération with Criteria class and complex operand

Hello,
I am having some trouble when generating queries with the Criteria class (org.springframework.data.relational.core.query)
It's seems not possible to make a query like : (a OR b) AND c => This will be generated as a OR b AND c : it's not the same result.
I have defined the following method to generate an OR's combination :

    private <T> Criteria createCriteria(
            final Class<T> entityClass,
            final BDFilterOr filter) {

        // Critères de chaque opérande

        return filter.getChildren()
                .stream()
                .map(child -> createCriteria(entityClass, child))
                .reduce(Criteria::or)
                .orElseThrow(() -> new MmiBadRequestException("Pas d'opérande généré pour le filtre OR"));
    }

And for the AND combination  :
    private <T> Criteria createCriteria(
            final Class<T> entityClass,
            final BDFilterAnd filter) {

        // Critères de chaque opérande

        return filter.getChildren()
                .stream()
                .map(child -> createCriteria(entityClass, child))
                .reduce(Criteria::and)
                .orElseThrow(() -> new MmiBadRequestException("Pas d'opérande généré pour le filtre AND"));
    }

Doing this, I'm expecting to have an OR combination inside a AND combination rounded with parenthesis in the generated query. It's not the case, when the OR combination is the first operand of the AND combination.
To solve the problem, I have to ensure the OR sub criteria is not placed at the first position of a AND criteria : it can't be used in a generic engine...
Is this API still maintained ?
Is there any workaround to permit the use of this API in any OR / AND combination ?
Thank you.

The API intentionally follows a style that makes it seem like you would write some criteria to not interfere with AND and OR precedence. You can create groups of nested criteria. Have you seen our QueryMapperUnitTests that show various usages and combinations of Criteria?

Hello, thank you and sorry for this late response.
It's ok, I found my problem thanks to the given test code.
This following criteria :
        Criteria criteria = initial
                .and(Criteria.where("name").is("FooA")
                        .or(Criteria.where("name").is("FooB"))
                        .or(Criteria.where("name").is("FooC"))) //
                .and(Criteria.where("name").is("FooD")
                );

produces :
(person.name = ?[$1] OR (person.name = ?[$2]) OR (person.name = ?[$3])) AND (person.name = ?[$4])

while the following criteria :
        Criteria criteria = Criteria.empty()
                .or(Criteria.where("name").is("FooA"))
                .or(Criteria.where("name").is("FooB"))
                .or(Criteria.where("name").is("FooC"))
                .and(Criteria.where("name").is("FooD")
                );

produces :
(person.name = ?[$1]) OR (person.name = ?[$2]) OR (person.name = ?[$3]) AND (person.name = ?[$4])

As it is not a direct usage and it's a generic code, I was doing the second one instead thinking I have the first one
Thank you.

Thanks for the feedback.


feat: update to tari newest tari version

Description
Updates the Tari DAN repo with the latest Tari repo tag.
Motivation and Context
How Has This Been Tested?
Run cargo build.
What process can a PR reviewer use to test or verify this change?
Breaking Changes

[x] None
[ ] Requires data directory to be deleted
[ ] Other - Please specify

resolves #423


Add test coverage to test run script.

Description of the change
Add test coverage to test run script (run_tests.py)
Applicable issues

fixes #1405

Checklist

[ ] All tests were successful.

@jleaniz There seems to be a dependency issue with the unit test image build? Any ideas?
https://github.com/google/turbinia/actions/runs/7167242287/job/19512947605?pr=1406#step:4:2929

I think I fixed it:

updated libbde-python (which pulled in a couple of other updated packages)
locked poetry lock file
updated yara test as new rules generate 4 detections instead of 3

@jleaniz PTAL if I did the poetry stuff right....

Test coverage output - https://github.com/google/turbinia/actions/runs/7183560134/job/19562612102?pr=1406#step:7:2011

I also chatted with @aarontp and said it was fine to merge to fix the tests since @jleaniz will be out for some time


Enable mypy pre-commit hook

In the past I've avoided putting mypy in pre commit hooks because mypy ideally needs to be able to follow imports, and thus needs to have the full Python environment of the code, including dependencies, when mypy is called. Right now I tend to run mypy as part of the test script, but if you had a better way that would be great.

As an example of this, right now rio-tiler (at commit https://github.com/cogeotiff/rio-tiler/commit/63ea80b27cbf3687bc6283f20219af93ffb44a89) runs mypy through pre commit, and CI is passing. But if you first install the environment and then run mypy, you get lots of errors. IMO it's relatively pointless to run mypy when it can't access dependencies.
virtualenv env
source ./env/bin/activate
pip install '.[dev]'
pip install mypy
./env/bin/mypy rio_tiler
# Found 26 errors in 5 files (checked 22 source files)


chore: use SPDX license identifier in POM

Simply change the license name in the POM to a valid SPDX identifier. This allows tools to automatically detect the license for LWJGL artifacts and is even recommended in the POM documentation.
For consistency, I updated the dummy POM too.

@TheMrMilchmann thanks!


Mar 2342

@Reshma-M-A you are trying to merge this into the upstream digitalmarketplace-api repository. Perhaps you intended to push to a fork instead?


fix dependency error

To fix the error
Failed to install 'cordova-plugin-photo-library': CordovaError: Version of installed plugin<EMAIL_ADDRESS>does not satisfy dependency plugin requirement<EMAIL_ADDRESS>Try --force to use installed plugin as dependency.

This pull request will fix issue #214


Add watch command

$ c2addona watch
watch folder for file changes and auto $ c2addona update

pull request #7

Merged, thanks!


.bat file to start h2ogpt webui

I think you got the idea.
Like in AUTOMATIC1111's "stable diffsuion web_ui" clicking a .bat file to open would be fantastic. Just sharing my thought as a feedback.
I find it difficult to remember and type the command to start h2ogpt every time.
I create and use .bat files to make opening these easier. Just a suggestion. Please consider.
I will attach the small simple ones just to express what I am meaning.

Filename: alarm.bat
Purpose: It opens alarm.py for me
Content:
start pythonw "%~dp0\alarm.py"

I recommend windows installer for this easiness.


keep user logged in?

Hi there
how should I keep a user logged in ?!
what data should I keep ?
how to re set them again !?

@Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts

@Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts

@SamimSdz I've implemented that example successfully, I'm a bit confused on where i send the session/cookie details to, so I don't have to login for every request.
I am also a bit confused on if I need to send the session/cookie for every single request? It seems like getting general account info might not need the session/cookie?
What would it look like to send a stored session/cookie to the DM endpoint? Since that definitely needs authentication

After loading the session, you don't have to login (you may check if it's still valid by doing a test request). So if the cookies are loaded, you are good to go. Every request is then authenticated.

@Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts

@SamimSdz I've implemented that example successfully, I'm a bit confused on where i send the session/cookie details to, so I don't have to login for every request.
I am also a bit confused on if I need to send the session/cookie for every single request? It seems like getting general account info might not need the session/cookie?
What would it look like to send a stored session/cookie to the DM endpoint? Since that definitely needs authentication

Hey =)...
did you resolved your problem? Maybe you can help me out with that!?

@Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts

@SamimSdz I've implemented that example successfully, I'm a bit confused on where i send the session/cookie details to, so I don't have to login for every request.
I am also a bit confused on if I need to send the session/cookie for every single request? It seems like getting general account info might not need the session/cookie?
What would it look like to send a stored session/cookie to the DM endpoint? Since that definitely needs authentication

Hey =)...
did you resolved your problem? Maybe you can help me out with that!?

I did not unfortunately.
I have everything saved  in local storage, but i cant figure out how to set the cookies without calling the login method again. It seems like you need to call login for every request, and if youre reauthenticating every single request, that will be pretty suspicious.
It seems like there should be a method that handles a given session for each request but I havent figured it out yet

@Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts

tnx
it worked very well.

Thanks =)
Axel Adrian
<EMAIL_ADDRESS>
On 24. Sep 2019, at 14:06, Godfather110<EMAIL_ADDRESS>wrote:
@Godfather110 https://github.com/Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts
tnx
it worked very well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/dilame/instagram-private-api/issues/896?email_source=notifications&email_token=AGNQMPJBRCTB6EXZXAKWZNDQLG4ADA5CNFSM4IYMNU52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7NKGVA#issuecomment-534422356, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNQMPMSJUCJ75YQQXJZ6CTQLG4ADANCNFSM4IYMNU5Q.

@Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts

@SamimSdz I've implemented that example successfully, I'm a bit confused on where i send the session/cookie details to, so I don't have to login for every request.
I am also a bit confused on if I need to send the session/cookie for every single request? It seems like getting general account info might not need the session/cookie?
What would it look like to send a stored session/cookie to the DM endpoint? Since that definitely needs authentication

Hey =)...
did you resolved your problem? Maybe you can help me out with that!?

Mh, i still cant figure it out how to use this!? Should i put all my nodeJS routing stuff inside this async function?
Sorry but i don't get it!?

@Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts

@SamimSdz I've implemented that example successfully, I'm a bit confused on where i send the session/cookie details to, so I don't have to login for every request.
I am also a bit confused on if I need to send the session/cookie for every single request? It seems like getting general account info might not need the session/cookie?
What would it look like to send a stored session/cookie to the DM endpoint? Since that definitely needs authentication

Hey =)...
did you resolved your problem? Maybe you can help me out with that!?

Mh, i still cant figure it out how to use this!? Should i put all my nodeJS routing stuff inside this async function?
Sorry but i don't get it!?

So, this is my code:
const express = require('express')
const router = express.Router()
const passport = require('passport')

const { IgApiClient } = require('instagram-private-api')
const get = require('request-promise') // request is already declared as an dependency of the library

const Post = require('../models/Post')

// get posts by usernames and hashtags
router.post('/get-posts', passport.authenticate('jwt', { session: false }), async (req, res) => {
  try {
    const { account, usernames, hashtags } = req.body
    const ig = new IgApiClient()
    await ig.state.generateDevice(account.accountName)
    await ig.account.login(account.accountName, account.password)
    let postItems = []

    if (usernames.length) {
      await Promise.all(
        usernames.map(async username => {
          const userId = await ig.user.getIdByUsername(username)
          const user = ig.feed.user(userId)
          let posts = await user.items()
          postItems = [...postItems, ...posts.slice(0, 25)]
          console.log(`User @${username}: successfully`) // eslint-disable-line no-console
        })
      )
    }

    if (hashtags.length) {
      await Promise.all(
        hashtags.map(async hashtag => {
          const tag = ig.feed.tag(hashtag)
          let posts = await tag.items()
          postItems = [...postItems, ...posts.slice(0, 25)]
          console.log(`Hashtag #${hashtag}: successfully`) // eslint-disable-line no-console
        })
      )
    }

    // Filter for caption because some items has no caption and then we get an error on client
    // Filter for mediatype === 1 (1 = picture, 2 = video, 3 = album/carousel ) because we only want pictures, no albums/carousel or videos
    res.json(postItems.filter(item => item.caption && item.media_type === 1))
  } catch (error) {
    if (error) throw error
  }
})

// Post Media
router.post('/post-media', passport.authenticate('jwt', { session: false }), async (req, res) => {
  const { account, media } = req.body

  const ig = new IgApiClient()
  await ig.state.generateDevice(account.accountName)
  await ig.account.login(account.accountName, account.password)
  ;(async () => {
    const caption = media.caption
    const url = media.url

    const imageRequest = await get({
      url,
      encoding: null // this is required, we could convert body to buffer only with null encoding
    })

    console.log(imageRequest) // eslint-disable-line no-console

    // converting image body to buffer
    const imageBuffer = Buffer.from(imageRequest, 'binary')
    const publishResult = await ig.publish.photo({
      file: imageBuffer, // image buffer, you also can specify image from your disk using fs
      caption
    })

    // publishResult.status should be "ok"
    console.log(publishResult) // eslint-disable-line no-console

    await Post.create({
      user: req.user._id,
      accountId: account.accountId,
      accountName: account.accountName,
      mediaIdOriginal: media.id,
      mediaCodeOriginal: media.code,
      mediaIdReference: publishResult.media.id,
      mediaCodeReference: publishResult.media.code
    })

    res.json('success')
  })()
})

module.exports = router

Maybe someone can help me, where to put the session expamle!?

@Godfather110
Hi, check here: https://github.com/dilame/instagram-private-api/blob/master/examples/session.example.ts

@SamimSdz I've implemented that example successfully, I'm a bit confused on where i send the session/cookie details to, so I don't have to login for every request.
I am also a bit confused on if I need to send the session/cookie for every single request? It seems like getting general account info might not need the session/cookie?
What would it look like to send a stored session/cookie to the DM endpoint? Since that definitely needs authentication

Hey =)...
did you resolved your problem? Maybe you can help me out with that!?

Mh, i still cant figure it out how to use this!? Should i put all my nodeJS routing stuff inside this async function?
Sorry but i don't get it!?

So, this is my code:
const express = require('express')
const router = express.Router()
const passport = require('passport')

const { IgApiClient } = require('instagram-private-api')
const get = require('request-promise') // request is already declared as an dependency of the library

const Post = require('../models/Post')

// get posts by usernames and hashtags
router.post('/get-posts', passport.authenticate('jwt', { session: false }), async (req, res) => {
  try {
    const { account, usernames, hashtags } = req.body
    const ig = new IgApiClient()
    await ig.state.generateDevice(account.accountName)
    await ig.account.login(account.accountName, account.password)
    let postItems = []

    if (usernames.length) {
      await Promise.all(
        usernames.map(async username => {
          const userId = await ig.user.getIdByUsername(username)
          const user = ig.feed.user(userId)
          let posts = await user.items()
          postItems = [...postItems, ...posts.slice(0, 25)]
          console.log(`User @${username}: successfully`) // eslint-disable-line no-console
        })
      )
    }

    if (hashtags.length) {
      await Promise.all(
        hashtags.map(async hashtag => {
          const tag = ig.feed.tag(hashtag)
          let posts = await tag.items()
          postItems = [...postItems, ...posts.slice(0, 25)]
          console.log(`Hashtag #${hashtag}: successfully`) // eslint-disable-line no-console
        })
      )
    }

    // Filter for caption because some items has no caption and then we get an error on client
    // Filter for mediatype === 1 (1 = picture, 2 = video, 3 = album/carousel ) because we only want pictures, no albums/carousel or videos
    res.json(postItems.filter(item => item.caption && item.media_type === 1))
  } catch (error) {
    if (error) throw error
  }
})

// Post Media
router.post('/post-media', passport.authenticate('jwt', { session: false }), async (req, res) => {
  const { account, media } = req.body

  const ig = new IgApiClient()
  await ig.state.generateDevice(account.accountName)
  await ig.account.login(account.accountName, account.password)
  ;(async () => {
    const caption = media.caption
    const url = media.url

    const imageRequest = await get({
      url,
      encoding: null // this is required, we could convert body to buffer only with null encoding
    })

    console.log(imageRequest) // eslint-disable-line no-console

    // converting image body to buffer
    const imageBuffer = Buffer.from(imageRequest, 'binary')
    const publishResult = await ig.publish.photo({
      file: imageBuffer, // image buffer, you also can specify image from your disk using fs
      caption
    })

    // publishResult.status should be "ok"
    console.log(publishResult) // eslint-disable-line no-console

    await Post.create({
      user: req.user._id,
      accountId: account.accountId,
      accountName: account.accountName,
      mediaIdOriginal: media.id,
      mediaCodeOriginal: media.code,
      mediaIdReference: publishResult.media.id,
      mediaCodeReference: publishResult.media.code
    })

    res.json('success')
  })()
})

module.exports = router

Maybe someone can help me, where to put the session expamle!?

I think you've done a mistake, you should not create a new IgApiClient for each request, the best approach is to do it once after the import and you can use it for each request...


Ucsf updates

@hehinson Thanks for the PR! Did you mean to do this to your fork instead?

Not a problem @hehinson! Have you seen our wealth of old presentations here? https://osf.io/qcyhu/ Enjoy and good luck! I'm, happy people are still using this.

Thank you for this! I have forgotten how to publish to my fork, so I need this!
H.E.
H.E. Hinson, MD MCR FAAN FNCS
Professor of Clinical Neurology, Department of Neurology
University of California, San Francisco
Zuckerberg San Francisco General Hospital
Box 0896
2540 – 23rd Street, Floor 5
San Francisco, CA 94110| Email<EMAIL_ADDRESS>| Pronouns: she/her
https://hinsonlab.ucsf.edu/

                                                          [rgf8H7bnjPT17hV0AAAAASUVORK5CYIIA]

From: Eric Earl @.>
Date: Thursday, September 19, 2024 at 2:36 PM
To: BioData-Club/jekyll-academic @.>
Cc: Hinson, H E @.>, Mention @.>
Subject: Re: [BioData-Club/jekyll-academic] Ucsf updates (PR #2)
Not a problem @hehinson! Have you seen our wealth of old presentations here? https: //osf. io/qcyhu/ Enjoy and good luck! I'm, happy people are still using this. — Reply to this email directly, view it on GitHub, or unsubscribe. You are
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Not a problem @hehinsonhttps://urldefense.com/v3/__https:/github.com/hehinson__;!!LQC6Cpwp!ogakESv4k2YyTcpmQo5iNk--Korro0EPU27w_hQdSMFR6xXKYE_EPXgHLhlaIfSe9M_U27T4pPJ_ANGZI2laor-pkw$! Have you seen our wealth of old presentations here? https://osf.io/qcyhu/https://urldefense.com/v3/__https:/osf.io/qcyhu/__;!!LQC6Cpwp!ogakESv4k2YyTcpmQo5iNk--Korro0EPU27w_hQdSMFR6xXKYE_EPXgHLhlaIfSe9M_U27T4pPJ_ANGZI2k3QCmLdg$ Enjoy and good luck! I'm, happy people are still using this.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/BioData-Club/jekyll-academic/pull/2*issuecomment-2362243700__;Iw!!LQC6Cpwp!ogakESv4k2YyTcpmQo5iNk--Korro0EPU27w_hQdSMFR6xXKYE_EPXgHLhlaIfSe9M_U27T4pPJ_ANGZI2mZYYFmtQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/APVEUWNFXWT6TGRUUB4K2WTZXM7UZAVCNFSM6AAAAABOORPTO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRSGI2DGNZQGA__;!!LQC6Cpwp!ogakESv4k2YyTcpmQo5iNk--Korro0EPU27w_hQdSMFR6xXKYE_EPXgHLhlaIfSe9M_U27T4pPJ_ANGZI2keB0BvMg$.
You are receiving this because you were mentioned.Message ID: @.***>