Update fallguys and add rocket league (regular ver)

Game Title
Fallguys
Status of the Anti-Cheat
👍 Running
Tinkering Steps
fallguys: Remove available on steam  as they killed off the steam version 2 years ago

Proof of Mention
https://store.steampowered.com/app/1097150/Fall_Guys/

I'm not even sure what you want done here? The only Steam related thing stored in the manifest is the Store ID, which still exists, and will probably stay there for legacy purposes, and the fact that tools pulling the manifest also use it.
As for Rocket League, it uses no anti-cheat by default (unless something has changed, which as far as I can see, nothing has.) So there's nothing to be done there as well.

I'm not even sure what you want done here? The only Steam related thing stored in the manifest is the Store ID, which still exists, and will probably stay there for legacy purposes, and the fact that tools pulling the manifest also use it.

Ohh okay

As for Rocket League, it uses no anti-cheat by default (unless something has changed, which as far as I can see, nothing has.) So there's nothing to be done there as well.

I didnt want to open 2 issues so i put it into one


metatensor-learn Dataset and Dataloader

A Dataset, IndexedDataset, DataLoader, and two collate functions for integrating metatensor with torch
Contributor (creator of pull-request) checklist

[x] Tests updated (for new features and bugfixes)?
[x] Documentation updated (for new features)?
[ ] Issue referenced (for PRs that solve an issue)? n/a

Reviewer checklist

[ ] CHANGELOG updated with public API or any other important changes?

:books: Documentation preview :books:: https://metatensor--428.org.readthedocs.build/en/428/

Summary of the changes in the last commit:

Dataset now requires data arg is passed as Dict[str, List]. If sample_idxs is not passed, a continuous range [0, ..., n_samples] is used, otherwise the elements of sample_idxs is zipped with the elements in each data item. Internally, the samples for each item are stored as a dict, indexed by their sample index.
__getitem__ of the Dataset now returns a list, where the first element in the list is the sample index.
I've made collate_fn a generic collate for arbitrary objects. It only zips the list of lists returned from the dataset. I've made collate_tensormaps a more specific collate fn, where the zipping is followed by joining (or not, if join=False) of the TensorMap data items.
I've stripped back the DataLoader to only explicitly ask for args dataset and collate_fn. This is more flexible as the user can pass kwargs for anything that the native torch dataset accepts - batch_size, shuffle, sampler, etc, with the defaults inherited.

Now that #426 has been merged, can you rebase this PR on top of master?

Think we're good for review! All that's left to do is a rebase once #447 is merged, to fit with the new structure of the docs

I did a pass over the tutorials, please have a look at the latest commit to check the changes. I still have to finish a review of the code itself!


Problem on page /source/logging_in/index.rst

PP/AN details are currently missing and should be included with the other RDHPCS sites (gaea, hera, jet, niagara).

this section has been reworked and is applicable to all sites.


Bug: Strange behaviour for User Roles

Issue Summary
Hi. Apologies if this has been fixed in the master branch - I skimmed the search results and couldn't see a matching issue posted.
So, every time I go into Settings > Users, the Role will always default to Administrator, even if they are saved as something else. Yet, if I make an amendment to another field and save, it doesn't pick up the Administrators selection on the Users page.
Steps to Reproduce

Log into Admin.
Go to Settings, then Users.
Choose any user (ideally a non-admin) and click.
Note their Role compared to what displays on the User page.
Make amendments. Save.
Recheck Users page.
Repeat 4-6.

Animated Proof

Technical details

Ghost Version: 0.5.8 Release
Client OS: OSX Yosemite 10.10
Server OS: CentOS7
Browser: Chrome 39.0.2171.95 / Firefox 35.0

I can confirm this. Will PR a fix in a few.


Accessibility of select lists with images #3492

This PR adds null alt="" attributes to icons that appear within the fancy select lists that have images in them. This helps improve accessibility of these items because these images are purely for decoration and setting a null alt attribute tells screen readers to ignore them.

Thanks! We definitely can approve our accessibility all around. Let me know if you find any other areas of improvement


Enhancement Request: Tree harvester / planting

This request was on the minecraft forum today.
Would be great if we had some mekanism machine which would harvest wood from local trees and also planted trees/saplings.  The request made a mention of a tower looking model (would assume a sentry looking tower) or perhaps something similar to the digital miner (I suppose you could use the digital miner) but how about a sapling deployment system.
I know BuildCraft is working on a robot system which does something very similar and needs axes to chop down trees.
Sounds like a good enhancement.

I hope this is still a thing,
I would like to see that. Especial in the new Versions of Mekanism, which provides all sorts of new and cool machines! I think this would be a good addition!

I just want to note: its not only to farm Crops also to farm Trees...


Ban some email addresses being used for spam

These are regular bad actors in the system. Stop them outright. There is almost certainly a more elegant solution by putting these in secrets. This will, however, work for now.

@brucebolt nope that was poor copy pasting.....I've updated in 642fb33


[CUR-180]: added video guide if video data is being passed through to curriculum overview

Description

Update gql query to account for video information if being passed through
Added video section to overview page

How to test

Go to https://deploy-preview-1969--oak-web-application.netlify.thenational.academy/teachers/curriculum/english-primary/overview
Scroll down to the video section
You should see a placeholder video
Go to any other subject phase combination, the video guide shouldn't be present

Screenshots
How it used to look (delete if n/a):

How it should now look:

Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner

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


Fix CircleCI integration

CircleCI doesn't have a checkout key for this project. @gkristic, would you add one?
https://circleci.com/gh/VividCortex/gohistogram/edit#checkout

I'm changing to a VC-specific Github account. @gkristic-vc will take it from here.


New Contracts class implementation

added support to CLPublicKey passed as argument to CLKey (it gets serialized to account-hash when serializing).
changed CLKey method checking stored value type from isAccount to isAccountHash.
new Contracts class that basically acts as contract client (possible to install WASM, call an entrypoint, query state or dictionary).
added getDictionaryItemByName that uses state_get_dictionary_item with dictionary_name and dictionary_item_key

LGTM - do you need the src/types.ts file if it's empty?

nope, removing it, thx :)


Where does appVersion come from?

Hey! Actually this is not a bug (I think), just need some help to understand what's going on.
In my package.json file I have the version attribute set to 0.0.1.
However, when I use the DeviceInfo.getVersion() function, it returns me the value 1.0 instead of 0.0.1 in both Android and iOS.
Is that correct? Am I missing some configuration to get these values mirrored?

So, I've realised that the library gets this value from build.gradle(Android) and info.plist (iOS).
For anybody who might be interested, this article explains a great way to keep these versions synchronised.


How to $.extend default message at 4.0.0 ?

With 4.0.0-rc2 I can use this
if (jQuery().select2) {
    $.extend($.fn.select2.defaults.defaults.language, {
        noResults: function() { return 'No results found (Test)'; }
    });
}

But it's not work anymore at 4.0.0 stable.
Setting default options at https://select2.github.io/options.html doesn't have any clue to change default message.
Any help or hint is appreciated, thanks

I have to confirm that setting custom language strings doesn't work in v4.0.0.
Using documented method:
jQuery.fn.select2.defaults.set('language--noResults', function() { return 'test'; })

the Options object is altered, but Select2 somehow doesn't have any effect (generic options are still  effective).
By the way: at this moment using this method, whole language object is being overwritten, I believe there should be used a deep copy option in jQuery.extend in the defaults.js file to overwrite just specific language string(s).
My workaround is to set the language string during init, as described here #3190

You can override the default language values using the following:
    $.fn.select2.defaults.set('language', $.fn.select2.amd.require("select2/i18n/fr"));

I have my object with language strings (functions that return strings) available in my current scope. How it is not possible to simply set it as a default language "object"?
Why should I have to require some external language file, which I don't have? (I have the object right "here".)

Have you tried something amongst the lines of the above suggestion ?
 $.fn.select2.defaults.set('language', yourObject)

Yes, that what i have had before I noticed it didn't work. :/
$.fn.select2.defaults.set('language', {
	errorLoading: function () {
		return "ERROR_LOADING";
	},
	inputTooLong: function (args) {
		return "INPUT_TOO_LONG";
	},
	inputTooShort: function (args) {
		return "INPUT_TOO_SHORT";
	},
	loadingMore: function () {
		return "LOADING_MORE";
	},
	maximumSelected: function (args) {
		return "MAX_SELECTED";
	},
	noResults: function () {
		return "NO_RESULTS";
	},
	searching: function () {
		return "SEARCHING";
	}
});

// Initialize Select2 globally (except those that are supposed to be standalone).
$('select').not('.standalone').select2();

Does this:

Select2 version: Select2 4.0.0

FTR this is also an issue in DAL https://github.com/yourlabs/django-autocomplete-light/pull/746

https://github.com/select2/select2/issues/3799#issuecomment-271272381
Works for me, with a little bit of adjustment on initialization. I think you should use $('select'):not( 'standalone').select2();.
Here's my code:
// Based on {% static %}/select2/js/i18n/pt-BR.js
$.fn.select2.defaults.set( 'language', {
    errorLoading: function(){
        return "Os resultados não puderam ser carregados."
    },
    inputTooLong: function( e ){
        var t = e.input.length - e.maximum;

        n = "Apague " + t + " caracter";

        return t != 1 && ( n += "es" ), n
    },
    inputTooShort: function( e ){
        var t = e.minimum - e.input.length;

        n = "Digite " + t + " ou mais caracteres";

        return n
    },
    loadingMore: function(){
        return "Carregando mais resultados…"
    },
    maximumSelected: function( e ){
        var t = "Você só pode selecionar " + e.maximum + " ite";

        return e.maximum == 1 ? t += "m" : t += "ns", t
    },
    noResults: function(){
        return "Nenhum resultado encontrado"
    },
    searching: function(){
        return " Buscando…"
    }
});

$( "select:not([ajax-url])" ).select2({
    placeholder: 'Selecione a(s) opção(ões)...',
});

doncatnip, same here.
user aeksco had a nice suggestion in #4088:  https://github.com/select2/select2/issues/4088#issuecomment-216992575

Is there an accepted way of overriding the noResults text?  I really like this solution proposed here: https://github.com/select2/select2/issues/4088#issuecomment-216992575


Suggestion: Paragraph about multiple form submission

Added a small paragraph to the signup-pupil-form in order to prevent multiple form submissions for the same child.

Thanks @dominikgeissler!


Add handle Niels

Checklist

[x] When adding a Github handle to be tracked that is not yours, request the user to approve the PR

@NielsZeilemaker : Could you approve once more? Had to solve the merge conflict


NOISSUE - Fix typo in error messages

Signed-off-by: Ivan Milošević<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1193   +/-   ##
=======================================
  Coverage   77.24%   77.24%
=======================================
  Files         102      102
  Lines        6817     6817
=======================================
  Hits         5266     5266
  Misses       1181     1181
  Partials      370      370

Impacted Files
Coverage Δ

pkg/transformers/senml/transformer.go
81.81% <ø> (ø)

readers/cassandra/messages.go
88.46% <ø> (ø)

readers/influxdb/messages.go
76.92% <ø> (ø)

readers/mongodb/messages.go
86.44% <ø> (ø)

readers/postgres/messages.go
90.76% <ø> (ø)

writers/cassandra/messages.go
86.66% <ø> (ø)

writers/influxdb/messages.go
73.33% <ø> (ø)

writers/mongodb/messages.go
73.33% <ø> (ø)

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 ea3a891...c80ab85. Read the comment docs.


Bugfix/fix collateral twap

Resolves #830

This pull request is still a draft I will notify when it is ready for the review.

I am finally back to this issue, in the background I spent quite some time on reading related articles and Frax sources and their concept of twap from either an Oracle or double oracles (https://github.com/FraxFinance/frax-oracles/tree/master/src).

I am finally back to this issue, in the background I spent quite some time on reading related articles and Frax sources and their concept of twap from either an Oracle or double oracles (https://github.com/FraxFinance/frax-oracles/tree/master/src).

it's what a good programmer does

I am finally back to this issue, in the background I spent quite some time on reading related articles and Frax sources and their concept of twap from either an Oracle or double oracles (https://github.com/FraxFinance/frax-oracles/tree/master/src).

it's what a good programmer does

Thank you, it takes me longer than expected but moving forward.

Note to myself: need to resolve conflicts after last merge.

@rndquu thank you for your valuable feedback! I will incorporate the changes today

Note: On the way I synced to and merged latest development branch and resolved conflicts.

@gitcoindev Chainlink price feed looks good. I could take over this PR and fix TWAP issues. What do you think?

@rndquu yes sure, please go ahead. I can also continue in a few hours from now. Wondering why tests frequently fail with too many requests error in CI..

@rndquu in case you will continue before I am back, I wanted to base TWAP part on https://github.com/FraxFinance/frax-solidity/blob/03bd11e75e09800f7c5d524d9f76510029280aa0/src/hardhat/contracts/Oracle/ReserveTracker.sol#L142 perhaps would we useful for you to check this solution as well.

@rndquu yes sure, please go ahead. I can also continue in a few hours from now. I want to have it done and ready for the review before Monday. Wondering why tests frequently fail with too many requests error in CI..

Ok, I will fix the curve's TWAP in your branch https://github.com/gitcoindev/ubiquity-dollar/tree/bugfix/fix-collateral-twap

Wondering why tests frequently fail with too many requests error in CI..

Tests on a fork https://github.com/ubiquity/ubiquity-dollar/pull/844/files#diff-430fe4f43223262240b955cd98174c41c15c11cfc02112e3cbb2c1b7269aba45R782

Hi @rndquu I added a new twap test skeleton today, and got interrupted in trying to solve the broken Yarn Audit check. It seems that this is broken due to https://github.com/yarnpkg/berry/issues/4117 and more specifically https://github.com/yarnpkg/berry/issues/4117#issuecomment-1196526609 . After I upgraded locally to yarn 4, yarn npm audit --all --recursive seems to work correctly, but the 'fix' part still fails with the uncaught exception
$ yarn yarn-audit-fix
Resolve bins
Runtime digest

  isMonorepo true
  bins
    yarn yarn
    npm npm

  versions
    node v20.10.0
    npm 10.2.3
    yarn 4.0.2
    yaf 10.0.7
    yafLatest 10.0.7

..

{"value":"xml2js","children":{"ID":1092301,"Issue":"xml2js is vulnerable to prototype pollution","URL":"https://github.com/advisories/GHSA-776f-qx25-q3cc","Severity":"moderate","Vulnerable Versions":"<0.5.0","Tree Versions":["0.4.23"],"Dependents":["parse-bmfont-xml@npm:1.1.4"]}}
{"value":"yaml","children":{"ID":1094785,"Issue":"Uncaught Exception in yaml","URL":"https://github.com/advisories/GHSA-f9xv-q969-pqx4","Severity":"high","Vulnerable Versions":">=2.0.0-5 <2.2.2","Tree Versions":["2.2.1"],"Dependents":["lint-staged@npm:13.2.0"]}}

Failure!
{
  status: 1,
  signal: null,
  output: [
    null,
    <Buffer 7b 22 76 61 6c 75 65 22 3a 22 40 62 61 62 65 6c 2f 74 72 61 76 65 72 73 65 22 2c 22 63 68 69 6c 64 72 65 6e 22 3a 7b 22 49 44 22 3a 31 30 39 35 32 31 ... 18105 more bytes>,
    <Buffer >
  ],
  pid: 1434896,
  stdout: <Buffer 7b 22 76 61 6c 75 65 22 3a 22 40 62 61 62 65 6c 2f 74 72 61 76 65 72 73 65 22 2c 22 63 68 69 6c 64 72 65 6e 22 3a 7b 22 49 44 22 3a 31 30 39 35 32 31 ... 18105 more bytes>,
  stderr: <Buffer >
}

node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(

...

I guess we'll need to open a separate issue for that. In the meantime let's continue to solve this issue first.

@gitcoindev hey

I added a new twap test skeleton today

Ok, thank you
I will fix the TWAP and the yarn audit script + will check how chainlink price oracle works in the current PR. As far as I understand you have unresolved tasks on the ubiquibot's side so you may concentrate on them.

@rndquu thank you! Indeed, let me tackle unresolved bot tasks today and move them out of my plate.

@pavlovcik
We're planning to use the LUSD token as collateral in the Ubiquity pool contract to mint/redeem Dollar tokens. Somehow we need to get the LUSD/USD price. Chainlink seems to be the most reliable(i.e. flashloan resistant) source of such data but chainlink price feeds support LUSD/USD quotes only from 2 networks: arbitrum and optimism. Since we're going to deploy on mainnet it seems to be wrong to fetch prices from some other network. From what I understand even if we take the LUSD/USD quote from some other (not mainnet) network and LUSD/USD quote deviates significantly then arbitrage bots should make the LUSD/USD quote equal across all networks so this is not an issue.
So the question is should we get the LUSD/USD quote from chainlink's arbitrum/optimism network OR from the LUSD curve metapool?

Curve metapool seems to make the most sense to me. Can also consider uniswap. Possibly average both

let's build it around the metapool price

While working on this issue I did some research and read multiple articles.
This one has a good recipe of the algorithm which is relevant for us:
https://news.curve.fi/chainlink-oracles-and-curve-pools/
About LUSD itself I will also paste a few interesting links I read on their blog a few days ago:
https://www.liquity.org/blog/price-oracles-in-liquity
https://www.liquity.org/blog/the-oracle-conundrum
The Oracle conundrum is a good article on price oracles in general, btw. I had to check myself what conundrum is -)
The defillama link below provides overall allocation of LUSD across different chains:
https://defillama.com/stablecoin/liquity-usd

@rndquu are you sure? i'm seeing a deployed chainlink LUSD/USD oracle https://etherscan.io/address/0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0

@rndquu are you sure? i'm seeing a deployed chainlink LUSD/USD oracle, check the tag name https://etherscan.io/address/0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0

Hmm, I can't find this price feed at https://data.chain.link/

@rndquu are you sure? i'm seeing a deployed chainlink LUSD/USD oracle, check the tag name https://etherscan.io/address/0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0

Hmm, I can't find this price feed at https://data.chain.link/

I couldn't either, probably a bug on their front end, check the search, https://github.com/search?q=0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0&type=code this one is used by some different protocols

https://github.com/aave/gho-aip/blob/90ddf49b65007da9ba6dbf9f80cc966275cde4f0/diffs/preTestEngineListing_postTestEngineListing.md?plain=1#L545

https://github.com/aave/gho-aip/blob/90ddf49b65007da9ba6dbf9f80cc966275cde4f0/diffs/preTestEngineListing_postTestEngineListing.md?plain=1#L545

Yeah, I see that's a live LUSD/USD oracle but I can't understand why it's missing in https://data.chain.link/

Yeah, I see that's a live LUSD/USD oracle but I can't understand why it's missing in https://data.chain.link/

it's a clear front end bug on their end and it doesnt make sense to be on rollups only, it's first mainnet then others

@gitcoindev Could you merge https://github.com/gitcoindev/ubiquity-dollar/pull/10 ?

I missed it but this issue was solved when we were refactoring the Ubiquity pool contract.
Anyway the current PR adds oracle (via chainlink) support for collateral token pricing which is the feature we'd earlier decided to implement.
Simply put the oracles in the whole protocol work this way:

For Dollar token pricing we ask Curve's Dollar-3CRVLP metapool
For collateral token pricing in the UbiquityPool contract we ask chainlink's data fees

I'll update the deployment scripts (to deploy TWAP and set chainlink price feed) in another PR.
@gitcoindev @molecula451 Pls review.
P.S. Diamond storage CI run is failing but this is expected and ok since the contracts are not deployed yet.
P.P.S. I'm still checking whether https://etherscan.io/address/0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0 is a valid chainlink price feed but it really looks legit. I'll let you know once I find the answer.

Thank you a lot @rndquu for the summary. I am going through your changes now, should finish the review in the next 30-60 minutes.

P.P.S. I'm still checking whether https://etherscan.io/address/0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0 is a valid chainlink price feed but it really looks legit. I'll let you know once I find the answer.

@rndquu I also was struggling to find it but confirmed it in the official Liquity / LUSD documentation:
see https://docs.liquity.org/documentation/resources , on the page find 0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0
therefore, for me also legit. Funny enough, they made a typo on the website and instead of Chainlink there is Chanlink so it was hard to find.

I have reviewed the latest changes from @rndquu , lgtm! I leave the final review to @molecula451


WalletConnect v2 #3413

Closes #3413

It seems like enabling rosetta mode for xCode helps to resolve building the proj for simulator

Yes, it would, but I think it kills the performance gains from running Xcode on M1. Do you experience it? Is there a better way?

Yes, it would, but I think it kills the performance gains from running Xcode on M1. Do you experience it? Is there a better way?

will try to find out it

@hboon @eviltofu guys, can u check if this PR is building for you? Because it removes changes introduced in https://github.com/AlphaWallet/alpha-wallet-ios/pull/3533, and need to make sure that everything is ok.

@oa-s It doesn't work if I clone the repo again, and

run:

$ bundle && bundle exec pod install

Xcode > File > Packages > Resolve Package Version (and Xcode build logs suggested WalletConnectSwiftv2, MailChimp-SDK-iOS and CryptoSwift being resolved)

and build for both simulator and device:

Analyze workspace
Create build description
Build description signature: 17f6464df8b63a579b1e059d17c77369
Build description path: /Users/hboon/Library/Developer/Xcode/DerivedData/AlphaWallet-ceryaordvcedbeacqvjohckfveup/Build/Intermediates.noindex/XCBuildData/17f6464df8b63a579b1e059d17c77369-desc.xcbuild
Build target AlphaWallet of project AlphaWallet with configuration Debug
warning: no rule to process file '/Users/hboon/Desktop/alpha-wallet-ios/AlphaWallet/Core/Enjin/EnjinBalances.graphql' of type 'text' for architecture 'arm64' (in target 'AlphaWallet' from project 'AlphaWallet')
/Users/hboon/Desktop/alpha-wallet-ios/AlphaWallet.xcodeproj: error: Missing package product 'MailchimpSDK' (in target 'AlphaWallet' from project 'AlphaWallet')

Using Xcode 13.2.1. It seemed to work with my original copy of the repo even after cleaning.

MacBook Air (M1, 2020)
macOS 12.1
Xcode 13.2.1
Target: iPhone 12/iOS 14.5 & iPhone12/iOS15.2
This branch set up via:
make clean && make bootstrap

Then I ran the unit tests and they all passed.

bundle && bundle exec pod install

@hboon i followed the same steps, i am able to build it, compiles without error error: Missing package product 'MailchimpSDK' (in target 'AlphaWallet' from project 'AlphaWallet')

MacBook Air (M1, 2020) macOS 12.1 Xcode 13.2.1 Target: iPhone 12/iOS 14.5 & iPhone12/iOS15.2
This branch set up via:
make clean && make bootstrap

Then I ran the unit tests and they all passed.

Both simulator and device? If there's a problem, it's more likely on the simulator than device.

all tests are passing for simulator too

Fortunally we was able to use pod for MailChimp, because of setting       config.build_settings["ARCHS[sdk=iphonesimulator*]"] = "x86_64" for project brokes building WalletConnect, that is why we moved it to pod and configured it there. as i found in example project of WalletConnect v2 works fine.


Don't build deprecated transaction type

https://github.com/celo-org/rosetta/blob/ffdfa72e8e02f524cbfda27951bb49c747913b5e/airgap/api.go#L154-L164
The airgap module creates transactions with deprecated types, see
https://github.com/celo-org/celo-proposals/blob/master/CIPs/cip-0062.md#deprecation-warning
We should switch to a supported type.

Closed by https://github.com/celo-org/rosetta/pull/256


[FEA] Update notebooks to make use of cuml train_test_split method

Is your feature request related to a problem? Please describe.
Hi,
I have noticed that some notebooks still make use of sklearn train_test_split method.
I would suggest to showcase cuml's train_test_split_method, and run the .to_pandas() method if in any notebook it is needed to have the dataframe in host memory to run sklearn on it.
One example of notebook that might be updated is the following:
https://github.com/rapidsai/notebooks/blob/branch-0.11/cuml/random_forest_mnmg_demo.ipynb
Other notebooks that might need to be updated can be found by running the following query:
https://github.com/rapidsai/notebooks/search?q=train_test_split&unscoped_q=train_test_split
Hope it helps!
Regards,
Miguel
Describe the solution you'd like
To do not use sklearn train_test_split method, but cuml's version.
Additional context
@taureandyernv , I could submit a PR for this issue, if needed. If you are happy with that, just assign this issue to me.

I'll take you up on your offer @miguelangel :)

Hi @taureandyernv ,
I have updated the linear_regression_demo.ipynb notebook.  Please, find attached the new version in PDF
I have performed the following changes:

Move imports as close as possible to their usage
Used cuml's version of make_regression and train_test_split methods.

Added cell #6 to copy data from GPU memory to host memory, to be able to compare CPUs and GPUs version of the algorithm.
If you are happy with these changes/approach, I will update the following notebooks accordingly, and submit a PR for review.
In the meanwhile, have an awesome weekend!
Regards,
Miguel
linear_regression_demo.pdf
format.

Covered in #270 .


This request is not authorized to perform this operation.

I am trying to access our blob storage but can't go through. Please see attached screenshot. Thank You!

The screenshot is for Azutre Portal owned by another team. Give you also see a similar error in Storage Explorer #4293, it is possible your account isn't given the correct permission to access the resource. Let's track the issue in the other thread.


Hide share icon by config

The customer wants to be able to hide the share icon via project configuration.

Should be implemented as a project level customization for now.


React static boilerplate compiled content?

Hi,
I just cloned the latest version and I see a lot of good changes. But I ran a release build and looked at the source and don't see any content in the generated index.html. How are we to handle seo appropriately? This was the entire reason I used this boilerplate.

+1,
Generated code also doesn't include html of sub pages, so the server responds 404 when I reload at sub page deployed on GitHub pages.

I had to temporarily disable this feature that generates static .html pages, but it shouldn't be hard to bring it back, will do that later.

glad to hear that!
It would be even nice if you add a version tag for each release so that we can use older(stable) version for avoiding regressions due to new major update. I believe conforming to semver might be good.
Thanks for great boilerplate!

@noradaiko the way it's currently works is that all HTTP requests should be redirected to index.html page on the server (this should be easy to configure in Amazon S3, Firebase Hosting, and in case with GitHub Pages you can copy index.html and save it as 404.html which is a workaround to make the site work in GitHub Pages for now).

@koistya Thanks for giving the workaround, but in the way using 404.html the status code is always 404 on GitHub Pages so it'd be not good for SEO and HTTP rules.
I'm using old version of this boilerplate for now, will try it when supporting generating html files again!

Alternatively you can use the react-starter-kit with a very similar product structure and export your application as static files, see: https://github.com/kriasoft/react-starter-kit/pull/642

@frenzzy wow, sounds nice. I'll take a look!

@koistya Thanks for this boilerplate! I was using an older version too, and now i only get the one html file (index) when i ran the release build too. Any idea on when can we have the "old" functionality again? :)

@v3yr0n Create tools/render.js script that should generate a list of URLs from routes/index.js file. Then iterate over that list and generate a static markup. The core/main.js can export render(path) method that the renderer can use to generate that static markup.

Where's the core/main.js file? You mean app.js? :)

Trying to create the render script. Not sure if i'm in the right path. I'm using the resolve from the universal router to render the page and output the result as html so i can write it to a file. It works well if i don't use the require.ensure function in the theroute page. But if i use it i get: "TypeError: require.ensure is not a function\n    at theroute.js:15:15\n    at new Promise".
I'm using babel-node to run the render script.
`import { resolve } from 'universal-router';
task('render', new Promise((theres, reject) => {
resolve(routes.children, { path: '/theroute' }).then((result) => {
console.log(result);
});
})
);`
Any help?
Thanks!

Hi!
I'm sorry for asking again, but can you give me some advice on this?
Thanks!

@v3yr0n a few more steps:

In webpack.config.js copy the config: const nodeConfig = extend(true, {}, config); modify config.output.file to something like build/[name].node.js; set nodeConfig.target to "node", set "limit chunks" to 1 (so that no chunks are created with that Node.js bundle); export it alonside with regular client-side bundle config, e.g. module.exports = [clientConfig, nodeConfig]. Add export default { render(path) { ... } }; method to core/main.js.

This way, when you bundle the site, the build folder will contain regular client-side bundle build/main.js and one more bundle that you can use for generating static pages build/main.node.js. Then in your tools/render.js script you can import that bundle const bundle = require('./build/main.node.js'), and call bundle.render('/theroute') method that returns HTML markup.

Thanks, i'll do that and let you know if it works.
I don't have any core/main.js file... you are referring to the core folder on the project root, right?

@v3yr0n ah, right core/app.js

This is harder that what i thought :)
I'm getting this warning:
[emit[BABEL] Note: The code generator has deoptimised the styling of "/build/main.node.js" as it exceeds the max of "100KB".
And after that this error:
Error: only one instance of babel-polyfill is allowed
This happens when i add the const bundle = require('../build/main.node.js'); to the render.js file.
Any idea?
Also, not sure about the export in the core/app.js. Can you send some code please?
Thanks!

Also, i'm running the script with babel-node. I'm using it because otherwise i can't use import. It should work same way, right? or should i change it to node?

So removing the import 'babel-polyfill'; from core/app.js solves that error. (is it needed?)
I added a function to the core/app.js file to be exported:
const routessss = async (path) => {
console.log("routessss");
};
and then
export default {routessss};
In the render.js file i have:
const { routessss } = require('../build/app.node');
console.log("routessss",routessss);
but that console.log returns routessss undefined...
What am i doing wrong?
Thanks!

Any update?
Thanks!

@dardub @noradaiko @v3yr0n I just replaced imperative style routes with declarative (see routes.json. These routes are parsed and compiled into JavaScript code with Webpack by using tools/webpack.routes-loader.js and path-to-regexp. At run time, when you call router.resolve(routes, { path }) the router loads corresponding React component alongside with required data and returns it to the caller that itself calls ReactDOM.render(component, container) (see main.js#L41-46 and core/router.js).
With these type of routes it should be extremely easy to add one more build step (see tools/build.js) that will go through the list of paths defined in routes.json and generate a corresponding .html page. If you want to take a stub on it that would be awesome!

npm run build now generates a static .html page for each route (see tools/copy.js). Feel free to reopen if this logic needs to be improved.

Cheers!🎉

@noradaiko BTW, what routing approach do you personally prefer, declarative or imperative? A poll :)

@koistya I prefer imperative way because it's explicit & easy to tweak👌

@koistya what happened to this build script in the last commits? :) it's not in the run.js file...

@v3yr0n I'm not sure if it's worth the added complexity to pre-render HTML pages since Google can crawl dynamically generated sites just fine. Check out this article:
http://chrisarasin.com/react-seo/
Do you still need that feature?

Yeah, i believe that SEO is not a problem :) I need to export the pages as static html because i want to maximize the compatibility between browsers. I need to embrace the maximum browsers I can, like the safari for ipad 1 :)

But I was just asking, i can simply get your code from the 9a820de2b371348fe23f7e4639e17f6428afdca0 commit :)

@v3yr0n there are also multiple approach for generating static .html pages, I'd like to try this approach where you generate an HTML page by using some headless browser (as opposed to making your app work isomorphically in order to be able to pre-render it).

I think SEO is still a bit of a problem. Sure Google is OK, but even the article above highlights 20-30% of traffic might not be from Google. Also there can be issues with social sharing as well e.g. Facebook's OpenGraph parser and Twitter as well don't render JS, so the page you share through that won't show the right titles, metadata, preview images etc if that is only generated by JS, unless here is actual HTML sitting at that endpoint.
Be interesting to look at other options for this.


cluster-init flag is not documented correctly

Hello,
I found an mistake in the documentation (or maybe I don't understand it correctly?). To create a cluster, you suggest the following command: K3S_TOKEN=SECRET k3s server --cluster-init
After reviewing the how-to-flags page, I installed the server with the following command:
curl -fL https://get.k3s.io | K3S_TOKEN='mysecrettoken' sh -s - k3s server --cluster-init
but this is not working since k3s should not be here and one should read:
curl -fL https://get.k3s.io | K3S_TOKEN='mysecrettoken' sh -s - server --cluster-init
I am referring to the ha embedded page
In case someone tried with k3s, you can uninstall the not working k3s server with: /usr/local/bin/k3s-k3s-uninstall.sh instead of /usr/local/bin/k3s-uninstall.sh
There is also the same typo in ha with external db page:
K3S_TOKEN=SECRET k3s agent --server https://fixed-registration-address:6443
Hope this will help someone in the same situation
Torpi

Seems to be some user confusion between passing environment variables and arguments to the install script, vs the k3s binary post-install. I don't see any errors in the docs, but then I am pretty handy with a shell so I may understand the intent better than some folks just getting started.

You are absolutely right, the confusion comes from passing vars and args to the install script vs lauching k3s with args and variables (post-install).
What's confusing is that the sample to launch the cluster (post-install) is in the installation chapter of the documentation.

Thanks. This helped a lot. The documentation is still wrong and hence it's very difficult to install.

@aboyum can you point to which specific portion of the documentation is wrong?

As torpinouche mentioned in 2020. From the installation options (https://rancher.com/docs/k3s/latest/en/installation/install-options/) it looks like you are supposed to write the installation like this (at least from my notes trying to install it):
curl -sfL https://get.k3s.io | K3S_TOKEN=SECRET k3s server --cluster-init sh -
However, the secret should be written with single quotes, and you should not write "k3s", but rather:
curl -fL https://get.k3s.io | K3S_TOKEN='my-secret' sh -s - server --cluster-init
It's was quite confusing for me to try to install a HA-K3S cluster.
Take a look at this page: https://rancher.com/docs/k3s/latest/en/installation/ha-embedded/
It doesn't give any help, but I rather got confused even more.
Like this part:
_To get started, first launch a server node with the cluster-init flag to enable clustering and a token that will be used as a shared secret to join additional servers to the cluster.
K3S_TOKEN=SECRET k3s server --cluster-init_
But what you really should write is something like this:
curl -fL https://get.k3s.io | K3S_TOKEN='SECRET' sh -s - server --cluster-init
Would have been nice if the documentation was easier to understand. Thanks.

As I said above, you're conflating different instructions:

Seems to be some user confusion between passing environment variables and arguments to the install script, vs the k3s binary post-install.

The install options page shows you how to provide flags when installing K3s:

curl -sfL https://get.k3s.io | K3S_TOKEN=SECRET INSTALL_K3S_EXEC="server --cluster-init" sh -

The ha-embedded page shows you how to provide flags when starting K3s from the command line:

K3S_TOKEN=SECRET k3s server --cluster-init

Neither of them is wrong, they are just different scenarios.

I do understand that these are two different options. The problem  (at least for me) is that the other option with a binary seems to be the one suggested for an HA with Embedded DB but the documentation didn't tell much and left me in the middle of woods
"to get started, first launch a server node with the cluster-init". Ok, I run this and after seeing a bunch of messages it just stays on the screen. Do I ctrl+c it? ctrl+z?  Without killing it I started the the binary on two other nodes. It seemed like they started chatting. But again, do I ctrl+z it now? Should I kill it and start it again in background, with no "cluster-init" this time?
How should I start them after reboot. No systemd, no nothing in documentation about it (perhaps I am not looking right then I apologize)
Where can I find next steps on how to finish install of the ha cluster and make it prod ready? I think I understand that this is all wrapped in one k3 binary and it needs to stay running so I guess I could poke around and make my my own service file but it would be nice to have some guidance in the documentation.
thanks!

Putting it all together:
# run this on the first server
curl -sfL https://get.k3s.io | K3S_TOKEN=SECRET INSTALL_K3S_EXEC="server --cluster-init" sh -

# run this on the other two servers, one at a time
curl -sfL https://get.k3s.io | K3S_TOKEN=SECRET K3S_URL=https://server1:6443 INSTALL_K3S_EXEC="server" sh -

That's it.

Thank you! These two lines (with a short information explaining that it will not only initialize the cluster but also will take care of systemd, provide some uninstall scripts etc)  was probably something that beginners like I could really use in "High Availability with Embedded DB" section. Now I am putting all the blocks together and I see that information is there in fact but there was no way I would connect on my own the INSTALL_K3S_EXEC (1 out of 15 listed variables) which was mentioned in Example B: INSTALL_K3S_EXEC  (which didn't have anything to do with initialization) with information provided in the "Availability with Embedded DB". So thanks again, helped a lot. If anyone responsible for documentation is reading this, please consider adding a small note in the HA section.

Putting it all together:
# run this on the first server
curl -sfL https://get.k3s.io | K3S_TOKEN=SECRET INSTALL_K3S_EXEC="server --cluster-init" sh -

# run this on the other two servers, one at a time
curl -sfL https://get.k3s.io | K3S_TOKEN=SECRET K3S_URL=https://server1:6443 INSTALL_K3S_EXEC="server" sh -

That's it.

This, right there, saved me a couple of hours of head scratching. Thanks! It should live in some HA quickstart guide.

K3S_TOKEN=SECRET k3s agent --server https://fixed-registration-address:6443
For this one you can export K3s_TOKEN and K3S_URL and run the installation command and it adds the agent to your cluster


recognize color values when formatting

This adds support for recognizing CODAP color values when we go to format colors for printing. For instance, this is used in the titles of partitioned datasets:

It also comes up in error messages:

I figure it's good to expose the underlying hex/rgb/rgba color values--in the event the user didn't create it themselves and doesn't understand it, they'll still see "color" and know it was a color, and in the event they did create it of their own accord, knowing the color values might provide critical info (I prefer this to just showing "a color").

This looks great, especially considering I'm working on tweaking numeric compare so we get more color hues.


when I tried to run the pod install in the  iOS folder I am facing the issues like below.

[!] CocoaPods could not find compatible versions for pod "react-native-fbsdk-next":
In Podfile:
react-native-fbsdk-next (from ../node_modules/react-native-fbsdk-next)
Specs satisfying the react-native-fbsdk-next (from ../node_modules/react-native-fbsdk-next) dependency were found, but they required a higher minimum deployment target.

Hi @KrishnarajS-FSP iam facing same issue . please share how you solve this Thank you

@bextechnologies i'm facing the same issue. did you find a solution?

minimum deployment target refers to the minimum OS version you're going to support for the pod project.
I had the same problem, then realized I had in my ios/Podfile:
platform :ios, '10.0'
Updating this to 11.0, then rerunning pod install within the ios directory resolved the issue for me.

@rnz269 thank you! it works


Grouping when data comes from live connection to Analysis Services?

We are unable to create groups when we have a live connection to Analysis Services. Is this expected behaviour? If yes, is it planned to be made available?

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

ID: 7a1e0b0a-ff95-b2f7-44db-5c07ca876ab4
Version Independent ID: 1c975595-bf44-5f66-3e08-02c3e8e63797
Content: Use grouping and binning in Power BI Desktop - Power BI
Content Source: powerbi-docs/desktop-grouping-and-binning.md
Service: powerbi
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi, @Liszet, thanks for your comment. We’ve forwarded your feedback to the writer, who should respond soon. You might also try asking in the Power BI Community, https://community.powerbi.com. Thanks!

@maggiesMSFT any update on this? I'd really like to know why we can't use grouping and have to do everything with measures with pushed datasets in the analytics service-- especially because I don't see this documented anywhere as a limitation.

Thanks for your comment, @Liszet and @mdiscenza, and sorry for the delay. This looks like a support request rather than documentation feedback. You might find a solution in the Power BI Community, found at https://community.powerbi.com. If not, you can get support by going to https://support.powerbi.com.


Add Papaya theme

Thanks for creating Zola!
I liked the Anpu theme so much I decided to make a fork of my own and throw in a whole bunch of changes & features, specifically catered around blogging & project featuring.

Thanks!