Basic handling for SQS queues

Had a scenario where I instantiate workers that process an SQS queue and needed to have monitoring be based off of SQS queue message length. This only requires the queue name rather than the full URL and has been tested and is working in production for us.

Thanks for submitting this PR!
I'm not familiar with SQS, but I assume that you have to configure your credentials somewhere? Do you do this through environment variables which are picked up automatically by Aws::SQS::Client?

I was looking for Shoryuken support, and this looks like it would serve exactly that need. Will try it out and report back!

@mparramont thanks!

Finally was able to test this in production, but it wasn't working since my configuration was not specifying the queue names. Here's what I put in config/initializers/hirefire.rb to make it grab our queue names, with the correct prefix (we're using prefixes via ActiveJob):
queue_names = YAML.load_file('config/shoryuken.yml')['queues'].to_h.keys
queue_names.map! { |name| ActiveJob::Base.queue_name_from_part(name) }

HireFire::Resource.configure do |config|
  config.dyno(:worker) do
    HireFire::Macro::Sqs.queue(*queue_names)
  end
end


Max time policy status controled in submit

Coverage decreased (-0.4%) to 50.542% when pulling 1fa960aea9efd43e10ea912faf921fd49d3e540a on compae:feature/max-time-submit-response into dcd209251652103519dba51877e2fd89aac0bd22 on Stratio:master.

Coverage decreased (-0.2%) to 50.714% when pulling b414b6c250c77c7924104ab36ef8c46047e8fc21 on compae:feature/max-time-submit-response into dcd209251652103519dba51877e2fd89aac0bd22 on Stratio:master.


Add GRG XII Erlgasse

The school offers optinal coding courses as part of their IT courses
Website: www.erlgasse.at

@MohCoding Pull request merged. Thank you!


Add FileType to File list

Can we add a column in the File view that would allow us to sort or filter based on file extension/type? For example, .xslx, .fastq, .bam, etc.

@hoodriverheather is this in the files table within the virtual dataset view? Under "Files in this hierarchy"? I believe currently there's no sorting function there, I will look into adding sorting there if that's what you're referring to!

@yuliujpl I think this was an older request from Sierra. I see you added File type to the Genome Editing and the Cell Line file list, so I think we can close this request. Thanks!


Merge pull request #1 from spring-cloud/main

1

@lishuai2016 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Make this in object literal always of type any

Fixes #8191 again, but re-breaks #8110 and #7801.
Previously, this was implicitly typed by the shape of its containing object literal.
This is not correct for JavaScript-style inheritance uses of object literals, and the previous fix was not correct either.
So we're going back to this: any in object literals for now.

@ahejlsberg and @mhegazy here is the reversion to this:any in object literals. thisInObjectLiterals is the most interesting test since it specifically tests this case.

third time is a charm..
can we add a test for --noImplicitThis

:+1:


Add user, shell options and build support

PR to allow a shell or user to be specified to the docker run.
Previously defaulted to bash, which doesn't ship by default in Alpine.
Also added a build option.

Thanks for taking the time for putting together such a thorough PR!
I have some questions though. I thought the build option might be able to used with the run option, as a way of doing a build + run type thing. But that doesn't appear to be the case? What's the use case for just a build? Buildkite steps are designed to be stateless, so just wondering what you do with the image after it's built?

Also, thanks for your patience waiting for a review too! 🙇🏼♂

I totally missed this! Will check it out and come back with some feedback soon. Sorry for taking so long @mikeknox!

I'd be tempted to use the docker-compose syntax https://docs.docker.com/compose/compose-file/#build:
build:
  context: ./dir
  dockerfile: Dockerfile-alternate

or the simpler alternative:
build: ./dir

I assumed the same as @tim, build is just an alternative to image:, right? It should still then run a command in that image.

Thanks Tim, Lachlan,
After working with this, I'm inclined to drop the build addition from my PR
as the 'docker-compose' plugin provides more comprehensive coverage of the
build+run use-case.
The purpose of the 'build: true' was to just build the container, not to
run it, as I was working through a scenario where I just needed to
build+push the container, not run it.
I'd like go forward with the additional parameters though such as 'shell'
and 'user'.
On Mon, Nov 27, 2017 at 10:18 PM, Lachlan Donald<EMAIL_ADDRESS>wrote:

I'd be tempted to use the docker-compose syntax https://docs.docker.com/
compose/compose-file/#build:
build:
context: ./dir
dockerfile: Dockerfile-alternate
or the simpler alternative:
build: ./dir
I assumed the same as @tim https://github.com/tim, build is just an
alternative to image:, right? It should still then run a command in that
image.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/buildkite-plugins/docker-buildkite-plugin/pull/6#issuecomment-347152702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGsV36uGV1MguY9mrBSfcIiw3W6V4ySks5s6pqKgaJpZM4P_7zB
.

Okay, no worries at all. Would love to merge the shell and user options in.

I've now updated this PR to remove the build option and its artefacts.

Thanks @maktouch, I've just merged the other PRs. Are you thinking of splitting this up one too? (and adding the test for the shell option?) If not, I could help.

I've added the test for shell to PR#6
On Sun, Dec 3, 2017 at 8:31 AM, Tim Lucas<EMAIL_ADDRESS>wrote:

Thanks @maktouch https://github.com/maktouch, I've just merged the
other PRs. Are you thinking of splitting this up one too? (and adding the
test for the shell option?) If not, I could help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/buildkite-plugins/docker-buildkite-plugin/pull/6#issuecomment-348721624,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGsV1iJbTEUGs6uQaiRnDcQlNr_gBmzks5s8cGugaJpZM4P_7zB
.

Thanks again @mikeknox 🎉


Crashes Searching for Support on NullPointerException

Tried running it for the first time after setup and I keep crashing on the support select screen, regardless if I have it set to select first or preferred using the default skadi, merlin, waver selected.
Says "attempt to read from field 'long.org.opencv.core.Mat.nativeobj' on a null object reference".
Just to mention some background; this is with the JP version and "Japanese" selected on the game version within the app. Android 10 on Galaxy 9s+

Can you provide me a screenshot of the error?
You can see the error by expanding the app's notification.
Also, I'd need an image of the game in support selection screen.
Are you running FGO as a fullscreen app (blue borders around the game)?

I've narrowed it down pretty significantly. It seems to only crash when I tell it to use a preferred CE and then toggle the 'MLB' box. The CE I tested this with is teatime which has the little star visible in the image, maybe that's throwing it off?

I've narrowed it down pretty significantly. It seems to only crash when I tell it to use a preferred CE and then toggle the 'MLB' box. The CE I tested this with is teatime which has the little star visible in the image, maybe that's throwing it off? If I tell it to look for teatime and don't click MLB it'll select MLB teatime in the support window just fine.

You narrowed it down pretty well! Nice work!
I saw that the name for the MLB image for NA and JP have different casing.
NA: limitBroken.png
JP: limitbroken.png
The image is not found on JP so the null error happens.
I'll give you a new build to test in a while.

@chairmanxyz Can you try installing the apk from this page: https://github.com/MathewSachin/Fate-Grand-Automata/actions/runs/83465048
It'll be in a zipped folder.

It's stopped crashing with the null error but now it's not recognizing the MLB ce. It just scrolls past them in the support list.

I think I've seen this error happen with FGOlua too.
We check how similar images are on a scale from 0 to 1. Minimum matching similarity is 0.7 by default, but for the MLB star it is 0.8. If it is being randomly selected for you, the value might be being calculated around 0.8, sometimes slightly more, otherwise slightly less.
@reconman your thoughts?
FGOlua matches in grayscale, but this app uses RGB, maybe that's why we're getting less similarity?

I feel like there's a connection based on where the support character is on the screen. If it's cut off a little or not in a nice position it'll skip over it. I was able to get different results in the selection screen based on where I left the scroll bar. It never seems to select the very top servant when on the preferred setting, but sometimes if i start the script with the sidebar a little lower, perhaps revealing the servant I want more clearly on the screen, there's a better chance it captures it right away instead of scrolling past it.

Can you post a gif or video of how the support list is scrolling on your phone?
We had done a scrolling fix just yesterday, and it should be in the new APK I gave you.
I think we'd need to tweak the scrolling a bit more.

So first of all, we haven't tested JP with this app, so we can't say much about the exact behavior. But I know that the scrolling value is different for JP and NA. Maybe changing the JP value to NA will fix the scrolling issue?
I think we can't avoid testing on JP ourselves much longer. I've got a tablet where I could use adb to debug our software. An emulator would also be an option. I just can't promise to do it earlier than the end of the week, though.

Here's a build with JP value of scroll changed to the NA value: https://github.com/MathewSachin/Fate-Grand-Automata/actions/runs/83580431
@chairmanxyz Would you give it a try?

@chairmanxyz A new version was released around an hour ago. Can you try v0.9.0?

Sorry for the delay. I have installed 0.8 and it seems to be recognizing servant + ce combos better, however still running into the occasional skip over. And essentially every time I've tried, the first servant is always skipped. All the recording apps I tried use the screen accessibility setting which I cannot run concurrently with this app, so I tried to grab some screenshots of when it worked vs when it didn't.
I was searching for skadi with teatime, seen first here. It will not select her:

However it scrolled down a ways and found this skadi with teatime and selected it:

I went back to the top and scrolled the bar down ever so slightly, and then started the script. This time it selected her at the top:

@chairmanxyz I will be able to test the preferred option in the next 12 hours. I spent the whole evening yesterday setting up FGO JP on my tablet and finding the source of crashes reported by many users.
It will be a bit of work to find the exact reason, but I'll try my best to find the cause.

I was able to reproduce the issue and am currently looking for solutions. I'll add another comment when I've found out what's going on.

I tested again with the current release and Arjuna Alter with MLB Kaleidoscope and I wasn't able to reproduce the error again.
Although in NA during the raid farming, there were several cases where Merlin didn't get selected, even though he was clearly on the screen.

We found some issues with the "Confirm support setup" button not being detected properly, which was fixed.


Not Building

error: could not find Cargo.toml in /Users/"myuser"/Downloads/iCepa-master/Extension/tun2tor or any parent directory
I have completed all build steps

@Taherismail17 did you download the source tarball, or clone the repo? You will need to clone the repo in order to clone the project's submodules.

Ok will try cloning, sorry I'm new to this, I'm 14 lol. So do you use git clone  etc....

I got the rest of it to work apart from this
Cloning into '/Users/taherismail/iCepa/Carthage/Checkouts/Tor.framework/Tor/openssl'...
fatal: unable to connect to git.openssl.org:
git.openssl.org[0: <IP_ADDRESS>]: errno=Operation timed out
git.openssl.org[1: 2001:608:c00:180::1:ea]: errno=No route to host
fatal: clone of 'git://git.openssl.org/openssl.git' into submodule path '/Users/taherismail/iCepa/Carthage/Checkouts/Tor.framework/Tor/openssl' failed
Failed to clone 'Tor/openssl'. Retry scheduled
Cloning into '/Users/taherismail/iCepa/Carthage/Checkouts/Tor.framework/Tor/tor'...
Cloning into '/Users/taherismail/iCepa/Carthage/Checkouts/Tor.framework/Tor/openssl'...
fatal: unable to connect to git.openssl.org:
git.openssl.org[0: <IP_ADDRESS>]: errno=Operation timed out
git.openssl.org[1: 2001:608:c00:180::1:ea]: errno=No route to host
fatal: clone of 'git://git.openssl.org/openssl.git' into submodule path '/Users/taherismail/iCepa/Carthage/Checkouts/Tor.framework/Tor/openssl' failed
Failed to clone 'Tor/openssl' a second time, aborting
Submodule path 'Extension/tun2tor': checked out '8796fd0fe9fe4c3aee6f48c04cca2f6704ac8236'
Failed to recurse into submodule path 'Carthage/Checkouts/Tor.framework'
Tahers-MBP:iCepa taherismail$ brew install automake autoconf libtool gettext carthage
Warning: automake-1.15 already installed, it's just not linked
Warning: autoconf-2.69 already installed, it's just not linked
Error: Cannot write to /usr/local/Cellar
Tahers-MBP:iCepa taherismail$ carthage build
*** xcodebuild output can be found in /var/folders/jb/2g45vfy53rj_g0fmp5qdstf40000gn/T/carthage-xcodebuild.Xmenz9.log
*** Building scheme "Tor-iOS" in Tor.xcodeproj
** CLEAN FAILED **
The following build commands failed:
ExternalBuildToolExecution openssl-iOS
(1 failure)
** BUILD FAILED **
The following build commands failed:
ExternalBuildToolExecution openssl-iOS
(1 failure)
error: can't change directory to '/Users/taherismail/iCepa/Carthage/Checkouts/Tor.framework/Tor/openssl' (No such file or directory)
error: can't change directory to '/Users/taherismail/iCepa/Carthage/Checkouts/Tor.framework/Tor/openssl' (No such file or directory)
A shell task (/usr/bin/xcrun xcodebuild -project /Users/taherismail/iCepa/Carthage/Checkouts/Tor.framework/Tor.xcodeproj -scheme Tor-iOS -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** CLEAN FAILED **
The following build commands failed:
ExternalBuildToolExecution openssl-iOS
(1 failure)
** BUILD FAILED **
The following build commands failed:
ExternalBuildToolExecution openssl-iOS
(1 failure)
Tahers-MBP:iCepa taherismail$

Hi @Taherismail17, that error is most likely because you don't have access to openssl.org, or because their server is not responding.

Hi @Taherismail17, that error is most likely because you don't have access to openssl.org, or because their server is not responding.

Hi @Taherismail17, going to close this due to inactivity. Feel free to reopen if you have more questions!


Add cross-platform capability for Windows OS support

refer to https://github.com/rancher/rancher/issues/10449

@yasker

@orangedeng Can you re-push to trigger Drone build?

Updated

LGTM


Error when applying nodepool manifest that contains karpenter.azure.com/zone key

Version

Karpenter Version:
karpenter-overlay-addon-0.1.0-127f4bc9300cca9fa11d1616aca290c47bccdcf0
karpenter-overlay-base-addon-0.1.0-40fdfd1faef52d126cf72f22cf1050a5c781a4e7

Kubernetes Version: v1.29.7
Expected Behavior
I expect a Nodepool manifest that allows me to set as requirement karpenter.azure.com/zone or any other key which determines avaibility zones.
Actual Behavior
Once I apply the following manifest:
apiVersion: karpenter.sh/v1beta1
kind: NodePool
metadata:
  name: krptpool
spec:
  disruption:
    consolidationPolicy: WhenUnderutilized
    expireAfter: 720h
  template:
    spec:
      nodeClassRef:
        name: iceclass
      requirements:
        - key: kubernetes.io/arch
          operator: In
          values: ["amd64"]
        - key: kubernetes.io/os
          operator: In
          values: ["linux"]
        - key: karpenter.sh/capacity-type
          operator: In
          values: ["on-demand"]
        - key: karpenter.azure.com/sku-family
          operator: In
          values: ["D"]
        - key: karpenter.azure.com/zone
          operator: In
          values: ["eastus-1", "eastus-2", "eastus-3"]

I get the following error:
The NodePool "krptpool" is invalid: spec.template.spec.requirements[6].key: Invalid value: "string": label domain "karpenter.azure.com" is restricted
Steps to Reproduce the Problem
Apply the manifest above in a cluster that has karpenter deployed via Azure add-on
Resource Specs and Logs
It seems like the "default" behavior
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Those labels are no longer supported @wdarko1  can you remove them from the docs?

Other than documentation, this is a duplicate of https://github.com/Azure/karpenter-provider-azure/issues/205, lets track it there


user12986714: Blacklist Anthony\W*+Dwayne\W*+Chapelle

user12986714 requests the blacklist of the username Anthony\W*+Dwayne\W*+Chapelle. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Anthony\W*+Dwayne\W*+Chapelle has been seen in 20 true positives, 5 false positives, and 0 NAAs.

Approved by ArtOfCode in Charcoal HQ


Use std::optional in bpffeature

As we updated to C++17 we can start using std::optional and remove the
unique_ptr hack.

Blocked on #1215


k: raise AttributeError

Trying to run it on windows and getting this error.
$ cdk sample.asc
File "c:\python34\lib\site-packages\cdk\data\asciidoc-8.6.8/asciidoc.py", line 101
except KeyError, k: raise AttributeError, k
^
SyntaxError: invalid syntax
b''

That's actually a Python 3.4 problem. The underlying library asciidoc is Python 2.x only. Try again on windows with 2.7?


CCT Changes

[ ] Fix marking memory nodes
[ ] Making - border + inside white/brightened
[ ] Merge rects for callgroups
[ ] debug cppcheck weird lines
[ ] Show icon if call is coming from a loop
[ ] Show icon if callgroup has all calls coming from the same loop
[ ] Show if loop iteration does not contain anything

[ ] Detail View
Calls:

File:Line
Duration in relative percentage

Loop execution

File:Line
Duration

Loop iteration

iteration no

[ ] Show Source Code functionality


Selecting or drag n drop doesn't work

I try to drag file .cur files / select them and nothing changes

ok seems to have something to do with the location from where the cursor was selected from. Have to take a deeper look at that. But im gonna let you know when the bug is fixed

Problem was with the encoding of the file path. It didn't work correctly cause of the space in the Path.
But that is now fixed in the Latest Release


Add plugin for speech recognizer

Added directive for use the phoneGap plugin to acces the speech recognizer of the phone
install :     cordova plugin add https://github.com/poiuytrez/SpeechRecognizer
link    :     https://github.com/poiuytrez/SpeechRecognizer

What's happening with this. Is it this the only speech recognition PR or issue?


Problem withe setting up default language in multilingual

Hello,
I've got a problem with default site in multilingual mode. I've got my site in 2 languages, english and polish, and I have content in 2 directories. I want to set polish as a default language, so I've set parameter defaultContentLanguage = "pl" both in site settings and params. When set only in site settings, it simply does nothing. When set in params, english version still appears on main site, but after clicking both 'pl' or 'en' button, it switches to polish. Is there anything I'm doing wrong, or is there any fix/workaround? I tried redirecting from main page to /pl folder, but as I read in documentation later, gitlab doesn't support redirections if the site exists, so basicaly there is no way to redirect from the home page (as far as I understand).
Syna version 0.16.1, Hugo latest extended (0.81.0)
Here is part of my config.toml
`version = "0.16.1"
defaultContentLanguage = "pl" # used for file names
defaultContentLanguageInSubdir = true
[languages]
[languages.pl]
title = "Omex"
weight = 1
contentDir = "content/pl"
languageName = "Polski"
[languages.en]
title = "Omex"
weight = 2
contentDir = "content/en"
languageName = "English"
[params]
defaultContentLanguage = "pl"`
Any help would be apriciated.

I'll do my best to take a look, but currently swamped with other things so might take a bit.

Have same issue also

Hi, are there any updates on my issue?


Adapter stoppt mit Fehlermeldung sofort nach Start

Describe the bug
Adapter stoppt sofort nachdem er gestartet wird.
Fehlermeldungen
2023-04-23 09:41:31.347 - error: host.raspberry Invalid request getRepository. "callback" or "from" is null
--
2023-04-23 09:42:35.168 - info: host.raspberry "system.adapter.puppeteer.0" enabled
2023-04-23 09:42:35.264 - info: host.raspberry instance system.adapter.puppeteer.0 started with pid 23735
2023-04-23 09:42:39.986 - info: puppeteer.0 (23735) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.puppeteer, node: v18.16.0, js-controller: 4.0.24
2023-04-23 09:42:40.134 - error: puppeteer.0 (23735) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2023-04-23 09:42:40.135 - error: puppeteer.0 (23735) unhandled promise rejection: Failed to launch the browser process! undefined
TROUBLESHOOTING: https://pptr.dev/troubleshooting
2023-04-23 09:42:40.138 - error: puppeteer.0 (23735) Error: Failed to launch the browser process! undefined
TROUBLESHOOTING: https://pptr.dev/troubleshooting
at ChildProcess.onClose (/opt/iobroker/node_modules/@puppeteer/browsers/lib/cjs/launch.js:262:24)
at ChildProcess.emit (node:events:525:35)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2023-04-23 09:42:40.140 - error: puppeteer.0 (23735) Failed to launch the browser process! undefined
TROUBLESHOOTING: https://pptr.dev/troubleshooting
2023-04-23 09:42:40.162 - info: puppeteer.0 (23735) terminating
2023-04-23 09:42:40.165 - warn: puppeteer.0 (23735) Terminated (UNCAUGHT_EXCEPTION): Without reason
2023-04-23 09:42:40.776 - error: host.raspberry instance system.adapter.puppeteer.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2023-04-23 09:42:40.778 - info: host.raspberry Restart adapter system.adapter.puppeteer.0 because enabled
2023-04-23 09:42:55.304 - info: host.raspberry "system.adapter.puppeteer.0" disabled

To Reproduce
Start des Adapters
Versions:

Adapter version: 0.2.7
JS-Controller version: 4.0.24
Node version: v18.16.0
Operating system: Debian Bullseye

Same problem here on Bullseye. Maybe, some missing packages?

Same issue here, Version Raspbian (Debian GNU/Linux 11 (bullseye))


Install macOS - Continue - button is disabled

Host macOS Catalina on a MacBook Pro
Guest macOS Catalina
make all creates the VM and boots the installation, but after selecting the language
the screen "Mac OS Utilities" is shown.
I can select "Install macOS" (or any other entry) but can't continue because the "Continue" button is disabled.
Expected behavior
Being able to continue installation
Additional context

log file

runMacOSVirtualbox.log

screen shot

Shutting down and starting the VM again resulted in the same behaviour.

Any movement on this?  For me the Continue button is initially selectable.  It grays out when you click on it and then nothing happens.  Not the same behavior when installing Mojave.

Thanks for the feedback. However, couldn't reproduce this issue. Maybe fixed by now. Closing stalled issue.

Thanks for looking into it. I'll try again.


Cap size of RPT in keycloak

Submitting on behalf of @sbose78:

Move of repo from almighty --> fabric8-services
Latest changes incl. RPT token limits https://github.com/fabric8-services/keycloak/pull/90
take commit https://github.com/fabric8io/keycloak-deployment/commit/15751c889f5099504cfa7256183f59a59a3ef624

Comment from @alexeykazakov:
@hectorj2f we need to make sure we are good in terms of cluster/standalone mode in prod.

@vpavlin thanks for moving this PR to the new repo but why it was closed?

Because this is the old repo..somehow I messed up and it ended up in the old repo again:D
Here is the actual PR https://github.com/openshiftio/saas-openshiftio/pull/7


unresolved external symbol Aws::Malloc

Hi everyone,
I followed these wonderful tutorials to get a game session running on AWS GameLift and got clients to connect to it successfully.
I did have to rollback the GameLift Client SDK commit to the one in the video (commit 14), as I encountered something similar to this issue
I am on Windows using Unreal 4.21.
However I have hit what appears to be a missing some dependencies within the Client SDK. I was trying to use Aws::Vector which is part of AWSCore but upon build I get the following linker errors:
error LNK2019: unresolved external symbol "void * __cdecl Aws::Malloc(char const *,unsigned __int64)" (?Malloc@Aws@@YAPEAXPEBD_K@Z) referenced in function "private: bool __cdecl std::vector<class Aws::GameLift::Model::GameSessionQueueDestination,class Aws::Allocator<class Aws::GameLift::Model::GameSessionQueueDestination> >::_Buy(unsigned __int64)" (?_Buy@?$vector@VGameSessionQueueDestination@Model@GameLift@Aws@@V?$Allocator@VGameSessionQueueDestination@Model@GameLift@Aws@@@4@@std@@AEAA_N_K@Z)
error LNK2019: unresolved external symbol "void __cdecl Aws::Free(void *)" (?Free@Aws@@YAXPEAX@Z) referenced in function "public: __cdecl std::vector<class Aws::GameLift::Model::GameSessionQueueDestination,class Aws::Allocator<class Aws::GameLift::Model::GameSessionQueueDestination> >::~vector<class Aws::GameLift::Model::GameSessionQueueDestination,class Aws::Allocator<class Aws::GameLift::Model::GameSessionQueueDestination> >(void)" (??1?$vector@VGameSessionQueueDestination@Model@GameLift@Aws@@V?$Allocator@VGameSessionQueueDestination@Model@GameLift@Aws@@@4@@std@@QEAA@XZ)
These linker errors are usually encountered when the linker cannot find the correct function definition for a used function declaration. The Client SDKs that I cloned has the AWSCore header files and I also have the aws-cpp-sdk-core dll and lib files in Plugins\GameLiftClientSDK\ThirdParty\GameLiftClientSDK\Win64, like the tutorial instructed, so it should have the correct function definitions.
AWS::Vector is using AWS::Allocator, which is then using Malloc and Free.
AWSVector.h:
template< typename T > using Vector = std::vector< T, Aws::Allocator< T > >;
AWSAllocator.h:
typename Base::pointer allocate(size_type n, const void *hint = nullptr)
{
AWS_UNREFERENCED_PARAM(hint);
return reinterpret_cast<typename Base::pointer>(Malloc("AWSSTL", n * sizeof(T)));
}

AWSMemory.h:
AWS_CORE_API void* Malloc(const char* allocationTag, size_t allocationSize);
In the aws-cpp-sdk github repo I can see the AWSMemory.cpp file
I can see that it has a #include <aws/common/common.h> from the aws-c-common library, but I believe that was only added recently and since I am using an older commit of the client sdk I dont think I should have encountered this error. AWS says ." "Starting from version 1.7.0, we added several third party dependencies, including aws-c-common, aws-checksums and aws-c-event-stream
Either way, in attempt to solve this I added AWSMemory.cpp to AWSCore, then downloaded aws-c-common, built it, copied its lib and dll to ThirdParty and added all the headers to AWSCore/Public/common. Then edited AWSCore.Build.cs and AWSCoreModule.h/.cpp to add the lib and dll dependencies, but I end up hitting a wall of macro error like:
aws/common/assert.h(57): error C4668: '__clang_analyzer__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
aws/common/predicates.h(21): error C4668: 'AWS_DEEP_CHECKS' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
AWSMemory.cpp(129): error C4668: '__GNUC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
I have also tried to build aws-c-common from source as a new unreal module, but ended up with even more errors.
I just want to use a damn AWS::Vector.
Anyone know if I am missing something or is there a defect with the client sdk?
@chris-gong, did you ever encounter this?

Just a note: I updated the AWS CPP SDK binaries and still get the same error.
Any ideas @ryanjon2040?


dep ensure

Hi, I got problem when I run dep ensure
Solving failure: unable to deduce repository and source type for "golang.org/x/crypto": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://golang.org/x/crypto?go-get=1": Get http://golang.org/x/crypto?go-get=1: dial tcp <IP_ADDRESS>:80: getsockopt: connection refused

That's because I am behind GFW


Vagrant documentation improvement

Description

Added link to download an already-compiled version of the wsk binary (removing references to compiled wsk binaries in other OS's) and appropriate Windows Powershell code to correctly handle nested commands in Windows systems
Related issue and scope

[x] I opened an issue to propose and discuss this change (#4113)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[x] Documentation

Types of changes

[x] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[x] I updated the documentation where necessary.

Codecov Report

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

@@            Coverage Diff             @@
##           master    #4120      +/-   ##
==========================================
- Coverage   86.13%   81.26%   -4.88%
==========================================
  Files         151      151
  Lines        7263     7263
  Branches      466      466
==========================================
- Hits         6256     5902     -354
- Misses       1007     1361     +354

Impacted Files
Coverage Δ

...core/database/cosmosdb/RxObservableImplicits.scala
0% <0%> (-100%)
:arrow_down:

...core/database/cosmosdb/CosmosDBArtifactStore.scala
0% <0%> (-95.54%)
:arrow_down:

...sk/core/database/cosmosdb/CosmosDBViewMapper.scala
0% <0%> (-92.6%)
:arrow_down:

...whisk/core/database/cosmosdb/CosmosDBSupport.scala
0% <0%> (-83.34%)
:arrow_down:

...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala
0% <0%> (-62.5%)
:arrow_down:

...penwhisk/core/database/cosmosdb/CosmosDBUtil.scala
92% <0%> (-4%)
:arrow_down:

...rg/apache/openwhisk/common/ForcibleSemaphore.scala
88.46% <0%> (-3.85%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM Thanks for improving the docs @atsag.

restarting Travis build, we are having trouble with tests


Add :getadmin command to GetScript

added :getadmin, so players can use :getadmin to get the adonis command script
the pic below shows the new GetScript command
further info: dm "aidenjamesyt" on discord or<EMAIL_ADDRESS>

:)


remove auto pathing in favor of all fresh reloads

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2723   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: 🔄 Waiting for checks to pass
This pull request is currently waiting for CI and mergeability checks to pass before being merged.
This comment was auto-generated by Graphite.

Job Reference: Y38BmxZUNPUjtKa5Q1Xf


Flask with PyInstaller does not show images added at runtime

I have a simple app running on Flask, which displays images from a directory. Which works fine, until I create an executable using Pyinstaller. This executable also works when there were already some images at the time of creation, but it can't load any later added images, I guess it just bundles all the existing images. I tried with both a single file and a directory, nothing worked. I would be really grateful if somebody can give me some direction on this.
For more detail and sample code to reproduce this issue is here.

IMO, it's more like an issue related to your own code or Pyinstaller instead of a bug in Flask (notice this issue tracker is for issues related to Flask itself), so I'm going to transfer this to our GitHub discussion.


add support Brazilian Portuguese

PR added Support Brazilian Portuguese.
#24

done!
pendente aplicar no EXPLORER no site oficial.


Update submodule sitl_gazebo to latest Sun May 10 12:39:26 UTC 2020

- sitl_gazebo in PX4/Firmware (d53bb581c2d8399e45c3f934cd8dd7e35f1f2b68): https://github.com/PX4/sitl_gazebo/commit/2736a9134d7fed0cae7b7836d4370f9a4dfef439
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/dab2eba58ee6cdee3c7bec45c28605c5210fac73
- Changes: https://github.com/PX4/sitl_gazebo/compare/2736a9134d7fed0cae7b7836d4370f9a4dfef439...dab2eba58ee6cdee3c7bec45c28605c5210fac73

dab2eba 2020-05-03 kamilritz - Fix wind_vel_transformation
7f1b8e2 2020-05-08 JaeyoungLim - Fix gazebo motor model plugin calculations (#484)
4c1c512 2020-05-07 JaeyoungLim - Fix tiltrotor motor tilt oscillations (#471)

SITL CI MC_offboard_att is failing consistently with this change.
http://ci.px4.io:8080/blue/organizations/jenkins/PX4_misc%2FFirmware-SITL_tests/detail/PR-14880/7/pipeline

@Jaeyoung-Lim perhaps you could take a look?


(BKR-1168) Exit early on --version, --help, and --parse-only

Previously, some code paths could allow continued execution of Beaker after encountering these flags. This resulted in a not-so-dry run scenario which, at best, caused confusing error output when beaker --version was called and, at worst, may have led to the unintentional execution of a configured provisioning task.

Those failures are the continued Windows cURL issues. Everything else is good.

Jenkins, test this please

Jenkins, test this please

Pending removal of further early-exit conditions based on options[:help].

Jenkins, retest this please.

Jenkins, retest this please.

@kevpl Tests are all pass except for a transient package error on Solaris.

looks like a vmpooler provisioning issue, will rekick.
Jenkins, test this please


Add required thread synchronization to matrix kernel.

There is a potential data race in the assemble_matrix_interleaved kernel, where threads in a different warp can overwrite the buffer_v and buffer_i values before they are used to update the d and rhs vectors.
This race has been exercised in the asynchronous event delivery branch.

Add __syncthreads() to assemble matrix interleaved kernel after d and rhs update.

It's something that's tricky to set up a unit test for: it requires a particular set of scheduling decisions by the GPU. These were triggered exactly after three integration rounds in the async-integration branch version of the miniapp, but I'm having trouble coming up with a way to trigger it in isolation.

The second __syncthreads() could go at the end of the loop instead. I placed it here, because it was directly after the reads to shared memory that required the synchronization — I thought this was clearer.

Turns out I missed a couple of other points where it is required; PR updated.


[SDP-1379] Properly inject the commit hash when running make docker-build

What
Properly inject the commit hash when running make docker-build.
Why
Dev instances where not receiving the GIT_COMMIT variable, and it was not being displayed in the /health endpoint.
Known limitations
[TODO or N/A]
Checklist
PR Structure

[x] This PR has a reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR title and description are clear enough for anyone to review it.
[x] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).

Thoroughness

[x] This PR adds tests for the new functionality or fixes.
[x] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[x] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[x] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[x] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[x] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[x] This is not a breaking change.
[x] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!


Introduce sources

Pipelines encode which source content they need in the form of
repository metadata checksums (or rpm checksums). In addition, they
encode where they fetch that source content from in the form of URLs.
This is overly specific and doesn't have to be in the pipeline's hash:
the checksum is enough to specify an image.
In practice, this precluded using alternative ways of getting at source
packages, such as local mirrors, which could speed up development.
Introduce a new osbuild API: sources. With it, a stage can query for a
way to fetch source content based on checksums.
The first such source is org.osbuild.dnf, which returns repository
configuration for a metadata checksum. Note that the dnf stage continues
to verify that the content it received matches the checksum it expects.
Sources are implemented as programs, living in a sources directory.
They are run on the host (i.e., uncontained) right now. Each source gets
passed options, which are taken from a new command line argument to
osbuild, and an array of checksums for which to return content.
This API is only available to stages right now.

Update: also pass source_options to the build pipeline and don't mention the repository id when checking the checksum in the dnf stage anymore.

Update: make pylint happy.


Feature Request: Multiple IR Blasters

Thank you for this plugin and hard work so far.
Can I please request that you add a feature to have multiple IR blasters configurable?
Thanks!

I don't have multiple device to test this. Code wise, this is not too complicated.

I'd like to upvote this request for ability to configure multiple IR blasters. Thanks!

@prasad-edlabadka If this is not difficult to add would you mind trying? I'm happy to help test :)

Thanks for your help, UX was confusing (you'd have to click "Install previous version" in order to install next/beta version :), but all is good now.
I tested multiple IR blasters, and everything works as expected! Apart from I still cannot get all sub-devices discovered automatically, but if I add all IDs manuall everything's fine.
Thanks so much for your work, @prasad-edlabadka !

Hey @bkarlson  @prasad-edlabadka  can you please point me to the correct config for multiple IR blasters?
I added as below
{
"platform": "TuyaIR",
"name": "TuyaIR",
"client_id": "REDACTED",
"secret": "REDACTED",
"region": "eu",
"autoFetchRemotes": true,
"devices": [
"bf61f63ca5f06488e7m6wn",
"bfa7222fa7c2a7277bsyyw"
],
"deviceId": "bf0516c10a4c87ea2ckvm3",
"smartIR": [
{
"deviceId": "bf0516c10a4c87ea2ckvm3, bf22c49aa03094faf1s8m9",
"autoFetchRemotes": true
}
]
}
Also looks like the bridge doesn't keep running after I start it:

Never mind figured it out. Missed the repeater for adding additional IR device block. All works as expected. Thanks!


Bump release link on README.md

I think tests failed because you did not sign the commit, or your gpg key is not present in your app-sre users file.

@bsquizz  thank you man, I pushed my commit, now signed and that looks like worked :)


[5.0.0] Impossible to build offline

The build system seems terrible (and fragile) as it downloads tons of things, so it cannot be run offline.
Version 4.x was buildable with some hack to use system grpc
FYI, I will have to stop providing RPMs of this extension for Fedora/RHEL/CentOS...
And even online a try fails...
...
   Compiling ipc-channel v0.16.0
   Compiling hyper v0.14.18
   Compiling SkyAPM-php-sdk v1.0.0 (/dev/shm/BUILD/php-pecl-skywalking-5.0.0/NTS)
error: failed to run custom build command for `SkyAPM-php-sdk v1.0.0 (/dev/shm/BUILD/php-pecl-skywalking-5.0.0/NTS)`

Caused by:
  process didn't exit successfully: `/dev/shm/BUILD/php-pecl-skywalking-5.0.0/NTS/target/release/build/SkyAPM-php-sdk-5089d13374504935/build-script-build` (exit status: 1)
  --- stderr
  Error: Custom { kind: Other, error: "protoc failed: ./src/protocol/: warning: directory does not exist.\nCould not make proto path relative: ./src/protocol/language-agent/Tracing.proto: No such file or directory\n" }
warning: build failed, waiting for other jobs to finish...

git submodule update --init --recursive

I mean using the pecl archive
https://pecl.php.net/get/skywalking-5.0.0.tgz

@remicollet I upgrade now to fix this. Hope to continue providing RPMs on Fedora/RHEL/CentOS

Doesn't solve the main issue "Impossible to build offline"

    Updating crates.io index
warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
error: Unable to update registry `crates-io`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)

The possible ways for packaging

1/ follow official packaging Guidelines for rust library

and use system registry, i.e. /usr/share/cargo/registry
Problem: some dependencies are not available (ipc-channel, tonic, local-ip-address)
And rust is out of my skills

2/ use bundled registry

Terribly big (~300MB)

3/ allow network during the build

Against all good practices
Sounds terrible, and be will very long

I try the Rust vendor and delete Win32 api https://github.com/rust-lang/cargo/issues/7058, final get ~140MB vendor, is it ok if vendor packed to PECL?

@jmjoy Is there a way to reduce the vendor

@heyanlong indeed using the vendor feature helps a lot reducing sources size from 300MB to 30Mb

is it ok if vendor packed to PECL?

don't know ;)
using bundled library is still bad practice (especially from packaging PoV)
and, as explained, only a workaround
don't know if other users really care, as "pecl install" is working online by design ;)

@jmjoy Is there a way to reduce the vendor

Archive the vendor directory and unarchive when build?

@jmjoy Good idea, maybe just do this

Fixed through https://github.com/SkyAPM/SkyAPM-php-sdk/commit/edd699cfa1220f6b0221f8a6753d05628a563085 in 5.0.1


Adds ability to toggle between temporary testing endpoint and real endpoint

Description
Postmark is making some breaking, but necessary changes to their infrastructure that require consumers to test out their infrastructure.

To ensure the continued security of our systems, we wanted to let you know about some upcoming changes to our TLS (Transport Layer Security) configurations for API access. These changes may affect your application’s ability to continue to send mail through Postmark, so please read through this post in detail. These changes do not affect sending via SMTP.

This PR aims to introduce the ability to toggle a configuration value that will allow end-users to test out their infrastructure against Postmark's temporary endpoint.
Motivation and context
This is necessary for ensuring upcoming changes on Postmarks end are supported on any projects given infrastructure. Fixes #122
https://postmarkapp.com/updates/upcoming-tls-configuration-changes-for-api-users-action-may-be-required
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My pull request addresses exactly one patch/feature.
[x] I have created a branch for this patch/feature.
[x] Each individual commit in the pull request is meaningful.
[x] I have added tests to cover my changes.
[x] If my change requires a change to the documentation, I have updated it accordingly.

@mvdnbrk Any thoughts?

I would simply allow for changing the base endpoint
No need to check for an expiration date, let this be the responsibility of the developer
Postmark will no longer support TLSv1, in my opinion for a good reason and this is also a developer's responsibility or someone who takes care of the infrastructure.

The temporary endpoint is intended for testing / non production traffic, so that may raise the question if we need to make this change at all.
If so just make the endpoint configurable.

Ya, I was hesitant on whether the change was necessary in the first place, but was unsure how people using this package would be able to test against their infrastructure.
It's one thing to say let the dev ops person make those tweaks, but I don't know for sure if everyone using this package knows the ins and outs of server configuration.
I agree that changing the base endpoint is probably the simpler change, I'll update the PR this morning.

Hi @craigpaul and @mvdnbrk ... sorry for my ignorance here ... I have no idea if this package will be affected by the TLS change and, if so, not sure how to go about changing the base endpoint, per comments above. Can you offer some context on what changes are needed to use this package moving forward? Thanks so much!

Hey @nikrowell! This package won't be directly affected. The infrastructure you run your application on is what could be affected. In order to allow you to test it easier, the config file was amended to allow you as a user of the package to overwrite the base_uri. Using the URL provided by postmark, you can test your infrastructure in that way 👍


[RFR] Fix pagination on mobile

Closes #459

Testing requires too much time, because shallow rendering doesn't work (due to translate). So we must use render, and mock a lot of things.

Although I can maybe use shallow if I also export the non-decorated pagination.

No, because of `:
import { Pagination } from './Pagination';
const wrapper = shallow(<Pagination page={2} perPage={5} total={15} translate={x => x} />);
console.log(wrapper.debug());
// <WithWidth small={{...}} medium={{...}} />

tests added


Convert rarreg.key to rarreg.rar?

When you purchase WinRAR, you get a rarreg.rar file which can be opened in winrar to activate it.
How can I convert the rarreg.key that this tool generates to a rarreg.rar? Just compressing it doesn't work.

rarreg.rar is just a compressed file for WinRAR, the .key is the actual form of the license file that does the work.
You can drag rarreg.key to the WinRAR GUI window or move it to the following path
C:\Users\yourname\AppData\Roaming\WinRAR\rarreg.key

See https://github.com/bitcookies/winrar-keygen/issues/4#issuecomment-887233951

Yes, I know how to use the rarreg.key without rarreg.rar, but making a rarreg.rar would be a nice feature.

According to the official winrar video, the rarreg.key file needs to be compressed into rarkey.rar , not rarreg.rar.
Double-click the rarkey.rar file to open it and it will be automatically activated.
The winrar website gives incorrect naming information for the rarreg.rar file.


🐛 Example Inline Monster Templates - Property Missing

In order for the Statblock/Initiative Tracker plugin to utilise the notes, the following needs to be added to the notes properties.
monster2md-yamlStatblock-body.txt
statblock; inline
object2md-yamlStatblock-body.txt
statblock; inline

Without this the plugin ignores the notes and thus cannot use the monsters.

There was a mild panic attack.
Sources:
not relevant

It does not need statblock-link, right?

Statblock link?

Sorry, new to anything code-related, I've used the CLI using the Command Prompt on Windows, how do I add said lines to the Notes Properties? Ex:


QUIC Initial Packet Decryption and Parsing

Same as PR #37, updates being that rust-crypto has been replaced with aes-gcm.
Summary
The standard QUIC handshake between two hosts who do not have a pre shared key involves the use of QUIC Initial packets to share a TLS 1.3 client and server hello. After these two messages have been received, the hosts are able to change to new keys unknown to network observers. This PR add the ability to parse QUIC Initial packets, decrypt the protected payloads, parse the QUIC frames, and parse the TLS client and server hello. This gives users the ability to filter QUIC traffic on many of the same features as TLS, such as SNI.
Features

Fixes bug that causes subtraction overflow panic on short retry packets
Adds module (crypto.rs) for initial key derivation, based on Cloudflare's Quiche
Decrypts all init packets
Parses QUIC frames through new module frame.rs
Introduces QuicConn for tracking multi-packet QUIC connections
Handles CRYPTO frame reassembly, necessary for Chrome
Parses TLS Client and ServerHello, stored in a field on the QuicConn object
Adds buffers for multi packet ClientHello and ServerHello TLS messages, necessary for connections negotiating a Kyber key

Testing

Adds two new traces quic_kyber.pcapng and quic_xargs.pcap for testing QUIC parsing
Additionally testing on all preexisting pcaps in traces/
5 minutes on network:

Port 0 statistics
SW Capture %: UNKNOWN
Out of Buffer %: UNKNOWN
HW Discard %: UNKNOWN
+---------------+---------------------------+
|<PHONE_NUMBER> | rx_good_packets           |
|<PHONE_NUMBER>622 | rx_good_bytes             |
|             0 | rx_missed_errors          |
|             0 | rx_mbuf_allocation_errors |
+---------------+---------------------------+
----------------------------------------------
Current time: 299s
mempool_0 avail: 8356114, in use: 32493 (0.387%)
Ingress: 0 bps / 0 pps
Good:<PHONE_NUMBER>6 bps / 6310938 pps
Process:<PHONE_NUMBER>6 bps / 6310938 pps
Drop: 0 pps (NaN%)
HW Dropped: 0 pkts (NaN%)
SW Dropped: 0 pkts (NaN%)
Total Dropped: 0 pkts (NaN%)
----------------------------------------------
AVERAGE Ingress: 0.000 bps / 0.000 pps
AVERAGE Good:<PHONE_NUMBER>2.752 bps / 6245936.836 pps
AVERAGE Process:<PHONE_NUMBER>2.752 bps / 6245936.836 pps
DROPPED: 0 pkts (NaN%)

Main done. Ran for<PHONE_NUMBER>57s
Done. Logged 320839 Quic stream to "quic.jsonl"

Hey @thearossman, the commit in this PR removes the dependency that was causing build issues on ARM and will hopefully resolve the problem. If you can test on your ARM instances and let me know that would be greatly appreciated.
Additionally, it looks like it might take some git magic to fix the commit tree. Let me know if you need me to do anything on my end to get this resolved and checked in. Thanks!

sorry - looks like i gave you a couple of merge conflicts (which were trivial). just fixed.

Hey @thearossman, I believe the git tree is still a little messed up. It is missing the initial QUIC commits. Would it be possible to revert #41? Otherwise, I can try to recommit those contributions but that may get messy.

yikes, thanks for noting that @sippejw . i can't revert #41 automatically, but I could revert this PR that I merged, which could presumably be rebased. would that help?


chore: exclude all plugins locally to speed up dev process

this didn't do any good after all :shrug:


Panes are misaligned on the Ubuntu terminal

I've been using slack-term on an Ubuntu 18.04 system (installed with snap). After running the code a bunch of times, the UI for this CLI client suddenly broke (refer to attached screenshot). Can't seem to find a fix.

^ that is the channel pane and the "mode pane" section of the UI

Don't know exactly what is going on, could be a font issue perhaps? I'll leave it open, perhaps others experience the same problem.

I think I found the problem/solution...
In an attempt to enable emoji support on my terminal. I changed the ambiguous-width characters to 'wide' in my terminal preferences. Unfortunately this did not work (the emoji thing). Simply switching the setting back to narrow ambiguous width characters happened to solve the issue.


feat(chat-e2e): disable test for anthropic.claude-v3-opus model

Description:
disable test for anthropic.claude-v3-opus model
Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[ ] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


Fix bug when a deploymentBucket is used

This addresses issue 91. Very odd.

Good catch! Found a small issue(should be using fse.ensureDirSync) but I'll fix that. Then I'll merge and release as v3.0.7 shortly and then I'll add test coverage for this once serverless/serverless#4048 is merged and released 😃


Integration Test - Release - 2022/05/27 09:07:33

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@prmerger-dev-1 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit ae22c2c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch release-6825430992c44fce9812f2ad39b1c51c has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Install realpath during testing in travis

The nsenter tests require an implementation of realpath but Ubuntu stripped it from coreutils in 8.20-2 because they were already shipping it in a different package. From Xenial onward Ubuntu started shipping realpath with the coreutils package instead of in a different package but Xenial is not yet supported on Travis.
Fixes issues in #52
/kind bugfix
/assign @thockin

/kind bug

Should we just leave both there?

Let me rebase out the coreutils commit and then this should be good to go.

ping me when ready

@thockin should be good to go. All tests passing and coreutils commit is removed.

/lgtm
/approve


Is the project dead?

The fact that the team couldn't push out 5.6 even though apparently all that was left was the changelog and some docu update, is really not a good sign. Coupled with "search for help" sticky and 400+ unresolved issues... It would be good to clarify this on the readme. It's super sad really, although I can imagine it's an increasingly hard, uphill battle to support various rando web services that have daily changing frontend of how they display new messages.
Although all similar projects are in a somewhat usable state, we had Rambox, Hamsket, Franz, and now Ferdi all biting the bullet one way or another...

Life was simpler when all we had was pidgin and trillian

Wow, I sure hope this project isn't dead / dying. I use this as my daily driver for chatting with my team, friends, colleagues, family, etc. If this is the case, someone really should please take up the torch and help maintain this extremely useful application. I'd be at a loss for what to use instead, if this project went belly-up.

@poisonborz here's what's left before being able to release 5.6.0: https://github.com/getferdi/ferdi/issues/1017#issuecomment-775014033.
To answer your question: no, the project is not dead.
Duplicate of https://github.com/getferdi/ferdi/issues/1256.

@kytwb thank you very much for your efforts.


feat: add support to use an optional prefix in the COS instances DA

Description
add support to use an optional prefix in the COS instances DA
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

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

GitHub release
v8.5.0

Your semantic-release bot :package::rocket:


Folded lines

Hello. Tell me how can I make the folded lines brighter?
Is that right or can you do better?
augroup nord-overrides
  autocmd!
  autocmd ColorScheme nord highlight Folded guibg=CUSTOM_COLOR guifg=CUSTOM_COLOR
augroup END

found such a way in Issue for 2017
https://github.com/arcticicestudio/nord-vim/issues/36
can now be done differently?
Thank you!

Hi @Flamme13 :wave:
This is the recommended way to customize the theme like also described in the Nord Vim “Customization“ documentation.

Thanks for the answer.
Cool theme!


Default Marc Reader

reader default logic should pick the best reader depending on environmental context, from pure-ruby MarcReader vs Marc4JReader.

If not Jruby, MarcReader
If Jruby and Marc4JReader is available, Marc4JReader.
If Jruby and Marc4JReader not available, choose MarcReader, but print out a warning suggesting installation of Marc4JReader (and/or adding it to Gemfile if using Gemfile) for better performance.

Default logic of course only comes into play if the user hasn't explicitly set a reader class. If they have, just trust they know what they want. (Note since configuration files are ruby, you could write your own logic to explicitly set different configuration depending on platform/version if you wanted, just put some ifis in there!)

I think I now remember @billdueber a while ago determining that, to his ability to measure, even under JRuby, the MarcReader was just as fast as the Marc4J reader. So there's no need for this, we can just use the MarcReader all the time.
Does that match your memory, Bill?  If so, we can close this without action.

That's correct. marc4j is still useful for those that needs its weirdness
(e.g., whatever system it is that splits records across two records or
whatever it is) or for folks that need marc8 support.
On Thu, Jan 15, 2015 at 4:37 PM, Jonathan Rochkind<EMAIL_ADDRESS>
wrote:

I think I now remember @billdueber https://github.com/billdueber a
while ago determining that, to his ability to measure, even under JRuby,
the MarcReader was just as fast as the Marc4J reader. So there's no need
for this, we can just use the MarcReader all the time.
Does that match your memory, Bill? If so, we can close this without
action.
—
Reply to this email directly or view it on GitHub
https://github.com/traject-project/traject/issues/56#issuecomment-70166671
.

--
Bill Dueber
Library Systems Programmer
University of Michigan Library

For the record, the pure-ruby MarcReader actually supports marc8 encoding fine now, I added that some months ago.


Exclusions

How can I change the exclusions UnamBinder makes?

On this line:
https://github.com/UnamSanctam/UnamBinder/blob/b79b6f3eb56bd417e089da35393efa4396f31163/UnamBinder/Forms/Builder.cs#L251

I wish to add System32, AppData and ProgramFiles replacing "$env:UserProfile,$env:SystemDrive" to "$env:System32,$env:ProgramFiles,$env:AppData", but it doesnt work, can you help me?

I don't believe $env:System32 exists, but you can use [Environment]::SystemDirectory instead I think.

How can I do that?

@([Environment]::SystemDirectory,$env:ProgramFiles,$env:AppData)

That adds program files x86, i want programfiles

And it adds AppData\Roaming, i want all AppData

That adds program files x86, i want programfiles

That should not add the x86 Program Files unless you somehow has the environmental variable set as that.

You can see what each environmental variable points to by running the env command inside a command line.

And it adds AppData\Roaming, i want all AppData

Yes AppData usually refers to AppData\Roaming, if you want the base folder then you'd have to traverse back one folder with something like Join-Path -Path $env:AppData -ChildPath '..'

Is it well? Join-Path -Path $env:AppData -ChildPath '..' -ExclusionPath @([Environment]::SystemDirectory,$env:ProgramFiles,$env:AppData)

It would be something like this (I also changed the command):
-ExclusionPath @([Environment]::SystemDirectory,$env:ProgramW6432,(Split-Path $env:APPDATA))

Thanks it works sir, how can I donate you for this huge help?

Thank you, I have (crypto) donation links on this repository main page at the bottom, but only give something if you have enough to give away.


Error since SvelteKit 2 and "moduleResolution": "bundler"

Package

[ ] lucide
[ ] lucide-angular
[ ] lucide-flutter
[ ] lucide-preact
[ ] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[X] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] source/main
[ ] other/not relevant

Version
0.303.0
Browser

[ ] Chrome/Chromium
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] iOS Safari
[ ] Opera
[X] Other/not relevant

Operating system

[ ] Windows
[ ] Linux
[ ] macOS
[X] Other/not relevant

Description
Since Sveltekit 2, all new apps are created with this default in ./.svelte-kit/tsconfig.json:
{
	"compilerOptions": {
		...
		"moduleResolution": "bundler",
		...
	},
	...
}

Since, this kind of import breaks:
import type { IconProps } from 'lucide-svelte/dist/types'
Cannot find module 'lucide-svelte/dist/types' or its corresponding type declarations.ts(2307)

A workaround is to force the moduleResolution option to node:
{
	"extends": "./.svelte-kit/tsconfig.json",
	"compilerOptions": {
		...
		// Force this the because of lucide-dev
		"moduleResolution": "node"
		...
	}
...
}

Steps to reproduce

npm create svelte@latest my-app (just a skeleton project, with typescript)
cd my-app
npm i lucide-svelte@latest
Create the file /src/routes/demo.ts and paste:
import type { IconProps } from 'lucide-svelte/dist/types'
See the error:
Cannot find module 'lucide-svelte/dist/types' or its corresponding type declarations.ts(2307)
Here the whole project that just needs to be "npm i && npm run dev".
my-app.zip

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

Seems like the types have been removed from exports?
any reason these arent being exported anymore?
``

@JClackett You showing types from lucide-react.
This about lucide-svelte

Indeed, but since this version there are no exported types from react native package, so was wondering if it was connected

No probably not lucide-react-native had an old types build script because a lot packages where still javascript files instead of typescript. We now have everything in typescript, including lucide-svelte.

Created a fix in #1779. Not all types where exported 🤷🏼♂.
The new correct syntax for import types will be:
import type { IconProps } from 'lucide-svelte'

Where do I import the types from in a react native project?


fixes #41

it rounds numbers before render, this work perfectly and fix issue

Thanks a lot for the help

I will add you to contributors and draft patch release to npm this evening, so You can have fresh and working version

NPM publish version was released @plumthedev .
Unforunately I revised your solution, and it was incorrect. It rounded to full numbers, while JSR supports floating numbers too.
There is a helper tought which round to step roundToStep(), so I used it instead of Math.round.
I led to another not-pretty "bug", but I will leave it as it is, so your issue should be fixed now.
I've added you to contributors anyway.

okay thanks, if you are not angry for this bug, I can solve some of the others that you have as part of the recompense :)

Well, the library in that state is not maintained anymore (see README
disclaimer) so I see no point in you investing your time, but if you want
there is a list of issues you can help with.
Im thinking currently about version 2, with rewritten codebase.
Oh, and I'm not angry. Mistakes happen all the time :)
śr., 6 lut 2019, 18:38: Kacper Pruszynski<EMAIL_ADDRESS>napisał(a):

okay thanks, if you are not angry for this bug, I can solve some of the
others that you have as part of the recompense :)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mm-jsr/jsr/pull/42#issuecomment-461115437, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHLTpvf8rRC15kHrCXmR_k2b4jFdT9pEks5vKxMngaJpZM4alOFi
.


Command Not Found

there are something wrong here. It not working in my linux terminal
Please fix it thank
$name = $args[0]

@thanhtai9606 do you have PowerShell installed in your machine? if yes what is the error you are getting?


Experimental style changes

I explored the code base and tried some things
Style simplification
Style (previously ComputedStyle) holds the concrete values (no StyleValue), and StyleFns are just closures which modify the style.
So starting with Style::default()all boxed StyleFns are used in the following order, this is mostly as before:

base style
style
responsive styles
hover style
focus style
active style
disabled style
animation system changes
override style (new)

This could also have been done with Option instead of StyleValues, but I originally planned an API like .style([padding(10),flex(), ...]), where each is a style modifying closure. Could also still change it to be like this.
I must admit I do not really know whether this is better, we loose the ability to unset styles, but everything seems to still work as before. Also it is a bit simpler, and fewer lines of code.
Style Units
I created newtype wrapper Px for pixel values and Pct for percent values. Px is chosen by default with multiple From<x> implementations. Style functions which can work with both take an enum (impl Into<PxOrPct>).
Instead of style functions like width_px and width_pct there is now only width
Short style functions
I added some shorter aliases like  p for padding, mx for margin_horiz, and so on. Inspired by tailwind.
Multiple box shadows
Just as in CSS (still missing inset styles). This required a different style API.
I realize these are more controversial changes, no pressure to merge as is. If you want some of these changes I can rollback the rest, or create individual PRs. Also not all comments and examples are updated, I wanted to open the PR first.
I plan to have a look at the animation system, and change some things. At least I have fun coding this, thanks for the project.

The reason we went with StyleValues over Option is because of the ability of unset values which is quite important.
I like the change of style units. But maybe we should keep things like width_pct(100.0) because it's so much easier to input than width(Pct(100.0))

The reason we went with StyleValues over Option is because of the ability of unset values which is quite important.

How is this used? I did not see it.

I like the change of style units. But maybe we should keep things like width_pct(100.0) because it's so much easier to input than width(Pct(100.0))

I can make a PR for this 👍

@MinusGix Any use case you can think of for unset?

@jrmoulton How do you like width(100.pct()) size(100.px(), 50.pct())?

@jrmoulton How do you like width(100.pct()) size(100.px(), 50.pct())?

I like it but I don't like that you have to import the extension trait every time you want to use it.
It's also looks more noisy than using functions the _px functions but when I look at it with syntax highlighting it actually looks nice.
width(100.pct());

size(100.px(), 50.pct())

Even though I've never needed it, it's nice that it's easier to mix and match units.
Hmmm. I think I'm in favor of it but the issue of needing to import the extension trait seems annoying. Maybe worth it though

Closing, style unit changes are in #112


Speed up remark count

Also update remark count when releasing from the submission table as well.

@mishaschwartz it would be nice if we could use the association submitted_remark from the Submission model. Can you try something like groupings.joins(submissions: :submitted_remark).where(result.state == incomplete)?


[MINOR] Update DOAP with 0.10.0 Release

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

The test failure should not be caused by this patch, so i would just merge it.


Web App does not start

Seems like there is an issue with the web UI. It fails with the following message:
user@86ca:/workspace/whisper-jax# python app/app.py
Initialized persistent compilation cache at ./jax_cache
Downloading (…)neration_config.json: 100%
2023-04-28 21:06:08;INFO;compiling forward call...
Traceback (most recent call last):
  File "app/app.py", line 85, in <module>
    random_timestamps = pipeline.forward(random_inputs, batch_size=BATCH_SIZE, return_timestamps=True)
  File "/workspace/whisper-jax/whisper_jax/pipeline.py", line 403, in forward
    input_features = model_inputs.pop("input_features")
KeyError: 'input_features'
Exception ignored in: <function Pool.__del__ at 0x7f260fee0f70>
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/multiprocessing/pool.py", line 268, in __del__
  File "/opt/conda/lib/python3.8/multiprocessing/queues.py", line 362, in put
AttributeError: 'NoneType' object has no attribute 'dumps'

Should be fixed on main!


Telegraf v1.32.0

Closes #
This PR documents missing v1.31.x releases, adds Telegraf v1.32.0 and tags this release as the latest. It also fixes the telegraf-plugins.yml list of plugins by adding missing plugins and fix typos in plugin ids.

[x] Rebased/mergeable

@jstirnaman anything I can do to get this merged? The release is out since over a week now...

@jstirnaman anything I can do to get this merged? The release is out since over a week now...

Apologies! I didn't realize you were waiting on us.


Async action-dispatcher

Any thoughts on making the async action dispatcher?
I am trying out uniflow for one of my projects and it is wonderful. But there is no support for async actions.
I made some changes to the dispatcher by wrapping the return of the dispatch with a Promise.resolve and chaining the them rather than iterate.
Any thoughts? If you r cool, I can make a pull request.

In case you need to launch async process in your action dispatcher, consider emitting action upon completion of async call, and have another action dispatcher handle this action.
For instance, you might have UPDATE_ITEM action calling your REST API and ITEM_UPDATED action emitted upon success (and optionally ITEM_UPDATE_FAILED on failure).
This way the code is cleaner and easier to read and write tests against. With Uniflow, we encourage you to use actions as much as possible instead of using promises or callbacks.

Thank you for ur advice. Can I further ask what would u recommend if I am waiting for multiple events to complete? (I am retrieving multiple resources)
E.g. I am using Promise.all now.

Sorry, I am still pretty new to this. I am imagining a few solutions.

emit an action after each request, then the subsequent action will set a flag for the resource and check the state of all the other resources flags, and only emit a complete if everything is completed?

Wrap all requests inside 1 action and use a promise.all to emit a completed action?

Sorry just one last question.
Should I keep the dispatched action (the object that is passed into the methods) immutable?
Because since each action is synchronous, if I allow the dispatched action to be mutable, I can use the action-dispatcher as middleware - modifying the data before updating the state.

Very good questions.
As to waiting for multiple events to complete, we've implemented one solution in our internal version of the library. I think it's a bit too complex and specific, so I wasn't sure about porting it to open-sourced repo. It's quite close to what you're describing in your option (1), though.
For your second question about keeping action property object immutable the answer is simple: you don't have to, and in fact you can have multiple action dispatchers acting like middleware and updating action object with new information for future actions. The order in which actions are processed is defined by the order dispatchers are declared.

Thank you very much!


Is there a way to propagate panic in actor? How do you write tests?

Hello! First of all, thank you for this great crate, appreciate it a lot.
I have a question regarding testing. As far as I can see, the panics are caught and I don't see a way to figure out that an Actor panicked. When using actors in tests, this means that tests pass even though something panicked somewhere. Is there a way to make it so that panic gets propagated and makes the test fail?

In order to determine if an actor panicked, there's essentially two flows.
Flow 1: Actor panicked in pre_start
In this case, the panic will be caught and wrapped into an SpawnErr::StartupFailed err. So the actor won't complete startup or register into the supervision flow
Flow 2: Actor panics in either handle() or handle_supervisor_evt()
In this case, you would need the actor to have a supervisor. If there's a supervisor, the supervisor will have a SupervisionEvent sent to it and it'll be handled by the handle_supervisor_evt() logic. If there is no supervisor then the panic is lost, and someone would need to wait on the JoinHandle to see the actor died and/or poll the actor's ActorStatus on the ActorCell|ActorRef. But you wouldn't be able to capture the panic message without a supervision flow.

In a test-case, I'd wait for the actor to exit however if it actually failed, there isn't a clear way to capture the panic without a supervisor (and that's somewhat by design).

Thank you for your answer. Yeah, the fact that it's hard to crash the system is very nice to be honest. In testing it's a little inconvenient, but that's a good trade-off I would say.
Another question/feature request would be, is there a way to stop the actor but don't stop processing messages already in the queue? The stop_and_wait stops processing immediately, and handle.await seems to just hang if there's no signal to stop the actor. What we do right now is we have a message available in tests only that sends a response. This makes it possible to have a sync point where we wait for the message to process.
A functionality that signals to the actor to stop receiving new messages, finish processing the ones in the queue and then stop would be great!

There is, it's called drain or drain_and_wait. You might just need to upgrade your version if you don't have it already

There is, it's called drain or drain_and_wait. You might just need to upgrade your version if you don't have it already

Ah alright, awesome! I will update and try it out, thank you!


fix: Fix panel crash (unable to dispatch projection2d) due to bug in hash.ts

Internal JIRA ticket: https://wandb.atlassian.net/browse/WB-14781
Fixes a bug in hash.ts where we were getting collisions due to only serializing values instead of entire nodes (values and types).
The particular collision we were getting here was:
{
   "nodeType": "const",
    "value": [],
    "type": {"type": "list", "objectType": "string"}
}

was colliding with
{
   "nodeType": "const",
    "value": [],
    "type": {"type": "list", "objectType": {"type": "typedDict", "propertyTypes": {}}}
},

leading to the wrong type being propagated in the type system in weave python, manifesting downstream as a dispatch error.

This fixes the issue by hashing the entire node instead of just the value, leading nodes with the same value but different types to be serialized separately.

cc @laxels  for visibility, touches serialization.


TDD project

Did the TDD project, as seen here.

Changes made @sooniln

@sooniln Comments addressed.
I liked the articulation of how you found the Collections.disjoint method. The takeaway I got was to think in terms of goal first, then implementation rather than diving immediately into implementation with a vague sense of what is wanted what at the end.


⚠ Bofrost.be has degraded performance

In 35bfb0f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1566 ms

Resolved: Bofrost.be performance has improved in 0376ea4.


Remove support for -Zallow-features

This is no longer be necessary as unstable features will not be enabled unless you explicitly use --cfg pin_project_show_unpin_struct.

bors r+


Add flag to disable/enable boldness

Addresses issue #95
This is my first time using Rust so let me know if there is anything that I'm doing that isn't following best practices. 🙂

Looks like there are some merge conflicts from some recent work on master. I should be able to work on addressing these later today.

I fixed the merge conflicts but I still need to make adjustments to existing tests

Just noticed I have a few more conflicts to resolve! I can work on resolving those tomorrow.

Sorry for the late review, just realized I didn't submit it for 2 days :man_facepalming:

The latest commits include some adjustments based on the new file organization as well as changing the command line option from --bold <on|off> to --no-bold.

Just pushed some changes that address the most recent code review comments


Specifying non-0 index resets header immediately back to start.

Expected behaviour
Should select specified index
Actual behaviour
Renders at proper index, then rebounds to the start immediately.
Code sample, screenshots

Seemingly the issue is only the header, the rest of the body renders as intended. Later if you touch it, then it will reset.
  _renderHeader = props => (
    <TabBar
      {...props}
      tabStyle={{
        width: 75,
      }}
      scrollEnabled
      indicatorStyle={{ backgroundColor: "#FFF" }}
      style={{ backgroundColor: blue }}
    />
  );

Rest of the render is nothing special
 _renderScene = SceneMap({
    APPL: Route,
    TWTR: Route,
    TSLA: Route,
    NFLX: Route,
    FB: Route,
    MSFT: Route,
    DIS: Route,
  });
  render() {
    const state = this.state;

    return (
      <View style={styles.container}>
        <TabViewAnimated
          style={styles.container}
          navigationState={this.state}
          renderScene={this._renderScene}
          renderHeader={this._renderHeader}
          onIndexChange={this._handleIndexChange}
          initialLayout={initialLayout}
        />
      </View>
    );
  }

What have you tried
Tried removing tabStyle width, removed scrollEnabled.

Hey, I just released a new alpha 2.0.0-alpha.0 of the library. It's rewritten using react-native-gesture-handler and react-native-reanimated addresses a many platform specific bugs and performance problems. The documentation is updated as well.
Please try the new version and see if it addresses your issue. If not, please open a new issue following the issue template.


OpenTherm monitor stuck in PS=1 mode

During initialisation, homebridge-otgw issues a PS=1 command, to request a summary from the OpenTherm Monitor.  This also causes the monitor to stop logging OpenTherm messages.  Normally, homebridge-otgw should issue a PS=0 to resume logging, but on occasion it doesn't (or maybe the message is lost?).
As a safeguard homebridge-otgw should issue PS=0 either periodically, or check whether it's still receiving regular messages.

Seems to be a timing issue:
Nov 12 20:30:24 pi2 homebridge[22959]: [OTGW] send command: PS=1
Nov 12 20:30:25 pi2 homebridge[22959]: [OTGW] command: PS=1
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] send command: PS=1 [1]
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] send command: PS=1
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] command: PS=1
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] send command: PS=1, response: 1
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] command: PS=1
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] summary: {"master_status_ch_enable":false,"master_status_dhw_enable":true,"slave_status_fault":false,"slave_status_ch_mode":false,"slave_status_dhw_mode":false,"slave_status_flame_status":false,"slave_status_diagnostic_indication":false,"control_setpoint":10,"remote_parameter_enable_dwh_setpoint":true,"remote_parameter_enable_max_ch_setpoint":true,"remote_parameter_write_dwh_setpoint":true,"remote_parameter_write_max_ch_setpoint":true,"max_reletive_modulation_setting":0,"max_boiler_capacity":0,"min_modulation_level":0,"room_setpoint":21,"relative_modulation_level":0,"ch_water_pressure":0,"room_temperature":21.48,"boiler_water_temperature":44.21,"dhw_temperature":0,"outside_temperature":5.33,"return_water_temperature":44,"dhw_setpoint_max":65,"dhw_setpoint_min":40,"max_ch_setpoint_max":85,"max_ch_setpoint_min":20,"dhw_setpoint":65,"max_ch_setpoint":85,"burner_starts":6904,"ch_pump_starts":6752,"dhw_pump_starts":3336,"dhw_burner_starts":4000,"burner_operation_hours":448,"ch_pump_operation_hours":560,"dhw_pump_operation_hours":4784,"dhw_burner_operation_hours":112}
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] send command: PS=0
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] command: PS=0
Nov 12 20:30:29 pi2 homebridge[22959]: [OTGW] send command: PS=0, response: 0
Nov 12 20:30:30 pi2 homebridge[22959]: [OTGW] send command: PS=1 [1]
Nov 12 20:30:30 pi2 homebridge[22959]: [OTGW] command: PS=1
Nov 12 20:30:33 pi2 homebridge[22959]: [OTGW] send command: PS=1 [2]
Nov 12 20:30:33 pi2 homebridge[22959]: [OTGW] command: PS=1
Nov 12 20:30:33 pi2 homebridge[22959]: [OTGW] send command: PS=1, response: 1

Damn.  I though I found the cause, but after installing v0.0.31 on my production Pi, the issue occurred right away.  Had to issue PS=1 from the OpenTerm Monitor to start homebridge-otgw.
Funny, the monitor shows the summary (at 15:58:44):

But it's not received by homebridge-otgw?
Feb 21 15:58:42 pi2 homebridge[8205]: [OTGW] B40000200: {"master_status_ch_enable":false,"master_status_dhw_enable":true,"slave_status_fault":false,"slave_status_ch_mode":false,"slave_status_dhw_mode":false,"slave_status_flame_status":false,"slave_status_diagnostic_indication":false}
Feb 21 15:58:42 pi2 homebridge[8205]: [Weather] Amsterdam History: add entry 30826: {"time":1582297122,"temp":8.9,"humidity":70,"pressure":1022}
Feb 21 15:58:42 pi2 homebridge[8205]: [Weather] Amsterdam History: set history status to: c7011901 00000000 db25e722 [03 0102 0202 0302] c00f c00f ab680000<PHONE_NUMBER>01
Feb 21 15:58:42 pi2 homebridge[8205]: [Weather] Amsterdam History: set History Status from "wP8YAQAAAADbJeciAwECAgIDAsAPwA+paAAAAAAAAAEB" to "xwEZAQAAAADbJeciAwECAgIDAsAPwA+raAAAAAAAAAEB"
Feb 21 15:58:42 pi2 homebridge[8205]: [OTGW] BD0010A00: {"control_setpoint":10}
Feb 21 15:58:43 pi2 homebridge[8205]: [OTGW] send command: PS=1 [1]
Feb 21 15:58:43 pi2 homebridge[8205]: [OTGW] B40000200: {"master_status_ch_enable":false,"master_status_dhw_enable":true,"slave_status_fault":false,"slave_status_ch_mode":false,"slave_status_dhw_mode":false,"slave_status_flame_status":false,"slave_status_diagnostic_indication":false}
Feb 21 15:58:43 pi2 homebridge[8205]: [OTGW] B40192466: {"boiler_water_temperature":36.4}
Feb 21 15:58:43 pi2 homebridge[8205]: [OTGW] command: PS=1
Feb 21 15:58:43 pi2 homebridge[8205]: [Sonos] RINCON_347E5C318CBE01400 [Katja]: request 9: status 200 OK
Feb 21 15:58:44 pi2 homebridge[8205]: [OTGW] response: PS: 1
Feb 21 15:58:44 pi2 homebridge[8205]: [OTGW] send command: PS=1, response: 1
Feb 21 15:58:44 pi2 homebridge[8205]: [Sonos] RINCON_5CAAFD9EAF0A01400 [Bedroom (L)]: request 9: status 200 OK
Feb 21 15:58:44 pi2 homebridge[8205]: [Sonos] RINCON_949F3E0E142C01400 [Bathroom]: request 9: status 200 OK
Feb 21 15:58:44 pi2 homebridge[8205]: [Sonos] RINCON_000E58A8171201400 [Home]: request 9: status 200 OK
Feb 21 15:58:45 pi2 homebridge[8205]: [Lib] warning: heartbeat 7, drift 846
Feb 21 15:58:45 pi2 homebridge[8205]: [Config] Homebridge Config UI X v4.10.3 is listening on :: port 8081
Feb 21 15:58:46 pi2 homebridge[8205]: [Lib] warning: heartbeat 8, drift 331
Feb 21 15:58:46 pi2 homebridge[8205]: [Lib] warning: heartbeat 9, drift 301
Feb 21 15:58:48 pi2 homebridge[8205]: [Lib] warning: heartbeat 10, drift 442
Feb 21 15:58:48 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption from 8729.539 kWh to 8729.541 kWh
Feb 21 15:58:48 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption normal from 3375.42 kWh to 3375.422 kWh
Feb 21 15:58:48 pi2 homebridge[8205]: [P1] Electricity: set homekit current consumption from 482 W to 465 W
Feb 21 15:58:50 pi2 homebridge[8205]: [Lib] warning: heartbeat 12, drift 339
Feb 21 15:58:56 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption from 8729.541 kWh to 8729.542 kWh
Feb 21 15:58:56 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption normal from 3375.422 kWh to 3375.423 kWh
Feb 21 15:58:56 pi2 homebridge[8205]: [P1] Electricity: set homekit current consumption from 465 W to 448 W
Feb 21 15:59:00 pi2 homebridge[8205]: [OTGW] command: SC=15:59/5
Feb 21 15:59:00 pi2 homebridge[8205]: [OTGW] response: SC: 15:59/5
Feb 21 15:59:06 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption from 8729.542 kWh to 8729.543 kWh
Feb 21 15:59:06 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption normal from 3375.423 kWh to 3375.424 kWh
Feb 21 15:59:06 pi2 homebridge[8205]: [P1] Electricity: set homekit current consumption from 448 W to 409 W
Feb 21 15:59:07 pi2 homebridge[8205]: [Lib] flush cachedAccessories
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_949F3E0E142C01400 [Bathroom]: lastSeen: 23s ago at <IP_ADDRESS>, bootSeq: 66
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_5CAAFD9EAF0A01400 [Bedroom (L)]: lastSeen: 23s ago at <IP_ADDRESS>, bootSeq: 115
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_5CAAFD9EAFD401400 [Bedroom (R)]: lastSeen: 29s ago at <IP_ADDRESS>, bootSeq: 96
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_B8E937DF892C01400 [Dining Room (L)]: lastSeen: 25s ago at <IP_ADDRESS>, bootSeq: 95
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_B8E937DFD0A201400 [Dining Room (R)]: lastSeen: 28s ago at <IP_ADDRESS>, bootSeq: 104
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_000E58A8171201400 [Home]: lastSeen: 23s ago at <IP_ADDRESS>, bootSeq: 322
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_347E5C318CBE01400 [Katja]: lastSeen: 24s ago at <IP_ADDRESS>, bootSeq: 187
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_5CAAFD1FA0D701400 [Living Room]: lastSeen: 26s ago at <IP_ADDRESS>, bootSeq: 148
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_5CAAFD7C941401400 [Living Room (LS)]: lastSeen: 29s ago at <IP_ADDRESS>, bootSeq: 172
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_5CAAFD7C940401400 [Living Room (RS)]: lastSeen: 29s ago at <IP_ADDRESS>, bootSeq: 139
Feb 21 15:59:07 pi2 homebridge[8205]: [Sonos] RINCON_949F3EAECB4801400 [Living Room (Sub)]: lastSeen: 29s ago at <IP_ADDRESS>, bootSeq: 10
Feb 21 15:59:16 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption from 8729.543 kWh to 8729.544 kWh
Feb 21 15:59:16 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption normal from 3375.424 kWh to 3375.425 kWh
Feb 21 15:59:16 pi2 homebridge[8205]: [P1] Electricity: set homekit current consumption from 409 W to 407 W
Feb 21 15:59:26 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption from 8729.544 kWh to 8729.546 kWh
Feb 21 15:59:26 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption normal from 3375.425 kWh to 3375.427 kWh
Feb 21 15:59:26 pi2 homebridge[8205]: [P1] Electricity: set homekit current consumption from 407 W to 416 W
Feb 21 15:59:36 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption from 8729.546 kWh to 8729.547 kWh
Feb 21 15:59:36 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption normal from 3375.427 kWh to 3375.428 kWh
Feb 21 15:59:36 pi2 homebridge[8205]: [P1] Electricity: set homekit current consumption from 416 W to 407 W
Feb 21 15:59:46 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption from 8729.547 kWh to 8729.548 kWh
Feb 21 15:59:46 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption normal from 3375.428 kWh to 3375.429 kWh
Feb 21 15:59:46 pi2 homebridge[8205]: [P1] Electricity: set homekit current consumption from 407 W to 409 W
Feb 21 15:59:52 pi2 homebridge[8205]: [OTGW] command: PR=M
Feb 21 15:59:53 pi2 homebridge[8205]: [OTGW] response: PR: M=G
Feb 21 15:59:56 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption from 8729.548 kWh to 8729.549 kWh
Feb 21 15:59:56 pi2 homebridge[8205]: [P1] Electricity: set homekit total consumption normal from 3375.429 kWh to 3375.43 kWh
Feb 21 15:59:56 pi2 homebridge[8205]: [P1] Electricity: set homekit current consumption from 409 W to 413 W
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] command: PS=1
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] response: PS: 1
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] summary: {"master_status_ch_enable":false,"master_status_dhw_enable":true,"slave_status_fault":false,"slave_status_ch_mode":false,"slave_status_dhw_mode":false,"slave_status_flame_status":false,"slave_status_diagnostic_indication":false,"control_setpoint":10,"remote_parameter_enable_dwh_setpoint":true,"remote_parameter_enable_max_ch_setpoint":true,"remote_parameter_write_dwh_setpoint":true,"remote_parameter_write_max_ch_setpoint":true,"max_relative_modulation_setting":0,"max_boiler_capacity":0,"min_modulation_level":0,"room_setpoint":21,"relative_modulation_level":0,"ch_water_pressure":0,"room_temperature":21.26,"boiler_water_temperature":36.1,"dhw_temperature":0,"outside_temperature":8.91,"return_water_temperature":35.7,"dhw_setpoint_max":65,"dhw_setpoint_min":40,"max_ch_setpoint_max":85,"max_ch_setpoint_min":20,"dhw_setpoint":65,"max_ch_setpoint":85,"burner_starts":12336,"ch_pump_starts":11872,"dhw_pump_starts":8080,"dhw_burner_starts":5088,"burner_operation_hours":1368,"ch_pump_operation_hours":1592,"dhw_pump_operation_hours":6216,"dhw_burner_operation_hours":152}
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] send command: PS=0
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] command: PS=0
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] response: PS: 0
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] send command: PS=0, response: 0
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] Thermostat: set Current Temperature from 21.5°C to 21.3°C
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] Boiler: set Current Temperature from 36.4°C to 36.1°C
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] HotWater: set Current Temperature from 36.4°C to 36.1°C
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] initialised
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] BC0790638: {"ch_pump_operation_hours":1592}
Feb 21 15:59:58 pi2 homebridge[8205]: [OTGW] AC01B08E9: {"outside_temperature":8.91}
Feb 21 15:59:59 pi2 homebridge[8205]: [OTGW] BC0192419: {"boiler_water_temperature":36.1}
Feb 21 15:59:59 pi2 homebridge[8205]: [OTGW] B40000200: {"master_status_ch_enable":false,"master_status_dhw_enable":true,"slave_status_fault":false,"slave_status_ch_mode":false,"slave_status_dhw_mode":false,"slave_status_flame_status":false,"slave_status_diagnostic_indication":false}
Feb 21 16:00:00 pi2 homebridge[8205]: [OTGW] command: SC=16:00/5
Feb 21 16:00:00 pi2 homebridge[8205]: [OTGW] response: SC: 16:00/5
Feb 21 16:00:00 pi2 homebridge[8205]: [OTGW] B40000200: {"master_status_ch_enable":false,"master_status_dhw_enable":true,"slave_status_fault":false,"slave_status_ch_mode":false,"slave_status_dhw_mode":false,"slave_status_flame_status":false,"slave_status_diagnostic_indication":false}
Feb 21 16:00:00 pi2 homebridge[8205]: [OTGW] B40000200: {"master_status_ch_enable":false,"master_status_dhw_enable":true,"slave_status_fault":false,"slave_status_ch_mode":false,"slave_status_dhw_mode":false,"slave_status_flame_status":false,"slave_status_diagnostic_indication":false}

I'm running multiple plugins in the same homebridge instance, and do see some drift.  But I find it hard to believe that NodeJS would somehow miss websocket data.

Oh the joy of asynchronous programming...

But I find it hard to believe that NodeJS would somehow miss websocket data.

I issued the summary log message from the (on-time) event handler, instead of from the parser.  The message is received alright, but not logged.  After changing that and a couple of homebridge restarts... Bingo!:
Feb 21 16:40:16 pi2 homebridge[7545]: [OTGW] message: Command (via websocket from <IP_ADDRESS>:36664): PS=1
Feb 21 16:40:16 pi2 homebridge[7545]: [OTGW] message: PS: 1
Feb 21 16:40:16 pi2 homebridge[7545]: [Lib] warning: heartbeat 8, drift 528
Feb 21 16:40:16 pi2 homebridge[7545]: [OTGW] message: 00000010/00000000,10.00,00000011/00000011,0.00,0/0,21.00,0.00,0.00,21.41,36.10,0.00,8.83,35.70,65/40,85/20,65.00,85.00,12344,11872,8080,5088,1368,1592,6216,152
Feb 21 16:40:16 pi2 homebridge[7545]: [OTGW] summary: {"master_status_ch_enable":false,"master_status_dhw_enable":true,"slave_status_fault":false,"slave_status_ch_mode":false,"slave_status_dhw_mode":false,"slave_status_flame_status":false,"slave_status_diagnostic_indication":false,"control_setpoint":10,"remote_parameter_enable_dwh_setpoint":true,"remote_parameter_enable_max_ch_setpoint":true,"remote_parameter_write_dwh_setpoint":true,"remote_parameter_write_max_ch_setpoint":true,"max_relative_modulation_setting":0,"max_boiler_capacity":0,"min_modulation_level":0,"room_setpoint":21,"relative_modulation_level":0,"ch_water_pressure":0,"room_temperature":21.41,"boiler_water_temperature":36.1,"dhw_temperature":0,"outside_temperature":8.83,"return_water_temperature":35.7,"dhw_setpoint_max":65,"dhw_setpoint_min":40,"max_ch_setpoint_max":85,"max_ch_setpoint_min":20,"dhw_setpoint":65,"max_ch_setpoint":85,"burner_starts":12344,"ch_pump_starts":11872,"dhw_pump_starts":8080,"dhw_burner_starts":5088,"burner_operation_hours":1368,"ch_pump_operation_hours":1592,"dhw_pump_operation_hours":6216,"dhw_burner_operation_hours":152}
Feb 21 16:40:16 pi2 homebridge[7545]: [OTGW] send command: PS=1, response: 1
Feb 21 16:40:17 pi2 homebridge[7545]: [Lib] warning: heartbeat 9, drift 701

The summary message is handled before the PS=1 response, but the event handler is installed (using .once()) only after receiving the response.

Should be fixed in v0.0.33.  Fingers crossed.  Just to be sure, now logging the raw messages as they come in.