text:
Custom property pane is throwing error message all the sudden

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

The property panel with custom field is throwing an error message all the sudden and cannot be opened. This has been working for ages until today it doesn't work. Has there been any changes on how to implement custom property panel? How do I specify the "Custom field key" ?
sp-classic-page-assembly_en-us_7096014….js:355 Error: ***The value for "Custom field key" must not be undefined     at Function.e.isNotNullOrUndefined (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/sp-classic-page-assembly_en-us_70960144ad4f9879b104e4312ea59a4e.js:206:1058)     at Function.e.isNonemptyString (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/sp-classic-page-assembly_en-us_70960144ad4f9879b104e4312ea59a4e.js:206:1163)     at t._renderGroupField (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/0.sp-webpart-base-propertypane_70f54fa0e637aa95b553.js:1:28447)     at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/0.sp-webpart-base-propertypane_70f54fa0e637aa95b553.js:1:28259     at Array.map (native)     at t._renderGroupContent (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/0.sp-webpart-base-propertypane_70f54fa0e637aa95b553.js:1:28234)     at t.render (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/0.sp-webpart-base-propertypane_70f54fa0e637aa95b553.js:1:26942)     at p._renderValidatedComponentWithoutOwnerOrContext (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/sp-classic-page-assembly_en-us_70960144ad4f9879b104e4312ea59a4e.js:371:50265)     at p._renderValidatedComponent (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/sp-classic-page-assembly_en-us_70960144ad4f9879b104e4312ea59a4e.js:371:50392)     at performInitialMount (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-06-16.013/sp-classic-page-assembly_en-us_70960144ad4f9879b104e4312ea59a4e.js:371:46233)

The assumption was that you would pass in a key in the underlying call.  If undefined was passed in, it could cause errors and odd behaviour.  We now make sure that a key is passed in.  Can you update your code to ensure the key isn't undefined?

@jonathanhotono,
Thanks for raising the concern.
The reason you are seeing this is when you create a custom field you have to provide a unique key to it. This property is there for some time now and it was always a required field. The recent change we made in this regard is that we are now validating it to have a non-empty value. The reason we had to validate is that it introduces an issue while rendering the custom fields on the property pane. If you are passing an undefined or null or empty value for the key prop then you will see this error.

/**
A UNIQUE key indicates the identity of this control.
The PropertyPane uses ReactJS to render its components. ReactJS uses keys to identify a component and if it should be re-rendered or not. This is a performance feature in ReactJS. Please read the following link to understand how to pick the value of the key.
@see https://facebook.github.io/react/docs/lists-and-keys.html#keys
*/
key: string;

So, the resolution for this would be that you have to pass in a non-empty value for that prop.
Please let me know if you need any more guidance in this regard.
Thanks for understanding,
Srikanth

@srideshpande @patmill thanks, the custom property panel now works on workbench after I added the key property, however when I bundled and packaged the solution then deployed it to the tenant there is an issue where it doesn't save the property (disabled the reactive mode) any longer however it still saves in workbench.

authors: jonathanhotono patmill srideshpande

repo: SharePoint/sp-dev-docs


text:
Yeoman Sharepoint generator always creates Preview project

Category

[ ] Issue :  After installing latest Yo @microsoft generator when i try to create a project, even if i select the type of client side component as Webpart, the next option appears as Which type of Client side extension to create.

Steps to Reproduce
Please refer to the screenshot for the issue. I am selecting the component type as Webpart, the next option presented is with the component type as Extension.

The sharepoint generator version i have is 1.2.0
Please help!
Also, i need instructions to remove and uninstall the yeoman Sharepoint generator from my system to do clean install. I tried to execute npm -uninstall -g generator @microsoft/sharepoint@1.2.0 nothing happens.

Hi @kspranesh,
we can't seem to reproduce the issue with the given information, so would double check following things.
Ensure that you have uninstalled old package and reinstalled new version
Uninstall old version by executing npm uninstall --global @microsoft/generator-sharepoint, which will clean up any old version of the generator. You can then double check all the installed packages globally by using npm list -g --depth=0 to confirm that uninstallation has been completed.
After this you can then simply install the latest package by executing npm install -g @microsoft/generator-sharepoint.
Version details
if this does not resolve your issue, we would need additional details to get your issue resolved, which would be following:

What OS you're using?
What's your Node version?
What's your npm version?

This way we can potentially reproduce the issue, which is a prerequisite to get it resolved based on facts.
Thanks for the additional details advance.

Hi @VesaJuvonen
Many thanks for looking into my request. I followed the steps you mentioned to ensure i have removed and re-installed latest version of sharepoint generator and verified that issue still persists. Please find attached are few screenshots from my testing. I am executing this on Windows 10 OS.

Kindly let me know if you need any further details.
Regards,
Pranesh

I'm seeing the same issue here.

Can't reproduce with Win 10 so we would need more details around the setup what you're using.
What's your Node version? - node -v
What's your npm version? - npm -v
This helps on doing a repro for the issue.

Hmm... I'm running exactly the same versions locally on my machine without any issues, tested with different console UIs as well. Let me test this with clean Win10 in Azure for trying to do repro.

Hi,
It worked for me 2 days back and when yesterday i tried to add new webpart to the same project i started seeing this issue. Later on i created an entirely new project to verify and this issue occurred even there.
Regards,
Pranesh

From: Vesa Juvonen notifications@github.com
Sent: Wednesday, August 30, 2017 5:41 PM
To: SharePoint/sp-dev-docs
Cc: kspranesh; Mention
Subject: Re: [SharePoint/sp-dev-docs] Yeoman Sharepoint generator always creates Preview project (#816)
Hmm... I'm running exactly the same versions locally on my machine without any issues, tested with different console UIs as well. Let me test this with clean Win10 in Azure for trying to do repro.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/SharePoint/sp-dev-docs/issues/816#issuecomment-326065767, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMQKeOhbapZwRXiAOyi5W4wDIQ97uVz4ks5sdZ7SgaJpZM4PGyp7.

@VesaJuvonen , what is the best way to recognize if RC0 is used or an earlier version? Is the RC0 version still marked with all the Preview warnings?

You can see this from the package.json of the outcome projects after the template is executed, but unless mistaken, in this case, you can't even execute the flow for some reason. This is a tough one since we can't reproduce it on a clean computer with matching version numbers.

Hi, I uninstalled everything including npm and re-installed everything from scratch and it seems to have resolved the issue. Thanks for your attention in this regard.

source: gharchive/issue

authors: Pieter-Veenstra VesaJuvonen kspranesh

license_type: permissive

license_source: github-api


text:
SPFx webpart not loading on iOS device

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
[X] 💥 Safari
[X] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version - 1.13.0
Node.js version- -1 4.15.0

Other packages used for implementing Dependency Injection in SPFx project
Inversify - 5.1.1
reflect-metadata - 0.1.13
Issue description
Issue is occurring only for iOS devices and it seems to be occurring because of inversify and reflect-metadata package. Not sure though.

Error while using public cdn:

Error after changing includeClientSideAssets: false and given site library path in cdnBasePath

Usage of packages in Service.ts file:

Webpart is loading fine in Desktop and Android device. Issue seems to be with Safari browser only.

@pk-1990 - could you please try to deploy your solution on another tenant from scratch and see if the error is still there.
Also, could you share the solution with me? You can send it to aterentiev@microsoft.com

What version of @pnp/sp are you using? If you're using 3.0.0 through 3.4.0 there was a bug in all of those versions that wouldn't allow web parts to load in Safari because the library was using regex that Safari didn't support. I reported this bug and they fixed it in 3.4.1 https://github.com/pnp/pnpjs/blob/version-3/CHANGELOG.md


text:
Staging

Q
A

content fix?
yes

New article?
no

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.

thx Laura, appreciated.

source: gharchive/pull-request

authors: Lauragra VesaJuvonen


text:
Replaced the Angular ToDo sample

Q
A

Bug fix?
no

New feature?
no

New sample?
no

Related issues?
n/a

What's in this Pull Request?
Replaced the Angular ToDo sample. The latest version of the sample doesn't use ngOfficeUIFabric which collides with Office UI Fabric used by the SharePoint Framework. Instead all CSS styles are embedded in the web part.

I do not understand this code, can you please explain it,

As I read it it does sequentially:

Create Promise
Find todo by ID
2A. delete item
2A. resolve Promise
or
2B. reject Promise
return Promise

If it is meant to be an Angular example, the above code is totally different from  the Angular documentation:
// perform some asynchronous operation, resolve or reject the promise when appropriate.
  return $q(function(resolve, reject) {

  });
}

What does SPFx do with Promises that we have to use this pattern?

It's just a different way of working with Angular promises. In this particular example, using promises is not necessary, as the web part uses a static data set, but in case you would replace the static data with data from SharePoint you could easily replace the piece of code responsible for retrieving the data and reuse everything else.

So with SPFx one does not need the Angular notation ?
  return $q(function(resolve, reject) {

  });

You can use $q in two ways: either using the promise-like convention you mentioned or using deferred like I did. SPFx doesn't infer any limits in this case.
For more information see https://docs.angularjs.org/api/ng/service/$q which shows both conventions.

Cool!
So this functions returns the Promise at the start of execution?
Never imagined Promises could work that way
But why is the return deferred.promise; at the end of the Function then?

When working with $q the same way you work with promises, all of the code is wrapped in the promise. When working with deferred, that's not the case, so if you would return the promise from deferred immediately, none of the code would be executed. This is why returning the promise is the last line of code in the function.

So the resolve or reject execute before the promise is returned?
Danny Engelman http://www.engelman.nl/
danny@engelman.nl
http://www.LinkedIN.com/in/dannyengelman
► 365Cooperatie.nl
► bikeswap.org - borrow a motorcycle, loan a motorcyle
Learn from the past
Live in the present
Believe in the future
2017-03-12 14:08 GMT+01:00 Waldek Mastykarz notifications@github.com:

When working with $q the same way you work with promises, all of the code
is wrapped in the promise. When working with deferred, that's not the case,
so if you would return the promise from deferred immediately, none of the
code would be executed. This is why returning the promise is the last line
of code in the function.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-fx-webparts/pull/152#issuecomment-285943531,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADOduYyf_xDadeorat6F0PiVrcql5Qp_ks5rk-5KgaJpZM4MZk0o
.

If you reject or resolve a deferred object before returning its promise, then the promise will be returned finished already and the code following the promise will execute immediately. If you return the promise before resolving/rejecting it, then the code following the promise will wait until the promise is resolved/rejected.

I get it now!!... its kinda like Promises inside Promises
If the example confuses me.. I must be stupid
I would do it something like this pseudo code.
    public deleteTodo(todo: ITodo, matchingKey: String = 'id'): ng.IPromise<{}> {
        return $q((resolve, reject) => {
            const lengthBeforeDelete = this.items.length;
            this.items = this.items.filter((item:ITodo) => {
                return item[matchingKey] !== todo[matchingKey];
            });
            this.items.length < lengthBeforeDelete ? resolve() : reject();
        });
    }
```

No, I still don't get your code...
you return the deferred (which is already resolved) at the end of your function
I can't get it how this can work as Promise.. where the Promise is returned first and the resolve executes later.
The Angular page you refer to uses setTimeout

As I mentioned before: in this particular example using promises has no point since the returned data is already available and the promise is resolved before it's returned. If you would however want to retrieve the data from SharePoint or another API, then you would first return the promise and resolve it later, like: https://github.com/waldekmastykarz/demo-sharepoint-todo-angular/blob/db9bdcea16051f061e16cbe7b935a2b74c618e04/app/data.service.js#L15-L43

Now we are there... "Then you would First return the Promise"
So the current code is, in your words, an example,
and uses the wrong pattern to do Promises.. since then the code needs to
return the Promise first..
Certainly one of the more intriguing examples I have seen in a long time...

I'm afraid you drew a wrong conclusion. Imagine the following scenario: you have an Angular service that retrieves data from an API and caches it for subsequent requests. The first time the promise is returned and is being resolved with a delay after the data from the remote API has been retrieved. The second time around, when the data is already available in the cache, the returned promise would already be resolved without any delay.

So how does that apply to your function:
The only line it returns a Promiseis 89
That means 73 - 87 always execute prior to the Promise being returned.
It is a sync function,
the only way to turn this into a Promise is to wrap it in a return $q
that means your ng Promise example code is missing a (rather vital) statement

As you've noticed yourself: the last line does return a promise. Even if you would wrap the whole code block in $q the result would be the same: a promise.
Promises can be returned from sync functions. The case of a service caching data, that I mentioned previously, is a perfect example of working with promises both in sync and async flows. To methods using the service it doesn't matter if the flow inside the method they are calling is sync or async. In either case they receive a promise and continue once it's resolved. When the flow is async, the promise is resolved after a slight delay. In a sync flow the promise is resolved immediately.

authors: Danny-Engelman waldekmastykarz

repo: SharePoint/sp-dev-fx-webparts

license: mit

license_source: bigquery


text:
分割线选择器的字体颜色和分割线以外的字体颜色设置？

能否改动分割线选择器内的字体颜色和分割线以外的字体颜色，为两种颜色，视觉效果上看起来一目了然，便以区分

Added at v2.4.3.
numberPicker.setSelectedTextColor(ContextCompat.getColor(this, R.color.colorPrimary));
numberPicker.setSelectedTextColorResource(R.color.colorPrimary);

or
app:np_selectedTextColor="@color/colorPrimary"

license: MIT


text:
Change height/width

Hello!
Is there any chance to set number of currently visible rows except selected one?
Or is there any chance to hide all other rows except selected?
if I set
app:np_wheelItemCount="1"
when try to scroll the app crashes with IndexOutOfBounds exception
java.lang.ArrayIndexOutOfBoundsException: length=1; index=-1
at com.shawnlin.numberpicker.NumberPicker.incrementSelectorIndices(NumberPicker.java:1695)
WBR
Vadim

I have the same issue.
Also, the control uses the space above and below as if would have more items to show.

Hi @vados60,
Have you tried setting the text color to transparent?
numberPicker.setTextColorResource(android.R.color.transparent);
or
 app:np_textColor="@android:color/transparent"
And no need to set the wheel item count to 1.

I met the same issue, and I think it is a bug.
I have checked the code. When app:np_wheelItemCount is set as 1, the size of selectorIndices will be 0, then the IndexOutOfBound will happen in line 1775.

I met the same issue, and I think it is a bug.
I have checked the code. When app:np_wheelItemCount is set as 1, the size of selectorIndices will be 0(line 2113), then the IndexOutOfBound will happen in line 1775.

I also have the same bug. A temporary kludge proposed by @ShawnLin013 works.

Supported at v2.4.6

authors: ShawnLin013 duetdroid scastro sdugaoxiang soshial vados60


text:
update illuminate packages requirements?

"graham-campbell/markdown": "~3.0@dev" currently locks illuminate packages at ~5.0. However, Laravel has moved on to version ~5.1, which automatically pulled in illuminate packages at version ~5.1. This resulted in the following error when people run composer update:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - graham-campbell/markdown 3.0.x-dev requires illuminate/view 5.0.* -> satisfiable by illuminate/view[5.0.x-dev].
    - graham-campbell/markdown 3.0.x-dev requires illuminate/view 5.0.* -> satisfiable by illuminate/view[5.0.x-dev].
    - don't install illuminate/view 5.0.x-dev|don't install laravel/framework 5.1.x-dev
    - Installation request for laravel/framework 5.1.*@dev -> satisfiable by laravel/framework[5.1.x-dev].
    - Installation request for graham-campbell/markdown ~3.0@dev -> satisfiable by graham-campbell/markdown[3.0.x-dev].

Is it possible to also update the package requirement to ~5.x?

I have no idea what you're talking about. :/

repo: ShawnMcCool/laravel-auto-presenter


text:
Set stage size to page size

Ref: https://discord.com/channels/775792479844696084/775792479844696087/883984846144278548

[00:53] OrangeLeaf36: htmlifier - stretch resolution
[00:54] OrangeLeaf36: this when?
[00:55] OrangeLeaf36:
[00:55] OrangeLeaf36:
[00:59] Utter Donkey: It already exists
[01:00] OrangeLeaf36: it stretches the stage
[01:00] OrangeLeaf36: not the resolution

[09:52] Sean: That's what I assumed stretching would mean
[09:53] Sean: Also 480 by 360 is quite tiny (it would show up as this portion of the screen)
[09:54] Sean: and since the stage size can't be changed after loading, the page would have to reload when the user resized the page
[10:04] SURVIV CRΞATOR: thats fine
[10:05] SURVIV CRΞATOR: is it possible tho
[10:05] SURVIV CRΞATOR: for dynamic stage size
[10:09] Sean: possibly

Reload the page when the page is resized since the stage size can't be changed after loading

Ref: https://discord.com/channels/775792479844696084/775792479844696087/884268297527386163

repo: SheepTester/htmlifier


text:
How Can I Lock Cells in the excel

Hi,
I need to lock cell first row and first column of the excel.  Can I achieve this. Is there any way to lock the cell.

Any upadte on this issue?

any update on this issue?

ping

Has it been any update?

Any update on this?

did u know it ?

I need this feature, is it added yet?

Cell protection and other styling are part of our Pro builds

authors: CodeMorrow SheetJSDev anil-talla daggett206 ebra100 jalleng nakshay tanakorn-mint tanvi-inttra

repo: SheetJS/sheetjs


text:
GP-LVM

I've started reading on how to use GPs for dimensionality reduction. In the example notebook:
http://nbviewer.jupyter.org/github/SheffieldML/notebook/blob/master/GPy/MagnificationFactor.ipynb

the variables represented on the lower dimensional space are m_gplvm.X
I'm wondering when new data becomes available, say Y_new, how would I find it's representation using the same transformation that produced m_gplvm.X. (for normal PCA, one use model.fit, followed by model.transform).

You can use the function: m_gplvm.infer_newX(Y_new). It is a
gradient-based optimization. The return values are a tuple: the first
entry is the inferred X_new and the second entry is the model created
for this inference.
Zhenwen
On 28/05/2016 05:38, IrishBeast1 wrote:

I've started reading on how to use GPs for dimensionality reduction.
In the example notebook:
|http://nbviewer.jupyter.org/github/SheffieldML/notebook/blob/master/GPy/MagnificationFactor.ipynb
`m_gplvm.X` I'm wondering when new data becomes available, say
`Y_new`, how would I find it's representation using the same
transformation that produced `m_gplvm.X`. (for normal PCA, one use
model.fit, followed by model.transform). |

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/SheffieldML/GPy/issues/395>, or mute the thread
<https://github.com/notifications/unsubscribe/AFwBWrirCkA7Fl6CEdsiAbHUqtBnq6z_ks5qF8a2gaJpZM4Io_jp>.

repo: SheffieldML/GPy


text:
Switch to poetry

The issues regarding dependency restrictions and pep-related updates are stacking so I decided it may be time to continue with this act of modernization.

Hi @lawrennd ,
I have prepared this PR to migrate to python-poetry, which would allow for a better dependency tracking and communication (considering the increasing number of issues related to numpy and maptlotlib compatibility).
However, it seems like the combination of Apple + M-Series chip still fails (CI tests). Unfortunately, debugging on CI runners is tedious. I've gotten access to an old macbook with intel chip and I cannot reproduce the issue there so it most likely is related to apples new M-series chips.
For me, there are three options and I would like to get your opinion on them:

Drop macos support for now. This is not a nice thing to do for end-users, though I would suspect that academic and industrial users might be able to live with it.
Find some cloud service that provides apple silicon runners, like hello-m1 or wait until a friend borrows me a mac.
Stick with setup.py for now.


text:
Shifu Eval Step Scalability Improvement

In shifu 0.2.3, data are loaded in heap and then sort and then compute eval metrix.
Should be sorted in pig and computed one by one, not loading data into heap. Better to decrease iterate times.

Done in 0.2.4 release

repo: ShifuML/shifu


text:
Could you pls provide the results of ChartOCR?

Thank you for your contribution. Could you pls provide the results of ChartOCR that as a argment for KP evaluation.
https://github.com/Shiva-sankaran/LineEX/blob/173343ceb92e7352427a4d937ee872b920a8d76f/modules/KP_detection/eval.py#L66

Please find the temporary download link here: https://drive.google.com/file/d/1Hhx4LH0vI1sHFerSkHNbR9lh4aq7FPAy/view?usp=share_link

thank you

@Shiva-sankaran I notice that you seem to clean the ChartOCR dataset, could you provide the clean script?
ANNO_FILE = "/home/vp.shivasan/data/data/ChartOCR_lines/line/annotations_cleaned/clean_instancesLine(1023)_test2019.json"

Hi @xuewenyuan ,
I am sorry, I don't think I will be able to provide with the requested files. Majority of the our ChartOCR implementation including the cleaning script and most of the files have been erased as we are graduating. You might still be able to replicate the results from their pipeline (https://github.com/soap117/DeepRule).

Closed, please refer to the original ChartOCR github repository to get predictions results.

authors: Shiva-sankaran xuewenyuan

repo: Shiva-sankaran/LineEX


text:
MSSQL testing

Checked on OBDC 11 - MS SQLServer 12

[x] Questions update
[x] Groups update
[x] Answers update
[x] Labels update
[x] DefaultValues update

Hav 4 default values, but only one default l10ns.
I check the BD (i think it's not an issue since i don't think there are multilingual DB, and DB have other issue).

Redone with last version : 3 default values with invalid qid deleted

repo: Shnoulle/Test-LS-checkDbForUpgrade

license: WTFPL


text:
iOS issue after upgrading Xcode 13.2.1

Current behavior
/Users/mycom/Library/Developer/Xcode/DerivedData/limelite-fmzrscpebfdblueckvpunppvzdku/Build/Intermediates.noindex/PrecompiledHeaders/Compressor-Bridging-Header-xsfx0gcl0s08.dia:1:1: warning: Could not read serialized diagnostics file: error("Failed to open diagnostics file") (in target 'Compressor' from project 'Compressor')
Command PrecompileSwiftBridgingHeader failed with a nonzero exit code
Platform

[X] iOS

React Native Version
0.63.3
React Native Compressor Version
1.4.0
Reproducible Steps And Demo

@nomi9995 Could you check the errors above? I added node_modules/react-native-compressor/ios/Compress.xcodeproj to library and added libCompressor.a to Link biary with libraries.

@martsneld can you try to bridge the header by

and try again?

@nomi9995 I tried it several times. I created a blank .swift file and created a bridge. Then I dragged Compressor-Bridging-Header.h to Object-C Bridging Header.

@martsneld can you make a repro in the new GitHub repo and attach the link here so I can reproduce it on my side ad fix it. it is not reproducing on my side. I am testing the example folder in this package

@martsneld any update?

@nomi9995 Sorry for late response. no updates. I disabled this library for now. I will let you know if I have more questions when resuming this package.

repo: Shobbak/react-native-compressor


text:
ActiveShipping::ResponseError: ERROR - 3907: Invalid Customs Value

I'm getting the following error when I try to create a Fedex shipment in test mode.
I sent all the information but din't get to know what is this customs value and where to add it.

Hey there.
I encourage you to dig into the FedEx docs, and to look at the payload of the request/response going between your environment and the FedEx servers.

authors: Nitin-Salunke kmcphillips


text:
Alt text for Video component

The Video object in the SF API includes alt ("A word or phrase to share the nature or contents of a media.") for accessibility.
While HTML's native img tag has an alt attribute for accessibility purposes, there's nothing like that for the video tag (see MDN docs). We should figure out what the best way to communicate the alt text is within our Video component, as we want to make sure we provide the best a11y as possible out-of-the-box.
Here's a potentially good starting point: https://stackoverflow.com/questions/32129240/html5-video-element-alternative-text

Closing this issue for now — noting that in the Demo Store reference code we'll be sure to pull Scott and team in to review accessibility and ensure we're providing reference for best practices.

authors: benjaminsehl cathryngriffiths

repo: Shopify/hydrogen


text:
Adjust HiTrust "depositflag" to avoid charges to merchants.

Problem
It appears as though HiTrust automatically receives payment initiation orders from Shopify which results in "fund transfer request" to Hi-trust.
In this particular case, the merchants receiving bank charges a high transaction fee (35.00 USD) for every transaction that results from the "funds transfer request".
HiTRUST Tech Support told the Merchant:
Shopify will supply transaction information to HiTRUST,
and information in deliver by a form format.

In the form, there is a parameter which name is “depositflag”, and its value is “1”.

This parameter is relating to billing request.

If it is “1”, HiTRUST will help to send billing request to the Acquirer automatically.

If it is “0”, We will need to send billing request manually via HiTRUST’s online platform.

There was a concern that if we adjust to the depositflag to '0' orders would not be authorized, however HiTrust emailed back saying:
The depositflag = 0 or 1 will not influence results of authorization process.

This parameter is for HiTRUST’s system to recognize that our system need to send the capture request automatically or wait for the capture request from merchant end manually.

Are we able to accommodate this request and adjust the depositflag to '0'
GitHub - https://github.com/Shopify/offsite_payments/blob/master/lib/offsite_payments/integrations/hi_trust.rb#L34
@shopify/payments

Moving over to Shopify/Shopify


text:
Canvas height overflows?

Description
Hi there,
I've got an issue where a full-height canvas overflows and I'm not sure if there's a way I could control it from the outside. You can see a minimal repro in the Snack in Demo.js
Version
0.1.172
Steps to reproduce
(see Snack link below)
Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/@watware/canvas-height-issue

Yaiks that was too easy, haha. Thank you!
Unfortunately it did not work in my real-life case, where it still overflows but I'm failing to create a repro for this. Also I noticed that it works fine without a fixed height container for me as well, since the canvas seems to be maintaining a 1/2 aspect ratio which works for my case.
Thanks again!

repo: Shopify/react-native-skia


text:
Expected directory '~/makeGIF/node_modules/react-native/android' to contain exactly one file, however, it contains more than one file.

Hi, When building my project, I encountered this issue:

Seems the issue is from  node_modules/@shopify/react-native-skia/android/build.gradle
 def rnAAR = fileTree("${nodeModules}/react-native/android").matching({ it.include "**/**/*.aar" }).singleFile
 extractJNI(files(rnAAR))

This is the node_modules/react-native fold:

react-native version: 0.69.0
How to fix it?

By looking at the error, this seems to be a duplicate of #627. Closing it so we can track everything into a single issue. Please feel free to re-open if you think this is something else.

I too am having this issue on RN 71.14

authors: doublelam nica0012 wcandillon


text:
Ruby LSP crashes on startup

Description
Ruby LSP Information
VS Code Version
1.95.1
Ruby LSP Extension Version
0.8.12
Ruby LSP Server Version
0.17.16
Ruby LSP Addons

Ruby LSP Rails

Ruby Version
3.2.4
Ruby Version Manager
rbenv
Installed Extensions

Click to expand

copilot (1.243.0)
copilot-chat (0.22.1)
elixir-ls (0.24.2)
gitlens (15.6.2)
go (0.42.1)
makefile-tools (0.11.13)
prettier-sql-vscode (1.6.0)
rainbow-csv (3.12.0)
ruby-extensions-pack (0.1.12)
ruby-lsp (0.8.12)
sorbet-vscode-extension (0.3.37)
terraform (2.33.0)
vscode-fileutils (3.10.3)
vscode-graphql (0.12.1)
vscode-json-validate (1.5.0)
vscode-yaml (1.15.0)

Ruby LSP Settings

Click to expand
Workspace
{}

User
{
  "enableExperimentalFeatures": false,
  "enabledFeatures": {
    "codeActions": true,
    "diagnostics": true,
    "documentHighlights": true,
    "documentLink": true,
    "documentSymbols": true,
    "foldingRanges": true,
    "formatting": true,
    "hover": true,
    "inlayHint": true,
    "onTypeFormatting": true,
    "selectionRanges": true,
    "semanticHighlighting": true,
    "completion": true,
    "codeLens": true,
    "definition": true,
    "workspaceSymbol": true,
    "signatureHelp": true,
    "typeHierarchy": true
  },
  "featuresConfiguration": {},
  "addonSettings": {},
  "rubyVersionManager": {
    "identifier": "auto"
  },
  "customRubyCommand": "",
  "formatter": "auto",
  "linters": null,
  "bundleGemfile": "",
  "testTimeout": 30,
  "branch": "",
  "pullDiagnosticsOn": "both",
  "useBundlerCompose": false,
  "bypassTypechecker": false,
  "rubyExecutablePath": "/Users/alexanderpopov/.rbenv/shims/ruby",
  "indexing": {},
  "erbSupport": true,
  "useLauncher": false
}

Reproduction steps

Start VS Code.
The Ruby LSP extension crashes on initialization with the following error message:

Code snippet or error message
Error while indexing: undefined method `required_positionals' for #<RBS::Types::UntypedFunction:0x00007fdf8fc76a70 @return_type=#<RBS::Types::Bases::Any:0x00007fdf8fc76b88 @location=#<RBS::Location:23620 buffer=/home/alexander/.rbenv/versions/3.2.4/lib/ruby/gems/3.2.0/gems/rbs-3.6.1/core/method.rbs, start=138:19, pos=4835...4842, children= source="untyped">>>

Sorry, I found:

https://github.com/ruby/rbs/issues/2025
https://github.com/Shopify/ruby-lsp/issues/2630
https://shopify.github.io/ruby-lsp/troubleshooting.html#outdated-versiona

and fixed the problem by updating the language server.

repo: Shopify/ruby-lsp


text:
Fix typo in the neovim setup lua script

Motivation
There is a tiny typo in the neovim setup which breaks LSP configuration. It's better to have it fixed. 👍🏻
Implementation

Automated Tests

Manual Tests

@alxekb Can you sign the CLA please?

@st0012 I'm sorry, that was a hiccup. Still can't make it run. Will update this PR if I get some progress.

Closing this PR for now. Please re-open if you discover what was breaking the config.

authors: alxekb st0012 vinistock


text:
Message.decode should not use ioutil.ReadAll

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version: 1.8.0 (4ba9bba6adb6697bcec3841e1ecdfecf5227c3b9)
Kafka Version: 0.10.1.0
Go Version: 1.6
Problem Description
Certain configurations hit a codepath in message decoding that uses ioutil.ReadAll() (Message#L172) (Message#L193). This is problematic in high performance situations with large enough messages, because internally ioutil.ReadAll() reads data out into a buffer that it grows as needed.
In the internal bytes.Buffer, growing is done via calls to bytes.makeSlice. See the attached screenshot for my memory profiling. Allocating new slices takes up about 65% of my memory footprint, and I think this code path has room for optimization.
My first thought is to create a right-sized buffer to read into instead of using ioutil.ReadAll

My first thought is to create a right-sized buffer to read into instead of using ioutil.ReadAll

As far as I know there is no way to determine what the right size is in advance, as it is not exposed in the Kafka wire protocol or in the gzip format.
For the LZ4 case it seems like it might be possible, but handling concatenate streams correctly sounds complicated (https://godoc.org/github.com/pierrec/lz4#Reader.Read).

Maybe a configuration value can be exposed to set a starting buffer capacity?

Yes, that sounds possible by initializing a bytes.Buffer and using its ReadFrom method.
Although looking at your graph above, the majority of the memory usage from this path is already happening due to the largest slice size, so cutting out the smaller slices will not save you a great deal.

Would it not be possible to keep the []byte for m.Value in a sync.Pool? If Message would get a Free() method that releases m.Value to this pool it could be reused. If people don't call m.Free() it will just always allocate like it does now.
Other libraries do this as well such as: https://godoc.org/github.com/go-mangos/mangos#Message.Free

I really like that idea @erikdubbelboer, my only concern is the existing direct access to m.Value. If users pass that byte slice around and aren't careful about using Free() they could read bad data out of it.
Maybe this is okay with sufficient documentation on the function?

The other complication with a pool is that the Consumer type does not return Message objects directly, so there would need to be some way of proxying the Free call from the consumer back to the underlying Message.
That said, it wouldn't be impossible.

You mean ConsumerMessage? It could just share the same []byte pool as Message and .
At the other side the Encoder interface could be extended with a Free() method that sarama will call when the value isn't needed anymore. This way people can implement their own Encoder types that reuse buffers as well.

@eapache to address your earlier point, yes the memory footprint is mostly used by the larger slices. However, some of my highest CPU usage is in runtime.mallocgc and runtime.heapBitsSweepScan.
Reducing allocation/GC pressure should improve throughput even if the memory impact is minimal.

I'm not against any of these enhancements, but I'm not going to be tackling any of them myself in the near future. If somebody wants to PR them with appropriate benchmark results backing them up, I'd be happy to take a look.

I looked into adding the Free() method but there are so many separate places where the []byte for the value can be created that I couldn't really find a nice way to implement this.

authors: eapache erikdubbelboer hasnickl

repo: Shopify/sarama


text:
This code doesn't work for me...I get ERR_SSL_PROTOCOL_ERROR

I have updated the version of Node.js.
I ran the npm install
I got my keys and added them to .env file
I ran npm run dev successfully
BUT as soon as I tried to install the app, chrome(and Firefox) show me the 'ERR_SSL_PROTOCOL_ERROR' error.

please assist.

Did you use the https version of your url in the admin for your tunnel url?

Thank you for your replay :)
Do you mean here 👇right?

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


text:
AuthScope.equals cannot compare SCOPES as it is supposed to do

Issue summary
Following the docs (below) I should be able to compare a chage on my access scope by using a utility lib (AuthScope)
https://github.com/Shopify/shopify-node-api/blob/main/docs/usage/oauth.md#detecting-scope-changes ↓
I have check the little utility tool and seems to be comparing things that are structure completely different. The uitility is using Sets to simplify he comparisson but the Set used to work with are wrongly built. Instead of having a Set of the different scopes provided the utility does unexpected and converted all scopes into a Set of only ONE long string. So then the comparisson fails Set.has(x) of course ends up failing.
Expected behavior
As the documentation
Actual behavior
The current problem is that the little snippet that should react to a change in scope is evaluated as true always so you are sending the user back to Oauth every single time.

Was this silently fixed? I'm unable to reproduce the issue on Version 2.0.0 of the API; calling Shopify.SCOPES.equals("{sessionScopes}") works properly so far as I can tell. Are you passing in a comma-separated string of scopes to .equals()?

@bishpls This was reported 3 months ago. It might have changed/solved now and I frankly don't remember quite well the source of the issue. I will close this.

repo: Shopify/shopify-node-api


text:
Add support for schema translation files

https://shopify.dev/themes/architecture/locales/schema-locale-files
*.schema.json files should be covered and make sense. Right now our MatchingTranslations is kind of broken when going through those.

Done a while back

repo: Shopify/theme-tools


text:
Fix typo for manageResqueMission method and effected comments.

Fixed a typo where Rescue was misspelled Resque on the manageResqueMission method name in Kerbalism.cs by renaming it to manageRescueMission and also its call.
Changed all other misspelled Resque found.

Thanks! This 'resque' typo is the bane of my existence. I don't seem to be able to unlearn it.

authors: PiezPiedPy ShotgunNinja

repo: ShotgunNinja/Kerbalism

license: unlicense


text:
Error when lazy loading Ultisnips

Problems summary
Error when lazy loading Ultisnips and :filetype on.
The following error is displayed by Nvim:
Error detected while processing FileType Auto commands for "*":
E117: Unknown function: UltiSnips#FileTypeChanged
Environment Information

OS: ArchLinux
Vim version: NVIM 0.1.3

Provide a minimal .vimrc with less than 50 lines (Required!)
let s:plugins_dir = expand('~/.cache/nvim/dein-test')
let s:dein_plugin_dir = s:plugins_dir . '/repos/github.com/shougo/dein.vim'

if &runtimepath !~# '/dein.vim'
    if !isdirectory(s:dein_plugin_dir)
        if executable('git')
            execute '!git clone https://github.com/shougo/dein.vim' s:dein_plugin_dir
        else
            echohl WarningMsg | echom "Git must be installed for Dein to work" | echohl None
            finish
        endif
    endif
    execute 'set runtimepath^=' . substitute( fnamemodify(s:dein_plugin_dir, ':p'), '/$', '', '')
endif

if dein#load_state(s:plugins_dir)
    call dein#begin(s:plugins_dir, [expand('<sfile>')])
    call dein#add('SirVer/ultisnips', { 'on_i': 1 })
    call dein#end()
endif

call dein#save_state()

if !has('vim_starting') && dein#check_install()
    call dein#install()
endif

filetype on

The reproduce ways from Vim starting (Required!)
Launch Nvim with a filename on the command line, or launch Nvim without a filename on the command line, then open a file.
Other information
:verb au filetype
--- Auto-Commands ---
dein  FileType
    *         if &filetype != '' |   call dein#autoload#_on_ft() | endif
        Last set from ~/.cache/nvim/dein-test/repos/github.com/shougo/dein.vim/autoload/dein.vim
UltiSnipsFileType  FileType
    *         call UltiSnips#FileTypeChanged()
        Last set from ~/.cache/nvim/dein-test/.dein/ftdetect/ftdetect.vim

The error continues to occur after commenting the line
call dein#add('SirVer/ultisnips', { 'on_i': 1 })

It is feature.  You must not use UltiSnips as lazy plugins.
UltiSnips calls UltiSnips function in ftdetect.  So UltiSnips must be loaded in initialize.

The error continues to occur after commenting the line

You must call dein#recache_runtimepath().

You must call dein#recache_runtimepath().

It works. Thanks for the tip.
However, the file ~/.cache/nvim/dein-test/.dein/ftdetect/ftdetect.vim still exists and is empty. Shouldn't it be removed ?

For information, it is also necessary to call dein#recache_runtimepath() when using 'if': 0 instead of commenting the call dein#add(...) line.
Couldn't Dein call dein#recache_runtimepath()automatically when it detects that some plugins are no longer added or enabled ? It would be more user-friendly.

However, the file ~/.cache/nvim/dein-test/.dein/ftdetect/ftdetect.vim still exists and is empty. Shouldn't it be removed ?

Yes, it should be.  I will fix it.

Couldn't Dein call dein#recache_runtimepath()automatically when it detects that some plugins are no longer added or enabled ? It would be more user-friendly.

Q: I don't want to call |dein#recache_runtimepath()| manually.
A: Please specify your vimrc path to |dein#begin()| 2nd argument.
It detects the vimrc changes.
>
	call dein#begin(path, expand('<sfile>'))
<

Error detected while processing function dein#begin[1]..dein#util#_begin:
line   16:
E706: Variable type mismatch for: g:dein#_vimrcs
[dein] Invalid dein#save_state() usage.

No error if the second argument is a list: call dein#begin(path, [expand('<sfile>')])

I have fixed the doc.

As you can see in the minimal .vimrc I provided in this issue, [expand('<sfile>')] is given as second argument to call dein#begin(...). However, I have to call dein#recache_runtimepath() manually every time I comment or uncomment the line call dein#add('SirVer/ultisnips', { 'on_i': 1 }).

Really?  I will try it.

I get it.  It is feature.  It detects merged plugins changes only.

authors: Shougo gbcreation


text:
Gds file

1st version of gds file

EBeam_h-kalagara.pdf

Needs work to be compatible with both fabrication and testing.

authors: hkalagara lukasc-ubc


text:
Add support for dynamic imports

Allows server to build css packages while importing only what is necessary.
Description
The user choices are retrieved from the JSON object sent on POST. Based on these configuration options, only required SCSS packages are imported. This is then compiled into CSS, and minified.
Motivation and Context

Custom imports allow significant shrinkage in size of package.
SCSS doesn't allow dynamic imports, hence using this logic allows us to bypass this limitation.

How Has This Been Tested?
Postwoman was used to test the API. Usage of synchronous code means that the performance cannot be great. But this is an acceptable compromise for the duration of the MLH hackathon
Types of changes

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

Checklist:

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

I've removed package-lock, my bad. Merging now.

repo: SiddharthSham/cssify


text:
关于resnet50_ibn训练示例的错误

您好，我按您的readme进行测试时，跑到
CUDA_VISIBLE_DEVICES=0,1,2,3 sh scripts/run_strong_baseline.sh market1501 dukemtmc resnet_ibn50a
这句后，出现了以下错误

==> Create pseudo labels for unlabeled target domain with DBSCAN clustering
Computing original distance...
Computing Jaccard distance...
Time cost: 238.44885563850403Clustering and labeling...
Clustered into 538
Traceback (most recent call last):
File "examples/train_baseline.py", line 321, in
main()
File "examples/train_baseline.py", line 117, in main
main_worker(args)
File "examples/train_baseline.py", line 224, in main_worker
print_freq=args.print_freq, train_iters=args.iters, use_xbm=args.use_xbm)
File "./idm/trainers.py", line 62, in train
prob, feats = self._forward(inputs)
ValueError: too many values to unpack (expected 2)

然后我查看了models/resnet_ibn.py，发现这个文件的forward函数仅返回x或prob或bn_x，即每次只返回一个值，与idm/trainers.py中出错的这句相矛盾。
不知道这个出错确实是这个部分有代码错误，还是说有可能有别的原因呢？

您好，我按您的readme进行测试时，跑到 CUDA_VISIBLE_DEVICES=0,1,2,3 sh scripts/run_strong_baseline.sh market1501 dukemtmc resnet_ibn50a 这句后，出现了以下错误

==> Create pseudo labels for unlabeled target domain with DBSCAN clustering
Computing original distance...
Computing Jaccard distance...
Time cost: 238.44885563850403Clustering and labeling...
Clustered into 538
Traceback (most recent call last):
File "examples/train_baseline.py", line 321, in
main()
File "examples/train_baseline.py", line 117, in main
main_worker(args)
File "examples/train_baseline.py", line 224, in main_worker
print_freq=args.print_freq, train_iters=args.iters, use_xbm=args.use_xbm)
File "./idm/trainers.py", line 62, in train
prob, feats = self._forward(inputs)
ValueError: too many values to unpack (expected 2)

然后我查看了models/resnet_ibn.py，发现这个文件的forward函数仅返回x或prob或bn_x，即每次只返回一个值，与idm/trainers.py中出错的这句相矛盾。
不知道这个出错确实是这个部分有代码错误，还是说有可能有别的原因呢？

您好，是我代码的问题，感谢您指出来，我已经修改了该bug，https://github.com/SikaStar/IDM/blob/a7bff044cf3d4e46876cfbfa0936580f32a88fc4/idm/models/resnet_ibn.py#L96

repo: SikaStar/IDM


text:
Feat: #12 player healthbar

Purpose of this PR:
Add a healthbar UI element to the game.
The FollowingEnemy has received a new AttackingState, this does configurable damage when the enemy is in a configurable range and has a configurable cooldown
How to test:
Open up the PlayerHealthbarScene and hit run.
You should see 3 heart in the top left corner of the screen.
There is a testscript available on the TestScript GameObject, this allows you to do 1, 10 , or 100 damage to the player.
To test the FollowingEnemy attack simply run the game, and make sure to walk into the cone of vision of the enemy.
Once the enemy is in range it will do 25 damage (default, but configurable) and it should then not attack untill the cooldown is over.
links:
closes #12
note:
This can be improved by making use of the soon to be merged event system, and will have to make use of the new stat system.

the code looks good to me apart from the bug i saw at dirk.

updated to fix mentioned bug.
attackCooldown now keeps the enemy in AttackingState without being able to attack. This means it can't move for this period. At the end of the cooldown, state is set to FollowingState.

Fixed merge conflict

authors: MustacheAltun PimMiii

repo: SillyBusinessInc/SillyBusinessGame


text:
Check integration of gosec

I want to integrate some security checks.
For this purpose I would like to add https://github.com/securego/gosec

Fixed with #24

repo: SimonBaeumer/goss


text:
linker undefine issue

When I compile make all, I got follow message.
OS: Windows
Build system: make, cmake
Env: msys32
C:\windows\system32\cmd.exe /C "cd . && C:\msys64\mingw32\bin\cc.exe    -shared -o libisotp.dll -Wl,--out-implib,libisotp.dll.a -Wl,--major-image-version,0,--minor-image-version,0 CMakeFiles/isotp.dir/isotp.c
.obj  -s  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0xf4): undefined reference to `isotp_user_send_can'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x13c): undefined reference to `isotp_user_send_can'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x161): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x169): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x1b2): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x1c3): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x1f0): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x203): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x365): undefined reference to `isotp_user_send_can'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x36a): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x420): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x59e): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x5d1): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x61a): undefined reference to `isotp_user_send_can'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x68d): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x6b6): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x6db): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x6ec): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x6fd): undefined reference to `isotp_user_debug'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x7e2): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x7f4): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x814): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x8b6): undefined reference to `isotp_user_send_can'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x8f7): undefined reference to `isotp_user_get_us'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/isotp.dir/isotp.c.obj:isotp.c:(.text+0x904): undefined reference to `isotp_user_get_us'
collect2.exe: error: ld returned 1 exit status

Could anyone offer example how to use this library?
Additional, I followed github workflow command, this mistake also show on my local but I have no idea why there is not show on github action.

You cannot use this library as-is, you need to provide custom shim functions in your project.
See the README

repo: SimonCahill/isotp-c


text:
Broken on Safari 14

What is the current behavior?
Save button doesn't function correctly and Button color not updating to reflect selection.
Please provide the steps to reproduce:

Use the demo https://simonwep.github.io/pickr/ on the latest version of Safari.
Your environment:
Version (see Pickr.version): 1.7.2
Used bundle (es5 or normal one): Both
Used theme (default is classic): All
Browser-version:  Safari 14.0 (15610.1.28.1.9, 15610)
Operating-system:  macOS 10.15.6 (19G2021)

I'm also experiencing this on the latest version of Safari

I don't own a mac nor have access to the latest Safari version (only v12) - You one of you describe what is happening in detail? Maybe there's an error message? Or is there a page where I can see all the changes from Safari 13 to Safari 14?

There are no errors, it appears the actual values work fine the issue is actually rendering. If I resize the browser window it shows the correct colours:
https://www.dropbox.com/s/45zzf88gcq68k7c/picker-safari-issue-2.mov?dl=0
Interestingly the Classic theme selection preview on the left hand side works fine:

but it doesn't on Monolith:

Clicking save on both only updates the button colour after resizing the browser (and other such interactions)

Ugh, that is really strange (and difficult to fix without safari) - at least I won't be able to fix that, I'll mark this issue maybe someone else could take a look at it :)

It works well on Safari version 13.1.2 (13609.3.5.1.5) BTW.

That is definitely a Safari related bug. I was able to at least update the color after saving with this method:
pickr.on('save', function(hsva, instance){
    pickr.hide();
    $input.focus();
});

But the problem still exists even on page load. The correct "default" color is not applied until the browser is either resized, or even when I toggle the console. I even tried $(window).trigger('resize') after initialising, but without luck. It even works if I open it in Safari, open another window (any other app) and then return to Safari. Really strange.

I had this same issue. For me, the color text output in the bottom left was updating as I changed the slider, but the color block on the left wasn't. Same thing would happen when I clicked, sometimes, on two similar colors in the swatches.
When the update occurred, I looked and it seemed to be setting the active-color block's color style instead of the background-color for some reason.
I set an event listener:
pickr.on('change', pickrColorChange);

When the color change event happened, I'd grab the active color element and set the background color instead of the color:
function pickrColorChange(instance) {
    const rgbaColorArray = instance.toRGBA();
    var currentColorDisplayElement = document.querySelector('.pcr-current-color');
    currentColorDisplayElement.style.backgroundColor = `rgb(${rgbaColorArray[0]}, ${rgbaColorArray[1]}, ${rgbaColorArray[2]})`;
}

I didn't need opacity (but that's an easy addition) and only had one instance ever, so this worked for my needs. You could model your solution around this if you need.
If it's setting the color style, maybe the solution here is to change the style being set from "color" to "background-color" in the color change method in Pickr? or both?

Thanks @fjaxyu for the inspiration. For anyone else that has multiple picker instances, here's how I fixed it with just two lines:
button.style.backgroundColor = button.style.color;```

I placed this in the `save` event handler, but you should be able to use this anywhere that you have access to the Pickr instance.

Thanks @fjaxyu for the inspiration. For anyone else that has multiple picker instances, here's how I fixed it with just two lines:
let button = instance.getRoot().button;  button.style.backgroundColor = button.style.color;
I placed this in the save event handler, but you should be able to use this anywhere that you have access to the Pickr instance.

Thanks @fjaxyu for the inspiration. For anyone else that has multiple picker instances, here's how I fixed it with just two lines:
let button = instance.getRoot().button;
button.style.backgroundColor = button.style.color;
I placed this in the save event handler, but you should be able to use this anywhere that you have access to the Pickr instance.

Thanks @fjaxyu for the inspiration. For anyone else that has multiple picker instances, here's how I fixed it with just two lines:
let button = instance.getRoot().button;
button.style.backgroundColor = button.style.color;

I placed this in the save event handler, but you should be able to use this anywhere that you have access to the Pickr instance.

@edwinfinch This works with all colors except #ffffff. I had to put this in a init method because the problem occurs directly on page load for me.
.on('init', function(instance){
    var button = instance.getRoot().button;
    button.style.backgroundColor = instance._color.toHEXA().toString();
});

I tried a few things that came to mind, but was not able to get white working. Does it work for you with #ffffff?

@MrMooky it does work for me so I won't be able to help you unfortunately.
@Simonwep why did you remove the bug label?

@edwinfinch I'd rather say that this is a safari-related bug where currentColor does not update when color should trigger a re-paint. It wouldn't be the first time Safari doesn't follow a spec or behaves in a weird way hence I would only call that  a "browser-quirk", it's not a general bug. Changing color should change currentColor and therefore background. It's part of the spec:

The value of the ‘color’ property. The used value of the ‘currentColor’ keyword is the computed value of the ‘color’ property. If the ‘currentColor’ keyword is set on the ‘color’ property itself, it is treated as ‘color: inherit’.

Safari seems to ignore the computed part. What I found out with a friends laptop is that, if you resize the browser, the color does change. So Safari is missing a repaint cycle.
A fix would be using CSS variables, I'll take a look at this on the next weekend.

Still broken on Safari 14.0.3 (16610.4.3.1.7)

@MrMooky @swaterfall @caspii
I just pushed an updated version with CSS Variables instead. Of course this means that IE11 support is completely gone but I never intented to support it anyways (and anyways, safari seems to be the new IE11). Since I don't have any device with safari on it, could you please verify if it's now working as expected?

@Simonwep I updated to this version and now color palettes are not visible. They still function, but are not previewed.

@Teraskull Huh, which browser?

Edge Chromium Version 91.0.838.3 (Official build) dev (64-bit)

Okay, it works on the stable version (89) so I don't consider this as a bug (this one is on edge and you're using a dev version, it's very likely that some things don't work there).

@Simonwep It doesn't work for me even on stable version 89, and it is working with the previous commit. So I believe it's a breaking change somewhere.

@Simonwep thanks for your efforts!
Here's what I'm seeing on Version 14.0.3 (16610.4.3.1.7)

@caspii would you be able to figure out what's wrong with the swatches and color-preview? I can imagine it'd take me quite some time to figure it out without being able to test it...

@Simonwep unfortunately I'm not a frontend-crack, but here's what I've found out:

The problem also exists on Chrome (Version 89.0.4389.114 (Official Build) (arm64))
A CSS variable color is being applied to the pcr-button button, but it's not working. Even overwriting this property in dev tools with a normal (non-variable) does not cause the color to be applied to the button.
I can see the following problem in dev tools which may be related:

Yes, unfortunately broken on safari 14 both desktop and mobile.

authors: MrMooky Simonwep Teraskull caspii edwinfinch fjaxyu max-sixblade oliverwaters swaterfall yahoo0742

repo: Simonwep/pickr


text:
Expose grid in asyncPostRender callback

Exposes grid in asyncPostRender callback

Lgtm

authors: albertywu bcherny

repo: SimplGy/SlickGrid


text:
Apply Babel to main process

I'm really liking this boilerplate but I'd like to suggest applying the transpilation to the main process files as well, including the Electron entry point. This would keep things consistent by allowing not only import / export syntax just like in renderer files but also any other presets or plugins.
Along with this, it seems like it would benefit from a slightly more clear structure in terms of renderer & main processes. Say, within app/src you'd have /renderer as well as /main. For this I might suggest adding a second main process file to call from electron.js.. It doesn't have to really be very functional - just a simple starting point for this structure.
So my proposal is basically - transpile main process along with the renderer, and consider structuring the src directory something like this.
/app
|  /src
|  |  /main
|  |  |- electron.js
|  |  |- util.js
|  |  /renderer
|  |  |  /components
|  |  |  /vuex
|  |  |- App.vue
|  |  |- main.js
|  |  |- routes.js

I've actually had this into consideration lately and I love your proposal for the file structure. As of now I can't devote my time on this but will probably happen in the near future.

Glad you like it, although admittedly bummed you won't have the time because I fought for hours last night trying to get this in place myself. Webpack defated me hard. I couldn't figure out how to restructure things without them breaking pretty much irreparably heh... I've been using gulp for a while and have only used Vue as a basic, more modern jquery ( as in, script tags :open_mouth: ) so this is a very cool setup.
Totally get the lack of time though. If you have any advice on how I could go about this I'd be willing to give it a shot myself.

One big difference is that the webpack target would need to be electron for the main process. Since you can't have multiple targets you'd have to create another webpack configuration. I believe you can export an array of configs from the webpack.config.js and the npm run dev should run both. Nobody has really supported this in the past so it would take a little pioneering to perfect this setup.
Thinking about all this makes me want to get started 😁. So maybe I can get something ready tonight or by this weekend.

It is exciting isn't it :wink: ES2019 all the things.
I've actually come across a few that do something similar, but again I don't know a lot about webpack so they might differ in ways I'm not seeing. I'll throw them here as references since they should be helpful:
React / Electron / Webpack boilerplate by jogleasonjr - this one is the most accurate in terms of what I'd want for directory structure
Tc by mccxiv - this one has what seems like a more desirable webpack configuration.

Amazing what sleeping on an issue will do... I came back for round 2 against Webpack and was able to get it. @SimulatedGREG let me know your thoughts.

authors: SimulatedGREG citycide

repo: SimulatedGREG/electron-vue


text:
Unable to configure Enhanced Block Entities via NeoForge's "Mods" menu

Mod Name
Enhanced Block Entities
Mod Homepage
https://github.com/FoundationGames/EnhancedBlockEntities
Minecraft version
1.21.1
Describe the bug
Unable to configure Enhanced Block Entities via NeoForge's "Mods" menu
Steps to reproduce
No response
Logs
https://mclo.gs/8nHXdJM
Additional context
latest.log

Do you have Connector Extras installed?

repo: Sinytra/Connector


text:
Switch to last active workspace

Right now, you can use "workspace prev/next" to move between your list of workspaces without using the name. I would like to see an additional option that switches to the last active workspace.
It is a default option in dwm, which I'm used to, and one that would make my workflow in sway on par with what I'm used to.

workspace back_and_forth ?

We have that command implemented, but it's undocumented and it seems to be buggy. Both of those things should be fixed.

@Airblader Unfortunely only switches between specific workspaces, I cannot see a way to make it work across two generic workspaces :(
@SirCmpwn A good start anyway! I'll poke around and see if there's anything I can do :)

workspace back_and_forth seems to be working alright for me. Do you want me to keep the issue open until the command has been documented, or the bugginess you mentioned have been resolved?

authors: Airblader SirCmpwn willd

repo: SirCmpwn/sway


text:
Old Experimental Toggles in guide

https://wiki.bedrock.dev/guide/project-setup#creating-your-testing-world
Should have the new toggles

Yes the entire guide needs work...

authors: Hatchibombotar SirLich

repo: SirLich/bedrock-wiki


text:
"Use Corner Texture" checkbox does not work

The "Use Corner Texture" checkbox under the edge material resource doesn't seem to work. The edge will use the corner textures (if they are there) even if this box is unchecked.

Sorry about that, really slow on fixing this issue.
Should now be resolved in e2b5990baaf5463b891811e8c742ee0cb6e42fd8

authors: SirRamEsq djrain


text:
Help message should actually print the description of positional options

Probably after the usage line and before ‘OPTIONS’.

This was implemented a few weeks ago.

repo: Sirraide/clopts


text:
Feature Request: Capability to use .zip files as .yml file store.

Idea
Currently, the Unicorn Rainbow Filesystem Provider uses the windows file system to store files.
It would be great, if the provider could also read and write .yml files from/to .zip files.
User Story
I'd like use .zip files to store Unicorn serialized .yml files on production systems.

All Unicorn Configurations can choose whether to read their content from a .zip file or directly from the file system.
Any Unicorn Configuration that uses a zip file storage is read-only (by default).
Reserializing the content tree does not affect the .yml files in the .zip package.
Any Unicorn Configurations which store items in a physical folder can still be serialized as .yml.
This is helpful for content migration.

Concept
In a few words:

If you don't find a .yml file physically, look out for a .zip File containing that .yml file.

or

mount .yml files into tree as usual
mount .yml files contained in .zip files virtually into the tree.

f.e. if an item is serialized under C:\Projects\myproject\Unicorn\Feature\ModuleA\SomeLong\PathsWithin\ThatModule\MyItem.yml
then it's .yml contents can also be stored in Entry SomeLong\PathsWithin\ThatModule\MyItem.yml of a file named C:\Projects\myproject\Unicorn\Feature\ModuleA.zip.
Read only?
It would be ok if the .zip file storage is read-only, since we're mostly having issues with long paths on production systems where we just sync items into the database, not vice-versa. And if we re-sync from prod it's ok to use a pure .yml store.
Performance Impact
It also seems ok to me, that .zip file store could be a bit slower than direct file access, since it needs to read the .zip file and decompress the files. But that can be done with memory efficient "in-memory" Streams using the System.IO.Compression namespace offered by .NET Framework.
In the end, it might turn out faster to read a single file from a storage into memory and then process it in-memory, than querying the filesystem for thousands of small .yml files.
Related Issues
issue #27: long paths would be solved for most situations too.

While it probably will not be .zip files, I am actually currently working on a form of big-file implementation. Will also benefit Azure deployments immensely, to deal with a very few big files rather than 1000s of individual small files.

Nice to hear that some improvements are going to happen.
The advantage of using zip over "just inventing of another package binary format" is significant.
I've seen quite some products out in wild that use that kind of .zip file "magic" to save disk space and keep file handling easy. The Zip format itself offers a great way to create file bundles; you also can turn compression to "none", to save any CPU time "wasted" for compression, so there should not be much performance overhead left than "content dictionary management" (which you have to do anyway).
Another advantage is, that there are a lot of standard OS tools that can view and pack .zip files. So it's easy to handle, easy to bundle and offers you flexibility on how to bundle your features.
Direct serialization into .zip files isn't really the goal, because .yml file structure can be turned into .zip files in many other ways.
But directly injecting (read-only) .yml files stored in zip files into unicorn's file system provider is definitely a thing that could come in handy for solution deployments and content migration.
So far I've seen, Unicorn is using "some kind of tree structure" for files, so it should be easy to tweak the part that reads the .yml files to look out for "virtual .yml files" that may exist in .zip files.
Maybe I can invest some time to clone and try a proof-of-concept implementation myself.

It's important to keep in mind here; the concepts currently being worked on would be to allow some form of "redistribution" of the file assets related to a configuration. Something like verb=Deploy or so.
At the very core and foundation of Rainbow sits the original premise. The premise, the entire toolset is built upon. And that is, the change in Sitecore's original serialization format to the line-based YAML-like syntax which allows for easy tool-less merging, and git auto-merging.
Changing this into a native .zip format just isn't going to happen. Not as it's default file store. That would have to live in a fork of your own if that's what you're after. It would completely shift the foundation of what Rainbow is and wants to achieve.

I am also trying to pursue the same solution as proposed by @rbruelisauer - we have tons of tiny yaml files and theirs deployment on our production via MsDeploy takes up to an hour (looks like that's a problem of NTFS volume, mounted via NFS file storage, because sometimes it is rocket fast, especially on lower environments, where we have much faster deployment cadence).
So, it would be nice addition to put a zip file instead of unpacking tons of files and make Unicorn read from zip directly (mount it as FS and do regular import operations), while keeping regular serialization to separate files in order to  keep easy tool-less merging, and git auto-merging.

There are two things I am currently considering.

The ability to "bundle" a configuration or predicate into 1 yml file. The idea being, you do ?verb=Bundle and Unicorn will run through configurations and generate 1 big yaml file per configuration which can then be consumed at an upstream environment. These bundles would be read-only.

And the obvious one with the introduction of protobuf in 10.1; the ability to generate protobuf files based off Unicorn configurations. These would (obviously) again be read-only - but it would effectively completely remove the need to have Unicorn on anything other than the dev environment and Sync would no longer be required at all.

As for the specific question of zipping/unzipping, it might already be doable if you use the built-in powershell commandlets.

I like idea of big yaml read-only yaml file for better portability between versions.
Thanks for an idea about built-in powershell, but we are not exposing it to outside world; and still this will be the same time issues, but on the moment, when Unicorn is executed (unpacking time will be added before Unicorn execution and I suppose that they will be roughly the same)

If anyone is feeling adventurous, both the "big yaml" and "zipped yaml" could and should be implemented entirely by creating a new Rainbow.Storage.SerializationFileSystemDataStore. It's the one gateway between filesystem storage and the rest of the system.
For read-only, methods such as Save, MoveOrRenameItem can be ignored.

Finally, once again, consider the PowerShell commandlets. You could generate Sitecore packages at an earlier stage in your deployment process and send those upstream. PowerShell would not be needed to be active upstream, only in your dev environments.
https://github.com/SitecoreUnicorn/Unicorn/blob/master/src/Unicorn/PowerShell/NewUnicornItemSourceCommand.cs

authors: akuryan cassidydotdk rbruelisauer

repo: SitecoreUnicorn/Rainbow


text:
[Bug] 小米运动报错

💻 系统环境
Other Linux
📦 部署环境
Docker
🐛 问题描述
HTTPSConnectionPool(host='api-user.huami.com', port=443): Max retries exceeded with url: /registrations/+8615874224715/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe94ee9d520>: Failed to establish a new connection: [Errno -3] Try again'))
📝 运行日志
当前时间: 2024-08-18 23:48:20
当前版本: 24.2.27
另：请问怎么更新到最新版本

网络问题，更新到最新版本需要 python3.9

authors: Sitoi stoneliulei

repo: Sitoi/dailycheckin


text:
new server doesn't work

Growatt created a new server because the old one was getting overloaded (at least that's what they told me).  The new server is server-us.growatt.com.  The old server is server.growatt.com.  I can pull data from accounts on the old server but I'm unable to pull data from the new server with an account that is on the new server.  I changed the URL to server-us.growatt.com in the init.py but that didn't seem to work.

Thanks for reporting this. Can you still use the mobile app? How would the app know to connect to the other server?

I can still use ShinePhone and it only asks for a login.  It does not ask for what server I'm on so they must have some kind of login database that points it at the right dataset.

I was able to get this to work by changing the URL to http://server-us.growatt.com, instead of https://
This means this "US" server is passing traffic to and from alicloud without any encryption, which has it's own red flags.

Also having trouble with login using the package.
Website server.Growatt.com does work, so does the Mobile App.
I managed to debug the login using the browser:
# Note: new location = 'login'
# Note: no hashed password!
# Note: account instead of username

response = self.session.post(
            self.get_url("login"),
            data={"account": username, "password": password},
        )

Lets see if I can make the rest of the code work...

It seems that the app determines the server from the username, using the following request:
https://server-api.growatt.com/newLoginAPI.do?op=getServerUrlByName&userName=username

authors: Sjord abij openincident tbilan


text:
change message location

how do i change the location of the message, like TOP-Right

how do i change the location of the message, like TOP-Right

I solved it by adding:
position: absolute;
top: 3px;
right: 5px;
under #root .main .notification
This is probably not the correct way to fix it for it to work for everyone, but in my case it worked correctly.
CSS is not really my thing...

Working on it

authors: Skeexs Vacsson mrstruggle93

repo: Skeexs/skeexsNotify


text:
Update nettruyen domain

Checklist:

[x] Updated source's version for individual source changes
[x] Updated all sources' versions for template changes
[ ] Set appropriate nsfw value
[ ] Did not change id even if a source's name or language were changed
[ ] Tested the modifications by running it on the simulator or a test device

#609 same commit

repo: Skittyblock/aidoku-community-sources


text:
LabWork1:Annuity payment 50% bug

Необходимо разобраться по какой причине при выставлении годового процента на значение 50 мы имеем отрицательные значение задолженности.

Частично исправлено тем, что изменён расчёт процента с дневного на месячный.

Информации как рассчитывать аннуитетный платёж для случая, когда мы расчитываем проценты на день не найден.

same https://github.com/SkivHisink/JavaEduNSU/issues/1

repo: SkivHisink/JavaEduNSU


text:
Showing overhead just for your player.

Just as the title says, would it be possible to add an overhead just to include all information on your current player vs every player?
Edit:
Not a need just a want. Also not sure how to edit the labels but realized that you probably have multiple plugins, this is for the identificator plugin.

That should be possible, but may I ask why it is useful? Personally I typically only enable to the plugin to find an animation or so, and then turn it back off, which means that seeing other not useful information doesn't really bother me too much.

Just a suggestion on my end. Not necessarily useful just more so a visual preference of mine.

authors: Skretzo johnbigornia

repo: Skretzo/runelite-plugins


text:
PHP-SDK报错提示：error:rpc error: code = DeadlineExceeded desc = context deadline exceeded

PHP-SDK报错提示：
INFO[2020-04-10 09:36:54] connection 10.16.166.79:11800...
INFO[2020-04-10 09:36:56] start register pid 985524 used SkyWalking v6
ERRO[2020-04-10 09:36:59] register error:rpc error: code = DeadlineExceeded desc = context deadline exceeded
ERRO[2020-04-10 09:36:59] register error:

OAP服务器超载了吧

ping

或者尝试调大客户端设置的默认超时时间，这里默认的是3S可以根据自己的情况适当调大一下。涉及以下几个文件，以OAPServer V7版本为例：
https://github.com/SkyAPM/SkyAPM-php-sdk/blob/5b17d3fa95ee0036d38cef6331cefd019e2c9ec3/reporter/service/trace.go#L84
https://github.com/SkyAPM/SkyAPM-php-sdk/blob/5b17d3fa95ee0036d38cef6331cefd019e2c9ec3/reporter/service/register.go#L130
https://github.com/SkyAPM/SkyAPM-php-sdk/blob/5b17d3fa95ee0036d38cef6331cefd019e2c9ec3/reporter/service/heartbeat.go#L40

authors: binghun0518 heyanlong zhegexiaohuozi

repo: SkyAPM/SkyAPM-php-sdk


text:
[Auth] Cannot relogin into existing account after signed up anonymously

After user signs up anonymously, he cannot login with his previous registered account.

Should we close it as we have #1470 ? @louischan-oursky @kiootic

authors: chpapa cychiuae

repo: SkygearIO/skygear-server


text:
Error when renaming files that include quotes

When renaming a file and the new file name includes double quotes, it will run into an error and not be renamed.

Other characters (|, ?, <, >, :, *, /, ) cause errors on Windows.


text:
Adding support for block glow

This is by far the best "glow" API I've used. The only issue is that you can't apply glow on blocks just by using this API. You have to create shulkers and then apply glow on them, which could be supported out of the box to provide an even better user experience. You could also get a free performance boost since you wouldn't have to load all shulkers and then hide them with invisibility. If my brain works correctly, this should be achievable almost in the same way how YAMIPA does it.

I'm working on it, thanks for the idea!

authors: SkytAsul Tuchan

repo: SkytAsul/GlowingEntities


text:
Unknown error (404) when sending message with question mark at the end

When trying to send message (bot.webApi?.sendMessage()) with text that has question mark (?) I get failure with unknownError type. When I removed this question mark my message got through. I think there is something wrong with escaping this sign from request url and it's messing with url query.

Hi Łukasz,
What platform are you seeing this on?
Thanks,
Peter

I am using my local machine (Macbook) and compiling project with Swift 3.
The only library in my package.swift is SlackKit (majorVersion 4).
And here's the code I am trying to run:
import Foundation
import SlackKit

class Bot {
    let bot: SlackKit

    init(token: String) {
        bot = SlackKit()
        bot.addRTMBotWithAPIToken(token)
        bot.addWebAPIAccessWithToken(token)
        bot.webAPI?.sendMessage(channel: "my-channel-name", text: "wat?", asUser: true, success: { _, _ in
            print("success")
        }, failure: {error in
            print("fail with error: \(error)")
        })
    }
}

let slackbot = Bot(token: "xoxb-proper-token")
RunLoop.main.run()

When I change text to "wat" (without the question mark) it goes smoothly and it's posted on my channel.

I ran into this same issue this week as well, and traced it down to the presence of a question mark in a query parameter for a URL that I was including as an attachment on a message. I reached out to slack's support team, who said the following:

This is indeed due to the question mark: we recently released a change that started enforcing URL encoding of parameters, and while we expected users to encode those parameters, we understand that this broke some existing integrations, our apologies for the inconvenience.

To fix this error, you will need to either URL encode all your parameters values, or switch to a POST request and pass these in the request's body.

I was under the impression that using URLQueryItem would encode parameters correctly but maybe that's not the case...
https://github.com/SlackKit/SKWebAPI/blob/master/Sources/NetworkInterface.swift#L45

@pvzig Here's what I'm seeing as the output of the generated request:
https: //slack.com/api/chat.postMessage?
attachments=%5B%7B%22thumb_url%22:%22https:%5C/%5C/s3.amazonaws.com%5C/ftb-web%5C/development%5C/reps%5C/avatars%5C/000%5C/000%5C/796%5C/original%5C/FullSizeRender.jpg?1433290383%22%7D%5D&as_user=false&channel=G4X7VCFN0&token=<REDACTED>&text=Test%20message

Looks like everything is being encoded except the question mark. I'm not immediately sure what the right approach is (as I've typically just used URLQueryItem for other things I've done as well.
(Also, note this output is from the last 3.x release of the library. I'm in the process of updating to 4.x now.)

FYI - I'm digging into this a bit this morning and will plan on getting a PR together for you to take a look at.

Thanks John, appreciate it!

@pvzig I was able to find an open radar report discussing this same thing related to + signs, where an apple employee describes that Apple chose a particular interpretation of what needs to be encoded, which might differ from what other APIs expect. They provide a suggest of the correct way to manually apply the additional necessary encoding. I've just created a PR for SKWebAPI (https://github.com/SlackKit/SKWebAPI/pull/7) which adds this custom encoding for + and ?.

This should be fixed with the 4.0.7 release of SKWebAPI. Rebuilding SlackKit should get you the latest. Let me know if you continue having issues after updating.

repo: SlackKit/SlackKit


text:
[1.9] UI Experience Obelisk and Crafter

Issue Description:
Crafter (Right Side) and Experience Obelisk (Down Side) need render on 1 pixel more.

Affected Versions (Do not use "latest"):

EnderIO for Minecraft: 1.9

again, your texture pack is off.

No...

I give you 16x16 version and 32x32

@HenryLoenwind you said it's texture bug: look at the screenshots first 16x16 vanila mod texture second my 32x32 faithful texture.

Whats the issue here?
Everything looks ok to me.

I think you guys might need to get your eyes checked, lol. The black border is missing off the bottom. Our ySize is one pixel too small.

Yes ySize is one pixel too small. :)

Even knowing what I am looking for it looks good to me!
Old man eyes I guess ;)

authors: CrazyPants HenryLoenwind tterrag1098 xMrVizzy

repo: SleepyTrousers/EnderIO

license: Unlicense


text:
Enderman Head glitch with Chisel2

Issue Description:
Whenever you're near an Enderman Head, most items from Chisel 2 turn  #invisible:
What happens:
Whenever you're near an Enderman Head, most items from Chisel 2 stop showing.
You can see the effect in the screenshots bellow. The last two show, that breaking the head turn them normal again.

What you expected to happen:
Nothing
Steps to reproduce:

Place enderman head
Search for @chisel in JEI or NEI
Watch
...

Affected Versions (Do not use "latest"):

EnderIO: 1.10.2-3.0.1.120_beta
EnderCore: 1.10.2-0.4.1.56-beta
Minecraft: 1.10.2
Forge:12.18.1.2092

Your most recent log file where the issue was present:
https://gist.github.com/NillerUdenDild/588531eafd4fb3bcd653d557d5c3ff48

This is also occuring when placing Experience Obelisk

I came here to report the same, breaking the Experience Obelisk makes all my Chisel Blocks render fine, if there is an Experience Obelisk around, all the blocks render wrong.
Pics:
Pre

After

authors: NillerUdenDild frenchiveruti kvgeorge1


text:
crash client while trying see crafts with this item

crash client while trying see crafts with this item

EnderIO-1.12.2-5.0.31
EnderCore-1.12.2-0.5.37
1.12.2
forge:1.12.2-14.23.4.2739
spongeforge-1.12.2-2705-7.1.0-BETA-3399.jar
OptiFine_1.12.2_HD_U_E2
client

https://gist.github.com/Pa4ok/dbd98f6a236abdae34b619a4039b08a5

You are too lazy to read the error message and too lazy to see if there already is a report for this (or 20), so I'm too lazy to explain this to you.

what the heck is this launcher class at the bottom of the trace?

I'd bet one of the "features" is not having to buy Minecraft.
locked

authors: HenryLoenwind Pa4ok mindforger


text:
Fix zero comparator signal on near-empty storage

Comparators output a zero power level both when attached to empty storage, and nearly empty storage. This makes it impossible to differentiate between the two. The new semantics in this patch are equivalent to those used by Minecraft for chests, etc.
Before:

After:

@tterrag1098 ?


text:
LiquidSoap appears "offline" and seems to crash at each songs

The station profile says that LiquidSoap is not running. Which isn't true since I can listen to my music.

Also, when taking a look at the LiquidSoap logs for the station, it looks like it crashes.
2016/09/22 07:12:25 [radio_out:2] Error while sending data: could not write data to host: Broken pipe in write()!
Here's a snippet of my liquidsoap logs.

Closed as an issue related to a zombie process on this particular installation.
If you're seeing this issue on your own AzuraCast installation, a quick sudo killall -9 liquidsoap in the terminal as a SU-capable user (or root) should remove any "zombie" processes that are hanging around. You can then restart the radio service from the web console.


text:
🛑 My blog(CDN) is down

In 9b67b6b, My blog(CDN) (https://sbrave.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(CDN) is back up in 4ea7839.

repo: SmartBrave/uptime


text:
CI: upgrade macOS testing environments

Cirrus seems to have dropped support for macOS Catalina (10?). It is claimed to
be officially supported¹ but jobs on it simply stall forever. For Rumur, it is
fine to migrate to newer macOS as we only really support whatever is the latest
macOS.
¹ https://cirrus-ci.org/guide/macOS/

Rebased into #222.

repo: Smattr/rumur


text:
Adding colon

Adding colon to contributing & custom_block

thank

authors: RitikShah edayot

repo: Smithed-MC/Docs


text:
license

Put Loopable under the Unilicense

put loopable in the multiverse

dj

repo: SnOoOzY/Loopable


text:
Handling all hwIds

This should take care of the tasks Handling all hwIds and Log all new HWIDs to the Hwid table
It also prevents banned users from logging in or creating a new account

Previous feedback from @FilippoLeone:
"I would also check the username is banned alongside the hwid, otherwise you might allow people with a new local HWID not pushed to the db"
A valid concern, I added def is_banned_user(username: str, session: Session) to address it.
"I guess we also need has_new_hwid(user_name, hwid, session) to compare current process_login hwid with what we have saved in the database?"
This could be helpful to identify new HWIDs that have not yet been logged. However, the existing hwid_already_logged function seems to be sufficient for this purpose.
"Shouldn't this return FAIL_LOGIN_BAN_HARDWARE ?"
I dug into a comment in the code # TODO: Not all SS2C_ACCOUNT_LOGIN_RES fields are implemented. and also found # TODO: Can we access these enums directly? 'EnumTypeWrapper' object is not callable
From what I can tell FAIL_LOGIN_BAN_HARDWARE isn't implemented. I tried poking around but the responses for these enums seem to be defined in the client-side code. For now returning FAIL_PASSWORD will work.

Please don't PR code written by ChatGPT. Thanks.

repo: Snaacky/dndserver


text:
Suggestion: smoothing keyboard input

When I map keys (e.g. left and right arrow) to a joystick axis the deflection goes from 0-100% immediately.
It would be good if the code did smoother transition between 0-100, otherwise, it creates harsh turns in some games.
Will this be possible, please?

This plugin should do what you want. Unzip, paste the DLL into the UCR\Plugins\UCR.Plugins folder and run the unblock utility. Tell me if you have any issues.
ButtonsToAxisRamp.zip

works really well, thanks alot

authors: WelpThatWorked winkerbie

repo: Snoothy/UCR


text:
Question on Jinja templating support

Is there a support for Jinja templating inside "schemachange-config.yml" ? I think it could be useful to have the support to allow more flexible configuration as the values could vary based on environments. Thoughts?

Yep, this has just been release with version 3.3.0 (see PR #91)

repo: Snowflake-Labs/schemachange


text:
Sonos Amp night mode and speech enhancement support

Sonos Amp supports night mode and speech enhancement, but is not supported in the code because it is not listed as a soundbar.
I discovered this whilst using home assistant https://github.com/home-assistant/core/issues/35740
PR: https://github.com/SoCo/SoCo/pull/721

Fixed by #721.

repo: SoCo/SoCo


text:
Background does not move if text alignment moves

Describe the bug
If the background is enabled and text alignment is set to right, the background alignment does not change.
To Reproduce
Steps to reproduce the behaviour:

Set the text alignment to right or center.

Expected behaviour
The background also updating the alignment,
Screenshots

Minecraft Versions:

Game Version [1.21]
Mod Version [v4.6.2]

Thank you for the image and the well-written bug report; thanks for bringing the issue to my attention; I have found the issue in the code and will push the update along with Update 4.7.0.

authors: SoRadGaming fallenistaken

repo: SoRadGaming/Simple-HUD-Enhanced


text:
DATAGO-71704: Add instance type in EKS worker node defintion

What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR is to include instance_types details in EKS worker node definition. This is to make it backward compatible with existing clusters.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

Closing this PR as I made change in cluster upgrade framework (sc-k8s-clusters) to handle instance type being present in EKS node group launch template.


text:
update install docs, fix minor doc bugs

[x] Closes #635 .
[x] I am familiar with the contributing guidelines.
[x] Tests added.
[x] Updates entries to docs/source/api.rst for API changes.
[x] Adds descriptions to appropriate "what's new" file in docs/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
[x] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
[x] Maintainer: Appropriate GitHub Labels and Milestone are assigned to the Pull Request and linked Issue.

rendered installation docs
test failures are #650

rendered installation docs
test failures are #650

repo: SolarArbiter/solarforecastarbiter-core


text:
⚠ SolarOscp has degraded performance

In 2120aa7, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 428 ms

Resolved: SolarOscp performance has improved in 9db5ed8 after 9 minutes.

repo: SolarNetworkFoundation/upptime


text:
Ranger bug

After the last update my ranger after the second attack keeps crashing the game

Save?

tf.zip

authors: ThyWoof shiguemori

repo: SolastaMods/SolastaUnfinishedBusiness


text:
variant spell points

When using the "variant spell points" rule, using a 6th spell causes all 6th spells to be unavailable（1-5 spells still available）.Is it intended or a bug？

By the official rules. You can only cast 1 spell per level at or above 6.

authors: ThyWoof usedgun


text:
Bug: Commands no longer work after using NEW RECORD command

After successfully adding a record to a cluster within a collection certain commands are no longer working
Working:
EXIT
LOGOUT
VERSION
NEW CLUSTER
NEW COLLECTION
NEW RECORD
FOCUS COLLECTION and then preforming NEW CLUSTER while in focus mode works
FOCUS CLUSTER WITHIN COLLECTION
UNFOCUS
Not Working:
HELP any variation of it
ERASE CLUSTER erasing collection works
RENAME CLUSTER renaming a collection works
FETCH CLUSTER fetching a collection works
ERASE CLUSTER while in focus mode does not work
RENAME CLUSTER while in focus mode does not work
Im sure there is more combinations that work or dont work. Will need to test more later.
Something I coded when doing all the record stuff broke something. problme might be caused in records.odin

Fixed.
The bug was being caused OST_CHECK_IF_COLLECTION_EXISTS() from the collections.odin file when the proc was being called in OST_CHOOSE_RECORD_LOCATION() in the records.odin file

repo: Solitude-Software-Solutions/OstrichDB


text:
Swedish Translation of the Application

Hello! Here is my Swedish translation of the app! Hope you enjoy ;)

Moving to #19

repo: SoloUnity/valorant-store-checker-iOS


text:
Problems with sort_attributes

Hi!
I'm migrating my project from filterrific to this gem, but i've a problem with sorting by relationship attribute.
In my controller:
    smart_listing_create :projects,
                         Project.includes(:category, :thinker),
                         partial: 'projects/list',
                         sort_attributes: [[:category_name, 'categories.t_name']],
                         default_sort: { impressions_count: 'desc' }

In my index.html.haml:
= smart_listing_render :projects

In my index.js.haml:
= smart_listing_update :projects

My _list.html.haml:
%table.table.table-condensed.table-hover{ style: 'margin-bottom: 0;' }
  %thead
    %tr
      %th{ colspan: 2 }
        = smart_listing.sortable "Project", 'title'
      %th.hidden-xs
        = smart_listing.sortable "Category", 'categories_title'
      %th.hidden-xs.hidden-sm
        Founder
  %tbody
    - smart_listing.collection.each do |project|
      %tr
        %td{ width: 80 }
          = link_to project_path(project) do
            - if project.main_image
              = cl_image_tag(project.main_image.path, { size: '80x80', class: 'pull-left' })
            - else
              %img.pull-left{"data-src" => "holder.js/80x80"}
        %td{ style: 'vertical-align: top;' }
          = link_to project_path(project) do
            %strong= project.title
          %span.help-block{ style: 'margin-bottom: 0; margin-top: 0;' }
            %small
              = plain_text(project.description.lines.first).truncate(150)
        %td.hidden-xs
          = project.category.try(:name)
        %td.hidden-xs.hidden-sm
          = project.thinker.try(:name)
= smart_listing.paginate
= smart_listing.pagination_per_page_links

As you can see in my controller i've a sort_attributes that allows me to sort by category name but it doesn't work. No errors in console, simply doesn't apply the sorting.
If i remove sort_attributes, sorting works (not with relationship attribute).
I'm doing something wrong?
Thanks for your help.

Sorry, i was wrong with name.
Auto fixed :+1: :+1: :lollipop: