Easier Dataframe API for map

Dataframe API for map expects us to pass args with make_array
i.e.
map(vec![make_array(vec![lit("a"), lit("b")]), make_array(vec![lit("1"), lit("2")])])

I think we could have easier one with without make_array
map(vec![lit("a"), lit("b")], vec![lit("1"), lit("2")]])

To achieve this we may need to change the arguments of MapFunc from two array to Vec<Expr>, which the first half are keys, another half are values.
Originally posted by @jayzhan211 in https://github.com/apache/datafusion/pull/11452#discussion_r1684115054
Dataframe API is somthing used for building Expr
Most of them are written in macro if they have similar pattern, others are individual function, like count_distinct
pub fn count_distinct(expr: Expr) -> Expr {
    Expr::AggregateFunction(datafusion_expr::expr::AggregateFunction::new_udf(
        count_udaf(),
        vec![expr],
        true,
        None,
        None,
        None,
    ))
}

The idea of map is similar to
pub fn map(keys:Vec<Expr>,values:Vec<Expr>) -> Expr {
    let args: Vec<Expr> = concat keys and values
    Expr::ScalarFunction(datafusion_expr::expr::ScalarFunction::new_udf(
        map_udf(),
        vec![args],

    ))
}

take

@jayzhan211 I have drafted a PR #11560 for it. The design differs from your proposal, but it makes sense to me. Could you take a look at it?
The core concept is providing an expression function and wrapping make_array for the arguments. I think we don't need to change the argument format of MapFunc. However, we need to move map.rs to functions-array because it needs make_array.
Maybe we can rename functions-array to functions-collection? I think there are many implementations that could be shared if we want to support more collection types and usage.

@jayzhan211 I have drafted a PR #11560 for it. The design differs from your proposal, but it makes sense to me. Could you take a look at it?
The core concept is providing an expression function and wrapping make_array for the arguments. I think we don't need to change the argument format of MapFunc. However, we need to move map.rs to functions-array because it needs make_array.
Maybe we can rename functions-array to functions-collection? I think there are many implementations that could be shared if we want to support more collection types and usage.

My concern is that it might be slower because of additional make_array() computation.

My concern is that it might be slower because of additional make_array() computation.

I see. I think I can do some benchmarks for them.
Because I have some concerns mentioned in https://github.com/apache/datafusion/pull/11452#discussion_r1682783513 for changing the MapFunc, I prefer to keep the original design.

I have some concerns for it. If we make MapFunc to accept one array, it would be used like
SELECT map([1,2,3,'a','b','c'])
After planning, the input array would be ['1','2','3','a','b','c'] because of the type coercion for array elements. I think the behavior is wrong. If we change the signature of MapFunc, we might need to have another implementation to solve it.

I think in this case we should adjust the coercion rule with coerce_types for MapFunc

Ideally MapFunc should have the arguments that have minimum transformation and computation cost for creating StructArray, so we can get the most efficient implementation.

k1, v1, k2, v2... is not ideal because we need to arrange it to k1, k2, ... v1, v2 ..., that is why initial MakeMap is beaten by MapFunc.
current implementation has the additional cost of make_array transformation, I guess we could do better without it.

My concern is that it might be slower because of additional make_array() computation.

I followed #11526 to create another implementation for map_func, called map_one_func temporarily. I did some benchmarks and found that there are no obvious differences between the performance of the map and map_one functions. I also pushed the updated commits in #11560. You could check it.
The benchmark results: (map is the original design and map_one is the new design)
Gnuplot not found, using plotters backend
map_1000                time:   [9.5816 ms 9.6505 ms 9.7221 ms]
                        change: [-3.3395% -1.7212% -0.4746%] (p = 0.02 < 0.05)
                        Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild

map_one_1000            time:   [9.7250 ms 9.7995 ms 9.8764 ms]
                        change: [-3.4189% -0.6339% +1.3546%] (p = 0.68 > 0.05)
                        No change in performance detected.
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high mild

I ran the benchmark many times, and each time I got similar results. Referring to the result, I think we can just use the original design here. What do you think?
By the way, I found that the compile time to run the benchmark in the core is very long. It takes about 9 minutes. I'm not sure if that's normal. 😢
 jax: ~/git/datafusion/datafusion/core (feature/11546-map-df-api) $ cargo bench --bench map_query_sql
   Compiling datafusion-functions v40.0.0 (/Users/jax/git/datafusion/datafusion/functions)
   Compiling datafusion-functions-array v40.0.0 (/Users/jax/git/datafusion/datafusion/functions-array)
   Compiling datafusion v40.0.0 (/Users/jax/git/datafusion/datafusion/core)
    Finished `bench` profile [optimized] target(s) in 8m 53s

pub fn map(keys: Vec<Expr>, values: Vec<Expr>) -> Expr {
    let keys = make_array(keys);
    let values = make_array(values);
    Expr::ScalarFunction(ScalarFunction::new_udf(
        map_udf(),
        vec![keys, values],
    ))
}

pub fn map_from_array(keys: Vec<Expr>, values: Vec<Expr>) -> Expr {
    let keys = make_array(keys);
    let values = make_array(values);
    Expr::ScalarFunction(ScalarFunction::new_udf(
        map_one_udf(),
        vec![keys, values],
    ))
}

It seems they both compute make_array, but I think we can avoid make_array at all.
pub fn map_from_array(keys: Vec<Expr>, values: Vec<Expr>) -> Expr {
    let mut args = keys;
    args.extend(values);
    Expr::ScalarFunction(ScalarFunction::new_udf(
        map_one_udf(),
        args,
    ))
}

I'm not sure whether it is expected, I guess because core crate has almost all the dependencies therefore many crates to re-complie.

It it not the case for running cargo build in ~/arrow-datafusion 😕

    let mut args = keys;
    args.extend(values);

Oops... Sorry about that. I forgot to remove this. I will provide another benchmark result. Many thanks.

Here is the benchmark result after removing make_array ( I also pushed a new commit to the draft PR):
map_1000                time:   [10.105 ms 10.168 ms 10.233 ms]
                        change: [+0.0989% +1.5780% +2.8979%] (p = 0.02 < 0.05)
                        Change within noise threshold.
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high mild

map_one_1000            time:   [44.081 ms 45.278 ms 46.808 ms]
                        change: [+1.8229% +4.9320% +8.3942%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 9 outliers among 100 measurements (9.00%)
  3 (3.00%) high mild
  6 (6.00%) high severe

I think the result is really bad but I tried to understand why make_array is efficient. I noticed it uses make_scalar_function to handle the ColumnarValue. I guess it could be more efficient than ScalarValue::into_array.
https://github.com/apache/datafusion/blob/5da7ab300215c44ca5dc16771091890de22af99b/datafusion/functions-array/src/make_array.rs#L102-L104
I will try to use this way to modify the two version and give another benchmark.

Ok, I think it's getting worse.
Gnuplot not found, using plotters backend
map_1000                time:   [9.1289 ms 9.1897 ms 9.2537 ms]
                        change: [-0.7915% +0.1565% +1.1967%] (p = 0.75 > 0.05)
                        No change in performance detected.
Found 4 outliers among 100 measurements (4.00%)
  3 (3.00%) high mild
  1 (1.00%) high severe

Benchmarking map_one_1000: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 6.4s, or reduce sample count to 70.
map_one_1000            time:   [62.787 ms 63.239 ms 63.732 ms]
                        change: [-2.6609% -1.0620% +0.3899%] (p = 0.17 > 0.05)
                        No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)

I also tried to remove
    let mut args = keys;
    args.extend(values);

Just pass an args vector to map_from_array, but it's still slower. I pushed this version to a different branch: https://github.com/goldmedal/datafusion/blob/feature/11546-map-df-api-v4/datafusion/functions/src/core/map.rs
If you're interested, you can check it out.
Actually, I found that make_scalar_function uses ColumnarValue::values_to_arrays, so I need to use make_array_inner to aggregate the primitive arrays.
In conclusion, the original design (using make_array) is the fastest.

The slower one build up StringArray with StringArray::from_iter_values, while the faster one convert ScalarValue to StringArrays and then concat them. I have no idea why the former is 4x slower 😕 .

I think the original design looks good to me

Maybe we can rename functions-array to functions-collection? I think there are many implementations that could be shared if we want to support more collection types and usage.

functions-nested? For array, struct, map

functions-nested? For array, struct, map

It looks good, but I think we can have another PR for it. It's also related to changing the name of array_expressions feature.


Add helpers for other authentication methods

This includes the definition of roles for using with requires_role?

Hey, yes - I've added helpers for requiring role, or claim in authentication refactoring I've done today.
The helpers that can be plugged in scope, pipeline or controller are here - https://github.com/SaturnFramework/Saturn/blob/master/src/Saturn/Authentication.fs
The helpers for application  - https://github.com/SaturnFramework/Saturn/blob/master/src/Saturn/Application.fs#L157-L235
Feedback welcomed.

Not really the helper I had in mind, but something for that part: https://vtquan.github.io/fsharp/setting-up-services-with-giraffe/

Oooh.. sure, adding those should be possible!

There is a lot that can be added to IServiceCollection and not sure where the line should be drawn. Maybe just having a helper to add a custom service to ServicesConfig would be enough in the case where the user need it.

Helper for adding custom ServiceConfig configuration definitely should be there - I'm not sure why it's not here since I've added similar helpers for both ApplicationBuilder and `WebHostBuilder - https://github.com/SaturnFramework/Saturn/blob/master/src/Saturn/Application.fs#L77-L85
And looking again at the link you've provided - how does AddAuthorization fits with non-MVC applications (i.e. Giraffe)? MSFT documentation essentially points to using [<Authorize>] attributes on MVC controllers which is not the case for us.

I was probably assuming stuff that is not true. I was understanding that these policies could behave as a role alias so I could use them in requires_role. Like the link, using Administrators to match Administrator and Moderators to match Administrator or Moderator.
Could we have a requires_policy with that behaviour?

Authentication helpers implemented in 3fe92abda0fce83890595b84574f3d028cc4974e
Authorization helpers discussion moved to #26


Revert "Add vkakaraparthy, Fremont to hometown"

Reverts githubschool/refactored-fiesta#43

@asharma-art , can u check now?


Has any plan  Importing from UI Libraries  support Quasar

after view the doc, i found this module support
Ant Design Vue
Element Plus
Has any plan  Importing from UI Libraries  support Quasar

Feel free to create a PR. Thanks

@vitorarantes  Just wanna to know have ever test  the resolver and can offer a codebox?  I create the issue cause that I'v try some other ideas like https://github.com/ekoeryanto/vite-quasar/tree/master/scripts
it really works  except A bit wordy! also I create a PR for it ,but still not good enough
but as  I tested on this  reslover, seam not work, not register quasar register fn, not register style , cannot use plugin
so have I missed something?

@antfu  And also I think this issue should be reopened!

@fyeeme did you import Quasar in your main.js / app.js ?
import { Quasar } from 'quasar'
import 'quasar/dist/quasar.css'

app.use(Quasar, {
  config: { //... },
  plugins: { //... }
})


Problems updating a stack tag's value

What happened?
This is a follow-up to #75; the background and reproduction steps on that issue are still applicable here.
Now, I'm able to change a tag value in the SaaS, but still get empty diffs on subsequent pulumi up calls.
Attempting to delete the tag now results in the following error message:
error: failed to make request: failed to parse response body, status code 404: invalid character 'p' after top-level value

Steps to reproduce
See #75.
Expected Behavior
A stack tag should be able to be renamed.
Actual Behavior
See above.
Output of pulumi about
CLI
Version      3.37.2
Go Version   go1.17.12
Go Compiler  gc

Plugins
NAME           VERSION
pulumiservice  unknown
yaml           unknown

Host
OS       debian
Version  11.4
Arch     x86_64

Though the version of the pulumiservice plugin isn't displayed in pulumi about, I'm using v0.1.6, based on the contents of ~/.pulumi/plugins.
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Thanks, @mchaynes! 🙏

No problem at all 😄 @christophermaier


Wagtail 6 Upgrade

Link to Ticket
Description of Changes Made
This upgrades Wagtail to version 6, based on the upgrade considerations documented in the release notes.
Having gone through the upgrade considerations, the following changes have been made:

Removal of use_json_field=True from StreamField, as it's no longer required (fac236f)
Removal of widget=SlugInput on SlugField fields, since this is now the default (2b12a87)

Bumping wagtail from 5.2 to 6.0 necessitated the following additional package upgrades:

wagtail-purge, from v0.3.0 to v0.4.0 (c9b20f9)
wagtailmedia, from v0.14.5 to v0.15.1 (becb04b)

Additionally, I have

bumped Django from 4.2.9 to 4.2.11, so we have the latest security updates in the current LTS release. (4ce7756)
rearranged the dependencies in pyproject.toml so as to make it easier to spot packages that are likely to be affected by a wagtail upgrade (c9b20f9)

How to Test
Please see the ACs on the ticket.
Screenshots

Wagtail admin

Sluginput
https://github.com/torchbox/torchbox.com/assets/7713776/191225b4-e75d-470d-af4f-815ed36ea3df

MR Checklist

[x] Add a description of your pull request and instructions for the reviewer to verify your work.
[x] If your pull request is for a specific ticket, link to it in the description.
[x] Stay on point and keep it small so the merge request can be easily reviewed.
[x] Tests and linting passes.

Unit tests

[ ] Added
[x] Not required

Documentation

[ ] Updated build docs
[ ] Updated editor guidelines (https://docs.google.com/document/d/1PAWccdQ4tfaZsrEWmpDhvP3GH5RRmBOARFVp4b-kje8/edit?usp=sharing)
[x] Not required

Browser testing

[x] I have tested in the following browsers and environments (edit the list as required)

Latest version of Chrome on Linux
Latest version of Firefox on Linux

[ ] Not required

Data protection

[x] Not relevant
[ ] This adds new sources of PII and documents it and modifies Birdbath processors accordingly

Accessibility

[ ] Automated WCAG 2.1 tests pass
[ ] HTML validation passes
[ ] Manual WCAG 2.1 tests completed
[ ] I have tested in a screen reader
[ ] I have tested in high-contrast mode
[ ] Any animations removed for prefers-reduced-motion
[x] Not required

Sustainability

[ ] Images are optimised and lazy-loading used where appropriate
[ ] SVGs have been optimised
[ ] Perfomance and transfer of data considered
[ ] If JavaScript is needed alternatives have been considered
[x] Not required

Pattern library

[ ] The pattern library component for this template displays correctly, and does not break parent templates
[ ] The styleguide is updated if relevant
[x] Changes are not relevant the pattern library

I will update the versions in the  'client sites and apps' Monday board in anticipation of this being merged

Note that https://github.com/torchbox/torchbox.com/pull/190 is shortly going to be merged to main and when this is done you'll need to update line 19 of tbx/events/models.py to remove use_json_field=True

Note that #190 is shortly going to be merged to main and when this is done you'll need to update line 19 of tbx/events/models.py to remove use_json_field=True

Done in 0d6adf5


error on get answer

bardapi.core.Bard(token=cookie, language='it').get_answer(search)['content']
get_answer -> list out of range

You can resolve this error by upgrading the version of the Bard API package to the latest.
Use the following command:
pip install -U bardapi


Add generics to ArrayList

Found this tricky initially but now that I have a better understanding of how it works I'll give it another go.
PRs

https://github.com/silverstripeltd/silverstripe-framework-generics/pull/14
https://github.com/silverstripeltd/silverstripe-framework-generics/pull/15
https://github.com/silverstripeltd/silverstripe-framework-generics/pull/17

I'm thinking that there might be some hidden logic in ArrayList that is making my IDE confused, this is how it resolves for me
/** @var ArrayList<string[]> */
$foo = ArrayList::create();
foreach ($foo as $item) {
    /** @var T $item */
}

/** @var DataList<File> */
$bar = DataList::create();

foreach ($bar as $item) {
    /** @var DataObject|File|null $item */
}

Go with #15 for now, have a look at the tests here https://github.com/ramsey/collection/blob/main/tests/types/collections.php, these should work for us nicely

ooh and you might need to set
 /**
  * @return Tranversable<array-key, T>
  */
 public function getIterator(): Traversable

Sweet, thanks.
I'll leave tests out for now - that might be a good focus for tomorrow possibly.

15 merged


»arguments« configuration setting is broken

Having the arguments flag present with non-empty content in .hlint.yaml produces an error,
echo "main = id (pure ())" > Main.hs
echo "- arguments: [--color]" > .hlint.yaml
hlint .

hlint: .: openFile: inappropriate type (is a directory)

The issue seems independent of the flag in the list; foo instead of --color does not change the behaviour. Removing .hlint.yaml or emptying its contents produces the expected result,
./Main.hs:1:8: Warning: Evaluate
Found:
  id (pure ())
Why not:
  (pure ())

1 hint

Thanks for the report - interesting indeed. I'll investigate.

It seems to me that the issue is caused by the following line: https://github.com/ndmitchell/hlint/blob/master/src/HLint.hs#L150. If yaml file contains arguments declaration, the readAllSettings function will try to parse command with extended list of arguments and return new command instead of old one that was specified to runHints. The issue is that old command has files already resolved, while newly parsed command has no such thing.
Consider my local example:
The old command than gets into runHints
CmdMain
  { cmdFiles =
      [ "./Setup.hs"
      , "./doc-svg-gen/Main.hs"
      , "./doc-svg-gen/Setup.hs"
      , "./src/Language/Haskell/Brittany.hs"
      , "./src/Language/Haskell/Brittany/Backend.hs"
      , "./src/Language/Haskell/Brittany/BackendUtils.hs"
      , "./src/Language/Haskell/Brittany/Config.hs"
      , "./src/Language/Haskell/Brittany/ExactPrintUtils.hs"
      , "./src/Language/Haskell/Brittany/LayouterBasics.hs"
      , "./src/Language/Haskell/Brittany/Prelude.hs"
      , "./src/Language/Haskell/Brittany/Types.hs"
      , "./src/Language/Haskell/Brittany/Utils.hs"
      , "./src/Language/Haskell/Brittany/Config/Types.hs"
      , "./src/Language/Haskell/Brittany/Layouters/Decl.hs"
      , "./src/Language/Haskell/Brittany/Layouters/Expr.hs"
      , "./src/Language/Haskell/Brittany/Layouters/Pattern.hs"
      , "./src/Language/Haskell/Brittany/Layouters/Stmt.hs"
      , "./src/Language/Haskell/Brittany/Layouters/Type.hs"
      , "./src/Language/Haskell/Brittany/Transformations/Alt.hs"
      , "./src/Language/Haskell/Brittany/Transformations/Columns.hs"
      , "./src/Language/Haskell/Brittany/Transformations/Floating.hs"
      , "./src/Language/Haskell/Brittany/Transformations/Indent.hs"
      , "./src/Language/Haskell/Brittany/Transformations/Par.hs"
      , "./src-brittany/Main.hs"
      , "./src-idemtests/cases/LayoutBasics.hs"
      , "./src-literatetests/Main.hs"
      , "./src-unittests/AsymptoticPerfTests.hs"
      , "./src-unittests/TestMain.hs"
      , "./src-unittests/TestUtils.hs"
      ]
  , cmdReports = []
  , cmdGivenHints = []
  , cmdWithHints = []
  , cmdColor = Auto
  , cmdThreads = 1
  , cmdIgnore = []
  , cmdShowAll = False
  , cmdExtension = [ "hs" , "lhs" ]
  , cmdLanguage = []
  , cmdCross = False
  , cmdFindHints = []
  , cmdDataDir =
      "/home/sergey/projects/haskell/projects/dev-tools/hlint/.stack-work/install/x86_64-linux/lts-8.11/8.0.2/share/x86_64-linux-ghc-8.0.2/hlint-2.0.6"
  , cmdDefault = False
  , cmdPath = [ "." ]
  , cmdCppDefine = []
  , cmdCppInclude = []
  , cmdCppFile = []
  , cmdCppSimple = False
  , cmdCppAnsi = False
  , cmdJson = False
  , cmdNoSummary = False
  , cmdOnly = []
  , cmdNoExitCode = False
  , cmdSerialise = False
  , cmdRefactor = False
  , cmdRefactorOptions = ""
  , cmdWithRefactor = ""
  }

Newly parsed command after line 150:
CmdMain
  { cmdFiles = [ "." ]
  , cmdReports = []
  , cmdGivenHints = []
  , cmdWithHints = []
  , cmdColor = Auto
  , cmdThreads = 1
  , cmdIgnore = []
  , cmdShowAll = False
  , cmdExtension = [ "hs" , "lhs" ]
  , cmdLanguage = []
  , cmdCross = False
  , cmdFindHints = []
  , cmdDataDir =
      "/home/sergey/projects/haskell/projects/dev-tools/hlint/.stack-work/install/x86_64-linux/lts-8.11/8.0.2/share/x86_64-linux-ghc-8.0.2/hlint-2.0.6"
  , cmdDefault = False
  , cmdPath = [ "." ]
  , cmdCppDefine = []
  , cmdCppInclude = [ "srcinc" ]
  , cmdCppFile = []
  , cmdCppSimple = False
  , cmdCppAnsi = False
  , cmdJson = False
  , cmdNoSummary = False
  , cmdOnly = []
  , cmdNoExitCode = False
  , cmdSerialise = False
  , cmdRefactor = False
  , cmdRefactorOptions = ""
  , cmdWithRefactor = ""
  }

Fixed in hlint-2.0.7.

Thanks! :-)


Cannot read properties of null (reading 'querySelector') on ComposedModal.svelte

I see this message in the logs:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'querySelector')     at focus (ComposedModal.svelte? [sm]:69:31)     at ComposedModal.svelte? [sm]:82:7
But the ComposedModal works fine. Need to change something?
P.S.: ComposedModal placed before slot for login

Fixed in v0.66.1


nextcloud: fix deprecation warning

Motivation for this change
#65706 deprecates phpfpm poolConfigs, but the nextcloud module still sets those by default. This is supposed to get rid of that deprecation warning. Could use some independent testing.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @aanderse

@GrahamcOfBorg test nextcloud.basic

I tested locally, and the other two pass

Backported as 0d38802d66725c7a07ee1f04128c8af50df9b254. Thanks!


Android Dynamic Decimal EVM

Sending USDCf from EVM to another Flow address resulted in an error. It seems to be an issue with handling the decimal places. Currently, all platforms are using 18 decimals, but USDCf uses 8 decimals. The handling needs to be dynamic based on the API response.
https://www.flowdiver.io/tx/72f54b4bc94a4005029500823918bec3d5af1c087f5c95954bcdb4558f6b5937?tab=script

In Android prod version i1.4.11, USDCF token is not shown in EVM account token list in homepage when EVM account has USDCF.

This feature already add in Android prod version i1.4.14.
USDCF move and send successfully between EVM and Flow account now


Build / Install issue

Hello, am getting following error on initial build / install - everything seems to have went fine, up until:
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp] - Validating: OK
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp] Installing jupyter_contrib_nbextensions items to config in /opt/conda/etc/jupyter
#4 161.1 Enabling: jupyter_nbextensions_configurator
#4 161.1 - Writing config: /opt/conda/etc/jupyter
#4 161.1     - Validating...
#4 161.1       jupyter_nbextensions_configurator 0.6.1 OK
#4 161.1 Enabling notebook nbextension nbextensions_configurator/config_menu/main...
#4 161.1 Enabling tree nbextension nbextensions_configurator/tree_tab/main...
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp] Enabling notebook extension contrib_nbextensions_help_item/main...
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp]       - Validating: OK
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp] - Editing config: /opt/conda/etc/jupyter/jupyter_nbconvert_config.json
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp] --  Configuring nbconvert template path
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp] --  Configuring nbconvert preprocessors
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp] - Writing config: /opt/conda/etc/jupyter/jupyter_nbconvert_config.json
#4 161.1 [I 13:43:49 InstallContribNbextensionsApp] --  Writing updated config file /opt/conda/etc/jupyter/jupyter_nbconvert_config.json
#4 175.3
#4 175.3 done
#4 175.3 ERROR conda.core.link:_execute(740): An error occurred while installing package 'conda-forge::rise-5.7.1-py310hff52083_2'.
#4 175.3 Rolling back transaction: ...working... done
#4 178.0
#4 178.0 LinkError: post-link script failed for package conda-forge::rise-5.7.1-py310hff52083_2
#4 178.0 location of failed script: /opt/conda/bin/.rise-post-link.sh
#4 178.0 ==> script messages <==
#4 178.0
#4 178.0 ==> script output <==
#4 178.0 stdout:
#4 178.0 stderr: Traceback (most recent call last):
#4 178.0   File "/opt/conda/bin/jupyter-nbextension", line 10, in
#4 178.0     sys.exit(main())
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/jupyter_core/application.py", line 277, in launch_instance
#4 178.0     return super().launch_instance(argv=argv, **kwargs)
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/traitlets/config/application.py", line 1041, in launch_instance#4 178.0     app.start()
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 972, in start
#4 178.0     super().start()
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/jupyter_core/application.py", line 266, in start
#4 178.0     self.subapp.start()
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 882, in start
#4 178.0     self.toggle_nbextension_python(self.extra_args[0])
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 855, in toggle_nbextension_python
#4 178.0     return toggle(module,
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 470, in enable_nbextension_python
#4 178.0     return _set_nbextension_state_python(True, module, user, sys_prefix,
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 368, in _set_nbextension_state_python
#4 178.0     m, nbexts = _get_nbextension_metadata(module)
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 1107, in _get_nbextension_metadata
#4 178.0     m = import_item(module)
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/traitlets/utils/importstring.py", line 38, in import_item
#4 178.0     return import(parts[0])
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/rise/init.py", line 3, in
#4 178.0     version = pkg_resources.require("rise")[0].version
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/pkg_resources/init.py", line 909, in require
#4 178.0     needed = self.resolve(parse_requirements(requirements))
#4 178.0   File "/opt/conda/lib/python3.10/site-packages/pkg_resources/init.py", line 795, in resolve
#4 178.0     raise DistributionNotFound(req, requirers)
#4 178.0 pkg_resources.DistributionNotFound: The 'webcolors>=1.11; extra == "format-nongpl"' distribution was not found and is required by jsonschema
#4 178.0
#4 178.0 return code: 1
#4 178.0
#4 178.0 ()
#4 178.0
executor failed running [/bin/bash -o pipefail -c conda install --quiet --yes ${INSTALL_CONDA_PACKAGES} &&     pip install --upgrade --quiet ${INSTALL_PIP_PACKAGES} &&     git clone https://github.com/microsoft/msticpy.git &&     git clone https://github.com/microsoft/msticpy-training.git &&     pip install --requirement /home/jovyan/msticpy/requirements-all.txt]: exit code: 1

here's specific problem installing the "rise" component:
LinkError: post-link script failed for package conda-forge::rise-5.7.1-py310hff52083_2
location of failed script: /opt/conda/bin/.rise-post-link.sh
==> script messages <==

==> script output <==
stdout:
stderr: Traceback (most recent call last):
File "/opt/conda/bin/jupyter-nbextension", line 10, in
sys.exit(main())
File "/opt/conda/lib/python3.10/site-packages/jupyter_core/application.py", line 277, in launch_instance
return super().launch_instance(argv=argv, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/traitlets/config/application.py", line 1041, in launch_instance
app.start()
File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 972, in start
super().start()
File "/opt/conda/lib/python3.10/site-packages/jupyter_core/application.py", line 266, in start
self.subapp.start()
File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 882, in start
self.toggle_nbextension_python(self.extra_args[0])
File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 855, in toggle_nbextension_python
return toggle(module,
File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 470, in enable_nbextension_python
return _set_nbextension_state_python(True, module, user, sys_prefix,
File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 368, in _set_nbextension_state_python
m, nbexts = _get_nbextension_metadata(module)
File "/opt/conda/lib/python3.10/site-packages/notebook/nbextensions.py", line 1107, in _get_nbextension_metadata
m = import_item(module)
File "/opt/conda/lib/python3.10/site-packages/traitlets/utils/importstring.py", line 38, in import_item
return import(parts[0])
File "/opt/conda/lib/python3.10/site-packages/rise/init.py", line 3, in
version = pkg_resources.require("rise")[0].version
File "/opt/conda/lib/python3.10/site-packages/pkg_resources/init.py", line 909, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/conda/lib/python3.10/site-packages/pkg_resources/init.py", line 795, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'webcolors>=1.11; extra == "format-nongpl"' distribution was not found and is required by jsonschema
return code: 1
()
jovyan@5a75229e3429:/home$

Also, on line 8 of Dockerfile, this path doesn't exist in the container i am running:
Add conda to path
ENV PATH /opt/conda/envs/env/bin:$PATH
/opt/conda/bin does exist.

Here is a file compare on changes to the Dockerfile that got me going -
Comparing files Dockerfile and DOCKERFILE-WORKING
***** Dockerfile
Add conda to path
ENV PATH /opt/conda/envs/env/bin:$PATH
***** DOCKERFILE-WORKING
Add conda to path
ENV PATH /opt/conda/bin:$PATH

***** Dockerfile
Environment variable for Pip and conda packages to be installed
ENV INSTALL_CONDA_PACKAGES jupyter_contrib_nbextensions jupyterthemes phantomjs autopep8 plotly black rise
ENV INSTALL_PIP_PACKAGES azure-cli jupyterlab-git setuptools_git
***** DOCKERFILE-WORKING
Environment variable for Pip and conda packages to be installed
ENV INSTALL_CONDA_PACKAGES webcolors uri-template rfc3986-validator rfc3339-validator jsonpointer isoduration fqdn jupyter_cont
rib_nbextensions jupyterthemes phantomjs autopep8 plotly black rise
ENV INSTALL_PIP_PACKAGES azure-cli jupyterlab-git setuptools_git

Many thanks to Ian and all the folks who make msticpy possible.

Here is a file compare on changes to the Dockerfile that got me going -
Comparing files Dockerfile and DOCKERFILE-WORKING
***** Dockerfile
Add conda to path
ENV PATH /opt/conda/envs/env/bin:$PATH
***** DOCKERFILE-WORKING
Add conda to path
ENV PATH /opt/conda/bin:$PATH

***** Dockerfile
Environment variable for Pip and conda packages to be installed
ENV INSTALL_CONDA_PACKAGES jupyter_contrib_nbextensions jupyterthemes phantomjs autopep8 plotly black rise
ENV INSTALL_PIP_PACKAGES azure-cli jupyterlab-git setuptools_git
***** DOCKERFILE-WORKING
Environment variable for Pip and conda packages to be installed
ENV INSTALL_CONDA_PACKAGES webcolors uri-template rfc3986-validator rfc3339-validator jsonpointer isoduration fqdn jupyter_cont
rib_nbextensions jupyterthemes phantomjs autopep8 plotly black rise
ENV INSTALL_PIP_PACKAGES azure-cli jupyterlab-git setuptools_git

Many thanks to Ian and all the folks who make msticpy possible.


Move JMX support to a separate module so that the core engine can be used in Android

As discussed in issue #2 , Android does not support the JMX API. The core module of easy rules uses JMX by default with makes it unusable in an Android application.
The goal of this feature is to move JMX support to a separate module so that the core engine can be used both in Android and Java applications

I've opened a Pull Request for this issue. It can be found here: https://github.com/benas/easy-rules/pull/5


Plan to support Qemu?

^ THat question+ Did you start from a distro or from Linus's branch?

@lostinblue What? QEMU is already supported + this isn't linux.


Training with 40k Sample Rate

i was trying to train it from WSL without GUI, but i have noticed an issue with the configs, on GUI we specify v2 and it trains the model whether they are old models or the OV2 by SimplCup pretrained high quality models, even without having the v1 config, but when i run it with WSL it gives me the error of v2/40000.json, it won't work with v1 saying:
size mismatch for enc_p.emb_phone.weight: copying a param with shape torch.Size([192, 768]) from checkpoint, the shape in current model is torch.Size([192, 256])

OV2 pretraineds are only available for v2.

That's weird i tried selecting v2 and 40k on GUI and used those custom pretrained OV2 and it started but when i try to do it with WSL it fails and give error


Substantial lag on logging redux actions

Flipper version: 0.64.0
RN version: 0.63.3
I am working with a somewhat complex react native app, but sometimes the redux logs can get several minutes behind!
Under Flipper Degug logs, I see this message many times:
Plugin flipper-plugin-redux-debugger took too much time while doing background: 44ms. Handling background messages should take less than 25ms.
I'm wondering if there is anything I can do to fix this lag? Let me know if I can provide any other information.
Thank you!

Hi there,
These are the possible reasons and solutions:

Your redux store size is way too big to be handled. You may you either whitelist or blacklist to solve this problem.

If you enabled cyclic reference resolver, stop using it.

Thank you for the helpful response, whitelisting it is!


HEDLEY_STATIC_ASSERT: static_assert() expects 2 arguments in C++ <17

Hey, there. Evaluating with gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.11)
 __cplusplus version = 201402
Getting these errors:
hedley.h:1323:65: error: expected ‘,’ before ‘)’ token
 #  define HEDLEY_STATIC_ASSERT(expr, message) static_assert(expr)

hedley.h:1323:65: error: expected string-literal before ‘)’ token
 #  define HEDLEY_STATIC_ASSERT(expr, message) static_assert(expr)

According to the static_assert() documentation the function requires 2 arguments until C++17 (and this feature isn't implemented in GCC until v6 according to GCC docs).
Line 1322 in hedley.h is #elif defined(__cplusplus) && (__cplusplus >= 201103L) but should probably be #elif defined(__cplusplus) && (__cplusplus >= 201703L)
Changing to 201703L fixed the build for me. Wanted to pass this by you to make sure this is indeed a typo and not just a peculiarity of my environment.

Okay, that makes sense; I was worried I was missing something.  Hedley is due for a release anyways, I'll try to do the proper testing and get one out over the weekend, meanwhile I've gone ahead and pushed the fix to the dev branch.
Thanks again for reporting this!

Yeah, no problem, thanks for the fix!

@nemequ FWIW, this is where I look to find free version of the standard. The "Tim Song" links at the bottom are good: the C++14 version is N4140 which is basically "better" than the paid version of C++14: it's not a working draft but rather full C++14 plus subsequent "editorial" changes.
AFAIK the C standardsa are totally free these days?


Why need share_vocab between different languages

That's my doubt， hope for your  explainO(∩_∩)O~

In my opinion, that is used for seq2seq like summarization task whoes input and output are the same languages. Is that right?


Compilation fails

Compilation currently fails due to some workspace members due to some serialization error.
│ 56   |     Timing(String, Arc<Mutex<Timing>>),                                                                                │
│      |                    ^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Arc<parking_lot::lock_api::Mutex<parking_lot::RawMutex, profiling::Timing>>`                                                                                │

│ 53  | #[derive(Debug, Deserialize, EnumDebug, Serialize)]                                                                                │
│     |                                         ^^^^^^^^^ the trait `Serialize` is not implemented for `Arc<ProfileScope>`

And a couple others.
This occurs in: brane-dsl, brane-cfg, brane-shr
EDIT: This only seems to fail when built from the workspace member. If you compile everything at once using --workspace it works just fine. Weird.

Found it, the rc flag is missing from serde in the mentioned workspace members. This does not fail when compiling with --workspace, I think because it reuses a compilation where the rc flag was enabled. Not sure if this is a bug in cargo or intended behaviour.

Fix has been merged


Showing an action that uses certain symbols will crash the game

In my game, players can press , (Comma) to perform a certain action. Trying to show this as a key hint using this plugin simply results in the game crashing.
Here's a list of symbols I've been able to replicate this crash with:

, Comma
. Period
/ Forward Slash
' Apostrophe
= Equals
` backtick

Using any of these symbols results in the following error:
E 0:00:00:0454   ControllerIconTexture.gd:367 @ _stitch_texture(): Invalid image: null
  <C++ Error>    Condition "p_image.is_null()" is true. Returning: Ref<ImageTexture>()
  <C++ Source>   scene/resources/image_texture.cpp:76 @ create_from_image()
  <Stack Trace>  ControllerIconTexture.gd:367 @ _stitch_texture()
                 ControllerIconTexture.gd:379 @ _get_rid()

Reading the error message, it just looks like the icons are missing from the keyboard icon set. I can probably learn how the icons were made and contribute some icons to the pack, if necessary.
Interestingly, this error happens even if the shown key is not one of these symbols. For example, I use a Dvorak keyboard, and where , is on QWERTY, it should show W. However, it instead throws the error above. It does display the correct key if I use other keys, though, so I'm not sure what could cause this since it shouldn't be looking for , when displaying W.

I added these symbols in with #107. Once that is merged, this can be closed.

Thank you for your contribution! This crash should also be fixed by #105.

Interestingly, this error happens even if the shown key is not one of these symbols. For example, I use a Dvorak keyboard, and where , is on QWERTY, it should show W. However, it instead throws the error above. It does display the correct key if I use other keys, though, so I'm not sure what could cause this since it shouldn't be looking for , when displaying W.

This addon parses physical input keys if defined in the project (which I think now is the default on Godot 4). So this is expected behavior; on a QWERTY keyboard, it displays W, and on a DVORAK keyboard, it shows ,.
If this is not what you intend, you need to change the input action in your project to a non-physical key.


Plugin broken for 3.3.x line - java.lang.NoClassDefFoundError: org/grails/compiler/injection/test/TestForTransformation

Looks like grails 3.3 removed org.grails.compiler.injection.test.TestForTransformation because of the test subsystem rewrite. Not sure how big of a lift this is, but we cannot easily upgrade our apps to 3.3 without re-writing 400+ unit tests (because most rely on on this plugin!).
Love the plugin, have used it for years, is this something that can be looked at? Thanks!

Just noticed in the new grails docs:
"To simplify upgrades you can can still use the previous AST transformation based framework by adding the following dependency to your Grails application: build.gradle: testCompile "org.grails:grails-test-mixins:3.3.0""
Just FYI for others, it doesn't look like the real 3.3.0 version is released yet, I could only find RC1:
testCompile "org.grails:grails-test-mixins:3.3.0.RC1"
Located here: https://repo.grails.org/grails/core/org/grails/grails-test-mixins/
I haven't been able to fully test if this magically fixes everything or not, will report back, but at least the app compiles now!

Looks like this is a pretty core part of the plugin - grails.buildtestdata.mixin.BuildTransformation implements TestForTransformation, and this seems pretty vital to the whole way in which the plugin functions. Looks like this mechanism would need to be rewritten for the new ControllerUnitTest<>/ServiceUnitTest<>/DomainUnitTest<> testing system, and I don't know enough about this or the plugin to offer a quick fix pull request. I might look into it a little deeper for fun, but this may be a significant amount of work.

Also run into this issue, while upgrading my app.
Takes pretty long time to figure out cause of the problem.

I'm working on a release for Grails 3.3x but it requires a good bit of rework and some changes to the way the plugin works. I'm hoping to have it done in the next week or so.
It will be a breaking change, switching to a Trait based system instead of using the annotations (similar to what Grails did).

Wow, that's awesome news! I was doing some workarounds on my own time, but this is way better. Thanks so much for the effort, you've saved many of us a TON of work. The trait based re-work is no big deal, we had to rework our tests for that anyway. I'll be keeping my eye on this, and looking forward to upgrading in the coming weeks!

@sgates I've been working with @tkvw to incorporate some of his ideas in https://github.com/tkvw/gorm-build-test-data.
I think the final solution may end up being mostly backwards compatible with a few exceptions. I'm considering putting the compatibility stuff in a separate plugin to make it easier to separate the two of them; I haven't really settled on that yet.
Our project has a TON of BTD tests so I do like the idea of porting them slowly over time :)

@longwa that sounds great. Your plugin got a mention in the new Practical Grails 3 book - make sure to give Eric Helgeson a ping when you think the updates are up to snuff (if you're not in touch already) - he mentioned something about updating the book to grails 3.3 once BTD has been bumped. Cool stuff!


Implication Introduction (enhancement for non-temporal VarIntro)

From premises like
<(*,a,b) --> like>. %1.00;0.90%
<(*,b,a) --> like>. %1.00;0.90%

we already allow the derivation of different variants with different amount of variables like
<<(*,$1,$2) --> like> <=> <(*,$2,$1) --> like>>. %1.00;0.45%
<(&/,<(*,$1,b) --> like>,+5) =/> <(*,b,$1) --> like>>. %1.00;0.45%
<(&/,<(*,a,$2) --> like>,+5) =/> <(*,$2,a) --> like>>. %1.00;0.45%

and the variable-free variant:
<(&/,<(*,a,b) --> like>,+5) =/> <(*,b,a) --> like>>. %1.00;0.45%

For variable-introduction of non-temporal premises, v3.0.0 does not create a variable-free variant.
in v3.0.1 we should probably also allow this option to be derived.

probably not a good idea.


Add copyparams method to Sequential

This PR fixes #5824

Jenkins CI test (for commit d4a5e4f7212f026b3aaf02d2dbfe384d70013545, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

@niboshi Hi, I fixed the argument name and added a check for the object type of source link. Could you review this again?


Add npm deployment to github actions for provide-js

This package should be automatically build and deployed by github actions: https://www.npmjs.com/package/provide-js

The NPM_PUBLISH_API_TOKEN is available.

Completed.


How to widen page?

It seems the page width is too narrow, which is about 60% of a web. I guess that would maybe 75%~80% is better. How could I adjust the width?

create file under the blog project root if not exist
assets/sass/_custom/_custom.scss
and insert variable declaration like this
$global-body-width: 1300px;

Great! Thank you. :+1:


Allow creating duplicate frontend environment from GitHub branch, which is already used

Is your feature request related to a problem? Please describe.
I need creating two separate cloudfront distributions from the same git branch. That's because the logic of backend considers hostname, and it will return different data for different domains. I can not reuse the same CloudFront distribution, because of caching issues. Adding a Host header to cache key will lead to APIGW SNI violations, which can be solved with custom domain mappings. But to make them work with pull request previews, I need to include them in Cloudfront template, which is equivalent to just duplicating a distribution there, and a lot of work out of nothing.
Describe the solution you'd like
I'd like to create a duplicating frontend environment (connect the same branch for a second time).
Describe alternatives you've considered

It is currently possible by duplicating the amplify application, but it looks too ugly.
I can also duplicate the git branch, but what the heck? Why should I change gitflow to address UI issues of a CI server?

@astef-trilogy one workaround you have is that you can create a new app with the same branch


feat: add IAM Roles Anywhere CRLs, Trust Anchors, and Profiles

Cherry picks IAM Roles Anywhere from @rburchill commit and modify to libnuke format.
reference: https://github.com/rebuy-de/aws-nuke/pull/1186

:tada: This PR is included in version 3.0.0-beta.28 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Replay not working anymore

The replay function only works for KUKSA.val server. Maybe it should be dropped? Definitely should be clearly marked outdated.

If we "Update" (i.e. maybe redo) this, then this is worth a look: https://github.com/eclipse/kuksa.val/issues/366

Replay functionality (for KUKSA Server) was fixed as part of #117. That it does not support Databroker (and Databroker cannot create logs to be used by Replay) is a limitation rather than a bug. So shall we possibly close this one?

I suggest we consider replay legacy/deprecated now and closing this report? For databroker, CSV provider provides pretty much the same functionality and is supported.
(Other) opinions @erikbosch  @lukasmittag ?


[Mod Compat] 1.20.1 GregTech autocrafting not working with refined storage storage pattern grid

when i try to fill the gregtech machine recipe in the refined storage pattern grid it says current workstation does not support recipe.

Gregtech has historically broken this, report it to them


Setup Docker devcontainer support

As a developer
I need Docker devcontainer support for our project
So that I can have a consistent and reproducible development environment
Details and Assumptions
The project repository is set up with a version control system like Git
Acceptance Criteria
Given I have write access to the project repository
When I add a Dockerfile and .devcontainer configuration to the project
Then Docker devcontainer should be set up for the project or a version control error message should be returned.

Do we still need to implement this?


Convert Functional API to Model Subclassing in TensorFlow Tutorial?

Could anyone please teach me how to convert the Functional API to Model subclassing in this TensorFlow Official Tutorial? I suppose an elegant chuck of code should be what combines the Normalization layer with the remaining layers. Thank you very much!

@TianruiZhang Could you please have a look at the link1 , link2 and similar issue1.Please let us know if it helps?Thanks!

Thank you for your reply. I went through the TensorFlow tutorial, trying to reproduced the process to fit my purpose. I have only 1 predictor (age) and 1 target variable (se), both are continues variables.
Here's how I refactored the code:
from tensorflow.data import Dataset
from tensorflow.keras import Input
from tensorflow.keras.backend import clear_session
from tensorflow.keras.layers import Normalization

def df_to_dataset(dataframe, batch_size, shuffle=True):
  dataframe = dataframe.copy()
  labels = dataframe.pop("se")
  ds = Dataset.from_tensor_slices((dict(dataframe), labels))
  if shuffle:
    ds = ds.shuffle(buffer_size=len(dataframe))
  ds = ds.batch(batch_size)
  ds = ds.prefetch(batch_size)
  return ds

def get_normalization_layer(name, dataset):
  normalizer = Normalization(axis=None)
  feature_ds = dataset.map(lambda x, y: x[name])
  normalizer.adapt(feature_ds)
  return normalizer

test_ds = df_to_dataset(test, batch_size=5, shuffle=False)

[(train_features, label_batch)] = test_ds.take(1)
print(f"Every Feature: {list(train_features.keys())}")
print(f"A batch of ages: {train_features['age']}")
print(f"A batch of targets: {label_batch}")

batch_size = 128
train_ds = df_to_dataset(train, batch_size=batch_size)
val_ds = df_to_dataset(val, batch_size=batch_size, shuffle=False)
test_ds = df_to_dataset(test, batch_size=batch_size, shuffle=False)

all_inputs = []
encoded_features = []

# Numeric features
clear_session()
for header in ["age"]:
  numeric_col = Input(shape=(1, ), name=header)
  normalization_layer = get_normalization_layer(header, train_ds)
  encoded_numeric_col = normalization_layer(numeric_col)
  all_inputs.append(numeric_col)
  encoded_features.append(encoded_numeric_col)

Below the Functional API part, which worked as expected, like in the tutorial:
import tensorflow as tf
from tensorflow import math
from tensorflow.keras import Model, Input
from tensorflow.keras.backend import clear_session
from tensorflow.keras.losses import Loss
from tensorflow.keras.optimizers import Adam
from tensorflow.keras.layers import Dense, Normalization, Concatenate, Dropout
from tensorflow.keras.callbacks import ReduceLROnPlateau, EarlyStopping

class QuantileLoss(Loss):

  def __init__(self, quantiles):
    super().__init__()
    self.quantiles = tf.convert_to_tensor(quantiles)

  def call(self, y_true, y_pred):
    y_true = tf.convert_to_tensor(y_true)
    y_pred = tf.convert_to_tensor(y_pred)
    errors = math.subtract(y_true, y_pred)
    loss = math.reduce_mean(
        math.maximum(
            math.multiply(self.quantiles, errors),
            math.multiply(
                math.subtract(
                    self.quantiles, 1
                ),
                errors
            )
        ),
        axis=-1
    )
    return loss

clear_session()

earlystopping = EarlyStopping(patience=10)
lr_schedule = ReduceLROnPlateau(
    patience=5,
    monitor="val_loss",
    verbose=1
)
callbacks = [lr_schedule, earlystopping]
quantiles = [0.021, 0.157, 0.5, 0.841, 0.977, 0.998]
all_features = Concatenate()(encoded_features)
print(all_features.shape)
x = Dense(256, activation="selu")(all_features)
x = Dropout(0.3)(x)
x = Dense(64, activation="selu")(x)
output = Dense(len(quantiles))(x)
model = Model(all_inputs, output)
quantile_loss = QuantileLoss(quantiles)
model.compile(optimizer=Adam(learning_rate=0.001), loss=quantile_loss)
history = model.fit(train_ds, validation_data=val_ds, epochs=100, callbacks=callbacks)

I was trying to refactor the Functional implementation to make the code look more elegant.
class QuantileRegressor(Model):

  def __init__(self, quantiles, hidden_units):
    super().__init__()
    self.quantiles = quantiles
    self.concatenate = Concatenate()
    self.normalizer = Normalization(axis=None)
    self.hidden_dense = Dense(hidden_units, activation="selu")
    self.dropout = Dropout(0.3)
    self.output_dense = Dense(len(quantiles))

  def call(self, inputs):
    self.normalizer.adapt(inputs["age"])
    # The line above gave me an error!
    # Is it a good idea to place encoded_features, all_inputs here?
    # inputs here seemed to be a dictionary.
    return None

earlystopping = EarlyStopping(patience=10)
lr_schedule = ReduceLROnPlateau(
    patience=5,
    monitor="val_loss",
    verbose=1
)
callbacks = [lr_schedule, earlystopping]
quantiles = [0.021, 0.157, 0.5, 0.841, 0.977, 0.998]
hidden_units = 256
clear_session()
model = QuantileRegressor(quantiles, hidden_units)
quantile_loss = QuantileLoss(quantiles)
model.compile(optimizer=Adam(learning_rate=0.001), loss=quantile_loss)
history = model.fit(train_ds, validation_data=val_ds, epochs=10, callbacks=callbacks)

self.normalizer.adapt(inputs["age"]) in the call method resulted in
RuntimeError: in user code:

    /usr/local/lib/python3.7/dist-packages/keras/engine/training.py:853 train_function  *
        return step_function(self, iterator)
    <ipython-input-24-3f4f9f8eec72>:18 call  *
        self.normalizer.adapt(inputs["age"])
    /usr/local/lib/python3.7/dist-packages/keras/engine/base_preprocessing_layer.py:230 adapt  **
        _disallow_inside_tf_function('adapt')
    /usr/local/lib/python3.7/dist-packages/keras/engine/base_preprocessing_layer.py:591 _disallow_inside_tf_function
        raise RuntimeError(error_msg)

    RuntimeError: Detected a call to `PreprocessingLayer.adapt` inside a `tf.function`. `PreprocessingLayer.adapt is a high-level endpoint that manages its own `tf.function`. Please move the call to `PreprocessingLayer.adapt` outside of all enclosing `tf.function`s. Note that you can call a `PreprocessingLayer` directly on `Tensor`s inside a `tf.function` like: `layer(x)`, or update its state like: `layer.update_state(x)`.

That's why I am asking the question. What is the standard or preferred way using Model Subclassing, when adapting a Normalization layer?

@TianruiZhang Thank you for the update! Could you please  post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thanks!

@sushreebarsa Thanks, I’ve already done so.

@TianruiZhang Thank you for the quick update! Could you please close this ticket if you have posted this issue on Keras repo? Thank you!


Update to MSGETACLSTATUS

This maintains the previous functionality for PowerShell callers and also adds in a new optional property called "permission"

@John-Hart good catch! Tabbing fixed back to 2 spaces (curse you notepad++!)

@amarzavery I will put in descriptions for the new stuff in this PR, and then we will need to have another documentation specific PR later to get the rest of the specs to be fully documented.

sure

No modification for Ruby

 https://github.com/Azure/azure-sdk-for-node/pull/1861

 https://github.com/Azure/azure-sdk-for-python/pull/760


plugin is working perfectly in Android but in iOS not able to get location data while application is remove from background.

Hi @Priyalkothari

Are you testing the example app? if not please share the code;
Please share some logs or any data that you think might be useful.

Hi @Priyalkothari

Are you testing the example app? if not please share the code;
Please share some logs or any data that you think might be useful.

That problem was only for iOS. I have figure out that in iOS all codes are terminated after app closed. But I have another query to solve first. After initializing background locator I am not able to receive firebase push notification in iOS in my app. Is there any setting to change in your plugin so that I can receive notifications for iOS. This problem only occurs in iOS.

No, I didn't.
On Fri, Mar 19, 2021 at 3:51 PM Neill @.***> wrote:

Hi @Priyalkothari https://github.com/Priyalkothari ,
were you able to get this pluggin to work on ios while app is closed ?
android it works perfectly but not on ios
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rekab-app/background_locator/issues/182#issuecomment-802717687,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AITE2IE5DOOBRA6TEBX7RY3TEMQRDANCNFSM4V5JNRSA
.


put quotes around table and column names to allow reserved words in names

Putting quotes around table and column names in the SQL statements would allow to use reserved words.
For example "insert into posting set order=123" as order is a reserved word.

Please see also  #138 opened by @cszawisza
Maybe you could join forces :-)

Why not.

Can you just make the column's name ""order"" when you create the sqlpp templates for it?

This works very well.  With all our discussion, I'm much more in favor of this approach.  Ideally at some time we could enhance the generator to have a smart escape-generating code with support for various RDBMS's and only for objects with reserved words.
I would for now rather update the documentation describe the manual workaround for objects that uses reserved names.  And propose to reject my pull request.

Sounds like a very good plan to me. Would you like to add the respective documentation?

Hi Roland,
Here is an attempt.  Regards,
Serge
Tables.md.txt

Thanks!
Added to the wiki :-)

Merged into #199


Implement Pack command

Fixes #998
I verified that "Pack" command kicks off a real solution build for the selected project with "GeneratePackageOnBuild" property set to true, and is correctly reset to false at the end. Once NuGet implements https://github.com/NuGet/Home/issues/4145, this command should generate a NuGet package.

Tagging @dotnet/project-system for review.

Tests

I didn't know we had command handler tests. I'll work on adding a few in a separate commit.

@333fred addressed your feedback and added unit tests.


Cannae load the sentry.

I am getting this annoying error every time then I am trying to run tests,
29 Jan 14:04:35 - Cannae load the sentry. Error: ENOENT: no such file or directory, open '...\node\node-dota2\test\sentry'
29 Jan 14:04:37 - Connection closed by server.

Can't figure what is the reason for that.
Is it steamkit related?
Any ideas?

Is there a sentry file in that location? If not, try making one.

@jimmydorry just an empty file?

Yes, try it. That's literally what the error says.

@jimmydorry thanks.
There is not this error anymore.
But now every time Connection closed by server. I getting this.
Trying to go deeper.

No problem. Make sure to read the errors, and look through the readme.

I was able to connect yesterday but today I'm seeing the same 'connection closed by server'. This is reported when onSteamError is called.
There's nothing in the readme to indicate what could be causing this. Does anyone have any ideas for troubleshooting?

The most obvious cause would be Steam maintenance Tuesday. So check https://steamstat.us/ first.
Then make sure the sentry file exists in the correct location. Also, make sure there is no sentry code in your config.
Also, it never hurts to grab an up to date copy of this lib from here, and drop it over your current version. It's always possible that the NPM is out of date, or not pushed out yet.
https://github.com/RJacksonm1/node-dota2/archive/master.zip

Thanks @jimmydorry


merge SciBite dictionary for SARS-CoV-2 proteins with curated gpi file

Name of the dataset
https://github.com/SciBiteLabs/CORD19/blob/master/vocabularies-CORD-19/coronaprot.dictionary.txt
At least merge synonyms ....
Mapping or relevant fields
A clear and concise description of what which fields you would want to be ingested.
If possible, highlight which fields map to nodes and which fields map to edges.
Refer to Data Preparation for guidelines on how the final transformed data should be represented.
Additional context
Add any other context, requests, concerns.

See also #261

synonyms merged


Initial investment in technical specs table should not include CCS investment

The initial investment in the technical specs table currently also includes CCS investment costs.
The table uses total_investment_over_lifetime which consists of total_initial_investment + decommissioning_costs. However, total_initial_investment includes initial_investment + ccs_investment + cost_of_installing + storage_costs.
This is my 100% bad as I suggested using total_investment_over_lifetime. What we want (I think) is to show initial_investment + cost_of_installing + decommissioning_costs as 'initial investment', since we already show ccs_investment separately in the table:

https://github.com/quintel/etengine/commit/1fc161ba5f06657376caec2de362b0e7bc60046d


 Crouching while in elytra flight makes you raise your arm like superman

In the original legacy console versions if you crouch while in elytra flight you raise your arm forward like superman, would be cool to add since it was a niche yet nice feature in the original game

Wasn’t this added last month.

This is already in the mod! It doesn't work if you're holding an item, like Legacy.


fix: disabled list items

Bottom border no longer disappears and checkboxes are not highlighted.
DE50819: List-Item > Bottom border disappears when disabled and hovered

Ah, you might need to add your fix to these other types of list-items that also seem to have the same issue:
https://github.com/BrightspaceUI/core/blob/6350eb7396077b1495395e05e38f9cfd2cd06547/components/list/list-item-link-mixin.js#L25
https://github.com/BrightspaceUI/core/blob/6350eb7396077b1495395e05e38f9cfd2cd06547/components/list/list-item-button-mixin.js#L18

List-item-button and list-item-link show have a similar bug. However, I think their behavior when disabling needs to be discussed further before adding the fix to them.


Missing APIs for UI development.

Missing API about counting repositories and getting roles when retrieve the public or private projects.
Based on the existing project api, missing two fields about counting repositories and corresponding role info.
{   'project_name' : 'myrepo',   'repo_count': '2',   'role_id': '2'   ... }
Missing API about listing top 10 public repositories with corresponding image size and creator.
This API should retrieve records without logging in. It seems like the existing search API in repositories
section.
{   'repo_name': 'myrepo/mysql'   'size':  '598mb'   'author': 'kunw' }
Missing API about listing recent push/pull/create operation logs not considering project
[   {     'user_name': 'kunw'     'repo_name': 'myrepo/ubuntu'     'operation': 'create'     'creation_time': '2016-05-07 13:25:30'   },    {     'user_name': 'haox'     'repo_name': 'myrepo/mysql'     'operation': 'push'     'creation_time': '2016-05-07 14:35:30'   },    {     'user_name': 'haox'     'repo_name': 'myrepo/mysql'     'operation': 'pull'     'creation_time': '2016-05-07 14:45:21'   } ]
Missing API about updating user's profile.
method='PUT'
{   'username': 'test',   'email'<EMAIL_ADDRESS>  'full_name': 'tester',   'comment': 'My Comments' }
Need to change: List projects API should not check login status while the project is public.

have completed the first API and now working on the 3rd and 4th

Please add a field  "owner_id" into API "/api/projects/2/members" (GET) for getting project owner id.

Owner_id is an attribute of a project so it should be returned by " GET /api/projects/{id}"


Shape mismatch error in eval

I just downloaded the corpora and the trained model, and then ran the eval.py script. I'm getting the following error:
$ python eval.py
Graph loaded
2017-07-31 22:29:04.547163: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-07-31 22:29:04.547205: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-07-31 22:29:04.547210: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-07-31 22:29:04.547215: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
WARNING:tensorflow:Standard services need a 'logdir' passed to the SessionManager
Traceback (most recent call last):
  File "eval.py", line 81, in <module>
    eval()
  File "eval.py", line 38, in eval
    sv.saver.restore(sess, tf.train.latest_checkpoint(hp.logdir))
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1548, in restore
    {self.saver_def.filename_tensor_name: save_path})
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 789, in run
    run_metadata_ptr)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 997, in _run
    feed_dict_string, options, run_metadata)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1132, in _do_run
    target_list, options, run_metadata)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1152, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [9786,512] rhs shape= [9796,512]
	 [[Node: save/Assign_136 = Assign[T=DT_FLOAT, _class=["loc:@encoder/enc_embed/lookup_table"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](encoder/enc_embed/lookup_table, save/RestoreV2_136)]]

Caused by op u'save/Assign_136', defined at:
  File "eval.py", line 81, in <module>
    eval()
  File "eval.py", line 35, in eval
    sv = tf.train.Supervisor()
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 300, in __init__
    self._init_saver(saver=saver)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 448, in _init_saver
    saver = saver_mod.Saver()
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1139, in __init__
    self.build()
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1170, in build
    restore_sequentially=self._restore_sequentially)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 691, in build
    restore_sequentially, reshape)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 419, in _AddRestoreOps
    assign_ops.append(saveable.restore(tensors, shapes))
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 155, in restore
    self.op.get_shape().is_fully_defined())
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/state_ops.py", line 271, in assign
    validate_shape=validate_shape)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gen_state_ops.py", line 45, in assign
    use_locking=use_locking, name=name)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
    op_def=op_def)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2506, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/Users/erick/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1269, in __init__
    self._traceback = _extract_stack()

InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [9786,512] rhs shape= [9796,512]
	 [[Node: save/Assign_136 = Assign[T=DT_FLOAT, _class=["loc:@encoder/enc_embed/lookup_table"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](encoder/enc_embed/lookup_table, save/RestoreV2_136)]]

Any idea what might be wrong?

Remove  logdir that you pass it in your supervisor and retrain from scratch.  That is your problem.


Project broken on Yarn v2

🐛 Bug Report
When on Yarn 2, I get this error when trying to run yarn start:
/workspace/Cherry/website/.pnp.js:28332
    throw firstError;
    ^

Error: A package is trying to access another package without the second one being listed as a dependency of the first one

Required package: @babel/runtime (via "@babel/runtime/helpers/interopRequireDefault")
Required by: react-loadable-ssr-addon@virtual:ebd7b9259ecd2093755e637a1fd861d705df40e70f047e72ef912a060f6f8b0d7d8b754ceeb087469fa51421c9654efe3ad7ba9d5fbe846f41f5175c740dcb64#npm:0.2.3 (via /workspace/Cherry/website/.yarn/$$virtual/react-loadable-ssr-addon-virtual-3a33825c47/0/cache/react-loadable-ssr-addon-npm-0.2.3-26d8c8d441-1.zip/node_modules/react-loadable-ssr-addon/lib/)

Require stack:
- /workspace/Cherry/website/.yarn/$$virtual/react-loadable-ssr-addon-virtual-3a33825c47/0/cache/react-loadable-ssr-addon-npm-0.2.3-26d8c8d441-1.zip/node_modules/react-loadable-ssr-addon/lib/index.js
- /workspace/Cherry/website/.yarn/$$virtual/@docusaurus-core-virtual-ebd7b9259e/0/cache/<EMAIL_ADDRESS>- /workspace/Cherry/website/.yarn/$$virtual/@docusaurus-core-virtual-ebd7b9259e/0/cache/<EMAIL_ADDRESS>- /workspace/Cherry/website/.yarn/$$virtual/@docusaurus-core-virtual-ebd7b9259e/0/cache/<EMAIL_ADDRESS>    at Object.makeError (/workspace/Cherry/website/.pnp.js:20077:24)
    at resolveToUnqualified (/workspace/Cherry/website/.pnp.js:28940:35)
    at resolveRequest (/workspace/Cherry/website/.pnp.js:29017:27)
    at Object.resolveRequest (/workspace/Cherry/website/.pnp.js:29085:26)
    at Function.module_1.Module._resolveFilename (/workspace/Cherry/website/.pnp.js:28315:34)
    at Function.module_1.Module._load (/workspace/Cherry/website/.pnp.js:28200:40)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/workspace/Cherry/website/.yarn/$$virtual/react-loadable-ssr-addon-virtual-3a33825c47/0/cache/react-loadable-ssr-addon-npm-0.2.3-26d8c8d441-1.zip/node_modules/react-loadable-ssr-addon/lib/index.js:3:30)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.module_1.Module._load (/workspace/Cherry/website/.pnp.js:28230:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/workspace/Cherry/website/.yarn/$$virtual/@docusaurus-core-virtual-ebd7b9259e/0/cache/@docusaurus-core-npm-2.0.0-alpha.58-2f04b5f6f0-1.zip/node_modules/@docusaurus/core/lib/commands/build.js:16:52) {
  code: 'MODULE_NOT_FOUND',
  pnpCode: 'UNDECLARED_DEPENDENCY',
  data: {
    request: '@babel/runtime/helpers/interopRequireDefault',
    issuer: '/workspace/Cherry/website/.yarn/$$virtual/react-loadable-ssr-addon-virtual-3a33825c47/0/cache/react-loadable-ssr-addon-npm-0.2.3-26d8c8d441-1.zip/node_modules/react-loadable-ssr-addon/lib/',
    issuerLocator: {
      name: 'react-loadable-ssr-addon',
      reference: 'virtual:ebd7b9259ecd2093755e637a1fd861d705df40e70f047e72ef912a060f6f8b0d7d8b754ceeb087469fa51421c9654efe3ad7ba9d5fbe846f41f5175c740dcb64#npm:0.2.3'
    },
    dependencyName: '@babel/runtime',
    candidates: [ 'react-loadable-ssr-addon', 'react-loadable', 'webpack' ]
  },
  requireStack: [
    '/workspace/Cherry/website/.yarn/$$virtual/react-loadable-ssr-addon-virtual-3a33825c47/0/cache/react-loadable-ssr-addon-npm-0.2.3-26d8c8d441-1.zip/node_modules/react-loadable-ssr-addon/lib/index.js',
    '/workspace/Cherry/website/.yarn/$$virtual/@docusaurus-core-virtual-ebd7b9259e/0/cache/<EMAIL_ADDRESS>    '/workspace/Cherry/website/.yarn/$$virtual/@docusaurus-core-virtual-ebd7b9259e/0/cache/<EMAIL_ADDRESS>    '/workspace/Cherry/website/.yarn/$$virtual/@docusaurus-core-virtual-ebd7b9259e/0/cache/<EMAIL_ADDRESS>  ]
}

Have you read the Contributing Guidelines on issues?
Yup
To Reproduce
Create D2 project with Yarn 2, then run yarn start
Expected behavior
It starts
Actual Behavior
See stacktrace above
Your Environment

Docusaurus version used: v2 beta (latest)
Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Node 12.18.1 on Linux
Operating system and version (desktop or mobile): Gitpod

Reproducible Demo
(Paste the link to an example repo, including a siteConfig.js, and exact instructions to reproduce the issue.)

@SamChou19815 , seems related to your recent PR #3008
Any idea?

The fault is mostly on react-loadable-ssr-addon. It uses @babel/plugin-transform-runtime, so its emitted babel transpiled code will contain imports of @babel/runtime, but it doesn't declare @babel/runtime as a dependency. For now, using pnpMode: loose can unblock yourself, or you can add the package extensions.

I opened a PR to fix it.

There are other implicit dependencies:
(node:17057) [MODULE_NOT_FOUND] Error: react-loadable-ssr-addon tried to access @babel/runtime, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
(node:17057) [MODULE_NOT_FOUND] Error: @docusaurus/core tried to access lodash.flatmap, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
(node:17057) [MODULE_NOT_FOUND] Error: @docusaurus/core tried to access @docusaurus/preset-classic, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
(node:17057) [MODULE_NOT_FOUND] Error: @docusaurus/plugin-content-docs tried to access chalk, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
(node:17057) [MODULE_NOT_FOUND] Error: @docusaurus/plugin-content-docs tried to access lodash, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

I'll send PRs to fix it.

Hi,
Merged the PRs, is this issue still an issue? Can we close now?

@slorber waiting on downstream to fix.

downstream?

react-loadable-ssr-addon

@ylemkimon do you plan to do a pr to fix react-loadable-ssr-addon too ?

I already opened a PR for it, the maintainer doesn't want to merge it

https://github.com/themgoncalves/react-loadable-ssr-addon/pull/22 is merged and included in the 0.3.0 release. I guess Dependabot will handle the bump?

I got it

Closing, will be in next v2 release


[rfc][eas-cli] Add codepush commands

Why
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests.
How
How did you build this feature or fix this bug and why?
Test Plan
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

#2485  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @wschurman and the rest of your teammates on  Graphite


The custom global properties defined in ComponentCustomProperties are not recognized

Summary
unplugin-auto-import use ComponentCustomProperties util to define custom global properties in Vue template. But vue-tsc can't recognize them.
Error
src/App.vue:2:6 - error TS2339: Property 'title' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<Readonly<ExtractPropTypes<{}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>; ... 10 more ...; $watch(source: string | Function, cb: Function, options?: WatchOptions<...> | undefined): WatchStopHandle; } & Readonly<...> & Sha...'.

2   {{ title }}

Reproduction
Open https://stackblitz.com/edit/vitejs-vite-i9vaiv
Run
pnpm vue-tsc --noEmit

Due to you are using pnpm, you should add @vue/runtime-core to dependencies in package.json, or change declare module '@vue/runtime-core' to declare module 'vue'.
Another problem is you need add auto-imports.d.ts to include option in tsconfig.json.


Add AARNet FileSender user preferences for AARNet FileSender Galaxy tool

related to https://github.com/usegalaxy-au/tools-au/pull/123

Thanks @madsi1m !


Install passlib in requirements

fix #1927

Thanks for fixing it @roschaefer

@roschaefer just to give an update on this as I was looking into it the other day. I could reproduce the error locally while trying to deploy until I installed python-passlib locally.
I saw someone said that it the package must be installed on the host, not the target, for the password_hash command to work.
I was able to install python3-passlib on the CI runner, but the error persisted. I also attempted to install python-passlib, but that failed with:
N: Unable to locate package python-passlib
E: No packages found

Closing this in favor of https://github.com/tactilenews/100eyes/pull/2002


Updated pchMessageStart values to match Defcoin network's values

This fix resolves a variety of issues on the Defcoin network including:

Litecoin nodes are accidentally receiving Defcoin transactions (but they're not confirming since the UTXOs are different)
Light DFC clients (like Beerwallet and the Android wallet) aren't properly communicating with nodes
Differing versions of DFC nodes cannot communicate with each other

Huge props to charlesrocket for finding this issue so I am able to submit a fix

Nice!

This is incorrect :(
I copied the values from the original Defcoin client's testnet pchMessageStart which is why i saw them as different.
It seems that when Defcoin was first created years ago the original authors did not change the pchMessage start from Litecoin. We've been cross-talking with Litecoin ever since Defcoin's genesis block :(
This PR should not be merged


Fix error message output

Previously, an error message such as:
 ERROR   invalid redeclaration of 'resolve(in:)'
  58 |    public func resolve(in environment: EnvironmentValues) -> _Font {

would be output:
 ERROR   invalid redeclaration of 'resolve(in
  58 |    public func resolve(in environment: EnvironmentValues) -> _Font {

if the message had a colon.

The testExample didn't seem to really test anything, I changed it to check the version number, but we might want to remove it?

I think we don't need to remove LinuxMain.swift. It would be helpful if following swiftpm way https://github.com/apple/swift-package-manager/blob/main/Tests/LinuxMain.swift

Great suggestion, I agree, keeping it with fatalError is a better option here!


Problem with passing Icon component to RsuiteUI.Nav.Item component

I tried multiple things but still can't make this component work as I would like. I'm beginner with ReasonML, so this is maybe the biggest issue here 😄.
Problem / Question:

How pass Icon component to this component?
How pass onClick / onSelect handler.

Tried something like this but still no success:
<RsuiteUi.Nav.Item onSelect={_ => Route.go(Home)} icon={() => <RsuiteUi.Icon icon="dashboard" />}>

Dear, @karolfalkiewicz , I appreciate your time, really, sorry for the delay with the response! Thank you so much for your issue!
Please, pull! Incorrect propType of icon was fixed in master branch of github repo (not in npm indexes yet)
Example:
  let i = (value, e) => {
    Js.log(value)
  };

  RsuiteUi.(
    <Nav onSelect={i} >
    <Nav.Item  icon={<Icon icon="dashboard" />}>
      {React.string("An")}
    </Nav.Item>

    <Nav.Item icon={<Icon icon="dashboard" />}>
      {React.string("An2")}
    </Nav.Item>
  </Nav>

p.s Let me know about any problem with repo, I will try it to make better! Thank you.

Ok thx for your response. I thought that there is error in my code mostly. Didn't expect that 😄. Will check this asap.

@karolfalkiewicz,

yep, sure, a package has just updated on npm registry, now the version is 1.0.2 instead 1.0.0
.re bindings according to official rsuite repo (TypeScript) and it has so code:

  /** Sets the icon for the component */
  icon?: React.ReactElement<IconProps>;

Notice, not React.FC either React.Component and etc, exact React.ReactElement (TS) == React.element (in ReasonML)
p.s thank you for your feedback, it's a good point to think about improving DX

@shurygindv Hmm but doing it 1:1 to what ts binding say won't be wrong according to https://reasonml.github.io/reason-react/docs/en/component-as-prop ?


Calendar component is missing props in the documentation

I'm only seeing these three props.

Calendar has its PropTypes in a separate types.d.ts file unlike the rest of our components. Moving them into the component as an interface fixes the issue. My reservation about pushing this solution is that I'm a ts n00b.
If we move them into the index.ts it picks them up just fine but ts chokes on the Modifier type that it uses for the disabledDays prop. Replacing Modifier with any solves it, but I bet there is a better solution that someone with more ts knowledge would spot instantly.

Thanks for digging into it! In which way does it choke on Modifier?

Modifer isn't a defined type, but it turns out we can define it - Typescript is kinda awesome!
I just dug into index signatures in the typescript docs. It turns out that we can define the Modifier type in the types file and move the interface for our PropTypes into the index so we get the benefit of having the props in the docs.


Build on Xcode 8.2

Current coverage is 86.75% (diff: 100%)

Merging #19 into master will not change coverage

@@             master        #19   diff @@
==========================================
  Files            10         10
  Lines           385        385
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            334        334
  Misses           51         51
  Partials          0          0

Powered by Codecov. Last update 8c90e2b...ccb135e


Cannot reply mastodon instance

💡 Summary
When reply a note from a mastodon site with the pop up redirection, it fails. And an error generated in the server log:
{
"e": {
"code": "StatusCodeError",
"message": "StatusCodeError: 401 - "Request not signed", url=https://some remote note url"
},
"ep": "ap/show",
"ps": {
"i": "some token",
"uri": "https://some remote not url"
}
}

Please write a specific URL.
Maybe the other Mastodon instance has ActivityPub secure mode enabled (SECURE_MODE = true).
You can't get posts for that instance because it's incompatible.

https://docs.joinmastodon.org/admin/config/#basic
AUTHORIZED_FETCH
LIMITED_FEDERATION_MODE

Ah that is the reason! Is there any plan to implement the signing process in future Misskey release? Thank you

In my opinion, even if implemented ...
This has the disadvantage of slowing down communication to most Mastodon instances, but I can't find the instance I need.
So I don't want to make it the default.

bgme.me, this instance seems have turn it on


my findings

Hi!
I'm happy to contribute to this chart to keep it up to date, but I have some feedback from my experience with it! I am helping a friend with getting this deployed to AWS and the AWS instructions aren't really designed for a small lab with single digit users. (Also I know kubernetes way better :)). I'm going to see if I can run this on a fairly small single node EKS cluster later, I'll update you on how that goes.
docs:

update docs to say the web is only needed if the heavy client (omero insights)
of course I didn't realize the user was root for the root password, I couldn't get omero to work (oh wait, I'm an idiot).

to get this working on my PC (WSL2, docker running in WSL2, not docker desktop) I used k3d (if you're not using k3d yet, it's awesome)
to create a single loadbalancer port so it can be picked up as localhost, you can do this:
k3d cluster create -p '4064:4064@loadbalancer' --k3s-arg='--disable=traefik@server:0'
I found the client affinity broke the service in k3d, I'm not going to bother testing it. we just don't need it as we're not going to multi-server this for now. we'll focus on backup and restore for DR (the PVCs primarily)
service
  type: LoadBalancer
    affinity:
      enabled: false

I'm not really sure there's a lot of demand for this, but I'm allowed to contribute back to open source as part of my day job and could adopt this. Please drop me a note if you'd like me to contribute with some PRs.

Sorry for the very late reply to you! Thanks for your interest and feedback.
I'm happy to receive contributions. However I'd like to keep this chart as minimal and focussed as possible, since OMERO and Kubernetes already have a lot of documentation, and from past experience trying to keep detailed documentation of external systems rapidly ends up in things going out of date.
I think it's fine to link to relevant external documentation though. For example

update docs to say the web is only needed if the heavy client (omero insights)

If there's relevant official OMERO documentation we could link out to this, if there isn't then maybe you could open an issue or PR on the OMERO docs repo?

k3d cluster create -p '4064:4064@loadbalancer' --k3s-arg='--disable=traefik@server:0'

The danger of going down the route of configuring individual on-prem k8s distributions is there are so many! If there was just one it be reasonable, but the number keeps growing. Minikube used to be pretty standard, then there was Kind, followed by K3s and MicroK8s, then more recently k0s.
What might be nice though is if you did your own writeup that you maintain, and then link to that?
Once again sorry for being so slow in replying!


Cant change presets after update

Not sure what the problem is, but after the update I cant select any preset, the buttons to swap dont do anything/change color

Could you include some more info regarding preset loading e.g. a screenshot of your plugin panel.

I made a test preset and that one lights up, but clicking any of my old presets doesnt light them up. I can remake them again i guess.

How does one of those old presets look in the edit panel? Have you checked your runelite log for any errors?

 When I switch to a preset it appears to switch but still display that there are conflicted edits to plugins
This error:
[AWT-EventQueue-0] ERROR net.runelite.client.RuneLite - Uncaught exception:
java.lang.NullPointerException: null
	at com.evansloan.collectionlog.CollectionLogPlugin.lambda$onGameStateChanged$0(CollectionLogPlugin.java:244)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

keeps showing up in the logs

When I switch to a preset it appears to switch but still display that there are conflicted edits to plugins

Thats correct since there is conflicts between your current settings and the presets one.
But it seems that some other hub plugin causes problems since after switching to a preset, it should not show any "modified" icons. In that picture apparently Menu entry swapper (extended?) fails to load.
After loading a preset, which plugins still show that icon?

This one shows up for one of my presets, but even for ones with no modified plugins showing up it still doesnt turn "orange" on the switch saying I've switch to it

It has something to do with some hub plugin. With that Ba minigame plugin I was somewaht able to replicate the effect where the switch does not turn on but the settings get loaded except some plugin says its modified . After reinstalling that plugin, it seems not to appear anymore.

Am unable to select presets in the newest update. Reinstalling did not resolve the issue.

Am unable to select presets in the newest update. Reinstalling did not resolve the issue.

Can you paste your preset data here, click the copy icon and paste it here.
It's not working because of some hub plugin but no idea why

Afaik the preset loading works as intended but the switch does not turn on because the logic comparing your and the presets configurations fails because the old styled preset has settings that have changed and can't be compared.
I tested with some presets from a friend and in his presets, party plugin caused the switch to fail since it failed to compare some configurations that have changed since creation of the old preset vs what the party plugin now has.
When testing, even if the switch did not turn on, the plugin settings did get loaded right but only some of the party configurations caused it to fail.
To fix your old presets, open the edit panel and try to toggle the party switch. If that does not work, you could go trough the preset one by one and try to toggle the configurations. Alternatively see your old presets and create new presets to match those old ones and then delete the old presets that are not used.

I've decided to start fresh and make new presets, but I seem to not be understanding how the plugin even works now.
I made a preset, and normal behavior was for the currently selected plugins/settings to be enabled. Does the "enable all current configs" button do that?
furthermore, I dont even have the party plugin turned on and turning it on/off in 2 seperate presets fails to make it light up.
either way it appears to work at switching presets, its just the button. I'll have to get used to the new plugin ui

and also, it appears that volume level is not a selectable thing in the configs anymore (music, area, personal)

Volume sliders have been fixed see here.
For the party plugin issue, it might be that there is other plugins e.g. some hub plugin like that were the configurations have changed and then the plugin fails to compare them.
Now when you make a preset, it's empty by default and then you add your configurations there you want to change. You can make presets like the old version by right clicking the + icon and selecting the "create with all configurations.
New ui something new to learn and if you have something to change in it open a new discussion for it.

Switch not turning on when loading presets with invalid settings fixed here.

Thanks!


what's difference between jvm and system cpu usage?

The gc cpu usage contains in jvm or system cpu usage ?

Hi @ITGrocery
It will be in both.
Garbage collection is done by the gc thread, which is from the java process, so it'll show up in jvm cpu usage.
System cpu usage includes everything (including the java process), so gc cpu usage will show up in both.


fix optional field deserialization

closes #13

@ouromoros care to merge?

Looks great! My account seems to have been kicked out of organization due to policy changes. @frol Will you add me back here?

Got it. I understand that security is a vital concern in blockchain
projects. No pressure.
Vlad Frolov @.***>于2022年5月17日 周二02:14写道：

@ouromoros https://github.com/ouromoros Yeah, we enforced 2FA for all
the near github org contributors, so probably you don't have 2FA
configured. 2FA is now a hard requirement. Also, things got more
complicated regarding adding external contributors, and I am still sorting
things out... Meanwhile, please, ping me and I will merge PRs for you.
—
Reply to this email directly, view it on GitHub
https://github.com/near/borsh-go/pull/16#issuecomment-1127984247, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACEXLIRJDXJI2DT3QX7KGSTVKKGAHANCNFSM5U4IO6MA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I ran into this issue on the latest tagged release.  Would it be possible to tag a revision that includes this fix?  Thanks.


Fix typo in CHANGELOG

I hope this change doesn't end up in the changelog, because if you accidentally mistype it again we'll end up IN AN ENDLESS RECURSIVE LOOP OF MISSPELLING, PULL REQUESTS, DEATH AND DEVASTATION 😱
(As requested on Reddit, this fixes the typo in my hard-to-type username 🙃)

Coverage remained the same at 87.092% when pulling aa92db53f680c2943a52d782b818425308c3d9d1 on dbrgn:master into 3dd66729973f4ade748cfb2f2a4b49e0583e1aae on Geal:master.

makes a note to consistently mistype this username in every future changelog
Thanks :)


Revert "HADOOP-19298. [JDK17] Add a JDK17 profile."

Reverts apache/hadoop#7085
During the upgrade process, we found that the use of sun.misc has not been replaced, which has led to compilation errors. We need to wait until sun.misc is replaced before proceeding with the upgrade.
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/FastByteComparisons.java
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/NativeIO.java
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitShm.java

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m  0s

Docker mode activated.

-1 :x:
patch
0m 21s

https://github.com/apache/hadoop/pull/7132 does not apply to trunk. Rebase required? Wrong Branch? See https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/7132

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7132/1/console

versions
git=2.34.1

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


i2 connect autentication

Hello,
We are implementing i2 connect authentication, using the user-pass method.
Our question is whether it is possible to specify the time at which the authentication form is displayed.
Currently we have developed it so that the service form that has authentication is displayed, it is completed and when the execute button is clicked, the authentication form is displayed.
Our question is whether it is possible to specify that the authentication form be displayed before the service form is displayed.
I hope I have explained myself.
Any help is useful, thanks!

Hi @SVValen, it is not possible to have the authentication form displayed before the service form. It will only be displayed when the service is executed.

Hi @Afira-Zahari-i2, thanks for your help!


Not opening selected file on right-click -> Open with Live Server

I'm submitting a...

[x] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

Right-click on the filename in the explorer or directly on the file and select "Open with Live Server the browser window opens on the root index.html file instead. This is persistent across multiple repositories and different projects and happens both in CodeSpaces and on local VS Code
Expected behavior

"Open with Live Server" should open the selected file in the browser.
Real-world example

Open this repo in CodeSpaces
navigate to /docs/chapter02/02_03b/
right-click deposit.html and select "Open with Live Server"
The root /docs/index.html loads in the browser

Environment
Browser:

- [x] Chrome (desktop) version XX
- [x] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: v5.7.9 <!-- Check which version is installed -->
- Platform:  GitHub Codespaces
- Visual Studio Code: GitHub Codespaces<!-- `code --version` -->

Others

I am also facing same issue.


Simulator: remove opencl dependence

using opencv is only slightly slower, and will be much more compatible across platforms. This also works in the devcontainer (although modeld doesn't work because it also depends on CL)
https://gist.github.com/jnewb1/65f58ff25e9457f8ebb7581f0a31a716

going to try pocl instead


Add capability to enable S3 versioning for Vault backend

By using enable_s3_bucket_versioning you now enable bucket versioning
for the S3 backend.
This fixes #49.

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.

Thanks for the PR! Changes look good to me, how did you test this?

Hi @Etiene, we applied the fork to our infrastructure and it worked. :)