'UnityFS' .cache files fail to open

Hello!
I don't know what file this is. I have searched for quite a while but haven't found anything about it. The file ends with the extension .cache and has references to some .unity3d file, and inside the file, it begins with the text UnityFS. I would appreciate if anyone could help me with this.
I opened it as an issue here because it causes UTinyRipper to crash and doesn't give much info. Here's the crash/trace log:
Import: Game file 'drone_ironhearth.unity3d.hashCode=91e0ec9de7f958f8143e12de1d1c5329_hash=511045' has been found
Import [Error]: System.Exception: Some data left
   at uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Stream stream, Int64 count)
   at uTinyRipper.BundleFileScheme.ReadFileStreamMetadata(Stream stream, Int64 basePosition)
   at uTinyRipper.BundleFileScheme.ReadScheme(Stream stream)
   at uTinyRipper.GameCollection.ReadScheme(SmartStream stream, String filePath, String fileName)
   at uTinyRipper.GameCollection.LoadScheme(String filePath, String fileName)
   at uTinyRipper.GameStructure.ProcessPlatformStructure(GameStructureProcessor processor, PlatformGameStructure structure)
   at uTinyRipper.GameStructure.Load(List`1 pathes, LayoutInfo layinfo)
   at uTinyRipper.GameStructure.Load(IEnumerable`1 pathes, LayoutInfo layinfo)
   at uTinyRipperGUI.MainWindow.LoadFiles(Object data)

Here's an example of one of the files i am trying to load:
drone_ironhearth.unity3d.zip
Unity game version shows 2020.3.26 f1, This isn't bundled the normal way with unity apps as it is downloaded after installation, It is an android game.

AssetRipper is actively being developed with the intent to recover games as best as possible. Weekly releases are normally on Sunday or Monday. I encourage you to help out if you're able and willing. Code contributions can be submitted via pull requests.
If you like the work I've done and want to see it continue, please consider sponsoring me. It really does help with development. These are some of the notable things I've implemented since taking over development:

2020+ support
APK, XAPK, and IPA reading with SharpZipLib
Dummy shaders (so everything isn't pink when you open the project)
IL2Cpp support via an integration of Cpp2IL
Better game platform support
Full script decompilation with the ILSpy decompiler
Cross-platform support
Multiple configuration options
Numerous performance improvements
Support for all asset types
Lightmap Recovery
High-quality 3D model export (including static meshes)
Prefab Outlining

Sponsorship Links:

GitHub Sponsors
Patreon
Paypal


Not compatible with ruby 3.0

After upgrade Ruby to version 3.0.1 code is crashing:
config.before(:suite) do
  DatabaseCleaner[:mongoid].strategy = :deletion, { except: %w[roles exchange_rates] }
end

An error occurred in a `before(:suite)` hook.
Failure/Error: DatabaseCleaner[:mongoid].strategy = :deletion, { except: %w[roles exchange_rates] }

ArgumentError:
  wrong number of arguments (given 1, expected 0)
# /Users/marian/.rvm/gems/ruby-3.0.1@gre/gems/database_cleaner-mongoid-2.0.1/lib/database_cleaner/mongoid/deletion.rb:9:in `initialize'
# /Users/marian/.rvm/gems/ruby-3.0.1@gre/gems/database_cleaner-core-2.0.1/lib/database_cleaner/cleaner.rb:85:in `new'
# /Users/marian/.rvm/gems/ruby-3.0.1@gre/gems/database_cleaner-core-2.0.1/lib/database_cleaner/cleaner.rb:85:in `create_strategy'
# /Users/marian/.rvm/gems/ruby-3.0.1@gre/gems/database_cleaner-core-2.0.1/lib/database_cleaner/cleaner.rb:45:in `strategy='
# ./spec/rails_helper.rb:32:in `block (2 levels) in <top (required)>'

It looks, that it is related with https://github.com/DatabaseCleaner/database_cleaner/issues/677

@rubydev Yes, that syntax no longer works in Ruby 3.0... you'll need to pass an array instead:
config.before(:suite) do
   DatabaseCleaner[:mongoid].strategy = [:deletion, except: %w[roles exchange_rates]]
end

I've updated the README to that syntax, while I was at it. I wonder if its possible to do a deprecation warning in < Ruby 3.0, and a more helpful error message in >= Ruby 3.0?

@botandrose Hello, thank you! But after change to array, result is same:
An error occurred in a `before(:suite)` hook.
Failure/Error: DatabaseCleaner[:mongoid].strategy = [:deletion, except: %w[roles exchange_rates]]

ArgumentError:
  wrong number of arguments (given 1, expected 0)
# /Users/marian/.rvm/gems/ruby-3.0.1@gre/gems/database_cleaner-mongoid-2.0.1/lib/database_cleaner/mongoid/deletion.rb:9:in `initialize'
# /Users/marian/.rvm/gems/ruby-3.0.1@gre/gems/database_cleaner-core-2.0.1/lib/database_cleaner/cleaner.rb:85:in `new'
# /Users/marian/.rvm/gems/ruby-3.0.1@gre/gems/database_cleaner-core-2.0.1/lib/database_cleaner/cleaner.rb:85:in `create_strategy'
# /Users/marian/.rvm/gems/ruby-3.0.1@gre/gems/database_cleaner-core-2.0.1/lib/database_cleaner/cleaner.rb:45:in `strategy='
# ./spec/rails_helper.rb:32:in `block (2 levels) in <top (required)>'

Any idea why it doesn't work? Thank you!

same here, any solutions?

found a solution, works for me:
# inside rails_helper.rb
RSpec.configure do |config|
...
  # Clean DB after testing
  config.before :each do
    strategy = DatabaseCleaner::Mongoid::Deletion.new except: %w[<your collection names here>]
    DatabaseCleaner[:mongoid].instance_variable_set :'@strategy', strategy
    DatabaseCleaner[:mongoid].start
  end

  config.after do
    DatabaseCleaner[:mongoid].clean
  end
end

Thank you, that works for me too!

Until this is fixed, this setting seems to work:
Cucumber::Rails::Database.autorun_database_cleaner = false


Remove and clear all not working.

shinchan@kg:~$ nodejs
> var hashmap = require('hashmap');
undefined
> var h = new hashmap()
undefined
> h[5]=6
6
> h
{ '5': 6, _data: {}, _count: 0 }
> h.remove(5)
{ '5': 6, _data: {}, _count: 0 }
> h[5]
6
> h.clear()
{ '5': 6, _data: {}, _count: 0 }
> h[5]
6
> shinchan@kg:~$ exit

Neither the remove nor the clear function seems to be working. Node version is 0.10.25

Hi, that's not how you set an item to the hashmap. Check the API described on the README

I have the same problem although I am doing it like in the README:
https://gist.github.com/fb13/aa110ad5fa66526b1812084838f44d8d
When I call the remove method I get something like this:
78
Removing URL
78
So the removal does not work! This is why the hash map gets bigger and bigger (i am saving large objects as values) and finally I get the error: "FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory"

You're probably not passing the same exact value when setting and when removing, otherwise it'd work.
Note that if all you're caching are URLs (strings) you might as well use a plain object rather than this library


Add explicit -f to load dot env from explicit location

For operational purposes, it would be extremely useful to have a CLI mechanism to explicitly specify a location for a dotenv file to load at start up.

The now merged #142 introduced -c flag which takes a path to configuration file.


Support for ELK?

How can i integrate wmi_exporter with ELK stack? Any help?
thx

Hi @satyagadepalli,
I think we'll need some more details on what you are trying to achieve? Do you want the wmi_exporter logs to be sent to your ELK stack?

Yes. Exactly. I want to use the WMI_EXPORTER instead of a ELK off the shelf beats.

Oh, you mean the ELK metrics ingestion bits, not logging? As far as I'm aware, we haven't tested this at all, but anything that can ingest Prometheus metrics will work.
So I'd start by just installing wmi_exporter and then configuring ELK to read from it. How that is done I'll have to refer you to the ELK docs, though.

Just see https://github.com/elastic/beats/tree/master/libbeat

I'm afraid we're unable to provide detailed guidance on configuring other systems than wmi_exporter here. I'd suggest reading this post on how to work with "metricbeat", which should hopefully cover your usecase.
If you run in to any issues with wmi_exporter itself when doing the integration, please open a new issue with details.


Deprecate module keyword for namespace declarations

Fixes #57913

@typescript-bot test it
I'm going to make a second PR that uses this to issue a full error so we can gauge how bad things are at the moment (and verify that this is working).

Tests added.

@typescript-bot pack this


Support sharding serialized layers across ipus

What does this PR do?

Adding the necessary IPU configuration options that will enable sharding serialized layers like SerializedEmbedding and SplitLinear across IPUs by using a pipeline configuration similar to layers_per_ipu. For example [0, 0, 1, 2] as an argument to serialized_linear_layers_per_ipu and linear_serialization_factor=3 will result in 1 shard of a linear layer being placed on IPU2 and the last 2 shards on the last IPU.  The pipelines will also be split in a similar way for generation. For example if layers_per_ipu=[0, 2, 2, 0], the corresponding encoder and decoder pipelines will be [0, 2] and [2, 0]. Similarly, serialized_linear_layers_per_ipu will be [0, 0] and [1, 2] for the encoder and decoder respectively. However the encoder portion [0, 0] is overrided with None as it is no longer a valid value for serialized_linear_layers_per_ipu. This behaviour is also similar for SerializedEmbedding and serialized_embedding_layers_per_ipu
Added linear_serialization_factor as a new parameter than can be used to serialize linear layers via SerializedLinear or SplitLinear. Some architectures rely on the use of embedding_serialization_factor for serializing linear layers, however that differs from the documented use case of embedding_serialization_factor in the IPUConfig.

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you make sure to update the documentation with your changes?
[x] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Split Reader/Writer from ModbusClient trait

The ModbusClient trait contains many read/write methods that can all be implemented in terms of the generic call() method. Those methods could be factored out into separate Reader and Writer adapters to simplify the trait.
This becomes even more significant when duplicating the methods by introducing a device_id as proposed in #8 and #9. With separate Reader and Writer adapters the resulting trait would only contain two methods call(request) and call_device(request, device_id).

In PR #10 for the API redesign I already lifted the call() method up into the trait.


refined file bind mounts for srl

fix #562
left only two mounts:

config.json -> /etc/opt/srlinux/config.json
topology.yml -> /tmp/topology.yml

Since topology.yml is the same for every node, why not put it under /clab-xxx/ instead of each /clab-xxx/node[x] subdir?
Especially given that it's mounted read-only anyway

It is different for every node because base Mac address is part of this
file
On Tue, 3 Aug 2021 at 18:06, J vanBemmel @.***> wrote:

Since topology.yml is the same for every node, why not put it under
/clab-xxx/ instead of each /clab-xxx/node[x] subdir?
Especially given that it's mounted read-only anyway
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/srl-labs/containerlab/pull/564#issuecomment-891971652,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLKV5MU3N6DO7S7QWKSVS3T3AHW5ANCNFSM5BM7YVZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

I see, I thought it was the containerlab topology
Since this is being mounted under /tmp, who reads this (within the container)? If it's just nice to have I would suggest to remove it, since it adds a convention that the platforms don't support natively (unlike the config file)

It's the srlinux internal scripts which read this file and make the srlinux
process to start with that config
On Tue, 3 Aug 2021 at 18:20, J vanBemmel @.***> wrote:

I see, I thought it was the containerlab topology
Since this is being mounted under /tmp, who reads this (within the
container)? If it's just nice to have I would suggest to remove it, since
it adds a convention that the platforms don't support natively (unlike the
config file)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/srl-labs/containerlab/pull/564#issuecomment-891983430,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLKV5LHXWBKDC4ALX3KLGTT3AJNZANCNFSM5BM7YVZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


[API] Config does not pick up .env in load_dotenv()

Had to add the following for it to pick up:
dotenv_path = os.path.abspath(os.path.join(os.path.dirname(file), '..', '.env'))
load_dotenv(dotenv_path)

The ".env" file the the API is initially supposed to be in the "oxe-api" folder. In this way; we have separately environment files for the three component of this repository (the API and the two webapps).
Is this working for you with the original piece of code when the ".env" file is in the "oxe-api" folder? If yes, I wouldn't apply the modification in this repo in order to keep the same logic.


Add Documentation for customizing component output with tag prop

There should be a page that describes customizing the component tag that is rendered. A great example would be a snippet that documents how to use this with a React Router Link.
import React from 'react';
import { Link } from 'react-router';
import { Container, Row, Col, Nav, NavItem, NavLink } from 'reactstrap';

const Example = (props) => {
  return (
    <NavItem>
      <NavLink tag={Link} to="/test" activeClassName="active">
        {props.item.name}
      </NavLink>
    </NavItem>
  );
};

Yes this is exactly what I am after - I don't want to use a normal href - would much prefer to use the Link. How do I go about doing this?

Add the tag prop like so: tag={Link}
On Sat, Aug 27, 2016, 9:32 PM Harry Lucas<EMAIL_ADDRESS>wrote:

Yes this is exactly what I am after - I don't want to use a normal href -
would much prefer to use the Link. How do I go about doing this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/reactstrap/reactstrap/issues/83#issuecomment-242950584,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAokijrmValEWLoAve2zdqIGs5uV93w1ks5qkOUfgaJpZM4JZHoO
.

Yes. That's the way to do it.

Is it possible to do the same for NavbarBrand?  I can't seem to find any combination of things to pass tag that works :)

So, I have the following code that seems to be working, except the 'About' isn't clickable since the anchor doesn't render w/ a href attribute; thoughts? Manually navigating to /#/about works correctly.
Versions:

React: 15.4.2
React Router: 3.0.1
Reactstrap: 4.0.0-alpha.5

import React from 'react';
import {Link} from 'react-router';
import {
  Nav,
  Navbar,
  NavbarBrand,
  NavItem,
  NavLink
} from 'reactstrap';

export default function Menu() {

  return (

      <Navbar full inverse>
        <NavbarBrand href="/">Home</NavbarBrand>

          <NavItem>
            <NavLink tag={Link} to="/about">About</NavLink>
          </NavItem>

      </Navbar>

  );

}

@IndifferentDisdain does replacing <NavLink tag={Link} to="/about">About</NavLink> with About` work? I'm trying to verify this isn't a react-router issue. I had trouble with one of the rr v4 alphas but haven't tried 3.0.1.

Nope, that doesn't work either, so I guess it's something in react-router (or I'm doing something wrong w/ it). Will investigate and post here what I find in case anyone else runs into this issue. Thanks!

@IndifferentDisdain did you find a solution? Also facing this issue

@chrise86 I did not, sorry :(

it's good!

It seems, that tag should be changed to NavLink from react-router-dom instead of Link.
Original code from first post gives me this: Warning: Unknown prop activeClassName on  tag.
Fixed version:
import React from 'react';
import { Link, NavLink as RouterNavLink } from 'react-router';
import { Container, Row, Col, Nav, NavItem, NavLink } from 'reactstrap';

const Example = (props) => {
  return (
    <NavItem>
      <NavLink tag={RouterNavLink} to="/test" activeClassName="active">
        {props.item.name}
      </NavLink>
    </NavItem>
  );
};

If you want to use NavLink instead of Link:
import { NavLink as Link } from 'react-router-dom';

use NavLink from react-router-dom instead from reactbootstrap and it will work flawless
import {NavLink} from 'react-router-dom';

I have updated react bootstrap to
"bootstrap": "^4.3.1",
"react-bootstrap": "^1.0.0-beta.5",
web page is loading for every link

Home

About

I have tried
About and
About  also but not worked

I'm trying to set the tag to Next.js's Link from "next/link"and getting warnings like Warning: Failed prop type: Link: unknown props found: onClick, className. But it does actually function correctly.

Also: This Next.js starter project uses Reactstrap, but doesn't use NavLink, probably for similar reasons:
https://nextjs-starter.now.sh
https://github.com/iaincollins/nextjs-starter/blob/090ae01ecaa10132240ae32545aa09763de91a9d/components/layout.js
It's a little old though.

I'm trying to set the tag to Next.js's Link from "next/link"and getting warnings like Warning: Failed prop type: Link: unknown props found: onClick, className. But it does actually function correctly.

it's kinda weird, since on next.js documentation https://nextjs.org/docs#with-link mentioned to works with Link element, you must place anchor inside the children
<Link href='/some/link'>
  Labels
</Link>

so, if you want to use NavLink or similar you must wrap it like this i guess
<Link href='/some/link'>
  <NavLink>Labels</NavLink>
</Link>

Trying this:
<NavItem>
  <Link href="/posts">
    <NavLink>Posts</NavLink>
  </Link>
</NavItem>

Produces this:

  Posts

Note that the  has no href.
If I duplicate the href it seems ok:
<NavItem>
  <Link href="/posts">
    <NavLink href="/posts">Posts</NavLink>
  </Link>
</NavItem>

@endquote https://nextjs.org/docs#forcing-the-link-to-expose-href-to-its-child

If child is an  tag and doesn't have a href attribute we specify it so that the repetition is not needed by the user. However, sometimes, you’ll want to pass an  tag inside of a wrapper and the Link won’t recognize it as a hyperlink, and, consequently, won’t transfer its href to the child. In cases like that, you should define a boolean passHref property to the Link, forcing it to expose its href property to the child.
Please note: using a tag other than a and failing to pass passHref may result in links that appear to navigate correctly, but, when being crawled by search engines, will not be recognized as links (owing to the lack of href attribute). This may result in negative effects on your sites SEO.

Oh, good tip. Thanks for that.
Is <NavbarBrand> the same?
<Link href="/work" as="/">
  <NavbarBrand>reactstrap</NavbarBrand>
</Link>

Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

next/link denote: if passing a functional component as a child of <Link> you will need to wrap it in React.forwardRef
reactstrap doesn't currently use React.forwardRef. There is an open issue to address that #1082.

I see. I will look forward to that change. I would like to wrap NavbarBrand and CardLink with Link. I'd also like to set refs on CardImage and Card, but can't right now.
I'll just manually use tags like
 in the meantime.
Thanks for your help.

It seems, that tag should be changed to NavLink from react-router-dom instead of Link.
Original code from first post gives me this: Warning: Unknown prop activeClassName on  tag.
Fixed version:
import React from 'react';
import { Link, NavLink as RouterNavLink } from 'react-router';
import { Container, Row, Col, Nav, NavItem, NavLink } from 'reactstrap';

const Example = (props) => {
  return (
    <NavItem>
      <NavLink tag={RouterNavLink} to="/test" activeClassName="active">
        {props.item.name}
      </NavLink>
    </NavItem>
  );
};

This works for me because of to instead of href. I tried the same thing using react-router-dom's Link. I'm thinking now that maybe the href is the issue and causes the hard reload


xcbuild: fix sdk dir name issue

Previously, this error was coming up in xcbuild:
ld: malformed 32-bit x.y.z version number: 1068638
It’s an interesting error because it only happens with certain hashes for the
nixpkgs sdk. For instance, on latest nixpkgs unstable channel, the hash for the
xcbuild sdk is:
/nix/store/w6mwbdaz9calyii0fyxspl51f1068638-nix.nixpkgs.sdk
that is an issue we pass -isysroot ${sdk} to clang where it will interpret that
hanging "1068638". It would probably go away as soon as the hash changes but
this hacky fix will solve the problem.
Motivation for this change
Broken pinentry-mac:
https://hydra.nixos.org/build/59720871/nixlog/1
Things done

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

[ ] NixOS
[x] macOS
[ ] Linux

[ ] 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 nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

It's still failing for me https://gist.github.com/LnL7/b984350353bd924c53637e27dd8b7943

It's still failing for me https://gist.github.com/LnL7/b984350353bd924c53637e27dd8b7943

That looks like the issue from #26774. It might start working if you try a few more times. I've never actually seen it happen on Hydra before though.

I'll merge this then and keep an eye on the job.


Does the restriction of the I/O operations in Windows Store Apps includes the Windows 10 Apps?

Hi,
Does the restriction of the I/O operations in the Windows Store Apps includes the Windows 10 Apps?

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

ID: 9fd6a361-0292-e278-b42c-1a471e829c8d
Version Independent ID: 209859ee-4ee3-f3ac-0cc9-e4799be859e1
Content: File and Stream I/O - .NET
Content Source: docs/standard/io/index.md
Product: dotnet
GitHub Login: @mairaw
Microsoft Alias: mairaw

No, that section is about restrictions unique to Windows Store apps.


Store rustler template outside of priv/?

The templates are stored in rustler_mix/priv/templates. When rustler_mix is part of a deployed Erlang/Elixir release, the priv directory is usually copied as-is into the release, so the templates end up in a deployed location. Maybe we can move the templates into another directory and tell package/0 in Rustler.Mixfile to include that directory as well.

AFAIK rustler Elixir library is compile time only, so you can add runtime: false to your dependency and it will not be included into the release.

I just tried that, but alas runtime: false does not (yet) work for a release, as Rustler.construct_load_data/2 is compiled into the module:
/tmp/test_rustler_mix/_build/dev/rel/test_rustler_mix/bin ./test_rustler_mix start_iex
=ERROR REPORT==== 17-Aug-2023::23:17:52.044812 ===
Error in process <0.585.0> with exit value:
{undef,[{'Elixir.Rustler',construct_load_data,[0,nil],[]},
        {'Elixir.RustlerMixTest',rustler_init,0,
                                 [{file,"lib/rustler_mix_test.ex"},{line,1}]},
        {init,'-run_on_load_handler/2-fun-0-',1,[]}]}

=CRASH REPORT==== 17-Aug-2023::23:17:52.045100 ===
  crasher:
    initial call: kernel:init/1
    pid: <0.584.0>
    registered_name: []
    exception exit: {on_load_function_failed,'Elixir.RustlerMixTest',
                        {undef,
                            [{'Elixir.Rustler',construct_load_data,[0,nil],[]},
                             {'Elixir.RustlerMixTest',rustler_init,0,
                                 [{file,"lib/rustler_mix_test.ex"},{line,1}]},
                             {init,'-run_on_load_handler/2-fun-0-',1,[]}]}}
      in function  init:run_on_load_handlers/0
      in call from kernel:init/1 (kernel.erl, line 227)
    ancestors: [kernel_sup,<0.577.0>]
    message_queue_len: 0
    messages: []
    links: [<0.579.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 376
    stack_size: 28
    reductions: 145
  neighbours:

=SUPERVISOR REPORT==== 17-Aug-2023::23:17:52.045132 ===
    supervisor: {local,kernel_sup}
    errorContext: start_error
    reason: {on_load_function_failed,'Elixir.RustlerMixTest',
                {undef,
                    [{'Elixir.Rustler',construct_load_data,[0,nil],[]},
                     {'Elixir.RustlerMixTest',rustler_init,0,
                         [{file,"lib/rustler_mix_test.ex"},{line,1}]},
                     {init,'-run_on_load_handler/2-fun-0-',1,[]}]}}
    offender: [{pid,undefined},
               {id,on_load},
               {mfargs,{proc_lib,start_link,[kernel,init,[on_load]]}},
               {restart_type,transient},
               {significant,false},
               {shutdown,2000},
               {child_type,worker}]

=CRASH REPORT==== 17-Aug-2023::23:17:52.049175 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.576.0>
    registered_name: []
    exception exit: {{shutdown,
                      {failed_to_start_child,on_load,
                       {on_load_function_failed,'Elixir.RustlerMixTest',
                        {undef,
                         [{'Elixir.Rustler',construct_load_data,[0,nil],[]},
                          {'Elixir.RustlerMixTest',rustler_init,0,
                           [{file,"lib/rustler_mix_test.ex"},{line,1}]},
                          {init,'-run_on_load_handler/2-fun-0-',1,[]}]}}}},
                     {kernel,start,[normal,[]]}}
      in function  application_master:init/4 (application_master.erl, line 142)
    ancestors: [<0.575.0>]
    message_queue_len: 1
    messages: [{'EXIT',<0.577.0>,normal}]
    links: [<0.575.0>,<0.574.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 610
    stack_size: 28
    reductions: 171
  neighbours:

=INFO REPORT==== 17-Aug-2023::23:17:52.049671 ===
    application: kernel
    exited: {{shutdown,
                 {failed_to_start_child,on_load,
                     {on_load_function_failed,'Elixir.RustlerMixTest',
                         {undef,
                             [{'Elixir.Rustler',construct_load_data,
                                  [0,nil],
                                  []},
                              {'Elixir.RustlerMixTest',rustler_init,0,
                                  [{file,"lib/rustler_mix_test.ex"},{line,1}]},
                              {init,'-run_on_load_handler/2-fun-0-',1,[]}]}}}},
             {kernel,start,[normal,[]]}}
    type: permanent

Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,on_load,{on_load_function_failed,'Elixir.RustlerMixTest',{undef,[{'Elixir.Rustler',construct_load_data,[0,nil],[]},{'Elixir.RustlerMixTest',rustler_init,0,[{file,"lib/rustler_mix_test.ex"},{line,1}]},{init,'-run_on_load_handler/2-fun-0-',1,[]}]}}}},{kernel,start,[normal,[]]}}})

I think it should be possible to do that before runtime though.


Roadmap: Task 2e: Automated dashboard to Django conversion

Automated or semi-automated conversion of dashboard to a Tethys/Django web application for wider deployment at scale

We provided documentation for embedding a bokeh app in Django, further integration work should be discussed in a separate issue.


Support configuring video recording parameters

The video recording feature uses the default video settings defined in ign-common's VideoRecorder.cc class, i.e. 25 FPS and a max bitrate of 2Mbps. It would be nice to let users to specify their own desired video quality configurations, e.g. through the video recorder service call and/or the GUI widget in the Video Recorder gui plugin.

related issue: ignitionrobotics/ign-common#109

This is now supported: https://gazebosim.org/api/sim/9/videorecorder.html#autotoc_md413 .

https://github.com/gazebosim/gz-sim/pull/864 added support for configuring video recorder bitrate


add the possibility to set numbers manually for range constraints

the range slider are not optimale to set precise values. some textfield should be available

this has been fixed in the new se.plan version that will be released on production in the next few weeks


The Deployment "es-master" is invalid: spec.template.spec.initContainers[0].securityContext.privileged: Forbidden: disallowed by policy

I get the following error when trying to run:
kubectl create -f es-master.yaml
The Deployment "es-master" is invalid: spec.template.spec.initContainers[0].securityContext.privileged: Forbidden: disallowed by policy
I'm trying to run this using the LXD local setup with kubernetes without any modifications:
https://kubernetes.io/docs/getting-started-guides/ubuntu/local/
The other services spin up fine (es-discovery and es-svc), it's just when trying to spin up es-master.
Any thoughts as to why I'm getting this error?
Version Info:
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.1", GitCommit:"b0b7a323cc5a4a2019b2e9520c21c7830b7f708e", GitTreeState:"clean", BuildDate:"2017-04-03T20:44:38Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.3", GitCommit:"029c3a408176b55c30846f0faedf56aae5992e9b", GitTreeState:"clean", BuildDate:"2017-02-23T22:28:16Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

You need to allow for privileged containers in your cluster by adding --allow-privileged to the kubelet args.

Thanks @pires, and thanks for putting this together as the official k8s example is using an extremely dated version of elasticsearch (1.7).

Yes, I started it and it used to follow this repo but then maintaining docs in the Kubernetes repo became more complicated and I stopped doing it. I'm sorry if that's not the best for the community at large :-(

I'm experiencing the same problem here :-)
I am quite sure that kubelets are running with --allow-privileged flag (and this is true for all my nodes) as you can see:

root@juju-bd405e-9:/# ps axl | grep allow-privileged

4     0  2254     1  20   0<PHONE_NUMBER>4 futex_ Ssl  ?          1:32 /snap/kubelet/230/kubelet --address <IP_ADDRESS> --allow-privileged --anonymous-auth=false --client-ca-file /root/cdk/ca.crt --cluster-dns <IP_ADDRESS> --cluster-domain cluster.local --fail-swap-on=false --kubeconfig /root/cdk/kubeconfig --logtostderr --network-plugin cni --port 10250 --tls-cert-file /root/cdk/server.crt --tls-private-key-file /root/cdk/server.key --v 0

but again I get thie error:

The Deployment "es-master" is invalid: spec.template.spec.initContainers[0].securityContext.privileged: Forbidden: disallowed by cluster policy

Any idea or suggestion is really appreciated :-)

I moved back to testing with minikube as LXD had a lot of other issues for me like consuming 100% cpu when I didn't even have anything deployed in kube, so I don't have any resolution on my side.  They may have fixed this though as I haven't tried using LXD in months.

@xamox yep, I am using it with minikube and it works. I am really curious to test all my software using lxd... I am not experiencing the 100% cpu issue as you did (but this is very funny, because this is the reason why I am moving from minikube 😂😂😂)

FYI I have rebuilt my k8s cluster asking my conjure-up to allow privileged containers and that error went away... (maybe the last time I missed to set the --allow-privileged for the api-server daemon?!? dunno)
Unfortunately I'm hitting another (unrelated) problem:
Error: failed to start container "init-sysctl": Error response from daemon: linux runtime spec devices: lstat /dev/.lxc/proc/1726/fdinfo/12: no such file or directory :-(

any luck on this ? I have similar issue on a lab setup.


As a node admin i should be able to set "default" LOG level

When i start a node i can set my own "default" log level as an env variable
otherwise it picks some level by default (as it currently does)

closed on https://github.com/oceanprotocol/ocean-node/pull/455


Code review htmlcss

Application is now more responsive but it still needs to be improve
Design stylesheet cleaned up
Grid system improved
Minor HTML/CSS bugs fixed


Dockerfile refers conf-examples but no such dir

Dockerfile:
ADD conf-examples/* /data/graphite/
Directory removed in commit 4910bff81d71e47a39f1aa69669d608a7139b411

Just hit same issue.


UABEAvalonia Crash

This is very frustrating. When I say Export and View Data, UABEAvalonia crashes and closes. I'm using the latest version at https://github.com/nesrak1/UABEA/releases but it doesn't work.
I took a video showing the problem
https://www.youtube.com/watch?v=SYKezITMy3w

Crash Log:
Application: UABEAvalonia.exe
CoreCLR Version: 5.0.1221.52207
.NET Version: 5.0.12
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OverflowException: Arithmetic operation resulted in an overflow.
at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, AssetTypeValueField valueField) in C:\Users\nesquack\Documents\GitReposLocal\AssetsTools.NET\AssetTools.NET\Standard\AssetTypeClass\AssetTypeTemplateField.cs:line 124
at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, AssetTypeValueField valueField) in C:\Users\nesquack\Documents\GitReposLocal\AssetsTools.NET\AssetTools.NET\Standard\AssetTypeClass\AssetTypeTemplateField.cs:line 209
at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, AssetTypeValueField valueField) in C:\Users\nesquack\Documents\GitReposLocal\AssetsTools.NET\AssetTools.NET\Standard\AssetTypeClass\AssetTypeTemplateField.cs:line 209
at AssetsTools.NET.AssetTypeTemplateField.MakeValue(AssetsFileReader reader) in C:\Users\nesquack\Documents\GitReposLocal\AssetsTools.NET\AssetTools.NET\Standard\AssetTypeClass\AssetTypeTemplateField.cs:line 95
at AssetsTools.NET.AssetTypeInstance..ctor(AssetTypeTemplateField[] baseFields, AssetsFileReader reader, Int64 filePos) in C:\Users\nesquack\Documents\GitReposLocal\AssetsTools.NET\AssetTools.NET\Standard\AssetTypeClass\AssetTypeInstance.cs:line 17
at AssetsTools.NET.AssetTypeInstance..ctor(AssetTypeTemplateField baseField, AssetsFileReader reader, Int64 filePos) in C:\Users\nesquack\Documents\GitReposLocal\AssetsTools.NET\AssetTools.NET\Standard\AssetTypeClass\AssetTypeInstance.cs:line 22
at UABEAvalonia.AssetWorkspace.GetAssetContainer(AssetsFileInstance fileInst, Int32 fileId, Int64 pathId, Boolean onlyInfo) in C:\Users\nesquack\Documents\GitRepos\uabequickfixes\UABEA\UABEAvalonia\AssetWorkspace.cs:line 161
at UABEAvalonia.AssetWorkspace.GetBaseField(AssetContainer cont) in C:\Users\nesquack\Documents\GitRepos\uabequickfixes\UABEA\UABEAvalonia\AssetWorkspace.cs:line 205
at UABEAvalonia.InfoWindow.BatchExportDump(List1 selection) in C:\Users\nesquack\Documents\GitRepos\uabequickfixes\UABEA\UABEAvalonia\InfoWindow.axaml.cs:line 494    at UABEAvalonia.InfoWindow.BtnExportDump_Click(Object sender, RoutedEventArgs e) in C:\Users\nesquack\Documents\GitRepos\uabequickfixes\UABEA\UABEAvalonia\InfoWindow.axaml.cs:line 267    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)    at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.<Post>b__0() in /_/src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs:line 33    at Avalonia.Threading.JobRunner.RunJobs(Nullable1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 37
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 210
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 157
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in //src/Avalonia.Base/Threading/Dispatcher.cs:line 61
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 107
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 134
at UABEAvalonia.Program.Main(String[] args) in C:\Users\nesquack\Documents\GitRepos\uabequickfixes\UABEA\UABEAvalonia\Program.cs:line 47

Problem solved.
I installed Windows 10 in English on the virtual machine, then I installed .net 5.0.12 I installed vc_redist_x64 I tested UABEAvalonia and it works fine now.
It is definitely caused by the windows usage language, I tested it, it crashes when I translate windows into my own language, it works when I translate it back to English.
I wanted to share the solution for those who encounter the same problem.

This is very odd, but I suspect since it was based on your language, it might be that a string is being read with the wrong encoding. I don't see why this would happen though as all the encodings should be manually specified to prevent this from happening.

There were two issues I found regarding language.
The first was if your language had a special i (ı for example), the check that compares the type with a lower case version and it would fail because of that i. That's been fixed recently and most likely your issue.
The second issue was for exporting/importing dump: some languages use , instead of . for decimal points. It shouldn't be a problem if you exported and imported on the same language and I haven't changed anything with that yet in case you still have dumps using that format.

Hi nesrak1,
Regarding the issue of program crashes caused by language settings, I have some experience to share, although I'm not sure if it will be effective.
One possible solution is to set the Culture to InvariantCulture, which can prevent issues with certain characters due to language settings in C#.
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

https://learn.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo.invariantculture?view=net-6.0

As the previous issue states, I have already fixed the issue by using ToLowerInvariant which already handles this. InvariantCulture on the thread can have issues in some cases, so that's the reason I'm not using it right now.
The only real issue that comes from ToString in UABEA at the moment is in the dump format. Decimal points in dumps can use , instead of . which is something I was okay with keeping since many people already had dumps using , decimal points.
Side note: I made a CTF challenge for IrisCTF called Michael Bank because of this issue.


the manual and automated route finder in view conflict with each other

if you do a context-driven route finder and then a manual route in any order, then you can't do another of either type.
The manual route flag seems to turn on and not get turned off

fixed


Missing LICENSE information for the repo

Hello. You obviously mean this repository to be used by others, but we don't know what the license terms are. Could you add a LICENSE file or indicate in the README the copyright and license?

Done, thanks for the report !

Thank you!


Strange message during installing new image

Hello. I have a strange error while the new image is installing. Here is full log:
$ x11docker --hostdisplay --gpu x11docker/check
x11docker WARNING: User player is member of group docker.
  That allows unprivileged processes on host to gain root privileges.

x11docker WARNING: Option --gpu degrades container isolation.
  Container gains access to GPU hardware.
  This allows reading host window content (palinopsia leak)
  and GPU rootkits (compare proof of concept: jellyfish).

x11docker note: Option --gpu: To allow GPU acceleration with --hostdisplay,
  x11docker will allow trusted cookies.

x11docker note: Option --hostdisplay: To allow --hostdisplay with trusted cookies,
  x11docker must share host IPC namespace with container (option --hostipc)
  to allow shared memory for X extension MIT-SHM.

x11docker WARNING: Option --hostdisplay with trusted cookies provides
      QUITE BAD CONTAINER ISOLATION !
  Keylogging and controlling host applications is possible!
  Clipboard sharing is enabled (option --cliboard).
  It is recommended to use another X server option like --xpra or --nxagent.

x11docker WARNING: Option --hostipc severely degrades
  container isolation. IPC namespace remapping is disabled.

x11docker WARNING: Sharing device file: /dev/dri

x11docker WARNING: Sharing device file: /dev/vga_arbiter

Image x11docker/check not found locally.

Any ideas? Thanks.

Thank you for reporting this!
Yesterday I fixed this bug in commit https://github.com/mviereck/x11docker/commit/965cbe58305d3a7678365cfe3e41ac4de59d9747.
It is a timeout error while pulling a new image. Now x11docker waits until docker pull  is ready.
Please update to latest beta version with x11docker --update-master and try again. I'll publish a new stable release soon.
Alternatively, you can first pull an image with docker pull x11docker/check and run x11docker afterwards.

@mviereck I've updated x11docker and seems like problem is gone.
So I can close issue?

I've updated x11docker and seems like problem is gone.

Great!

So I can close issue?

Yes; I just do it now.


Add datasource select to NodeSearchBox

Allow search by datasource

Adds a multiselect with datasources for node search
When search is submitted, selected datasources are added to the text query

Other changes

Change circleci docker job cp test_data file extensions to .csv.bz

Adds to #100

The docker cp probably won't work as-is, since neo4j doesn't know how to deal with compressed csv. Will need to be bzip2 -d and then cp. @123joshuawu

Okay will change


When a props property is undefined, component does not render the received style.

Version
3.0.0-alpha.5
Reproduction link
https://codepen.io/hareku/pen/PoqGdYB
Steps to reproduce

Render ChildWithProps.
Render ChildWithoutProps.

What is expected?
The span elements of ChildWithProps and ChildWithoutProps should have `style="font-size: red".
What is actually happening?
ChildWithoutProps does not have `style="font-size: red".

I think, even props is undefined, components should work the same as ChildWithProps.

Please let me know where there is a problem if you like.

It appears to be something on attributes merge.
https://github.com/vuejs/vue-next/blob/a840e7ddf0b470b5da27b7b2b8b5fcf39a7197a2/packages/runtime-core/src/componentRenderUtils.ts#L79-L92

https://github.com/vuejs/rfcs/pull/92.
If components with no props declaration,  will be not implicit fallthrough attrs.

Maybe class and style should be special cased even no props are declared.

What about aria-* and role attributes?

Maybe class and style should be special cased even when no props are declared.

All attrs will fallthrough in vue 2.x

@ysj16 see the RFC linked in the commit.


Track each individual error term

Turn the Error extension into a 3-D datacube, where each slice is the contribution from one souce of noise (e.g., dark subtraction). The final slice should be all of the terms combined in quadrature. The header of the error extension should record which term is filling which index of the 3-D cube. We may need to make sure the error extension header is appropriately being tracked throughout processing.
There should also be a function in Image called something like add_error_term() to add additional error terms.

Based on discussion in #25

In the end maybe it should always be the fist slice. Then new error slices
just get slapped onto the end. Seems simpler and may where one would expect
to look?
On Mon, Feb 12, 2024, 8:11 AM Jason Wang @.***> wrote:

Based on discussion in #25
https://github.com/roman-corgi/corgidrp/issues/25
—
Reply to this email directly, view it on GitHub
https://github.com/roman-corgi/corgidrp/issues/41#issuecomment-1939016092,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEK2SJBN7NWKE7WHR2X5OGTYTI5MPAVCNFSM6AAAAABDE7WPA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZZGAYTMMBZGI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Sounds good. First slice is the sum of all errors.

I take it since I already started on these items

Implemented in PR #45. Thanks!


[Hotfix] Nicer UX when host.json is malformed

Possible fix for #347.

Hi @develohpanda, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Thanks for the PR. Couple small comments but otherwise looks good. Can you please retarget this PR against the dev branch? That is where all work is done now. Thanks :)

Merged, thanks :) I addressed my minor test comments above in a follow up commit.

Ah sure thing. I had a unit test for this in the first commit too.
Named it hotfix because was targeted at master, but you addressed that by mentioned all work in done in dev now. My bad, oversight. :)

@davidebbo is working on getting our CLA stuff fixed. David, why isn't it working?

The CLA was fixed yesterday around 4pm (PST), so after this PR. That's probably why.


MethodCanaryTransform This feature requires ASM6

Execution failed for task ':app:transformClassesWithMethodCanaryTransformForDebug'.

This feature requires ASM6

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.

Ok, i will check it in  few days.

@muxi166 Can you show me the gradle-wrapper.properties and  Android Gradle Tool version like
classpath 'com.android.tools.build:gradle:VERSION'
I tried to reproduce the problem but it no problem been found.

@muxi166 Any more updates?

@muxi166 Can you show me the gradle-wrapper.properties and Android Gradle Tool version like
classpath 'com.android.tools.build:gradle:VERSION'
I tried to reproduce the problem but it no problem been found.

3.4.2

Merge refer to https://github.com/Kyson/AndroidGodEye/issues/72


Release version 2.0.0(Public Preview)

This is a component issue for release 2.0.0(Public Preview).
Coming from release issue 2.0.0(Public Preview), please refer to the dates in that post.
Please also follow the following checklist.
How to use this component issue

This Component Issue
This component issue captures the state of the OpenSearch release, on component/plugin level, its assignee is responsible for driving the release of the component.  Please contact them or @mention them on this issue for help.
Release Steps
There are several steps to the release process, components that are behind present risk to the release.  Component owners resolve tasks on this ticket to communicate with the overall release owner.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release.
You can find all the corresponding dates of each step in the release issue above.
What should I do if my plugin isn't making any changes?
If including changes in this release, increment the version on 2.0 branch to 2.0.0 for Min/Core, and <IP_ADDRESS> for components. Otherwise, keep the version number unchanged for both.

You can find all the date in above issue
Preparation

[ ] Assign this issue to a release owner.
[ ] Finalize scope and feature set and update the Public Roadmap.
[ ] All the tasks in this issue have been reviewed by the release owner.
[ ] Create, update, triage and label all features and issues targeted for this release with v2.0.0.

CI/CD

[ ] All code changes for 2.0.0 are complete.
[ ] Ensure working and passing CI.
[ ] Re(add) this repo to the (if not exist) opensearch input manifest.

Pre-Release

[ ] Update your branch in the opensearch input manifest.
[ ] Confirm that all changes for 2.0.0 have been merged.
[ ] Complete integration tests, and update results in the comment, example.
[ ] Find/fix bugs using latest tarball and docker image provided in meta issue.
[ ] Completed release candidate testing build #TBD.
[ ] All intermittent test failures have issues filed.

Release

[ ] Complete documentation.
[ ] Gather, review and publish release notes.
[ ] Verify all issued labeled for this release are closed or labelled for the next release.

Post Release

[ ] Create a release tag.
[ ] Suggest improvements to this template.
[ ] Conduct a retrospect, and publish its results.

@peterzhuamazon One question here, we have 2.0 (preview/RC) launch on 25/4 right?
what is the corresponding code freeze date for plugin's?
Asking as i still see freeze date as 3/21 here.

PR to bump version to 2.0.0 is raised but we have open issue with OS core - https://github.com/opensearch-project/OpenSearch/issues/2482

Closing this issue as RC1 changes are merged.


Allow host to be configured

Allow working with something like:

npx vite --host "my.customhost.com"

This could be a kind of obscure case, but long ago we setup DNS CNAME's for "local" and "*.local" in our domain that points to <IP_ADDRESS> and we have dev automation to add a certificate for these domains.  It would help us out if we could customize "host" for this case.  Thanks!


Add License

Hello,
Can you please add a license to your project so that others can contribute?
Thanks

Hi @CameronSquires Done :) You can contribute now.


translation bugs on "add a site" tab titles

http://<IP_ADDRESS>:8000/workflow/siteprofile_add

Let's defer.


SCOP - Calculation

Hi,
Since we have all information to calculate COP which is really cool but we cannot rely fully on that information.
As a enduser i would like to see my SCOP in the panel. Based on the attributes we cannot calculate it (correct me if i am wrong)
Can we expose some more information to be able to calculate it ? I would like to get:
Consume energy - it can be counter
Produce energy - also can be a counter.

you can calculate it. It's now 100% correct but it's possible. Take a look under discussion.

Correct if i am wrong but discussion is about COP - which i already have in my dashboard.
in order to get SCOP we need to have produced (and consumed by home) and consumed (from grid) energuy


Load pushers config from database

Current coverage is 15.32% (diff: 11.62%)

Merging #11 into master will decrease coverage by 6.80%

@@             master        #11   diff @@
==========================================
  Files            18         20     +2
  Lines           470        496    +26
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            104         76    -28
- Misses          366        420    +54
  Partials          0          0

Powered by Codecov. Last update c172aa5...386dd56


Examples use 3-space tabs, while the playground's default is 4-space

I often copy paste or select from some of the examples to try things out. However, it is always slightly annoying to build on the examples because the tabs have 3 spaces, while the playground itself uses 4 spaces for each tab. When I work on it, this often causes the following error to occur:
RuntimeError: parsing error: unindent does not match any outer indentation level
Even though completely fixable from my side, it is quite annoying and seems an easy fix.

Thanks for raising this. I ran into this myself a couple of times already, so it is good to have an issue.

The web playground now uses 4-space tabs and the next release of LMQL will also change tab size to 4 for the local lmql playground. This should make copying straight from the playground much more convenient.


Clean up RazorConfiguration, RazorLanguageVersion, and RazorExtension types

This change converts RazorConfiguration, RazorLanguageVersion, and RazorExtension to sealed records and removes all extraneous subtypes. To achieve this, I've also removed the AssemblyExtension type along with ProvideRazorExtensionInitializerAttribute. After the compiler assembly merge, the set of Razor extensions is known. So, I've removed the reflection code that would initialize a Razor extension and just handle the extensions statically.

@jjonescz: Any other concerns? Just need a second sign off from the compiler team.


Bot didn't catch second bugfix

See Phobos PR.

The commit message doesn't include any reference to it, it is only present in the PR title.
I recommend "Fix 21635, 21636:" for this, as the "issue" is optional nowadays to allow for shorter commit messages.

The commit message doesn't include any reference to it, it is only present in the PR title.

It does. The full commit message is:
Fix issue 21635 - std.bitmanip: bitfields should produce better error messages with wrong parameters
Fix issue 21636 - std.bitmanip: bitfields size of bitfield should be checked against size of used type


Version bump commits fail to build on master

https://github.com/c-hive/fresh-bot/runs/889751606
https://github.com/c-hive/fresh-bot/runs/827457666

Fixed in https://github.com/c-hive/fresh-bot/commit/6989014fd214f608b0bbbf3da6845c4c47f28875


No Test Results found

Using TestNG, maybe that's the issue?

I found the issue. I was overriding the report-directory to  include the module name. Removing that fixed the problem

Thanks for raising this problem. So you changed reportsDirectory property of maven-surefire-plugin, right?
Indeed the plugin should take into account this property. I'll see whether I can check this property to search for test reports.
Currently maven test support plugin expects test reports directly in surefire-reports/failsafe-reports directory, which is default directory for both maven test plugins.
I'll be able to work on this next week.


[dv/prim_esc] Direct test for prim_rx/tx

This PR writes a direct test for prim_rx/tx pairs to cover the following
checkpoints:
1). Escalation request hanshake.
2). Escalation esc_tx integrity error.
3). Escalation reverse ping timeout.
4). Escalation counter fail.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

Add this to the nightly?


Py_DecodeLocale() incorrect signature

Currently Py_DecodeLocale() is defined as the following:
pub fn Py_DecodeLocale(arg1: *const c_char, arg2: Py_ssize_t) -> *mut wchar_t;

But in CPython Include/fileutils.h, it is defined as the following:
PyAPI_FUNC(wchar_t *) Py_DecodeLocale(
    const char *arg,
    size_t *size);

I believe the Rust signature should be:
pub fn Py_DecodeLocale(arg1: *const c_char, arg2: *mut Py_ssize_t) -> *mut wchar_t;

Given this is an API change, I'm unsure how you want to handle this. Hence why I filed an issue instead of going straight to a PR.

Yep looks like our ffi definition is wrong; the C declaration you quote has been the same since Python 3.6 (and maybe earlier, didn't check).
Given our declaration is wrong I class this as a bug fix that's fine to be merged whenever. It seems unlikely anyone is using this correctly at the moment.


Fix method conflict on category

Category UIView+Constraints had methods name that caused conflicts
with 3rd party libraries or other extentions of the same kind.
Methods are now prefixed using Apple conventions:
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/CustomizingExistingClasses/CustomizingExistingClasses.html\#//apple_ref/doc/uid/TP40011210-CH6-SW4
How to test
I'm including a sample project that contains an extention with a
method named the same way we have currently on the SDK (production)
To replicate crash:

Go to Podfile
Uncomment line

# gets latest version
pod 'WootricSDK'

This should get the SDK from Cocoapods (production)

Change clientId, clientSecret and accountToken in ViewControler.swift

If you run the project the app should crash.
To fix this:

Comment the line you uncommented

# pod 'WootricSDK'

Uncomment line

# get local version
pod 'WootricSDK', :path => "/YOUR_PATH/WootricSDK-iOS"

and change YOUR_PATH to where the local WootricSDK is

Run [!] No `Podfile' found in the project directory.

Now if you run the project there should be no crash and run normally.
Trello: https://trello.com/c/fjwDvdRe/975-ios-sdk-crashes-on-swift
WootricSwift.zip

Since these are variable renaming only and it's statically typed language and app compiles, this looks good.


user/v-danwesley/writer pass on "Register as a Microsoft Edge extension developer"

Ran Acrolinx and other minor edits

Learn Build status updates of commit f42db57:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/create-dev-account.md
:white_check_mark:Succeeded
View

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


Fix interface nil

Pull Request Test Coverage Report for Build 632547913

70 of 136 (51.47%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.8%) to 98.986%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/trace/trace.go
46
112
41.07%

Totals

Change from base Build 615414119:
-0.8%

Covered Lines:
7809

Relevant Lines:
7889

💛  - Coveralls


chore(deps): update common-dev-assets digest to 330d910

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
9ec1a51 -> 330d910

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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

GitHub release
v2.0.1

Your semantic-release bot :package::rocket:


AMP-70103: Unify integrations URL Format

Amplitude Developer Docs PR
Description
Describe your changes.
Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[ ] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[ ] My documentation follows the style guidelines of this project.
[ ] I previewed my documentation on a local server using mkdocs serve.
[ ] Running mkdocs serve didn't generate any failures.
[ ] I have performed a self-review of my own documentation.

@amplitude-dev-docs

out of date, wont do


Need a proper PR template.

I need a proper PR template for this project which does have fields as mentioned below
Checks

Have you followed the code format of the project?
Have you returned the output/response with a message?
Have you implemented the tr-catch method?
Have you included the method/class in the documentation? md

Screenshots
Upload the screenshot of the output for validation (Compulsory).
You may add more relevant fields accordingly, but these mentioned points must be there.

May help in this one under gssoc'23?

Sure @Yashi11. Go ahead

Sent pull request for the same. Pls let me know if any changes are needed in the same.
Regards

This issue has been inactive for a long time
I would like to work on this issue
Please assign

PR for this has already been made @sagnik-p


fix the port forward command for concourse

Service name changed and namespace changed.

I think you'd still need to port-forward but this should work instead:
sudo --preserve-env kubectl port-forward service/istio-ingressgateway -n istio-system 80:80
curl http://ci.local.govsandbox.uk


Telescope styles broke after last update

I'm not sure what went wrong, but I ran packerSync and it updated a bunch of plugins (been about 3 weeks since I last did this).
Here is how telescope is currently looking. I didn't change anything in telescope config nor in catppuccin config. Notice it is missing transparency, and some other stuff (ignore the blue squares. I censored some stuff):

Previously it would look like this:

Here is my current config, branch main: https://github.com/brunobmello25/skeleton.nvim

https://github.com/catppuccin/nvim/issues/180

the border doesn't seem to be the only issue. It also lost transparency and finder info (text that tells you if you are finding files, finding with grep, etc)

@brunobmello25 You can disable telescope integration until we fix it

@brunobmello25 Kindly reopen the issue so other user don't open another issue about this!

@nullchilly of course!


Importing csv with spot-import does not work

This is the error:
  spot.socket.emit('scanData', {
              ^

TypeError: Cannot read property 'emit' of undefined
    at Object.scan (/spot-server/node_modules/spot-framework/src/driver/server.js:31:15)
    at child.scan (/spot-server/node_modules/spot-framework/src/dataset.js:106:17)
    at uploadDataset (/spot-server/scripts/spot-import.js:179:11)
    at /spot-server/scripts/spot-import.js:169:7
    at Parser.<anonymous> (/spot-server/node_modules/csv-parse/lib/index.js:104:16)
    at emitNone (events.js:111:20)
    at Parser.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

I always get this error, but can "fix" it by going to server.js and changing the scan function to
  return;
}```

effectively removing this functionality. I have no idea what I broke, as everything still works, but now I can add datasets.

fixed in latest dev version.


Build a demo site

Problem statement
OpenSearch Dashboards doesn’t have demo site to provide real customer experience without installation, we would like to explore the opportunity to leverage the our infra to build a demo site and demonstrate the latest features of OpenSearch Dashboards.
Motivation
We needs central location to demonstrate OpenSearch Dashboards’ new and existing features, the existing and potential customer have a opportunity to play their data without installation OpenSearch and OpenSearch Dashboards.
Requirements

As a customer, be able to visit demo site with friendly name with anonymous read-only access.
As a customer, be able to use registered email or Google/GitHub account to login Dashboards.
As a customer, be able to leverage the landing/home page to know OpenSearch Dashboards’ the existing/new features via.
As a customer, be able to see the demo site with latest release version of OpenSearch Dashboards.
As a customer, be able to see and try the exiting/new features for the OpenSearch Dashboards and plugins.
As a customer, be able to provide the feedback for the demo sites.
As a customer, be able to use the sample data(eCommerce orders, flight data, and web logs) which provided the OpenSearch Dashboards.
As a customer, be able to navigate the developer documents and sample from demo website.
As a customer, be able to see the integrations from demo website.

https://github.com/opensearch-project/OpenSearch-Dashboards/issues/538


Issue with MSD

Hi, I think the MSD calculation is incorrect. I obtained the smearing, and spiky MSD for the smooth option = False. Because we need to find the fitting slope from MSD(t) line, it is hard to find the best fitting time lag from the spiky MSD. Maybe a function log(MSD) vs log(t) should be introduced to find the ballistic or diffusive regime, which can not see from a spiky MSD. The user should have an option to choose a suitable time for estimating slop, and diffusivity because the tail of MSD is often removed.
Note: It is surprising that I got the different MSD lines from the same MD output files using the same MSD equation. (compared with MSD obtained from VASPKIT, or Yfei Mo code)

Pls clarify exactly why the MSD calculation is "incorrect"? Plotting a log-log plot is simply a matter of changing the axes to a log axis in matplotlib. That can be done directly in your code.
In the end, we can only look at issues where a comprehensive error report is given. For instance, if saying that the MSD plots by two codes are different, at the minimum we need to see the two plots and a version of the output file. Otherwise we cannot even reproduce the issue, much less explore corrections (if any).

Dear Prof, I appreciate your response. I am not sure I understand your developed code completely, for example, these lines:
for i, n in enumerate(timesteps):
    if not smoothed:
        dx = dc[:, i : i + 1, :]
        dcomponents = dc[:, i : i + 1, :]

I think it is incorrect because it is not easy to see the slope or the ballistic/diffusive regime. I obtain a spiky MSD line using PYMATGEN while it is a line with a clear slope from VASPKIT.  The spiky one may lead to misleading conclusions such as the phase transition, reactions, etc.
I think log(MSD) vs log(t) is an option that helps the users know whether a trajectory is "long enough". In addition, I found the dimensional factor set of 3 (MSD slope / 60). But in some cases, for 2D materials, dim=2 is applied (D=MSD slope / 40). Maybe an option of dimensional factor is necessary as well.

I think the the jagged MSD is simply due to the fact that you choose to plot it without any smoothing. When you set smoothed=None you are essentially plotting the raw data points: that is, the square of your displacements at each time step; the line is simply connecting all the discretized points at each time step without any averaging, hence it looked jagged. The other two lines you've shown seems smoothed with some other algorithms. You can try to set smoothed=max or smoothed=constant and see how that changes your MSD. I think smoothed=constant is simply taking a dynamic average, but I am less sure about what smoothed=max is doing behind the scene.
Note also that how you smooth the MSD will affect the final extrapolated diffusivity. The calculation of diffusivity is basically done by doing least square regression on your smoothed MSD. In reality, you might want to determine on your own which part of the MSD you want to use to do that linear regression.

@VvVLzy is correct. It is up to you how you want to smooth the MSD. This is mainly for presentation purposes.
While there might be some small changes in the diffusivity with smoothing, the values are usually not all that different.

Thank you for your response. I am still concerned about the smoothing parameters. I found that MSD can be calculated using FFT techniques without smoothing parameters from this StackOverflow link FFT_MSD. Maybe this is the better way to calculate MSD.


directory jump error

Description
Clicking on the directory to jump leads to a 404 error
(Optional:) Please add any files, screenshots, or other information here.
No response
(Required) What is this issue most closely related to? Select one.
Choose One
Internal issue ID
fa63b49b-15a8-4b87-936b-061a6c357a93
Paper URL
https://arxiv.org/html/2401.11181v1
Browser
Chrome/<IP_ADDRESS>
Device Type
Desktop

Location in document: undefined
Table of contents on the left side of the page


pcloud: Init at 1.8.4

Motivation for this change
Just a new application: pCloud.
Things done

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

[x] 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 nixpkgs-review --run "nixpkgs-review wip"
[x] 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)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thank you kind sir for your work!
Downloaded, tested and finally pCloud works properly on my nixos laptop :heart:
I tested basic FUSE mounting (by looking at ~/pCloudDrive contents if I can read my cloud drive without allocating gigabytes of disk space), and classic sync capabilities.
I didn't test crypto or sharing tho.
Anyway - thanks.

Just reminding; @Mic92 maybe?

Ping, ping - maybe @worldofpeace? :-)

Result of nixpkgs-review pr 91182 1

1 package built:
- pcloud

Result of nixpkgs-review pr 91182 run on x86_64-linux 1

1 package built:

pcloud


Say No More 2.0 !

Hey there. I made some updates on my two screensavers. Both have their URL updated since i changed of username.
But the biggest update is on the Say No More one. It has been completely refactored and adding custom quotes is now easier: It just requires a txt fie with quotes separated by line breaks. And on the "quotes" field, you just need to put the name of the txt file to change it. You have the original quotes with saywhat, the additional ones on saymore and two other collections too. :) (demos available here) Also made some cleaning while i was at it

Thanks!


[pwrmgr] Fix DC compilation issue and verible style warnings

Some minor compilation / style linter fixes. DC didn't like the floating
  logic [pwrmgr_reg_pkg::NumWkups-1:0] wakeups;
  logic [HwRstReqs-1:0] rstreqs;

signal declarations in the package, and I guess these are left overs from creating the pwr_peri_t struct type a bit further below in the same package,
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

ah thank you.
Would you mind merging this over to bronze also?

ah thank you.
Would you mind merging this over to bronze also?

Sure, will do!

It looks like these signal declarations are not present in Bronze, hence we do not have to carry this patch over.


Bug: Playground is requesting non-secured /graphql/ URL

What are you trying to achieve?
We are deploying Saleor Core with Docker.
The problem is that the playground requests resources from HTTP instead of HTTPS, although we clearly stated the environment variables to use HTTPS versions or URLs.
Getting a "mixed content" error in browser.
Help is much appreciated
Steps to reproduce the problem

Download official dockerized Saleor Core version 3.17.2
Set environment variables in backend.env file

CELERY_BROKER_URL=redis://redis:6379/1
DATABASE_URL=<path to database>
<EMAIL_ADDRESS>EMAIL_URL=smtp://mailpit:1025
API_URI=https://<path to saleor core>/graphql/
API_URL=https://<path to saleor core>/graphql/
GRAPHQL_ENDPOINT=https://<path to saleor core graphql api>/graphql/
SECRET_KEY=changeme
PLAYGROUND_ENABLED=True
ENABLE_SSL=True
PUBLIC_URL=https://<path to saleor core graphql api>
SECURE_SSL_REDIRECT=True
DEBUG=True
ALLOWED_CLIENT_HOSTS=<path to saleor core>
ALLOWED_HOSTS=api,<path to saleor core>
DASHBOARD_URL=https://<path to dashboard>
ALLOWED_GRAPHQL_ORIGINS=*
RSA_PRIVATE_KEY=<private key>

Set environment variables in common.env file

DEFAULT_CHANNEL_SLUG=default-channel
HTTP_IP_FILTER_ALLOW_LOOPBACK_IPS=True
HTTP_IP_FILTER_ENABLED=True

Modify docker-compose.yml

version: "3.4"

services:
  api:
    image: ghcr.io/saleor/saleor:3.17.2
    ports:
      - 8000:8000
    restart: unless-stopped
    networks:
      - saleor-backend-tier
    stdin_open: true
    tty: true
    depends_on:
      - redis
      - jaeger
    volumes:
      # shared volume between worker and api for media
      - saleor-media:/app/media
    env_file:
      - common.env
      - backend.env

  redis:
    image: library/redis:7.0-alpine
    ports:
      - 6379:6379
    restart: unless-stopped
    networks:
      - saleor-backend-tier
    volumes:
      - saleor-redis:/data

  worker:
    image: ghcr.io/saleor/saleor:3.17.2
    command: celery -A saleor --app=saleor.celeryconf:app worker --loglevel=info -B
    restart: unless-stopped
    networks:
      - saleor-backend-tier
    env_file:
      - common.env
      - backend.env
    depends_on:
      - redis
      - mailpit
    volumes:
      # shared volume between worker and api for media
      - saleor-media:/app/media

  jaeger:
    image: jaegertracing/all-in-one
    ports:
      - "5775:5775/udp"
      - "6831:6831/udp"
      - "6832:6832/udp"
      - "5778:5778"
      - "16686:16686"
      - "14268:14268"
      - "9411:9411"
    restart: unless-stopped
    networks:
      - saleor-backend-tier

  mailpit:
    image: axllent/mailpit
    ports:
      - 1025:1025 # smtp server
      - 8025:8025 # web ui. Visit http://localhost:8025/ to check emails
    restart: unless-stopped
    networks:
      - saleor-backend-tier

volumes:
  saleor-db:
    driver: local
  saleor-redis:
    driver: local
  saleor-media:

networks:
  saleor-backend-tier:
    driver: bridge

Build Docker images
Run docker with compose up
Open playground on https:///graphql/
Inspect the requests in the browser

Result from browser inspect
useFetcher.tsx:15 Mixed Content: The page at '
[https://<path to saleor core>/graphql/'](https://<path to saleor core>/graphql/%27)
was loaded over HTTPS, but requested an insecure resource '
[http://<path to saleor core>/graphql/'.](http://<path to saleor core>/graphql/%27.)
This request has been blocked; the content must be served over HTTPS.

What did you expect to happen?
GraphQL playground loading schema and requests working over HTTPS.
Logs
No response
Environment
Saleor version: 3.17.2
OS and version: Docker

It works well in Saleor 3.0.0


(BKR-832) Add box_download_insecure for vagrant

Without this patch, vagrant nodesets cannot disable SSL server certificate
verification.  This patch fixes the issue by introducing a
box_download_insecure option for vagrant hosts.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2559/

Thanks for the improvement @op-ct! Would you add a small section describing this change just like you did above in our Vagrant doc, so that other's can more easily learn about and use it?

If no movement is made on this in a week, we will close it due to inactivity.

Closing due to inactivity


Example not clear Documentation of account/permissions and general introduction things

Documentation of account/permissions and general introduction things- - Multi-Hierarchical Flexible Multi-Signature

Controller(33%) or Treasurer(33%) together with wither the Tax Manager (10%) or Accounting (10%) to(=) spend funds(43%).

I don't understand the question. @xeroc @cassiopaia can you offer any help?

maybe I am wrong ? there is an example in Help, permissions.md, Multi-Hierarchical Flexible Multi-Signature, have a look at it . I just could not understand it .

"wither" is a typo, I'll create a PR now. The example is ok, any combination of account weights that sums 51% can approve a transaction, i.e. Chief alone, Treasurer + Controller, Treasurer + Tax Manager + Accounting, or Controler + Tax Manager + Accounting.

thats what I am saying,  the last "or" should have been "and" (+) .
"Controller or Treasurer together with wither the Tax Manager or Accounting to spend funds."

@rngl4b ..together with Tax Manager and Accounting to spend...

You are right, missed that. #596

can I close this one ?

Yes please, thank you for the advise.

cheers


support tests may cause page to scroll

When ally.js is loaded for the first time (or does not have a cache yet), it runs a batch of supports tests to identify browser compatibility. It caches the results in localStorage so it doesn't have to re-run the tests over and over again. That's why this issue hasn't cropped up before.
As part of the tests a few DOM elements are created, injected into the document and focused. Of course they're removed and the previously focussed element becomes the activeElement again. But those focus() calls make the browser scroll the element into view.
That means a first-time visitor may end up at the end of the page without having scrolled there. Or in allyjs.io's case, the JSBin iframe containing the example is scrolled into view.
We can solve the scroll position of the document ally.js is loaded in, but I don't see how that would (easily, seamlessly) work with cross-origin iframes.
Anyway, saving the scrollPosition when saving the currently focused element and restoring to that position after the test should do the trick. Since we're appending to <body> we should not need to care about nested scrollable containers.

:+1:

while touching this component we should also transform all tests to return a function instead of the test result. this allows running the tests when they're actually needed, not when the ally.js source is loaded (identified by #85)


Use single-arg form of #[pymodule] function in docs and tests

As a follow-up to #3897, this deprecates the wrap_pyfunction macro and recommends replacing it with wrap_pyfunction_bound. As an experiment, I have also modified the pymodule macro to allow a single-argument form so that module functions can take just a single Bound<'_, PyModule> argument, since one can obtain a Python<'_> marker from the bound reference if needed. While this works, the macro implementation itself can probably be improved.
One question I have is around the macro hygiene and "no import" tests; when using &Bound<PyModule> instead of &PyModule, methods such as m.add_function are not available unless we also import the PyModuleMethods trait, so I've added an explicit use pyo3::types::PyModuleMethods in both those tests. For the "no import" test in particular this looks a little funny, so I'd be happy to know if there's a better approach.

Now that #3897 and #3905 have been merged, I've reworked this to not deprecated wrap_pyfunction! but instead just to use the single-arg form of pymodule functions in a number of places in docs and tests. @davidhewitt, please take a look.

Thanks, I will aim to review this tonight or tomorrow 👍


add_lock_sensor_portrait

What's the benefit of lockToSensorPortrait()? We'd also need to implement the iOS side to allow for feature parity among platforms. @kesha-antonov any chance you can look into this and elaborate a little more?

Benefit: You can turn your phone upside down and see the app rotated correctly.
It doesn't rotate horizontally but does rotate vertically in "portrait" and "upside-down portrait"

Awesome @kesha-antonov. Going to review it soon.

@andrerfneves did you have time to review this one?


lima-bin: 0.17.0 -> 0.17.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for lima-bin is: Linux virtual machines (on macOS, in most cases)
meta.homepage for lima-bin is: https://github.com/lima-vm/lima
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.17.2 with grep in /nix/store/nxqich27b3im585ysnlxyvzvcnn01ijh-lima-0.17.2
found 0.17.2 in filename of file in /nix/store/nxqich27b3im585ysnlxyvzvcnn01ijh-lima-0.17.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
lima-bin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nxqich27b3im585ysnlxyvzvcnn01ijh-lima-0.17.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A lima-bin https://github.com/r-ryantm/nixpkgs/archive/051f64fab8e3fedcea605a89070f2d4155d1a89e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nxqich27b3im585ysnlxyvzvcnn01ijh-lima-0.17.2
ls -la /nix/store/nxqich27b3im585ysnlxyvzvcnn01ijh-lima-0.17.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

lima-bin

Maintainer pings
cc @tricktron for testing.

Result of nixpkgs-review pr 252378 run on aarch64-darwin 1

1 package built:

colima

Result of nixpkgs-review pr 252378 run on aarch64-darwin 1

2 packages built:

colima
lima-bin


[Bug]: BedrockConverse doesn't work with streaming and tool use combined

Bug Description
I'm trying to stream the response from Anthropic Claude Sonnet 3.5 using BedrockConverse and I get an error: KeyError: 'toolUse'. It seems like something is not parsing correctly the tool use block. The error happens when I use llm.stream_chat_with_tools. It doesn't happen, for the same setup, when I use chat_with_tools`.
Version
llama-index core: 0.10.67, llama-index-llms-bedrock-converse==0.1.6
Steps to Reproduce
from llama_index.core.tools import FunctionTool
from llama_index.llms.bedrock_converse import BedrockConverse

llm = BedrockConverse(
    model="anthropic.claude-3-5-sonnet-20240620-v1:0",
    region_name="eu-central-1",
)

def add(x: int, y: int) -> int:
    "Add two numbers."
    return x + y

add_tool = FunctionTool.from_defaults(add)

resp = llm.stream_chat_with_tools(tools=[add_tool], user_msg="How much is 2 + 3")
for token in resp:
    if token is not None:
        print(token.delta, sep="", flush=False, end="")

Relevant Logs/Tracbacks
KeyError                                  Traceback (most recent call last)
Cell In[113], line 16
     13 add_tool = FunctionTool.from_defaults(add)
     15 resp = llm.stream_chat_with_tools(tools=[add_tool], user_msg="How much is 2 + 3")
---> 16 for token in resp:
     17     if token is not None:
     18         print(token.delta, sep="", flush=False, end="")

File ~/.pyenv/versions/training-assistant/lib/python3.11/site-packages/llama_index/core/llms/callbacks.py:185, in llm_chat_callback.<locals>.wrap.<locals>.wrapped_llm_chat.<locals>.wrapped_gen()
    183 last_response = None
    184 try:
--> 185     for x in f_return_val:
    186         dispatcher.event(
    187             LLMChatInProgressEvent(
    188                 messages=messages,
   (...)
    191             )
    192         )
    193         yield cast(ChatResponse, x)

File ~/.pyenv/versions/training-assistant/lib/python3.11/site-packages/llama_index/llms/bedrock_converse/base.py:362, in BedrockConverse.stream_chat.<locals>.gen()
    348     yield ChatResponse(
    349         message=ChatMessage(
    350             role=role,
   (...)
    359         raw=response,
    360     )
    361 elif content_block_start := chunk.get("contentBlockStart"):
--> 362     tool_use = content_block_start["toolUse"]
    363     content = join_two_dicts(content, tool_use)
    364     (
    365         _,
    366         tool_calls,
    367         tool_call_ids,
    368         status,
    369     ) = self._get_content_and_tool_calls(content=content)

KeyError: 'toolUse'

@logan-markewich I don't really know how to start resolving the issue, but given some directions I can try to give it a go :)
For now I don't even understand what the syntax should be to use streaming together with tool calls (do you call the tool parser on the response object from the streaming? on the last token?). As far as I can tell, there is no documentation at all about using stream_chat_with_tools...


[bug] "Large" Datasets can't be queried

[!NOTE]
I saw #2470 + a few other PRs and it looks like @tssweeney & co are already working on resolving this, but adding the issue as a +1 vote to that ongoing work.

This seems to be due to data size; creating Datasets using toy data seems to work fine even at larger cardinalities.
Steps to reproduce
With Datasets created by duplicating a single example with some pretty verbose string fields and base64 image data, Datasets greater than 33 examples fail to query.
>>> import weave
>>> weave.init(project_name="my-project")
>>> real_dataset = weave.ref("my-real-dataset").get()
>>> dataset = weave.Dataset(name="dataset_size_33", rows = [real_dataset.rows[0]]*33)
>>> weave.publish(dataset)
📦 Published to ...
ObjectRef(entity='...', project='...', name='dataset_size_33', digest='...', extra=())
>>> dataset = weave.Dataset(name="dataset_size_34", rows = [real_dataset.rows[0]]*34)
>>> weave.publish(dataset)
📦 Published to ...
ObjectRef(entity='...', project='...', name='dataset_size_34', digest='...', extra=())

Examples
Real data
>>> import weave
>>> weave.init(project_name="my-project")
>>> len(weave.ref('dataset_size_33').get().rows)
33
>>> len(weave.ref('dataset_size_34').get().rows)
Traceback (most recent call last):
...
    raise requests.HTTPError(
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: /table/query. Reason:

  Click here for screenshots

Toy data
Confirmed working even at 100 examples
>>> import weave
>>> weave.init(project_name="my-project")
>>> len(weave.ref('dataset_size_100:v0').get().rows)
100

  Click here for screenshots

Thanks @TeoZosa - you are indeed correct that we are investing in this path - next up is to convert our response to a streaming response which will avoid this bug. Will keep you posted on priority.


Update mapnik 3.6.0

Per https://github.com/mapnik/node-mapnik/blob/master/CHANGELOG.md#360

Coverage remained the same at 96.471% when pulling 54e88e33a38a9a43534d1cc881d3375514012d7c on mapnik-3.6.0 into 1cdae73c7954530d74c0c83c97a494c76d604e06 on master.

Coverage remained the same at 96.471% when pulling 63e6de91c2424db1cb6c76420e185617f487ae78 on mapnik-3.6.0 into 1cdae73c7954530d74c0c83c97a494c76d604e06 on master.

Coverage remained the same at 96.471% when pulling 1797023c5e511071a2568bea535e07c9bec1f103 on mapnik-3.6.0 into 1cdae73c7954530d74c0c83c97a494c76d604e06 on master.

Appveyor failure is expected.


Update scalafmt-core to 3.3.2

Updates org.scalameta:scalafmt-core from 3.1.2 to 3.3.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.1.2).
You might want to review and update them manually.
doc/website/package-lock.json
modules/tests/shared/src/test/resources/resolutions/org.apache.spark/spark-core_2.10/2.1.1
package.json

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:n:2

Superseded by #2338.


QA feedback on the end to end scenarios

Once the End to End scenarios will be in place QA will work to provide feedback on them .

QA need to look for the area that require more coverage
Any suggestions etc

I'd prefer more coverage, but I don't think it's the highest priority we have ATM, so I agree.


Not able to create bundle with builder when I import json file

When I import json file (e.g. import abc from './abc.json!') in my code I am not able to build bundle with builder as I am getting below error.

NOTE: I am not getting any error when I am using jspm command e.g. jspm bundle-sfx app/bootstrap build.js and bundle is created successfully.

Gulp Task Code:
var builder = require('systemjs-builder');
builder.reset();

builder.loadConfig('./src/jspm.conf.js')
    .then(function() {
        builder.loader.baseURL = path.resolve('./src/');
        builder.buildSFX('app/bootstrap', paths.tmp.scripts + 'bootstrap.js', { sourceMaps: true, config: {sourceRoot: 'src/.tmp/scripts/'} })
            .then(function() {
                return cb();
            })
            .catch(function(ex) {
                cb(new Error(ex));
            });
    });

Error:
Error: Error loading<EMAIL_ADDRESS>at <unknown>
Error loading<EMAIL_ADDRESS>from "app/bootstrap" at file:/Users/martinmicunda/projects/employee-scheduling/ui/src/app/bootstrap.js
Error loading<EMAIL_ADDRESS>at<EMAIL_ADDRESS>Only file URLs of the form file: allowed running in Node.
    at /Users/martinmicunda/projects/employee-scheduling/ui/gulpfile.js:295:24
    at promiseHandle (/Users/martinmicunda/projects/employee-scheduling/ui/node_modules/systemjs-builder/node_modules/traceur/bin/traceur.js:1874:20)
    at /Users/martinmicunda/projects/employee-scheduling/ui/node_modules/systemjs-builder/node_modules/traceur/bin/traceur.js:1868:9
    at flush (/Users/martinmicunda/projects/employee-scheduling/ui/node_modules/systemjs-builder/node_modules/traceur/bin/traceur.js:1672:7)
    at process._tickCallback (node.js:419:13)

Try changing this line - builder.loader.baseURL = path.resolve('./src/'); to builder.loader.baseURL = 'file:' + path.resolve('./src/');

@guybedford I tried however it didn't work :(

@martinmicunda did it give the same issue?

@martinmicunda does your config file include a path configuration for github: like:
System.paths['github:*'] = 'jspm_packages/github/*.js';

@guybedford yes

It could be worth checking builder.loader.paths in the code there to be sure it is being set properly?

@martinmicunda I've worked out the issue here - https://github.com/systemjs/builder/issues/43. Aiming to get a fix in very soon. Thanks so much for helping to catch this.

no problem glad to help ;)

@martinmicunda this has been fixed with https://github.com/systemjs/builder/commit/93566a733ad55d144cb8579005dab2634ffdeba7, I'll be posting out a release tomorrow.

That's perfect I will test it! Thanks


dartfmt

should we add a travis presubmit check as well?

should we add a travis presubmit check as well?

Already there - https://travis-ci.org/dart-lang/http_throttle/builds/270900073


Containers become invisible to each other after 1.9.0 update

Hello, after updating to 1.9.0 I have a problem of container's visibility. Before update I used 1.8.3 and everything works fine for me.
$ docker version
Client:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:39:44 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:39:44 UTC 2015
 OS/Arch:      linux/amd64

$ docker info
Containers: 7
Images: 160
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 174
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-31-generic
Operating System: Ubuntu 15.04
CPUs: 4
Total Memory: 7.797 GiB
Name: <...>
ID: <...>
Username: <...>
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

uname -a: Linux lesnykh 3.19.0-31-generic #36-Ubuntu SMP Wed Oct 7 15:04:02 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
How reproducible: my docker-compose.yml
app:
    container_name: project-dev
    build: ./build
    links:
        - redis
        - node
redis:
    container_name: project-redis
    image: redis:3.0.5
    volumes:
        - /var/db/redis:/data
node:
    container_name: project-node
    build: ./build-node
    volumes:
        - /var/log/project/nodejs:/app/log

Steps to Reproduce:

I run docker-compose up -d to up all containers;
then run docker exec -it project-node bash to enter into nodejs container, which is linked to main (app) container;
and after it in nodejs container I run cat /etc/hosts.

Expected Results:
In version 1.8.3 I see all other containers:
root@665944c01a16:/# cat /etc/hosts
<IP_ADDRESS>	665944c01a16
<IP_ADDRESS>	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
<IP_ADDRESS>	project-node
<IP_ADDRESS>	project-node.bridge
<IP_ADDRESS>	project-redis
<IP_ADDRESS>	project-redis.bridge
<IP_ADDRESS>	project-dev
<IP_ADDRESS>	project-dev.bridge

Actual Results:
But in 1.9.0 I see nothing. As I understand, I have to use --net parameter to make bridge, am I write? How can I do it with --link?

I think this is a designed behavior since 1.9.0, see https://github.com/docker/docker/pull/17230.
Hope that can explain your problem.

So, I need to add --net=bridge to all containers which I want to enable visibility?

I don't think add --net=bridge can solve this problem.
In my understanding, container app can see redis and node, but node can't see app, and can't see redis either.
I have no idea how to solve this, maybe docker's network team can give more suggestions.
ping @aboch @mavenugo

In my understanding, container app can see redis and node, but node can't see app, and can't see redis either.

Yeap, you are right.
Containers app and node have to see each other and redis

The way to fix this is to not use the bridge network.
This implicit discovery that was added in 1.8 was not intentional and was meant only for user created networks, not the bridge network.
In 1.9 the implicit discovery was removed from bridge and is only available in user created networks.
I believe compose has experimental support for user created networks.

@cpuguy83 I have one question, it seems that --net can't coexists with --link and --link is only valid for default bridge network now, so how can user link two containers in user defined network?
Or because of implicit discovery, containers in user defined network can see each other by default, so can I say they don't need to link to each other any more,  am I right?

@WeiZhang555 That's correct, though on user defined networks it would be nice to be able to alias a container like you do with links... this is coming.
But yes, links are not part of user defined networks due to implicit discovery.

@cpuguy83 That's very clear, thank you. :smile:

@Aliance With the user defined networks you also have to use named (--name) containers for automatic service discovery.

Writing "user defined network" you mean docker network create?

Yes.

Okay, I see. And what driver should I use? You said "not bridge"?

@sanimej

With the user defined networks you also have to use named (--name) containers for automatic service discovery.

Can you explain a little bit more. Now I have already used named containers (see my example) and try to ping each other by this alias, you mean this behavior or something else?

@Aliance Ok, since you are already using the name discovery should work automatically for explicitly created networks..

@Aliance I'm going to close this issue, because this is not a bug. I hope the comments/suggestions here help you resolve your issue. :+1:
Also, feel free to continue the discussion here

I had read docker container networking and understood many interesting facts. Bridge default network - is legacy and deprecated:

it is better to avoid them and define your own bridge networks instead.

I believe compose has experimental support for user created networks.
Documentation says what you're right.

So I did theese steps:

created user-defined bridge network docker network create --driver bridge docker_internal_net
removed link and added net into my docker-compose.yml:

app:
    container_name: project-dev
    net: docker_internal_net
    build: ./build
redis:
    container_name: project-redis
    net: docker_internal_net
    image: redis:3.0.5
    volumes:
        - /var/db/redis:/data
node:
    container_name: project-node
    net: docker_internal_net
    build: ./build-node
    volumes:
        - /var/log/project/nodejs:/app/log

And everything works fine! Thanx everyone involved

Am I right that docker network work only on docker version 1.9 or higher?

@aliance correct, it's a new feature in docker 1.9