Sunstone Server Uses Plain-Text Form Based Authentication

Description
Web Server Uses Plain-Text Form Based Authentication
The detection summary shows:
<form id="login_form" method="post" class="row">

Username
<input type="text" size="15" name="username" id="username" class="box"/>

Password
<input type="password" size="15" name="password" id="password" autocomplete="off" class="box"/>

<input type="checkbox" id="check_remember" />
Keep me logged in

<button type="submit" id="login_btn"></button>

</form>

To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Details

Affected Component: [Fireedge]
Hypervisor: [e.g. KVM]
Version: [e.g. 5.4.12 or development]

Additional context
Add any other context about the problem here.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

@tinova: PRs to approve:

CODE: https://github.com/OpenNebula/one-ee/pull/1563
DOC: https://github.com/OpenNebula/docs/pull/2030


Corrected the installation instructions for Arch for FAC12

#13.
Fixed the Arch installation instructions for FAC12 Weeks 6

Thanks for the PR. Assuming this has been tested. Does $whoami work instead of $(whoami)? Going to merge now 😃


Format document on C++ bad indent (Tab vs spaces)

VSCode Version: 1.10.2
OS Version: Windows 10 Home 64bit

Steps to Reproduce:

Create new file with extension .cpp (example.cpp)
Past code into document and save.

void bar()
{
    int foo = 0;
    if (foo)
    {
        foo = 1;
    }
}

[alt]+[shift]+F to "format document"

Expected the output to stay the same. Got the following output
void bar()
{
    int foo = 0;
    if (foo)
    {
    foo = 1;
    }
}

This looks to be an issue with tabs vs spaces. I think it's still a bug with the format document function as it produces an undesired output.
Below is a workaround

Create new file with extension .cpp (example.cpp)
Past code into document and save.

void bar()
{
    int foo = 0;
    if (foo)
    {
        foo = 1;
    }
}

Select all
From the command palette "Convert indentation to spaces"
Got the expected output.

Please create an issue against the C++ extension you are using (most likely https://github.com/Microsoft/vscode-cpptools/issues )


How to customise emails

Have you got any guide or instructions on how to customise the emails please?

All emails are under resources/views/vendor/ticketit/emails/**/*.php
If you don't have that you need to run
php artisan vendor:publish
to copy all customisable files to your project folder

I understand that completely and have already made some mods in those files. But it is not clear at all. What are the variables passed to the templates? Where and when and how are they passed? Can we add more variables of our own? If so, how? Can we have some emails fire and others not? This is a very important but less intuitive part of your app and yet there is no instruction for it in your Wiki.

@sunnyjayjay see #234 .. if you need to customize this behaviour and counters (as your question #250) .. you can copy the TicketitServiceProvider to your app/providers directory .. change the name space .. add the new service provider to config/app.php providers instead of the Kordy\Ticketit\TicketitServiceProvider::class


Guidance required on how to use this library with Spree API

The wiki does not mention how tho use this gem via the spree API, I could not find any instructions online either. I am building an Angular 2 front end with Spree API backend I would like to use Braintree for credit card and PayPal payments. Could anyone provide done help with this.

hitting rails routes might give you a hint of what endpoints were available.

@jusefb there is an API V1 endpoint for this:
https://github.com/spree-contrib/spree_braintree_vzero/blob/master/app/controllers/spree/api/v1/braintree_client_token_controller.rb
you just have to query it to get the braintree client token via
/api/v1/braintree_client_token

Hi, thank you for a quick response. I have managed to figure this bit out however this does not seem to work with guest checkouts. braintree_client_token controller seems to require an authenticated api user in order do issue a client token.


Support Parametrized

While running tests in FTL with and without Flank i see some tests not running in Flank case:
seems all of them has @RunWith(Parameterized::class) in common.
Is it possilble to support them?

Thanks for reporting this. We use this library: https://github.com/linkedin/dex-test-parser to parse the tests.
Please submit the issue to them. As soon as they fix it we will include it into Flank.

I don't think an issue for parameterized tests was ever submitted upstream.

According to this: https://github.com/linkedin/dex-test-parser/issues/17 @parameterized is already supported by the parser library.

https://github.com/TestArmada/flank/issues/255 should fix this then. I know they fixed some bugs in 2.0
I'm currently on a different project (getting iOS tests going with EarlGrey) so it'll be a few weeks before I'm back on Flank. Happy to merge a PR if you want to update the dependency and see what happens.

Thanks, I'll work on the PR and see how it goes!

There's a #flank channel in the Firebase Test Lab slack if you have questions. I think it should be a one line change to the build.gradle.kts file.

ok great, will reach out to that channel with any questions!

Hi, thanks for opening an issue on the Flank repo. The Kotlin rewrite is now available for testing and feedback. This replaces the Java version of Flank.

https://github.com/TestArmada/flank/releases/tag/flank_snapshot

Join us in the#flank channel on the Firebase slack to chat. If this is still an issue in the new release, comment and let me know.

https://firebase.community/


Refactoring of helper methods, ensuing PMD changes

Co-authored-by: Mitch Hardee<EMAIL_ADDRESS>Co-authored-by: Matt Taylor<EMAIL_ADDRESS>

I've made the requested changes and then adjusted the naming of the helper functions in response to some verbal discussion. Also reduced duplication of the other pair of (largely redundant) helper functions, wrapping one with the other.

Maybe @NihilistOwl to check out these additional changes in Byron's stead


Update  orbit components 0.1.0

Update orbit components to version 0.1.0

@MagdalenaAlmanova this update affects almost the whole application, everything should look and work as previously.

I think that everything is ok.


Added component restriction based on allowed countries

I use the Clean Checkout module in a project. For that project I've received some feedback that it would be nice if the autocomplete would only suggest addresses for countries that are allowed. I wondered if that was possible and after some research it seemed quite easy.
I've added a component restriction for country to the autocomplete. The values are based on the options of the country select in the form.
Please let me know if I need to change or add anything.

Awesome, looks good. Thanks for the contribution :)


How about offset prop?

Hi, and thanks for this nice visibility tracker component!
I'm using this for lazy loading data (images at the moment) from API but there's one pitfall: API call is firing only just when you scroll down to the img-element and you will see image loader :)
So it would be nice if you could add offset to TrackVisibility-component, like:
<TrackVisibility offset={1000}><Image {...otherProps} id={imageId} /></TrackVisibility>

In Image-component I have logic like (this is simplified):
componentDidMount() {
        const {id, isVisible} = this.props;
        if(isVisible){
            fetchImage(id);
        }
    },

So then in node_modules/react-on-screen/lib/TrackVisibility.js:
const propTypes = {
  once: PropTypes.bool,
  throttleInterval(props, propName, component) {
    const currentProp = props[propName];
    if (!Number.isInteger(currentProp) || currentProp < 0) {
      return new Error(`The ${propName} prop you provided to ${component} is not a valid integer >= 0.`);
    }
  },
  children: PropTypes.oneOfType([
    PropTypes.element,
    PropTypes.arrayOf(PropTypes.element)
  ]),
  style: PropTypes.object,
  className: PropTypes.string,
  offset: PropTypes.number,
};

const defaultProps = {
  once: false,
  throttleInterval: 150,
  style: null,
  className: null,
  offset: 0
};

-------------

isComponentVisible() {
    const rect = this.nodeRef.getBoundingClientRect();
    const html = document.documentElement;
    const offset = this.props.offset;
    if (
      rect.top >= 0 &&
      rect.left >= 0 &&
      rect.bottom <= (window.innerHeight + offset || html.clientHeight + offset) &&
      rect.right <= (window.innerWidth + offset || html.clientWidth + offset)
    ) {
      this.props.once && this.removeListener();
      !this.state.isVisible && this.setState({ isVisible: true });
    } else {
      this.state.isVisible && this.setState({ isVisible: false });
    }
  }

This way it would be possible to load the data from API before user scrolls down to the element. What do you think about the idea?

Hello,
You're welcome ! Being able to set the offset make sense in your case. This can probably be used for others things.
Using the component for lazy loading is definitely a good idea. I don't know why I didn't think about that use case 😁.
I must add a sample with lazy loading. I can plan a new release today. Maybe you would like to work on it ?

Yeah, nice! Do you wish that I make PR for this?

Of course, lets do this 😄


Screenshot of plotly charts

I am looking to create a screenshot of a page which contains a chart created with plotly.js.
I was wondering if this library is capable of generating such screenshots. I did a quick test and I could get a screenshot of the chart, but not of the legend for example.
If anyone has experience with such a use case, I would appreciate any feedback.
Used:
Ubuntu 18.04
Chromium Version 76.0.3809.87 OR Firefox 68.0.1
plotly.js 1.47.4
html2canvas 1.0.0-rc.3

Could u provide a test code for this case ? @apiljic

For example, would a screenshot of this map/legend be possible?
https://codepen.io/plotly/pen/EVrRxR

@apiljic
I've been spending more than 2 weeks trying to make the legends working by using html2canvas + plotly.js but no luck. Finally I give up and use highcharts instead of plotly js.
Googled it for sometime and people suspect that the svg formation for plotly (those g-tag-wrapped linearGradients) not recognised by html2canvas and so cannot be displayed.

@ninjago2015
I found out that with earlier versions of plotly screenshots would be fine. The last version that works is 1.39.4. From 1.40.0 it doesn't anymore.
The workaround for me was not to use a dynamic legend, but a fixed range. I then make my own legend.png and load the legend in var layout. I don't know any other way.
var layout = {
  images: [
    {
      x: 0.2,
      y: 1,
      sizex: 1,
      sizey: 1,
      source: "url-to-image",
      xanchor: "left",
      xref: "paper",
      yanchor: "top",
      yref: "paper",
      layer: "below"
    }
  ],
};


stdlib: use the libc shims for the test harness

Go through the libc shims for the read/write/close functions to abstract out the
differences between Windows and Unix platforms.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @moiseev @gparker42 @jakepetroules

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 9d147447d23ab8482ecf1252958c568284752844

Build failed
Swift Test OS X Platform
Git Sha - 9d147447d23ab8482ecf1252958c568284752844

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 9d147447d23ab8482ecf1252958c568284752844

Build failed
Swift Test Linux Platform
Git Sha - 9d147447d23ab8482ecf1252958c568284752844

@jrose-apple - its okay to use SwiftShims more?

I'd recommend against it? It's only meant for bringing up the stdlib, because everyone else can import the proper platform headers. It's not supposed to be for papering over differences between platforms.

I guess we can deal with the warnings later.


actions: bump node

Applied mkpr on .github/workflows/*.yml
sed s/18\.6\.0/18.7.0/

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

npm package (@latest dist-tag)
v1.10.153
GitHub release

Your semantic-release bot :package::rocket:


[Bug] End Ongoing Call if User Force Quits

Purpose
The goal of this PR is to end the ongoing call if user closes the app unexpectedly.
Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

launch a call on your side
run the demo app in simulator and join the call
swipe from the bottom to go to app switch view
swipe up to close demo app
check to see if demo app participant has been removed from the app

What to Check

when demo app closes, its caller should be removed from the call

Other Information

the end call has a delay of up to few seconds (may takes few seconds for participant to be removed). This is consistent with ending the call explicitly using the end call button as well as Teams' iOS app.
if app got terminated from Xcode, then lifecycle event won't be sent to our app to initiate end call request. Participant would still remain in the call

closing this PR since Amy has taken this over and she had some pending discussions on further refactoring calling states


isShown, showOn, and hideOn do not work together

If I use showOn='click' and hideOn='click', then passing isShown=false will not force it to close, however, if I set showOn='none' and hideOn='none' and try to use isShown it does toggle visibility, but then it is rendered in the wrong location, not tied to its parent.

@rwwagner90 are you still experiencing this issue? I've patched up the tests and all looks well to me both there and in the dummy app.

This should be fixed by #48. Feel free to re-open if you're still experiencing the issue.


Fixing schema base64 script

Signed-off-by: jonahjon<EMAIL_ADDRESS>Issue #, if available:
Description of changes:
So the schema is on one line.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


Healthcheck problem

My application consists of two parts: web (php) and scheduler (bash script). Health сheck of the second part causes an error because there is no interface, ability to give code 200. Is it possible to more flexibly adjust healthcheck to avoid similar problems?
2015-08-28T11:55:20UTC deis[api]: failed to connect to container ('Key not found : /deis/services/colibri-api/colibri-api_v11.scheduler.1'); trying again in 1.0 seconds
2015-08-28T11:55:21UTC deis[api]: failed to connect to container ('Key not found : /deis/services/colibri-api/colibri-api_v11.scheduler.1'); trying again in 5.0 seconds
2015-08-28T11:55:26UTC deis[api]: failed to connect to container ('Key not found : /deis/services/colibri-api/colibri-api_v11.scheduler.1'); trying again in 10.0 seconds
2015-08-28T11:55:36UTC deis[api]: failed to connect to container ('Key not found : /deis/services/colibri-api/colibri-api_v11.scheduler.1')
2015-08-28T11:55:41UTC deis[api]: aborting, app containers failed to respond to health check

Deis 1.9.1, config:
HEALTHCHECK_URL="/1.0/service/healthcheck"
HEALTHCHECK_TIMEOUT=30
HEALTHCHECK_INITIAL_DELAY=10
Procfile example:
web: vendor/bin/heroku-php-nginx -C nginx.inc.conf web/
scheduler: while true; do ./yii schedule/run --verbose=0; sleep 3600; done

Yes. The health check should only apply to web and cmd process types.

+1

+1

Even running web server (which returns 200) in worker process does not work for me.

@vmakhaev would you mind checking out #4383? That should fix your issue :)

Yes, making healthcheck work only for web processes should solve issue.
I have conceptual question. Could it be useful to have same health check for background processes (running web server inside them)? What are the best practices/recommendations in monitoring background processes?

no, I don't think it will be useful. Deis requires that your app only listens on one port due to some limitations in v1 so we can only monitor the process listening on that container's port.

Sorry, as background process, I mean process that run in separate container, which is different from web container. Which is configurable with Procfile.
In our case we have two roles in Procfile: 'web' and 'worker'. Web has http server, worker responsible for executing tasks from query. There is no problem to start http server in worker and listen for health check requests same as we can do it in web role, which could be helpful if something bad happened with worker. And in this case deis can restart it. Does it make sense?

I think it should be done in some other form. non-web process types are assumed that they will not have a web service running inside those containers, which is how Heroku explains the process type definitions. Introducing some form of supervisor agent for your worker processes to restart them if they become flappy may be best, I think.

Could we have such supervisor agent as part of Deis, please?

@vmakhaev what you're looking for is probably more closely related to #3699 and #4110

@krancour thanks


Start gives (SQLSTATE 42601)

Hi there.  Thanks for putting this code out here, it's been super helpful in understanding how the logical replication works.  But a couple problems/questions:

I found a problem with your example code.  The last couple lines in the example look like this:
replication := pgoutput.LogicalReplication{
Subscription:  "sub2",
Publication:   "pub2",
WaitTimeout:   time.Second * 10,
StatusTimeout: time.Second * 10,
Handler:       handler,
}
if err := replication.Start(ctx, conn); err != nil {
log.Fatal(err)
}
 I think it should be written this way instead:

replication := pgoutput.NewSubscription("test_subscription", "test_provider")
if err := replication.Start(ctx, conn, handler); err != nil {
log.Fatal(err)
}

The other thing is that when I make that fix and try to call Start, I get this:

2018/10/29 15:20:12 failed to start replication: ERROR: syntax error (SQLSTATE 42601)
I think that is because calling START REPLICATION on a slot with the pgoutput decoder type requires the pglogical extension to be present and for that publisher node to be created.  It looks like pgoutput as a decoder is really only intended to be used if you're using the pglogical replication and not as a standalone decoder.  I'm running on Postgres version 10.. maybe this works on an older version of postgres?
If I'm misunderstanding something I'd sure appreciate any clarification you could provide.
Thanks,
Greig Wise

I've encountered this problem as well, seems that double parentheses breaks lexer.
It could be fixed by replacing sub.go:33:
return fmt.Sprintf(`("proto_version" '%s', "publication_names" '%s')`, version, publication)

with
return fmt.Sprintf(`"proto_version" '%s', "publication_names" '%s'`, version, publication)


Documentation  update : "behind apache" also edit "Ajax-Location" header

In case apache already terminates https and gitblit only receives http.  Using the "New Ticket" function will respond with an "http://..." in the "Ajax-Location" header. So i added the needed "Header edit ...." line to the documentation.

Good catch!


feat: link to the stylesheet

Add a link in each of the HTML files to our index.css.

Hi Micha, I would like to work on this issue

Thanks @othukeodoko! I've assigned it to you.


#757 Added spacing between twisty panel and control panel

Fixes #757

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Wouldn't we also see issues with padding with other panels as well?  For example action, panels, etc...

Added CSS for properties-custom-panel, properties-action-panel , properties-twisty-panel followed by properties-control-panel.
For other types of panels -

properties-column-panel is made up of  properties-control-panel classes. So there's padding-bottom 40px coming from properties-control-panel classes
properties-sub-tab-container class contains bx--tab-content which has padding-bottom: 1rem . No need to add additional padding
Every properties-summary-panel class also has properties-control-panel , So there's padding-bottom 40px coming from properties-control-panel class
Non empty properties-text-panel class has padding-bottom: $spacing-05; . When text panel is empty, no need to add padding. No change needed for this.


Help with Polyline/LwPolyline

I'm having issues when trying to create a polyline and assigning the entity. common properties such as layer and color.
When I create a polyline, all the points are correctly inserted, but the entity is created on layer 0
the same functions work fine with circles and lines
Can anyone help?
// This works
for circle in self.circledata.iter().enumerate() {
    let mut entity = dxfEntity::new(
        dxfCircleType(
            dxfCircle::new(
                dxfPoint::new(
                    circle.x,
                    -circle.y,
                    0.0),
                    circle.diameter / 2.0
                )
            )
        );
    entity.common.layer = format!("{}{:02}{}", layer_prefix, circle.layer_id, layer_suffix);
    entity.common.color = dxfColor::from_index(layername_to_dxfcolor(probe.1.layer.as_str()));
    self.dxf.add_entity(entity);
}

// but this creates the entities on layer 0 with no color
for outline in &self.outline_data {
    let mut polyline = dxfPolyline::default();

    for vertex in outline.coordinates.iter() {
        polyline.add_vertex(&mut self.dxf, dxfVertex::new(dxfPoint::new(vertex.x, -vertex.y, 0.0)));
    }
    let mut entity = dxfEntity::new(dxfPolylineType(polyline));
    entity.common.layer = "Outlines".to_string();
    entity.common.color = dxfColor::from_index(2);
    self.dxf.add_entity(entity);
}

Ok, after digging in to this issue, I found that for LwPolyLines to work correctly, the drawing needs the AcadVersion enum to be explicitly set.
self.dxf = dxfDrawing::new();
self.dxf.header.version = AcadVersion::R2018;


[BUG] no indication that commands are running when no terminal is open

Steps to Reproduce

close all terminal windows
run a command (eg. Poetry: Update all packages)

Expected behaviour
either a terminal opens with the poetry update command being run, or some visual indication that there's a task running
Actual behaviour
nothing appears to happen. however when opening a new terminal manually, the terminal created by the task will be visible
Additional Context
No response

Thanks for reporting this, VS Code probably changed this behaviour at some point and I didn't notice it. I've put up a PR to fix this and will be included in the next release.


Add Grafana integration example

Which problem is this PR solving?

The idea came from https://github.com/jaegertracing/jaeger/issues/2310 to provide a bundled Grafana integration example

Short description of the changes

This is a rework of one of the early official Grafana demos and the hotrod compose, having Grafana, Loki and Jaeger packed together to provide easy correlation with metrics, logs and traces in one application.
If the effort is welcomed, I can add further details to the README regarding the infrastructure.

@yurishkuro All the suggestions are addressed, thank you.
Is there anything else needed?


feat: update create text

The current text can be a bit confusing, so I think we should change it to this new text to make it more obvious to enter your Discord webhook URL.

Looks good to me! Thanks 😊


Add json tags to IPAM Block keys and Block Affinity keys

Description
Adds json tags to IPAM block keys, block affinity keys, handle keys, and handles. This is intended to help simplify the serialization of IPAM objects for datastore migration.
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Closing since this is no longer needed


Java 10 fix for HeapWalker.stringValue()

I think it works. Compatible with heap dumps from any Java version.

I have enabled few autotest in build and make them not crash on Java 9.
I have also added few test case for String parsing and it is falling on non-Latin1 strings.
Could you make UTF16 encoded strings work too?
Tests are in master.

I believe it works for UTF16 strings also.

That's embarrassing. You're right, I didn't test that.

Now it works :)

Merged


Crokto

Crokto's Submission for Business Card Event 2020
Gameboy controller

[X] By checking this box I agree that this board was made within the April 4th - May 31st time and if it was not I agree to forfeit any prize I may or may not win.

Are there no images? Didn't see anyone in the README.md file

alright finally got around to switching it to the real submission lol. i think everything should be in there now

One more thing i need you to remove images and host them externally (Imgur)

should be done!


Type of holidays in XML output

Hi,
would this be possible to get in the XML output also the type (Public, Bank, School, Optional...)
I am currently trying to build the country provider for Hong Kong and this would be really helpful since some public holidays are non-statutory (thus should be flagged as "Optional")
Thanks!
laloune

Yes i must change the api, currently i am busy maybe i found time the next weeks

Can you check this new version?
https://beta.date.nager.at/swagger/index.html

The new api is available


Use pretty-progress for tensor loading

Wainting for tensors to load can sometime take a lot of time, especially when quantizing/converting the model. This gives the user some feedback to show that something is actually happening.

Thank you for your contribution.


Fix API docs links

The generation of heading IDs changed. This fixes the broken links.

@Josmithr : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@hickeys
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Game sends me back to Beginning of the Level

So basically, Im creating an Auto-Scroller in a desert Level right ? When I add a Subarea, and exit that Subarea, the game spawns me back to the beginning, is there a way, the level continues the Auto-Scroll from where my Warp_Node is located ?

The Black Outlines are the Warp_Node, and Warp_Block are located, the red outline is where the Level spawns me too.

I think I did not added anything to make the autoscroller snap into a warp position, I did for the checkpoints tho

Ok, no problem, thank you for the quick reply tho ;) So basically, when you make an Auto-Scroller, I can't make any subareas that go back to that warp_node. Again, thank you tho :)

I might have a solution, but I do need to test it out first

Silly me, I already had a pair of variables set to set up the position of the autoscroller.
In the obj_warp_node object, there is a pair of variables called scroll_x and scroll_y
Set up the coordinates of where you want the autoscroller to be when accessing the new room


A few questions when run multi_agent.py with cpu and gpu?

Hi:
I tested with Ubuntu 14.04, Tensorflow v1.4.0, TFLearn v0.3.2 and Selenium v2.39.0,The data is your sample training/testing data(train_sim_traces and test_sim_traces).
I  installed pensieve and run testing environmet: python rl_no_training.py , it's ok whatever run at cpu or gpu.
    But there are some questions when I'm running training: python multi_agent.py
    Run at GPU error info:
            1. keep_dims is deprecated, use keepdims instead
                WARNING:tensorflow:Error encountered when serializing data_augmentation.
                        Type is unsupported, or the types of the items don't match field type in CollectionDef.
                         'NoneType' object has no attribute 'name'
            2.  W tensorflow/core/grappler/utils.cc:48] Node actor/FullyConnected/MatMul_fused is not in the graph.
                  Process Process-1:
                  Traceback (most recent call last):
                  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
                  self.run()
                 File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
                    self._target(*self._args, **self._kwargs)
                 File "multi_agent.py", line 143, in central_agent
                   s_batch=np.stack(s_batch, axis=0),
                File "/usr/local/lib/python2.7/dist-packages/numpy/core/shape_base.py", line 350, in stack
                 raise ValueError('need at least one array to stack')
                 ValueError: need at least one array to stack
    Run at CPU error info:
           1.Instructions for updating:
              Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior.
            WARNING:tensorflow:Error encountered when serializing data_augmentation.
             Type is unsupported, or the types of the items don't match field type in CollectionDef.
             'NoneType' object has no attribute 'name'

  　Am I calling the wrong script or should be fix the environment? What do I need to do to fix it next?

Hope to get your reply , thanks!

Af a first glance, it looks like the environment is not set up correctly. Just for reproducing the results, we recommend using the same environment we used for developing Pensieve, i.e., Ubuntu 16.04, Tensorflow v1.1.0, TFLearn v0.3.1 and Selenium v2.39.0. Tensorflow is updated very rapidly (and wildly) and might result in unwanted artifacts.

@hongzimao
　　Thanks for your reply .
　　I set environment as :Ubuntu 16.04, Tensorflow v1.1.0, TFLearn v0.3.1 and Selenium v2.39.0. But it has not been solved and there are same problem as before,
python muti_agent.py error info:
　　　　WARNING:tensorflow:Error encountered when serializing data_augmentation.
　　　　Type is unsupported, or the types of the items don't match field type in CollectionDef.
　　　　'NoneType' object has no attribute 'name'
　　　　WARNING:tensorflow:Error encountered when serializing data_preprocessing.
　　　　Type is unsupported, or the types of the items don't match field type in CollectionDef.
　　　　'NoneType' object has no attribute 'name'
　　　　Process Process-1:
　　　　Traceback (most recent call last):
　　　　File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
　　　　　　self.run()
　　　　File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
　　　　　　self._target(*self._args, **self._kwargs)
　　　　File "multi_agent.py", line 143, in central_agent
　　　　　　s_batch=np.stack(s_batch, axis=0),
　　　　File "/usr/local/lib/python2.7/dist-packages/numpy/core/shape_base.py", line 350, in stack
　　　　　　raise ValueError('need at least one array to stack')
　　　　　　ValueError: need at least one array to stack
I think these questions are not related to  environment, because I can run test/rl_no_training.py , and it's ok 。
　　rl_no_training.py log info:
　　　　2017-11-17 16:49:19.012283: W tensorflow/core/platform/cpu_feature_guard.cc:45] The    TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine   and could speed up CPU computations.
　　　　Model restored.
　　　　video count 0
　　　　video count 1
　　　　....
　　　　video count 126
Is it caused by other problems? how should I solve it?

ValueError: need at least one array to stack suggests in s_batch=np.stack(s_batch, axis=0) s_batch is empty. I think the data loading might have some problem, which results in this sudden termination in the training episode.

I used your test data (train_sim_traces and test_sim_traces) , what shoud I do if the data loading have problem?

I think you might need to put traces in the right folder. As said in sim/README.md---put training data in sim/cooked_traces and testing data in sim/cooked_test_traces (need to create folders).

I have been put training data in sim/cooked_traces and testing data in sim/cooked_test_traces,and follow and operate README.md's requirements  all the time.
Is it error "WARNING:tensorflow:Error encountered when serializing data_augmentation.Type is unsupported, or the types of the items don't match field type in CollectionDef.'NoneType' object has no attribute 'name'" cause this problem?

I think that was just a WARNING. The error message is ValueError: need at least one array to stack, which suggests s_batch in s_batch=np.stack(s_batch, axis=0) is empty.

Get test data:
I downloaded test_sim_traces and train_sim_traces data from https://www.dropbox.com/sh/ss0zs1lc4cklu3u/AAB-8WC3cHD4PTtYT0E4M19Ja?dl=0, put training data in sim/cooked_traces and testing data in sim/cooked_test_traces,
cp test_sim_traces/* sim/cooked_test_traces/
cp train_sim_traces/* sim/cooked_traces
what should I  try to do to solve this problem？

Did you do python get_video_sizes as in sim/README.md?

yes
my installing and running steps:
git clone https://github.com/hongzimao/pensieve/issues/12
python setup.py (success ,and I try to install use shell from setup.py . All is ok and enviroment is Ubuntu 16.04, Tensorflow v1.1.0, TFLearn v0.3.1 and Selenium v2.39.0)
download data (cp test_sim_traces/* sim/cooked_test_traces/ ; cp train_sim_traces/* sim/cooked_traces)
cd sim
python get_video_sizes.py(success)
python multi_agent.py(with above problem )

Interesting, I've never encountered this problem before. You said you are able to load the pretrained model and run rl_no_training.py; this means tensorflow setup is fine. Debugging this needs a little bit of understanding of the code. I would start with understanding how s_batch (state observations) is created and filled in each worker, and try to dig out why it is empty by the time worker reports it to the master.

Surprisingly, It's working with cpu now when I changed NUM_AGENTS.
But there are still some errors  when it's running at gpu.The error means "out of memory" and "Failed to create session" .  Should I reduce the value of NUM_AGENTS in multi_agent.py order to fix  "out of memory" error? if not , what should I do?
Is the result file of trainning performance in result/log_central or not?which value is trainning performance in result/log_central? I do not understand this issue.
Thanks for help.

There are train model in result/, and I want to run real_exp/run_exp.py by using local machine to get result ,
I copy sim/result/*   rl_server/results/
rl_server/rl_server_no_training.py set NN_MODEL = '../rl_server/results/nn_model_ep_10200.ckpt'
what should I modify url in run_video.py to the server address(which is local machine)? I think it neednot modify. it is localhost. But chrome_retry_log message is "HTTP Error 503: Service Unavailable". what means  server address url ? could you give me a example?
Thanks for your help.

So the problem is the GPU memory allocation of your setting. I believe our code didn't use GPUhttps://github.com/hongzimao/pensieve/blob/master/sim/multi_agent.py#L5.
I would adjust the memory limit for each worker thread, as opposed to limiting the number of workers. The performance may depend on the degree of parallelism. Please refer to Pensieve paper section 4.2 and reference [30] for more details about this point.

I occur the same problem of GPU "out of memory",I wonder how you solve this problem last. @lmnbsyq @

I occur the same problem like

WARNING:tensorflow:Error encountered when serializing data_preprocessing.
　　　　Type is unsupported, or the types of the items don't match field type in CollectionDef.
　　　　'NoneType' object has no attribute 'name'

I wonder whether you have solve this problem. thank you .


Folds and max value

Replace explicit calls to Iterator::fold with Iterator::min
use ::MAX associated constants instead of ::max_value associated
function.
Use cmp instead of partial_cmp since we're comparing unsigned
integers which are total.

Use ::MAX and ::MIN instead of ::max_value() and ::min_value() for integer primitives

latest nightly broke the doc build. fixed in https://github.com/artichoke/artichoke/pull/871


Upgrade to Rails 5.2 - DO NOT MERGE YET

Fixes #2449 .
Changes proposed in this PR:
-Upgraded the codebase from 4.2 to 5.2
@xsrust, @raycarrick-ed and @martaribeiro please have a look at these diffs when you can to familiarize yourself with the changes.
We should hold off own merging though until all of the current sprint PRs are merged.
Don't be overwhelmed by the nor of changed files! The majority are just adding the [4.2] version identifier to all of our old DB migrations
General Upgrade:

Moved the Github specific MD files into the /.github dir
Updated Gemfile, unpegged gems and ran bundle update and yarn upgrade
Ran app:update and then also updated the binstub
Added ActionCable and ActiiveJob directories and base files

Config:

Consolidated Roadmap specific config from branding.yml and application.rb into the new config/initializers/dmproadmap.rb file. I just realized that this may have impacts on your multi-tenant config @xsrust, so please review and let me know. We can always revert back to the branding.yml if its too onerous
Updated code to work with new DMPRoadmap.rb initializer
Replaced all old Rails.configuration.branding[:application][:name] calls to use the new ApplicationService.application_name that was added during maDMP work.
Moved a few hard-coded things to the new dmproadmap.rb initializer
Added 2 new mailer layout files

Models:

Added new ApplicationRecord file and made all models inherit from it
Added optional: true to several belongs_to relationships. Rails5 makes this relationship required by default now.
Replaced a few calls to uniq on an ActiveRecord results with distinct
Updated all old DB migrations by adding the [4.2] version identifier
Regenerated the db/schema.rb

Controllers:

replaced all [before/after]_filter with [before/after]_action in controllers
updated some controllers that were treating params as a hash instead for the new ActionController::Parameters object
converted Paginable concern's params into strong params
replaced all of the now defunct redirect_to :back with redirect_back
Fixed a bug that appeared in RegistrationsController where :language was not being processed

Services:

ported 3 Locale related classes in /lib over to a single app/services/locale_service.rb
updated a few invocations of ::HashWithIndifferentAccess.new to ActiveSupport::HashWithIndifferentAccess.new

Tests:

Updated /spec tests. All but 2 are passing
Updated code as necessary to get tests passing and rails s to start up

Closing this one now that we're all in the loop on what's been going on with Rails5.


Warning on upgrade to Android Studio 3.3 and Gradle 4.10.1

I got the following warning after updating Android Studio to 3.3 and the gradle to the latest version. Is there a way to debug/fix this warning?
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
Affected Modules: app

Same here after adding :
 implementation "com.google.ar.sceneform:core:1.6.0"
 implementation "com.google.ar.sceneform.ux:sceneform-ux:1.6.0"

in dependencies and :
apply plugin: 'com.google.ar.sceneform.plugin'

sceneform.asset('sampledata/models/andy.obj', // Source Asset Path
        'default', // Material Path
        'sampledata/models/andy.sfa',// .sfa Output Path
        'src/main/res/raw/andy')// .sfb Output Path

Do we have any solution for the same? I am facing this issue.

Our understanding is that for the moment the getMergeAssets warning is benign at this time and your builds should complete successfully regardless of the warning.
We are working on correcting the warning in an upcoming release.

Roll back the version of gradle


How to refund a transaction with status "submitted for settlement".

General information

SDK/Library version: the lastest
Environment: sandbox
Language, language version, and OS: java8

Issue description
after a customer make an order, and he refund it partially and immediately. how can I refund a transaction with status "submitted for settlement". refund only works for transactions that with status"settled"and "settling". I try to clone a transaction and void the old one, it give error that Transaction cannot be cloned if payment method stored in vault.
Can anyone give me an idea that how to refund it?

Hi @chenxing-luckysky, in this case you'll need to void the transaction rather that refund it. You may want to take a look at our support article on refunds and voids.


Question on use

Hello,
Opening an issue here since the discussions aren't enabled on this repo.
I would like to use the Quantity object to handle a variable that represents milliseconds. I want to keep the number in ms units, since I am writing test code that passed on the value to some underlying Java that expects units of ms. Currently, quaniphy is showing me "kilo-milli-seconds", instead of the preferable "seconds. "
>>> t1 = Quantity(2500, "ms")
>>> print(t1)
2.5 kms

What I'd like to know is if I can tell quantiphy to normalize those units when printing, but still keep the internal number represented as milliseconds. I consulted the docs but didn't immediately see how to handle this situation.

The basic strategy with QuantiPhy is always to convert quantities to their base units and scale on the way in or out as needed.  That can simplify the process of writing code involving quantities because it eliminates the need to track which scale factors are used for all the quantities you use.  For example, you need not remember that one time value is given in ms and another in μs.  It is always s.
There are three basic tasks when unit quantities: converting values to quantities, using the value of quantities, and converting values from quantities.
So, assume that

you are given a value in ms that does not have the units attached,
you want use the value in a formula that assumes values in ms.
you want to output the with the units and the proper scale factor.

Then if you save the value as seconds, as is traditional with QuantiPhy, you would do the following:
>>> from quantiphy import Quantity

>>> given_value_by_user = 0.1
>>> period = Quantity(given_value_by_user, 's', scale=0.001)
>>> period_in_ms = 1000*period
>>> print(f"period in ms: {period_in_ms}\nperiod: {period}")
period in ms: 0.1
period: 100 us

If instead, you really want to keep the units in ms, you can do the following:
>>> given_value_by_user = 0.1
>>> period = Quantity(given_value_by_user, 'ms')
>>> period_in_ms = float(period)
>>> print(f"period in ms: {period_in_ms}\nperiod: {period.scale((0.001, 's'))}")
period in ms: 0.1
period: 100 us

If you want to allow the user to specify the value in a string, and allow them to give units if they wish, otherwise assume ms, then you can do the following
>>> from quantiphy import Quantity, UnitConversion

>>> s_to_ms = UnitConversion('s', 'ms', 0.001)
>>> print(s_to_ms)
s ← 0.001*ms

>>> given_value_by_user = '100 us'
>>> period = Quantity(given_value_by_user, scale='ms')
>>> period_in_ms = float(period)
>>> print(f"period in ms: {period_in_ms}\nperiod: {period.scale((0.001, 's'))}")
period in ms: 0.1
period: 100 us

>>> given_value_by_user = '0.1'
>>> period = Quantity(given_value_by_user, 'ms', scale='ms')
>>> period_in_ms = float(period)
>>> print(f"period in ms: {period_in_ms}\nperiod: {period.scale((0.001, 's'))}")
period in ms: 0.1
period: 100 us

In each of these cases you are following the same basic playbook: convert to the internal units when creating the quantity, and convert from the internal units when using the value. In the first example the internal units are seconds, and the other examples the internal units are milliseconds.
When you are holding the value internally in milliseconds you never want to convert the value directly to a string unless you suppress the use of scale factors by setting output_sf=False or you use a format that does not output scale factors, such as fixed.  Otherwise you could end up with 1 kms.  Instead, you create another quantity, this time in terms of seconds, and you print its value.

Thanks for pointing out the discussions feature.  I was unaware of it.

Thanks for the detailed explanation! I'll take this info and digest it.


Failed to build nuget packages

I was following the guide here to build Nuget packages for the toolkit that I can use to debug an Exception coming from the toolkit. When I run the createnugetpackages script it fails with an error:
RunUnityTask : Failed to execute Unity Task 'MSBuildGeneration'
To reproduce
Steps to reproduce the behavior:

Get the source tagged with v.2.3.0
run
.\createnugetpackages.ps1 -UnityDirectory "C:\Program Files\Unity\Hub\Editor\2019.2.21f1\Editor" -Version 2.3.2
Notice the error in the output
Also the log
Unity.MSBuildGeneration.2.3.2.log

has the error:
InvalidOperationException: Can't find an asmdef for project: Unity.ugui
Expected behavior
No error and nuget packages created.
Screenshots
If applicable, add screenshots to help explain your problem.
Your setup (please complete the following information)

Unity Version [2019.2.21f1]
MRTK Version [v2.3.0]

Target platform (please complete the following information)

HoloLens 2

Additional context
Add any other context about the problem here.

@CDiaz-MS @davidkline-ms I think you two most recently built NuGet packages locally for testing. Have either of you seen something like this?

I haven't seen something like this before, but I will test the createnugetpackages script on a recent project and see if there are any issues.

I was able to repro following the steps above. @davidkline-ms have you seen this before?

experiencing the same issue on 2019.4.9f1 with mrtk releases/2.4.1 branch.
Any updates on this topic?

I believe this should be fixed due to a fixed quirk on the Unity side plus some changes @MaxWang-MS has made to our project generation steps. We've been successfully using MSBuildGeneration with Unity 2019.4


Introduce batch send capabilities

Sending multiple metrics in batch can reduce the number of packets sent to statsd.
The batch size is fully configurable so the default plugin functionality remains intact.

Any update on that?

Are there any plans to merge this?


[#noissue] Fix executor config

fix executor config in collector's applicationContext

Codecov Report

Merging #4405 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4405      +/-   ##
==========================================
+ Coverage   40.92%   40.93%   +<.01%
==========================================
  Files        2462     2462
  Lines       75435    75435
  Branches    10211    10211
==========================================
+ Hits        30872    30878       +6
+ Misses      41731    41727       -4
+ Partials     2832     2830       -2

Impacted Files
Coverage Δ

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

...vercorp/pinpoint/web/vo/ApplicationAgentsList.java
72.3% <0%> (-3.08%)
:arrow_down:

...ofiler/sender/StandbySpanStreamDataSendWorker.java
80.59% <0%> (-2.99%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
70.19% <0%> (-1.93%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.5% <0%> (-1.67%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.86% <0%> (-0.7%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
71.65% <0%> (+1.27%)
:arrow_up:

...tor/metric/datasource/DefaultDataSourceMetric.java
78.78% <0%> (+3.03%)
:arrow_up:

...rp/pinpoint/rpc/server/PinpointServerAcceptor.java
89.72% <0%> (+4.79%)
:arrow_up:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
65.71% <0%> (+8.57%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


Assets not being loaded in production

A bit at loss here, stuck for few hours trying all sorts of things, suggestions?
I include my images like this:
<img id="logo" src="static/logo.png" alt="electron-vue" style="width: 200px"> <svg>   <use xlink:href="static/light.svg#plus"></use> </svg>
This is my structure: https://i.imgur.com/jjJNREn.png
In dev all works fine, but if I build app using 'npm run build' the images are not loaded.
I am running /build/win-unpacked/app-name.exe. But if I check /build/win-unpacked/resources/app.asar with 'asar list app.asar' it does indeed contain those files: in '\dist\electron\static\light.svg
\dist\electron\static\logo.png' relative to the asar archive.

Tried to replicate from base repository and failed, so it must be something specific on my end.


Information: Characters per line

For every subtitle block the numbers of characters for each line are shown. The base of the calculation is the same that leads to the preconfigured valued for the maximum number of characters per line.

The requested functionality is implemented. UI will be implemented at a later stage, therefore the issue is kept open.

@LauraEhlis I think also the UI part of this issue has been met. Therefore I will close it. Re-open if something is missing.


MediaImplementation.TakeMediaAsync Exception

Bug
Sometimes on Android when taking a photo I get that excpetion.
Version Number of Plugin: <IP_ADDRESS>-beta
Device Tested On: LENOVO T2-A7-20F
Package: com.rolsped.TruckerApp
Version Code: 27
Version Name: 1.0
Android: 4.4.2
Android Build: T2-A7-20F_S000009_151022_ROW
Manufacturer: Lenovo
Model: Tab2A7-20F
Thread: main-1
Start Date: Wed Oct 26 20:56:22 CEST 2016
Date: Wed Oct 26 21:03:27 CEST 2016
Format: Xamarin
Xamarin caused by: android.runtime.JavaProxyThrowable: System.InvalidOperationException: Only one operation can be active at a time
at Plugin.Media.MediaImplementation.TakeMediaAsync (System.String type, System.String action, Plugin.Media.Abstractions.StoreMediaOptions options) [0x00039] in <35066fbd82df477487a6a1e39050b480>:0
at Plugin.Media.MediaImplementation+d__17.MoveNext () [0x0008a] in <35066fbd82df477487a6a1e39050b480>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in :0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in :0
at trucker_rolsped.Pages.MediaPage+<<-ctor>b__5_2>d.MoveNext () [0x001ce] in <097cdfc3784648edab9e909af0f616aa>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__0 (System.Object state) [0x00000] in :0
at Android.App.SyncContext+c__AnonStorey0.<>m__0 () [0x00000] in <79e6945a2f4a4e2f844e36c860dfb012>:0
at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in <79e6945a2f4a4e2f844e36c860dfb012>:0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <79e6945a2f4a4e2f844e36c860dfb012>:0
at (wrapper dynamic-method) System.Object:93cfcaba-4c78-4a88-a4df-f54a276b6364 (intptr,intptr)
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5341)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
at dalvik.system.NativeStart.main(Native Method)

Seems there are concurrent calls to TakeMediaAsync. have a look at this solution
http://damianblog.com/2016/07/06/only-one-operation-can-be-active-at-at-time/

@sbonello Thanks. My code is from the sample like that. The only difference is that I create a copy of the media stream because xamarin thankfully disposes the stream when loaded with ImageSource.FromStream and I need the stream for upload afterwards to the image preview.
takePhoto.Clicked += async (sender, args) =>
        {
            await CrossMedia.Current.Initialize();

            if (!CrossMedia.Current.IsCameraAvailable || !CrossMedia.Current.IsTakePhotoSupported)
            {
                await DisplayAlert("Media Info", "Keine Kamera verfügbar.", "OK");
                return;
            }

            SelectedMedia = new TruckerAppMediaFile
            {
                Type = MediaType.Photo,
                File = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions
                {
                    PhotoSize = PhotoSize.Medium,
                    CompressionQuality = 92,
                    SaveToAlbum = true,
                    Directory = "TruckerAppPhotos",
                    Name = $"{DateTime.Now}_documenttypeXYZ.jpg"
                })
            };

            if (SelectedMedia?.File == null)
            {
                await DisplayAlert("Media Info", "Es wurde kein Foto erstellt.", "OK");
                return;
            }

            var imageStream = await DependencyService.Get<Interfaces.Media.IMedia>()
                .CopyMediaAsync(SelectedMedia.File.GetStream());
            image.Source = ImageSource.FromStream(() => imageStream);

            SendMedia.IsEnabled = true;
        };

If somehow multiple concurrent click events are generated the exception will be generated.
        var ntcs = new TaskCompletionSource<MediaFile>(id);
        if (Interlocked.CompareExchange(ref this.completionSource, ntcs, null) != null)
            throw new InvalidOperationException("Only one operation can be active at a time");

I would guard against this by adding a boolean check . The function will be async only on the first await
    takePhoto.Clicked += async (sender, args) =>
    {
        if (_loaded)
             return;

       _loaded = true;

        await CrossMedia.Current.Initialize();

        if (!CrossMedia.Current.IsCameraAvailable || !CrossMedia.Current.IsTakePhotoSupported)
        {
            await DisplayAlert("Media Info", "Keine Kamera verfügbar.", "OK");
            return;
        }

        SelectedMedia = new TruckerAppMediaFile
        {
            Type = MediaType.Photo,
            File = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions
            {
                PhotoSize = PhotoSize.Medium,
                CompressionQuality = 92,
                SaveToAlbum = true,
                Directory = "TruckerAppPhotos",
                Name = $"{DateTime.Now}_documenttypeXYZ.jpg"
            })
        };

       _loaded = false;

@sbonello Thank you very much. I will add that. The curious part that it happens when I click the Pick Image button and select the Google Fotos App.

@sbonello I get that petmission exception when I pick a foto and select Google Fotos App:
android.runtime.JavaProxyThrowable: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> Java.Lang.SecurityException: Permission Denial: reading com.google.android.apps.photos.contentprovider.MediaContentProvider uri content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F368/ORIGINAL/NONE/1886983672 from pid=3817, uid=10117 requires the provider be exported, or grantUriPermission()

Will close  this out as it looks like you guys figured it out :) awesome

@jamesmontemagno
Why closed? It is not solved.

It is, you can't call the method twice without having the first finished.

It is not! I dont call the method twice. I only call it once. Anyway I will catch the exception when I pick a foto from Google Fotos and post it here or in a new issue.
I added yesterday the got permission exception. (see above)

@jamesmontemagno On Device LENOVO Tablet Tab2A7-20F Android 4.4 API LEVEL 19 I sometimes get that exception when I pick an image from the latest Google Fotos App:
android.runtime.JavaProxyThrowable: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> Java.Lang.SecurityException: Permission Denial: reading com.google.android.apps.photos.contentprovider.MediaContentProvider uri content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F368/ORIGINAL/NONE/1886983672 from pid=3817, uid=10117 requires the provider be exported, or grantUriPermission()
This is the debug info:
SelectedMedia?.File
{Plugin.Media.Abstractions.MediaFile}
    AlbumPath: "content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Ffil…"
    Path: "/storage/emulated/0/Android/data/com.rolsped.TruckerApp/files/Pictures/temp/IMG_20161027_173717.jpg"
SelectedMedia?.File.Path
"/storage/emulated/0/Android/data/com.rolsped.TruckerApp/files/Pictures/temp/IMG_20161027_173717.jpg"
SelectedMedia?.File.AlbumPath
"content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Ffile%2F366/ORIGINAL/NONE/1706517233"

Yes, this is different then what was reported, so would be a different bug, so I suggest opening a new one and reporting what version of the plugin you are using with the info you put on there.


Added lcs.cpp and equalsubsetsum.cpp

Related Issue

Mention issue for which this pull request is a part of (please mention issue number # )

Proposed Changes

Change 1
Chnage 2

Additional Info

Any additional information or context

Checklist

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

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

Output Screenshots

Screenshot #1
Screenshot #2

Title goes here
Title goes here

Image goes here
Image goes here

@nandanabhishek  please read the Contributing guidelines here
Please create a issue regarding this PR as each of PR is linked with an issue , it will be good for us to verify .
And after creating the issue mention the issue name and number in Related Issue for example it i type #1 then it will take me to issue 1
Also please make one commit at time i.e do not commit more than one cpp file as it will be good for you to create multiple PR's instead of one and good for us to verify your changes.
Thank you for your interest ,
Happy Coding !!


Do not match second slash and dot in DOI

They are the only reserved characters, according to
https://www.doi.org/doi_handbook/2_Numbering.html#2.5
Cf. https://github.com/mediawiki-utilities/python-mwcites/issues/7

Can you add some test cases to demonstrate that this does the right thing (and not some likely wrong things)?

Do you mean in the python-mwcites/datasets/mw_dump_stub.xml file? Maybe, but for now I'll focus on testing a regex that gets good output for me (on it.wiki).

I'd test it in https://github.com/nemobis/python-mwcites/blob/618032d7b649d2910b8252270443bc85fa16029e/mwcites/extractors/tests/test_doi.py

Simple grepping à la pbzip2 -dc itwiki-20170620-pages-articles-multistream.xml.bz2 | grep "10\." | grep -Eo '10\.[[:digit:]]+/[^./[:space:]}?,|]+' shows quite a few DOIs with dots from a couple publishers (like 10.1016/j.bcp.2007.07.045 ), so maybe we should ignore that part.

Let's continue on the issue


Final update for Indonesian list of flagged words

This is another update flagged words list for Indonesian words. Should be the final update.

thanks a lot!


 Keycode not set
if you are using Neovim:
does it happen in Vim: N/A

actual behavior
Open neovim. Edit a file in a git repo.  Notice how the airblade switches from TERMINAL mode back to NORMAL mode (in text), but keeps the terminal mode styling.
For that matter, a seemingly related bug: Open neovim, add an autocommand that does :bd! on TermClose, open a :terminal, close the terminal, and you'll get dropped in a [No name] buffer and the statusline will be stale.
expected behavior
Normal mode styling while in normal mode.

sorry i don't use neovim

I also get same issues, I want airline auto update buffer_line at the top of the nvim, now if I close a nvim's terminal buffer by run exit or ctrl+d in shell, I will see [No name] at the end of buffer_line.

I am closing this. I don't use neovim, but if anybody is going to provide a PR I'll happily merge.


ProjectionPushDown creates invalid Aggregate plans

Describe the bug
ProjectionPushDown creates invalid Aggregate plans where the schema does not match the grouping and aggregate expressions.
To Reproduce
PR coming up with validation to catch this.
Expected behavior
Schema should have one field per grouping and aggregate expression.
Additional context
None

@andygrove Should we close this? Since it over 2 years old and does not have a reproducer?

Thanks for flagging this @eejbyfeldt


google-apputils is obsolete

google-apputils is obsolete and replaced by absl-py, the latter one supports Python 3.
(Curious on how frequently do you update the list of packages?)

Hey thanks for the issue report.
Is it drop in replacement?

Unfortunately no, but it should be relatively easy to migrate to absl-py

i think the way to fix this is to add it to the caniuse override file.


C# not recognized

Issue Type: Bug
When trying to use VSCode on CShapr projects it no longer works, it keeps asking to install the C# extension even if its already installed.
No Autocomplete works.

Having the same issue. Looks like a potential change in naming convention? The prompt searches for an extension with @id:ms-vscode.csharp, while the extension now has a tag of @id:ms-dotnettools.csharp

/duplicate of #92153
You can install previous version for now. See https://github.com/OmniSharp/omnisharp-vscode/issues/3623#issuecomment-595561225 for current workaround


Google driver: add --google-use-internal-ip-only flag

This addresses previously-closed issue #2876, which points out that instances created with the --google-use-internal-ip command-line flag are still assigned an external IP address. The new flag (which implies the presence of --google-use-internal-ip if it isn't specified) will cause the new instance to have no externally-accessible IP address.

@dgageot @jeffmendoza What do you think

+1 @otherjason please update the markdown doc also

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "google-internal-ip-only" git@github.com:otherjason/machine.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

@dgageot How does that look?

Looks good, not sure about the UX

@jeffmendoza For what it's worth, this is essentially identical to a feature already present in the AWS driver.

@otherjason consistency is good =)

LGTM. ping @nathanleclaire

LGTM!  Thanks all


Improve Gleam syntax highlighting

Check for existing issues

[X] Completed

Describe the feature
Hi! I'm not sure where to talk about the subject, so I prefer open an issue. 🙂
Those days, I was trying to see if we can improve the syntax highlighting for Gleam.
Currently, in the syntax highlighting, we got all functions calls highlighted as records access when they're done in a fully qualified way.
import my_package
pub fn main() {
  my_package.function() // <-- On Zed, this is highlighted as record property, and not function.
}

What do you think to modify the Gleam syntax highlighting (i.e. highlights.scm) to highlight every functions used from records with proper functions highlighting? I tried to implement it here to figure out how it can be. (I'm absolutely not sure it's correctly implemented, I mainly wanted to prove myself it was possible.) I also joined two screenshots on how it feels directly in the editor.
I know tree sitter can not know if the field is a function or not (because we can have a constant, so calling it will result in an error), but the LSP could take care of this, and — in my opinion — having a proper function highlighting for fields called as functions will improve readability.
If applicable, add mockups / screenshots to help present your vision of the feature
Function syntax highlighted

Record syntax highlighted

@ghivert

Link is broken, correct link.
To expand a bit, I think the syntax highlighting should help the reader to easily distinguish the context. When you encounter something like function_call() or namespace.function_call(), having them highlighted as function call would help, because that's the information you want to transmit to your reader. Thanks to tree sitter, we can even highlight pieces of code like data |> namespace.function_call correctly. We can sometimes have false positive: when writing data |> struct.field, field will be highlighted as a function call even if it's not a function, but the LSP will trigger a warning. I think it's safe to consider that most of the time, we're spending time to read code, and because of the nature of Gleam, the code will be correct (thanks to the compiler). As such, it would make sense to favour easing of reading.

I updated the link and made it known the text came from you.

Friendly reminder to know if some maintainers can take a look at it. 😄


remove third-party GPL/LGPL license dependencies

Why you need it?
Is your feature request related to a problem? Please describe in details
remove third-party GPL/LGPL license dependencies
How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
Other related information
Add any other context or screenshots about the feature request here.

Can we set those dependencies as "provided" scope?

Can we set those dependencies as "provided" scope?

In the case of ensuring that the program functions normally, priority is given to exclusion. After those are excluded, if the function is affected, we will sort it out and see how to solve it.


MAD mode triggers check Driver attention warning on 2021 Palisade

When MADS is enabled i receive the DAW dash custer warning. If toggled off no error.

fixed. thank you.


Use peg/replace-all over string/replace-all where possible

After reading up on Janet docs, it looks like I misunderstood the difference between the two functions, it seems peg/replace-all can always be used for the same functionality as string/replace-all when the first arg as a string.


On branch jrick/feeestimation crash during IBD

Left over wallet bits.  Can be fixed in next release.

This is probably due to an old wallet in the Paymetheus app data dir which is synced ahead of a new dcrd instance in IBD.

PEBCAK

I think this is still an issue.  Paymetheus appears to break whenever wallet processes a reorg.

For example, I just saw this happen again:

This occurred after both dcrwallet and paymetheus had synchronized (to dcrd and dcrwallet respectively), and after sending a couple transactions.
Will add unit tests for handling reorgs.

This must have been due to the lack of votes on testnet yesterday.  No longer seeing these crashes during wallet reorgs.

Some reorgs still invoke this bug while others don't.  Unsure why.

This might be fixed after some fixes that have already hit wallet (in gRPC server API version 3.0.1).  I'll investigate this more tomorrow.

So there are two issues, the first one, which marco reported, happened when wallet was started with a new (or no) dcrd database and it performed a giant reorg.  #185 is a duplicate of this bug.  The second was a reorg that wallet notified while it was up to date due to bugs in older versions of the gRPC server API, and fixed in version 3.0.1.
I'll close this issue, since the bug I was experiencing is now fixed, and leave #185 open as it describes the original error in more detail.


Adds CreateAPI

Project URL
https://github.com/CreateAPI/CreateAPI
Category
Parsing -> Other Parsing
I almost put this in networking, but decided on the above instead. It's the only result if you search this doc for OpenAPI, so I figure the right folks will probably find it.
Description
I took the description from the CreateAPI README.
Why it should be included to awesome-ios (mandatory)
OpenAPI is now the de facto standard for describing backend networking APIs. CreateAPI parses an OpenAPI document and spits out Swift objects that you can include in your project. It'll even create a separate swift package for you, if you want it to do that. It's an amazing tool.
Checklist

[x] Has 50 GitHub stargazers or more
[x] Only one project/change is in this pull request
[x] Isn't an archived project
[x] Has more than one contributor
[x] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

@mgrider
Thanks for contributing!


Data Analysis (Predict the survive-ability rate of equipment)

Hi Guys,
May I know how do you guys use Python Lifelines to predict equipment survive-ability rate from 100% (At the start) to 0%?
I only manage to get the percentage until the number of days in the excel sheet.
Example: 3121 days - 77%
I would like to see when the equipment survive-ability rate will hit 0% but are unable to find a way to do so.
Thanks in advance!
from lifelines.datasets import load_dataset
from lifelines import KaplanMeierFitter
from numpy.random import exponential
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import csv
import openpyxl
from matplotlib.ticker import PercentFormatter
def load_xxxxData(**kwargs):
return load_dataset('C:\\Users\\jasmi\\OneDrive\\Desktop\\xxxxUpdatedDatasetData.csv', **kwargs)

df = load_Data() # returns a Pandas DataFrame
Command Prompt Result
pd.set_option('display.height', 500)
pd.set_option('display.max_rows', 500)
T = df['T']
E = df['E']
kmf = KaplanMeierFitter()
kmf.fit(T,E,label="Surviability Rate")
print (df.head())
print (kmf.survival_function_)
print (kmf.median_)
kmf.survival_function_
kmf.median_
kmf.plot()
Graph Setting
plt.gca().yaxis.set_major_formatter(PercentFormatter(1.0))
plt.title("CCTV Surviability Rate")
plt.xlabel("No. of Days Before Failure")
plt.ylabel("Surviability Rate (%)")
#plt.axis([0,5000,0,1])
Save data to .csv and figure to .png
d = pd.DataFrame(data=kmf.survival_function_)
d.to_csv('testdata.csv', index=False)
plt.savefig('plot.png')
plt.show()

Does your data go to 0% survival? If not, then I would be careful interpreting 0% survival number you get out. For a simple example, imagine your data has 50% of the equipment failing by 1 year, then everything is administratively censored at that point. It may be that the remaining equipment will all fail in the next month, or in the next 10 years. Since you have no data, you don't know which is more likely.
If you still want to do this, you have to use a parametric distribution. Kaplan-Meier will never go to zero unless it is observed in your data. This is because Kaplan-Meier is a non-parametric estimator (i.e. it makes no assumptions about the underlying distribution of the data). To get when 0% occurs, you need to go parametric (so you can extrapolate outside of your observed data). You can use ExponentialFitter() or WeibullFitter() to do this. You need to make sure that the parametric distribution you choose is the correct one. You implicitly assume that equipment failure follows that distribution after your last observation, which as in my example can be a strong assumption.
If you post what your Kaplan-Meier looks like, I can tell you whether either of those distributions will be reasonable

Hi! I tried uploading the documents (Python and .csv file) but are unable to upload
We don’t support that file type. with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP.
I am currently using the number of days before the equipment fail to calculate the survive-ability rate.
May I know which do I use to correctly estimate the equipment survive-ability rate until 0%?
For the Kaplan-Meier, I have copied and paste the 27NovTest.py (Python file) on top along with the post.

Hi! pzivich! Thank you for replying!
My task requires me to forecast the survive-ability rate of the equipment and I am new to the language. I will get back to you ASAP after I test the code!
I really appreciate your assistance on this matter. Thank you!

Using the Exponential Fitter, additional line which show 7.990049873556064e-05 can be observed at Command Prompt.
The Figure shows that when x = 3113.94, y = 0.254167
While using Weibull Fitter, additional line showing 0.0001651925197939443    2.014422655236303 can be observed at Command Prompt.

Just want to make sure, I understand the plots correctly, in both plots the light blue line it the Kaplan-Meier estimated survival. In the first plot, the red line is the -log(survival) vs t from the Kaplan Meier. In the second plot, the blue line is the log(-log(survival)) vs log(t). Correct?
Could you generate these plots again, this time without the Kaplan Meier estimate on the plot? It is hard to tell if these lines are linear when the scales are squashed. Based on the first plot, it doesn't seem like the exponential distribution is reasonable. I would need the second plot remade (rescaled so I can tell what the log(t) is doing). To do this, you can just use the .fit() part of the KaplanMeierFitter then run the following
plt.plot(np.log(kmf.timeline),np.log(-np.log(kmf.survival_function_)),linestyle='-',c='b')
plt.title('Assess for Weibull Dist')
plt.show()```

That will give me a better idea of whether a Weibull is okay.

After looking at your Kaplan Meier curve, I would like to again repeat my warning: I would be careful interpreting any 0% survival number you get out from any parametric model. Since your survival only goes to ~70%, we would do some serious extrapolation to get a survival time of zero.
Using this data as an example, 70% of the equipment failing by 1 year, then everything is censored at that point. All the equipment parts may fail in the next year after 3000 days. Alternatively all equipment may fail 100 years after 3000 days. Since you have no data for this time period, both are as equally likely to your data. A parametric distribution can overcome this, however it assumes the pattern in your data continues forward in time. It may not be reasonable to assume that

Having said all this, if you still want to extrapolate besides my warning and believe the Weibull distribution is okay, you can easily solve the following equation: ```S(t) = 0 = exp((lambda**rho) * (t**rho))``` for t. The command line prints the lambda and rho respectively for the Weibull. Since ```log(0)``` is undefined, we use a small value near 0 (I will use 0.001). Solving for t, we get ```t = (log(0.001) / -(lamba**rho))**(1/rho)```. Plugging in the numbers from your output, we get ~20385 days or ~56 years. Again, I would be suspicious of this estimate. Instead of all this math by hand, (I think) you can just run the following code
```python
from lifelines import WeibullFitter
wf = WeibullFitter()
wf.fit(T, E)
wf.survival_function_at_times(0.001)


Characteristic text font size token updates; fixes for density dependent tokens

Converting to draft to avoid merging by accident, pending design decisions.


evaluation problem

I used the evaluation code you provided, but I got a different result from the paper on the AISTD dataset. After I resize the image to 256×256, I found that your method is consistent with the paper, but the result of input image is inconsistent with the paper.

关于验证代码，我有点疑惑，请问是去阴影，mask,无阴影图像都要变成256*256，再进行输入到matlab代码里面吗


Add tinkerbell add user example

Add an examples directory that can be used to point customers at useful snippets.

/approve


Injecting custom variables into appsync resolver templates

Is your feature request related to a problem? Please describe.
Hi,
I would like to create custom http resolvers which invoke aws services directly (e.g step functions).
However as part of the http request, I need to supply resource ARNs.
This becomes difficult when the resource names include the name of the environment as we then need to hard-code the name of the resource and alter it depending on the environment.
Describe the solution you'd like
I would like to be able to inject env variables into resolver templates to better support differences in environments as well as avoid hard coding resource names.
Describe alternatives you've considered
Instead of writing code in separate request/response template files, include the code directly with the cloudformation appsync::resolver resource.
Then use the cloudformation !sub function to inject the resource name.

@Jkap7788 There is a PR out for this - #2553 and this feature request is a duplicate of #2092
Closing this as a duplicate.


Build Broken on Latest Nightly cause Rust Core reverted the FromStr implementation for PathBuf

This https://github.com/rust-lang/rust/pull/50401 broke the KMS build.
@tarcieri any thoughts on what to do?
Change the types of the arguments from PathBufs to Strings?

Sure, that's fine.
(Also: can't wait to be on stable. Should be the next release, I hope!)


fix builds on appveyor 64bit

Can't run '\bin\link.exe', check PATH

I think that setting the LINKCMD64 is all that is needed, but AppVeyor takes quite a bit to run, so I leave this open here until verified.
Will ping you then ;-)

I am know a step further, but still get
LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'

https://ci.appveyor.com/project/greenify/mir/build/1.0.96/job/bgqk81u2kmjq8gs1

Current coverage is 98.05%

Merging #116 into master will not affect coverage as of 03ef95d

@@            master    #116   diff @@
======================================
  Files            7       7
  Stmts         2574    2570     -4
  Branches         0       0
  Methods          0       0
======================================
- Hit           2524    2520     -4
  Partial          0       0
  Missed          50      50

Review entire Coverage Diff as of 03ef95d

Uncovered Suggestions

+0.23% via ...ir/ndslice/package.d#350...355
+0.23% via source/mir/las/sum.d#756...761
+0.19% via .../mir/ndslice/slice.d#2802...2806
See 7 more...

Powered by Codecov. Updated on successful CI builds.

I managed to get 64bit and ldc working - as AppVeyor is already pretty overburdened I only selected the two recent dmd versions. However if you wish we can extend the matrix.
dmd: https://ci.appveyor.com/project/greenify/mir/build/1.0.114 (passing)
ldc: https://ci.appveyor.com/project/greenify/mir/build/1.0.121 (assertion failure)

Correction: ldc on 32bit is not compiling :/

Correction: ldc on 32bit is not compiling :/

It seems like they deprecated win32 - at least there no win32 releases for 1.0.0
https://github.com/ldc-developers/ldc/releases
-> removed ldc 32bit for windows

Wohoo - it is slowly passing

Ok then I will add allow_failures temporarily to the appveyor script :(

done.

@9il - everything is passing now (well we ignore ldc on windows). Could you please merge? :)


Extend Data view with "hide column" + "lock filter with selected charts" + "export csv" function

Is your feature request related to a problem? Please describe.
Data view in explorer

does not have the possibility to hide columns. This can be cumbersome if dozens (some times 3-digit) columns are imported. During Analysis, numerous columns can turn out to be less/completely irrelevant.
looses all filters when switching to Graph view and back
is disconnected with Graph Charts, which is unfortunate, as both views (connected) can save a lot of time for analysis
does not have an "export csv" button, which can be really helpful, after "hiding columns" + "filtering"

Describe the solution you'd like

data view: right click on column name (or add an "hide" icon) to hide columns (+ multi-select)
data view: ability to move columns to the right or left (+ multi-select)
data view: ability to select certain rows manually for "manual" filtering
connect data and graph view: button to auto-apply filter + column selection with specific/all charts on graph view (charts on graph have then automatically updated the same filter/column hiding as in data view + vice versa)
data view: add export to csv button (similar to graph view).
data + graph view: extend export to csv with "copy to clipboard in CSV or pd.dataframe" format

Describe alternatives you've considered
There are no alternatives, apart from re-do manual work or doing screen-shots ...
Additional context
n/a - in case of clarification ... always available to reply/suggest/support ...

Thank you for your suggestion.
Indeed, such functionality is often beneficial in data analysis software. However, PyGWalker follows a distinct design approach. It does not manage all aspects of the GUI, particularly those related to dataframes. This design choice grants users greater flexibility to customize features directly in Python.
For example, in your case, you could conceal certain columns either by modifying the dataframe before passing it to PyGWalker or by adjusting the field_specs parameter.

apart from the GUI functionality (which wouldn't be a great effort to implement and the benefits outweigh design restrictions) - what about the export / return analysis data? the export or "function return data analysis" in JSON or at least CSV would also come in handy. Reasoning: the analysis process doesn't stop with pygwalker, it is a tool in a whole process, where it receives data and forwards analysis outputs. It should be considered as "embedded" tool in a process with "API-based" data input and output to avoid media breaks (as currently with the "standalone" architecture). Otherwise, other tools will fill in that important gap and pygwalker could loose traction.
What's your opinion on these considerations?

export csv

export csv

I am aware of the export button and apologise for not being clear enough - I was suggesting an "return results" function, when f.ex. closing pygwalker (part of an analysis chain). To give you an outlook - in order to automate, make complex analysis more comprehensible, pygwalker is "only" an (important) step of a whole analysis chain, f.ex. I am trying to incorporate pygwalker in an autogen (Microsoft llm agent framework) "dynamic" process, but as I cannot return any results (only separate file via export.csv, manually) it is of limited final use ...

Firstly, you can get the result as dataframe in python API of pygwalker. Secondly, I am not sure I understand what you want to implement with pygwalker, you want some AI agent to make "drag-and-drop" operations to analysis the data in pygwalker? Can you share more about what you want to build so I can provide more helpful suggestion based on pygwalker?

Firstly, you can get the result as dataframe in python API of pygwalker. Secondly, I am not sure I understand what you want to implement with pygwalker, you want some AI agent to make "drag-and-drop" operations to analysis the data in pygwalker? Can you share more about what you want to build so I can provide more helpful suggestion based on pygwalker?

ad result as data frame in python API from pygwalker)

please excuse my ignorance, but can you please point me to this API?
I only saw so far API calls for sending data to pygwalker, but not receiving data from pygwalker ...

ad use case)

I have a streamlit application, which has autogen framework under the hood with two agents and a number of functions.
one of these functions is to invoke pygwalker and send the data to be analysed as pd data frame
what I am now seeking for is to receive the analysis back as answer to the function call (as pd data frame or json or ...)


Create kehan-yang.yaml

@KehanGit - You need to place your profile into the team folder in order to have you added. The team-builder script only looks for added profiles there.

Thanks @jomey


Question about loading packet captures from wireshark.

Can this library or another open the pcap or pcapng  files to work with the data inside?
Basically I am wanting to make a script to load a capture and replay one side of the conversation :D

Ah answered my own question,
https://github.com/kunklejr/node-pcap-parser

FYI This library can also load packets from wireshark.

A how? would be nice :)
I know it was mentioned somewhere the documentation was getting reworked and the code being improved. I understand that can be an arduous task.
For anyone who sees this in the future:
Pcap.createOfflineSession(filepath, filter)

@LiamKarlMitchell ty, for adding that!


Updated references and listed on updated audio.py

<!-- Thank you for contributing to LangChain!

Replace this comment with:
  - Description: Changed and listed the new audio.
  - Issue: the issue # it fixes (if applicable),
  - Dependencies: any dependencies required for this change,
  - Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
  - Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!

what's diff b/n this and #7591?

This one should pass the tests... The previous one had issues with poetry.
El vie, 14 jul 2023 a las 19:41, Bagatur @.***>)
escribió:

what's diff b/n this and #7591
https://github.com/hwchase17/langchain/pull/7591?
—
Reply to this email directly, view it on GitHub
https://github.com/hwchase17/langchain/pull/7719#issuecomment-1636252425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYI5OJSHE2QRII7UZPQL33XQGHEDANCNFSM6AAAAAA2KSJLDU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Borja L. Comendeiro
+44 0746 2740 908
+34 639 558 551
This message is directed solely to his addressee or addressees. All
information contained in it, as well as attachments or embedded files are
confidential and its dissemination is strictly baned. If you have received
this email by mistake please do contact me by this route and delete it as
soon as possible.
Este mensaje está dirigido única y exclusivamente a su destinatari@ o
@.** Toda la información contenida en él, así como archivos
adjuntos o incrustados son de carácter confidencial y su difusión queda
terminantemente prohibida. Si ha recibido este mensaje por error le ruego
que me lo comunique lo antes posible por esta vía y lo borre lo antes
posible.*

looks like @hwchase17 is landing #7591, will close this one


Add basic table population class

Adds TemplateFiller class and tests to populate existing tables within a template MS Word (.docx) file.
Adds a template .docx file to input/templates based off of the RRED report template file

Conscious that I might have added filler.py to the wrong directory (maybe should be one level up?) so happy to shift things around.
Will close #3

Conscious that I might have added filler.py to the wrong directory (maybe should be one level up?) so happy to shift things around.

Forgot to answer this, nah I think this is a good place for it, we'll only be filling tables for reports so seems like a good place for it


Swift 4.2 support

Swift 4.2 & RxSwift 4.3 update.
New example icon + 1024x1024 res.

@freak4pc thanks for the advice! I will look into it and change my PR.

Yes, they are. I updated Quick (from 1.2.0 to 1.3.2) and Nimble (from 7.0.2 to 7.3.1) as well.

I think you might've forgotten updating the Xcode version:
https://github.com/RxSwiftCommunity/RxMKMapView/blob/master/.circleci/config.yml#L10

I just updated xcode version to the latest one (https://circleci.com/docs/2.0/testing-ios/). It doesn't seem to have any effect on the Quick/Nimble issue.

It's definitely failing for me locally as well on your branch:

Try running locally and figuring out what's causing the issue:
xcodebuild -workspace 'Example/RxMKMapView.xcworkspace' -scheme 'RxMKMapView-Example' -configuration 'Debug' -destination 'platform=iOS Simulator,name=iPhone 8' -sdk iphonesimulator build test | xcpretty -c --test

OK, now I'm not sure what's wrong - since its succeeding locally :) Very odd.

It does run for me locally like a charm:

It is very odd indeed ;)

Should we prepare a TravisCI migration branch? ;)

Uhm I need to further investigate what’s going on there. Once we find the
issue we can decide on resolution strategy. Will get back to this a bit
later or tomorrow.
Sent from Astro https://www.astro.ai for iOS
On Sep 23, 2018 at 17:31, Julian Caicedo<EMAIL_ADDRESS>wrote:
Should we prepare a TravisCI migration branch? ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RxSwiftCommunity/RxMKMapView/pull/37#issuecomment-423820796,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAk7lPXMwfY0FflfQGQqxtLH1ngO2JdLks5ud5tQgaJpZM4W1qxt
.

Any update about the CI issues?

Sure, I'll take a look this week.

The issue is related to the commited Pods directory and the Carthage exclusion in gitignore.
Nimble new version have a directory called Carthage, which is not being commited due to the exclusion.
If you change to Carthage/** it's possible to commit those files.
I did this fix and other small improvements on CI in #38.


factorio-experimental, factorio-headless-experimental: 1.0.0 -> 1.1.0

Motivation for this change
Update experimental branch (https://forums.factorio.com/viewtopic.php?f=3&t=91657)
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"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

hash mismatch in fixed-output derivation '/nix/store/ivipxraqpw38zqsqskqcs5fwb10lf4x2-factorio_alpha_x64-1.1.0.tar.xz':
  wanted: sha256:0n00nbh44nyf485jys6pkga3pb9j4zywk0liq6jq99pil6z7na3y
  got:    sha256:0dxi6my1xhwr9178pj13axzhvvn1yc053kc1halc9pl5iqlanipq
cannot build derivation '/nix/store/wpv10mgpja7sdrw3q66h7mpjawcr1yzp-factorio-alpha-1.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/c0gck6pw770kq1j0j7wg0xdw4xg3554r-env.drv': 1 dependencies couldn't be built

Did they already do the reupload for the failed update package?
Anyway. The factory must frow.

 I did not provide any credentials because I am lazy and headless should work without in nixpkgs-review.

Yeah, non-headless needs creds and the f-o error message isn't super helpful...


suggestion: use clojure aot similar mechanism to reduce jar size.

haskell compile too much class file, it led to its big jar size.
clojure has a simple solution for this situation for reference.
it has pomegranate library(just like haskell hint library), it can be used to load clojure file in runtime to generate class dynamically. it also publish clj file as maven repository directrly.
in case we need the same physical class sometimes, it offer the aot mechanism to compile only little needed class file before script interpretion procecure.
the situation is:
export physical jar class implement used by java project
some library use refletion mechanism to load class, so the physical class file must exist.
the reference doc is:
https://clojure.org/reference/compilation

a simple example,  it offer aot entry for needed module for project configuration
(defproject clj-java-compile "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.8.0"]]
  :aot [core, xxx.yyy, ...]
  :source-paths ["src/main/clojure"]
  :java-source-paths ["src/main/java"])

as you can see from maven repository:
http://central.maven.org/maven2/org/clojure/core.async/0.4.490/
the maven repository container only clj file without java.

Hi, the tool to minimize the jar that has been used so far is proguard , you can use it directly or including the appropiate gradle plugin if you are already are using gradle to build the eta project.


VoIP Push Notification

Is it included in the project? I mean, is it possible to show ringing screen when user A is calling user B.. Like Messenger/Viber/WhatsUp?
Thx!

it has nothing todo with agora sdk. mobile device system natively support this screen. if you have no idea how to do it from native end, try looking for relevant dart packages here https://pub.dev/packages?q=callkit


[CCPOKR-8875] Extract misk-api module

Could a PR description be added (a good general practice and even more so for OSS repos) so that sweeping changes like this can be better understood when users/maintainers look back on commit history?


Add Row on Tab - Focus

Using Firefox 48, when you tab from the last cell in the "Add Row on Tab" example, the new row is added, but the focus moves to the first cell in the "Column Heads" example.
In Chrome 52, Opera 39, IE11 and Edge, the focus correctly moves to the first cell of the new row.

The row limit for the example is capped at 6. When the limit is reached, the browser behaviour kicks in and cursor moves to the next input field on the page.
The focus works correctly (first cell of new row) when rows are less than 6 and you hit tab.

That is not what's happening on your example:
https://ncrafts.github.io/tabular-input/

Go to the "Add Row on Tab" example in Firefox. There are three rows.
Tab out of the last cell.
A new row is added.
The focus moves to the first cell of the "Column Heads" example!

The example works perfectly in Chrome, IE11 and Edge. But in Firefox, the focus is not working correctly.

I've attached a video of the issue:
TabularInput-Issue-1.zip

Please have a look at the update. It should be working now.

That's working now, thanks. :)