Pagination (Client Side Pagination) Issue with autoResetPageIndex={false} Causing Navigation Disruption When Deleting the Sole Record on Non-Initial Page

material-react-table version
1.14.0
react & react-dom versions
^18.2.0
Describe the bug and the steps to reproduce it
Current Behavior:
When utilizing the autoResetPageIndex feature with a setting of false, an issue arises when deleting the sole record on the second page. This leads to an incorrect display of "No records found" on the second page. Furthermore, the pagination buttons become disabled, preventing users from accessing the previous page even if there is available data.
Expected Behavior:
When autoResetPageIndex is set to false, the pagination should maintain its functionality even when the only record on a page is deleted. Pagination buttons should remain enabled, allowing users to navigate through available pages (Previous pages) without any disruption.
Steps to Reproduce:

Set autoResetPageIndex to false in the pagination configuration.
Navigate to the second page with a single record.
Delete the record on the second page.
Observe that the second page erroneously displays a "No records found" message.
Notice that the pagination buttons are disabled, preventing access to the previous page

Minimal, Reproducible Example - (Optional, but Recommended)
Additional Information:
This issue impacts user experience negatively by causing confusion and limiting users' ability to navigate to previous pages, even if relevant data exists.
The problem seems to be linked to how the autoResetPageIndex setting interacts with record deletions, especially when only one record remains on a page.
While setting autoResetPageIndex to true can automatically reset the page index, it's not a universally suitable solution, as there are scenarios where this behavior is undesired.
Consistency in pagination behavior is crucial for an optimal user experience, irrespective of the autoResetPageIndex configuration.
Screenshots or Videos (Optional)

Do you intend to try to help solve this bug with your own PR?
Maybe, I'll investigate and start debugging
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Hi @Marcus-Shah .
I've currently observed the same problem. Did you already find a solution by any chance?


feature: responsive footer // login & signup added

I will probably merge this into the other PR with all the home page responsive parts


Compressor

What's the Problem?
Sometimes, I have to keep source code in JSON file, for the future injecting this code. For now, I have to find website and paste code to website. Also, I have to escape some character to make JSON valid.
Solution/Idea
Method "Compressor" will compress any source code to one line. Also, it will be nice, if you add option "Escape character".
Alternatives
Made for HTML, but also works with CSS and JS
Priorities

Capability
Priority

This proposal will allow end users to to compress any code
Could

DevToys Version
Version <IP_ADDRESS> | X64 | RELEASE | 7c7c02a | 7c7c02a
Comments
I know, this is non standard situation and probably it's not important to realize it, but I will be happy, if you do it. Thank you for DevToys.

Perhaps more common name for tools like this is "Minifier".

Perhaps more common name for tools like this is "Minifier".

Can be, final desicion will make developers :D

Duplicate with #556


Build error on ios

Trying to run this app in iOS Simulator on Apple M1
Steps:

cloned latest project
yarn
cd ios && pod install
cd ..
yarn start
in another terminal in same folder, yarn ios

Error log:
yarn ios                                1 ↵
yarn run v1.22.17
$ react-native run-ios
info Found Xcode workspace "SolanaDappScaffold.xcworkspace"
info Building (using "xcodebuild -workspace SolanaDappScaffold.xcworkspace -configuration Debug -scheme SolanaDappScaffold -destination id=1480924F-61F5-4DFC-8454-3D86A161CDA0")
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening SolanaDappScaffold.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace SolanaDappScaffold.xcworkspace -configuration Debug -scheme SolanaDappScaffold -destination id=1480924F-61F5-4DFC-8454-3D86A161CDA0

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

note: Using new build system
note: Planning
Analyze workspace

Create build description
Build description signature: 67a3c5b7befd3ab50550e5f6730fa56b
Build description path: /Users/ritvij14/Library/Developer/Xcode/DerivedData/SolanaDappScaffold-coaxfqxwrjfwyrgwnqwkjzppxamr/Build/Intermediates.noindex/XCBuildData/67a3c5b7befd3ab50550e5f6730fa56b-desc.xcbuild

note: Build preparation complete
note: Building targets in dependency order
/Users/ritvij14/Desktop/Projects/dapp-scaffold-react-native/ios/SolanaDappScaffold.xcodeproj: error: The linked library 'libPods-SolanaDappScaffold.a' is missing one or more architectures required by this target: arm64. (in target 'SolanaDappScaffold' from project 'SolanaDappScaffold')

2022-09-10 09:43:16.515 xcodebuild[16103:96009] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-09-10 09:43:16.515 xcodebuild[16103:96009] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **

info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Same!
The important part is here:
2022-09-10 09:43:16.515 xcodebuild[16103:96009] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-09-10 09:43:16.515 xcodebuild[16103:96009] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore

I found this solution worked for me.
# Reinstall Xcode tools
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

# Reset the project
git clean -dfx .

# Reinstall dependencies and build
yarn
(cd ios && pod install)
yarn ios

Hey @steveluscher tried this, didn't work for me

Keep trying! Google around for that watchOS error message above and you'll find many people talking about various solutions. It seems that it all comes down to a corrupt/incomplete install of Xcode.


Adding Portuguese Brazilian translation

Translated everything through ChatGPT 4 with assistant Translate GPT

Thank you for the contribution @Sm1g00l! Just to double check: you mention Translate GPT, but did you verify the translations are correct yourself too? :) Thanks

Yes checking each value in json side by side and also doing some synonym checking to make it easier to understand some function.

como instalar ?


Playlist functionality, save JSON data to individual files.

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2021.02.22
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

WRITE DESCRIPTION HERE
I'm working with BitChute playlists, they can be very large.  Dumping the whole
playlist to a single file could involve scanning 1000 videos'.  Cancelling
that gets you nothing.
I would like to be able to have youtube-dl to scan the playlist and save individual
JSON files as the pages are scanned using a unique ID, probably the 'id' field,
this would be unique at BitChute.
This would also give you an idea of your progress, just by looking at what has
been downloaded so far.
I CAN PROBABLY DO THIS MYSELF if someone can point me at the relevant code,
recommend a command line switch and give me some pointers.
Looking at creating some level of implementation for editing the download
files instead of hoovering the whole thing or specifying by manual analysis
which files to get.  The JSON metadata is perfect for this.

Read FAQ.
--write-info-json                    Write video metadata to a .info.json
                                     file

Yes, and that also downloads the video.
Not what I want.
However using --skip-download with that does do what I want.
So I have what I want.


1.0.7 sphinx theme version is complaining about missing autoapi_depth config variable

@Revathyvenugopal162 - new sphinx theme version is complaining about missing autoapi_depth config variable. We should have  a value defined by default. Please patch release whenever you can...
Originally posted by @RobPasMue in https://github.com/ansys/ansys-tools-visualization-interface/issues/132#issuecomment-2309369858

Closing since issue was related to wrong config.


Update download-deps.py

Fix for URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)> error on mac osx

the andorid ci failed

could be fixed by: https://github.com/c4games/engine-x/pull/227


Gate way issue Discord

9833a7395829bb4e2d56.js:108 WebSocket connection to 'wss://gateway.discord.gg/?encoding=etf&v=6&compress=zstd-stream' failed: Error during WebSocket handshake: Unexpected response code: 520 I need some help as soon as anone can

This does not sound like an issue in this library. Feel free to update if you feel there's something that needs to be done here.


Ambiguous state: Participant.paid. Should be Participant.refunded

Ambiguous state: Participant.paid. Should be Participant.refunded
https://github.com/makoto/blockparty/blob/master/contracts/Conference.sol#L26
    struct Participant {
        string participantName;
        address addr;
        bool attended;
        bool paid;
    }

        require(participant.paid == false);

        participant.paid = true;

refund is true if the event is cancelled but users get deposit+extra so not sure refund is the correct term.

paid can be understood 2 ways: the person paid or the person has been paid (which is used in this context).
So probably: paid => 'been_paid'

Yeah that's better. I am trying to keep interface change to minimum as it breaks the compatibilities with older contracts, but I will consider putting in when we introduce breaking changes.


Compression sizes differ from pigz and gzip...

Hello.  Thanks for the great library.  I've leveraged this library in a small CLI tool called smallz that basically implements the union of pigz(1) and pv(1) in the same utility.  It's still early on, but seems to perform competitively with pigz.  The UX needs work, and the code looks like it was written over the course of a train and plane ride, but it works.  So thank you.
One of the things that I noticed while testing this is there's a ~2% delta between pigz/gzip and smallz.  Is this a known or understood phenomena?  Even when using 1MiB buffer sizes, the quick tests that I ran showed a 200MB vs 205MB delta and I was curious if this was known or needed further investigation.
Thanks in advance!

Yes, compression levels have been re-balanced so the compression options give a more linear response.
Compression level 1 has been re-written for more speed. This also means that the other levels have been adjusted accordingly and the "default" has been changed to a more appropriate threshold.
See more here: https://blog.klauspost.com/rebalancing-deflate-compression-levels/ (actual numbers are out of date, but the principle still applies)


Cz token

为确保 Token Profile 的顺利通过，务必逐一确保以下检查项并补充项目资料：
.json 及 .png 文件检查项

[ ] logo 尺寸：120*120 px
[ ] logo 背景：透明
[ ] 代币有至少一笔成功的转账记录
[ ] 此项对于 ERC-20 项目方：合约地址有大小写（做 checksum）
[ ] .json 和 .png 文件名一致（包括大小写）

项目资料：
官方公告：https://www.cjz.vip/172249635.html
团队背景：
创新型团队，推动创新、科技、创业投资、价值型财经等等的进步和发展，价值型驱动！
项目基本情况：
财经钻CZ，真正的价值币！币圈大变革进行中，这场变革由真正的价值币驱动，财经钻CZ目前正在引领币圈变革！财经钻CZ既是真正的价值型数字币/高价值币，也是国内外权威财经门户/主流门户和财经平台、独角兽，极具影响力和公信力，自成立之日起，财经钻（包含财经钻前身）从未推荐过问题理财产品，并且经过数年时间验证：财经钻推动的都是正确的（有几个能扛得住时间检验？财经钻能），价值型导向！财经钻已经成为意见领袖。财经钻CZ目前已经落地12个应用场景，更多世界级应用场景扩展中，推动创新、科技、创业投资、价值型财经等等的进步和发展。
媒体报道：
财经钻 https://www.cjz.vip/100003179.html
金色财经 https://www.jinse.com/news/blockchain/895376.html
火星财经 https://news.huoxing24.com/20201025174329498525.html
收录的交易所：
WBF交易所  https://www.wbfex.live/trade/CZ_USDT
ZG交易所  https://www.zg6.com/exchange/737/CZ/USDT
Uniswap交易所  https://app.uniswap.org/#/swap
转账所需 Gas Limit（对 ERC-20 项目方）：60000

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[ ] logo dimensions: 120*120 px
[ ] logo background: Transparent
[ ] At least one transaction on the token contract
[ ] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[ ] Same document name for both .json and .png (Including capitalization)

Project background:
Official announcement: https://www.cjz.vip/172249635.html
Project team background:
The team is an innovative one, pushing the advancement and development of the innovations, technology development, entrepreneurship investment and value finance etc... Value-Driven
Project basic information:
CZ (cjzvipe), CZ is the real value-oriented digital currency! Amid the big changes in the cryptocurrency community, which is brought by the real value-oriented digital currency, CZ is the forerunner of this revolution! CZ is not only a real value-oriented cryptocurrency/high-value cryptocurrency but also a trustworthy financial portal/mainstream portal and financial platform, unicorn with great influence and credibility. Since its establishment, CZ (including the predecessor of CZ) never recommend any questionable financial product. After years of confirmation, what CZ advocated has been proven to be right, which few others can say the same. Its value-oriented property is the key! CZ has become an influential leader, with immense weight! With 12 applicable scenarios in operation and more scenarios are under development, CZ is pushing the advancement and development of the innovations, technology development, entrepreneurship investment and value finance etc...
Media publications:
财经钻:  https://www.cjz.vip/100003179.html
金色财经:  https://www.jinse.com/news/blockchain/895376.html
火星财经:  https://news.huoxing24.com/20201025174329498525.html
Tradeable exchanges:
WBF exchange:  https://www.wbfex.live/trade/CZ_USDT
ZG exchange:  https://www.zg6.com/exchange/737/CZ/USDT
Uniswap exchange:  https://app.uniswap.org/#/swap
Recommended Gas Limit (For ERC-20 project teams) for transaction: 60000

非常抱歉，由于该项目存在较多不实信息，无法合并。


Update type definition

Update type definition to make non-mandatory props optional so it's compatible with Typescript. (issue raised in #38 )
In this PR:
--- Update package.json and package.lock.json to use<EMAIL_ADDRESS>(minimum version to support Fragment so the test passed).
--- Remove unused anime.d.ts file.
--- Update type definition.

Codecov Report

Merging #45 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #45   +/-   ##
=======================================
  Coverage   58.62%   58.62%
=======================================
  Files           1        1
  Lines          29       29
  Branches        7        7
=======================================
  Hits           17       17
  Misses          8        8
  Partials        4        4

Continue to review full report at Codecov.

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

Wow, I like what you did with the typescript definitions, with those flat pipes 😁:
export type Easing =
  | 'easeInSine'
  | 'easeOutSine'
  | 'easeInOutSine'
  | 'easeInCirc'
  | 'easeOutCirc'
  | 'easeInOutCirc'
  | 'easeInElastic'
  | 'easeOutElastic'
  | 'easeInOutElastic'
  | 'easeInBack'
  | 'easeOutBack'
  | 'easeInOutBack'
  | 'easeInBounce'
  | 'easeOutBounce'
  | 'easeInOutBounce'
  | 'easeInQuad'
  | 'easeOutQuad'
  | 'easeInOutQuad'
  | 'easeInCubic'
  | 'easeOutCubic'
  | 'easeInOutCubic'
  | 'easeInQuart'
  | 'easeOutQuart'
  | 'easeInOutQuart'
  | 'easeInQuint'
  | 'easeOutQuint'
  | 'easeInOutQuint'
  | 'easeInExpo'
  | 'easeOutExpo'
  | 'easeInOutExpo'
  | 'linear'
  | [number, number, number, number];


Incorrect Axis?

I think the axis=2 is wrong in this  line. The docstring says the shape should be BxHxWxC, which would make axis=2 take the argmax over the width dimension, but I think you mean to take it over the class dimension. But seeing as how your code worked using axis=2 I assume it is not a mistake in the code but rather the docstring is incorrect. I guess the inputs to the function are using HxWxC dimensions.

I don't have the code in a runnable state now, but I do remember there was a discrepancy like this in the DSRG code. You can double-check if this is the case, but I'm rather confident my code does it correctly.


fix: add eks:DescribeCluster to irsa policy

Description
According to the docs, the IRSA policy requires eks:DescribeCluster
Motivation and Context
https://github.com/aws/karpenter/issues/3584
Breaking Changes
N/A
How Has This Been Tested?

[ x] I have tested and validated these changes using one or more of the provided examples/* projects

we have that API call https://github.com/terraform-aws-modules/terraform-aws-eks/blob/51cc6bec880ac8dc361b60a4b05d5f2bcd98eb6a/modules/karpenter/main.tf#L140-L143

Thanks for the response! closing.

Thanks for the quick response! closing


Upgrading from twython 2.8.0

Hi,
I'm just auditing the dependencies in one of my projects.
It currently has twython==2.8.0 and that version requires requests==1.2.0 which is pretty old
Question:  are you aware of any breaking changes between 2.8.0 to current 3.4.0 of Twython?
Apologies if there's a changelog detailing this somewhere that I haven't found

Most of the changes happened in 3.0.0 that would break any backwards compat.
https://github.com/ryanmcgrath/twython/blob/master/HISTORY.rst#L61
If you have any questions on your quest of upgrading feel free to ask in this issue! I'll try to help to the best of my ability

oh, just found a pretty good changelist here too https://pypi.python.org/pypi/twython :)
thanks

Oh yep. That works too!

typically it's probably used in a part of my project with poor test coverage... sigh
anyway, thanks


Added mutable-content to IOSNotificationItem to support Notification …

Added mutable-content to IOSNotificationItem to support Notification Service Extensions.
The mutable-content flag must be set in the aps payload in order to support notification service extensions from remote notifications.

Not really sure why the formatting is so off... I added them in Xcode and the formatting looks fine when I open it.

Wow this one is quite old. I apologize for the neglect.


Browse instvar readers/writer/both searching in all super/subclasses ...

Should be fixed in 3.0.82

Verified fixed in 3.0.91. Since it wasn't closed, it wasn't doc'ed.


Dev - multi imgs in profile avatar

Pick character of MBTI with ENTJ randomly.

The animation of rotate-Y occur the issue of stuck and stop, and the reason maybe was toggling the mbti img.

The solved method was going to generating several randomly sequence to a queue before toggling img, and use the index of sequence to get the url of mbtl img.


getDefaults returns undefined for optional with a default of empty string or false

Problem
getDefaults returns undefined for an optional with a default set to an empty string or false. I believe it should return the value supplied.
Note: This same issue applies to getFallbacks with fallback. In all cases, parse does the right thing.
Example:
import { object, optional, string, getDefaults } from 'valibot';

const Schema = object({
  field: optional(string(), ''),
});

const schemaDefaults = getDefaults(Schema)

console.log(schemaDefaults);

I believe the reason for the current behavior may be here:
https://github.com/fabian-hiller/valibot/blob/6578c3304062e6c2e5cb14fc0f4d6dbb1e6eaffb/library/src/methods/getDefaults/getDefaults.ts#L34C3-L34C24
Rationale
I'm currently evaluating a move from TypeBox to Valibot for form validation because dealing with the validation of unions in TypeBox is complex, and potentially maintaining two schemas for input and output is undesirable. We use Value.Create(Schema) to obtain the initial state of our form from our "single source of truth" about the shape of the form state object. I was attempting to re-create this with Valibot.
In React + MUI, we cannot (or should not) set the initial value of our form fields to undefined unless we intend to operate them uncontrolled, which is discouraged.
Workaround
Using a function to supply the default value renders the desired result.
import { object, optional, string, getDefaults } from 'valibot';

const Schema = object({
  field: optional(string(), () => ''),
});

const schemaDefaults = getDefaults(Schema)

console.log(schemaDefaults);

Misc
Valibot looks very nice overall. Thank you!

Thanks for reporting this bug. I will change the if-statement to schema.default !== undefined and release this change with the next version. Until then, a function can be used as a workaround when passing empty strings.

v0.26.0 is available


[ESTree] UpdateExpression vs UnaryExpression

Parsing this: x ** ++y and I noticed that in the ESTree you got a UpdateExpression.
According to the specs the UpdateExpression is the group, but sub expressions are UnaryExpression.
http://www.ecma-international.org/ecma-262/7.0/#sec-12.4
If you parse the same with Acorn, you get correct result.

Thanks for the report @crazyhuggins.
I'm not following the problem. The source text x ** ++y will be parsed into the following syntax tree (after JSON.stringify):
{
    "type": "Program",
    "body": [
        {
            "type": "ExpressionStatement",
            "expression": {
                "type": "BinaryExpression",
                "operator": "**",
                "left": {
                    "type": "Identifier",
                    "name": "x"
                },
                "right": {
                    "type": "UpdateExpression",
                    "operator": "++",
                    "argument": {
                        "type": "Identifier",
                        "name": "y"
                    },
                    "prefix": true
                }
            }
        }
    ],
    "sourceType": "script"
}

This seems to be correct.

Ping  @crazyhuggins.

I think it is a misunderstanding. The fact that the specification describes a production such as UpdateExpression  :   ++ UnaryExpression does not mean that we need to create something like an UnaryExpression node.


Include priority class

Description
Changes proposed in this pull request:

Introduce priority class for daemonsets
Include tests for the priority
Include tests for logs

Related issue(s)

https://github.com/kyma-project/kyma/issues/17157

/test pull-telemetry-manager-e2e-test

/retest

/retest

/test pull-telemetry-manager-e2e-test


Swift 3

Would be good to track a swift-3 branch on the main repo so people know its available.
Tests passing on Travis CI 😊

Any chance this could become an officially tracked branch?

I've just migrated the library to use Swift 3 exclusively. Sorry for the delay.


[xgboost4j-spark] How the XGBoostEstimator generate the probabilities?

I generate a pmml model file using XGBoostEstimator in scala. I want to load the pmml file and write a predictive function in C++. But I'm not clear how to predict the result. According to the file, I sum the arrived leaf score of all trees and get a.  Next I pass the a to the sigmoid funtion, eg, b = 1/(1 + exp(a)). However, b differs from the probabilities. Can anyone elaborate on the prediction process? The params and the pmml file as follows:
val paramMap = List(
"ntree_limit" ->1,
"num_round" -> 1,
"booster" -> "gbtree",
"objective" -> "binary:logistic",
"base_score"->0.5
).toMap
the pmml files:
https://github.com/TangShuangshuo/spark2pmll/blob/master/gbdt.pmml9

In fact, I add the base score(0.5). According to the pmml file, if I provide the data with feature “9004”=0, "2506"=0, then I reach node 4 which score is -0.5438435. There are 1 tree in all. That is to say, the sum of leaf score is -0.5438435. Then I add the base score(0.5), then score=-0.5438435 + 0.5=-0.0438435. Then pass the score to sigmoid, 1 / (1 + exp(-(-0.0438435)))=0.48904. However, the output column probabilities is [0.6200730800628662,0.3799269199371338]. Is there anything wrong with me? Is there any way to output rawPrediction?

Can you save XGBoostEstimator into a model file so that it can be loaded from Python? Please call model.get_dump() from Python and post the output.

Also there is distinction between feature value 0 and missing value. Maybe your original input contains missing values, not 0s?

There is no missing values, I print a sample.
|label|1004                |1007               |1009               |1013                |8005              |8007              |8008|10013             |1514|8004|8012|2502|2503|2504|2505|2506|2507|2508|2509|9001|9004|10005|10006|10007|10008|10009|10010|10011|10012|1004_index|1004_Vec          |1007_index|1007_Vec         |1009_index|1009_Vec     |1013_index|1013_Vec     |8005_index|8005_Vec     |8007_index|8007_Vec     |8008_index|8008_Vec     |10013_index|10013_Vec    |vectorFeature                                                                                |probabilities                          |prediction|
+-----+--------------------+-------------------+-------------------+--------------------+------------------+------------------+----+------------------+----+----+----+----+----+----+----+----+----+----+----+----+----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------+----------+-----------------+----------+-------------+----------+-------------+----------+-------------+----------+-------------+----------+-------------+-----------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------+----------+
|1    |13533035807390868163|6627214347076536788|7277620126963242199|14246401412233225735|982172615075650808|873996356351234391|NA  |402788895916821208|819 |9   |1   |0   |0   |0   |3   |0   |0   |3   |1   |0   |0   |-1   |-1   |-1   |-1   |-1   |-1   |-1   |-1   |885.0     |(1460,[885],[1.0])|114.0     |(127,[114],[1.0])|0.0       |(1,[0],[1.0])|0.0       |(6,[0],[1.0])|2.0       |(9,[2],[1.0])|2.0       |(3,[2],[1.0])|0.0       |(9,[0],[1.0])|0.0        |(8,[0],[1.0])|(57,[0,1,9,18,19,28,36,37,38,42,45,46,49,50,51,52,53,54,55,56],[1.0,1.0,1.0,1.0,1.0,1.0,819.0,9.0,1.0,3.0,3.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0])|[0.6200730800628662,0.3799269199371338]|0.0       |

I see. Try importing the model from Python.

I also want to ask if the column probabilities is transformed by the rawPrediction with sigmoid under my current parameters,or there may be other ways of transformation?

It should be sigmoid for binary classification. Can you post the dump you get after importing the model into Python?

See https://xgboost.readthedocs.io/en/latest/jvm/xgboost4j_spark_tutorial.html#interact-with-other-bindings-of-xgboost for instructions

For 0.72 version, run model.booster.saveModel()

Any updates?

This answer should meet with my questio. https://github.com/jpmml/jpmml-sparkml-xgboost/issues/1.
I've tested that it gives wrong predictions when my data contains category features, and gives correct predictions when it doesn't.


Bookmark AOI

Fix #114. Based on #117. This also fixes a bug where the share button was updated on timeframe change.
@LanesGood ready for review. After you share some timeframes, the AOI count on the project list page should be more than zero.

I'm closing this in favor of #115.


feat: set weekly interval in dependabot.yml

Codecov Report
Base: 6.87% // Head: 6.87% // No change to project coverage :thumbsup:

Coverage data is based on head (70caf37) compared to base (c72075c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##              main    #509   +/-   ##
=======================================
  Coverage     6.87%   6.87%
  Complexity      58      58
=======================================
  Files           18      18
  Lines          160     160
=======================================
  Hits            11      11
  Misses         149     149

Flag
Coverage Δ

unittests
6.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Include support for proposed username in WsFederation request

Is your feature request related to a problem? Please describe.
While adding ADFS integration to my v2.2 asp.net core application using WsFederation in the Security namespace I found (just lucky) that if I include a query parameter in the request to ADFS named username, the authentication prompt from ADFS will pre-populate the user name.  This improves my user experience because at the time I make this request, I already know who wants to authenticate. I was able to implement this in an event handler override for WsFederationEvents.OnRedirectToIdentityProvider, but I think it would be worth supporting this more natively in the WsFederation (or maybe RemoteAuthentication) middleware.
Describe the solution you'd like
In method WsFederationHandler.HandleChallengeAsync, the instance of WsFederationMessage is built and the parameters sent with this request could be expanded to include the username (and perhaps any other currently unsupported fields), maybe by using key/value pairs from the caller supplied properties. If this is unique to WsFederation maybe this means a new properties class derived from AuthenticationProperties.
Describe alternatives you've considered
I could just continue with my event override but I think you should support the full protocol, even things that are optional for the auth service.  People mostly don't know about these things if you don't have a field for it and this is a great way to document availability of a nice feature.
Additional context
na

@Tratcher we don't have a way to pass anything into SignIn/Challenge do we? A key/value dictionary sounds awful, as people are simply going to make parameters up and see what sticks, it's a failure focused API.

We already do this with Google OAuth and OIDC via AuthenticationProperties. Is username a standard field or adfs specific?

I can't see anything, but the specs are so spread out, who knows

FYI I originally tried the query parameter because I found it mentioned here

Oof, the use of that is super limited,
<18> Section 2.2.3: The username parameter is not supported on Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, or Windows Server 2012. Additionally, in AD FS, if the AD FS behavior level is set to AD_FS_BEHAVIOR_LEVEL_2 or higher, this parameter is used to derive the IP/STS that receives the wsignin1.0 request message

For context, the version of server where this was successful for me is 2012 R2.
Regarding the second part of the footnote, I believe the comment on the elevated behavior level setting (to server 2016 feature set) refers to a requirement that AD FS performs an additional function of identifying another IP/STS (based on the username value) to which the request should be forwarded when acting as a member of an AD FS farm, which is a separate feature, but hopefully not inconsistent with this suggestion.
Thanks for considering.

Closing because we think the current support is sufficient.


Added new row ROWRANK to table tabular_file_destinations

This conflicts with current changelog-master. I pulled the addColumn tag into my copy and will incorporate it that way.


Does Hybrid Join require a certain AD DS Schema version..?

I have been working to enable Hybrid Device Join using AD Does Hybrid Join require a certain AD DS Schema version..?Connect (version <IP_ADDRESS>) in an environment very sensitive to change and where updating the AD DS Schema version is not currently an option.
My prior existing of ADHJ is that the SCP is required but no changes to the AD DS Schema version.
When trying to configure this today the AD Connect wizard presented the warning below:

This has effectively stopped the project until I can get confirmation that the Schema update is not required for ADHJ.
Please advise as soon as you can.
Regards
Sam

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

ID: 28382bfc-6798-6aaf-6e65-3791a074b16b
Version Independent ID: 2b0e4a55-349b-1378-4db1-9f551a202dfd
Content: How to configure hybrid Azure Active Directory joined devices
Content Source: articles/active-directory/devices/hybrid-azuread-join-plan.md
Service: active-directory
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@mtwelve
Thanks for your feedback! We will investigate and update as appropriate.

Hi @mtwelve , I have reached out to someone from the product team to confirm an answer for you.
CC: @MarkusVi

Thank you @MarileeTurscak-MSFT

Unfortunately. No. I escalated this to my contacts but no one has replied. I will ping them again.

If you have further questions about this please post the thread to MSDN, link it in the comments and tag me and we will gladly continue the discussion. https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD

@MarileeTurscak-MSFT please re-open this comment. I understand that to use a Window Server 2012 R2 Domain Controller within our environment the Schema must be upgraded but I am not asking that.
I am asking specifically if enabling and using Azure Hybrid Join for devices requires the AD DS Schema to be 2012 R2?
It is not documented as a requirement.
It is presented in the wizard as a warning despite it not being document as a requirement and there no being any foreseen technical reason why it would be required.

There is now a thread here - https://social.msdn.microsoft.com/Forums/en-US/c465ecda-6287-49c0-98a8-27dd6be7c9a7/does-hybrid-join-require-a-certain-ad-ds-schema-version?forum=WindowsAzureAD
I'd appreciate anything you can do to get anyone internal to comment on this question if this documentation comment is not going anywhere further.

Update from the product team:
Schema update is only required for device writeback and not for hybrid Azure AD join. Your question alerted us to some erroneous text which we are fixing. thanks so much!

Closing this out since an answer has been found. Thanks for pointing this out, @mtwelve !


Added static variants

Shouldn't you write the tests as well? :)

@robinpokorny You ask, we deliver.


Add a func readn  to TCPReadableSocket

as TCP is a stream protocol, At many times, one data packet may be send within different segment.
so a readn func would help us a lot.
advices need to improve it.

sorry there are some exp file in this branch ,I'll close this PR. and then create another


Fix the issue #56 on interrupted signal

SourceThread should catch InterruptedException and then exit.

This pull request resolved #56.


Daemon flags for swarm join

The engine should probably have flags such as --swarm-join. This would help automation.
/cc @icecrime @tonistiigi @tiborvass @stevvooe

Agreed, ran into this trying to set up a docker-in-docker swarm cluster through docker-compose

+1 -- I built https://github.com/tianon/docker-dind-cluster/blob/2b43e6efc1aba32086337427085a1d1434510db7/docker-compose.yml with Swarm + Docker 1.11, but it's really hacky and hard-coded to three nodes so that it works and creates a cluster reliably.
The only other option (both with old Swarm and new Swarm) that I can come up with is to have some kind of hacky script which runs swarm join after the daemon has started up, which is really fragile (and if anything goes wrong, the daemon is still running without any good indication that something happened).
Ideally, there'd be some way to specify the "Swarm master" node and the "Swarm join" via a daemon flag, and then docker-compose scale docker=N could be used to scale the cluster up and down dynamically (which is a heavily over-simplified example, but I think one which maps to "real" Docker instances just as well as it does for DinD).

Closing for now, per https://github.com/docker/docker/pull/24770#issuecomment-248325444, but I'll open a new issue for tracking improvements for automated setup of a Swarm in general.

opened https://github.com/docker/docker/issues/26743


How to uninstall Rust in your computer

Thanks man:
https://onelinerhub.com/rust/how-to-uninstall-rust


Aviator

Necesito el acceso

The app is not accessible it says wrong password and website link is crashing

Hi

I got aviator app but the password was wrong it never worked till it got
deleted
On Wed, Dec 4, 2024, 19:28 Aqeelmehmoodk @.***> wrote:

Hi
—
Reply to this email directly, view it on GitHub
https://github.com/killuavit/aviatorpredictor/issues/2#issuecomment-2518094214,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNLN4JSCS33BR5XUNORMW4D2D43T3AVCNFSM6AAAAABQJXC3ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJYGA4TIMRRGQ
.


Japanese title

Is there any way to get the Japanese title?

At https://api.jikan.moe/v3/anime/1, theres a title_japanese key.

So after I get the anime id from http://api.jikan.moe/v3/search/anime?start_date=1998-04-03&sort=asc&order_by=start_date I should make other requests to https://api.jikan.moe/v3/anime/${id}? isn't it possible to get it from the first request?

That is correct, youd have to make multiple requests. (make sure youre waiting between requests according to https://jikan.docs.apiary.io/#introduction/information/bulk-requests
The search request is parsing this page https://myanimelist.net/anime.php?q=boku no hero&type=0&score=0&status=0&p=0&r=0&sm=0&sd=0&sy=0&em=0&ed=0&ey=0&c[]=a&c[]=b&c[]=c&c[]=d&c[]=e&c[]=f&c[]=g and theres no japanese titles on that page, so no way for MAL to get extra info for each anime from the search endpoint.

Ok, thanks


Michael Jorisch Final Project

Final Project

You win the prize for quality of commit messages.
You can remove that misnamed file you have with a
git rm Orbital_Pertubations.ipynb
git commit

Great log history!
You only need one final "polish" for professional commits:
http://chris.beams.io/posts/git-commit/#imperative

In general, an interesting project that shows you tackled your chosen topic methodically and successfully. I was left with some questions, however. You didn't add a final discussion, explaining the results: what do we see? what is the effect of Jupiter? what does it mean? And also: how do you know that your calculation is correct? what are the errors?
Detailed comments
Figure 1: Since the credit line is too long, it would be nicer to just say "Credit: Junkins & Schaub (2000), page .." and add the full citation to your reference list.
You introduce the equations for Keplerian orbit and perturbed orbit, without telling us what the symbols mean. The various radii are shown in Figure 1, but you still should say something in the text to that effect; and \mu needs to be defined —I had to go to Schaub & Junkins Ch. 7 to find out that \mu=G(m_1+m_2).
You started using m_1 and m_2 below without explanation, too.
Overall, I thought you could give your reader better explanation of these equations.
"The two accelerations cancel out many times." What? It's not clear what you want to say in this sentence. I had to go to the source to find out that it means that quite often, the two acceleration terms almost cancel each other.
"This leads to:" ... what leads to? The fact that the accelerations cancel each other? Or the equations above that statement?
And we have to guess that m_3 is the mass of the perturbing body.Ah! But finally you tell us what the masses are! Earlier would have been better (or you may lose your reader).
"… the radial and velocity components" —> components is not the right word; maybe "difference vectors" would do.
Use a backslash in math mode for functions like sin & cos. That way they'll be rendered in roman font and we can distinguish them from nearby variable names.
Nice docstrings!
And thank you for adding a credit line in your function declaring that the code is based on that in Tewari's book with Matlab.
"The loop uses a crude method of integration (Tewari pg 166) …" What method is this? We are left wondering …
Also, you show a workaround to avoid problems when one term is close to zero at the beginning of the calculation (using the new variable B). It's not clear immediately why this works. It would have been nice to explain it.
You then present one example result, for the perturbed orbit of Mars around the Sun, affected by the presence of Jupiter. But you just plot the result without any discussion. Your reader may not know immediately what she is seeing, and what it means. What do we learn?
How do you know your answer is correct?
How could you quantify the errors made?
Typos, grammar, etc.
This fails to take into account the affect  … —> effect [*]
of outside bodies —> of additional bodies? (all bodies are outside, aren't they?)
on the orbital trajectory and can produce an orbit —> , which can produce (?)
These orbits play a large role in our daily lives. —> I would just delete this sentence, and start: "There are numerous satellites …"
Legrangian —> Lagrangian (twice)
[*] See http://grammarist.com/usage/affect-effect/


Tweak of a typo in docs.

Fix of broken link in docs.

Codecov Report

Merging #352 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #352   +/-   ##
=======================================
  Coverage   99.73%   99.73%
=======================================
  Files          28       28
  Lines        2253     2253
=======================================
  Hits         2247     2247
  Misses          6        6

Continue to review full report at Codecov.

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


bloom filter seems to be not enough for defending replay attack

even with bloom filter enabled, the client can establish tcp connection with server and the server can establish tcp connection with foreign network, but pages like google wont load.
Chrome, the browser, complains with error message ERR_CONNECTION_TIMED_OUT or ERR_CONNECTION_CLOSED.
I can see some error message in client log, like:
“relay error: read tcp xxx.xxx.xxx.xxx:xxxx->xxx.xxx.xxx.xxx:xxxx: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”
and rarely like:
“relay error: read tcp xxx.xxx.xxx.xxx:xxxx->xxx.xxx.xxx.xxx:xxxx: wsarecv: An existing connection was forcibly closed by the remote host.”
I can also see some error message in server log, like:
"relay error: read tcp xxx.xxx.xxx.xxx:xxxx->xxx.xxx.xxx.xxx:xxxx: read: connection reset by peer"
and less often like:
"relay error: read tcp  xxx.xxx.xxx.xxx:xxxx->xxx.xxx.xxx.xxx:xxxx: read: connection timed out"
maybe it is time for the protocal of shadowsocks to be updated, or add verification for something strong in temporal effectiveness like timestamp

any advice is appreciated, thank you

well. I implemented a mechanism to defend replay attack based on timestamp and salt which is generated randomly before every tcp connection is established.
hope you guy can follow up. : )


MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.UNAVAILABLE

Hi everyone. I am using MNIST with PyTorch on OpenFL. Training starts but after 1 round I have this error on the envoy:
METRIC   Round 0, collaborator env_one is sending metric for task aggregated_model_validate: acc 6.595200                         collaborator.py:402
[21:12:43] INFO     Response code: StatusCode.UNAVAILABLE                                                                                aggregator_client.py:57
           INFO     Attempting to connect to aggregator at localhost:59575

While on the director:
METRIC   Round 0: saved the best model with score 6.595200                                                                          aggregator.py:816
[21:12:42] INFO     Saving round 1 model...                                                                                aggregator.py:850
./start_director.sh: line 4: 31695 Killed

And in the notebook:
_MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "Socket closed"
	debug_error_string = "{"created":"@1644268363.773899766","description":"Error received from peer ipv4:<IP_ADDRESS>:50051","file":"src/core/lib/surface/call.cc","file_line":1063,"grpc_message":"Socket closed","grpc_status":14}"
>

I am using OpenFL via ssh on a cluster. The strange thing is that It works with a simple (2conv layers and 2 fc layers) network, but now with a greater network it does not work

@CasellaJr could you please double-check that director was not killed due to some OS rules, like for example if it's not enough resources for him, OS just kills Director and that's why you are receiving connection issue?

How can I double-check?

@CasellaJr, is MNIST with PyTorch a custom notebook? If yes can you please share it so that I can try to reproduce the issue?

Closing this issue as it is not reproducible with OpenFL 1.6. Additionally, we are taking steps to deprecate the Interactive API in favor of Workflow API (FederatedRuntime to be introduced in OpenFL 1.7).


Update 86box-romset.json

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

I'll merge it first so that the manifest can sync to latest.


Improve error handling in prediction API

Prediction API now returns message specifying if a needed parameter is not
passed to the prediction algorithm, and passes error messages that occur within
the prediction algorithm.
Description
The API passes an error message if a non-existent algorithm is selected, as before. The API now also passes an error message if a necessary parameter to the algorithm is missing, specifying the algorithm chosen and the required parameter.  All other errors (e.g., bad DICOM file path) should be caught within the prediction algorithm, and these messages are caught and passed through the API.
Reference to official issue
Fixes issue #11
How Has This Been Tested?
These changes are tested through additional tests in test_endpoints.py. To properly test the response to bad DICOM paths, I modified the "predict" functions of the three "trained_model.py" modules to load the passed DICOM path. This loaded image is currently simply discarded after loading.
Screenshots (if appropriate):
CLA

[x] I have signed the CLA; if other committers are in the commit history, they have signed the CLA as well

Current travis error

Hi @alexanderrich good job with this! A few requests before we can get this merged:

rebase and fix the conflicts
figure out what's causing the travis test to fail
refactor the predict function in views.py to return just once

num 2 looks related to git lfs so it may be out of your control. I'll try to investigate that one...

Great, I'll fix (1) and (3). (2) seems connected to Issue #69 - I noticed that Travis failed after my first and third commits, but ran successfully on my second, so I think the issue is external.

(1) and (3) are resolved, but it looks like Travis is encountering the same issue.

LGTM. @reubano ? :)

Good point, just made that quotation-mark fix and squashed with previous commit

@alexanderrich Thanks. I'll leave this assigned over to @reubano to merge...

...it looks like Travis is encountering the same issue.

Yea, hopefully we'll get that addressed soon.

@alexanderrich I believe the travis errors have been fixed. A rebase to master should make everything turn green :).

All green! You mind squashing to 1 commit?

@reubano wrote:

All green! You mind squashing to 1 commit?

Just a reminder we can do this on merge.. even within Github!


Add support for Managed Identity

Add support for Managed Identity
Added ManagedIdentity as a CredentialType
Description
Added Managed Identity to the Credential Type, Description, and Source classes. Created a new class ManagedIdentityOptions with the three relevant fields ClientId, ObjectId, and HostResourceId
Fixes #1775 #2551

using System;

are all the usings needed?

In reply to:<PHONE_NUMBER>

Refers to: src/Microsoft.Identity.Abstractions/ManagedIdentity/ManagedIdentityType.cs:1 in 11fde20. [](commit_id = 11fde206379775f9e8e544b82cbd08d55b49a816, deletion_comment = False)


Using attribute of type enums for a schema causes schema validation to fail

Using attribute of type enums for a schema causes schema validation to fail.
I.e When an attribute is defined with type other than scalar types, (Enum is non scalar) this causes schema validation to  fail.

This seems to be an issue with how babel plugin transforms enums, trackd here at https://github.com/leonardfactory/babel-plugin-transform-typescript-metadata/issues/43


Implementation refresh_token

Follow: OAuth 2.0 Refresh Token
When get access token, generate a refresh token at the same time.
Client can get new access tokens from api using refresh token.

@seriouszyx


OSCI: Initial test PR

Description
Per title
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
CI is sufficient

/test style-checks

/test style-checks

/test style-checks


bug: which-key v3 does not work well with vim.opt.keymodel = 'startsel'

Did you check docs and existing issues?

[X] I have read all the which-key.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of which-key.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0
Operating system/version
Linux Fedora 40
Describe the bug
When using:
vim.opt.keymodel = 'startsel'

One can enter the visual mode by pressing shift+motion, for example shift+down, which will enter the visual mode and select one line. With which-key v3 this no longer works well, when pressing shift+down the which-key popup appears, but no selection is visible and it waits for another input, if then down is pressed again then which-key popup is closed and two lines are selected. This worked fine in v2 where which-key would not show the popup immediately when entering visual mode.
I tried disabling the visual mode (opts.modes.x = false), however then when in visual mode all which-key help is disabled which is not desired, for example I would still like to see the help for g in visual mode.
I tried using mode.defer for shift-up, shift-down, like this:
      require('which-key').setup {
        modes = {
          defer = {
            ['<S-Up>'] = true,
            ['<S-Down>'] = true,
          },
        },

But it does not work.
Is there any other way to disable which-key on visual enter, but still have it working in visual mode for other combos such as g and others?
Steps To Reproduce

enable vim.opt.keymodel = 'startsel'
press shift-down

Expected Behavior
visual mode should be entered and one line selected
Health
==============================================================================
which-key: require("which-key.health").check()

- OK Most of these checks are for informational purposes only.
  WARNINGS should be treated as a warning, and don't necessarily indicate a problem with your config.
  Please |DON't| report these warnings as an issue.

Checking your config ~
- WARNING |mini.icons| is not installed
- WARNING |nvim-web-devicons| is not installed
- WARNING Keymap icon support will be limited.

Checking for issues with your mappings ~
- OK No issues reported

checking for overlapping keymaps ~
- WARNING In mode `n`, <gc> overlaps with <gcc>:
  - <gc>: Toggle comment
  - <gcc>: Toggle comment line
- OK Overlapping keymaps are only reported for informational purposes.
  This doesn't necessarily mean there is a problem with your config.

Checking for duplicate mappings ~
- OK No duplicate mappings found

Log
No response
Repro
vim.opt.keymodel = "startsel"

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/which-key.nvim", opts = {} },
    -- add any other plugins here
  },
})

Never heard of that.
You can probably set opt.modes.defer.v = true

I tried the opt.modes.defer.v = true and while it disabled the which-key popup when pressing v, it does not work for  shift+down.
For info, the keymodel option is:
'keymodel' 'km'		string	(default "")
			global
	List of comma-separated words, which enable special things that keys
	can do.  These values can be used:
	   startsel	Using a shifted special key starts selection (either
			Select mode or Visual mode, depending on "key" being
			present in 'selectmode').
	   stopsel	Using a not-shifted special key stops selection.
	Special keys in this context are the cursor keys, <End>, <Home>,
	<PageUp> and <PageDown>.

Probably because shift J is join lines?
Either way, I'm really not going to further look into this. Just disable x mode.

It's not J as in shift-j but Shift plus cursor key Down.
I will try to find a solution and post it here if I find one...

In case anyone else encounters the issue with keymodel = 'startsel', here is a config with the latest which-key that works around the problem:
triggers = {
  { '<auto>', mode = 'nisotc' },
  { '<leader>', mode = { 'v' } },
  { 'g', mode = { 'v' } },
},


iOS 12 crash on app startup

Description
We've been running in to a startup crash on v0.1.225 and v0.1.234. I've reproduced this both in our main app as well as a fresh test app using the attached steps. There are no references to skia from JS at all in the test app; and in our main app we are only loading modules that import RN skia on Android. That doesn't seem to matter, and as a result we've had to uninstall Skia from all iOS builds since we need to continue to support iOS 12.
For our use case we have a previous implementation that solves our graphics needs using WebView, but recently upgraded to Skia for performance. The result significantly faster on Android, and we'd love to see that improvement on newer iOS devices as well. We are fine with continuing to use the old implementation on iOS 12, but because the app crashes at startup we have no way to prevent it without uninstalling it altogether.
Any suggestions?
Issue seems related to https://github.com/Shopify/react-native-skia/issues/1318, though in that version it appeared removing references to the library on iOS < 13 worked around the issue.
Version
0.1.234
Steps to reproduce

Create a new react native app using npx react-native init SkiaMin --version 0.71.14
Build and run the app. (works as expected)
Install RN Skia
Install pods.
Build and run the app again. App receives SIGABRT during startup.

I just have this repo local on my machine since it's just using the new app template w/ skia installed. I'm happy to push it up if that's useful.
I've heard from some of my peers that they couldn't get the crash to happen on a Simulator with iOS 12, only on physical devices. I have not had a chance to verify that claim.
Snack, code example, screenshot, or link to a repository

@rpenfold my apologies for the confusion here, we are using Skia features that are not supported by iOS 12. #2177 will make this clearer. We hope it's ok for your use-case.

@wcandillon thank you for the quick response. That's unfortunate for us, but overall we're thrilled with the library and appreciate all the work done to support it. I'll pass this information along.

Thank you for the kind words @rpenfold really appreciate it 🙏


iPadOS VirtualizeListView doesn't resize after orientation change

Hello and thanks again for such a great library of components!
I ran across a small thing that I solved but want to share in case you want to address it or for others who need it if not.
When using VirtualListView as a child of FixedRefreshView on iPads, the VLV content (header, footer, items etc.) isn't resized when rotating the device.
It works as expected if the VLV component is not a child of the FixedRefreshView component.
This may also occur on iOS/iPhones. I haven't tested that as the app I'm using the component in only supports free rotation on tablets.
I reviewed the FixedRefreshView source and see that you add a SizeChanged listener when running on Android at https://github.com/MPowerKit/VirtualizeListView/blob/2ed8e74ad99d41ec4cd0a442eec557ee4e6df7e4/MPowerKit.VirtualizeListView/FixedRefreshView.cs#L16
I extended the FixedRefreshView class and added the same code but checking for IOS being defined. It resolved the issue for me. So the size changed code is needed for both Android and iOS.
I hope this helps someone!

Just double checked everything and it seems to me that after screen rotation everything was recalculated and size changed.
Please be sure you are using the latest one nuget.
Also, I found another one bug on iOS for iPhones and tablets, this is bug of MAUI platform when screen rotated and size of the VLV changed the underlying items layout gets wrong dimensions to the Measure method and thus calculates wrong items layout size. i just fixed it, also added ios precondition to the fixed refreshview. hope this helps in your case.


Record PR-comment triggered performance results against PR commit

Type of change

Bugfix

Description
Updates to latest version of github-action-benchmark and configures it with the ref being tested.
Why:
Until now the benchmark action was unaware that we were checking out a specific ref to test against. Now we can pass the ref to the plugin so it can look up the commit hash and message when updating the performance-results branch. This also makes the alert message on a failed perf run comment on the correct commit.
Closes #181

tested in my fork with this action run https://github.com/robobario/kproxy/actions/runs/4846864413 which committed this into the results branch.


amalgkit config

amalgkit metadata should be started more easily, and there should be a single command that generates all necessary config files (near empty to be neutral enough for any purposes/organisms). A new subcommand should look like csubst dataset and may be named amalgkit config. @Hego-CCTB Could you implement it?

On it!

amalgkit config is done:
https://github.com/kfuku52/amalgkit/commit/dd20107aa74597a11d324a767c804cb12184ec47
Had to hard-code the file creation for all .config files, since I wanted to keep the headers explaining how to use the config files.
Currently there are three parameters:
--out_dir, default: ./
directory where config will use as working_directory (will create a folder named config in --out_dir)
--config_dir, default empty_config
name of the folder where the config files will be created in
--overwrite, default no
if --config_dir already exists, amalgkit config will stop immediately if --overwrite is no. If yes, config files will be overwritten insetead.
Resulting directory infrastructure:
out_dir <-- can be changed
│
└───config <-- can not be changed
│   │
│   └───config_dir <-- can be changed
│       │ control_term.config
│       │ exclude_id.config
│       │   ...

Thanks. Can we stick to the way used in csubst dataset (i.e., just copy files to a specified directory)? The config files should be near-empty, but not completely empty because there are commonly applied conditions, such as "Filter"	"type rnaseq" in search_term_other.config, and it is difficult to modify if hardcoded in the python script. I see no problem with headers, so could you explain it more?

Ah, now the csubst code makes more sense to me. There is a nearly empty set of files somewhere in the installation folder (i.e. manually created), and the command just copies them somewhere else?
Whereas I created the files from scratch.

Yes, the files for csubst dataset are placed here: https://github.com/kfuku52/csubst/tree/master/csubst/dataset

alright, took me a while to figure out how this works, but here's the new version:
https://github.com/kfuku52/amalgkit/commit/0fe5bb77ae764ced3724428bb94a900a307b2261
At first I wanted to use pkg_resources as in csubst, but upon further investigation it is apparently better to use importlib.resources to retrieve files from within the package, since pkg_resources is deprecated now.
Anyways, how amalgkit config works now is the following:
--overwrite terminates the process if the target directory is already there and set to no.
--config_dir this is the name of the config directory to be created. i.e. the destination (defaults to the name of --config)
--config this is the name of the config directory stored in the amalgkit package. i.e. the source
currently there are four options: 'test', 'plantae', 'vertebrate' and 'base'. 'base' is the nearly empty dataset, where I left just the header and 1-3 lines as an example within each of the config files.
--out_dir working directory
Example:
amalgkit config --config base --config_dir my_config --out_dir  ./

will create ./config/my_config/ and copy all .config files in there.
amalgkit config --config vertebrate --out_dir  ./

will create ./config/vertebrate/ and copy all .config files in there.
Note: I had to make copy the config folder inside amalgkit and give it a different name for this to work. The config folder is now redundant, so we can delete it.

I pushed another update, which should fix this issue.
Can you try it out on your end?
https://github.com/kfuku52/amalgkit/commit/eb22ce5cc382472079b45cbfa8669063c869a2b6

The latest version worked well. Thank you!

Great! I will close this for now, then.


[UPLC] [Evaluation] Added the CEK machine

Do not review yet.

Should be ready for review.

What is out decision regarding the typed CEK machine? I'd like to remove it later as we have another typed reference implementation, the costs are different in the typed and untyped CEK machines anyway and the typed CEK machine doesn't handle types correctly when it returns a term that is not a plain constant. What do we need the type CEK machine for?

What is our decision regarding the typed CEK machine? I'd like to remove it later as we have another typed reference implementation, the costs are different in the typed and untyped CEK machines anyway and the typed CEK machine doesn't handle types correctly when it returns a term that is not a plain constant. What do we need the typed CEK machine for?

I'm conflicted about this. On the one hand I like the fact that the untyped machine is very similar to the typed one, but on the other hand I'm annoyed that there's so much duplication, which would make maintenance a bit of a pain.  If this was C/C++ we'd be saying #ifdef TYPED_PLUTUS_CORE a lot.
I think we definitely want a typed evaluator, since it might (?) be easier to debug typed PLC.  I think there are programs which will run on the CEK machine but not the CK machine (because of memory/time constraints), so that might be an argument for keeping the typed CEK machine.  It would also be good to have some tests for evaluate . erase = erase . evaluate and having both machines be CEK machines might be sensible there.  It wouldn't be too hard to fix the typed machine to return things with correct types in them, but then we'd probably want to carry a type environment around as well and the machine would start to look a lot less like the untyped one.
Another factor is that we're presumably going to have an Ada formalisation of this, and again we probably want to prove that erasure and evaluation commute, and that might be more "symmetrical` if both machines are CEK machines. We should ask @jmchapman what he thinks.
In favour of the CK machine, I guess it's simpler (no costing) and it's not actually so different from the CEK machine.  I suspect that we could make the CK machine completely generic in the annotation type (currently () everywhere), and that might make it more useful for debugging since we could keep the locations.  I may give that a try some time.  We could also keep the typed CEK machine and remove the costing code.

[More general waffling related to the above.]
What do we think the definitive version of a script is?  Presumably the untyped version, since that's what goes on the chain, and also we can imagine a future where scripts are compiled from some other source language and there is no typed version. We used to make a big deal about typechecking before we decided to have untyped code on chain, but I'd imagined that you might want to have a typed version off chain which you would typecheck and erase before submitting it to the chain. Maybe determinism makes that pointless?  I think it's still worth having typed PLC because it increases our confidence in the compiler, but is there any reason that a general user would ever have to deal with a type PLC script?  I'm inclined to think not, but it's easy to say "that's never going to be necessary" without knowing what's likely to happen in practice. Maybe we should think a bit more about that kind of thing.  More opinions might be helpful here.

Oh yes, what about the plc command?  I suppose we'll want to have some easy way to run untyped scripts.  Do we want a big monolithic plc that can run both typed and untyped scripts (and probably perform erasure as well) or do we want a separate uplc command for untyped stuff?

Lots of questions here.
I think we definitely want a implementation of a TPLC evaluator, but as Roman points out, we have the CK machine.
I don't think that having the typed CEK machine will particularly help us avoid screwing up the untyped one: they're just so similar that we'll make the same mistakes if we make them. And if it's semantically wrong the CK machine will get it.
I also don't think it's too bad that the CK machine is slow. We don't have that many big examples, and I don't think it'll be essential that we run them in TPLC.
Reasons to keep it:

It has costing: we could plausibly state a property like cost(evalTypedCek(p)) >= cost(evalUntypedCek(erase(p))). I'm not sure if that's a very interesting property, though.
It's more natural to implement a debugger for, and perhaps easier to work with than UPLC. This is way on the back burner, though.

At any rate, it would be pretty easy to reconstruct it if we needed it. So I guess I think we should probably get rid of it.

Oh yes, what about the plc command? I suppose we'll want to have some easy way to run untyped scripts. Do we want a big monolithic plc that can run both typed and untyped scripts (and probably perform erasure as well) or do we want a separate uplc command for untyped stuff?

I'd say just the one command. I think it would all fit fine together: you have multiple input modes for TPLC or UPLC, and multiple evaluator modes for TCK or UCEK (UPLC input is incompatible with TCK evaluation, of course). If you say you want to evaluate TPLC with UCEK then we erase it first.

What do we think the definitive version of a script is?

I agree with what you said:

The UPLC version is definitive
People may target UPLC from other languages, without going via TPLC. Although they could also target TPLC, or PIR!
TPLC is useful for people using our toolchain as it adds another step of assurance
Users of our toolchain may want to store a version of their validators that they can reproducibly restore to the on-chain version. I think the best format for this would be PIR, though.

At any rate, it would be pretty easy to reconstruct it if we needed it.

That's a good point: I think that's inclining me towards removal.  I wish we could get one machine from the other automatically though.  It's tantalising that they're so similar.

Can we keep the typed CEK machine for a few weeks? Once we have some largish benchmarks I'd like to compare the performance of the typed and untyped machines, just out of interest.  I'd expect the untyped machine to be faster and certainly to consume less memory, but I think it would be worth doing some measurements to see exactly what the difference is.  I'm not going to get the benchmarks finished this week though, and I'll be off for the following two weeks.

@michaelpj

It has costing: we could plausibly state a property like cost(evalTypedCek(p)) >= cost(evalUntypedCek(erase(p))). I'm not sure if that's a very interesting property, though.

I think that property is more misleading than helpful.

It's more natural to implement a debugger for, and perhaps easier to work with than UPLC.

Why? We have some huge unreadable types, it's not very useful to stare at them. And if we only deal with built-in types, then UPLC is a descriptive as TPLC. And if we need a debugger, it'd be best to have in Plutus IR anyway.
There can be some TPLC-specific bugs related to types, but that's a rather narrow use case for a TPLC debugger.

I'd say just the one command. I think it would all fit fine together: you have multiple input modes for TPLC or UPLC, and multiple evaluator modes for TCK or UCEK (UPLC input is incompatible with TCK evaluation, of course).

Agreed.
@kwxm

Can we keep the typed CEK machine for a few weeks? Once we have some largish benchmarks I'd like to compare the performance of the typed and untyped machines, just out of interest. I'd expect the untyped machine to be faster and certainly to consume less memory, but I think it would be worth doing some measurements to see exactly what the difference is. I'm not going to get the benchmarks finished this week though, and I'll be off for the following two weeks.

Sure, I don't propose to remove the typed machine right now, only to do that in future and keep in mind that we're going to do that.

Comments addressed (apart from cross-referencing notes, which I think is not worth it right now).


Implement actual oauth disconnect

Right now, we handle oauth disconnects by just clearing our copy of the access keys. But we really should actually disconnect (or at least try to).

Looks like deauthorize is a pretty easy API call: https://stripe.com/docs/connect/getting-started#revoked-access
But this brings up a related point, which is do we currently handle it if they deauthorize on the Stripe end?

er just for stripe. haven't looked at dwolla yet

No, we don't currently handle webhooks or exceptions very well.

Dwolla doesn't seem to handle this case. But their tokens expire, so I guess it turns out basically the same eventually.

Stripe does seem to have this capability, but it's poorly documented. I'd rather just support webhooks.


fix: settings pane close icon hover

Description
Add a hover state to the close icon.

Fixes #19198
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test

/build-deploy-preview env=release

This issue is fixed verified it on the DP url.


Prepare for  2.0.3

Includes https://github.com/hubot-scripts/hubot-pager-me/pull/30 and https://github.com/hubot-scripts/hubot-pager-me/pull/32
cc @stephenyeargin

:metal:


missing phantomjs after installation openSuseServer 12.3

Hi, I have installed a phantomjs form source file (https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-source.zip) on openSuse Serever 12.3. The last lines after installation looks like this:
g++ -Wl,-O1 -Wl,-rpath-link,/home/vagrant/downloads/phantomjs/src/qt/qtbase/lib -o ../bin/phantomjs phantom.o callback.o webpage.o webserver.o main.o utils.o networkreplyproxy.o networkreplytracker.o networkaccessmanager.o cookiejar.o filesystem.o system.o env.o terminal.o encoding.o config.o childprocess.o repl.o crashdump.o mongoose.o linenoise.o utf8.o qcommandline.o minidump_file_writer.o convert_UTF.o md5.o string_conversion.o crash_generation_client.o exception_handler.o log.o linux_dumper.o linux_ptrace_dumper.o minidump_writer.o file_id.o guid_creator.o memory_mapped_file.o safe_readlink.o phantomjs_plugin_import.o qrc_phantomjs.o qrc_ghostdriver.o moc_phantom.o moc_callback.o moc_webpage.o moc_webserver.o moc_networkreplyproxy.o moc_networkreplytracker.o moc_networkaccessmanager.o moc_cookiejar.o moc_filesystem.o moc_system.o moc_env.o moc_terminal.o moc_config.o moc_childprocess.o moc_repl.o moc_qcommandline.o   -L/home/vagrant/downloads/phantomjs/src/qt/qtbase/lib -lQt5WebKitWidgets -Wl,-whole-archive -Wl,-no-whole-archive -L/home/vagrant/downloads/phantomjs/src/qt/qtwebkit/Source/WebKit/release -Wl,-whole-archive -Wl,-no-whole-archive -L/home/vagrant/downloads/phantomjs/src/qt/qtwebkit/Source/WebCore/release -Wl,-whole-archive -Wl,-no-whole-archive -L/home/vagrant/downloads/phantomjs/src/qt/qtwebkit/Source/ThirdParty/leveldb/release -Wl,-whole-archive -Wl,-no-whole-archive -L/home/vagrant/downloads/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/release -Wl,-whole-archive -Wl,-no-whole-archive -L/home/vagrant/downloads/phantomjs/src/qt/qtwebkit/Source/WTF/release -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -Wl,-whole-archive -Wl,-no-whole-archive -lQt5PrintSupport -lQt5Widgets -lQt5WebKit -Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -Wl,-whole-archive -lleveldb -Wl,-no-whole-archive -Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -Wl,-whole-archive -lWTF -Wl,-no-whole-archive -lQt5Sql -L/home/vagrant/downloads/phantomjs/src/qt/qtbase/plugins/platforms -lqphantom -lQt5PlatformSupport -lfontconfig -lfreetype -L/home/vagrant/downloads/phantomjs/src/qt/qtbase/plugins/imageformats -lqico -lQt5Gui -ljpeg -lpng -lqtharfbuzzng -L/home/vagrant/downloads/phantomjs/src/qt/qtbase/plugins/bearer -lqgenericbearer -lQt5Network -lssl -lcrypto -lQt5Core -lz -licui18n -licuuc -licudata -lm -ldl -lrt -lpthread
make[1]: Leaving directory `/home/vagrant/downloads/phantomjs/src'

According to build instructions. I am expecting to find bin/phantomjs file. Unfortunately, I cannot find this file anywhere in the system. Additionally, I get this error when calling the webdriver
# Calling PhantomJS
from selenium import webdriver
self.browser = webdriver.PhantomJS(executable_path="/usr/local/lib/python2.7/site-packages/selenium/webdriver/phantomjs/")
# Error
 self.service.start()
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/phantomjs/service.py", line 77, in start
    raise WebDriverException("Unable to start phantomjs with ghostdriver: %s" % e)
WebDriverException: Message: Unable to start phantomjs with ghostdriver: [Errno 13] Permission denied

Any idea how to fix it ?

If there is no phantomjs executable in /home/vagrant/downloads/phantomjs/bin, then something has gone horribly wrong with your C++ compiler.
If there is a phantomjs executable in that directory, then change this line of your script
self.browser = webdriver.PhantomJS(executable_path="/usr/local/lib/python2.7/site-packages/selenium/webdriver/phantomjs/")

to read
self.browser = webdriver.PhantomJS(executable_path="/home/vagrant/downloads/phantomjs/bin/phantomjs")

and see if that fixes that problem.
Regardless I do not think this is a bug in PhantomJS.  If you require further assistance, please take it to the mailing list (phantomjs-dev@googlegroups.com).

Hi Zack
Unfortunately, I cannot answer your questions, because I have installed phantomjs via nmp. This solved all my problems related to phantomjs installation and it works like charm (I had some problems with fonts). However, If I good remember the phantomjs was located at the directory where I downloaded the zip with the source
~/downloads/phantomjs/bin

Thanks for the support here :)


Dig into Relay's param handling when new params are empty

The workaround at https://github.com/taion/relay-todomvc/blob/b7fcac668c9758868f6ba7115d08fe4857927d4e/src/routes.js#L17 is necessary to get react-router-relay to behave correctly during the loading transition, but even net of react-router-relay, Relay itself seems to return the result query with the old route parameters when I try to blank out the route parameters.
When I have a chance, I should dig into the Relay code and figure out what's going on, assuming it's not a bug in react-router-relay.

Well, that workaround is gone, anyway, so this isn't really relevant any more.


Improve xdist flags in CI

Right now the number of workers is hardcoded. This could be improved by letting xdist choose the number automatically (-n auto or -n logical). This might be useful when changes to the GitHub Actions runners happen, like recently when it was announced that they get 4 cores instead of 2.
The --dist loadfile option might also not be necessary and could be replaced with the default or --dist worksteal. These options would no longer enforce the (I think unnecessary) grouping by file, which is somewhat related to finding inter-test dependencies.
We should evaluate multiple combinations of flags to see if we can improve over what we have now.

Some of this is in place with the new testing-all-oses.yml workflow and I don't think we really need to change this for the testing.yml workflow, which I would like to completely phase out at some point anyway.


Update show instance command to list full history of actions

Once we have the new claim spec implemented, and we are retaining all the records of each action performed against a bundle, when we display a bundle with porter instance show list the history of actions performed.
porter instance show exec-outputs
Name: exec-outputs
Created: 2020-05-28
Modified: 2020-05-29

Outputs:
------------------------------------------------
  Name        Type    Value
------------------------------------------------
  config      string  {"user": "sally"}

  kubeconfig  file    apiVersion: v1
                      clusters: - cluster:
                      certificate-autho...
History:
------------------------------------------------
  ACTION    MODIFIED       STATUS
------------------------------------------------
  install   2020-05-28     succeeded

Closed by #1152


global: add records configuration and dependencies

Move all configuration related to records from invenio-app-rdm:

Records REST
Records Files
Records Permissions

Along withhttps://github.com/inveniosoftware/invenio-app-rdm/pull/14 closes https://github.com/inveniosoftware/invenio-rdm-records/issues/11

It shall pass (pun intended) once invenio-records-permissions has been released.

Got it. @ppanero I will port the permission configuration changes I made on invenio-rdm-app to this PR (branch).

Huh, I can push to this branch on @ppanero 's repository... That seems a little powerful :\


"end balance" variable during sim is not consistent with the sim result.

Describe the problem
I just started trying zenbot on osX . used everything default. during running the sim, end balance variable is not consistent with the sim result. in this case end balance should be 452 + 0.0007(BTC converted to USDT) but its showing 953. (screenshot attached).
Source code / Error logs

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Exactly, the balance calculation in sim are completely wrong. After a 12 months sim i made +480% profit, it says me +8600%
Also in real mode are wrong, exchange say X but Zenbot says Y
Inviato da iPhone

Il giorno 21 ago 2018, alle ore 22:18, rohit574<EMAIL_ADDRESS>ha scritto:
Describe the problem
I just started trying zenbot on osX . used everything default. during running the sim, end balance variable is not consistent with the sim result. in this case end balance should be 452 + 0.0007(BTC converted to USDT) but its showing 953. (screenshot attached).
Source code / Error logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

please fix it @DeviaVir


Bring the domain whitelisting to Facebook Botkit

Hello,
The aim of this PR is to add the ability to my sweetheart Botkit :heart: to add a single or a list of domains to the whitelist, remove them and get them all.
Domain whitelisting is useful because some features like messenger extensions require domains to be whitelisted for security reasons.
Enjoy whitelisting the world

+1

@benbrown this need #690 to be merged

this was included in 0.5.2


[WIP] Include Template/Revision in cluster table

Proposed changes
We want to make it easier for someone that is managing multiple
clusters to see what template and template revision a cluster
is using. We also want to make it easy for a user to notice
that a cluster isn't using the latest revision.
To achieve this we added the template and revision to a column
in the clusters table to display both. We also indicate add
a warning badge beside a revision when the revision isn't
the latest.
How it looks to the owner of templates (V1 was created before V0 which is why it needs to be upgraded):

How it looks to someone without access to the the template:

Types of changes

New feature (non-breaking change which adds functionality)

Linked Issues
rancher/rancher#22047

Please hold up on merging this until I get some feedback on the original issue.


Upgrade Supabase to supabase-js version 1.0 form auth interface changes

See: https://github.com/redwoodjs/redwood/issues/1426
Supabase has released v1.0
Some changes are:

signup() is now signUp() and email / password is passed as an object
logout() is now signOut()
login() is now signIn()

And

Errors are now returned and not thrown
Auth now uses @supabase/gotrue-js interface (hence the above)

Some more details:

Supabase now has magic links, email, and OAuth logins. https://supabase.io/docs/client/auth-signin/#examples
Supabase has an "auth change listener" which is useful for whenever a session is restored from local storage: https://supabase.io/docs/client/auth-onauthstatechange

I had a quick look at the Redwood implementation for Firebase auth, which was was recently improved with similar functionality. It could be a good guide for the changes required in this issue.
Supabase has a React example here which shows how to use the auth functionality. I haven't had a chance to build Redwood examples, but I hope to have some time next week.

Initial Supabase 1.0 support has now landed (https://github.com/redwoodjs/redwood/pull/1536) so as soon as the next release of RW is out we need to update our example here.
OAuth etc will come in future PRs.

Need to add SUPABASE_JWT_SECRET to
https://github.com/redwoodjs/playground-auth/blob/945367336ae055573d6b326dbdf2b8b33d2a179d/web/src/components/Supabase/Supabase.js#L7
and ensure this value is added to the Netlify envars.

Need to add SUPABASE_JWT_SECRET to
https://github.com/redwoodjs/playground-auth/blob/945367336ae055573d6b326dbdf2b8b33d2a179d/web/src/components/Supabase/Supabase.js#L7
and ensure this value is added to the Netlify envars.


I got system("uname -s") == "Linux" equal 0

I tried to binding the clipboard key by detecting the OS that I'm using in with this script
if has("unix")
    if system("uname -s") == "Linux"
         map <leader> e "+y
    else
         map <leader> e "*y
    endif
endif

It's always got  map <leader> e "*y because condition result is 0
What wrong with that? How do I fix that?
Thanks in advance.

I found the solution just use =~  instead ==

Please ask user questions on the vim_use mailinglist or use vi.stackexchange.com. This here is a bug tracker for problems with Vim. We cannot provide individual help here.
Please ask user questions on the vim_use mailinglist or use vi.stackexchange.com. This here is a bug tracker for problems with Vim. We cannot provide individual help here. Closing.

Maybe system("uname -s") has a trailing newline.
Anyway, this is not a right place to ask user questions.


Added Hindi Programming Language Resource

What does this PR do?
Add resource(s) related to Hindi programming Language
For resources
Description
Added a free Hindi programming language playground resource
Why is this valuable (or not)?
A person who knows only hindi can learn and program in hindi
How do we know it's really free?
Kalaam is an open source project and anyone can start contrubuting to it. They have created a Readme document on Github repo of kalaam, you will find all the details about contributions there.
For book lists, is it a book? For course lists, is it a course? etc.
It is a interactive playground and resource
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up
https://www.kalaam.io/About

Check the status of GitHub Actions and resolve any reported warnings!

you can add it to the english list or create a new list for hindi.

you can add it to the english list or create a new list for hindi.

I didnot understand could you plz describe

Be sure to check the free-programming-books-lint output for linter errors. Alphabetical order and spacing are the most common problems.

the way you added this playground is not conducive to addition of other hindi language plygrounds

added in the wrong place


Changed styles cookies

Updated styles for Buttons and added z index

Removed Modal Logic:
Eliminated the modal functionality.
Retained only the initial cookie banner with "Allow" and "Decline" buttons.
Updated Styles:
Adjusted styles to center content properly and ensure responsive design.
Removed unnecessary modal-related styles.
Updated z-index:
Increased z-index for the cookie banner to 2000 to prevent overlapping issues with tooltips and other elements.
Updated Tests:
Removed tests related to the modal.
Updated unit tests to verify the correct behavior of the cookie banner:
Ensures buttons and links render correctly.
Verifies that cookies are saved on "Allow."
Confirms the banner disappears on "Decline."
Changes Made:
Component:
Removed modal-related code from CookieMod.jsx.
Updated logic to handle only the initial banner state.
Styles:
Cleaned up unused modal styles in CookieMod.module.css.
Adjusted banner layout and responsive behavior.
Tests:
Updated CookieMod tests to reflect simplified functionality.
Removed unnecessary modal-related test cases.


Workflow improvements

Couple points I'm going to address:

[ ] Remove dependency on nps, change to more flexible/efficient/clean custom scripts
[ ] Make a bootstrap script for quickly setting up a new package with required configs/deps
[ ] Automate the release workflow (build + version bump + tag + push + publish)
[ ] Enforce conventional changelog on commit messages for automatic changelog generation
[ ] Find other ways to protect @KFlash against himself and force him down the path of success :)

For the first point, I really agree.
For the third point, can we use something like np?

Looks promising. What concerns me is 1) the overhead and 2) locking ourselves in to someone else's workflow (what if we need one little thing that they don't support?).
Looking at the source code of that package, it's not a lot of code. We could create a fork just to be sure, or even just copy-paste into our utils (with a big fat acknowledgement of course)

One more thing, will we add those built files in the dist directory to .gitignore?

I think it's better if we have a proper and easily accessible versioned history of our build artifacts together with the corresponding source code for those artifacts. But they should not be checked in arbitrarily. Those commits need to be isolated with release commits which should be automated via a script. Then they can more easily be filtered and don't need to be reviewed.

Ah right, I see why you're addressing this: https://github.com/cherow/cherow/commit/b2240a64ce267b96701de1ab874725209eb664cf
@KFlash only focuses on code, he doesn't remember stuff we talk about regarding build process :)
There are build tools that allow you to enforce these rules. I'll look into that so he gets a big red warning when he tries to commit build artifacts :)

How to prevent it? Once you committed and pushed, nothing can be changed.

@Aladdin-ADD

I'm thinking about commit-lint but anything that does the job is fine ultimately.
Lint config can probably be better, but it can't be too restrictive or it will give @KFlash a headache. If you can find autofix for those formatting issues that would be great though.
We already have a microbenchmark with node highres timestamps for fairly fine-grained tests, I'll put it in the repo soon-ish. Then you guys can play with it :) It needs some looking into to make it work with small individual parsing functions. Other than that small experiments with jsbench.ch is often still the way to go.
Yeah @KFlash stop committing dist files. Bad you!
npm 6 is actually a really good release, so that could be worth looking into. I've heard rumours of typescript coming with project system that solves a similar problem to lerna, so if that feature ever shows up then I'd say time for some big changes.

However npm still doesn't contains some functions like Yarn's workspaces, which is that it will install the same packages many time into different directories.

Lerna can do that via --hoist, but I did say looking into, not necessarily switch :) it will also depend on how typescript project system is going to be

what do you think https://github.com/prettier/prettier?
we can do autofix in git precommit.

@fkleuver Not the typescript. If we use npm, it will install packages into different node_modules directoires, which cause too much spaces cost.

is there some reasons to keep travis-ci and circle-ci? I believe one is enough.

See Esprima, Babylon, Acorn? So don't remove!

@fkleuver What's the progress on this improvements?

I guess this is stall? Inactive for the last 8 days now, and no PR follows this issue or any signs of workflow improvements. This issue will be closed within a few days if no action taken.
cc / @fkleuver @Aladdin-ADD

DO NOT close it for tracking.

another thoughts: consider switching to microbundle, so we can remove some dev deps like rollup, rollup-plugin-*.

Rollup is fine.

Microbundle uses Rollup internally, so microbundle is fine too.

Microbundle uses Rollup internally, so microbundle is fine too.

->

so we can remove some dev deps like rollup, rollup-plugin-*

By adding another dep?

No, just microbundle.

Looks a lot like parcel. I don't buy into zero-configuration bundlers, it's a lie. It's just no bundler-specific configuration, which still means configuration, but less control.

I just quickly looked through your Rollup configs, and unless you not only want to want to lose automatic version string replacement but also creating multiple outputs via one config, I'de advice against it.
What I would suggest is (and what I usually end up doing in monorepo's it seems), create a local private package (e.g. tools/rollup, adding tools/* to your workspaces field) which does all your bundling via Rollup's API, changing the output options based on flags, and optionally a config file if it exists. I can take a stab at this if you don't mind, and you can then decide 😄

Don't worry, I'm redoing the rollup config as well. In the process of doing everything that's called via nps from scratch :)
What I had in mind is a bit similar to what you're suggesting - a local script file that calls the rollup API programmatically directly.

@fkleuver what's the state of the workflow? 4 days now and I should be back again

What are your short term needs with the workflow? You're mostly just interested in quick builds, quick tests and lots of green CI checkmarks right? Or do you want to start publishing asap as well?

When I work I only need the watch task working and the tests. But seems
like people was waiting 2.0 so if publishing nightly builds could be done
too. Plus a REPL
On Thu, Dec 6, 2018, 10:51 AM Fred Kleuver<EMAIL_ADDRESS>wrote:

What are your short term needs with the workflow? You're mostly just
interested in quick builds, quick tests and lots of green CI checkmarks
right? Or do you want to start publishing asap as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cherow/cherow/issues/133#issuecomment-444729732, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AeYSDjChjtCS8p5phZSxYon5H3oaYfCzks5u2IYegaJpZM4UoQ2r
.

A question: do we need a REPL like AST explorer (https://astexplorer.net) ?

I would need it in my work and cherow isn't on astexplorer. So sometimes I
need to see the last Cherow generate. Plus its OK to have a repl as demo
but also if people encounter a bug. They can use it to pinpoint the bugs
On Thu, Dec 6, 2018, 11:13 AM Pig Fang<EMAIL_ADDRESS>wrote:

A question: do we need a REPL like AST explorer (https://astexplorer.net)
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cherow/cherow/issues/133#issuecomment-444733622, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AeYSDlLYMYTSM5mdMgGIFzKAz-_wqbJsks5u2ItdgaJpZM4UoQ2r
.


updated install script to handle issues with apt-get update package c…

@zeroSteiner
Update the tools/install.sh script to handle the issues identified in #79. apt-get update package cache was not update for installation, and sometimes fails when apt-get update occurs. Install script will now attempt to do apt-get update, and exit if it fails.
Example to run
tools/install.sh

To test:
change source.list file so its wrong to force a 'fail'

[ ]  script should exit on failing apt-get update

change source.list file back to normal.

[ ] script should complete successfully

Nice work @wolfthefallen

Just landed this to the dev branch.


openpty: fix TIOCGPTPEER usage

We made this our controlling terminal which is a bit of an issue.
Signed-off-by: Christian Brauner<EMAIL_ADDRESS>

So what's the benefit of TIOCGPTPEER at this point?
Looks like the same number of syscalls as the other path.

So what's the benefit of TIOCGPTPEER at this point?
Looks like the same number of syscalls as the other path.

It's race-free. I can easily close or unlink the /dev/pts/* path or mount before you open it.
Aside from that, the additional ioctl is pure convenience, in case you wanted to print the name of the file. Other than that it can easily go away. It's pure syntactic sugar.


Fix for column header dropdown not opening

Fix for column header dropdown not opening - needs tap/gesture support mixin addition.
Picking up latest px-dropdown, column header dropdown was not responding to tap event. Addition of gesture support mixin fixes this.

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

LGTM.


fix: updated miscValidation logs of advertising

:tada: This PR is included in version 1.2.0-dev.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Bug]: [Summons] : [ Filing payment calculator appearing for payment of warrant ]

Describe the bug
Filing payment calculator appearing for payment of warrant
Expected behavior
Should show the payment calculator for Warrant
Screenshots

Verified and closed