Where is the possibility to know when events are sent

I need to send an event when link on the page is clicked or running code when the browser location changing. All events in this case usually are canceled, because the page is reloading. So, how can I wait when events uploading is finished?
Example:
const onButtonClick = () => {
    mParticle.logEvent(
        eventName,
        mParticle.EventType.Other,
        {...data}
    )
    window.location.href = '/'
};

Hey @VACincoming. At present, we don't provide a callback for when the event has completed, although that would be a great feature.
I'm assuming you're using React based on the code sample I'm seeing. My guess is that it could be because you're using window.location.href which is reloading the page before React can finish triggering the event logging. I'm a bit rusty with my React so I could be wrong.
There might be a better way to handle this. Assuming you're using an SPA and just changing views every time a button is clicked, you might want to consider using logEvent when your view is rendered.
I might also recommend using React Router's Link instead of a button click since it makes things easier, but that might be a bigger architectural change.
I also did a little digging on StackOverflow and found some options that could help you with some recommendations for handling page navigation: https://stackoverflow.com/questions/37295377/how-to-navigate-from-one-page-to-another-in-react-js
According to that article, using window.open("/insert/your/path/here"); might be an option.
Please let me know whether that works for you. If you have a sample project that you can provide, our team might be able to help figure out a better way for you to get something working.

Also, as another option, reach out to your CSM (assuming you have one) and reference that “you can read about the wonderful benefits of v3 here! https://docs.mparticle.com/developers/sdk/web/getting-started/#upload-interval--batching”
If you're using the v3 of our SDK, you might not have to worry about these events being interrupted.

Unfortunately, in this specific case our application need to make an external redirect in the same window. Therefore, solutions with react-router and window.open will not resolve my problem.
So, am I rightly understand, for the current moment I can resolve my issue only v3 of your SKD?

i'm not sure why the above commits claim to reference this issue. They are unrelated.

@VACincoming - I would recommend migrating to the V3 events endpoint because that codepath takes advantage of the Beacon API.  This does a a "fire and forget" if the page is transitioning so that it will always go through and not be cancelled.   It also has a richer payload and supports batching.
To clarify, this is not v3 of the SDK so no change is needed on your part. Instead, simply request from your CSM to migrate your workspace to the v3 event endpoint. We will update a database item on our side, and you will automatically start sending events to our v3 event endpoint instead of our v2 event endpoint.  Full details here as Alex already pointed out.

Will it work in case when I call my events from identityCallback which passed inside mParticle.Identity.modify(identityRequest, identityCallback)? I need to call mParticle calls in the following order before the page will reload:

Identity update
User attribute update
Send custom event

If you include the user attribute update, then sending a custom event inside of your identityCallback, then that is the order it will go in, yes.
If you then need to do a window.location.href = '/', then that would run into the same XHR cancelling issue that you experience right now.


Cloud and Local Setup

Has anyone ever done a setup with the server being ran in the cloud and worker nodes being ran on a local network? I'd like to run server on the cloud and be able to add different worker clusters at different physical locations for redundancy.
Running workers on cloud servers gets $$$$ really quickly so I'd love to be able to keep the powerful worker machines with me locally.
If this is super simple could anyone point me in the right direction with what to search for? Thanks!

Yes, you can install nexrender-server on any cloud platform, and it would manage all your jobs.
After that you can connect as many workers as you need, from any place in the world, including your local machines, just provide a public http host to the server. (Server is a simple tiny http server)

@inlife Thank you!


Update to 3.1

Please convert the source code to Swift 3.1 syntax, so that we can use with Xcode 8.3.
When trying to rebuild the framework:
Build Failed 	Task failed with exit code 65: 	/usr/bin/xcrun xcodebuild -workspace /Users/cghill/carthage/Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace -scheme "OHHTTPStubs iOS Framework" -configuration Release -derivedDataPath /Users/cghill/Library/Caches/org.carthage.CarthageKit/DerivedData/OHHTTPStubs/5.2.3 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build
...
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

Could you maybe submit a Pull Request? I'm a bit behind with all my open-source projects so any help is appreciated and would help make the migration happen faster :wink:

BTW, I'm not sure we'd have to change much between what's already in the swift-3.0 branch and what's needed to make that Swift 3.0 branch compile in Swift 3.1?
(I plan to make that swift-3.0 branch the default (replacing master) one day, just still haven't had the time yet)

Hi @cohilla,
I think your issue is related to #233,
If you use Carthage, you must use -swift3 suffixed releases (in your case 5.2.2-swift3) until we make master use Swift 3.0.
Do not despair, we are working on it #240 😉

I'm able to build using Carthage and the Xcode-8.3 branch 👍
I will close this since another issue is open to update the master branch.


DO NOT MERGE! Fast Forward stable to 43c2bfc6cd2cccc639a783e9916bf2d193134f0d.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job mixer/postsubmit passed


Add before_send_transaction

Callback function that is called for all transactions (in opposite to before_send which is only called for issue events)
Fixes #1738

Docs: https://github.com/getsentry/sentry-docs/pull/6089


Exports in coffee/js files with the same name are not conflicts

equivalentJavaScriptFile was still converting snake=>kebab case.  Also, .js paths are now passed into it, so now it returns those without appending an extra '.js.
Fixes #198.
/cc @justinthec, @lemonmade.

👍


[Event Request] Codeunit 7301 - OnBeforeDeleteFromBinContent

Hi, would it be possible to get an event OnBeforeDeleteFromBinContent in codeunit 7301, procedure DeleteFromBinContent, like this
    local procedure DeleteFromBinContent(var WhseEntry: Record "Warehouse Entry")
    var
        FromBinContent: Record "Bin Content";
        WhseEntry2: Record "Warehouse Entry";
        WhseItemTrackingSetup: Record "Item Tracking Setup";
        Sign: Integer;
        IsHandled: Boolean;
    begin
        OnBeforeDeleteFromBinContent(WhseEntry,IsHandled);
       if not IsHandled then begin
           FromBinContent.Get(
               WhseEntry."Location Code", WhseEntry."Bin Code", WhseEntry."Item No.", WhseEntry."Variant Code",
               WhseEntry."Unit of Measure Code");
           ItemTrackingMgt.GetWhseItemTrkgSetup(FromBinContent."Item No.", WhseItemTrackingSetup);
           WhseItemTrackingSetup.CopyTrackingFromWhseEntry(WhseEntry);
           FromBinContent.SetTrackingFilterFromItemTrackingSetupIfRequired(WhseItemTrackingSetup);
           IsHandled := false;
         ...

    [IntegrationEvent(false, false)]
    local procedure OnBeforeDeleteFromBinContent(WhseEntry: Record "Warehouse Entry"; var IsHandled: Boolean)
    begin
    end;

?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Transitions should ignore style changes happened before visual is "visible" on-screen

The problem
Consider the following XAML example:
<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
        x:Class="AvaloniaApplication1.MainWindow">
    <Window.Styles>
        <Style Selector="CheckBox.uberbox">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate>
                        <Grid>
                            <Border Background="#b0b0b0" Padding="5" BorderBrush="#303030" CornerRadius="5">
                                <Grid>
                                    <Grid Classes="unchecked" ColumnDefinitions="Auto, Auto">
                                        <Grid.Transitions>
                                            <DoubleTransition Property="Opacity" Duration="0:0:0.3"/>
                                        </Grid.Transitions>
                                        <Border Width="20" Height="20" Background="Blue" CornerRadius="5"/>
                                        <TextBlock FontWeight="Bold" Margin="5,0,0,0" Grid.Column="1">OFF</TextBlock>
                                    </Grid>
                                    <Grid Classes="checked" ColumnDefinitions="Auto, Auto">
                                        <Grid.Transitions>
                                            <DoubleTransition Property="Opacity" Duration="0:0:0.3"/>
                                        </Grid.Transitions>
                                        <Border Grid.Column="1" Width="20" Height="20" Background="Red" CornerRadius="5" />
                                        <TextBlock FontWeight="Bold" Margin="0,0,5,0" >ON</TextBlock>
                                    </Grid>
                                </Grid>
                            </Border>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style Selector="CheckBox.uberbox /template/ Grid.checked">
            <Setter Property="Opacity" Value="0"/>
        </Style>
        <Style Selector="CheckBox.uberbox:checked /template/ Grid.checked">
            <Setter Property="Opacity" Value="1"/>
        </Style>
        <Style Selector="CheckBox.uberbox:checked /template/ Grid.unchecked">
            <Setter Property="Opacity" Value="0"/>
        </Style>
    </Window.Styles>
    <StackPanel Margin="10">
        <StackPanel Orientation="Horizontal">
            <CheckBox Classes="uberbox"/>
        </StackPanel>
    </StackPanel>
</Window>

when checkbox is created both checked and unchecked have Opacity=1. Then CheckBox.uberbox /template/ Grid.checked selector gets applied and sets Opacity to 0 which gets intercepted by transitioning system.
This causes both states to be initially visible with the checked one transitioning to zero opacity.
Solution
HTML CSS transitions avoid this by not allowing transitions to run when element isn't a part of the visual tree: https://www.w3.org/TR/css-transitions-1/#starting

If an element is not in the document during that style change event or was not in the document during the previous style change event, then transitions are not started for that element in that style change event.
If an element is no longer in the document, implementations must cancel any running transitions on it and remove transitions on it from the completed transitions.

We can't do exactly that since our controls can have user-defined pseudoclasses (like checked) that are applied to template children on visual tree attachment. So we need to wait for styles to be computed on visual tree attachment and only then allow transitions to start.
Summary

transitions should only be allowed for Visuals
when visual isn't attached to the visual tree, no transition is allowed to start
when visual is attached to the visual tree, but styling wasn't recomputed yet, no transition is allowed to start
on visual tree detachment all transitions should be cancelled and all corresponding values with BindingPriority.Animation should be removed
on visual tree detachment the Visual itself should activate the transitioning system after triggering AttachedToVisualTree event here https://github.com/AvaloniaUI/Avalonia/blob/ea3b13d1785027e8840fd9703d2ef1cea47a1dd2/src/Avalonia.Visuals/Visual.cs#L372

Should be fixed by https://github.com/AvaloniaUI/Avalonia/pull/3854


[SPARK-24594][YARN] Introducing metrics for YARN

What changes were proposed in this pull request?
In this PR metrics are introduced for YARN.  As up to now there was no metrics in the YARN module a new metric system is created with the name "applicationMaster".
To support both client and cluster mode the metric system lifecycle is bound to the AM.
How was this patch tested?
Both client and cluster mode was tested manually.
Before the test on one of the YARN node spark-core was removed to cause the allocation failure.
Spark was started as (in case of client mode):
spark2-submit \
  --class org.apache.spark.examples.SparkPi \
  --conf "spark.yarn.blacklist.executor.launch.blacklisting.enabled=true" --conf "spark.blacklist.application.maxFailedExecutorsPerNode=2" --conf "spark.dynamicAllocation.enabled=true" --conf "spark.metrics.conf.*.sink.console.class=org.apache.spark.metrics.sink.ConsoleSink" \
  --master yarn \
  --deploy-mode client \
  original-spark-examples_2.11-2.4.0-SNAPSHOT.jar \
  1000

In both cases the YARN logs contained the new metrics as:
$ yarn logs --applicationId application_1529926424933_0015
...
-- Gauges ----------------------------------------------------------------------
application_1531751594108_0046.applicationMaster.numContainersPendingAllocate
             value = 0
application_1531751594108_0046.applicationMaster.numExecutorsFailed
             value = 3
application_1531751594108_0046.applicationMaster.numExecutorsRunning
             value = 9
application_1531751594108_0046.applicationMaster.numLocalityAwareTasks
             value = 0
application_1531751594108_0046.applicationMaster.numReleasedContainers
             value = 0
...

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #92301 has started for PR 21635 at commit 9b033cc.

Test build #92301 has finished for PR 21635 at commit 9b033cc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92301/
Test PASSed.

Test build #92341 has started for PR 21635 at commit 4968ad6.

Test build #92341 has finished for PR 21635 at commit 4968ad6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92341/
Test PASSed.

Test build #92385 has started for PR 21635 at commit 9735525.

Test build #92385 has finished for PR 21635 at commit 9735525.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92385/
Test PASSed.

Test build #92396 has started for PR 21635 at commit a8f3146.

Test build #92397 has started for PR 21635 at commit b0ee4ec.

Test build #92396 has finished for PR 21635 at commit a8f3146.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92396/
Test PASSed.

Test build #92397 has finished for PR 21635 at commit b0ee4ec.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92397/
Test PASSed.

Test build #92534 has started for PR 21635 at commit 68ba47e.

Test build #92534 has finished for PR 21635 at commit 68ba47e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92534/
Test PASSed.

one minor naming question otherwise lgtm.

Test build #92819 has started for PR 21635 at commit f3781bd.

Test build #92825 has started for PR 21635 at commit f3781bd.

Test build #92825 has finished for PR 21635 at commit f3781bd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92825/
Test PASSed.

Test build #92927 has finished for PR 21635 at commit 6751ec5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92927/
Test PASSed.

Test build #92934 has started for PR 21635 at commit c0c4748.

Test build #92934 has finished for PR 21635 at commit c0c4748.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92934/
Test PASSed.

+1 . @jerryshao

Test build #93293 has started for PR 21635 at commit 7958525.

Test build #93293 has finished for PR 21635 at commit 7958525.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93293/
Test FAILed.

Test build #93297 has finished for PR 21635 at commit 6761098.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93297/
Test PASSed.

+1 @jerryshao

Test build #93439 has started for PR 21635 at commit 0b86788.

Test build #93439 has finished for PR 21635 at commit 0b86788.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93439/
Test PASSed.


duplicate content

[Enter feedback here]
This page has some of the same recommendations as the on the Security Baseline page https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/govern/guides/standard/security-baseline-improvement#incremental-improvement-of-governance-practices. I would expect this page to have different recommendations, recommendations about Firewall settings don't seem appropriate

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

ID: 15c0564e-af43-0b66-cd25-52528a2242ab
Version Independent ID: db663e40-aaff-d9c3-f91c-04429c890a72
Content: Standard enterprise governance: Improve the Resource Consistency discipline - Cloud Adoption Framework
Content Source: docs/govern/guides/standard/resource-consistency-improvement.md
Service: cloud-adoption-framework
Sub-service: govern
GitHub Login: @BrianBlanchard
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#244051

@MarkSimos - Please review.

We've added this request to our backlog for prioritization. Thanks for the feedback!


*: try to support lock/unlock tables function

What problem does this PR solve?

Help to support lock/unlock tables function in TiDB.

There are 4 table lock types: READ, READ LOCAL, WRITE, WRITE LOCAL.
Attention:

The WRITE LOCAL is add in TiDB to support TiFlash usage. Mysql doesn't have WRITE LOCAL.
The READ LOCAL is not supported in TiDB, only support the syntax currently. Because of we think is it useless.

What is changed and how it works?
Check List
Tests

Unit test

Code changes
Side effects
Related changes

Please explain what is WRITE LOCAL

We should also add ErrTableLocked(from https://github.com/pingcap/tidb/pull/10343) related error definitions at parser side.

PTAL @winkyao @zimulala


 Think outdated images, pointless memes, an excessive amount of blinking text, and gibberish galore. After forking the repository, deploy your creation on GitHub Pages for review and potential code merging. Let's turn bad design into a hilarious art form! ⭐

please assign

please assign

Done 🚀


youtube ios fix

There was youtube autoplay problem on iOS devices. Now it autoplays only on the devices that support that (detection on youtube's part). I removed the javascript youtube player dependency, now it's pure html approach, should work everywhere ;)
Now it's also possible to click on the youtube's movie name to go directly to youtube.
I also removed some functions duplicates, which I missed when I was rebasing 2 weeks ago.

:+1:


Cool!

Windows93 has been a serious part of my little introverted life, lol. I was a regular on trollbox, and a myspace OG. Thanks for the release, i'm sure that i will be using this soon ^v^
PS, trollbox source code next? 🙌

Thanks, this means a lot!
There is no plan to release trollbox source at the moment.
Also, this is an issue tracker, please use<EMAIL_ADDRESS>for messages like this.


Disable warnings for library added

As the arc featured, a warnings handler featured would be awesome. Once again, I'm using SKMediaTap library which has some warnings, useless for the project. A way to disable warnings for a seed, or all of them would be great!
In action, just add the -w flag to the library concerned.

@tbaranes,  Did you mean something like inhibit_all_warnings! in CocoaPods?

In the idea, yes :)


Apple Network Framework SecItem implementation for iOS and tvOS

Apple Network Framework SecItem implementation for iOS and tvOS
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
Attention: Patch coverage is 13.33333% with 13 lines in your changes missing coverage. Please review.

Project coverage is 80.14%. Comparing base (68fa441) to head (01e4356).
Report is 2 commits behind head on nw_socket.

Files with missing lines
Patch %
Lines

source/tls_channel_handler.c
0.00%
11 Missing :warning:

source/channel_bootstrap.c
33.33%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##           nw_socket     #668      +/-   ##
=============================================
- Coverage      80.24%   80.14%   -0.11%
=============================================
  Files             29       29
  Lines           6040     6054      +14
=============================================
+ Hits            4847     4852       +5
- Misses          1193     1202       +9

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


Python 3.7 builds, 3.10 doesn't

The versions I had specified for awscrt and awsiotsdk were incompatible. Fixed by removing version restriction.


Add install_package for yum provider

Great, thanks!

I just rebased the yum-package-provider branch to master and made some minor changes to your commit in the process, hope that's ok with you. See 94809d805f2754227d21b57013ea9835642bfd14 for details.


Help configuring after latest stable rewrite

Hi!
Thanks again for this massively useful tool!
I don´t update my neovim often, and only very recently I had to update it and Iron along with it.
I used to set up some keybindings with which_key, but I don't seem to find the correct way to do this now. My previous settings looked like:
-- Use which-key to add extra bindings with the leader-key prefix
lvim.builtin.which_key.vmappings["d"] = { "<Plug>(iron-send-mark-motion)", "Send visual to REPL" }

lvim.builtin.which_key.mappings["R"] = {
  name = "+REPL",
  r = { "<cmd>IronRepl<CR>", "Start REPL" },
  d = { "<Plug>(iron-send-line)", "Send line" },
  f = { "<cmd>IronFocus<CR>", "Refocus" },
}

Any ideas on how I would successfully adapt these?

Many thanks

Here is my "whichkey" using lua.
 p = {
      = name = "Python REPL",
      l = { ":lua require('iron.core').send_line('r')", "Send Line" },

For all functions, you can check :h iron-functions.
The Function is after the ('iron.core').FUNCTION

Thanks, this solves my issues!


Path Templating Clarification - proposed fix for #1830.

Proposed fix for #1830. Each variable expression in a path must have a corresponding path parameter.
See the associated issue for further details and questions.
Notes:

The proposed spec change uses the term variable expression to refer to a curly brace-delimited parameter name used within the path. Borrowed this terminology from RFC 6570.
For consistency, I changed the language in the Parameter Object name field.

The previous text referred to an "associated path segment from the path field in the Paths Object."
I changed this to refer instead to refer to a "variable expression occurring at least once within the path field in the Paths Object."
I wanted to flag this here because I see that there are still open issues about variable expressions and path segments, asking for clarification or additional flexibility in the use of variable expressions as partial path segments and/or spanning path segments. Maybe the "associated path segment" language is meaningful, in which case we should discuss further.

This is branched from v3.0.3-dev, optimistically hoping it will be deemed a clarification, not a breaking  change. The issue asks that question, and proposes SHOULD instead of MUST if we need to make it non-breaking. Also, if it matters, we can target this change to 3.1 instead of 3.0.3.

@tedepstein generally LGTM. Your language "appearing at least once", is that meant to cater for the ambiguous case here https://github.com/microsoftgraph/microsoft-graph-openapi/issues/9#issuecomment-439895379 and can we instead look at outlawing it (i.e. each variable-expression / parameter MUST be named differently)?

@MikeRalphson , it's not intended to allow duplicate parameter definitions, but rather >1 occurrence of a single parameter within a path, like this:
paths:
  /events/{eventID}/comments/{eventID}/{commentID}:

the {eventID} path parameter occurs in two different segments. Offhand, I can't think of a good reason to include a path parameter more than once in a path. But I imagine there must be some APIs in the wild that do this. And AFAICT, there's nothing in the OpenAPI spec that disallows it.
If this is surfacing a new question that we'd rather not address right now, I can remove "at least once."

But is eventID here meant to be defined identically, or is there an unintended ambiguity?

But is eventID here meant to be defined identically, or is there an unintended ambiguity?

The eventID parameter can only be defined once, so repeated references to that parameter should always resolve to identical values.  I don't think that's ambiguous.

For reference, the specification addresses parameter uniqueness here, here, and here.

Yes. I'm concerned with variable-expression uniqueness as they relate to parameters.

@MikeRalphson,

Yes. I'm concerned with variable-expression uniqueness as they relate to parameters.

OK, I'm pretty sure we don't need to address that concern in the scope of this PR, so I'll remove "at least once."

@darrelmiller, thanks, that's fine with me. Your suggestions missed one occurrence of "template variable," so I just made the change in a new commit #6929fee75b86f31303d97e70760798819ff3977b.
Diffs on this PR should now show "template expression."


gonic: 0.14.0 -> 0.15.0

Description of changes
Changelog
The structure of the code saw significant changes, so I had to update the ffmpeg patch. I don't use transcoding myself so don't know if it works properly.
The jukebox feature now requires mpv which also needs patching. Again, haven't tried it, but the built-in tests would not pass without the patch. They do pass afterwards, so I hope it works?

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

hi! thanks for the update. I don't use nix but doesn't explicitly need alsalib anymore. (though mpv may still require it) does it need to be mentioned in the default.nix anymore?

Thank you for catching that! Indeed it doesn't.
I assume AudioToolbox (and possibily AppKit) aren't required either? The darwin build seems to be broken for other reasons though. @marsam do you perhaps have any ideas what's the correct thing to do here regarding darwin?

I have removed the unnecessary inputs and made the package Linux only for now, as I don't think the new filesystem watcher is compatible with Darwin.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1572


SSL Flag not working when running

issue is the script doesn't like the --ssl direct flag when ran by zabbix
zbx-hpmsa.py["--ssl direct","-a", "{$API.VER}", "-u", "{$MSA.USERNAME}", "-p", "{$MSA.PASSWORD}", "full", "{HOST.CONN}", "volumes"]
returns
usage: zbx-hpmsa.py [-h] [-a {1,2}] [-u USERNAME] [-p PASSWORD]
[-f LOGIN_FILE] [-v] [-s SAVE_XML] [-t TMP_DIR]
[--ssl {direct,verify}]
{install,cache,lld,full,health} ...
zbx-hpmsa.py: error: argument command: invalid choice: '--ssl direct' (choose from 'install', 'cache', 'lld', 'full', 'health')
when ran on the command line this error doesn't happen please can you advise how to address this of if it's a script problem

Hi @damo2929
I think the problem is in incorrect key format. It must be"
zbx-hpmsa.py["--ssl", "direct","-a", ......]


Fixed 404 error from oniguruma

Prior url gave 404 error when trying to install. Updated formula with the latest homebrew version

Changes in Homebrew are merged into Linuxbrew about once a week, so Homebrew/homebrew@ 5eed615a12a62de9fa6bea599cb9f28bbef1eb0b will appear shortly!


Where does cloudmapper search for credentials?

I have satisfied pre-requisites and have it installed, however, when I run the following, I get an error:
python cloudmapper.py collect --account Non-Prod
ERROR: sts.get_caller_identity failed with InvalidClientTokenId. Likely cause is no AWS credentials are set.
Where does cloudmapper look for AWS credentials? I have requested a temporary token using MFA and have the credentials pasted in /root/.aws/credentials, but it seems as if cloudmapper is not checking that file for credentials. I have also exported the secret key, access key, and session token to my env. Please advise.

Take a look at aws-vault project.
It will keep your credentials secure and support multiple roles and MFA.
You can execute it in server mode and your Docker will just consume the credentials from your host.

At the command-line, you should be able to run the AWS CLI command aws sts get-caller-identity (exactly like that).  If that doesn't work, your credentials are not configured for your environment.  A common workflow for me looks like:
aws-vault exec prod --no-session --
python cloudmapper.py collect --account prod

See below. If I use my Non-Prod profile, I get a response from the API call. Numbers have been changed for security. Also, I am executing cloudmapper in a virtualenv. Not sure if that is causing issues.
[root@prd-utl-01 cloudmapper]# aws sts get-caller-identity --profile dev_uat
|                                       GetCallerIdentity                                      |
+--------------+-----------------------------------------------------+-------------------------+
|    Account   |                         Arn                         |         UserId          |
+--------------+-----------------------------------------------------+-------------------------+
|  123456|  arn:aws-us-gov:iam::123456:user/tyleryosick  |  123456|
+--------------+-----------------------------------------------------+-------------------------+

When I try to execute cloudmapper using that same profile, I still receive the error.
(cloudmapper) [root@prd-utl-01 cloudmapper]# python cloudmapper.py collect --account Non-Prod --profile dev_uat
ERROR: sts.get_caller_identity failed with InvalidClientTokenId. Likely cause is no AWS credentials are set.

There could be issues due to you having what looks like a gov cloud account.  I know others have gotten CloudMapper to work with govcloud, but I don't have experience with it, and that environment isn't as well tested.
I strongly recommend you use aws-vault, as that use case is both better tested, and aws-vault has other security benefits.  https://github.com/99designs/aws-vault

Having the same problem here. Credentials are configured just fine for everything I need to do on a regular basis, but your tool doesn't see the credentials in either a ~/.aws/credentials file, or in the environment at AWS_ variables. Telling someone to use another credential management system is all well and good but this is a bug in your application, not a problem that requires aws-vault.
The initial question still stands, Where does cloudmapper search for credentials? It's not ~/.aws/credentials and it's not in the environment. Where is it?

@Duke126876 , I figured it out. The AWS_REGION is pulled from your environment, not from your config file, and it is defaulted to us-east-1 here. You have to set it in your environment if you want differently.

CloudMapper uses botocore which will search for creds in a number of places (including ~/.aws/credentials and the environment variables).  See https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html
For specifically when in the code CloudMapper gets creds, it is https://github.com/duo-labs/cloudmapper/blob/master/commands/collect.py#L165
As you can see it is simply calling boto and letting boto handle the cred collection.  For this reason, I strongly believe this is not a bug in CloudMapper, but appears to be an issue with how people are using CloudMapper.

It's technically a bug in your application as you are defaulting to us-east-1 as the region, and not pulling that from the credentials file, but from ENV variables, and you don't mention that you would need to set your AWS_REGION env variable in your documentation.

Defaulting to us-east-1 should "just work" for the AWS commercial region.  I don't have access to a gov-cloud account though or any other AWS partitions.  If the code needs to be changed it is at https://github.com/duo-labs/cloudmapper/blob/master/commands/collect.py#L158
If you'd like to see this fixed @dginther, I would need more info as I can't replicate your problem, or you're welcome to send a PR.

🤷♂ Turns out I can't use it in govcloud anyway because there are no STS endpoints supported in govcloud, so...
But maybe just document that if you want to default to another region, you need to set an ENV var?

Commenting to say this bit me when using this tool. As soon as I set the environment var, it started collecting.
I took a look at how the code obtains session parameters-- I would recommend an approach similar to https://github.com/FSecureLABS/awspx/blob/1be60eed68263068f5856427e5a495518d27290a/cli.py#L66
that obtains the same credentials from the boto3 directly.

Commenting to say this bit me when using this tool. As soon as I set the environment var, it started collecting.
I took a look at how the code obtains session parameters-- I would recommend an approach similar to https://github.com/FSecureLABS/awspx/blob/1be60eed68263068f5856427e5a495518d27290a/cli.py#L66
that obtains the same credentials from the boto3 directly.


Server uses increasing amount of RAM

We’ve being using OMM without trouble for a few months, all was well. But the process Vmmem (virtual machine memory) now takes more than 12Gb of RAM. I thought this might be temporary because docker had been running for a while so I restarted it, upon starting Vmmem reached 3GB, next day, back to 12GB. Fortunately, the experiments themselves don’t seem to be slowed down.

Good to hear that you've been running it smoothly!
I suspect that the excessive memory use is due to WSL (the Windows Subsystem for Linux), which seems to have a habit of reserving excessive amounts of memory for itself. You can set a limit for this, and I'll take a look at this soon. In the meanwhile: do you experience any adverse side effects? My guess is that running other applications on the system is sluggish because OMM (or rather WSL) has reserved so much memory, but that OMM itself is running fine. Can you confirm this?

That's exactly what's happening, OMM seems fine but anything else is super slow.
I found these:
https://www.bleepingcomputer.com/news/microsoft/windows-10-wsl2-now-allows-you-to-configure-global-options/
https://medium.com/@lewwybogus/how-to-stop-wsl2-from-hogging-all-your-ram-with-docker-d7846b9c5b37
and created a .wslconfig file with:
[wsl2]
memory=5GB
So far the memory is around 5.5GB so I don't know if it's working or not... I'll let you know if it goes higher.
Thanks for your quick feedback!

Nice that everything is running as it should be.
As Sebastiaan said, this is most likely due to memory consumption of the WSL, which Docker is running on. In an idle state I already have a usage of 8GB, but that often goes up to 16GB+ levels as well when under heavy usage

but for my PC that does not have any negative side effects because it has 32GB of RAM. With lesser amounts of RAM, WSL should limit its memory usage as well to some sensible value, but if you're not happy with it, you can always configure this using a wsl.conf file. See https://www.aleksandrhovhannisyan.com/blog/limiting-memory-usage-in-wsl-2/ for more information.

Ok, I just checked and have 16GB of RAM, so that might not be enough then. Do you have any recommendations regarding the values in the config file? RAM? nb of processors? SWAP memory? (whatever that is?)

Hi, thanks for your quick replies, I did not manage to limit memory usage despite trying various different options. However, I realised I had not updated docker to the latest version, I did and now it stays around 5GB. So I guess this was just a bug in one version of docker... Thanks again!

If this remains a problem, it's always an option to install mysql natively on the real server. This will take a little bit of effort but it may pay off. In other places, I would still use Docker because it's much easier to setup and use.


Table "setData(...)" would be nice.

In a table, it would be nice if you could directly set the data per scripting, like setData(headers, items) and setItems(items).
Since such data can already be loaded from a URL and shown, I guess isolating the piece of code do redraw the table with new data should be manageable.
That would be welcome.

in 4.2.27

[x] Table: add method setData(obj)
[x] Table: add method setHeads(obj), setHeadRow(obj)
[x] Table: add method setItems(obj)

Great, thanks!


xbmc.python version 3

The xbmc.python version 3 could not be satisfied. How can I get it? I am using KODI 18.9

I am sorry, the addon only works on Kodi 19 or later. Please update kodi to 19 version


Extend the plugin API by passing down a richer representation of the package graph

Draft implementation of https://github.com/apple/swift-evolution/pull/1448
Motivation:
The original TargetBuildContext structure passed to SwiftPM plugins was focused on build tools, which was the subject of SE-0303.  In order to prepare for new kinds of plugins such as custom commands (which have much more varied purposes and need more diverse information), we generalize this structure into a PluginContext that contains information about a whole package graph.
Modifications:
The graph (being a DAG) is flattened and serialized into the plugin input JSON, and is reconstituted on the plugin side.  Path deduplication is used to reduce the amount of information sent over the wire.
A compatibility layer lets old plugins keep working with the old TargetBuildContext.
To Do:
Additional unit tests forthcoming, in addition to any changes resulting for iteration on the evolution proposal.
This code currently depends on synthesis of Codable for enums, so in order to stay buildable with SwiftPM 5.5, explicit implementations should be added unless SwiftPM as a whole adopts 5.5 as minimum SwiftPM.
The pkgConfig information is currently only available in the Build module, and needs to be moved down to where it can be accessed when plugins are messaged.

@swift-ci please smoke test

I have realized that this PR depends on Swift 5.5's automatic synthesis of Codable conformance.  In order to keep SwiftPM buildable by 5.4, I'll amend this PR to add manual implementations of those methods.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Support for primitive type in CursorType

Changed CursorType to support primitive types.
This is useful if the use case is to decode recursively.

Thanks! 🙂


don't lie about source of injected icmp 3.4

In order to fix issue #1, we are now "lying" about the origin of icmp 3.4 packets. This is somewhat distasteful and could also cause real issues since now a sender may get multiple icmp 3.4 purporting to come from the same ip, successively lowering the mtu, when in fact they were issued from the same hop.
As @msackman commented in issue #1, we could equip weave with an ip in each sub-net, and then pick the ip based on the the sub-net of the dst. The obvious downside here is that we need to add an ip whenever a sub-net is added, so sub-net addition suddenly becomes more involved.
So we really want to come up with a different solution. One starting point might be to investigate further why the packets got dropped in the first place. After all, their dst ip was in the correct sub-net, and the src ip was in the weave sub-net.

My opinion on this is that, given weave's current approach, the current behaviour is the least worst option (with the exception of broadcast frames as discussed in #419).  The lie about the source of injected frag-needed ICMP packets comes about because by fragmenting packets, weave makes a lie of its claim to be an L2 network.  Introducing intermediate addresses would only compound that lie.  It would be better to investigate approaches that make weave a more honest L2 network, or involve the explicit incorporation of L3 features.

One starting point might be to investigate further why the packets got dropped in the first place. After all, their dst ip was in the correct sub-net, and the src ip was in the weave sub-net.

Reverse path filtering, I'd guess.

The lie about the source of injected frag-needed ICMP packets comes about because by fragmenting packets, weave makes a lie of its claim to be an L2 network.

That's not quite accurate; the injection of "frag-needed" happens only when weave is not doing its own fragmentation, i.e. when "do not fragment" is set and the packet is too large.

The lie about the source of injected frag-needed ICMP packets comes about because by fragmenting packets, weave makes a lie of its claim to be an L2 network.
That's not quite accurate; the injection of "frag-needed" happens only when weave is not doing its own fragmentation, i.e. when "do not fragment" is set and the packet is too large.

They might not occur together for a particular packet, but the one arises because of the other: If weave did not have its IP fragmentation feature, it would also never need to inject frag-needed packets.

If weave did not have its IP fragmentation feature, it would also never need to inject frag-needed packets.

That is incorrect.
Weave only fragments packets itself when a) the packet wasn't sent with "do not fragment", and b) the packet is too large, and c) weave has determined that the network stack does not perform fragmentation correctly itself.
By contrast, "frag needed" is injected when "do not fragment" is set and the packet is too large.
If weave could always rely on the network stack to fragment too-large non-df packets, then weave would never need to fragment packets. Yet it would still need to inject "frag needed".


Refactor and Test API Route Validators in lib/utils (Library Package)

Title: Refactor and Test API Route Validators in lib/utils (Library Package)
Description:
This GitHub issue is dedicated to refactoring and thoroughly testing API route validators, which are being moved from the server package to the lib/utils library package. These validators play a crucial role in enhancing the security and reliability of API routes. Additionally, this issue includes the creation of API request data interfaces for all routes.
Tasks:

Refactoring and Relocation:

[ ] Relocate existing API route validators from the server package to the lib/utils library package.

API Request Data Interfaces:

[ ] Create API request data interfaces for all API routes, ensuring that request data structures are well-defined.

Validator Implementation:

[ ] Implement and define validation logic for each API route validator, ensuring that it accurately checks the required fields and enforces security measures.

Testing:

[ ] Write comprehensive tests for all the validators to ensure they function as expected.
[ ] Include unit tests that cover various validation scenarios and edge cases.

Acceptance Criteria:

API route validators are successfully relocated to the lib/utils library package.
Well-defined API request data interfaces are created for each API route.
Validator implementation ensures accurate validation and security checks for API routes.
Comprehensive tests provide validation coverage and pass successfully.

Additional Information:

This refactoring and testing effort enhances the reliability and security of API route validation.
Properly defined interfaces improve the clarity and maintainability of the codebase.
Rigorous testing is essential to ensure that validators function as expected.

Hi @prasenjeet-symon I am interested to work in this issue if it needs to be done. Could u please assign this to me?

Hi @prasenjeet-symon I am interested to work in this issue if it needs to be done. Could u please assign this to me?

Assigned to you successfully.

Hi @prasenjeet-symon I am interested to work in this issue if it needs to be done. Could u please assign this to me?

Assigned to you successfully.

I think it is done now . You can choose other issue to work on.


drm stops reporting output

When running drm on a large directory, I see it behave normally for some time and then cease to report, even though it continues to work.
This happened two runs in a row; at the start of the first run, it was updating output every 12-14 seconds, and then it stopped reporting for over an hour and I manually killed the job. I re-ran the job and as shown below it ran for a little while before it too had its output hang for at least 50 sec. Note that the job does continue to run even when it's not reporting, as evidenced through monitoring unlink() in ltop
[root@slic:alustre2]# srun -p util -n 216 drm /p/alustre2/buser.old
srun: job 112172 queued and waiting for resources
srun: job 112172 has been allocated resources
[2022-05-24T09:17:20] Walking /p/alustre2/busr.old
[2022-05-24T09:17:38] Walked 21877426 items in 18.086 secs (1209623.536 items/sec) ...
[2022-05-24T09:17:39] Walked 40376165 items in 18.448 secs (2188636.847 items/sec) ...
[2022-05-24T09:17:39] Walked 40376165 items in 18.570 seconds (2174271.662 items/sec)
[2022-05-24T09:17:39] Removing 40376165 items
[2022-05-24T09:18:25] Removed 182649 items (0.45%) in 45.393 secs (4023.714 items/sec) 9989 secs remaining ...
[2022-05-24T09:19:06] Removed 689305 items (1.71%) in 86.576 secs (7961.866 items/sec) 4984 secs remaining ...
[2022-05-24T09:19:47] Removed 1225742 items (3.04%) in 127.618 secs (9604.773 items/sec) 4076 secs remaining ...
[2022-05-24T09:20:28] Removed 1704303 items (4.22%) in 168.277 secs (10127.956 items/sec) 3818 secs remaining ...
[2022-05-24T09:21:05] Removed 2118937 items (5.25%) in 205.911 secs (10290.566 items/sec) 3717 secs remaining ...
[2022-05-24T09:21:51] Removed 2444324 items (6.05%) in 251.843 secs (9705.760 items/sec) 3908 secs remaining ...
[2022-05-24T09:22:30] Removed 2797891 items (6.93%) in 291.149 secs (9609.825 items/sec) 3910 secs remaining ...
[2022-05-24T09:23:12] Removed 3110872 items (7.70%) in 332.336 secs (9360.616 items/sec) 3981 secs remaining ...
^Csrun: interrupt (one more within 1 sec to abort)
srun: StepId=112172.0 tasks 0-215: running
^Csrun: sending Ctrl-C to StepId=112172.0
srun: forcing job termination
srun: Job step aborted: Waiting up to 62 seconds for job step to finish.
slurmstepd: error: *** STEP 112172.0 ON slic13 CANCELLED AT 2022-05-24T10:11:50 ***

mpifileutils-0.11.1-0.11.1-2.tce.ch6.x86_64

After some time, all data has been copied. dsync on MPI nodes are then not doing anything, looping at 100% cpu usage:
[pid 715200] epoll_wait(26<anon_inode:[eventpoll]>, [], 16, 0) = 0
[pid 715200] epoll_wait(31<anon_inode:[eventpoll]>, [], 16, 0) = 0
[pid 715200] epoll_wait(26<anon_inode:[eventpoll]>, [], 16, 0) = 0
[pid 715200] epoll_wait(31<anon_inode:[eventpoll]>, [], 16, 0) = 0
[pid 715200] epoll_wait(26<anon_inode:[eventpoll]>, [], 16, 0) = 0
[pid 715200] epoll_wait(31<anon_inode:[eventpoll]>, [], 16, 0) = 0
[pid 715200] epoll_wait(26<anon_inode:[eventpoll]>, [], 16, 0) = 0
[pid 715200] epoll_wait(31<anon_inode:[eventpoll]>, [], 16, 0) = 0
[pid 715200] epoll_wait(26<anon_inode:[eventpoll]>, [], 16, 0) = 0

Timestamps are not applied on destination, hence files already on the destination are removed on another dsync pass.

Migrating conversation about missing progress messages from: https://github.com/hpc/mpifileutils/issues/560
The missing progress messages is a known problem.
These progress messages are implemented using a tree-based communication pattern across ranks using point-to-point messages. Every 10 seconds or so, rank 0 initiates a message down the tree to request progress. Each intermediate rank receives that request message from its parent and forwards it down to its children. When the request message reaches the leaves, ranks respond and send their current progress status back up the tree. Intermediate ranks receive that data, merge in their own progress status, and respond back up the tree. Rank 0 receives the messages from its children, merges its data, and prints the final result. These reductions are asynchronous. Ranks periodically check for and respond to these messages as they come in.
I think what probably happens for these progress messages to get stalled is that some rank (any rank) gets stuck in an I/O call. Because it is blocked in the I/O call, it doesn't respond to MPI messages, which then blocks the progress tree. If that's what's happening, one solution would be to move the I/O calls into a pthread or maybe use async I/O routines so that the process can still make MPI calls while waiting on its current I/O operation to complete.

From @adilger :

Is it possible to set a timeout on the MPI broadcast that doesn't also result in a total MPI failure? Since the status updates are somewhat advisory, unlike an HPC calculation, getting a partial status is probably fine.

Yes, I think timeouts on the reduction operation could also work. I think we'd need to pair that with adding sequence numbers to the messages or internal counters so that a parent can distinguish late-arriving responses from its children.
It might also get strange, since the progress "sum" would be missing any results from the subtree rooted at the blocked rank. The reported progress would appear to bounce up and down during the run if such stalls are frequent as random ranks come and go. That might be countered by caching the last reported value from each child. I'd have to check whether that makes sense for the various reduction ops...
There may be another advantage to moving the I/O to a thread. For algorithms that use libcircle for work stealing, work on blocked ranks could be moved to other ranks faster. Having said that, changing all of the tools to move I/O to a separate thread is a bigger overhaul.

Oh, wait. I'm describing the point-to-point reduction in libcircle:
https://github.com/hpc/libcircle/blob/406a0464795ef5db783971e578a798707ee79dc8/libcircle/token.c#L97
There is a separate progress reduction algorithm in mpiFileUtils, and I forgot that it uses non-blocking MPI collectives for that:
https://github.com/hpc/mpifileutils/blob/main/src/common/mfu_progress.c
That'd probably first need to be switched over to a point-to-point method (like in libcircle) to add timeouts.


[META] - Code Ownership w/ Protection

Create a code ownership doc and configure matching protection for critical work.

Updated branch protection for staging, master to require review from code owners.


fix(flask): new options to run app from terminal or from gunicorn

Also fixed the 'port' issue

awesome!


Backport 2.5

@nrkljo Thanks, applied. I'd just like let you know that our policy (albeit not without exceptions) is to backport bugfixes only. That's fine for DBZ-7531, DBZ-7454 is kind of a grey zone. I merged it in (as I mentioned exceptions are allowed). Just please keep this in your mind to make sure you are not doing unnecessary work. Thanks for understanding.

Great!
I’ll keep that in mind…
Best regards
Lars M. Johansson
Consultant, IT-Architect
From: Jiri Pechanec @.>
Sent: Thursday, March 7, 2024 6:16 AM
To: debezium/debezium-connector-informix @.>
Cc: Lars M Johansson @.>; Mention @.>
Subject: Re: [debezium/debezium-connector-informix] Backport 2.5 (PR #33)
@nrkljohttps://github.com/nrkljo Thanks, applied. I'd just like let you know that our policy (albeit not without exceptions) is to backport bugfixes only. That's fine for DBZ-7531, DBZ-7454 is kind of a grey zone. I merged it in (as I mentioned exceptions are allowed). Just please keep this in your mind to make sure you are not doing unnecessary work. Thanks for understanding.
—
Reply to this email directly, view it on GitHubhttps://github.com/debezium/debezium-connector-informix/pull/33#issuecomment-1982362154, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7WTSMTPPHGF4KPACOGCBR3YW7ZXLAVCNFSM6AAAAABEHADLPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSGM3DEMJVGQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


How can I use a rotate IP to make the requests?

Hi, I am a newbie to web scraping. I am wondering if it is possible to change IP per request? And how?
Thanks,
Bruno

maybe you can use this service which helps avoiding blocks and rotate ips. https://proxycrawl.com/scraping-api-avoid-captchas-blocks


Add switch to enable/disable debug mode

As of now, it is only being used in the Operator
to enable debug logging but based on the variable
name I assume later it can be used not just to
controll the logger level
close #58
Signed-off-by: Alex Szakaly<EMAIL_ADDRESS>

Closing in favor of #64 but providing co-author contribution.


How to change the height of the header image?

Hi @budparr,
I've been playing with Hugo+Ananke, and I really like it. I do have one question: is there an easy way to resize the header? I would like to make it a bit shorter so it doesn't take up so much space. I gather that it should be possible by reconfiguring some CSS parameter, but I'm not fluent enough to figure it out.
Thanks in advance, and thanks for your work on the theme!

Hey, @zzamboni  - If you duplicate the header file in your root (so you don't have to change anything on the the theme) you can change the padding on the content in the header (which is what makes it the size that it is).
So for example, change pb3-m pb6-l to whatever suits you (pb2 ?) here: https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/partials/page-header.html#L6
Hope that helps. Let me know if not.

@budparr indeed it helped - thanks! Your pointer got me looking in the right direction and I've finally started to figure out the effects the different classes have. In case anyone else comes looking, this page has helped me a lot: http://tachyons.io/docs/table-of-styles/

That's awesome. I'll put a note about this in the readme.

@budparr I tried those steps which you describe but the header just stays the same. Do I need to install the packages and run which are described here: https://github.com/budparr/gohugo-theme-ananke/blob/master/src/readme.md?

Hey, @nicelifeBS The above should work without any further processing. Maybe @zzamboni can let us know what he changed.

@nicelifeBS you can find the full source for my website at https://github.com/zzamboni/zzamboni.org/. The file I had to change to make the header shorter is https://github.com/zzamboni/zzamboni.org/blob/master/layouts/partials/site-header.html. You can compare it to the version from the theme (at https://github.com/zzamboni/zzamboni.org/tree/master/themes/gohugo-theme-ananke) to see what changed. In this particular case:
diff layouts/partials/site-header.html themes/gohugo-theme-ananke/layouts/partials/site-header.html
5c5
<
---
>
8,9c8,9
<

<

---
>

>

Keep in mind that the version of Ananke I'm using is a bit old (around August 2017), I haven't upgraded since I have quite a few customizations, so some things may have changed if you are using a more recent version.
Hope this helps.

Ah thank you guys. Was my mistake. I was looking in page-header.html and not site-header-html. All good here.

I've tried making the changes suggested above but I think something has changed in the source code since the above was posted.
Please can anyone help me to understand what I need to change?
Here's a link to the site header file on my Github repo:
site-header.html


Add NodeDataModel "slots" for connections added/removed

Currently, if I have a MyDataModel : NodeDataModel, I can be informed when the input data changes with setInData(...), and I can be informed when someone requests my output data with outData(...). However, I've encountered a need to know just when new connections are added. I'm proposing adding:
virtual
void
inputConnectionAdded(Connection const&);

virtual
void
inputConnectionRemoved(Connection const&);

virtual
void
outputConnectionAdded(Connection const&);

virtual
void
outputConnectionRemoved(Connection const&);

The exact signatures / names aren't that important, but it's important that the passed information includes:

The port it's being connected to.
The other node and its port that we are being connected to.

As I understand, you want to add the functions to the NodeDataModel and trigger them from the Node? This makes sense. Could you please go ahead and PR it?
Thanks
Dmitry

I found a workaround: connect(this, &FlowScene::signal, this, [this](Connection const& c) { slot(c); }); instead of connect(this, &FlowScene::signal, this, &FlowScene::slot);

Merged as #211


Cannot read property 'update' of undefined

I had updated my local code to use the update method and was getting "Cannot read property 'update' of undefined"
I started completely from scratch using the example under Usage and am getting the same error.
I am using v0.3.11, there is a lot of other javascript but from what I can tell its not conflicting.
Any insight would be appreciated.

I was being ridiculous and calling an outside reference to my slider. Its all good now!

how you fix it ? i have same error. #28

how you fix it ? i have same error. #28

how you fix it ? i have same error. #28

@salehmosleh sorry, I don't recall what I did to fix the issue.

Check answer: https://github.com/Stryzhevskyi/rangeSlider/issues/28#issuecomment-343684912

@Stryzhevskyi , thanks.


Keyed Window Buffer

Implement a keyed window buffer
Tests for keyed window buffer
Docs for keyed window buffer

Keyed window buffer works similar to system window but batches based on a key mapping, and has an optional timeout for batches.  When a new key is seen, a batch is started for that key, and as new messages come in they are added to their respective keys. If a new batch is to be created, but max pending keys is reached, then the message is nacked to allow for completing the current batches. After each message, if a check mapping is supplied, it is run against the batch to determine if the batch completion needs are matched. Once a batch is complete or the specified timeout is hit, then the batch is pushed through the pipeline. On normal shutdown, any pending batches are nacked for processing upon next startup.

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


Redesign the page

@iRaul Any open tasks I could help with?

@frederic-klein Yes, that'd be awesome.

In some cases the title is too long and breaks up in two rows. I want the title to be on a single row.
In some cases the description is too long 😬I would like the description to have the podcast's image height. Or just keep the description short.

Let me know if you have any suggestions?
Thanks!

@iRaul We could truncate the Text, marking with dots (e.g. Title title too long from here becomes Title title...).
If title and/or description is truncated something like a "detail view" should provide the untruncated details: a larger, centered overlay card could solve this.
The dots could be a link or an icon opening the detail view, so the rest of the card still links to the podcast. Alternatively something like an expand icon after the description?
If you don' want to truncate but provide and request sensible titles and descriptions within the limits, we could probably define a rule for eslint and run the lint check on PRs?


Main Menu logo wiggle

Describe your problem here.
It makes the main menu wiggle, like K.E or JS Engine.
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

I got the code.


Set smooth scroll offset for nav-bar, body class during scrolling.

The current method for setting offset (adding class .js-bolt-smooth-scroll-offset to the fixed element) doesn't work for sticky elements. It uses the element's location on the page instead of the element's height when fixed. With a sticky element halfway down the page, it sets the offset to halfway down the page. Instead I'm just setting the offset directly to the nav-bar's height, and we can figure out how to accommodate other sticky elements when we cross that bridge.
This change also sets a class on the body while scrolling, which will allow us to keep the header collapsed. Right now, using the headroom.js, the header is collapsed when scrolling down, but opens when scrolling up, which messes up the offset. Instead of offsetting for the height of the nav-bar, it'd need to offset for the combined height of the header and the navbar. Rather than getting into dynamic offsets for different scenarios, it's easier (and probably more user-friendly) to keep the header collapsed using a scrolling-specific class.

As discussed with @charginghawk:

Ideally, we don't want to hard-code a non-zero offset in the component-- this should be configurable from the Drupal end.  I'm going to work on a solution that handles this.
Thomas realized during our call that the body js classes for this won't work as-is (there's some more complexity to get headroom.js to still hide the header when scrolling stops).  He's going to work on setting this up the way he wants in Drupal, and we'll use that as a template for getting the flexible parts back into Bolt.
In order to more effectively collaborate, we want to have unminified js available in Drupal (in addition to minified js which should be used normally).  I'll address that in #247

Closing this out.  Our conclusion was that Bolt couldn't support the extra stuff the www site needed.  The hope is that once we get the header built out in Bolt, we'll be able to add the necessary support to smooth scroll (and sticky).  For now, Drupal is handling this itself for the www site.


[Hotfix][typos][jdbc] Fix typos JdbcDynamicTableFactoryTest

What is the purpose of the change
Fix typos JdbcDynamicTableFactoryTest
Brief change log
Fix annotation typos for JdbcDynamicTableFactoryTest
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

@flinkbot run azure

Closing this as the connector has been moved to https://github.com/apache/flink-connector-jdbc - If this is still relevant, please re-open it there. Apologies for the lack of action on this PR.


Strip brackets from IPv6 addresses before passing them to a socket.

Fixes #730.
I took my best guess at how you'd want this change implemented and tested, but I'm happy to revise it based on feedback. Thanks!

A few thoughts on this:

It'd be good to find the spec for these sorts of bracketed addresses in URIs, so we know we're implementing them correctly. I've never seen them before and I'm not sure what the behavior is supposed to be (e.g. are they IPv6 only or do they also work with IPv4? Do DNS names work?)
The regex should match what the spec says about what's allowed inside the brackets, i.e. the inner capture group should be for an IPv6 address, and not just anything
It'd be good to do this handling at the time the URI is processed (i.e. as early as possible) so we don't have bracketed host strings flying around that need to be stripped in various places. Perhaps inside of the constructor for lib/http/uri.rb?

Apparently the bracketed hosts are defined in RFC3896 § 3.2.2:

A host identified by an Internet Protocol literal address, version 6
[RFC3513] or later, is distinguished by enclosing the IP literal
within square brackets ("[" and "]").  This is the only place where
square bracket characters are allowed in the URI syntax.

@jeraki I would suggest changing HTTP::URI to eagerly strip the brackets from IPv6 addresses and caching it as a @host variable which the accessor methods can be changed to use

I think it's fine to change the behavior. The current behavior is broken per #730, so changing it is a bugfix.
As to how to approach the setter and whether it should mutate the underlying Addressable::URI is a tricky question. I guess the setter should add brackets if host= receives a valid IPv6 address?

@jeraki I mentioned that particular issue earlier
I suggested the setters need to use the bracketed form of IPv6 addresses with Addressable::URI so the URLs serialize correctly, while internally caching the host with the brackets stripped.
That's another thing I think would be easier with eagerly updating instance variables, rather than trying to do it lazily.
I think if you have one private helper method, called from both the constructor and the setter, which extracts the instance variables out of Addressable::URI, you can have fairly clean logic for this, and also DRY out the logic for checking if an address is an IPv6 address.

Looks good now, thanks!

Sure

Conceptually, it's weird having brackets in host.  They are not part of an IPv6 address by itself; the brackets are merely part of the URL syntax for IPv6 (needed to distinguish the colons inside the address from :port number).
However, the Addressable gem makes the distinction that #hostname is the address by itself vs. #host is the bracketed-if-IPv6 part of the #authority portion of the URL.
With that context, this is consistent :+1:.
(But if you can switch to dealing with hostname (?) it might simplify things)

@cben that sounds like a great point. Could one of you open a PR to switch to revert this and switch to #hostname?


Provide URL to invite new members to circle

During the signup process, new helpers need to be able to join a specific circle. They might have discovered a circle on the map or by location, but more often they will have been directly invited by the circle admin.

We need to offer an external URL as shown in Stephane's mockups. In order to avoid people manipulating the URL and inviting to other circles, this URL should not use the circle number, but its unique identifier as defined in #85.

Would a link like the following be too hideous?
http://lale.help/token/4a17b05b2fc5d10157025213d39b8fa325fa51a3fbbcc0a356ac9050f0d7f7e327090bfd70f7cabc01c49178b5fbdefa3722a71b1a7c1e20f766c3498f414252

The more I think about it... yes it is too gross looking and there is no need to to have a secure token that can't be brute forced for the act of inviting people... A much cleaner way just dawned on me that will use links of the form:
https://app.lale.help/join/CIRCLE_ID

No need to complicate this...

Totally, I think Pascal proposed a perfect medium ground in #85 .
We have the long string for a circle ID, we truncate it and add the circle seq number. This way it is hard to forge for inviting but easy enough to copy...makes sense?

Yes.  I would use a little cryptic id instead of the circle id. We could
however let the circle admins verify users after they joined that way
sticking to the circle id instead of the cryptic id is fine as well
Am 14.01.2016 8:47 vorm. schrieb "Ralf Schroeder"<EMAIL_ADDRESS>
:

Totally, I think Pascal proposed a perfect medium ground in #85
https://github.com/lale-help/lale-help/issues/85 .
We have the long string for a circle ID, we truncate it and add the circle
seq number. This way it is hard to forge for inviting but easy enough to
copy...makes sense?
—
Reply to this email directly or view it on GitHub
https://github.com/lale-help/lale-help/issues/86#issuecomment-171564895.

We will definitely need to have the circle admin verify / accept new registrations before they become fully active. That workflow has been mentioned several times by admins, but we don't have capacity right now in mvp1 to add it.  Unless we send a notification to the admin when someone joins with a push button to 'activate account'. Until then a new registree would be able to log in but not see much in the system.

Since there will be a for people to be verified in the future, does the if need to be cryptic? Here is some food for thought:
https://gist.github.com/cdmwebs/1209732

Well, I understand the variations of URL generation in ruby better now, slugs and all.
I guess in general all URLs include the object and instance id like 'https://staging.lale.help/circles/3'. If we have a review step by the admin, then I guess no one could slip in by faking the URL. And they can only get to a full task if they have a valid sessions for that circle, right?
So, for now unless we care about the security aspect of the review step, we could take the URL is ruby gives it to us. Leaves us a bit exposed but guess ok for mvp1.

Well if you are concerned with people randomly joining a circle, than it should be cryptic. But that leaves me to question the standard sign up flow where a user looks for circles to join that are near them. If I can look up and join a circle by location, why not be able to easily generate a url to join said circle?
I think it all comes down to: how locked down joining a circle should be? Easy but requires approval? Invite only?

Very good point. I think let's do non-cryptic simple URL but approval step by admin. Works for all cases.

:+1:

This is in mvp1 right now...


Use Rich for markup

Is your feature request related to a problem? Please describe.
Ansimarkup (currently used) crashes when it encounters unknown markup tags (typically XML).
I've opened an issue more than one year ago but didn't get feedback from the maintainer (https://github.com/gvalkov/python-ansimarkup/issues/17).
Describe the solution you'd like
A solution would be to switch to Rich which provides an escape method: https://rich.readthedocs.io/en/stable/reference/markup.html#rich.markup.escape. It also uses [] instead of <> so would not have any problems with XML in the output.
Describe alternatives you've considered
Implementing an escape function in Ansimarkup.
Additional context
Rich would also allow much more rich (pun intended) formats.

There's an issue with the ANSI sequences used by mypy: https://github.com/Textualize/rich/issues/2688

I was able to fix the issue with ansimarkup, closing.


[Question] Hidden Code to Encompass script in a class

I'm attempting to incorporate RoslynPad into a script editor for a game. I only want code relevant to a single individual script to be visible in the RoslynCodeEditor but I want outside code to exist around the editor text so that certain members and other information are available through the intellisense.
I've tried defining a custom SourceTextContainer that inserts the required code around the editor script text yet this messes up the syntax highlighting, tooltips, and the likes.
Scripts are generated as functions within a single class with a few members for access to the game objects. Note that the ability to use the compiled code is not necissary. I just need to the syntax highlighting, code completion, and other helpful features.
Another alternative to this would be assigning variables for each of the classes required members and method parameters before the script starts. But I'm unsure of how to do that as well.
Here is an example of what a script would be output to as code.
//usings go here

namespace GameAPI.CustomScripts {
	public class CustomScript : CustomScriptBase {
		//Members for game access are defined in CustomScriptBase

		public void script_name(/*Any script parameters go here*/) {
			// Only code inside this function is visible in the editor
		}

		// Rest of the scripts are defined in the same manner...
	}
}

I've looked at #150 but it doesn't really clear up how to get script classes working.

I think your best bet would be to manipulate the editor not to show or lock the encompassing lines. You should take a look at my answer here:
https://stackoverflow.com/a/48754083

This looks very promising. Thank you!

I decided to go with the variable approach as it was much cleaner to implement and easier to read in the long run.
Here's my code and the result:
// Generate the code and get the true start of the script
string code = ScriptManager.CreateRoslynScriptCode(script, out scriptStart);

// Standard editor initialization
documentID = editor.Initialize(host, new ClassificationHighlightColors(),
	workDir, code);

// Make the members/parameters readonly
var p = new TextSegmentReadOnlySectionProvider<TextSegment>(editor.TextArea.Document);
p.Segments.Add(new TextSegment() { StartOffset = 0, Length = scriptStart });

// Fold the members/parameters by default so the user doesn't have to see them
var foldingManager = FoldingManager.Install(editor.TextArea);
var foldings = new NewFolding[1] {
	new NewFolding(0, scriptStart - Environment.NewLine.Length) { // end before the newline
		Name = "Members/Parameters",
		DefaultClosed = true
	}
};
foldingManager.UpdateFoldings(foldings, scriptStart);

Preview:


GFile gcs_file_system crashes with bad header

System information

OS Platform and Distribution: MacOS Mojave 10.14.3
TensorFlow installed from (source or binary): binary
TensorFlow version: 0.12.0-rc1-7-ga13284f-dirty 0.12.0
Python version: Python 3.7.0

import tensorflow as tf
with tf.gfile.Open('gs://bucket_name/file_name') as f:
    f.write('foo\n')

crashes with error
Traceback (most recent call last):
  File "/tmp/foo.py", line 4, in <module>
    f.write('foo\n')
  File "/usr/local/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 150, in __exit__
    self.close()
  File "/usr/local/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 182, in close
    pywrap_tensorflow.Set_TF_Status_from_Status(status, ret_status)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/errors_impl.py", line 469, in raise_exception_on_not_ok_status
    pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.InternalError: Unexpected response from GCS when writing to gs://bucket_name/file_name: 'Location' header not returned.

This seems to be due to
https://github.com/tensorflow/tensorflow/blob/efdc88cf13827a22fbb7f4d58a14a3cfe57fd21c/tensorflow/core/platform/cloud/gcs_file_system.cc#L509
which checks for the "Location" header (with specifically a capital 'L').
However on my system:
curl 'https://www.googleapis.com/upload/storage/v1/b/bucket_name/o?uploadType=resumable&name=file_name' -XPOST -H 'X-Upload-Content-Length: 10' -H'Authorization: Bearer TOKEN' --verbose
returns the header "location" with a lowercase 'l', which causes the above error.
Changing that byte from "L" to "l" in the tensorflow so file fixes this for me (although that code is currently running successfully on other machines, so I'm not sure what makes mine special).

@rinugun Can you please take a look? Thanks!

@alexrenda Hi, I've encountered a similar issue, but it happens only when using TPUs where SummaryWriter throws the same exception. Have you managed to sort it out in your case?

tf.gfile has been moved under tf.io.gfile,, could you please try in the latest version and check if the error still persists. Thanks!


Changes in the Login Page

Discussed in the meeting on 10/10/23

Changed the login page. The OTP verification takes place in the same page, earlier the OTP verification had a different screen. And changed the input type from text field to input boxes. These changes are the ones discussed in call.

The code has been pushed in the frontend_new branch, the pull request also has been raised.


Android Cardboard app crashes on tilt

See my stackoverflow post for details: http://stackoverflow.com/questions/33544158/cardboard-demo-crashes-on-android-on-tilt?noredirect=1#comment54869379_33544158
In short, I've made a new Cardboard project (in Unity 5.2.1f1) with some minimal changes and the app crashes when I tilt the phone. Not every time, but 90% of the time maybe.

The Application.LoadLevel() function causes the current Cardboard object to get destroyed.  I'm guessing that process races with your code's return from the event callback.
To see if that is so, try writing your code not as an event handler, but as a simple if-statement in an Update function:
void Update() {
    if (Cardboard.SDK.Tilted)
        Application.LoadLevel("foo");
}

I tried it, but it still crashes... It does, however, seem to have something to do with loading a new scene while doing it. When all I do is changing the color of the cube that I attached the script to, it works without problems. Any other ideas/workarounds?
Also, can I suggest one thing for the Cardboard SDK? To make it possible to adjust the sensitivity for when a tilt should be registered. Like an "angle threshold" or something. The reason is that I feel that it's sometimes tricky to trigger it :)

I've now tried to make minimal test projects using both cardboard sdk 5.1 and 5.2.
5.2 always crashes when I try to change scene by tilting. 5.1 seem to work without problems; hasn't crashed for me yet.

Could you share that test project here by a Drive or Dropbox link?

here you go:
https://onedrive.live.com/redir?resid=D35CC4807B4AA70E!113&authkey=!AEJ4S1VdxUIx_Ig&ithint=file%2Czip

Reproduced.  Found the following message in the logcat:
W Unity   : Cardboard SDK object should be a singleton.

That indicates that two Cardboards exist somehow in the second scene.  That's a definite no-no (imposed by the native code layer).  Removing the 2nd copy of the Cardboard script in scene2 makes the crash go away.  (Side note:  I just checked the web site, and this singleton issue doesn't seem to be called out.  I thought it was.)

Nice! Although I'm not sure how to do this exactly.

Change the line
if (Cardboard.SDK.Tilted) ...

To
if (Cardboard.SDK.Tilted || Input.GetKeyUp(KeyCode.P)) ...
Now play the first scene in the editor and hit the 'P' key to simulate a tilt.  (You can use some other KeyCode if you want...)
I did that yesterday and saw that same warning message about singletons in the Unity console.  That's when I noticed the 2nd game object with its own Cardboard script that was in scene2.
Try this too, and see if you also still get that warning.

Today's my last day at work, so I won't be able to test this anymore, sorry...
Big thanks for your help! Good luck.

This is the same issue as https://github.com/googlesamples/cardboard-unity/issues/125
The singleton is because there is a 2nd cardboard object somewhere in the scene. I have noticed if you disable the CardboardMain gameobject and leave the Cardboard.cs script enabled, if you click on CardboardMain it will create another instance of the Cardboard in the scene.. not sure why this happens.
Like the other issue, this one occurs because the device is tiled. If you enable/disable the gameobject, try to load a scene, or try to quit the app and the device has been tiled or moved rapidly, the app will crash with a SIGSEGV 11 error. If you move slowly and don't tilt it a lot it seems to be fine.
For some reason rapid movement and tilt is causing the cardboard sdk to mess up somewhere. I tried commenting out the OnTilt() function on the Cardboard.cs script and it still crashed.
if (Tilted && OnTilt != null)
{
//OnTilt();
}
Trying to find a workaround to this so my apps quit crashing for users.. but I'm not having any luck.

Yeah, the crash is happening down in the native code layer.  Not much you can do in C# with the current release.  It is going to be fixed in the next release.  Same with the other problem where a Cardboard is instantiated.  (This comes from the editor script for Cardboard referencing "Cardboard.SDK" on one line rather than "cardboard".)

New v0.6 release of the SDK fixes tilt crash.  Unfortunately, it was more of a bypass, in that we had to disable the tilt detection in the native library altogether.  This means that Tilted and OnTilt are orphans at the moment -- they will not report anything.  A similar detection can be built in C# using Input.accel or Unity's DeviceOrientation support.


lost password link on login page throws an error

The error is an SMTP error, and is only thrown if the email address entered is associated with a user in the database.
Here's the error. I omitted the tokens/user email addresses.
Swift_TransportException in AbstractSmtpTransport.php line 383:
Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required"

at Swift_Transport_AbstractSmtpTransport->_assertResponseCode('530 5.7.1 Authentication required ', array('250')) in AbstractSmtpTransport.php line 281
at Swift_Transport_AbstractSmtpTransport->executeCommand('MAIL<EMAIL_ADDRESS>', array('250'), array()) in EsmtpTransport.php line 270
at Swift_Transport_EsmtpTransport->executeCommand('MAIL<EMAIL_ADDRESS>', array('250')) in EsmtpTransport.php line 346
at<EMAIL_ADDRESS>in AbstractSmtpTransport.php line 416
at Swift_Transport_AbstractSmtpTransport->_doMailTransaction(object(Swift_Message<EMAIL_ADDRESS>array('RECIPIENT_EMAIL_ADDRESS'), array()) in AbstractSmtpTransport.php line 443
at Swift_Transport_AbstractSmtpTransport->_sendTo(object(Swift_Message<EMAIL_ADDRESS>array('RECIPIENT_EMAIL_ADDRESS' => null), array()) in AbstractSmtpTransport.php line 176
at Swift_Transport_AbstractSmtpTransport->send(object(Swift_Message), array()) in Mailer.php line 85
at Swift_Mailer->send(object(Swift_Message), array()) in Mailer.php line 395
at Mailer->sendSwiftMessage(object(Swift_Message)) in Mailer.php line 217
at Mailer->send('notifications::email', array('level' => 'info', 'subject' => null, 'greeting' => null, 'introLines' => array('You are receiving this email because we received a password reset request for your account.'), 'outroLines' => array('If you did not request a password reset, no further action is required.'), 'actionText' => 'Reset Password', 'actionUrl' => 'http://makerspacemngsys.dev/password/reset/RESET_TOKEN OMMITTED', 'message' => object(Message)), object(Closure)) in MailChannel.php line 85
at MailChannel->send(object(User), object(ResetPassword)) in ChannelManager.php line 79
at ChannelManager->sendNow(object(Collection), object(ResetPassword)) in ChannelManager.php line 43
at ChannelManager->send(object(Collection), object(ResetPassword)) in RoutesNotifications.php line 18
at User->notify(object(ResetPassword)) in CanResetPassword.php line 27
at User->sendPasswordResetNotification('c018ca190d279089cf33a67a91dfaac005c15017f0f045903f130fc20fb01d') in PasswordBroker.php line 70
at PasswordBroker->sendResetLink(array('email' => 'RECIPIENT_EMAIL_ADDRESS')) in SendsPasswordResetEmails.php line 34
at ForgotPasswordController->sendResetLinkEmail(object(Request))
at call_user_func_array(array(object(ForgotPasswordController), 'sendResetLinkEmail'), array(object(Request))) in Controller.php line 55
at Controller->callAction('sendResetLinkEmail', array(object(Request))) in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(ForgotPasswordController), 'sendResetLinkEmail') in Route.php line 189
at Route->runController() in Route.php line 144
at Route->run(object(Request)) in Router.php line 653
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in RedirectIfAuthenticated.php line 24
at RedirectIfAuthenticated->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 655
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
at Router->dispatchToRoute(object(Request)) in Router.php line 607
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 53
at require('/Users/drewgates/Desktop/sites/makerspacemngsys/public/index.php') in server.php line 133```


bug?

The above code works normally.
As in the written code, when a variable is created through a pointer, an error is displayed.
Is this bug?

https://github.com/marlonfan/coc-phpls/pull/106
sovled.

still

Define $foo before you use it.
<?php

Route::get('temp', function () {
  $foo = null; // <--- add this
  // ...
});


Code Block / Nested Code Indentation

I'm currently having an issue with the code blocks in the markdown editor. When I use 4 space indentation to create a code block, the output renders the first line of code with the proper spacing, and then all subsequent lines are indented by 1 extra tab.
A secondary issue to this is that it seems to be putting a tab on a new line after the final line of code, creating an awkward space at the bottom of the rendered block.
Markdown

Output

I am experiencing the same issue. It only seems to effect pre elements when using {{content}} in a partial. The pre element renders correctly if used inside in post.hbs.
partials/post/content.hbs
{{#is "post, page"}}
{{content}}
{{/is}}

post.hbs
{{> "post/content" }}

Markdown
// This is the class definition, it defines what a Logger object looks like.
class Logger {
    // The log file, a property that describes which log *this* object logs to.
    String logFile;

    // The log method, a method that defines *how* logging is done.
    void log(String message) {
        // Write the current time plus the message to the logFile.
        writeToFile(logFile, getTimestamp() + " " + message);
    }
}

// Somewhere else

//Create a new Logger object as defined in the Logger class.
Logger logger1 = new Logger();
//And *another* one. This is a completely different logger.
Logger logger2 = new Logger();

// Define the state for each logger seperately
logger1.logFile = "/var/log/error.log";
logger2.logFile = "./debug.log";

logger1.log("There was an error!");
logger2.log("I did a thing!");

Render

I have the same issue, seems it is covered here: https://github.com/TryGhost/Ghost/issues/4364

Closing this as a duplicate of #4364


Better support for custom S3 servers.

This patch adds support for custom S3 servers in the connection string.
It also adds explicit support for setting the server port, and whether
or not to use SSL, both as paramaters to the smart_open function as
well as within the connection string.
These changes are neccessary to be able to connect to s3proxy and
other custom s3 servers which don't run on the default port,
or neccessarily use SSL.

Thanks for the improvements!
Could you please add tests for the new modes and extend README.md

I don't know where to find a public server which provides the new modes, in order to add tests for them :(

Pushed a README.rst update.

@robottwo just mock tests would do

@tmylk , I added a new unit test to cover the new calling convention.
Thanks!
-Dan

The Ci error looks like an unrelated timeout in the unit test

Thanks a lot for the PR!

Thanks -- deserves a CHANGELOG entry too!


Added section Repositories no longer maintained

I would however create a more descriptive page for downloads since the current.geneontology.org is not very intuitive. Perhaps not as "complex" as example, but at least detailing the different types of files we provide and a link to the appropriate folder

Downloads is currently part of products/ :
http://current.geneontology.org/products/pages/downloads.html

Nice !

Species: Can we change the names in parenthesis to be more easy to understand ?
Databases: Can we link the name of the database instead of having it twice ?
(for eg: "dictyBase (dictybase, Ddis)" would become
dictyBase>/link>, Dictyostelium discoideum
Thanks, Pascale

Nice indeed !
@kltm so I assume the plan is to integrate this page in the repo before deployment so we can refers to it with a local url ?

We'll do a theme/menu match when we're there, but it will be a remote link.


[SPARK-44012][SS]KafkaDataConsumer to print some read status

What changes were proposed in this pull request?
In the end of each KafkaDataConsumer, it logs some stats. Here is an sample log line:
23/06/08 23:48:14 INFO KafkaDataConsumer: From Kafka topicPartition=topic-121-2 groupId=spark-kafka-source-623fa0a8-04a5-4f34-a9ad-adbf31494e85-711383366-executor read 1 records, taking 504554479 nanos, during time span of 504620999 nanos
Why are the changes needed?
For each task, Kafka source should report fraction of time spent in KafkaConsumer to fetch records. It should also report overall read bandwidth (bytes or records read / time spent fetching).
This will be useful in verifying if fetching is the bottleneck.
Does this PR introduce any user-facing change?
no
How was this patch tested?

Run unit tests and validate log line is correct
Run some benchmarks and see it doesn't show up much in CPU profiling.

@HeartSaVioR in my understanding, we are right now essentially timing Poll(), which is pretty much what InternalKafkaConsumer.fetch() does and what we measure. I guess your concern is that when we report the metric per microbatch, some microbatch might show higher latency and some lower and it is misleading to take individual ones? I feel it OK as people do understand buffering and they need to add up multiple microbatches to find the real costs. The alternative approach is not less confusing either. If we, for example, trace in InternalKafkaConsumer, and report it periodically outside microbatch boundary, the execution period might include tasks from other jobs, and make it hard to match with tasks it serves. Another alternative is to log the timing every time poll() is called. Won't it be potentially to spamming?

Another alternative is to log the timing every time poll() is called.

Another alternative is to log the timing every time poll() is called. Won't it be potentially to spamming?

That was what I've been thinking through, but I agree that that could be shown as spamming, depending on how many records Kafka would give per fetch.
What about providing statistics for all poll() happened in a single microbatch (more clearly, one cycle of the consumer, from borrow to close/return)? If there are multiple polls happened we can calculate simple (or slightly richer) stats and provide that at the end like we do in current change.  If there is no poll happened in a cycle at all, we can simply log that no record has been fetched hence no stats.
That way I think is much better than expecting end users to add up these metrics among microbatches by themselves. Many end users won't know about the implementation details.
https://spark.apache.org/docs/latest/structured-streaming-kafka-integration.html

Along with consumers, Spark pools the records fetched from Kafka separately, to let Kafka consumers stateless in point of Spark’s view, and maximize the efficiency of pooling. It leverages same cache key with Kafka consumers pool. Note that it doesn’t leverage Apache Commons Pool due to the difference of characteristics.

This is pretty much everything we talked about cache for fetched data. I think many users even don't get to the point till they encounter the problem and have to look at the guide doc.
This is definitely a step forward on debuggability but we will need a way to provide the better visibility on operational perspective.

@HeartSaVioR I added the number of polls calls into the log lines.

Thanks! Merging to master.