Specify integer value of tasks to update at a time during rolling update, rather than percentage.

Note sure if this is covered somewhere but we have a use case to only update one node at a time of a deployed application.  It would be great if we could specify a new attribute that allowed you to define how many nodes to update at a time.  I see its called out in the original design docs here https://mesosphere.github.io/marathon/docs/deployment-design-doc.html#rolling-upgrade

Hi @dchesterman thanks for the request! Could you please provide a little more insight on why you need to update a specific number of instances/nodes at the time? Why is the minimumHealthCapacity not working for you? This will help validating different solutions.

Sure.  I'm interested in being able to run a more stateful application through marathon that could be sensitive to losing more than one node at a time.  It may be able to handle more failures but for safety, I'd rather just explicitly define it to roll one at a time.
I haven't had a chance to dig in at all to see what sort of precision can be reached with the existing percentage based allocation across an application with potentially hundreds of instances, but it would be great if it was just that explicit integer definition and no guess work was required.

I have a service that is also very stateful, and has HA achieved by replication in "lower SLA" tiers of the service.
As such the upgrade of a particular SLA-tier app in marathon is bound, not by the HA achieved in that app, but of the failover application tier's ability to handle the failover, regardless of the quantity of nodes in the strict-SLA tier.
If I wanted to I could kill the entire strict-SLA tier and have all requests failover to the lower tier, but then the customer would definitely notice the upgrade. By upgrading only a few nodes a a time, the lower-SLA tier is still able to service the requests without noteably impacting customer experience.
As such, being able to specify "one instance at a time" or "5 instances at a time" is WAY more desired than x% at a time.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2539. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2539. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


allow validation against subschemas

It would be nice to be able to validate a document against a subschema.
something like:
schema.Validate(document, "/paths/~1pets~1{id}/delete/parameters/0")

When executed against a petstore swagger spec it would get the first parameter schema and validate the document against that.
See here for the json:
https://github.com/casualjim/go-swagger/blob/ac3c88ca90cca4d37347603521d29f33246d9827/testing/data.go#L269-L276

I see, interesting. I will think about it.

When I do validation, id in the resource for creation is not required but id in the resource for updating is required. So I cannot do validation against a resource without linking the resource to a method (POST or PUT). If gojsonschema can do validation against a subschema under LINKS in json schema, it would be very helpful.

I have a related PR in that accomplished this for my needs: https://github.com/xeipuuv/gojsonschema/pull/55 Still waiting to hear about desired changes or have it merged though.

The issue there is that your pull request feels more like a hack than a feature.
Also there is no documentation (README) and no unit test.
That explains why it was not merged yet.

The issue there is that your pull request feels more like a hack than a feature.
Also there is no documentation (README) and no unit test.
That explains why it was not merged yet.

Agreed; that's why I was trying to discuss the issue, I just never heard back about it.  Thought I'd tack a link into the issue to spur conversation if someone else wanted the feature.

Yes you are right, this kind of feature is interesting and deserves some discussion.
I am myself "over super crazy busy" and that explains the lack of time, communication and
unfortunately manners, so sorry about that ;)
I hope you guys can figure out the best solution.
Personally, i like what https://github.com/casualjim proposed initially,
something along the lines of:
result, err := gojsonschema.Validate(schemaLoader, documentLoader, referenceToSubSchema)

and/or
result1, err := schema.Validate(documentLoader1, referenceToSubSchema)

So that it respects the interface/usual way of dealing with validations.
Now golang doesnt support overloading and i guess "partial schema" is a correct and better way to qualify that feature (compared to sub schema), so i guess it would become:
result, err := gojsonschema.ValidatePartial(schemaLoader, documentLoader, referenceToPartialSchema)

and/or
result1, err := schema.ValidatePartial(documentLoader1, referenceToPartialSchema)

Finally some care has to be taken concerning d.pool.SetStandaloneDocument since it is constrained to some limitations and thats where most of the effort focused to make sure internal and external references to other schemas is respected. This is also where the unit tests must be focused on.
I hope it helps.

I think it'd be easier if the URL parser could handle segments such as "file:///myschema#/somesegment_to_subschema"


GL state checker to ease usage of apitrace

Is this connected to #379?

Is this connected to #379?

Yes, it superseded #379 where I messed up git history. If this PR works for anyone else, we can delete the other one.


WRITE_RESTART_BY_OSERVER

When I introduced this option,  MAPL can use both new oserver and the old oserver. and by default, the old-oserver is used. Now the old oserver is gone, but the "if else"s are still all over in the files MAPL_IO.F90 and MAPL_Generic.F90. I believe some inconsistencies and bugs that lead to crashes @bena-nasa , we should talk about this.

There are many places like this
https://github.com/GEOS-ESM/MAPL/blob/34eae4b436695ded67a9830ffe47a286de897bc9/base/MAPL_IO.F90#L2979-L2986
Does this write twice? Need to find out.


ppc64le: osbuild-tests failure

From RHEL 8 on ppc64le:
TASK [Run osbuild-tests test] **************************************************
Friday 29 May 2020  12:55:02 -0400 (0:00:00.670)       0:10:51.753 ************
fatal: [localhost]: FAILED! => changed=true
  cmd:
  - /usr/libexec/tests/osbuild-composer/osbuild-tests
  - -test.v
  delta: '0:00:22.795913'
  end: '2020-05-29 12:55:25.418691'
  msg: non-zero return code
  rc: 1
  start: '2020-05-29 12:55:02.622778'
  stderr: ''
  stderr_lines: <omitted>
  stdout: |-
    === RUN   TestComposeCommands
    --- FAIL: TestComposeCommands (0.71s)
        main_test.go:257:
                    Error Trace:    main_test.go:257
                                                            main_test.go:40
                    Error:          Received unexpected error:
                                    exit status 1
                    Test:           TestComposeCommands
                    Messages:       Command failed: exit status 1
    === RUN   TestEverything
    --- PASS: TestEverything (21.18s)
    === RUN   TestSourcesCommands
    --- PASS: TestSourcesCommands (0.90s)
    FAIL
  stdout_lines: <omitted>

This wasn't finished as part of https://github.com/osbuild/osbuild-composer/issues/353 and the last related PR was https://github.com/osbuild/osbuild-composer/pull/501. I'll revisit this issue now.

https://github.com/osbuild/osbuild-composer/pull/714 should fix this issue. Can I trigger the test to make sure it is fixed? @major


Schema support in DD8

We've always wanted to write intermediate DD output to different database schemas, so that we can run multiple extractors in the same database. Some advantages:

never loose any intermediate DD output
access shared inputs (in different schema), without first loading into the database when running the extractor

It turns out that using different schemas is very simple in DD8 and doesn't require any code change. Here are the necessary steps:

Add a file input/init.sh with the following content:
deepdive sql "CREATE SCHEMA myschema"

Now set the search path in an environment variable:
export PGOPTIONS="-c search_path=myschema,public"

Now run any of the deepdive .. commands, eg. deepdive run. Voila. The output is written into the new schema.

Thanks for the clear steps!  I'm planning to introduce a higher level operation that integrates this PG schema support with the rest of the process timestamps etc.  This will be super helpful for that direction.


Shallow copy of Font and Atlas objects

Currently, the Font object is copied in a way that both copies share the same memory underneath. It means that when I change the size of the "copy" object it affects the "original".
I tried to make Font non-copyable, but then TextShaper complained because it makes copy of a whole Atlas which holds Font and then needs to make copy of it.
This needs to be well thought through.
Proposal

Make Font non-copyable
Make Atlas non-copyable
TextShaper takes moved r-reference to Atlas
TextShaper provide a method to get const Atlas from it

Done in 6da0b59678e731ed92d66aa4df8908bb9ec4d410


Feature: Add Speed Control

Feature: Add Speed Control
Summary
This pull request introduces the ability to control the playback speed of audio in the AudioPlayer and AudioSynchronizer classes. This feature allows users to adjust the playback rate dynamically.
Changes

Added a rate property to AudioPlayer and AudioSynchronizer classes to manage playback speed.
Implemented logic to apply the rate property within the audio synchronization and playback processes.
Ensured the rate property is utilized in various methods to maintain consistent playback speed adjustments.

Code Modifications

Sources/AudioPlayer.swift

Added rate property with a default value of 1.0.
Integrated rate into the initializer and relevant methods.
Updated the prepare method to set the synchronizer's rate.

Sources/AudioSynchronizer.swift

Added rate property with a default value of 1.0.
Updated the resume method to use the rate property.
Ensured the rate property is applied in methods handling audio synchronization and playback start.

Impact

This update enhances the flexibility of the audio playback feature, allowing users to control the speed, which is useful for various applications such as audio learning and review.

Please review the changes and provide feedback or approval for merging.

Thanks, I fixed some linting issues and remove nil-error filter as it was fixed already in https://github.com/mihai8804858/swift-chunked-audio-player/pull/14.


Links in doc comments are rendered incorrectly

See e.g. the bottom of http://package.elm-lang.org/packages/tomjkidd/elm-multiway-tree-zipper/1.0.0/MultiwayTreeZipper.

Sorry, duplicate of #121.


Two captcha, custom two captcha Errors

I replied to you on the forum, please do not post the same thing in two places...
https://discourse.openbullet.dev/t/blocked/4821


[UI] Add new E2 Compute Shapes to OKE driver static list (v2.4.x)

What kind of request is this (question/bug/enhancement/feature request):
feature request
Steps to reproduce (least amount of steps as possible):

Create cluster in Rancher UI
Select Oracle OKE
In the version drop-down list, notice that some of the E2-based compute shapes are missing from the list.

Result:
New 2-based compute shapes are missing from the list.
Other details that may be helpful:
We shouldn't need to make these types up manual updates in Rancher 2.5+ since they will be pulled dynamically.
Environment information

Rancher version: v2.4.8 (using rancher/rancher:latest)
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

Available in latest-2.4

The feature is verified with Rancher server rancher\rancher:master-head version e90c401
Observed new E2 shapes in dropdown. Will need a fix to include a scroll bar. @westlywright

The feature is not seen in with Rancher server rancher\rancher:v2.4-3962-head
Did not observe new E2 compute shapes:

Observed removed shapes in the dropdown:

UI version: "https://releases.rancher.com/ui/latest-2.4/index.html"
Reopening for a fix in 2.4-head

@aaronRancher I can't imagine how the 1 PR would only show some of the changes.
2.5 and Master pulls everything dynamically so testing it is very different than 2.4.

@aaronRancher I see these shapes in v2.4-head. Can you re-test?

Verified with Rancher server rancher\rancher:v2.4-4033-head
Observed new E2 shapes in dropdown


Flutter - Counter and Navigate to a new screen

I have 2 problems with the code below:
I can create a counter in flutter, but i can't Navigate to a new screen and vise versa. That means: I can't do both things at the same time.

I need this here setState(() {}); in my RaisedButton

I got this error message:

Another exception was thrown: Navigator operation requested with a context that does not include a Navigator.

Here is my code:
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget{
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp>{

  @override
  Widget build(BuildContext context){
    return new MaterialApp(
      title: 'Welcome',
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: Text('Welcome to view by view'),
        ),
        body: Center(
          child: Wrap(
            children: <Widget>[
              RaisedButton(
                child: Text('View 2'),
                onPressed: (){
                  setState(() {
                    Navigator.push(
                    context,
                    MaterialPageRoute(builder: (context) => SecondRoute()),
                 );
                 });
               },
             )
           ],
         ),
       ),
     )
   );
 }

class SecondRoute extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Second Route"),
      ),
      body: Center(
        child: RaisedButton(
          onPressed: () {
            Navigator.pop(context);
          },
          child: Text('Go back!'),
        ),
      ),
    );
  }
}

Can someone help me with this?

separate your widgets. move the 'home' screen to new widget (ex: HomeScreen) and just pass it to home property 'home: HomeScreen()' instead of making all your UI in one widget.
btw this questions are better asked on stackoverflow not here :)

@007fred50 This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself. Closing, as this is not an issue report. See https://flutter.dev/community for support options.
If you disagree, feel free to comment and I will reopen the issue.


Install xdg-utils in base images

From https://github.com/microsoft/vscode-remote-release/issues/3540
This would allow VS Code to forward requests to open a URL to the local browser. (VS Code already sets the BROWSER env variable.)

But one thing I don't understand by this conversation, how would you use something like this to debug tests in playwright with the --debug flag?


All tasks for backend php test completed.

I have few modifications to the code from app security purpose. Let me know if we can take these with original pull request.


Add Dropbox integration.

It would be great if preferences are sync using Dropbox.

iCloud is a better approach, in my opinion. One less dependency to handle. Closing.


add sub user files

add sub user files

Hello! I think you did a great job) Will you continue working on adding sub users soon?

Hello! I think you did a great job) Will you continue working on adding sub users soon?

This actually isn’t the repo that has it all completed, that one is private this is just half of it. If Louis gives an approval I can merge the private one that works


PLY File cannot be read

Describe the bug
A specific PLY file cannot be read
To Reproduce
Steps to reproduce the behavior:
0. Box.ply.zip

Open the file using f3d --dry-run Box.ply

Warning: In vtkPLYReader.cxx, line 196
vtkPLYReader (0x558d2e209590): Could not open PLY file

ERROR: In vtkExecutive.cxx, line 741
vtkCompositeDataPipeline (0x558d2e20ab50): Algorithm vtkPLYReader (0x558d2e209590) returned failure for request: vtkInformation (0x558d2e20b610)
  Debug: Off
  Modified Time: 599431
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: 0
  ALGORITHM_AFTER_FORWARD: 1
  FORWARD_DIRECTION: 0

Expected behavior

System Information:

OS: Linux and Windows

F3D Information
Paste the content of f3d --version: 1.3.1 and master
Additional context
Part of draco test suite

Sister VTK issue: https://gitlab.kitware.com/vtk/vtk/-/issues/18808


ROC Chart Description in AUTOML seems to have issue

[Enter feedback here]
below statements seems to have been copied from Precision-Recall Section ?
What does automated ML do with the ROC chart?
Automated ML generates Macro Average Precision-Recall, Micro Average Precision-Recall, and the precision-recall associated with all classes for a model.

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

ID: 52d75487-5a8d-f735-bc34-8a5d90c52d86
Version Independent ID: b651cdfb-6d3b-8ce9-f665-be07b1f11273
Content: Understand automated ML results - Azure Machine Learning
Content Source: articles/machine-learning/how-to-understand-automated-ml.md
Service: machine-learning
Sub-service: core
GitHub Login: @Aniththa
Microsoft Alias: anumamah

@rsamant07  Thanks for the question! We are investigating and will update you shortly.

@rsamant07 Thanks for spotting this. It looks like there is some discrepancy with the text in this section. @Aniththa Could you please review and make the required updates?

Thanks for the feedback. We have updated the docs. Feel free to close this issue.


User list tab

Shows a list of users queried from the management server.
The users are displayed in a table with ID, Email, Name and Role

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: braginini:x: shatoboarYou have signed the CLA already but the status is still pending? Let us recheck it.

I also think that row colors should be aligned with the Peer tab.
E.g. - email bold and black, the rest of the fields grayish.


[SPARK-40060][CORE] Add numberDecommissioningExecutors metric

What changes were proposed in this pull request?
Add numberDecommissioningExecutors metric in ExecutorAllocationManager
Why are the changes needed?
This metric is helpful for understand decommission behavior
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually tested

Can one of the admins verify this patch?

@dongjoon-hyun Could you take a look?


Interesting colorizer

https://github.com/richzhang/colorization

https://github.com/linshys/Example_Based_Manga_Colorization---cGAN

https://github.com/OValery16/Manga-colorization---cycle-gan?tab=readme-ov-file
Very interesting, but I could not find weights in this repository.

The generic ones won't be good for manga. As for style reference ones or the hint based ones, I did try them when I initially made the project, but these are generally for manga artists, who can quickly colorize using a reference style or color hints and then add details to it after.
Doing all this is too much of a hassle and most readers (incl me) would simply want a single click, easy to use colorize button, no extra work. As long as the colorizer doesn't change the colors of the character in each panel, it's satisfactory. And qweassd's MC-v2 does it unexpectedly well.
Nonetheless, those are very interesting indeed!

Although, https://github.com/OValery16/Manga-colorization---cycle-gan?tab=readme-ov-file is pretty much the same as MC-v2, but I don't know where the models went.


Question on auto update

Starting with Update Rollup 35, you can choose an existing automation account to use for updates. Prior to this update, Site Recovery created this account by default. This option is available when you enable replication for a VM. If you change the setting, it will apply for all Azure VMs protected in the same vault.
Do you have an example of how this looks? According to the portal as of today, it still says 'Site Recovery leverages automation account "(new)rsvrefini-f3w-asr-automationaccount" to manage Site Recovery extensions on all your replicated items and keeps them up-to-date.' and there is no ability to select an existing

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

ID: 0c11ae82-7254-7494-1401-ce2c116eb1b6
Version Independent ID: 6e45cb37-357e-14fc-5a98-82f03358985d
Content: Automatic update of the Mobility service in Azure to Azure disaster recovery
Content Source: articles/site-recovery/azure-to-azure-autoupdate.md
Service: site-recovery
GitHub Login: @Rajani-Janaki-Ram
Microsoft Alias: rajanaki

Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

Hello,
I believe the screenshots are out of date. I have no option to select my already existing automation account:

Thanks for your feedback. I added a note to clarify that you can only choose an existing automation account when enabling replication.
#please-close


Does Storybook cache its change by port number somewhere hidden?

Describe the bug
I can't reproduce it, but I can tell what happened:
so I had two identical application repo (repo#1 and repo#2), repo#1 was running on 9001 already with a vue component call Hello established, while the repo #2 haven't yet setup storybook yet. So once I configed storybook in repo#2, then stopped the repo #1's storybook and started storybook for repo #2 afterward, for some reason the old change in repo #1 is showing up in the repo#2's storybook instance on 9001 (I am like what in the world?>???????)
So I stopped repo #2 storybook and change port to 9002 in config. it reports now, an error of depedency with babel was not found... while it did not have issue before and storybook was running an old version of my component, and after I installed the missing babel, now I gets problem parsing sass inside vue component

So I wonder is storybook caching itself somewhere that we should always clean it if we are having two repo with somehow similiar storybook setup?
To Reproduce
Not able to reproduce atm
Expected behavior
to expect to build correctly
System:

OS: MacOS
Device: MacBook Pro
Browser: Chrome
Framework: Vue
Addons: none
Version: 4.0.4

I am not sure what that is, but adding custom webpack config for sass fixed it, its here:https://storybook.js.org/configurations/custom-webpack-config/


Error -18 ?

Previously i'd been rendering out webp alongside jpg and png without issue (hacky, but it worked) but now i've started to bump into this error. From the log:
[debug:generator-assets 10:15:03.363 assetmanager.js:560:22] handleChange: { metaDataOnly: true,
  selection: { previous: { '5': [Object] } },
  id: 195,
  timeStamp:<PHONE_NUMBER>.347,
  count: 3 }
[info:generator-assets 10:16:17.605 assetmanager.js:442:34] Render complete: 530-3Q-Pair-x150.jpg
[info:generator-assets 10:16:17.609 rendermanager.js:178:26] Rendering: 530-3Q-Pair-x1600.jpg (13;8)
[warning:generator-assets 10:16:17.618 filemanager.js:215:30] Unable to rename asset; copying instead: { [Error: EXDEV: cross-device link not permitted, rename '/var/folders/lm/qn_w382j61z8vlf13fkmm60m0000gn/T/tmp-4554uuGPQsahH6Yp' -> '/Volumes/Design Assets/Product Shots/Product Shots/Speakers/Series 5/530 Pair Hi-Res 2-assets/530-3Q-Pair-x150.jpg']
  errno: -18,
  code: 'EXDEV',
  syscall: 'rename',
  path: '/var/folders/lm/qn_w382j61z8vlf13fkmm60m0000gn/T/tmp-4554uuGPQsahH6Yp',
  dest: '/Volumes/Design Assets/Product Shots/Product Shots/Speakers/Series 5/530 Pair Hi-Res 2-assets/530-3Q-Pair-x150.jpg' }
[info:core 10:17:34.081 photoshop.js:475:26] 22ms to receive 600.4 kB (27289.6 kB/s)

Dunno what the deal is, or if it relates to webp, but if I remove the +webp85% from the layer name it renders out the slowly, but successfully.

It seems a kind of permission issue caused by fs or fs-extra npm lib.
But actually it's "just" a warning so at the end the file will be copied into your target folder.


Donation account:issues on web page.

cant see the Donation description on the Web Page
Still cant see post on Twitter after donating. Only showing close.

**- The variables are:

Web Variables:
1.Donation Name (different from Account Name and entered by the user).
2.Organised By (provided by the user)
3.Donation Description (Long description for the donation)

@akshaytikle @ASN-BitHyve We need to fix this issue in 2.0.6 today itself.

@Parsh Staging Relay is blocking the reuqests from hexawallet.io. CORS issues.
Can you please allow CORS on staging relay, this would solve the missing donation info issue on Donation Staging.

@cakesoft-utkarsh
I'm not sure what extra needs to be done to activate CORS on the staging relay, as all three versions of the relay have the same codebase w/ cors activated.

Donation Staging web pages were using staging-relay.bithyve.com as the base relay base URL, which I believe is incorrect.
Changed the base URL on donation Staging web to  baseUrl = "https://new-staging-relay.nw.r.appspot.com/"
Can see the donation info now.
Please verify the other issue about twitter posting @cakesoft-swati  and mark close if it works.

Dupicate of #4937


Server truncates requests if they are sent in chunked transfer

Back in #29 it was commented:
Q) Does the server support handling chunked transfer?
A) No chunked transfer would have to be implemented by you on top of Simple-Web-Server...
In fact, there is a problem which means that the server in the library doesn't properly pass the contents of chunked HTTP requests in the request parameter of the callback routine. Currently, I don't think that an application can implement support for chunked transfer in requests to the server unless there are some changes to the library.
In a chunked transfer there is no content-length header. Looking at server_http.hpp around line 462 we see that if there is no content-length header the code assumes that there is no more data in the body of the HTTP request except for that which has already been read while decoding the headers.
The effect of this is that if a request is sent to the server in chunked mode the callback routine only gets in request->content the characters from the body which were read as part of the header. Characters after that are not available to the callback routine (and I assume are discarded).
Thanks as always for a great library. Hope you will be able to help address this.

You are right, I did not consider that requests content could be chunked transfer encoded. Have only ever seen response content being chunked transfer encoded. Supporting reading chunked transfer encoded request content, however, would be similar to what has been done in the ClientBase class. For testing purposes, do you know any client that sends its request's content chunked transfer encoded?

Lets go with option 2. I did a quick implementation in the branch chunked_request (https://github.com/eidheim/Simple-Web-Server/commit/9b24f60b3210043e226f60ebcc8abea1edb87592). Let me know how your tests go:)

I created some tests and it seems to work, let me know if you have any more issues. I changed the above commit a bit through rebase, but the changes has been pushed to master.

Thanks for the amazing response again!
I did a very quick check this morning and it is working fine for my application now. I will code-up some more extensive tests later and double-check it works in the most important scenarios.

Tried with more tests for both valid and invalid chunked encodings. All is working as expected.
I think we're done on this now. Thanks.

Thank you for testing these changes further!


fix invoke(skip_if_running=True) triggering a build even when a build is already running

When passing skip_if_running=True to Job.invoke() it prints a warning message (Will not request new build because JOB_NAME is already running) but then still triggers a build.

The Travis failure is not related to this PR. It looks like PyLint doesn't work with Python 2.6.

The Travis failure is not related to this PR. It looks like PyLint doesn't work with Python 2.6.

Hi,
I think that it is not good to throw an exception when condition is expected. In this case - skip_if_running is set to True, so condition is expected. If function will just return Invocation object at this moment, the code, that uses jenkinsapi, will be simplier: no additional try/raises for this place.
I would even go further and remove other exceptions, like "Build is already queued" (together with additional parameter to throw that exception if required).

Hi,
I think that it is not good to throw an exception when condition is expected. In this case - skip_if_running is set to True, so condition is expected. If function will just return Invocation object at this moment, the code, that uses jenkinsapi, will be simplier: no additional try/raises for this place.
I would even go further and remove other exceptions, like "Build is already queued" (together with additional parameter to throw that exception if required).

I agree with your comment that raising an exception for expected behavior is not good.
We could replace the raise in this case with a return invocation. But the downside of that approach is that code invoking the method has then no way to e.g. print a message afterwards and telling the user what has happened because it simply doesn't know based on the return value if the job was actually being triggered or not.
Anyway any patch is better then the current behavior to trigger the job despite the argument not to do so.

I agree with your comment that raising an exception for expected behavior is not good.
We could replace the raise in this case with a return invocation. But the downside of that approach is that code invoking the method has then no way to e.g. print a message afterwards and telling the user what has happened because it simply doesn't know based on the return value if the job was actually being triggered or not.
Anyway any patch is better then the current behavior to trigger the job despite the argument not to do so.

Yes, I agree that current behaviour is bad and any fix makes code better. I will accept this pull request and will do proper fix later.

Any chance for a new release in the near future?


Operation request: Prepend/append text

Summary
Especially when using the fork or the subsection operation, it would be useful to be able to

Extract relevant parts
Modify them
Wrap them in surrounding text

The last step here is rather clunky at the moment, since it involves having to whip out find and replace regex which simply match everything
Up to step 2

Current workaround for step 3, notice how the regex is quite odd since .* doesn't work as expected.

Example
https://gchq.github.io/CyberChef/#recipe=Subsection(' \\d%2B',true,true,false)Find_/_Replace({'option':'Regex','string':'(\\d%2B)'},'$1 1',true,false,true,false)Sum('Space')Find_/_Replace({'option':'Regex','string':'[^]%2B'},' $%26',true,false,true,true)&input=bWVzc2FnZSBHYW1lQWN0aW9uIHsKICAgIG9uZW9mIGFjdGlvbiB7CiAgICAgICAgQ2xpZW50UGxheWVyTW92ZSB1aW50MzIgY19wbGF5ZXJfbW92ZSA9IDA7CiAgICAgICAgU2VydmVyUGxheWVyTW92ZSBzX3BsYXllcl9tb3ZlID0gMTsKCiAgICAgICAgQ2xpZW50UGxheWVyVXBkYXRlIGNfcGxheWVyX3VwZGF0ZSA9IDI7CiAgICAgICAgU2VydmVyUGxheWVyVXBkYXRlIHNfcGxheWVyX3VwZGF0ZSA9IDM7CiAgICB9Cn0

The pad lines operation can be used to achieve this functionality.
Example:
https://gchq.github.io/CyberChef/#recipe=Subsection(' \\d%2B',true,true,false)Find_/_Replace({'option':'Regex','string':'(\\d%2B)'},'$1 1',true,false,true,false)Sum('Space')Pad_lines('Start',1,' ')&input=bWVzc2FnZSBHYW1lQWN0aW9uIHsKICAgIG9uZW9mIGFjdGlvbiB7CiAgICAgICAgQ2xpZW50UGxheWVyTW92ZSB1aW50MzIgY19wbGF5ZXJfbW92ZSA9IDA7CiAgICAgICAgU2VydmVyUGxheWVyTW92ZSBzX3BsYXllcl9tb3ZlID0gMTsKCiAgICAgICAgQ2xpZW50UGxheWVyVXBkYXRlIGNfcGxheWVyX3VwZGF0ZSA9IDI7CiAgICAgICAgU2VydmVyUGxheWVyVXBkYXRlIHNfcGxheWVyX3VwZGF0ZSA9IDM7CiAgICB9Cn0
Does this achieve the functionality you expected?

This functionality can also be achieved by using a lookbehind in your ragex.
https://gchq.github.io/CyberChef/#recipe=Subsection('(?<%3D%3D )\\d%2B',true,true,false)ADD({'option':'Decimal','string':'1'%7D)&input=bWVzc2FnZSBHYW1lQWN0aW9uIHsKICAgIG9uZW9mIGFjdGlvbiB7CiAgICAgICAgQ2xpZW50UGxheWVyTW92ZSB1aW50MzIgY19wbGF5ZXJfbW92ZSA9IDA7CiAgICAgICAgU2VydmVyUGxheWVyTW92ZSBzX3BsYXllcl9tb3ZlID0gMTsKCiAgICAgICAgQ2xpZW50UGxheWVyVXBkYXRlIGNfcGxheWVyX3VwZGF0ZSA9IDI7CiAgICAgICAgU2VydmVyUGxheWVyVXBkYXRlIHNfcGxheWVyX3VwZGF0ZSA9IDM7CiAgICB9Cn0

@n1073645 Yes, the pad lines achieves what I want.
My only nitpick there would be to change the "Character" description to either "Characters" (plural) or "Text" or "String".

The only issue when using Pad Lines in that fashion is that you have to make sure that the Length field matches (or is a multiple of) the Length of the Characters you want to repeat otherwise there will be partial repetitions. This functionality is useful so it will not be removed, it will instead be documented in the operation's description.
I think that the operation's argument name should be changed to "Character(s)" as it will still be valid to put a single character in there or several characters.

Sounds good 👍


Sunbird-Ed One click installer for Azure

Install Sunbird in Azure infra in a single click. :tada:

@keshavprasadms FYI.


New feature - Activity timer - Data exporter - Sort rows by time spent on task

Hi @danniehansen
We quite enjoy the newly developed feature of sorting by label. Thank you.
It would be very useful for us in Activity timer - Data exporter- to sort rows by spent time. ("Time (seconds)" or "Time (formatted)").
This feature would help us to see which activities were top time consumers.
Thank you very much
Have a lovely day

Hi @MatejSz,
This should be covered and released when https://github.com/danniehansen/activity-timer/issues/121 is closed. Closing this issue to have a single one to keep track on 👍 Appreciate the feedback.


Question about the removal of BAAI/bge-small-zh-v1.5 model in v3

Hello,
Firstly, I would like to express my appreciation for your work on the fastembed-rs project. It's been a great tool and has been very helpful in my tasks.
Upon the recent update to version 3, I noticed that the BAAI/bge-small-zh-v1.5 model has been removed. This model has been crucial in my projects and I was wondering why it was removed in the latest version.
Thank you for your time and for the effort you've put into this project. I look forward to your response.
Best regards,
AngelLiang

Hi @AngelLiang. The model source was moved to Hugging face.
If there's a HF source for this model with ONNX, we can add it back.
Here are some example sources
https://huggingface.co/Qdrant/bge-small-en-v1.5-onnx-Q
https://huggingface.co/nomic-ai/nomic-embed-text-v1.

Well, I think I found an Onnx source.
https://huggingface.co/Xenova/bge-small-zh-v1.5/

Yikes. I missed adding it to the README. Will do next time.


[BUG] Could not delete VM load balancer if it's not created successfully

Describe the bug

Could not delete VM load balancer if it's not created successfully.
To Reproduce
Steps to reproduce the behavior:

Create a load balancer with pool. Don't create pool.
Try to delete the load balancer.

Expected behavior

Delete the VM load balancer successfully.
Support bundle

Environment

Harvester ISO version:  v1.2.0-rc1
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal with Dell PowerEdge R630

Additional context
Add any other context about the problem here.

When we create a load balancer into Not Ready state

Create load balancer without pool created

Create load balancer with no DHCP route

Create load balancer with no available IP in Pool

In all of these cases, we can delete this load balancer correctly.


YAML encoding errors with Windows

What version of OpenRewrite are you using?
I am using

OpenRewrite v8.0.0
Maven plugin v5.0.0

How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
some: # german umlaute äöü
    key: value

What did you expect to see/What did you see instead?
After applying a YAML recipe, the encoding is broken.
Are you interested in contributing a fix to OpenRewrite?
Yes, I make a PR.

Appreciate you're looking to provide a fix!
-- Timotheüs

@thomaszub Just for clarification: Is this issue new with OpenRewrite 8.0? Did this work as expected with older versions?

@knutwannheden: I tested it with the maven-plugin 4.42.0 (rewrite 7.38.0) and the bug is present.


Wrong routes for car: routing doesn't relates to real city roads, routing through buildings

Hi! First of all thanks for your great work!
I faced a big problem: route for car is wrong on my localhost. I have use last master source and default config, there is my request:
http://localhost:8989/route?point=53.890572%2C27.551188&point=53.91953%2C27.582458&type=json&locale=en-us&vehicle=car&weighting=fastes
but result is wrong for car type:

Looks like the route doesn't relates to real city roads.
The same request for graphhopper.com API return correct route:

There is my log for request:
GET /route?point=53.890572%2C27.551188&point=53.91953%2C27.582458&type=json&locale=en-us&vehicle=car&weighting=fastest&turn_costs=true] INFO  c.g.resources.RouteResource - point=53.890572%2C27.551188&point=53.91953%2C27.582458&type=json&locale=en-us&vehicle=car&weighting=fastest&turn_costs=true <IP_ADDRESS> en_US Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36 [53.890572,27.551188, 53.91953,27.582458], took:0.108413294, , fastest, car, alternatives: 1, distance0: 5288.8512784180475, weight0:<PHONE_NUMBER>8930724, time0: 6min, points0: 45, debugInfo: tmode:EDGE_BASED; idLookup:0.0499004s; , algoInit:2.615E-4s, dijkstrabi|ch|edge_based|no_sod-routing:0.0417764s, path extraction: 6423 micros;visited nodes sum: 242;, algoInit:2.615E-4s, dijkstrabi|ch|edge_based|no_sod-routing:0.0417764s, path extraction: 6423 micros;visited nodes sum: 242, simplify (147->147)
I try to configure default config but all changes doesn't solve the problem.
What wrong with it? As it work properly on https://graphhopper.com/maps/  I believe that it's problem with configuration. Could you please help me what should I change to solve this problem/ Thanks

Did you try to use OSM tiles? Different providers might have different geocordinates and streets data

Please create a new topic in the forum: https://discuss.graphhopper.com/
Thanks!

Sorry, no problem? it's my fail! see:
https://discuss.graphhopper.com/t/route-for-car-is-absolutely-wrong/5297/5


Docs - Troubleshooting OSX 10.11 (El Capitan)

A few users had a problem with crystal upon updating to 10.11 (including myself). (ld: library not found for -levent)
This comment by @waj solved it: https://github.com/manastech/crystal/issues/1798#issuecomment-150046859

Thanks! I think we can add this. Eventually once El Capitan is from the past we can remove this. @jhass thoughts?

If you make sure to keep it cruft free and drop it once it's outdated, it's ok with me. Thoug IME that doesn't happen.

Hmmm... true. And if I search "crystal el capitan" on Google the first result is that github issue, so I think it's already documented, somehow.

@andrewsuzuki I'll close this. Since this is just a temporary problem and it's explained somewhere else, and eventually the fix will become outdated, there's no need to keep it in the permanent docs.


Added new test : Netperf for checking PPS performance

This commit adds following variants of the test :

PERF-NETWORK-TCP-NETPERF-SINGLE-PPS-Synthetic
PERF-NETWORK-TCP-NETPERF-SINGLE-PPS-SRIOV
PERF-NETWORK-TCP-NETPERF-MAX-PPS-Synthetic
PERF-NETWORK-TCP-NETPERF-MAX-PPS-SRIOV

Note: Test execution is being verified for all the tests. Will post the results here once done.

Execution is verified.
09/20/2018 12:12:23 : [INFO ] ~~~~~~~~~~~~~~~TEST END : PERF-NETWORK-TCP-NETPERF-MAX-PPS-SRIOV~~~~~~~~~~
09/20/2018 12:12:23 : [INFO ] CURRENT - PASS    - 2
09/20/2018 12:12:23 : [INFO ] CURRENT - FAIL    - 0
09/20/2018 12:12:23 : [INFO ] CURRENT - ABORTED - 0
09/20/2018 12:12:23 : [INFO ] Checking background cleanup jobs..
09/20/2018 12:12:23 : [INFO ] Removed 0 context files.
09/20/2018 12:12:23 : [INFO ] Cycle Finished.. TC-16139
09/20/2018 12:12:23 : [INFO ]
Test Results Summary
ICA test run on 09/20/2018 11:27:28
ARM Image under test Canonical : UbuntuServer : 16.04-LTS : latest
Total Executed TestCases        2 (       2 Pass,        0 Fail,        0 Abort)
Total Execution Time(dd:hh:mm) 0:0:22
XML file: TestConfiguration

PERF-NETWORK-TCP-NETPERF-SINGLE-PPS-SRIOV Execution Time: 13.5 minutes
        PERF-NETWORK-TCP-NETPERF-SINGLE-PPS-SRIOV : PASS
                        Rx Average PPS : 17536
                        Rx Minimum PPS : 12245
                        Rx Maximum PPS : 19107
PERF-NETWORK-TCP-NETPERF-MAX-PPS-SRIOV Execution Time: 9.89 minutes
        PERF-NETWORK-TCP-NETPERF-MAX-PPS-SRIOV : PASS
                        Rx Average PPS : 263729
                        Rx Minimum PPS : 252107
                        Rx Maximum PPS : 270721

Logs can be found at .\TestResults\2018-20-09-16-57-14-3647

09/20/2018 12:12:23 : [INFO ] Creating 'Azure-16139-buildlogs.zip' from '.\TestResults\2018-20-09-16-57-14-3647'
09/20/2018 12:12:23 : [INFO ] D:\GitHub\LISAv2\Azure-16139-buildlogs.zip created successfully.
09/20/2018 12:12:24 : [INFO ] Copied : .\report\report_TC-16139.xml --> .\report\report_TC-16139-junit.xml
09/20/2018 12:12:24 : [INFO ] Analysing results..
09/20/2018 12:12:24 : [INFO ] PASS  : 2
09/20/2018 12:12:24 : [INFO ] FAIL  : 0
09/20/2018 12:12:24 : [INFO ] ABORT : 0
09/20/2018 12:12:24 : [INFO ] LISAv2 exits with code: 0


Left menu for article

Hi,
The left menu for Disconnect your SQL Server from Azure Arc - SQL Server | Microsoft Learn shows Delete from or restore to Azure Arc. The article has no mention of restore. Would Disconnect from Azure Arc or Disconnect and unregister from Azure Arc better convey the article's content in the left menu?
Cannot contribute to left menu myself.
Thank you, inge

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

ID: 4646c89b-b0b8-0f72-4274-4b73730d58d7
Version Independent ID: 4646c89b-b0b8-0f72-4274-4b73730d58d7
Content: Disconnect your SQL Server from Azure Arc - SQL Server
Content Source: docs/sql-server/azure-arc/delete-from-azure-arc.md
Service: sql
Sub-service: azure-arc-sql-server
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

Yes, please do an internal PR to edit the table of contents.


Question: is katon deprecated?

I see that hotel is basically a cross-platform version of katon. Does this mean katon is deprecated?

Good question :)
No, you can still use katon or you can do the switch.
I don't plan to make hotel as feature-packed as katon, so it won't be a full replacement.
For example, hotel won't rely on anything that requires admin privileges. Therefore, there won't be local domains.
Also, I'll try to keep it simpler with less defaults and more explicit options.
In the end, I'd say hotel is for people who prefer a dev utility that does less and is simpler to understand in case of problems.


New version: TheDocumentFoundation.LibreOffice.HelpPack version <IP_ADDRESS>

Created by 🥟 Dumplings in workflow run #8387.

Log
Updated: <IP_ADDRESS> → <IP_ADDRESS>
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run

@wingetbot run


scanBarcode={false} ios not working

Issue Description
Barcode is read even if scanBarcode value is set to false in ios
Steps to Reproduce / Code Snippets / Screenshots
<CameraScreen
showFrame={false}
// Show/hide scan frame
scanBarcode={false}
// Can restrict for the QR Code only
laserColor={'blue'}
// Color can be of your choice
frameColor={'yellow'}
// If frame is visible then frame color
colorForScannerFrame={'black'}
// Scanner Frame color
onReadCode={(event) =>
onBarcodeScan(event.nativeEvent.codeStringValue)
//Alert.alert('QR code found')
}
/>

Environment

React Native Navigation version: 6.0.11
React Native version: 0.68.1
Platform(s) (iOS, Android, or both?): IOS
Device info (Simulator/Device? OS version? Debug/Release?): device/15.4.1/Debug

I want to block reading the barcode until success or failure is returned after verifying the value after reading the barcode.

Use a hook const local = useRef({ reading: false}) and set local.current.reading = true in the onReadCode() handler to block multiple reads from triggering.

Same issue


Add Refresh button

make Refresh button so it refreshes video.txt file then have to restart VRChat / Mellon loader
Some users do expect slow loading and they dont want restart game for updating video lists.

Expect a refresh button in the next update.


Refactor graphql schemas

Description
The schema.py file is very chunky now and should probably be broken down into separate files per graphql type for better visibility and readability.

The cyclic dependencies are extremely painful to work with as it stands, more effort than is worth sadly :(


Editor: Document comment marker editor settings

Closes #96472.

The text_editor/theme/highlighting/comment_markers/* editor settings are intended to be language independent, but are currently only used in GDScript. Moving the initialization to editor/editor_settings.cpp allows the documentation system to find these settings.

Does a codeblock's syntax highlighting take these colors into account in the built-in class reference? If yes, we could use them as basic examples. As a general clue, it's most unlikely users are going to remove "NOTE", "FIXME", and "HACK".


queryNoWitheSpace typo to fix

Describe the bug
Typo in
const queryNoWhite = queryNoWitheSpace(query)
should be
const queryNoWhite = queryNoWhiteSpace(query):
This appears 3 times in pages/search.tsx and once in elliotforwater.com/helpers/_utils.tsx /  Not sure if used anywhere else in the code.
To Reproduce
Just in the code, nothing to reproduce.
Expected behavior
for queryNoWitheSpace to be spelled queryNoWhiteSpace
Additional context
Not really a bug but not sure how to add the other labels. Just a small fix to improve code readability and cleanliness. This would be a good first issue (I might be able to do it myself at some point if no one else grabs it)

Hey thank you @bajancode for find this out!
Feel free to open a PR and fix it, if you feel to :D


Build failed when I try to deploy my app in Netlify

What version of Remix are you using?
1.6.8
Steps to Reproduce
My netlify.toml
[build]
command = "remix build"
publish = "public"
[dev]
command = "remix watch"
port = 3000
[[redirects]]
from = "/*"
to = "/.netlify/functions/server"
status = 200
[[headers]]
for = "/build/*"
[headers.values]
"Cache-Control" = "public, max-age=31536000, s-maxage=31536000"
When I try to deploy the app in Netlify I have this error:

The repository: https://github.com/crtdaniele/danielecarta
Expected Behavior
I expected to deploy the app in Netlify with the command "npm run build -> remix build"
Actual Behavior

I tested them but I could not reproduce this issue.
Site deploy was successfully initiated.

Link netlify ->> https://glittery-cobbler-997864.netlify.app/
the repo --> https://github.com/hakimLyon/danielecarta

@crtdaniele sounds like netlify isn't using node 14

Node 14 is no longer in maintenance. All active and maintenance versions of Node (16+) support nullish coalescing operator (??).


my typed command doesn't appear in the input box

In Atom 0.188.0 -- this appears to be the same issue as https://github.com/moshee/atom-pipe/issues/7 , so probably a regression triggered by a new Atom release?

+1

+1

This was fixed for my by using the ./styles directory, see commit 8a770c9052.
If you ask me, this can be closed now – when @moshee makes a new release now ;-)

I'll trust that it works.
Would you like to gain ownership of this project @alexbarton? It would benefit all the users if someone who still uses Atom was maintaining it. (I'm asking this to everyone who might care).

@moshee I could take it over if you want.

I'd appreciate that. Then I'll transfer ownership and you can do the release?

Sounds good.


redirection via > is not possible

e.g.: I can't disable quoting even though the command option of the docker plugin should allow me to pass things verbatim.
A step like this:
  - label: ':bash: Lint: SH'
    command: ''
    artifact_paths:
      - web/target/shellcheck-*.xml
    plugins:
      - 'docker#v3.3.0':
          image: 'koalaman/shellcheck:v0.7.0'
          debug: false
          workdir: /workdir
          command:
            - '-x'
            - a.sh
            - '--format'
            - checkstyle
            - '>'
            - web/target/shellcheck-42820572-83ee-4588-abf2-4f761754dba9.xml

results in:
koalaman/shellcheck:v0.7.0 -x x.sh --format checkstyle \> web/target/shellcheck-42820572-83ee-4588-abf2-4f761754dba9.xml

which means the output of the docker image is not redirected and thus not picked up as an artifact.

This is not specific to shellcheck but to any docker image - just in case you want to suggest using https://github.com/buildkite-plugins/shellcheck-buildkite-plugin for this particular problem: it also can't redirect the output and shellcheck doesn't have a first-class --out my.file flag either.

I reckon this is probably outside the scope of what the docker plugin is supposed to do 🤔
I'd be happy to add support to the shellcheck plugin to write to a file? Alternately, perhaps it's easier to just call docker directly in a shellscript for this usecase?

I can definitely write a wrapper or something, but I think output redirection would be a responsibility of the plugin?

From what I can see, this would be expected (albeit quite annoying) behaviour.
The command docker run ... image arg1 arg2 arg3 > output_file would redirect the output of the docker command, not what is run inside of the container itself. As you are clearly specifying that the redirection character is part of the docker command, it needs to be escaped or it wouldn't be passed on to the command running in the container... which will error out or ignore it. This is mostly because output redirection is a feature of terminal shells, not docker nor the programs run in them.
The way to workaround this issue is to use a shell as the command being executed. For example:
- label: ':bash: Lint: SH'
    command: ''
    artifact_paths:
      - web/target/shellcheck-*.xml
    plugins:
      - 'docker#v3.3.0':
          image: 'koalaman/shellcheck:v0.7.0'
          command:
            - '/bin/sh'
            - '-c'
            - 'shellcheck -x a.sh --format checkstyle > web/target/shellcheck-42820572-83ee-4588-abf2-4f761754dba9.xml'

Which is exactly what happens when you specify the command to be run through the step's command instead of the plugin's command option:
- label: ':bash: Lint: SH'
    command: 'shellcheck -x a.sh --format checkstyle > web/target/shellcheck-42820572-83ee-4588-abf2-4f761754dba9.xml'
    artifact_paths:
      - web/target/shellcheck-*.xml
    plugins:
      - 'docker#v3.3.0':
          image: 'koalaman/shellcheck:v0.7.0'

Note that this assumes that the image you are using is not forcing a particular executable through entrypoints (in which case you may have to override it)

I believe there is nothing wrong with the plugin so I am closing this issue. Feel free to reply if you think it shouldn't have and we'll re-open it and continue the discussion


Use of AlternativeImage and Regions

With https://github.com/mjenckel/OCR-D-LAYoutERkennung/commit/44247abca930cbff6e0cfa2f259168a4ee7e2f5a we tried to add AlternativeImage functionality to "binarize", "deskew", "cropping" and "dewarp". However there were some questions whether we used AlternativeImage correctly. Currently each Module expects the PAGE-XML output of the previous model as input, adds a new alternative image + eventual XML output (orientation, border coords) to the PAGE-XML and saves it as a new output. For this it expects two output folders, one for the AlternativeImg output, one of the output of the new PAGE-XML. If they are the same there will be an error about already existing files (IMG and PAGE file will have the same fileID).
Alongside this there was also a question about AlternativeImage regions. While deskewing and cropping only has very limited application to regions, binarization and dewarping on regions might be useful. Due to the limitations of pix2pixHD, dewarping requires files on the HD rather than just images in PIL format. This works for AlternativeImages, but the question remains if AlternativeImage Regions also exist on the hard drive or are created from the original image as required.

While deskewing and cropping only has very limited application to regions

I agree for cropping. I would even say that cropping in the sense of page frame detection (i.e. the task your processor solves very, very good) should only by applicable on page level. You should not delay your self with possible notions of cropping on lower levels. However, deskewing has a very prominent application on region level: https://github.com/wrznr/IT-Kolloquium-2019/blob/master/img/deskewing_ex2.svg

but the question remains if AlternativeImage Regions also exist on the hard drive

Each file referenced by an AlternativeImage instance exists on the hard drive (in the OCR-D context).

but the question remains if AlternativeImage Regions also exist on the hard drive

Definitely on page-level but not necessarily on region level. Otherwise those region images would have to be mentioned in METS, increasing file size and leading to confusion and inconsistency pretty quickly. If they cannot be recreated from a resp. page-level AlternativeImage (as in the use case for deskewing given by @wrznr) that is a problem and these images indeed have to be stored on HDD.
I would very much prefer to have every pg:Page/imageFilename or pg:AlternativeImage/filename attribute manifested but I fear that this will lead to massive I/O overhead.
@bertsky @wrznr @cneud Any ideas for a compromise?

Alternatively, if a region doesnt have a filepath to an AlternativeImage, we could generate a temporary file and go from there. Its just a question of what the preferred functionality is.

After some discussions, we can state the following: We need AlternativeImage on the sub-page level a) to reduce the complexity of the whole recognition process (i.e. it is not good if every processor computes its input image from the page-level images) and b) to allow the representation of results which (currently) can only be represented using an image (and not by some meta description, namely dewarping). Since https://ocr-d.github.io/mets#if-in-page-then-in-mets is adamantite, the images have to exist on the hard drive, regardless of possibly massive I/O overhead.
@mjenckel Is this sufficient to answer your initial question?

Yes, thank you very much!

If they are the same there will be an error about already existing files (IMG and PAGE file will have the same fileID).

@mjenckel That depends on how you make up new fileIDs. You can easily (and w.r.t. possible inconsistencies, profitably) put PAGE output and derived images in the same file group, as long as they receive systematically different IDs. (And for the annotation levels below page, you would never have a clash.)

I would very much prefer to have every pg:Page/imageFilename or pg:AlternativeImage/filename attribute manifested but I fear that this will lead to massive I/O overhead.

@kba IMO it's the other way round: If you have a step that can produce derived images but also describe that operation exhaustively via attributes in PAGE, which is sufficient to reproduce the same derived images later-on, then not annotating those images in the producer may make it necessary for every single consumer to repeat that computation. Especially on lower hierarchy levels (e.g. deskewing a region over and over again for each text line that is needed). So we have (some) I/O overhead vs (n-fold) CPU overhead.


icon-crown update

...to remove prop-types dependency

Codecov Report
All modified lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:loudspeaker: Thoughts on this report? Let us know!.


RN 0.33.0 Conflicts with react-native/lib/* ?

As of React Native 0.33.0, my build started failing as it could not find the react-native/lib/* files. Example:
Cannot find module 'deepDiffer'

I've gotten around this with mockery:
mockery.registerMock('react-native/lib/deepDiffer', () => null);
mockery.registerMock('react-native/lib/flattenStyle', () => null);
mockery.registerMock('react-native/lib/InitializeJavaScriptAppEngine', () => null);
mockery.registerMock('react-native/lib/RCTEventEmitter', () => null);
mockery.registerMock('react-native/lib/TextInputState', () => null);
mockery.registerMock('react-native/lib/UIManager', () => null);
mockery.registerMock('react-native/lib/UIManagerStatTracker', () => null);
mockery.registerMock('react-native/lib/View', () => null);
mockery.registerMock('react-native/lib/deepFreezeAndThrowOnMutationInDev', () => null);

While this got past the above errors, it prompted a new one:
Error: Cannot find module 'BoundingDimensions'

I assume these to be issues with RN 0.33.0?

I'm not sure youre meant to be importing things from react native with paths like that. You should probably be getting the components from the keys of react-native itself. As our project doesnt use the same directory structure as react-native, this is unlikely to work. Are the modules youre getting from libs/ available off react-native?

That's the interesting thing! I'm only importing standard components from the React Native docs, so I'm trying to figure out why my test setup is getting tripped up on react native internals. I figured this could be due to the RN 0.33.0 upgrade and the way this package handles that, but it looks like I was wrong. I'll continue to investigate in my repo and report back any findings.
Thanks!

during tests, you shouldnt be touching react-native itself at all. So i'm confused why this is a problem with versions of react-native. I can only presume that you are somewhere requiring like that with paths.

Ah, so it turns out this issue was being caused by react-native-svg.
The following snippet inside mocha's setup.js fixed the issue:
import mockery from 'mockery';

...

mockery.registerMock('react-native-svg', () => null);

Sorry for logging this where it didn't belong!

Great. I would also be tempted to open an issue against react-native-svg, as they really shouldnt be importing react-native things like that


Conflict in class order between eslint and prettier

What version of prettier-plugin-tailwindcss are you using?
0.6.1
What version of Tailwind CSS are you using?
3.4.3
What version of Node.js are you using?
21.7.1
What package manager are you using?
npm
What operating system are you using?
macOS
Describe your issue
In a .tsx file, prettier is ordering in this order : text-2xs mx-1.5 mb-0.5 py-1.
But eslint is complaining :
112:12  Error: Replace `text-2xs·mx-1.5·mb-0.5·py-1` with `mx-1.5·mb-0.5·py-1·text-2xs`  prettier/prettier

text-2xs is an extend of Tailwind theme inside tailwind.config.js
import type { Config } from "tailwindcss";

const config: Config = {
  content: [
    "./pages/**/*.{js,ts,jsx,tsx,mdx}",
    "./components/**/*.{js,ts,jsx,tsx,mdx}",
    "./app/**/*.{js,ts,jsx,tsx,mdx}",
  ],
  theme: {
    extend: {
      fontSize: {
        "2xs": ["0.625rem", "0.75rem"],
      },
    },
  },
};
export default config;

.prettierrc
{
  "plugins": ["prettier-plugin-tailwindcss"],
  "tailwindAttributes": [".*Classes.*"],
  "tailwindFunctions": ["clsx", "tv", "cva"]
}

.eslintrc
{
  "extends": [
    "next/core-web-vitals",
    "plugin:prettier/recommended",
    "plugin:storybook/recommended",
    "plugin:react-hooks/recommended",
    "eslint:recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:tailwindcss/recommended"
  ],
  "plugins": ["@typescript-eslint", "react-compiler"],
  "parser": "@typescript-eslint/parser",
  "root": true
}

It's maybe linked to https://github.com/tailwindlabs/prettier-plugin-tailwindcss/issues/270 ?
Thanks !

Hey! It seems like our Prettier plugin isn't noticing your config file, is it in a non-standard location?
You might need to configure your config path with this option:
https://github.com/tailwindlabs/prettier-plugin-tailwindcss/?tab=readme-ov-file#customizing-your-tailwind-config-path

Hey @adamwathan,
No, tailwind.config.ts is located at the root, same as .prettierrc.
But, I re-tested this morning and it's magically solved ...
For the background, the font-size class was created in a plugin config like this and I tried to use it just after (without restart Webstorm, or my computer). So, maybe a computer restart was the solution to let the eslint and prettier understand that ?
require("tailwindcss-fluid-type")({
      settings: {
        fontSizeMin: 1, // 1.125rem === 18px
        fontSizeMax: 1.25, // 1.25rem === 20px
        ratioMin: 1.125, // Multiplicator Min
        ratioMax: 1.2, // Multiplicator Max
        screenMin: 20, // 20rem === 320px
        screenMax: 96, // 96rem === 1536px
        unit: "rem", // default is rem but it's also possible to use 'px'
        prefix: "", // set a prefix to use it alongside the default font sizes
        extendValues: true, // When you set extendValues to true it will extend the default values. Set it to false to overwrite the values.
      },
      values: {
        "3xs": [-4, 1.6],
        "2xs": [-3, 1.6],
        xs: [-2, 1.6],
        sm: [-1, 1.6],
        base: [0, 1.6],
        lg: [1, 1.6],
        xl: [2, 1.2],
        "2xl": [3, 1.2],
        "3xl": [4, 1.2],
        "4xl": [5, 1.1],
        "5xl": [6, 1.1],
        "6xl": [7, 1.1],
        "7xl": [8, 1],
        "8xl": [9, 1],
        "9xl": [10, 1],
      },
    }),

I tried to reproduce but impossible. Closing for now then.
Thanks !


[TODO TDX] Check VP assist page for TDX guest

drivers/hv/hv_common.c: hv_common_init()
  /*
 * The VP assist page is useless to a TDX guest: the only use we
 * would have for it is lazy EOI, which can not be used with TDX.
 *
 * TODO TDX: UH doens't require this on TDX right now, but we may
 * want it in the future?

(Migrated internal issue #1262)

yjiang5 opened on Sep 24:
This TODO is not so useful and can possibly be removed.

@yamahata confirms it is not needed for TDX.

@chris-oo since TDX does not need it, do we need any change to the below code? Looks like we only need the else part and initialize hv_vp_assist_page = NULL;
    /*
     * The VP assist page is useless to a TDX guest: the only use we
     * would have for it is lazy EOI, which can not be used with TDX.
     *
     * TODO TDX: UH doens't require this on TDX right now, but we may
     * want it in the future?
     */
    if (hv_isolation_type_tdx())
            hv_vp_assist_page = NULL;
    else {
            hv_vp_assist_page = kcalloc(num_possible_cpus(),
                                            sizeof(*hv_vp_assist_page), GFP_KERNEL);
            if (!hv_vp_assist_page) {
                    hv_common_free();
                    ret = -ENOMEM;
            }
    }


Regression with EventSender example due to recent refactor of time_ticks_t and GUID_t

Describe your environment.
Visual Studio 2019, latest.
Steps to reproduce.
Open solution and Build all....
What is the expected behavior?
All projects build successfully.
What is the actual behavior?
EventSender example build fails.
Additional context.
I think the issue is related to this commit , specifically the changes to time_ticks_t and GUID_t constructors? cc: @mkoscumb
I see this error:

Commenting out the "offending fields" resolves the error. But seems like some regression due to recent clean-up?

@mkoscumb - 3 newly added method bodies are missing.


Add ORM and Kuery to the databases guide

#320

@Andrew-Lees11 please can you re-review as I've implemented all the requested changes.


Compound space domain and avatar

[x] Add images for your space
[x] Add custom domain for your space
[ ] Add alias for migrate your space
[ ] Add or edit a skin

@gokaiorg Done


Fixed the registry info issue

This fixes #224
Now we can view the registry by giving the registry name

ready for review

The flow should be consistent across all cli calls by name or id. If you take a look into the api spec, you see many commands that support name also support id.
As we are calling the rest api it makes sense to have the same flow?
What do you think?

most of the commands support name. so we can consistently follow the cli calls by name.


WMS 3427 OpenSearch Conversational Search improvements

WMS 3427
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

it's this one:
https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/run-workshop?p210_wid=3427&p210_wec=&session=8272921616514
so I believe it is 3427 as mentioned in the title.

@carmenberdant1


An exception occurred while trying to process the frame: tensor.device().type() == at::DeviceType::PrivateUse1 INTERNAL ASSERT FAILED at "D:\a\_work\1\s\pytorch-directml-plugin\torch_directml\csrc\dml\DMLTensor.cpp":31, please report a bug to PyTorch. unbox expects Dml at::Tensor as inputs

An exception occurred while trying to process the frame: tensor.device().type() == at::DeviceType::PrivateUse1 INTERNAL ASSERT FAILED at "D:\a\_work\1\s\pytorch-directml-plugin\torch_directml\csrc\dml\DMLTensor.cpp":31, please report a bug to PyTorch. unbox expects Dml at::Tensor as inputs
Traceback (most recent call last):
File "E:\stable-diffusion-webui-directml\extensions\SD-CN-Animation\scripts\base_ui.py", line 139, in process
yield from vid2vid.start_process(*args)
File "E:\stable-diffusion-webui-directml\extensions\SD-CN-Animation\scripts\core\vid2vid.py", line 149, in start_process
next_flow, prev_flow, occlusion_mask = RAFT_estimate_flow(prev_frame, curr_frame, device=device)
File "E:\stable-diffusion-webui-directml\extensions\SD-CN-Animation\scripts\core\flow_utils.py", line 69, in RAFT_estimate_flow
_, next_flow = RAFT_model(image1, image2, iters=20, test_mode=True)
File "E:\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "E:\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\parallel\data_parallel.py", line 153, in forward
return self.module(*inputs, **kwargs)
File "E:\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "E:\stable-diffusion-webui-directml\extensions\SD-CN-Animation\RAFT\raft.py", line 100, in forward
fmap1, fmap2 = self.fnet([image1, image2])
File "E:\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "E:\stable-diffusion-webui-directml\extensions\SD-CN-Animation\RAFT\extractor.py", line 176, in forward
x = self.conv1(x)
File "E:\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "E:\stable-diffusion-webui-directml\extensions-builtin\Lora\lora.py", line 376, in lora_Conv2d_forward
return torch.nn.Conv2d_forward_before_lora(self, input)
File "E:\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\conv.py", line 463, in forward
return self._conv_forward(input, self.weight, self.bias)
File "E:\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\conv.py", line 459, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
File "E:\stable-diffusion-webui-directml\modules\dml\amp\autocast_mode.py", line 32, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: pre_forward(op, args, kwargs))
File "E:\stable-diffusion-webui-directml\modules\dml\amp\autocast_mode.py", line 9, in pre_forward
return forward(*args, **kwargs)
RuntimeError: tensor.device().type() == at::DeviceType::PrivateUse1 INTERNAL ASSERT FAILED at "D:\a\_work\1\s\pytorch-directml-plugin\torch_directml\csrc\dml\DMLTensor.cpp":31, please report a bug to PyTorch. unbox expects Dml at::Tensor as inputs

@djay29 did you manage to get txt2vid or vid2vid to work on an AMD card? How did you do that?

It is not working on AMD gpus. It was able generate only one frame in txt2vid after that there is another error which is also reported by me


Switch custom mapping when user click button

💬 Question
UI Kitten and Eva version

Package
Version

@eva-design/eva

@ui-kitten/components

You're not able to do this during the runtime

You're not able to do this during the runtime. Prefer using themes in order to do this

Well, I just want to switch text font but can I use it using them ?

Officially - no, but you can put custom variable into your theme object, e.g:
font-1-theme.js:
{ "font-family-variable-name": "font-1" }

Same for second theme
And then use the name of this variable in your custom mapping (I'm not sure but you may need to replace all text-font-family variables with font-family-variable-name
Use it on own risk, because this is not official way of doing such customization :)


Can't run with nvidia driver: GLXBadDrawable error

Hello, I hope I'm posting in the right place.
Thank you for this great program! the demo is amazing!
I tried installing it on ubuntu 20.04, with the latest nvidia driver to date (460.67),
it compiled well, but when trying to run it says:

GL version: 4.6.0 NVIDIA 460.67
X Error of failed request:  GLXBadDrawable
Major opcode of failed request:  151 (GLX)
Minor opcode of failed request:  5 (X_GLXMakeCurrent)
Serial number of failed request:  273
Current serial number in output stream:  273

when I tried running it with the default driver nouveau, it runs,
but without any buttons. unless its supposed to be like that and only use keyboard shortcuts?
but I can't use this driver with my gpu and screen, so I had to go back to Nvidia's.
any idea how to solve this GLXBadDrawable error? maybe I need to compile the driver with a specific parameter? I couldn't find a solution for this.
Thank you very much!

but without any buttons. unless its supposed to be like that and only use keyboard shortcuts?

This project does not have a UI when compiled on anything except for Emscripten (WASM).


CSV data set variables not supported by MQTT PUB sampler

I have "CSV dataset confg" in my test plan. Im sending values like URL, PORT via the csv files.

I added the beanshell sampler so that i could print out the value of the variables and the variable values are simply present.
It works fine for Subscriber but the PUB SAmpler is not working.

below is the log:
2017/03/22 16:15:17 ERROR - net.xmeter.samplers.PubSampler: Illegal character in authority at index 6: ssl://${url}:${port} java.net.URISyntaxException: Illegal character in authority at index 6: ssl://${url}:${port}
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.parseAuthority(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at org.fusesource.mqtt.client.MQTT.setHost(MQTT.java:307)
at net.xmeter.samplers.PubSampler.threadStarted(PubSampler.java:147)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:659)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:628)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:616)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:245)
at java.lang.Thread.run(Unknown Source)
2017/03/22 16:15:17 ERROR - net.xmeter.samplers.PubSampler: Illegal character in authority at index 6: ssl://${url}:${port} java.net.URISyntaxException: Illegal character in authority at index 6: ssl://${url}:${port}
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.parseAuthority(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at org.fusesource.mqtt.client.MQTT.setHost(MQTT.java:307)
at net.xmeter.samplers.PubSampler.threadStarted(PubSampler.java:147)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:659)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:628)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:616)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:245)
at java.lang.Thread.run(Unknown Source)
2017/03/22 16:15:17 ERROR - net.xmeter.samplers.SubSampler: Illegal character in authority at index 6: ssl://${url}:${port} java.net.URISyntaxException: Illegal character in authority at index 6: ssl://${url}:${port}
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.parseAuthority(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at org.fusesource.mqtt.client.MQTT.setHost(MQTT.java:307)
at net.xmeter.samplers.SubSampler.threadStarted(SubSampler.java:176)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:659)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:628)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:616)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:245)
at java.lang.Thread.run(Unknown Source)
2017/03/22 16:15:17 ERROR - net.xmeter.samplers.PubSampler: Illegal character in authority at index 6: ssl://${url}:${port} java.net.URISyntaxException: Illegal character in authority at index 6: ssl://${url}:${port}
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.parseAuthority(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at org.fusesource.mqtt.client.MQTT.setHost(MQTT.java:307)
at net.xmeter.samplers.PubSampler.threadStarted(PubSampler.java:147)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:659)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:628)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:616)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:245)
at java.lang.Thread.run(Unknown Source)
2017/03/22 16:15:17 ERROR - net.xmeter.samplers.SubSampler: Illegal character in authority at index 6: ssl://${url}:${port} java.net.URISyntaxException: Illegal character in authority at index 6: ssl://${url}:${port}
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.parseAuthority(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at org.fusesource.mqtt.client.MQTT.setHost(MQTT.java:307)
at net.xmeter.samplers.SubSampler.threadStarted(SubSampler.java:176)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:659)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:996)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:978)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:628)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:616)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:245)
at java.lang.Thread.run(Unknown Source)
2017/03/22 16:15:17 INFO  - jmeter.services.FileServer: Stored: C:\AAAdata\MQTTDS1.csv
2017/03/22 16:15:17 ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method: eval	In file: inline evaluation of: ``print "R url =" <IP_ADDRESS> print "RAUL port =" 8883 . . . ''

i will prefer sending via email.
At which email can i send the jmx ?

<EMAIL_ADDRESS>please, as indicated in my profile.

Hi Raul,
it's confirmed JMeter loads csv files later than the execution of threadStarted() where we initialize mqtt connections with parameter substitution of hostname, port and so on.
So two options here,

you can try __CSVRead function replacing "CSV Data Set Config" element to define your hostname, port etc, this forces the csv file content loading.

I moved the connection init from threadStarted() to a later control point sample(), the "CSV Data Set Config" works good for me now.  I'm sending you a new plugin jar file via email, please give it a try and later I can commit the changes after receiving your feedback.

Thanks!

please be noted, if connection init is moved to sample() function,  your first sub sampler loop will always return 0 message, since message probing is right after the subscription init logic, thus no message returns. However, after the loop interval, you can get the N messages from 2nd, 3rd loop, for the same virtual user, this works as expected.

Hi Dang,
I have multiple tests where in same way data is inputted into test script using excelsheets from the localdrive.
I will first try your 2nd option. Will let you know by wednesday, as currently in foreign country for another project.
gr.,
Raul R.A.

From: Dang En<EMAIL_ADDRESS>Sent: Sunday, March 26, 2017 6:25 AM
To: emqtt/mqtt-jmeter
Cc: Raul666; Author
Subject: Re: [emqtt/mqtt-jmeter] CSV data set variables not supported by MQTT PUB sampler (#8)
Hi Raul,
it's confirmed JMeter loads csv files later than the execution of threadStarted() where we initialize mqtt connections with parameter substitution of hostname, port and so on.
So two options here,

you can try __CSVRead function replacing "CSV Data Set Config" element to define your hostname, port etc, this forces the csv file content loading.

I moved the connection init from threadStarted() to a later control point sample(), the "CSV Data Set Config" works good for me now. I'm sending you a new plugin jar file via email, please give it a try and later I can commit the changes after receiving your feedback.

Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/emqtt/mqtt-jmeter/issues/8#issuecomment-289287788, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APcXL-KEpH99ycd5ppFtL52ARsojHGZDks5rpnVfgaJpZM4MlX7A.

I do not understand completely what you meant?
Actually i have a Publisher which when executed, i expect multiple responses in my subscriber. So based on the json rpc2 message im sending, i get the responses.
For example i have 3 parameters: 1 uuid, 2 brightness,3 color.
these properties are edited using jsonrpc2 message which send as payload in publisher,
then i expect to receive 3 messages for each property type in subscriber. So for my test it is important that i receive multiple responses.
Gr.,
Raul R.A

From: Dang En<EMAIL_ADDRESS>Sent: Sunday, March 26, 2017 6:35 AM
To: emqtt/mqtt-jmeter
Cc: Raul666; Author
Subject: Re: [emqtt/mqtt-jmeter] CSV data set variables not supported by MQTT PUB sampler (#8)
please be noted, if connection init is moved to sample() function, your first sub sampler loop will always return 0 message, since message probing is right after the subscription init logic, thus no message returns. However, after the loop interval, you can get the N messages from 2nd, 3rd loop, for the same virtual user, this works as expected.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/emqtt/mqtt-jmeter/issues/8#issuecomment-289288327, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APcXLxi3YqClhz7ypyV74LTMWC2fwSUOks5rpnedgaJpZM4MlX7A.

@rende2005  可以把更改了的代码提交吗？ 或者贴到这里？
我这边也需要CSV Data Set Config

after subscriber is bound to a particular topic,  it enters "listen" mode,  and reports back all the messages received from the corresponding channel during the time interval. So generally, you may need to loop the sub sampler for sufficient times, with a fixed or random delay (e.g. 3000 ms).
What I mean is,  the for first loop, sub may receive 0 message, but as long as you keep it running,  messages will arrive in the later loops.   You may start sub first, ensure it's in listen status, then launch the pub.   Yes, you can receive multiple responses, if the test scenario is properly designed.

@muyufan  please check out the latest change and see if it helps.

Tested NOT OK. with Option 2:  "CSV Data Set Config"
Values could not be found by the sampler.

My csv test passed with both pub and sub sampler,  sub can receive messages from pub.
Raul, would you please show me your simplified testcase and corresponding error messages, together with jmeter.log, say with an email?

FIXED.
TEST OK.
Just tested with the new JAR and the issues is solved.  Please commit the changes in Release.


Review extraction quality

Of course, we also need to review whether the extraction makes sense.

At the first glance it seems to extract what we expect. Time window (20s), event offset (-10s), and sampling (3 fps) rate could probably be adjusted for better results.

thanks Falk - I will look at both of these issues on either Thursday or Friday of this week

extraction quality is perfect with default settings


Fix LaTeX sytnax of year range

Number ranges are typeset in LaTeX using number--number. This is implemented here.

Coverage remained the same at 37.928% when pulling 1ef331af11fdcca0cb391d64a41ab9629a60f276 on koppor:patch-1 into de954adcffb0f9e3d8d1e4ca2a370d359113d067 on kermitt2:master.

Thanks @koppor !


IsConnected returns always true when we use vpn

Bug
I have notice that in the latest version i always get true, even without sim card and wifi off, even on airplane mode. If i disable the vpn it works as expected. This was not happening on the previous version. Im using the app block this! That stop ads though vpn.
Version Number of Plugin: latest stable
Device Tested On: Samsung galasy s3 neo
Steps to reproduce the Behavior
Use a vpn and check what IsConnected returns

He CDrosos, in which version did it work and on which version it stopped working? We are experiencing this issue as well and i would like to know the exact version to see what has been changed.

Hello, i dont remember unfortinately the version but i remember i post this thread after i have just update the Connectivity plugin. so the version that released mid january might have create the problem

Hi,
I facing issue of IsConnected return always true (no matter the network is on or not) and the event of CrossConnectivity.Current.ConnectivityChanged not able to trigger when network change. I'm was using version 3.0.1 for plugin (Xam.Plugin.Connectivity).

@keafea do you have a vpn network configured?

I do not have VPN network in my phone

What VPN (app/provide) are you guys using? I am not able to reproduce this on Galaxy S7E with MS VPN, and tunnel bear

Freedome
https://www.f-secure.com/en/web/home_global/freedome

i was using this: https://hide.me/en/software/android

@jamesmontemagno We are experiencing the same issue. IsConnected() always returns true when we use VPN on the device. Our app is using Mobileiron VPN Tunnel when running. The configurations are correct and everything else works just fine except IsConnected().
We are using version 2.2.2. Please advise.


Fix to support body's character code other than latin1

When wsgi_encoding_dance ()  is used, body character code is limited to decodeable character string with latin1.
e.g.
body = 'latin1_char'  # decodable
decoded = wsgi_encoding_dance(body)
# decoded: 'latin1_char'

body = 'テスト_char'  # unable to decode
decoded = wsgi_encoding_dance(body)
# decoded: 'ã\x83\x86ã\x82¹ã\x83\x88_char'

I confirmed this, worked with my app where I was experiencing this problem.
Sorry for my troublesome mother tongue in programming :'(

As an example, I sent an HTTP POST request like this:
Reqest header
:authority:upe1rs6yl4.execute-api.ap-northeast-1.amazonaws.com
:method:POST
:path:/production/admin/api/evaluation/add/
:scheme:https
accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
accept-encoding:gzip, deflate, br
accept-language:ja,en-US;q=0.9,en;q=0.8
cache-control:max-age=0
content-length:702
content-type:multipart/form-data; boundary=----WebKitFormBoundary3vA72kRLuq9D3NdL
cookie:csrftoken=EYBnVf1B9U8d08nXxw9W2NqRWfYfE0q3JVKQjDcvYqULzwYsNUMJby7yleLn3usV; sessionid=pfja5wnfrgxm8cntrkto5z0xx14w9jh7; tabstyle=raw-tab
origin:https://upe1rs6yl4.execute-api.ap-northeast-1.amazonaws.com
referer:https://upe1rs6yl4.execute-api.ap-northeast-1.amazonaws.com/production/admin/api/evaluation/add/
upgrade-insecure-requests:1
user-agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Request Payload
------WebKitFormBoundary3vA72kRLuq9D3NdL
Content-Disposition: form-data; name="csrfmiddlewaretoken"

1NqXrgWVcCRcKS3YV8UOWamfcKGMGDJw6KzqPE7P18DKjgEtbwxB5V3WBJtU57Lo
------WebKitFormBoundary3vA72kRLuq9D3NdL
Content-Disposition: form-data; name="text"

テストテキスト
------WebKitFormBoundary3vA72kRLuq9D3NdL
Content-Disposition: form-data; name="star"

3
------WebKitFormBoundary3vA72kRLuq9D3NdL
Content-Disposition: form-data; name="_save"

保存
------WebKitFormBoundary3vA72kRLuq9D3NdL--

This is a HTTP POST request when adding data from the Django Admin
and  contains a character string that can not be decoded with latin1.
I think that only 'HTTP Header' needs 'WSGI encoding dance'.
Because Werkeug's 'WSGI encoding dance' is a conversion of Native String.
In PEP 3333, 'string' is treated as follows.

WSGI therefore defines two kinds of "string":
"Native" strings (which are always implemented using the type named str) that are used for request/response headers and metadata
"Bytestrings" (which are implemented using the bytes type in Python 3, and str elsewhere), that are used for the bodies of requests and responses (e.g. POST/PUT input data and HTML page outputs).
Do not be confused however: even if Python's str type is actually Unicode "under the hood", the content of native strings must still be translatable to bytes via the Latin-1 encoding! (See the section on Unicode Issues later in this document for more details.)

https://www.python.org/dev/peps/pep-3333/#a-note-on-string-types
There is Zappa in a similar library, but looking at the corresponding part of Zappa, it looks like this.
https://github.com/Miserlou/Zappa/blob/master/zappa/wsgi.py#L69
        if binary_support and (method in BINARY_METHODS):
            if event_info.get('isBase64Encoded', False):
                encoded_body = event_info['body']
                body = base64.b64decode(encoded_body)
            else:
                body = event_info['body']
                if isinstance(body, six.string_types):
                    body = body.encode("utf-8")

        else:
            body = event_info['body']
            if isinstance(body, six.string_types):
                body = body.encode("utf-8")

https://github.com/Miserlou/Zappa/blob/master/zappa/wsgi.py#L128
        environ['wsgi.input'] = six.BytesIO(body)

So, I thought 'WSGI encoding dance' to the Request body is unnecessary.

Thanks for your detailed feedback, @sin-tanaka.
I agree with your observations and that we should omit the WSGI encoding dance for the body. Comparing with the implementation from Zappa, we may want to explicitly set utf-8 as the charset when invoking to_bytes. Its signature is: to_bytes(x, charset=sys.getdefaultencoding(), errors='strict') from https://github.com/pallets/werkzeug/blob/master/werkzeug/_compat.py.
I'd like a test case to be added that fails prior to this change and passes with your change. Feel free to add this, otherwise I will do it before merging the PR.

Thanks for your work on this, @sin-tanaka. I'll publish a new release shortly.


absl/strings/string_view.h: No such file or directory

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
N/A
TensorFlow installed from (source or binary):
Source
TensorFlow version (use command below):
Latest
Python version: 2.7
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: N/A

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
I am trying to build tensorflow as a standalone project and have been following this tutorial:
https://tuatini.me/building-tensorflow-as-a-standalone-project/
Everything is working till I try to run the script. I get the following error:
g++ -std=c++11 -Wl,-rpath='$ORIGIN/lib' -Iinclude -Llib main.cpp -ltensorflow_cc -o exec
In file included from include/tensorflow/core/platform/tensor_coding.h:22:0,
from include/tensorflow/core/framework/resource_handle.h:19,
from include/tensorflow/core/framework/allocator.h:24,
from include/tensorflow/core/framework/tensor.h:20,
from include/tensorflow/cc/framework/ops.h:21,
from include/tensorflow/cc/client/client_session.h:24,
from main.cpp:9:
include/tensorflow/core/lib/core/stringpiece.h:34:38: fatal error: absl/strings/string_view.h: No such file or directory
#include "absl/strings/string_view.h"
^
Any work around for this? Thanks!

Hi @roshan-dongre does the branch you're building from have https://github.com/tensorflow/tensorflow/commit/6f0c8af9c853e4d9d4cf336101cb21d619410238?

Hi @av8ramit I'm currently on commit 506335d

So yea it should I pulled only a few hours ago

@angersson are all bugfixes in the r1.11 branch in master? Any idea as to why this error occurs?

I had to include tensorflow/contrib/makefile/downloads/absl in my header search paths

@beweinreich do you by chance have a code example of how you did it? It's still not working for me after trying that

@av8ramit is there a way to build tensorflow without creating the project inside the tensorflow repo and using bazel? I have working with a really large code base and bazel integration is unfortunately not possible. With bazel inside the repo it works but I need to be able to move it outside the repo. Thanks!

Nothing else I know of on Ubuntu unfortunately.

Hi @av8ramit thanks for answering. I need to generate an inference in C++ and typically in Linux you include an so or a library along with some headers to get it in your binary. We use a regular Makefile here, how can I accomplish this with tensorflow? Thank you

Tip of the 1.11 branch should be free of this problem, I think.
You can also use the tag for 1.11.0 release.
On Fri, Oct 5, 2018 at 12:26 AM GPhilo<EMAIL_ADDRESS>wrote:

What commit should we checkout for v1.11 to build without this issue? Both
the v1.11 tag and the branch are affected by this issue and the master's
head (at least where it was 10 hours ago when I checked it out) had a
different issue that broke builds via CMake.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/22240#issuecomment-427270426,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHlCOca_Mfdzgtm5oAq47UB-JTV_gBh3ks5uhwmpgaJpZM4WmCRZ
.

I used the tag to checkout 1.11.0 originally but I ran into this issue, I thought the commit with the fix was introduced later. Currently I went back to 1.10 and rebuilt that, I'll try again with 1.11 as soon as I have some time available

I used the tag to checkout 1.11, ran into this, and was able to use beweinreich's workaround to build an iOS app.

@beweinreich my makefile directory doesn't have a downloads directory in it. Does anyone know where else the absl file could be located?

We wouldn't have been able to deploy 1.11 if the absl headers hadn't been included in the pip package or the headers hadn't been supported by Bazel.
Note that this problem appears to be isolated to non-Bazel builds so far (the OP is running g++, RPi uses a Makefile, cmake is cmake, and I'm not sure what @lauriebyrum was using to build on iOS). Possibly there is something missing from TF's configure script or cmake scripts (like @beweinreich's header include) because our builds only test (and we only officially support) Bazel.

I'm getting the same error while building on a raspberry pi (raspbian).  Realize @angersson said only Bazel is supported but just wanted to bump this in case others are having this issue too.  I will try the solution mentioned by @jrse
make -f tensorflow/contrib/pi_examples/label_image/Makefile gcc --std=c++11 -O0 -I/usr/local/include -I. -I/home/pi/Documents/git/tensorflow/tensorflow/contrib/pi_examples/label_image/../../makefile/downloads -I/home/pi/Documents/git/tensorflow/tensorflow/contrib/pi_examples/label_image/../../makefile/downloads/eigen/ -I/home/pi/Documents/git/tensorflow/tensorflow/contrib/pi_examples/label_image/../../makefile/gen/proto/ -I/home/pi/Documents/git/tensorflow/tensorflow/contrib/pi_examples/label_image/../../makefile/gen/proto_text/ -c tensorflow/contrib/pi_examples/label_image/label_image.cc -o /home/pi/Documents/git/tensorflow/tensorflow/contrib/pi_examples/label_image/gen/obj/tensorflow/contrib/pi_examples/label_image/label_image.o In file included from ./tensorflow/core/platform/tensor_coding.h:22:0,                  from ./tensorflow/core/framework/resource_handle.h:19,                  from ./tensorflow/core/framework/allocator.h:24,                  from ./tensorflow/core/framework/tensor.h:22,                  from tensorflow/contrib/pi_examples/label_image/label_image.cc:33: ./tensorflow/core/lib/core/stringpiece.h:29:38: fatal error: absl/strings/string_view.h: No such file or directory  #include "absl/strings/string_view.h"                                       ^ compilation terminated. tensorflow/contrib/pi_examples/label_image/Makefile:79: recipe for target '/home/pi/Documents/git/tensorflow/tensorflow/contrib/pi_examples/label_image/gen/obj/tensorflow/contrib/pi_examples/label_image/label_image.o' failed make: *** [/home/pi/Documents/git/tensorflow/tensorflow/contrib/pi_examples/label_image/gen/obj/tensorflow/contrib/pi_examples/label_image/label_image.o] Error 1

I had to include tensorflow/contrib/makefile/downloads/absl in my header search paths and that worked for me.

I'm on f905324 and cannot see any downloads/ inside tensorflow/contrib/makefile/

(@pbertoni ) did you find a solution for this?

I had to include tensorflow/contrib/makefile/downloads/absl in my header search paths and that worked for me.

I'm on f905324 and cannot see any downloads/ inside tensorflow/contrib/makefile/

in contrib/makefile，run buildd_all_linux.sh

Note that master branch no longer has contrib. If you rely on contrib being there, please move to newer APIs.