text:
Repeat render if changes are made in invoked events

I had a requirement to synchronise two vertical axes (representing depth and elevation), but:

Their values would be offset by a user specificed value (i.e. the ground surface elevation)
The depth axis (only) is snapping to tick intervals (using the SnapToTicksY axis rule).

I was finding that if the user changed either vertical axis the other axis would update using the invoked AxisLimitsChanged event, but the render was already in progress, so the change was not seen until the next render occurred. This meant the two axes did not have the correct synchronisation.
The solution implemented in this PR is to test for changes made to axis limits by invoked events, and set a flag in the RenderManager to indicate that a repeat render is required.
However, my scenario was even more complex due to the depth axis snapping to tick values. When the user changed (zoomed/panned) the elevation axis, my AxisLimitsChanged event would change the depth axis. But on the repeat render, the depth axis then snaps to tick intervals and needs to invoke the AxisLimtisChanged event a second time. With the Depth axis now changed, I update the elevation axis, and I need to render a 3rd time to see this change.
I've set the rendering to repeat as long as it detects an axis change during invoked events, but have put a maximum limit of 5 repeat renders (to avoid an endless loop) - this could be made into a parameter in the future perhaps.

It seems rather wasteful to render things 3 times to get the required result.
I wonder if there is a better way of achieving the desired results by having the axes communicate without each other?
Maybe you could upload a github code example to demonstrate the issue?

It seems rather wasteful to render things 3 times to get the required result. I wonder if there is a better way of achieving the desired results by having the axes communicate without each other?

I agree! I wasn't able to work out anything more sophistocated. This solved a problem for me, but if a better solution can be found that would be great.

Maybe you could upload a github code example to demonstrate the issue?

Sure. Code smaple below. I demonstrated the original problem in Discord, but this more complete sample code captures the full behaviour described in the pull request:
Demonstration of the code (with the fix in place) follows:
If you change the left axis

fist render (render 7 in screenshot) occurrs because left axis changed.
left axis snaps to tick intervals during render (render 7)
right axis is set in an event because the left axis changed (still render 7)
left axis is set in an event because the right axis changed (render 8) - but new range is same as previous range so no more events fire.

If you change the right axis:

first render (render 49 in screenshot) occurs because right axis changed.
left is set in an event because right axis changed (render 49)
left axis snaps to tick intervals during second render (render 50)
right axis is set in an event because the left axis changed (still render 50)
left axis is set in an event because the right axis changed (render 51) - but new range is same as previous range so no more events fire.

using ScottPlot;
using System.Diagnostics;
using System.Windows;

namespace Sandbox.WPF;

public partial class MainWindow : Window
{
    private int limit = 1;
    private double rightAxisOffset = 0.5;
    public MainWindow()
    {
        InitializeComponent();

        // plot sine wave on left axis with YAxis snapping to tick intervals
        var sig1 = WpfPlot1.Plot.Add.Signal(Generate.Sin());
        var snapLeftTicks = new ScottPlot.AxisRules.SnapToTicksY(WpfPlot1.Plot.Axes.Left);
        WpfPlot1.Plot.Axes.Rules.Add(snapLeftTicks);

        // Plot cosine on right axis without snapping to tick intervals
        var sig2 = WpfPlot1.Plot.Add.Signal(Generate.Cos());
        sig2.Axes.YAxis = WpfPlot1.Plot.Axes.Right;

        // use an axis changed event to ensure axes are correctly offset
        WpfPlot1.Plot.RenderManager.AxisLimitsChanged += AxesChanged;

        WpfPlot1.Plot.YLabel("YAxis Left (snaps to ticks)");
        WpfPlot1.Plot.Axes.Right.Label.Text = $"YAxis Right ({rightAxisOffset} units offset from Left Axis)";

    }

    private void AxesChanged(object? sender, RenderDetails e)
    {
        bool rightRangeChanged = false;
        bool leftRangeChanged = false;

        if (e.Count > 1)
        {
            var newRightRange = e.AxisLimitsByAxis[WpfPlot1.Plot.Axes.Right];
            var oldRightRange = e.PreviousAxisLimitsByAxis[WpfPlot1.Plot.Axes.Right];
            var newLeftRange = e.AxisLimitsByAxis[WpfPlot1.Plot.Axes.Left];
            var oldLeftRange = e.PreviousAxisLimitsByAxis[WpfPlot1.Plot.Axes.Left];

            rightRangeChanged = oldRightRange != newRightRange;
            leftRangeChanged = oldLeftRange != newLeftRange;

            if (rightRangeChanged)
            {
                AxisLimits leftAxisLimits = new AxisLimits(left: WpfPlot1.Plot.Axes.Bottom.Min, right: WpfPlot1.Plot.Axes.Bottom.Max, top: newRightRange.Max - rightAxisOffset, bottom: newRightRange.Min - rightAxisOffset);
                WpfPlot1.Plot.Axes.SetLimitsY(leftAxisLimits, WpfPlot1.Plot.Axes.Left);
                Debug.WriteLine($"Left Axis set to: {(newRightRange.Min - rightAxisOffset).ToString()} -  {(newRightRange.Max - rightAxisOffset).ToString()} during render count {e.Count.ToString()}");
            }
            else if (leftRangeChanged)
            {
                AxisLimits rightAxisLimits = new AxisLimits(left: WpfPlot1.Plot.Axes.Bottom.Min, right: WpfPlot1.Plot.Axes.Bottom.Max, top: newLeftRange.Max + rightAxisOffset, bottom: newLeftRange.Min + rightAxisOffset);
                WpfPlot1.Plot.Axes.SetLimitsY(rightAxisLimits, WpfPlot1.Plot.Axes.Right);
                Debug.WriteLine($"Right Axis set to: {(newLeftRange.Min + rightAxisOffset).ToString()} -  {(newLeftRange.Max + rightAxisOffset).ToString()} during render count {e.Count.ToString()}");
            }

        }
    }

}

For completeness, below demonstrates the behaviour without this PR:
If you change the left axis

fist render (render 50 in screenshot) occurrs because left axis changed.
Left axis snaps to tick intervals during render (render 50)
Right axis is set in an event because the left axis changed (still render 50)
UI is not updated with newly set Right Axis range.

If you change the right axis

fist render (render 51 in screenshot) occurrs because right axis changed.
Left axis is set in an event because the right axis changed (still render 51)
Left axis snaps to tick intervals during render (render 50)
Right axis is no longer offset by 0.5 units as user intended.

Hmm, I see. Are you getting the artifacts of it jumping around a lot as you pan?
I'm not sure of a good solution, maybe someone else will come along with an idea.

Hmm, I see. Are you getting the artifacts of it jumping around a lot as you pan?
I'm not sure of a good solution, maybe someone else will come along with an idea.

No, panning is nice and smooth. I used to get jumping with SnapToTicks rules, but I resolved that in a recent PR.
Thanks for review and consideration. Happy to let this sit wiating further comments or thoughts from others. I can use in my fork in the meantime.

Hi @BrianAtZetica, thanks for this PR and @bforlgreen for your input along the way!
The WPF demo you shared was really useful for testing this out. I consolidated all of the proposed logic in the render manager class and did it in such a way that does not add any properties. What do you think about this implementation? If you think it looks good I'll merge it and it will be in the next release! 🚀

What do you think about this implementation? If you think it looks good I'll merge it

Actually, I'll merge this now and any suggestions can be made in new PRs. Thanks again!

What do you think about this implementation? If you think it looks good I'll merge it

Actually, I'll merge this now and any suggestions can be made in new PRs. Thanks again!

Looks great to me! Thanks so much.

authors: BrianAtZetica bforlgreen swharden

repo: ScottPlot/ScottPlot


text:
chore: Add ajmas to contributing guide

References

PR: https://github.com/ScottyFillups/simple-thumbnail/pull/38

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

source: gharchive/pull-request

repo: ScottyFillups/simple-thumbnail

license: MIT

license_type: permissive

license_source: github-api


text:
Fix transaction metrics

Kind of embarrassing, I don't know how it's possible I haven't noticed this before, but there wasn't the metrics! macro applied to transactions selects, only to execute...

Great that we found out now!

repo: SeaQL/sea-orm


text:
S1 long desc

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks broke.

Comments from Reviewable

authors: MichaelChristenson christensonb

repo: SeabornGames/Table


text:
sql-run doubt

Hi,
Thanks for all your efforts in taking NBi to the next level.
I have a doubt regarding the sql-run tag.
Is this syntax correct? (it doesn't work only when I add the sql-run code to the cleanup tag)
Can you please help me. (code below)
```
<assert>
		<equalTo> <column  index="0" role="value" type="numeric"/>
			<query >
				query
		</equalTo>
	</assert>
	<cleanup>
		<sql-run
			file="sqlscript.Sql"
			path="bin\"
			connectionString="..."
		/>
	</cleanup>
</test>

Hi,
Can anybody help me with this?
This one is very important to build my test suite. I'm kind of stuck here.
Thanks!

"Doesn't work" means that the project won't load in NUnit.
Should it work in cleanup or not? (I just want the possibility to run the SQL script right after making the comparison).
The code inside the script is correct and works in SQL Server.
The connection string is correct.
I'm not sure of the path, but I guess that if the path was incorrect the project would load anyway, but the test would fail. Is the path referring to the full path where the script is located?

I've managed to make it work in the setup, but I have to warn you that documentation seems to be wrong.
This does not work:
<sql-run
    file="MyCommands.Sql"
    path="SQL\"
    connectionString="..."
  />

I have used this:
			<sql-run
			name="SQLScript.sql"
			path="SQLScripts\"
			/>

Additionally, why does not it work in the cleanup? Is it supposed to be this way?
Thanks.

It should work on setup and cleanup, but it could be a bug :-). If it's a bug its perhaps just on the XSD. I'm off this week but will take a look at the beginning of next week. Will check also the documentation.
When a test-suite doesn't load, click anyway on run and it will display a message about what is wrong on your test-suite.

Thanks.

When a test-suite doesn't load, click anyway on run and it will display a message about what is wrong on your test-suite.

That's exactly what I did and I was able to solve the problem (at least for setup :p).
Thanks for the help!

To be honest, I can't reproduce.As you pointed, the documentation was wrong about the name of the attribute: must be name and not file.
But I've no problem to run a tasjk sql-run in the cleanup

Closing this due to no activity. If needed re-open.

source: gharchive/issue

authors: Seddryck bipedro

repo: Seddryck/NBi

license_source: bigquery


text:
Passing CommandTimeout parameter

Hi Cédric,
I am getting CommandTimeoutException, because some test queries are taking more than 30 seconds to run, this is the default CommandTimeout value for OleDbCommand and SqlCommand.
I haven't found a way to pass a parameter to set this property, if there is a way please could you tell me, if not could you please add this feature to NBi.
Thank you
António Gonçalves

You should take a look to https://github.com/Seddryck/NBi/issues/208 and use the latest beta to solve your problem.
If it doesn't work for you please reopen the issue #208 and be sure to specify your connection string

authors: Seddryck amdgoncalves


text:
We need to run full_update at least once

Expected behavior
Looks like disabling full update results in new characters spawning at 0, 0, 0 even though their position is correctly set to spawn points.
Toggling full_update fixes the issue, so it looks like we need to run full_update at least once.

Actually further testing shows that this doesn't necessarily solved the issue.
Needs more testing.

repo: Segs/Segs


text:
Checkbox: onClick fires parent onClick twice

Bug Report
I just upgraded to v0.85 (from 0.82.5) seeing this release is supposed to fix this issue, https://github.com/Semantic-Org/Semantic-UI-React/pull/3351. My issue might be slightly different though.
I have the following subset of code:

              <Popup trigger={<Icon name="info circle" />} content={node.data.tooltipText} inverted />

              <Checkbox
                id={node.id}
                checked={node.data.active}
                indeterminate={node.data.indeterminate}
                radio={treeType === 'Radio'}
                onClick={e => e.stopPropagation()}
              />...

When the user clicks the checkbox, which is a radio button, it runs the li's onClick event twice. If the user clicks the li it runs once.
It appears to only do this when I specify the id property. This can be validated in the test case below
Steps
Use the checkbox with an ID specified and a parent click event and note it fires twice. It fires twice for radio and checkboxes.
Put onclick on the checkbox and it only fires once.
Expected Result
it fires once
Actual Result
it fires twice. In debugging the this.liClickHandler, I notice that the event object is slightly different the 2nd time it calls.
First time, event.target is label, the second time it's the input. Appears both controls are pushing the click.
Version
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.85.0",

Testcase
https://codesandbox.io/s/88zzv64rn8

I've worked on the referred issue #3351 I think I know where the problem could come from, will submit a PR soon!

PR created!

What’s the expected time this will be available

@Fabianopb @layershifter what's the eta for an official release? Can I request one sooner as this is blocking production for us? Need a 🍻?

Need a 🍻?

We need @levithomason because only he has release rights 😸

authors: DavidLozzi Fabianopb layershifter

repo: Semantic-Org/Semantic-UI-React


text:
Pagination not SEO friendly there is no way to set "href" on a tags auto created.

I think maybe there should be a way to make pagination SEO friendly at least.

I agree with @xaander1 There should be something where we can define what to render in each number of pagination. I am working with nextjs and the semantic pagination component doesn't have href attribute in pagination elements.


text:
Fix obsolete warning in 2017.2 and above

Change PlaymodeStateChanged to PlayModeStateChange for Unity 2017.2 or higher.
(I've added #if gate for that).
Feel free to discuss if something feels doesn't right.

Sorry, was on a trip.
Thanks for adressing that:)

authors: Seneral willnode

license: mit


text:
Fix Layout for Plans

I have changed the strategy to call Stripe's API from the sensetif-datasource-plugin and return their objects directly.
Plans.tsx and PlansList.tsx is trying to format that nicely, but I can't figure it out.
Preferred;

Make each "plan" a box, not occupying the whole width
Stack plans next to each other
Pricing in a "reasonable" way, i.e. Yearly possibly larger, with "% OFF" from the "Monthly" fee. The "Onetime" should change to "10 years Prepaid" or something like that. Single click "subscribe" is preferred.
I am going to utilize Images later, but has no material yet. Suggestions welcome...

When the boxes wrap to new lines, they "float together" and become confusing.

@niclash fixed

authors: grzegorekb niclash

repo: Sensetif/sensetif-app-plugin


text:
Fix more formatter related crashes

proper translation of new message
fix small spelling errors

fixed missing formatter %s in various languages


text:
Migrate primary branch from master to main

See https://github.com/Senzing/stream-loader/issues/283

Pull requests:

https://github.com/Senzing/aws-cloudformation-ecs-senzing-stack-basic/pull/115


text:
🛑 Autotraze Prod is down

In 57cc372, Autotraze Prod ($SECRET_SITE_AUTOTRAZE_PROD) was down:

HTTP code: 503
Response time: 267 ms

Resolved: Autotraze Prod is back up in b579eec after 9 minutes.


text:
Add headers parameters

Add a little code snippet to allow sending headers params on ajax call

This one is nice and clean. Thank you.

This break/broke the demo, complains about the this part of this.options.headers is undefined, should be self.

Sorry, i fix it and submit new pull request #667

authors: Serhioromano aguillem criztovyl

repo: Serhioromano/bootstrap-calendar


text:
Rebate icon not loading on chrome

This is happening in chrome, IE, Edge, and Safari

@Br3nda has fixed

repo: ServiceInnovationLab/pancake-frontend


text:
Feature/555 user exception notifications

WIP
What has changed and why?
How to test this change

[ ] has automated tests
[ ] at least one a reviewer ran the code
[ ] tested in small screen
[ ] tested in Chrome
[ ] tested in Firefox
[ ] tested in IE
[ ] tested in Safari
[ ] i18n
[ ] tested in screen reader/contrast <-- remove this if no UX change

This pull request fixes 1 alert when merging bd9591237d33f34b8fe8502ac6c51ffd35d5be95 into 1aed3679a2466094a36c6d443b295ee1e4257dde - view on LGTM.com
fixed alerts:

1 for Unused or undefined state property

Comment posted by LGTM.com


text:
Add new start-up tasks

Description:
On big datasets, the behavioral testing summary and class overlap modules would error out in the UI, while they were being computed. I added them both to the start-up, and that forced me to refactor so we could define what dataset splits to send to a particular start-up task.
Checklist:
You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge it.

[x] ISSUE NUMBER. You linked the issue number (Ex: Resolve #XXX).
[x] PRE-COMMIT. You ran pre-commit on all commits, or else, you
ran pre-commit run --all-files at the end.
[x] USER CHANGES. The changes are added to CHANGELOG.md and the documentation, if they impact
our users.
[x] DEV CHANGES.

Update the documentation if this PR changes how to develop/launch on the app.
Update the README files and our wiki for any big design decisions, if relevant.
Add unit tests, docstrings, typing and comments for complex sections.

I'm waiting on the changes in another incoming PR about including datasets in the hash before removing this from draft.

repo: ServiceNow/azimuth


text:
B758

Use the preview tab to see the example given below. Edit the relevant information and preview the changes before submitting. You may delete these instructions.

Key
Value

ID
B758

Source
Vaaran Bhai Gurdas Ji

Page
28

Line
gur isKI dI vwsu lY; huie durgMD sugMD sryKY [

Correction
THIS ≠ THAT

PROOF (EDITION)
Image:

Correction:
gur isKI ≠ gurisKI
Proof:
Vaaran Bhai Gurdaas Ji | November 2011 | Shamsher Singh Ashok | SGPC, Sri Amritsar
Image:

authors: UmeetSingh bhajneet

repo: ShabadOS/database


text:
Fix error on failed update

There is no .exe in beta 2 release (circle ci randomly failed). So I'm guessing it's trying to find a file that isn't there.

It's actually looking for latest.yml since the release is present, but since the Windows publish randomly failed, so does this.
Solutions:

Catch all uncaught exceptions and send to sentry + log it
Automatically retry failed publish jobs

isn't possible right now with CircleCI

repo: ShabadOS/desktop


text:
Error: boot.cpp

Describe your problem here.
Error: boot.cpp
C:/HaxeToolkit/haxe/lib/discord_rpc/git/linc/linc_discord_rpc.h(7): fatal error C1083: No se puede abrir el archivo incluir: '../lib/discord-rpc/include/discord-rpc.h': No such file or directory
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

Duplicated + re-download haxe or psych engine

Pretty sure I've said in a duplicate you've uploaded...
haxelib install discord in your command bar o terminal

STOP SPAMMING THIS

shut tha fuck up

@ShadowMario Duplicate lol.

Don't tag me, i have notifications turned off and am 24/7 on "Do not disturb", it won't do shit.

repo: ShadowMario/FNF-PsychEngine


text:
Read below

What is your question?
How to be able to make text boxes change design like in ddto extras?

propably only changing the files or somethin

authors: NightmaresPlayz noskincz


text:
Custom Options For Da Game.

What is your question?
Is there any way I can add custom options into the base game without editing the source code of the main game.
What Version Of The Engine Are You Using?
I am using v0.6.3 version.
Have You Edited The Source Code?
No, I haven't even put a single scratch on it.

no you can't @AyMarte

ok

authors: AyMarte MemeHovy


text:
BIG IMPORTANT QUESTION

What is your question?
What is the var for doTweenAlpha? i looked in the wiki, but there was nothing there for it.

it's a function
doTweenAlpha() --this happens first
function onTweenCompleted(t)
    --all the code in here happens once a tween is completed, just make sure you have an 'if t ==' in here, otherwise, it could lead to some problems from doing a bunch of tweens in songs
end

no, doTweenAlpha(tag:String, vars:String, value:Dynamic, duration:Float, ease:String)

and i need the var.

The variable t will be whatever you set tag to. If you set tag to "Bruh", when the tween is completed t will be "Bruh".

There is no var to get if it was an alpha tween.


text:
lock flixel library versions to prevent compiler issues

Purpose
In order to prevent compiling issues, this pull request forces the game to use specific versions for every haxe library, those versions would be the ones that we know for sure always compile properly
Removals
This removes hmm.json as its only purpose in the repository was to be used by github actions, and many people just used the seutp files anyways, instead of hmm.json, GitHub Actions will now use the setup files provided in the setup/ directory

need people to test a compilable version of hxvlc, i'm trying some stuff of my own and this should get out of the draft phase

now we wait and see if actions compile before i can

@ShadowMario i know you have notifs off but you can merge

the errors right now seem to be from missing functions and such, which I'm guessing you're fixing/fixed

reopening shortly cus apparently my fork was outdated


text:
Devnet optimizations

Run Flask inside a proper container. This will improve how multiple requests are handled. Instead of being "piled up" increasing the time they take to process, the requests will now be received and treated sequentially.

Add new optional CLI argument --lite-mode. When this argument is passed, devnet will not calculate transaction hashes for deploy transactions, and will instead use a numeric sequence, and it turns off block generation as well.

test_cli and test_cli_auth were changed to pytest test files, in order to simplify unit test management;

test_postman was change to a single test function, as the features are meant to be tested in a single flow

Can you add dev changes to the PR description (like testing changes).

Can you add dev changes to the PR description (like testing changes)?

Done

authors: FabijanC dribeiro-ShardLabs

repo: Shard-Labs/starknet-devnet


text:
Developer blog link not working

In the beginning of the documentation, a link is mentioned to the developer blog "more background behind this on our developer blog." This is a dead link. So please update to the new location or remove it.

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

ID: e77701e1-868a-3768-b2ab-ce97ba41b408
Version Independent ID: c18e9584-f323-926e-0cc2-7742d1a2736b
Content: Supporting % and # in files and folders with the ResourcePath API
Content Source: docs/solution-guidance/supporting-and-in-file-and-folder-with-the-resourcepath-api.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

This is fixed in master branch https://github.com/SharePoint/sp-dev-docs/commit/e49588c642eac9aff573ba84ffde2ca35ee07546 , yet to merge in live branch
The right URL - https://developer.microsoft.com/office/blogs/upcoming-changes-to-sharepoint-and-onedrive-for-business-apis-to-support-and-in-file-names

The live branch is refreshed on a specific schedule.

repo: SharePoint/sp-dev-docs


text:
How to add tabs under Proprty Pane?

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version - 1.17.1
Node.js version - 16.20.0

Issue description
Hello Everyone,
I have created an SPFx project with React.
I have created a property pane under my SPFx web part. Below is the screenshot for the same.

I need to add tabs under that property pane and add controls under tabs.
Can anyone help me with the same?

I'm not sure of tabs but you can have sections that are minimized/maximized as you see fit.
in getPropertyPaneConfiguration make use of 'displayGroupsAsAccordion' and then 'isCollapsed'
return {
pages: [
        {
          header: {
            description: ""
          },
          displayGroupsAsAccordion: true,
          groups: [
            {
              groupName: "Group one"
              isCollapsed: false,
              groupFields: [
                    <Property pane controls for the group>
              ]
           },
            {
              groupName: "Group two"
              isCollapsed: true,
              groupFields: [
                    <Property pane controls for the group>
              ]
           }
        ]
      }
   ]
}

If you instead of the above return more 'pages' in the pages array you might get something similar to tabs. But I think it's using pagination at the bottom of the property pane panel instead (not sure)

authors: JoelBool bhoomesh-spe


text:
Updated roadmap with latest community call roadmap

Category

[x] Content fix
[ ] New article

What's in this Pull Request?
Updated SPFx roadmap to align with latest announced roadmap as per Feb 24 community call slide

Docs Build status updates of commit 4c282d8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/roadmap.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b8bb399:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/roadmap.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

thx @hugoabernier  - good to get this up to date as well 👏

authors: VesaJuvonen hugoabernier


text:
SharePoint Framework development with SharePoint Server 2019 & SharePoint Server SE - Correct guidance on compatible Node.js versions

Category

[x] Content fix
[ ] New article

What's in this Pull Request?
SharePoint 2019 supports assets developed using SPFx v1.4.1. The existing document indicates that SPFx v1.4.1 is compatible with Node.js v1.10.x and instructs the reader to install this version on Node.js when setting up a SPFx development environment for SharePoint 2019. This is incorrect - SPFx v1.4.1 is not compatible with Node.js v1.10.x, it is only compatible with Node.js v6.x and v8.x. This updates made in this PR correct the information contained in the document in this regard.

Docs Build status updates of commit 54891c1:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/spfx/sharepoint-2019-support.md
:warning:Warning
View
Details

docs/spfx/sharepoint-2019-support.md

Line 2, Column 1: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

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

authors: VesaJuvonen rob-windsor


text:
Typo: change proove to prove

Q
A

content fix?
yes

New article?
no

Related issues?

What's in this Pull Request?
Simple typo fix. Changed "proove" to "prove"

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thx Korey, appreciated.

authors: VesaJuvonen koreyconway msftclas


text:
Added log file templates to project and item extensions

Q
A

Bug fix?
no - yes?

New feature?
no - yes?

New sample?
no - yes?

Related issues?
fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Please describe the changes in this PR. Sample description or details around bugs which are being fixed.
Guidance
You can delete this section when you are submitting the pull request.

Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
Please target your PR to 'Dev' branch, we merge 'dev' frequently to master as needed.

Thanks for your contribution! Sharing is caring.

@eshupps,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

authors: eshupps msftclas

repo: SharePoint/sp-dev-fx-vs-extension


text:
Url Rewrite - Issue with root addresses

Category
[X] Bug
[ ] Enhancement
Problem Area
[ ] Page Transformation: Error during the setup/use of the Page Transformation UI solution (did you check our troubleshooting guide?)
[X] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[ ] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...
Expected or Desired Behavior
URL Rewrite from root addresses -e.g. https://test.sharepoint.com or https://portal should be supported in URL rewrite transform.
Observed Behavior
HTML markup where there is a "/" all instances are replaced with the target web URL.
Discovered during on-prem testing but could apply to SharePoint online where the portal on root address is transformed.

@jansenbe please assign to me, already working on fix, issue raised as reference to others. Will include fix in SharePoint 2010 PR.

Merged @pkbullock 's fix for this one, closing now

authors: jansenbe pkbullock

repo: SharePoint/sp-dev-modernization


text:
Your request to provision "Microsoft 365 learning pathways"  template failed!

correlation ID: 4cca888e-9bb2-4f91-9bf0-f56fbbe8405f

Hi, Thanks for your feedback. I'm closing this item because it is now outdated.

repo: SharePoint/sp-provisioning-service


text:
Auth

Hello,
can you please add a function which allows checking the auth token which is in the cfg file?
Thank you very much
Regards
Dieter

It's a little late, but I've done the required changes. I apologize for giving up this library for so long.

authors: Dieterfu ShaunLWM

repo: ShaunLWM/node-csgo-gsi


text:
ERROR

ERROR: Could not find a version that satisfies the requirement tensorflow<=1.15.0,>=1.12.0 (from fawkes) (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2)
ERROR: No matching distribution found for tensorflow<=1.15.0,>=1.12.0 (from fawkes)

You can try to run it on Google colab

ERROR: Could not find a version that satisfies the requirement tensorflow<=1.15.0,>=1.12.0 (from fawkes) (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2)
ERROR: No matching distribution found for tensorflow<=1.15.0,>=1.12.0 (from fawkes)

@Fc9Terminal What version of python are you using? I had python3.8 locally, and saw that it requires the new version (v2) of tensorflow: https://www.tensorflow.org/install/pip

@caretak3r, i am using Python 3.8.2 and pip 20.0.2

@caretak3r, i am using Python 3.8.2 and pip 20.0.2

Use Google colab

@Fc9Terminal can you try with a python between 3.5-3.8, and not 3.8?

Yes, we do not support 3.8, because 3.8 does not support tensorflow 1

repo: Shawn-Shan/fawkes


text:
Programm crashes insted to protect pictures

I selected 1072 pictures each one just 200kb just to find the program crashed "An Error acoured. This program has to be closed" under Win10 after i came back from work :-(

wow that is a lot of pictures. Probably because the program uses too much memory and crashed.
Please try less images at a time and see whether it helps.

Thanks i try it says 46 scince 4 hours...

Program has been working the whole night but after 12 hours still no changes.
Then i tred with one single image. It said 1 minute and after 1 hour it really produced a new image called originalname_low_cloaked.png.
That does not help im shure most of the people need the same name and if possible the same file type as before without having to manually change it again...
Thanks a lot anyway 👍

Hi! Creating cloaks requires a significant amount of local compute power. Depending on your local machine specs, this may result in the cloaking taking a long time (as you experienced).
Right now, the cloaked images aren't saved to your computer until cloaks for all selected images have been computed. This would explain the perceived lack of program progress after 12 hours. It's probably the case that the program had already finished several cloaks but you had no indicator of this. In future versions of the code, we will move cloaked image saving earlier so you can more readily see progress.
We intentionally wrote the program to save cloaked images under a different name so users could easily distinguish between the original and cloaked versions. There may be instances where users wish to have both versions. Feel free to rename the cloaked file as you wish.
Thanks for the feedback!

Answer: https://github.com/Shawn-Shan/fawkes/issues/45

authors: Shawn-Shan emjoywill transafrika


text:
Sharing Mod lists does not share order correctly

When sharing mod lists, it tells the most position via having ';x' at the end, but if players have different mods this can cause mods to be in the wrong order, causing incompatibility that can be hard to fix

Situation we ran into, mod list of:
2879757612|2790124693|2806164655|2859968660|2860107529|2883357983|2854346056;20|2794696516|2831188313|2789904335|2789858755|2789872749|2798367988|2792940826|2789850100|2789845079|2789854789|2852724610|2794896622|2889271044|2789862740|2855837519|2790584452|2789903475|2790563688|2789948438|2890499031|2789904423|2860849259|2859369022|2792939724|2858251286|2875227597|2881678598|2856202634|2789857945|2858832821|2789893818|2790147047|2859646091|2790754811|2863153005|2853058175|2790986410|2854819509|2862719717|2855364225|2860940476|2854403011|2884798300
Our my_mods files:
my_mods.txt
my_mods.txt
In this case, '!derpy_noinruneguardian.pack' and 'immortal_landmarks_IE_v1.pack' swap order as one of us had one more mod


text:
请问该如何实现竖屏时从底部弹出dialog，横屏时从左侧弹出

请问该如何实现竖屏时从底部弹出dialog，横屏时改为从左侧弹出

WindowManager.LayoutParams lp = window.getAttributes();
lp.gravity = position;

authors: SheHuan coolBreezes

repo: SheHuan/NiceDialog


text:
is there any way to send Parameters form url to scratch htmlifiered page?

Is there any way to send parameters form url to scratch htmlifiered page? Sometimes I want ot  jump level or page  in a game .
This is a very very usefull tool for me!
Thank you!

If you enable special cloud variable behaviours, a cloud variable named ☁ url will be set to the URL of the page, which you can use to get URL parameters from

or a cloud variable called ☁ eval and set it to location.search, then the parameters will be sent to the cloud variable ☁ eval output

Or that, when set to eval could fetch the approx location of the user!

Hm?

Location of the user?

Yes, I mean, the location from where the user is accessing?

authors: SheepTester SparkScratch-P UtterDonkey mededu

repo: SheepTester/htmlifier


text:
Basic GP Tutorial

Hi,
I was working through your basic GP tutorial, and was trying to understand how the predictive distribution shown on line 9 relates to equations 2.23 and 2.24 of the Rasmussen textbook (the derived expressions for the predictive mean and covariance matrix for Gaussian process regression:

).
I expected the mean shown to be exactly expression 2.23, and the confidence intervals to be the mean +/- 2 times the standard deviations, obtained by taking the square root of the diagonal entries of the covariance matrix of expression 2.24.  While the mean obtained from expression 2.23 does match up with the predicted mean, the plotted confidence intervals are much larger than those obtained from the formula given in the Rasmussen book.  I attach a pdf of my modified jupyter notebook; the important plot is the last one.  Any guidance you can provide is much appreciated. Thanks.
basic_gp.pdf

The problem was that the tutorial's m.plot() function was plotting the confidence intervals for y* = f* + e$, whilst I was plotting those for f*.  After accounting for this difference, the confidence intervals shown by m.plot_f() and as calculated using the Rasmussen formula match up reasonably well.

repo: SheffieldML/GPy


text:
addressed @charelstoncrabb issue reported in #896

Addresses #896

Thanks for the review lawrennd.
This PR has an f-string in it, though - that makes Python3.5 unhappy. I'm going to wait for a day or two until we've had sufficient time for objection in the "should we drop 3.5 support?" issue thread before dropping 3.5 and merging this PR.

Makes sense!

authors: ekalosak lawrennd


text:
Detector: Freb based app issue v/s  platform issue detector

Give details and specific information to the user on what specific thing is causing the problem - eg: config is malformed and its load failed etc...

Detector deployed to PROD (supports only app issues now) . Will add separate item for platform issues

authors: PraveenTB andreyse


text:
Updating semantic token provider corresponding to scala.meta.tokens.Token

Please review .  Change freely function name, variable name, and logic. to  Scala-like or functional.

Close to make a new PR

repo: ShintaroSasaki/metals


text:
🛑 ShippersEdge Rates API is down

In 1e73a17, ShippersEdge Rates API (https://api.shippersedge.com/v2/rates/shipment/365186086) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ShippersEdge Rates API is back up in e853869.

repo: ShippersEdge/upptime


text:
Improve missing dependency at specific version error

Currently Nickel returns the same error if a dependency is not present at all, or present but at an older than required version - these should be two separate messages.

Done in upcoming Nickel 1.0.0.

repo: Shockah/Nickel


text:
Season 8 update

Needs updating for season 8 levels

Worth noting that Leading Light is appearing as a new round for some reason

I just updated to the new v1.127 for this season. Thanks for the quick update!
I still have a few games recorded from maps that aren't properly identified in the program -- they're likely from some of the beta sessions I played in. I'm not sure what the proper names of these maps are. They are named as followed at the bottom of my program:
Bluejay Event 01
Bluejay Event 02
Bluejay Event 03 Final
Follow-The-Leader Ss2 Launch
Would it be possible for you to make the program properly identify these? Would be much appreciated. Thanks again.

I just updated to the new v1.127 for this season. Thanks for the quick update!
I still have a few games recorded from maps that aren't properly identified in the program -- they're likely from some of the beta sessions I played in. I'm not sure what the proper names of these maps are. They are named as followed at the bottom of my program:
Bluejay Event 01 Bluejay Event 02 Bluejay Event 03 Final
Bluejay Events are actually called "Bean Hill Zone" - not sure if the map is called differently when / once it goes into the show rotation

Follow-The-Leader Ss2 Launch
Cannot confirm this one I'm afraid

Would it be possible for you to make the program properly identify these? Would be much appreciated. Thanks again.

Thanks for the update @ShootMe but the season filter is still applying itself to the start of season 7. As well as the issues mentioned above.

I can fix the season filter easily, but I have no real easy way of dealing with the other levels at the time being

Follow-The-Leader SS2 Launch is Leading Light
Gist of player logs for show where it's the second one is available here:
https://gist.github.com/adamkelly86/0558504e38c0d53a2320fe5166307f19

Follow-The-Leader SS2 Launch is Leading Light
Ah, cool. Thanks for figuring it out. 🙂

Hopefully fixed Leading Light in 129

repo: ShootMe/FallGuysStats


text:
Add links to footnotes if terminal doesn't support hyperlinks

WHY are these changes introduced?
Fixes https://github.com/Shopify/internal-cli-foundations/issues/520
Links could wrap inside boxes and be hard to copy and paste
WHAT is this pull request doing?
I've added some footnotes below the boxes that display all the links so that they can be easily copy and pasted. Here's an example.

How to test your changes?
Run kitchen-sink static and see the changes

So the problem is that there are links longer than the banner? Or we are wrapping them when we shouldn't?

Yes they can be longer than the banner and we are forced to wrap them. The alternative would be to have links inside banners "overflow" outside the borders but that would look aesthetically unappealing.

repo: Shopify/cli


text:
Rename ($lang) paths to ($locale) in Demo Store

🤖 Generated by Copilot at ef62305
Summary
🌐🛠🚚

This pull request renames the URL parameter from lang to locale in the demo store template files and updates the related code logic accordingly. This change improves the consistency and clarity of the URL structure and the code, and reflects the concept of locale as a combination of language and country.

Oh, we're refactoring the code today
We're changing lang to locale, hooray
On the count of three, we'll pull and push
And make the demo store look more posh

Walkthrough

Refactor the URL parameter from lang to locale for consistency and clarity (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)
Rename the files and the utility function from lang to locale to match the URL parameter (link, link, link, link, link, link, link, link, link, link, link, link)
Validate the locale parameter in the loader function of ($locale)._index.tsx to check if it matches the expected format of language-country and throw a 404 response if not (link)
Update the import statements to use the renamed files and the utility function (link, link, link, link)
Update the redirect functions to use the locale parameter or variable to construct the redirect URLs (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)

Latest deployment seems to be working fine as I navigate around, using a different locale https://vnvqxs2v8-f1f4fa724b7467f41f07.myshopify.dev/en-gb/

Specific policies don't appear to be working? Can't tell if that's related or not to this change though.
Click on any link on this page https://vnvqxs2v8-f1f4fa724b7467f41f07.myshopify.dev/en-gb/policies

I wish the initial ($lang) had been set up as a folder. It would have simplified the process of updating files, especially since I just started the project. Typically, I rely on the console for tasks like pushing to Git, but it becomes challenging to autocomplete files when they contain parentheses ().

authors: benjaminsehl frehner jamalsoueidan

repo: Shopify/hydrogen


text:
Delete resources that mirror default behavior

What are you trying to accomplish with this PR?
We should not have any Shopify specific code in this repo.
Closes: https://github.com/Shopify/kubernetes-deploy/issues/549
How is this accomplished?
Delete three Shopify specific resources. These resources appear to behave the same as the default CustomResource code.
What could go wrong?
The default behavior is slightly different.

I 🎩 this with cumulus-cat and didn't see any difference. Though cumulus-cat  only uses ES.

repo: Shopify/kubernetes-deploy


text:
Introduce SingleBytePrefixVersionWithStringBypass for faster string serialization

Fix: https://github.com/Shopify/paquito/issues/18
 === Read 100B ===
Warming up --------------------------------------
             marshal   230.578k i/100ms
             msgpack   242.521k i/100ms
              bypass   526.491k i/100ms
Calculating -------------------------------------
             marshal      2.210M (± 3.3%) i/s -     11.068M in   5.014646s
             msgpack      2.400M (± 2.6%) i/s -     12.126M in   5.057475s
              bypass      5.264M (± 0.8%) i/s -     26.325M in   5.001316s

Comparison:
             marshal:  2209529.3 i/s
              bypass:  5263899.3 i/s - 2.38x  (± 0.00) faster
             msgpack:  2399605.0 i/s - 1.09x  (± 0.00) faster

 === Write 100B ===
Warming up --------------------------------------
             marshal   236.093k i/100ms
             msgpack   244.387k i/100ms
              bypass   407.380k i/100ms
Calculating -------------------------------------
             marshal      2.287M (± 2.6%) i/s -     11.569M in   5.062488s
             msgpack      2.368M (± 2.1%) i/s -     11.975M in   5.060218s
              bypass      4.022M (± 1.9%) i/s -     20.369M in   5.065649s

Comparison:
             marshal:  2286724.8 i/s
              bypass:  4022499.9 i/s - 1.76x  (± 0.00) faster
             msgpack:  2367566.5 i/s - same-ish: difference falls within error

 === Read 10000B ===
Warming up --------------------------------------
             marshal    70.538k i/100ms
             msgpack   221.620k i/100ms
              bypass   526.303k i/100ms
Calculating -------------------------------------
             marshal    618.272k (± 8.4%) i/s -      3.104M in   5.055696s
             msgpack      2.219M (± 0.5%) i/s -     11.303M in   5.094451s
              bypass      5.253M (± 0.5%) i/s -     26.315M in   5.009325s

Comparison:
             marshal:   618272.2 i/s
              bypass:  5253358.9 i/s - 8.50x  (± 0.00) faster
             msgpack:  2218677.8 i/s - 3.59x  (± 0.00) faster

 === Write 10000B ===
Warming up --------------------------------------
             marshal    51.365k i/100ms
             msgpack    33.687k i/100ms
              bypass    65.035k i/100ms
Calculating -------------------------------------
             marshal    541.293k (±14.8%) i/s -      2.671M in   5.029854s
             msgpack    326.023k (±13.2%) i/s -      1.617M in   5.042620s
              bypass    664.092k (±20.6%) i/s -      3.252M in   5.068323s

Comparison:
             marshal:   541293.1 i/s
              bypass:   664092.5 i/s - same-ish: difference falls within error
             msgpack:   326023.2 i/s - 1.66x  (± 0.00) slower

 === Read 1000000B ===
Warming up --------------------------------------
             marshal   994.000  i/100ms
             msgpack   222.471k i/100ms
              bypass   525.644k i/100ms
Calculating -------------------------------------
             marshal     10.271k (± 4.9%) i/s -     51.688k in   5.044480s
             msgpack      2.218M (± 0.9%) i/s -     11.124M in   5.015168s
              bypass      5.226M (± 0.9%) i/s -     26.282M in   5.029194s

Comparison:
             marshal:    10271.0 i/s
              bypass:  5226377.5 i/s - 508.85x  (± 0.00) faster
             msgpack:  2218154.5 i/s - 215.96x  (± 0.00) faster

 === Write 1000000B ===
Warming up --------------------------------------
             marshal   887.000  i/100ms
             msgpack   470.000  i/100ms
              bypass   900.000  i/100ms
Calculating -------------------------------------
             marshal      9.442k (± 5.4%) i/s -     47.898k in   5.088189s
             msgpack      4.921k (± 3.8%) i/s -     24.910k in   5.068934s
              bypass      8.672k (± 6.2%) i/s -     43.200k in   5.002015s

Comparison:
             marshal:     9441.5 i/s
              bypass:     8671.8 i/s - same-ish: difference falls within error
             msgpack:     4921.4 i/s - 1.92x  (± 0.00) slower

Hum, I just realized that unfortunately this isn't really usable with ActiveSupport::Cache, because you'd usually serialize a AS::Cache::Entry which Paquito::EntryCoder turns into an Array.
That's really unfortunate. I'll see if I can figure something out.

That may not be desirable or doable, but I've noticed that discourse uses ActiveSupport::Cache without cache entries altogether. It also doesn't support versioning, and the expiry is done in Redis directly. But for a String, you may be able to skip the Array altogether in EntryCoder?

Unfortunately storing the TTL is necessary for race_condition_ttl which IMO is an important feature.
But I think we can handle both by moving the versioning lower.

authors: casperisfine etiennebarrie

repo: Shopify/paquito


text:
Explore out why errors that happen during script initialization are not shown usefully in the web inspector

I ran into this error every time I included a library that referenced window (which doesn’t exist in the worker). Catching and helping with those errors in dev would be great. But might have issues reading the error because the script is a different origin...

This is an implementation-specific concern, not something the library can directly help with.

repo: Shopify/remote-ui


text:
Sortbet error in server.rb, execute()?

Description
I recently installed Bugsnag for error monitoring, and it is logging this error. Though I do not see this error anywhere in my dev environment or vscode.
TypeError · Parameter 'params': Expected type T::Hash[Symbol, T.untyped], got type NilClass Caller: /Users/frexuz/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/ruby-lsp-rails-0.3.2/lib/ruby_lsp/ruby_lsp_rails/server.rb:49
Definition: /Users/frexuz/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/ruby-lsp-rails-0.3.2/lib/ruby_lsp/ruby_lsp_rails/server.rb:63 old_raise.call(*args, **kwargs) ^^^^^^^^^^^^^^^

Not sure I have any more info about this. Does it look like its correct? Or maybe some false positive?

Using vscode plugin only

Thank you for the bug report! I transferred this to ruby-lsp-rails and put up a PR to fix the runtime type check error.

authors: kg-currenxie vinistock

repo: Shopify/ruby-lsp-rails


text:
Is there any possibility of the certain KOA router without shopify auth

Issue summary
I want to use a KOA router which won't use koa-shopify-auth and won't redirect to Shopify admin panel.
When I browser site(e.g https://abcdef.ngrok.io/customers) in an incognito window, it won't redirect to Shopify admin. But there is some resource can't get and make website crack. (Screenshot below)
Expected behavior
Here is my server.js file. Add koa router /customers for everyone view this site directly. And I create customer.js file in my next project's pages folder.
Is there any way that I can create the router which can be viewed directly by users? Appreciate for the example code snippet!
require("isomorphic-fetch");

const { default: createShopifyAuth } = require("@shopify/koa-shopify-auth");
const { verifyRequest } = require("@shopify/koa-shopify-auth");
const { default: graphQLProxy } = require("@shopify/koa-shopify-graphql-proxy");

const Koa = require("koa");
const Router = require("koa-router");
const next = require("next");
const session = require("koa-session");
const dotenv = require("dotenv");
const axios = require("axios");

dotenv.config();

const port = parseInt(process.env.PORT, 10) || 3000;
const dev = process.env.NODE_ENV !== "production";
const app = next({ dev });
const handle = app.getRequestHandler();

const { SHOPIFY_API_KEY, SHOPIFY_API_SECRET_KEY } = process.env;

app.prepare().then(() => {
  const server = new Koa();
  const router = new Router();
  server.use(session(server));
  server.keys = [SHOPIFY_API_SECRET_KEY];

  server.use(
    createShopifyAuth({
      apiKey: SHOPIFY_API_KEY,
      secret: SHOPIFY_API_SECRET_KEY,
      accessMode: "offline",
      scopes: [
        "read_product_listings",
        "write_product_listings",
        "read_products",
        "read_orders",
        "write_orders",
        "read_checkouts",
        "write_checkouts",
        "read_customers"
      ],
      async afterAuth(ctx) {
        const { shop, accessToken } = ctx.session;
        //... do something to keep shop and accessToken
      }
    })
  );

  /**GraphQL Admin API  */
  server.use(graphQLProxy());

  /**For everyone can view direct */
  router.get("/customers", async (ctx, next) => {
    console.log(`[Info] customers. Path: ${ctx.url}`);
    await app.render(ctx.req, ctx.res, "/customers");
    ctx.respond = false;
    ctx.res.statusCode = 200;
  });

  router.get("*", verifyRequest(), async ctx => {
    await handle(ctx.req, ctx.res);
    ctx.respond = false;
    ctx.res.statusCode = 200;
    return;
  });

  server.use(router.allowedMethods());
  server.use(router.routes());

  server.listen(port, () => {
    console.log("> Server run on port " + port);
  });
});

Specifications

Browser: Google Chrome 73.0.3683.103
Device: MacBook Air 2018
Operating System: macOS Mojave

Here are two key points and what I thought:

verifyRequest() in server.js
the component <AppProvider /> in _app.js

verifyRequest()
In doc's explanation
The verifyRequest redirects users to the OAuth route if they haven’t been authenticated.

I think that is why some resources are 400 bad requests. Because they haven't been authorized.
AppProvider component
forceRedirect will redirect page to admin with shopOrigin url.

Solution
Here is my solution. I'm not sure it is best or not.
1.Remove verifyRequest()
Remove verifyRequest() in server.js
2.Conditional forceRedirect
Check the current is the public page or not. If true just return  with forceRedirect equal false.
// in _app.js file. Focus on AppProvider, ignore other

<div>
  {this.state.isClientsPages ? (
    <AppProvider forceRedirect={false}>
      <Component {...pageProps} />
    </AppProvider>
  ) : (
    <AppProvider
      shopOrigin={this.state.shopId}
      apiKey={SHOPIFY_API_KEY}
      forceRedirect={true}
    >
      <ApolloProvider client={client}>
        <Component {...pageProps} />
      </ApolloProvider>
    </AppProvider>
  )}
</div>

Thus it can't public view certain page without redirect to admin or auth.
Appreciate for any adivce~

Hi @Kcin1993, I think what you're saying is you'd like to show routes outside of the Shopify iframe, is that right? This tutorial sets you up to make an embedded app. The AppProvider, which is at the top level of the client side of this application is specifically looking for a shopOrigin, so if you're outside of the iframe it will probably cause a lot of errors. If you're looking to create an app that doesn't exist inside of the Shopify iframe you may need to consult the partner forums for tips!

I should mention that if conditionally forceRedirecting is working for your purposes, there's nothing wrong with it.

@katiedavis Thanks for your reply.
Our app is embedded app but only one path, we want it can be accessed by those who have the URL. Not only Shopify store owner but also certain customers might reach this path.
We are keeping to observe this situation. If there was some issue we will consider removing this public path from our Shopfiy App and host it to another web host.

Hey , i have just followed the above conversation and i have also the similar situation.I want to add proxy url route that i will access from store front end like https://shop_name/apps/proxy_route.
When i access this from frontend it is redirected to auth route .
Thanks

Hi @sunnyrvtech
Now we solve this situation just like the comment above.
Remove the verifyRequest() in server.js and add some condition to the <AppProvider /> component's forceRedirect props.
Hope that can help u

Hi @Kcin1993
Thanks for your quick reply.
I don't think to remove verifyRequest() is a good idea .Is there any way ,if we can add verifyRequest() with some routes and avoid this for third party route.

@sunnyrvtech
If keeping the verifyRequest() in server.js, some resource of next js can't get from the browser because they don't be auth.
It still can be rendered with plain HTML but I think that is a bad development experience.
Although I remove the verifyRequest() but I wrap an appAuthChecker component in the key admin panel page. This makes sure when the store owner operates within the admin panel, my app can get full auth with Shopify store.
In my appAuthChecker component, it will check the storeOrigin and accessToken is available from the cookie and also run the GraphQL admin API request with these data to make sure that my app can work with GraphQL admin API. If not I will ask the store owner to enter the store name again and reinstall App again.
Totally I think this situation still need the Shopify's support. For a better solution.
I'm glad you notice = )

@sunnyrvtech
Another way might be that using koa-router and adding verifyRequest() for each router of the admin panel.

Hi @Kcin1993
Any example of koa-router with verifyRequest() ...    i am not sure how to add next js route with  koa-router.

@sunnyrvtech
I haven't use koa-router way to solve this need. It just a thought and I'm still not familiar with koa-router. Thus I might not be able to help.

@sunnyrvtech  This might be work
Verify all request. Just like the tutorial
//...ignore
server.use(verifyRequest());

Verify the certain router. Use verifyRequest() in router's middleware
const Router = require("koa-router");
const router = new Router();
//...ignore

    router.get("/", verifyRequest());
    router.get("/a", verifyRequest());
    router.get("/b", verifyRequest());
    router.get("/c", verifyRequest());
    router.get("/d", verifyRequest());

    server.use(router.routes()).use(router.allowedMethods());

The a, b, c, d is the pages folder of your next.js project.

authors: Kcin1993 katiedavis sunnyrvtech

repo: Shopify/shopify-demo-app-node-react


text:
Unstable functions API DiscountApplicationStrategy message is wrong

Hi,
Shopify has released an unstable version of DiscountApplicationStrategy which has additional value ALL (Apply all discounts with conditions that are satisfied.). This works fine except the discount messages, even though the messages are different for each discount but it shows the first one.
Below is my functions output
{   "discounts": [     {       "targets": [         {           "productVariant": {             "id": "gid://shopify/ProductVariant/47076195238172"           }         }       ],       "value": {         "percentage": {           "value": "10"         }       },       "message": "10% combo discount"     },     {       "targets": [         {           "productVariant": {             "id": "gid://shopify/ProductVariant/47076194222364"           }         }       ],       "value": {         "percentage": {           "value": "5"         }       },       "message": "5% multiuser discount"     }   ],   "discountApplicationStrategy": "ALL" }
but the message on both line items is same as 10% combo discount. Can this be fixed please?

This API change is still unstable as there is work in progress. You can follow along here:
https://github.com/Shopify/function-examples/discussions/194

authors: AtulGargMT nickwesselman

repo: Shopify/shopify-function-javascript


text:
Priyansh

#194

Changes proposed

Made responsive for all devices

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

@ShwetKhatri2001


text:
better adapter creation

if possible add this adapter builder to library :
public class AdapterBuilder {
    private RendererBuilder rendererBuilder;
    private List<Object> items;
    private RendererAdapter adapter;

    private AdapterBuilder(List<Object> items) {
        this.rendererBuilder = new RendererBuilder();
        this.items = items;
    }

    public static AdapterBuilder empty() {
        return new AdapterBuilder(new ArrayList<>());
    }

    public static AdapterBuilder items(List<Object> items) {
        return new AdapterBuilder(items);
    }

    public AdapterBuilder bind(Class model, Class<? extends Renderer> item) {
        try {
            this.rendererBuilder.bind(model, item.newInstance());
        } catch (Exception ignored) {
        }
        return this;
    }

    public AdapterBuilder bind(int viewType, Class<? extends Renderer> item) {
        try {
            this.rendererBuilder.bind(viewType, item.newInstance());
        } catch (Exception ignored) {
        }
        return this;
    }

    public RendererAdapter into(RecyclerView recyclerView) {
        if(this.adapter == null) {
            this.adapter = this.adapter();
        }
        recyclerView.setAdapter(this.adapter);
        return this.adapter;
    }

    public RendererAdapter adapter() {
        return new RendererAdapter(this.rendererBuilder, this.items);
    }
}

sample :
RendererAdapter adapter = AdapterBuilder
                .empty()
                .bind(Header.class, HeaderItem.class)
                .bind(News.class, NewsItem.class)
                .into(this.list);

Nice idea! I´ll give a look as soon as i can, thanks :)

authors: DJafari Shyish

repo: Shyish/GenericRenderers


text:
Image add to Video Failed

the add image to video activity starts but results in
"Conversion Failed" error.
could you see logs and provide hint what is wrong here are the logs.
2021-07-15 11:14:23.097 7073-7073/? I/SKBD: and isTosAccept false
2021-07-15 11:14:23.120 27165-27304/com.simform.videoimageeditor I/mobile-ffmpeg: Loaded mobile-ffmpeg-full-arm64-v8a-4.4-20200725.
2021-07-15 11:14:23.123 27165-27305/com.simform.videoimageeditor D/mobile-ffmpeg: Callback thread started.
2021-07-15 11:14:23.297 7073-7073/? I/SKBD: and isTosAccept false
2021-07-15 11:14:23.432 5796-5914/? D/NetworkController.MobileSignalController(0/-2): onSignalStrengthsChanged signalStrength=SignalStrength: 3 99 -3 -200 -3 -200 -1 99 2147483647 2147483647 2147483647 2147483647 0 2147483647 3 13 -107 0x1 P gsm|lte use_rsrp_and_rssnr_for_lte_level  [-128, -118, -108, -98] [-115, -105, -95, -85] level=1
2021-07-15 11:14:23.432 5796-5914/? D/NetworkController.MobileSignalController(0/-2): getMobileIconGroup(): 0
2021-07-15 11:14:23.477 27165-27304/com.simform.videoimageeditor I/mobile-ffmpeg: ffmpeg version v4.4-dev-416 Copyright (c) 2000-2020 the FFmpeg developers
built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)
configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --extra-libs='-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec
libavutil      56. 55.100 / 56. 55.100
libavcodec     58. 96.100 / 58. 96.100
libavformat    58. 48.100 / 58. 48.100
libavdevice    58. 11.101 / 58. 11.101
libavfilter     7. 87.100 /  7. 87.100
libswscale      5.  8.100 /  5.  8.100
libswresample   3.  8.100 /  3.  8.100
Input #0, image2, from '/storage/emulated/0/DCIM/Camera/20210713_154357.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 483957 kb/s
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 4608x3456 [SAR 59:59 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/MP4_20210715_093813.mp4':
Metadata:
major_brand     : iso6
minor_version   : 1
compatible_brands: mp42iso6avc1isom
creation_time   : 2021-07-15T04:08:13.000000Z
Duration: 00:00:19.00, start: 0.000000, bitrate: 1681 kb/s
Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 480x848, 1615 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
Stream #1:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 63 kb/s (default)
Input #2, lavfi, from 'anullsrc':
Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Stream #2:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s
Codec AVOption preset (Configuration preset) specified for output file #0 (/storage/emulated/0/Android/data/com.simform.videoimageeditor/files/Output/Output1626327863.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
Stream #0:0 (mjpeg) -> scale
Stream #1:0 (h264) -> scale
Stream #1:1 (aac) -> concat:in1:a0
Stream #2:0 (pcm_u8) -> concat:in0:a0
concat:out:v0 -> Stream #0:0 (mpeg4)
concat:out:a0 -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
2021-07-15 11:14:23.477 27165-27304/com.simform.videoimageeditor I/mobile-ffmpeg: [graph 0 input from stream 0:0 @ 0x7affd0ac00] sws_param option is deprecated and ignored
[graph 0 input from stream 1:0 @ 0x7affd0ad80] sws_param option is deprecated and ignored
[swscaler @ 0x7addbf1000] deprecated pixel format used, make sure you did set range correctly
[mp4 @ 0x7af2941600] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
[mpeg4 @ 0x7af239ad00] timebase 1/1000000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
2021-07-15 11:14:23.498 7073-7073/? I/SKBD: and isTosAccept false
2021-07-15 11:14:23.579 6727-6983/? D/SDHMS:s: SIOP:: AP:309(389,90) BAT:354(354,0) CHG:385(385,0) USB:0(0,0) WIFI:303(359,50) ATC:0(0,-999)
2021-07-15 11:14:23.672 5478-12965/? D/WifiPermissionsUtil: canAccessScanResults: pkgName = com.sec.android.sdhms, uid = 1000
2021-07-15 11:14:23.698 7073-7073/? I/SKBD: and isTosAccept false

Note : Don't create a new issue please add it in same thread, It is very difficult to handle :).
Please check it in your logs
deprecated pixel format used, make sure you did set range correctly
[mp4 @ 0x7af2941600] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2

authors: Nirashu kalasaceo


text:
Fix LandingPage unit test

This fixes the LandingPage unit test on the dev branch.

Rename LandingPageView.spec.js to LandingPage.spec.js
Fixed incorrect LandingPage dependency path
Fixed incorrect test selector and contents

@nicklaw5
Nice catch! Thanks for your contribution.

repo: SimulatedGREG/electron-vue


text:
Export/Import Logins

I have implemented a way for the user to export all the logins into a JSON file. The app will also be able to read from this JSON file and add the data back into the database.
Some shortcomings: the user cannot choose the location nor the name of the export and import file. Right now, the file will be defaulted to "loginData.json." Additionally, the import will delete everything in the database before repopulating it.
P/S: I was working on this one in my fork so there's no branch with the issue name :( sorry

I have implemented a way for the user to export all the logins into a JSON file. The app will also be able to read from this JSON file and add the data back into the database.
Some shortcomings: the user cannot choose the location nor the name of the export and import file. Right now, the file will be defaulted to "loginData.json." Additionally, the import will delete everything in the database before repopulating it.
P/S: I was working on this one in my fork so there's no branch with the issue name :( sorry

I will look into it, thanks for PR

authors: KirbyNguyen SinghSaubhik

repo: SinghSaubhik/cryptokeep

license: Unlicense


text:
Archives GitBook - June 2024

https://snet-ambassadors.gitbook.io/singularitynet-archive/timeline/2024/june-2024

###Meeting summaries outstanding as of 30th June:

3rd of June 2024

[ ] Strategy Guild

4th of June 2024

[ ] Treasury Guild Operations
[ ] Governance Workgroup
[ ] Latam Ambassadors
[ ] Ambassador Townhall

5th June 2024

[ ] Dework PBL Workgroup

6th June 2024

[ ] Deep Funding Town Hall

7th June 2024

[ ] Writer Workgroup

10th June 2024

[ ] Strategy Guild

11th June 2024

[ ] Treasury Guild Operations
[ ] Governance Workgroup
[ ] Ambassador Townhall

13th June 2024

[ ] Onboarding Workgroup
[ ] African Guild Meeting
[ ] Deep Funding @SNET_Latam Brasil Town Hall #8 / DFR4 WorkShop
[ ]

authors: EseWilliams VanCardui


text:
Wilder Wild Incompatibility

Mod Name
Wilder Wild
Mod Homepage
https://modrinth.com/mod/wilder-wild
Describe the bug
Crash on start up.
Steps to reproduce
No response
Logs
https://pastebin.com/pg7rRWPw
Additional context
No response

Updated crash report.
https://mclo.gs/paljg7R

Still an issue with Forgified Fabric API 0.89.0+1.9.21+1.20.1 + Connector 1.0.0-beta.17+1.20.1: https://mclo.gs/JgmnBvg
This is my first time posting about your work, so I want to thank you for your dedication <3 I hope I can see someday WW working on Forge, it's best Fabric mod hands down

I can confirm it still is an issue with the newest version of Forgified Fabric Api + Connector + Connector Extras

This may help for a potential fix
Wilder Wild embeds the mod FrozenLib, which is actually what's incompatible.
FrozenLib's AxeItem mixin targets Optional.isPresent() in the onUse() method
In fabric, it targets here

Forge adds more Optional.isPresent() checks before that point, so the mixin target is changed to the one's added by forge. This is what causes the error.

@Su5eD check this out, its a fix! :D

Fixed in beta 21, this can be closed
using frozenlib, wilderwild, configurable everything, or simple copper pipes should no longer cause a crash

unfortunately it still causes crashes..
latest.log

you have to remove ww dependencies

unfortunately it still causes crashes.. latest.log

use 2.1.10
until ffapi updates to 0.90.4

I removed the dependency and it didn't crash, is there a problem?

I removed the dependency and it didn't crash, is there a problem?

yes, wilder wild 2.1.11 requires fapi 0.90.4 but ffapi is only at 0.90.0
use wilder wild 2.1.10

I have also just changed the fabric api version on the manifest to the one used by the forgified fabric api and it works perfectly

repo: Sinytra/Connector


text:
output: default scale to 1

This prevents us from telling application our scale is 0, when it has no
reason to be.

Thanks!

This makes a gtk window actually show up in my VT briefly but then it crashes, so let's start looking into that. 👍

I also crash with drm, yeah (with nyorain's patch also applied)
==25079==ERROR: AddressSanitizer: SEGV on unknown address 0x7f540a000086 (pc 0x7f54f514950c bp 0x7f54f534d778 sp 0x7ffc8e1c3e80 T0)
==25079==The signal is caused by a READ memory access.
#0 0x7f54f514950b  (/lib64/libwayland-server.so.0+0xc50b)
#1 0x7f54f5144553 in wl_resource_instance_of (/lib64/libwayland-server.so.0+0x7553)
#2 0x7f54f514627b in wl_shm_buffer_get (/lib64/libwayland-server.so.0+0x927b)
#3 0x7f54f53a310f in wlr_surface_flush_damage ../types/wlr_surface.c:255
#4 0x4029dc in output_frame_handle_surface ../examples/compositor/main.c:54
#5 0x402f99 in handle_output_frame ../examples/compositor/main.c:82
#6 0x4074b2 in output_frame_notify ../examples/shared.c:424
#7 0x7f54f5374126 in wl_signal_emit /usr/include/wayland-server-core.h:388
#8 0x7f54f537b8c5 in page_flip_handler ../backend/drm/drm.c:826
#9 0x7f54f321454d in drmHandleEvent (/lib64/libdrm.so.2+0xb54d)
#10 0x7f54f537ba54 in wlr_drm_event ../backend/drm/drm.c:836
#11 0x7f54f5146c51 in wl_event_loop_dispatch (/lib64/libwayland-server.so.0+0x9c51)
#12 0x7f54f5145499 in wl_display_run (/lib64/libwayland-server.so.0+0x8499)
#13 0x40808d in compositor_run ../examples/shared.c:535
#14 0x403ee0 in main ../examples/compositor/main.c:174
#15 0x7f54f4b4c4d9 in __libc_start_main (/lib64/libc.so.6+0x204d9)
#16 0x402659 in _start (/home/shared/wayland/wlroots/build/examples/compositor+0x402659)
Happy to either look at it or let you, I still haven't understood #102 so I have other things to work on :p

authors: SirCmpwn acrisci martinetd

repo: SirCmpwn/wlroots


text:
Fix style issues

Inspired by the many cleanup contributions in the last days i fixed some (often self-caused) code style issues.

(Heh, the failures are connexion timeout to pkgbuild.com... No idea how to get it to rerun but the site looks down for me as well atm)
That aside, do we want travis to run some checkpatch to catch new style issues?

That would be nice imo. Do you know a style-checking bot for c?

Not really any great fit for us - I've used checkpatch.pl (kernel's) but some rules are hard-coded for kernel style and don't fit us (e.g. they don't want optional braces like we have here, and there is no option to change that)
Some other project use astyle but I can't get it to ignore some of our quirks (like case foo: bar; break; in a single line), and it doesn't understand patch format so would need to fix everything in one go before we start using it. (it's easy to make travis complain if we have any file that changed, but not so much to tell if it was because of our patch)
I've also seen indent being used, it has a gazillion options so probably something that would match our current style.
I'm not fussy, will play with indent options for a while longer and if it's not a perfect fit I can try to hammer something into checkpatch.pl ; unless you know other alternatives?

I investigated automated style enforcement for Sway with clang-format and found it unsuitable for our needs.

Thanks!

authors: SirCmpwn martinetd nyorain


text:
Add copy to clipboard to changelog

Description / Motivation
Adds "copy link to clipboard" functionality to Changelog

Fixes #555
How Has This Been Tested?
Local and Vercel
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update (non-breaking change; modified files are limited to the /data directory or other markdown files)

Checklist:

[X] I have read the Contributing guide.
[X] My code/comments/docs fully adhere to the Code of Conduct.
[X] My change is a code change.
[ ] My change is a documentation change and there are NO other updates required.
[ ] My change has new or updated images which are stored in the /public/images folder that need to be migrated to Sitecore DAM

@markvanaalst : Just a question: I'm currently testing and the functionality seems to work, but the domain always seems to have the production domain, even on the preview pages. I would have expected it would give me a link for the current site I am on? In practice, it won't actually matter, but I figured I would ask just in case that meant something was wrong.

@markvanaalst : Just a question: I'm currently testing and the functionality seems to work, but the domain always seems to have the production domain, even on the preview pages. I would have expected it would give me a link for the current site I am on? In practice, it won't actually matter, but I figured I would ask just in case that meant something was wrong.

Good point, let me explain. The URL is constructed using the hostname which is stored as an environment variable. Since Vercel assigns random hostnames (post build) it becomes a bit tricky. I will leave this as is for now.

authors: jst-cyr markvanaalst

repo: Sitecore/developer-portal


text:
Chip 0454 Overhaul

Chip ID
0454
Description
Very flat.  Does not match art style.  Needs some shadowing and such.
Screenshots

Additional information
It's robocop's helmet.

Update:
MechBVisor should be a completely different chip altogether.  This one can be added in another ID.

Sully found the original in a Youtube video.

repo: SitekickRemastered/Art


text:
How to Use

Hi!
I can't use you're library. Can you explain step by step how to start? thank you.

No idea why I never received a notification for this. Did you ever manage to figure it out? Or did you move on to something else?

I am also trying to use this and getting the following error:
 App threw an error during load ReferenceError: regeneratorRuntime is not defined     at C:\Users\Sam\source\repos\ElectronOverlays\node_modules\ibt-telemetry\lib\telemetry.js:84:12
I am trying to build this into an electron app with the following code:
`var IbtTelemetry = require('ibt-telemetry')
IbtTelemetry.fromFile("C:\Users\Sam\Documents\iRacing\telemetry\ferrari488gte_charlotte 2018 oval 2019-12-20 19-30-13.ibt")
.then(telemtry => {
console.log(telemetry.toJSON);
})
`
Any tips, the file path definitely exists - although I may well be referencing it incorrectly.

I have never tested this library with windows. If you could supply me with a link to an ibt file, I would be happy to take a look at it

Thanks Skippy, its very likely I am doing something wrong, I am far from an expert in JS or Node. The file I was using should be downloadable from here:

Its only a very small file I was using to prove the concept, its only a few seconds worth and I think the car remains in the pit lane throughout.
Let me know if you need any further info.

Ok, so I got it working. The example branch does not work and it took some time digging into it to figure out everything again.
The reason for the ReferenceError: regeneratorRuntime error is because I am using an async generator: https://github.com/SkippyZA/ibt-telemetry/blob/master/src/telemetry.js#L61-L79 I was able to resolve this by including babel-polyfill as a dependency.
Here is a working piece of code to load up the telemetry file:
require('babel-polyfill')
const { Telemetry } = require('ibt-telemetry')

Telemetry.fromFile('./telemetry.ibt')
  .then(telemetry => {
    console.log(`Unique id: ${telemetry.uniqueId()}`)
  })

I hope this gets you started. I may rewrite this library to typescript and remove the need for the async generator, but as I am no longer an iRacing member, I don't have access to any telemetry files to experiment with.
Please feel free to submit a PR to enhance the documentation/example if you would like 👍

Thanks Skippy, I have indeed been able to get this working now.

Thanks great stuff. I published a new version which includes some additional constants that have been added.

If you could supply me with a race IBT file, I would be interested in updating this library a bit more. I have already done the majority of the conversion to typescript. Will try get a version 2 out soon with doesn’t require Babel plugins and uses callbacks or RxJS streams instead.

Yeah definitely, might not be until after Christmas but I will record one soon and get it uploaded somewhere. Thanks again for your help.

Managed to squeeze a quick race in, selection of ibt files can be found here:
https://drive.google.com/file/d/14-mR4YUCJTKzkqC5G2_mUYrT7CApCv9M/view?usp=sharing
This covers official practice, qualifying and the race itself. Any questions or anything else you need let me know.
Cheers.

authors: SkippyZA saidreklaoui sblease360

repo: SkippyZA/ibt-telemetry


text:
Github Actions

Adding workflow for testing/linting and deploying

related to #46

closes #46

authors: chrisman splybon

repo: Skookum/bamboozled


text:
make failed, help

php7.2
ubuntu18.04
I follow this step：
git clone https://github.com/SkyAPM/SkyAPM-php-sdk.git && cd SkyAPM-php-sdk &&
phpize && ./configure && make && make install
I got this error bellow:
/root/src/SkyAPM-php-sdk/skywalking.c:46:23: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
                       ^
compilation terminated.
make: *** [skywalking.lo] Error 1
Makefile:193: recipe for target 'skywalking.lo' failed

Whether the curl extension is installed

authors: heyanlong wzfjesun

repo: SkyAPM/SkyAPM-php-sdk


text:
альтернативный поиск

Можно поднять прокси, пусть плагин шлет запросы на него.
У такого подхода есть плюсы:

Нет надобности править исходники (логин и пароль не нужны).
VPN, внезапно, уже не нужен (плюс у прокси околонулевая вероятность блокировки).
Более чистый код (пусть прокси предоставляет поисковый API).

Короче говоря, поиск будет что называется "Из коробки".
Если такой подход не интересует, можно паразитировать на публичных сервисах, например в Телеграме есть поисковый бот - https://t.me/ru_tracker_bot
У этого бота есть некое подобие API
Бот «Рутрекера» может многое:
просто введите что ищете и нажмите отправить, и бот подберет наиболее подходящие и отсортирует по сидам

Для продвинутого поиска с сортировкой по различным полям, используйте команду /s, например:
/s =dl- diablo 2

по данному запросу, бот отсортирует все результаты запроса «diablo 2» по количеству скачиваний в порядке убывания

доступные методы сортировки:
se - сортировка по количеству сидов
pe - сортировка по количеству пиров
dl - сортировка по количеству скачиваний
sz - сортировка по размеру раздачи
rd - сортировка по дате регистрации

порядок сортировки указывается ключами + и -
т.е. по возрастанию и по убыванию

Результат поиска выдается в формате:
{НАЗВАНИЕ РАЗДАЧИ}
{ССЫЛКА НА РАЗДАЧУ}
S {КОЛ. СИДОВ} | L {КОЛ. ПИРОВ} | D {КОЛ. СКАЧИВАНИЙ} | Reg {ДАТА РЕЛИЗА} | Size {РАЗМЕР}
{КОМАНДА ОТОБРАЖЕНИЯ МАГНЕТ ССЫЛКИ}

Например:
[Антология] Diablo ( Diablo | Hellfire | Diablo 2 | Lord of Destruction ) [RePack] [ENG / RUS / Multi7]
http://rutracker.org/forum/viewtopic.php?t=5158086
S 281 | L 122 | D 6605 | Reg 2016-01-25 | Size 5.26 GB
/download_aQGyCacH

Для оперативной связи с нами, вы можете использовать команду /report
/report {текст}

Какой-нибудь telegram-cli (https://github.com/vysheng/tg) поможет автоматизировать отправку запросов боту.

Hi! Sorry, this may come as a surprise, but I don't speak Russian. Google Translate didn't really help me understand your message either, sooo... English please? 😄

authors: Skymirrh zk-t

repo: Skymirrh/qBittorrent-RuTracker-plugin


text:
Hide placeholder on focus

I am trying to show title text and hide placeholder on  focus of text field.
Is there any workaround on this problem?
Thanks...

Subclassing SkyFloatingLabelTextField and implementing these methods solved it for me
    override func becomeFirstResponder() -> Bool {
        if !hasText {
            placeholder = ""
        }
        setTitleVisible(true)
        return super.becomeFirstResponder()
    }

    override func resignFirstResponder() -> Bool {
        if !hasText {
            placeholder = title
        }
        setTitleVisible(hasText || hasErrorMessage)
        return super.resignFirstResponder()
    }

authors: artuc toseefkhilji

repo: Skyscanner/SkyFloatingLabelTextField


text:
Calculation of ksi_ua

The calculation of ksi_ua needs to be fixed as it is being calculated incorrectly.

Also add normalization to 1 after calculation.

repo: SlaybaughLab/BART-lite


text:
Test Issue

This issue has no purpose except testing the discord webhook from https://discord.gg/bpMy9uC

test

repo: Slaynash/VRCTools


text:
Added blacklist feature to the mod item filter

I'm not sure about the button placement in the GUI. Any ideas?
re #2936

right hand side imho, like the advanced item filter, keep it common look & feel

Those are not alternatives, those are the two different layouts of insert and extract.

authors: HenryLoenwind mindforger

repo: SleepyTrousers/EnderIO


text:
Update README.md

Some small updates

The language changes were proposed mostly by grammarly

Thank you Julia! I appreciate the suggestions - and it's also always good to spot a typo or two.
I will close this PR and manually edit the changes you've proposed in the main PR. When you commit to the branch I can only accept/decline all changes which is not always desired. In this case for example, I would like to accept some changes and decline others. This means, for another time, please add your suggestions as comments in the PR and then the author of the PR can look at your suggestions and edit the files him/herself :)

authors: Sllambias juliamachnio

repo: Sllambias/yucca


text:
Fix broken link to pdf

Maybe you'd want the link to point directly to the pdf file, which would be https://raw.githubusercontent.com/Slookeur/Atomes-doc/main/atomes-manual.pdf
(nothing to do with this commit, on the Atomes site, in Downloads -> Sources, there's a small typo, "Gtihub" instead of "Github")

Thanks again ;-)

authors: Slookeur alxpl

repo: Slookeur/Atomes-doc


text:
Nothing happens

url: https://mysite.ru/index.php?janrain_nonce=2016-06-29T00%3A59%3A20ZBb12Qx&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=error&openid.error=realm+and+return_to+do+not+match
Please tell me what is wrong?

openid.error=realm+and+return_to+do+not+match

And what to do?

I'm having the same problem. I'm currently using this on a local server with XAMPP and when I press the login button, and sign in through steam, it doesn't log me in. It still shows the login button rather than the logout button. I tried this with both the example.php and demo.php available here and they both did the same

what is the url when you click the login button?
https://steamcommunity.com/openid/login?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=checkid_setup&openid.return_to=http%3A%2F%2Fcsgo.redsparr0w.com%2Fhome%3Flogin&openid.realm=http%3A%2F%2Fcsgo.redsparr0w.com&openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select

https://steamcommunity.com/openid/login?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=checkid_setup&openid.return_to=http%3A%2F%2Flocalhost%2F%3Flogin&openid.realm=http%3A%2F%2Flocalhost&openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select

are you getting the same error as above
https://mysite.ru/index.php?janrain_nonce=2016-06-29T00%3A59%3A20ZBb12Qx&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=error& openid.error=realm+and+return_to+do+not+match or a different error?
because your realm and return to seem to match in the steam url

I don't get any error.

what url is shown once you are redirected back to your site from steam?

None. It would just be "localhost"

Are cookies enabled?
If you refresh the page after logging in does it work?

Refreshing the page after login doesn't change anything

Hello so im having not relly an issue but its sure anoying when i press sign in on the steam site from the button on my page it just stays there the only way of me actually getting back on the page logged in is pressing back which i dont wanna do myself i want it to do that automaticly


text:
Add onGherkinDocumentChange prop

We (Gherkin editor team) currently parse the gherkin document in our own code. That means for every keystroke in the document, two passes of the parser happen (one in gherkin editor, one in react-gherkin-editor). We'd like to rely on react-gherkin-editor to do the work, hence the request for a new prop looking like this:
onGherkinDocumentChange={(errors: GherkinParserError[], doc: GherkinDocument) => { /* ... */ }}

Jira issue [BDD-4]

Jira issue [BDD-4]

The property is available since https://github.com/SmartBear/react-gherkin-editor/commit/b8472cf486b0420a6a58b3f4d45808a57d4f2018
The property is named onParse (and not onGherkindocumentChange) and send back messages.

The property is available since https://github.com/SmartBear/react-gherkin-editor/commit/b8472cf486b0420a6a58b3f4d45808a57d4f2018
The property is named onParse (and not onGherkindocumentChange) and send back messages.

authors: cbohiptest jbpros

repo: SmartBear/react-gherkin-editor


text:
disconnect metamask wallet option

how can a user disconnect metamask wallet their is no option..
and secondly in tabular view connect wallet option is not visible at frontend..
i can improve these issues kindly grant me the permission.

Go ahead
I have assigned it to you

sure! i can do it @Mayank2808sharma .

One doubt @Mayank2808sharma, are these issues included under GSSoC'24? Because then there should be label for GSSoC'24. If so, can you please assign it appropriate labels so that my contribution counts. Looking forward to your response.

hey i am also want to work on this please assign it to me also

@vasusaini701
I change the label accordingly
Dont worry

repo: SmartGrid-ETHIndia/Smart-grid


text:
New Invoice Type: Splitter Escrow (Smart Contract and Testing)

This PR includes the new invoice type to be used by Raid Guild for client work based on the scope from the Smart Escrow RIP. A few things that should be noted:

The encoded _data param includes two new variables that are decoded in the _handleData function. The first is dao which is the address of the dao treasury that will receive any spoils. The amount of spoils is determined by the second new variable, daoFee. This is the same as split factor in the wrapped smart invoice contract. It is a uint256 variable and the basis points (out of 10000) for the % of spoils the DAO collects.
On release, the tokens are automatically split based on the daoFee and transfers the split amounts to the provider and dao addresses. This removes the additional step required by wrapped smart invoice to disperse the splits.
Milestone releases no longer need to be in sequential order. If a client wants to release a specific milestone without releasing others indexed earlier, they can now. milestoneReleased is a mapping that indicates whether a milestone has been released or not, so then clients can release in any arbitrary order. This is helpful if milestones are based on particular roles (like dev, design, etc.) rather than timeline.
- release() determines milestone to be released by first index marked false in milestoneReleased.
- release(uint256 _milestone) releases only releases that milestone and no others.
- release(uint256[] _milestones) can release multiple milestones at once. This functions similar to how release(uint256 _milestone) used to but with more control of which milestones.

I will comb through the contract for clean up and audit before merging. The ABI of the main functions, however, should be ready to use for frontend integration.

Alright, I updated the contract based on some of your suggestions (both of you). The major ones are the following:

I removed the arbitrary milestones and have it in a separate branch.
It now inherits SmartInvoiceEscrow directly. You'll notice updates on SmartInvoiceEscrow too which are just adding virtual to some functions in order to override them in SmartInvoiceSplitEscrow.
Refactored the split transfers into its own internal function

A minor change I also made was reordering the require statements in _handleData function. Since the _resolutionRate is always set to a non-zero value regardless, seemed unnecessary to require a check for it.

I did some more refactoring so now the SmartInvoiceSplitEscrow only overrides two functions, _handleData and _transferPayment. Much simpler and cleaner from before. Credit to @plor for the suggestion.

Just checking that you were able to address all of @spengrah 's comments?

Just checking that you were able to address all of @spengrah 's comments?

All except one about using the _details arg vs details state variable for one of the arbitration functions: https://github.com/SmartInvoiceXYZ/smart-invoice/pull/125#discussion_r1225958880.

authors: geovgy plor

repo: SmartInvoiceXYZ/smart-invoice


text:
Use named vid instead of uuid for Aqara Smart Natural Gas Detector & Aqara Smart Smoke Detector

Fix PLM P240401-05248

@greens Pls review, thanks.


text:
rollback lunchbox of aqara fp2

Check all that apply
Type of Change

[ ] WWST Certification Request

If this is your first time contributing code:

[ ] I have reviewed the README.md file
[ ] I have reviewed the CODE_OF_CONDUCT.md file
[ ] I have signed the CLA

[ ] I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com

[x] Bug fix
[ ] New feature
[ ] Refactor

Checklist

[x] I have performed a self-review of my code
[ ] I have commented my code in hard-to-understand areas
[x] I have verified my changes by testing with a device or have communicated a plan for testing
[ ] I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior

Description of Change
Summary of Completed Tests

We should test it in beta first or even better in the original PR:
https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/pull/1546

Hello @hdlee27 If I am not mistaken, I believe we can close this PR. Is that ok?

I apologize for the late response. this PR is no longer needed, thanks to your quick response. I really appreciate it.

authors: hdlee27 ldeora lelandblue


text:
🛑 MPC Homepage is down

In 8a5641c, MPC Homepage (https://www.minorplanetcenter.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MPC Homepage is back up in b06454a after .

repo: Smithsonian/upptime


text:
🛑 MPC Homepage is down

In e4c97ff, MPC Homepage (https://www.minorplanetcenter.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MPC Homepage is back up in 9bbfc2b after 4 minutes.


text:
Output is not matching

Outputs shown in readme is not matching after running the test.py present in example folder.
Also results shown in readme is not correct as per web link e.g.
"starring": [
"Lottie Matthews",
"Vanessa Palmer",
"Misty Quigley",
"Shauna Sadecki",
"Natalie Scatorccio",
"Taissa Turner"
]
Above are wrong, sorry if I am being brutal.

Outputs shown in readme is not matching after running the test.py present in example folder.
Also results shown in readme is not correct as per web link e.g.
"starring": [
"Lottie Matthews",
"Vanessa Palmer",
"Misty Quigley",
"Shauna Sadecki",
"Natalie Scatorccio",
"Taissa Turner"
]
Above are wrong, sorry if I am being brutal.

Thanks, I am aware. This project is experimental, Large language models hallucinate a lot. Only use this for well structured pages.

authors: Smyja aiplaybookin

repo: Smyja/blackmaria