kube-ovn-controller needs GC.

First i delete kube-ovn-controller, then i delete my pod. in ovn-northbound DB the lsp corresponding the pod which is deleted also exist.
Although the operation is not normal, but with gc the controller will work better.

Yes, kube-ovn need the gc part to reconcile the data between ovn-northbound db and kubernetes apiserver


Removal bad merge artifact

This is not used, was meant to be deleted

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
6443813f6dff43164f2003a164fdaf746ef79781
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


UTF-8 cyrillic strings cause System.FormatException

It's impossible to send pure strings with any cyrillic letters.
Steps to reproduce:

Hub method
public async Task Say(string text)
Client.js
_connection.send("Say", "тест");

Server debug shows that:
System.FormatException: Missing delimiter ';' after payload
Is it a JSON serialization issue?

This is a dupe of https://github.com/aspnet/SignalR/issues/550.


Allow using a ConnectionPool object for the Redis storage

Currently apps are required to pass in a single Redis connection object. If the service is using Sidekiq or Puma, it's likely to be using multiple threads, and thus concurrent access to Verdict storage may cause waiting. By allowing the app to pass in a ConnectionPool instead, multiple threads can concurrently access the Redis.

Do you plan to write the changelog / bump the version in another commit/PR ?

@Sybil yes, that seems how other releases are done.


Tuan linh/update tangle

Summary of changes
Tangle front-end updates according to @monaiuu commented
Proposed area of change
Put an x in the boxes that apply.

[ ] apps/bridge-dapp
[ ] apps/stats-dapp
[ ] apps/webbsite
[ ] apps/faucet
[x] apps/tangle-website
[ ] libs/webb-ui-components

Reference issue to close (if applicable)
#1192
Screen Recording
If possible provide a screen recording of proposed change.

Code Checklist
Please be sure to add .stories documentation if any additions are made to libs/webb-ui-components.

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

LGTM!
Thoughts on adding an extra card to the Get Involved section? We removed the Github card from the initial design, and now it looks a bit odd having the whitespace.
Deployment Preview:

Proposed:
Adding something related to incentivized testnet:

(feel free to improve the copy)

LGTM @monaiuu!


PoC: timeshift playback for online tv

Required Info

Host Operating System & Version
{Ubuntu 20.04.2 }

Kernel Version (Linux Only)
(5.x)

Branch
{ kantv }

Android Studio Version
4.2.1

NDK Version
NDK-r14b

Xcode Version
12.5

Language
{C/C++/Java }

Section
{  playback  }

PoC Description
timeshift playback for online tv

close the PoC at the moment. It will be reopened if any user of apk submit a similar suggestion


⚠ gorzdrav.org has degraded performance

In 0dca5b9, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 1598 ms

Resolved: gorzdrav.org performance has improved in 7352859.


Twitter embed not showing in webview

This sounds similar to  #1007

Could be similar to what @cookieguru mentioned with #1007 if @iteearmah is running on Tabris.js 1.x. In 2.x we have migrated from the RelativeLayout to the ConstraintLayout where this problem should not show up anymore.
Workaround for Tabris.js 1.x is described here: https://github.com/eclipsesource/tabris-js/issues/1007#issuecomment-254472466

There might be something going on with Twitter's JavaScript.  I tossed the code in to codepen.io and it works as expected but tested in Tabris.js 2.0 with the following snippet:
new tabris.WebView({
  left: 0, top: 0, right: 0, bottom: 0,
  html: '
' +
    'asdf
' +
    ''
}).appendTo(tabris.ui.contentView);

And it does not display.  Note the asdf inside the  which should display as a fallback if Twitter's JS does not execute.  It is breifly displayed on screen however gets pushed down due to other code executing and the display remains blank.

maybe i falls back a mobile version of he site which requires some meta-data headers in the grounding  html document.

@mpost This HTML doesn't work either:
'<!DOCTYPE html>' +
'' +
'' +
	'<meta name="viewport" content="width=device-width">' +
'' +
'' +
	'
' +
	'asdf
' +
	'' +
'' +
''

@cookieguru Okay, thanks for trying.

twitter api is using csp which lead to a check in chromium...
I/chromium: [INFO:CONSOLE(0)] "Refused to display 'https://twitter.com/i/videos/tweet/854653006461140992?embed_source=clientlib&player_id=0&rpc_init=1&language_code=en&use_syndication_guest_id=true' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors *".", source: about:blank (0)
META tags in HTML wont help as the spec states that frame-ancestors options within META MUST be ignored...
need to find something else here...

This one is working

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    WebView wv = (WebView)findViewById(R.id.webview);
    WebSettings settings = wv.getSettings();
    settings.setLoadWithOverviewMode(true);
    settings.setUseWideViewPort(true);
    settings.setBuiltInZoomControls(true);
    settings.setDisplayZoomControls(false);
    settings.setJavaScriptEnabled(true);
    settings.setDomStorageEnabled(true);
    settings.setSupportMultipleWindows(true);

    wv.loadDataWithBaseURL("http://localhost", "<!DOCTYPE html>\n" +
        "\n" +
        "\n" +
        "    <meta name=\"viewport\" content=\"width=device-width\">\n" +
        "    \n" +
        "\n" +
        "
\n" +
        "    asdf
\n" +
        "\n" +
        "\n" +
        "", "text/html", "utf-8", null);
  }
}

This one is not working :+1:

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    WebView wv = (WebView)findViewById(R.id.webview);
    WebSettings settings = wv.getSettings();
    settings.setLoadWithOverviewMode(true);
    settings.setUseWideViewPort(true);
    settings.setBuiltInZoomControls(true);
    settings.setDisplayZoomControls(false);
    settings.setJavaScriptEnabled(true);
    settings.setDomStorageEnabled(true);
    settings.setSupportMultipleWindows(true);

    wv.loadDataWithBaseURL("/", "<!DOCTYPE html>\n" +
        "\n" +
        "\n" +
        "    <meta name=\"viewport\" content=\"width=device-width\">\n" +
        "    \n" +
        "\n" +
        "
\n" +
        "    asdf
\n" +
        "\n" +
        "\n" +
        "", "text/html", "utf-8", null);
  }
}

as it loads data with unauthorized base url. Authorized url are given in a twitter response header :+1:
content-security-policy:default-src 'self' http://localhost:* http://localhost.twitter.com:* https://*.twitter.com https://*.twimg.com https://vine.co https://*.vine.co https://*.periscope.tv https://*.pscp.tv; connect-src 'self' http://localhost:* http://localhost.twitter.com:* https://*.twitter.com https://*.twimg.com https://vine.co https://*.vine.co https://*.periscope.tv https://*.pscp.tv https://nowthismedia.com https://nowthisnews.com https://cliptamatic.com https://snappytv.com https://grabyo.com https://umrss.com https://unicornmedia.com https://vevo.com https://mlb.com https://yesnetwork.com https://*.nowthismedia.com https://*.nowthisnews.com https://*.cliptamatic.com https://*.snappytv.com http://*.snappytv.com https://*.grabyo.com https://*.umrss.com https://*.unicornmedia.com https://*.vevo.com https://*.mlb.com https://*.yesnetwork.com https://*.apple.com https://*.organicfruitapps.com https://*.soundcloud.com https://*.spotify.com https://anchor.fm https://*.bumpers.fm https://bumpers.fm https://*.spinrilla.com https://spinrilla.com http://*.hungama.com http://hungama.com https://*.akamaihd.net http://*.akamaihd.net; font-src 'self' http://localhost:* http://localhost.twitter.com:* https://*.twitter.com https://*.twimg.com https://vine.co https://*.vine.co https://*.periscope.tv https://*.pscp.tv data:; frame-src 'self' http://localhost:* http://localhost.twitter.com:* https://*.twitter.com https://*.twimg.com https://vine.co https://*.vine.co https://*.periscope.tv https://*.pscp.tv; frame-ancestors *; img-src 'self' http://localhost:* http://localhost.twitter.com:* https://*.twitter.com https://*.twimg.com https://vine.co https://*.vine.co https://*.periscope.tv https://*.pscp.tv https://nowthismedia.com https://nowthisnews.com https://cliptamatic.com https://snappytv.com https://grabyo.com https://umrss.com https://unicornmedia.com https://vevo.com https://mlb.com https://yesnetwork.com https://*.nowthismedia.com https://*.nowthisnews.com https://*.cliptamatic.com https://*.snappytv.com http://*.snappytv.com https://*.grabyo.com https://*.umrss.com https://*.unicornmedia.com https://*.vevo.com https://*.mlb.com https://*.yesnetwork.com https://*.apple.com https://*.organicfruitapps.com https://*.soundcloud.com https://*.spotify.com https://anchor.fm https://*.bumpers.fm https://bumpers.fm https://*.spinrilla.com https://spinrilla.com http://*.hungama.com http://hungama.com https://*.akamaihd.net http://*.akamaihd.net data:; media-src * blob:; object-src 'self' http://localhost:* http://localhost.twitter.com:* https://*.twitter.com https://*.twimg.com https://vine.co https://*.vine.co https://*.periscope.tv https://*.pscp.tv; script-src 'self' http://localhost:* http://localhost.twitter.com:* https://*.twitter.com https://*.twimg.com https://vine.co https://*.vine.co https://*.periscope.tv https://*.pscp.tv; style-src 'unsafe-inline' 'self' http://localhost:* http://localhost.twitter.com:* https://*.twitter.com https://*.twimg.com https://vine.co https://*.vine.co https://*.periscope.tv https://*.pscp.tv; report-uri https://twitter.com/i/csp_report?a=NVQWGYLXFVYGYYLZMFRGYZJNNVSWI2LB&ro=false;

Twitter API is callling at some point parent.postMessage(undefined, '*') from an IFRAME to start the video but this call is intercepted by an Android JavascriptInterface attached to the WebView and the message is never delivered to the parent Window.
In addition to this we should make it possible to configure the baseUrl argument for the call to WebView#loadDataWithBaseURL() so that the baseUrl matches one of the authorized "frame-ancestor"


Evaluate appropriateness of Atom-IDE

There are a decent number of features that might overlap Atom-IDE like a filterable outline, context based autocomplete, and syntax errors.  Is it crazy to think about making a Fountain language server and letting Atom-IDE handle the GUI aspects?

As in embed a small server into the ATOM/electron runtime?  Sure if it would help. I'm not quire sure I understand the reasons for needing a server. We are in a sense storing the script in memory as it is.  or you thinking an online server? I'd want local caching if that's the case, would rather not be tied to the net.

My (weak) understanding is that it would be a small server initiated by Atom.  I think it's a way to standardize how every language package has similar presentation (outline, smart renaming, autocomplete), but different logic for the operations.  So, Atom just asks the Fountain language server to generate an outline, and then the language server responds with the info Atom-IDE needs to show it in the standard format.  I think this is a lmuch ower priority than the draggable outline and PDF stuff.

It does sounds like a cool idea... better integrated.  And I'm not too familiar with the language server thing... but being able to drop more of the responsibility on Atom would definitely be better.  This wouldn't mean delegating all of the rendering to Atom, right?  That seems like it might be a challenge... but delegating more to Atom where it excels might save you long-term.


How can I have []byte array in a struct that is passed as my Context

Summary
I need to pass some byte[] array in addition to a few other values as my Context data. The unsafe Pointer thing with CGO seems to limit passing pointers with things other that value types.
Do you know of a workaround to allow passing more complex context object around.

Unfortunately, cgo has some runtime constraints about pointers passed to C. Everything is explained here https://tip.golang.org/cmd/cgo/#hdr-Passing_pointers.
If you share your exact usecase, maybe I can help?

Hi, I think I'm running into a similar issue as the reporter. At a high level, I'm trying to write a wrapper that will use go-ext-wasm to wrap a wasm module generated in rust via wasm-bindgen. Modules produced with wasm-bindgen require some external implementation of a heap, so that needs to be passed around as context data to the import implementations, but can't be done because of the pointer passing problem.

To add to the above, wasm-bindgen module imports might also need to call back into the instance itself in order to allocate slices of the module memory, for example. So the context data would also need to include a reference to the module instance itself, so that the implemented imports can call back into the instance.

Can you give an example so that I could replicate your issue please?

I think it's as simple as doing:
instance.SetContextData(unsafe.Pointer(&instance))

which results in:
panic: runtime error: cgo argument has Go pointer to Go pointer

If there isn't a way to include the original instance in the context data somewhere (whether directly or as part of a larger structure), there isn't a way to call its exports from within one of its imports.

there isn't a way to call its exports from within one of its imports.

Sorry, I don't understand.

For example, wasm-bindgen expects an import with the following signature:
func __wbindgen_json_serialize(context unsafe.Pointer, memStrDst, heapObjSrc int32) {
    // ...
}

The implementation of this function is expected to allocate memory for the JSON serialization of a heap object. wasm-bindgen exports a function called __wbindgen_malloc that can be called to allocate that memory. To call this, you would normally do:
instance.Exports["__wbindgen_malloc"](size)

for the current instance. So basically you need access to the current instance from within your implementation of __wbindgen_json_serialize. Ideally this could be passed in as instance context data via instance.SetContextData(unsafe.Pointer(&instance)) so that you could just do:
func __wbindgen_json_serialize(context unsafe.Pointer, memStrDst, heapObjSrc int32) {
    // ...

    instanceContext := wasmer.IntoInstanceContext(context)
    instance := *wasmer.Instance(instanceContext.Data())
    instance.Exports["__wbindgen_malloc"](size)

    // ...
}

But that leads us to the problem above where cgo prevents passing the instance pointer to C.

The safe way of "passing" Go objects to cgo is to have a global array of Go objects and pass the index to cgo.
A fast but unsafe way is to somehow obfuscate the pointer at cgo boundaries, for example by bit-flipping. You need to make sure the pointer is kept somewhere else so that it won't be collected by the GC too early.

The safe way of "passing" Go objects to cgo is to have a global array of Go objects and pass the index to cgo.

Thanks, I suspected this was the case and was about to give it a try. I'm still hoping it's avoidable via some other approach but I guess those are the limitations we're dealing with.

Can you try with the latest version of master please? #85 is likely to address your need.

Closing the issue. Please re-open if #85 doesn't solve your issue. Thanks!


fix(@embark/profiler): Fix profile output and update messaging

What did you refactor, implement, or fix?
The profiler was not formatted correctly in the console as util.inspect was being applied to the ASCII table before being output to the console REPL.
In addition, functions containing solidity assertions (require, revert, assert) that cause the function to fail when estimating gas would print an error to embark’s console log, and would show nothing as their gas estimate in the table.
How did you do it?
Do not util.inspect command output if the result is a string. For API commands being run, allow the command to specify whether or not the output of the command should be HTML escaped. This could pose security risks!
For functions that have errors during gas estimation, add a message in the embark console explaining that the error may be due to solidity assertions in the function that prevent the gas from being estimated correctly. For functions that error, show -ERROR- in the gas estimation column. Additionally, show a description in the table footer explaining that the error may be due to solidity assertions in the function.
For events with no gas estimate, show -EVENT- in the gas estimate column of the profile table, and a description in the table footer explaining that there is no gas estimate for events.
Warnings
This PR allows the console command to specify whether or not it should allow for a string result of the command to be HTML-escaped before being sent in the API response. Combining this with Cockpit’s dangerouslySetInnerHTML, this could allow a plugin to register a console command that injects XSS in to Cockpit.
Screenshots

All comments have been addressed. There is one new XSS security risk, which I've noted in the PR description.
string output from commands is being HTML-escaped before being sent to the API response as a means of preventing XSS.  This means that we won't be able to prevent escaping of characters as shown in the last screenshot.


Filepicker.html example don't redirect to portal when using Firefox

I discovered another issue in Firefox, tried the DISVIS portal but clicking on “choose VRE file” redirects to https://milou.science.uu.nl/cgi/servicesdevel/DISVIS/disvis/filepickercomponent.htmland returns HTTP 404 Not Found. In Chrome it redirects to portal.west-life.eu, so I need to figure out how the script precedence before  is processed in Firefox and let you know.
I could indeed replicate the error with Firefox, no new window and a 404 error. It works fine with Safari by the way.

It’s because the openwindow() fails on reference not found
target = event.target.parentNode.getAttribute('for');
firefox might contain the target at event.originalTarget.parentNode.getAttribute('for');
Either fix the routine for Firefox or may be add an explicit element-id to the target
I’ve update the instructions at https://tomaskulhanek.gitbooks.io/west-life-virtual-folder-documentation/content/integration-guide/link-component.html
In this manner.


Change DB emulation to an actual database engine

Currently, H2 is used to emulate the database during integration tests but in production PostgreSQL and MySQL are supported.
It would be best that during integration tests PostgreSQL is upped via docker flyway is ran to populate the database in a way similar to production deployment. Then the tests can run on an actual database.
The test environment will be much closer to actual production deployment this way.

This was finalized in #46


Minor code improvement on UWP sample.

Fixes #15

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/get-started-uwp.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


panic: json: unsupported type: map[int]bool

Hi,
While executing "go run 2_mkgraphs.go /data/planet.osm.pbf /data/rawgraphs/", I am encountering following error:
panic: json: unsupported type: map[int]bool
goroutine 1 [running]:
panic(0x7f6ec0, 0xc822928300)
/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
main.main.func1(0xc82000f120, 0x2, 0x2, 0xc82004db70, 0x7ffc0bfd807b, 0x12, 0xc820018180, 0x2, 0x2)
roadtracer/dataset/2_mkgraphs.go:53 +0xd2
main.main()
roadtracer/dataset/2_mkgraphs.go:58 +0xcc5
exit status 2
Looking at the code :
bytes, err := json.Marshal(motorwayEdges[i])
if err != nil {
panic(err)
}
Its failing because json.Marshal takes only strings as key. while
motorwayEdges := make([]map[int]bool, len(boundList)) ismade using int as keys.
Am I missing something here.
How to solve this issue.

Add following code to resolve the issue
mwE := make(map[string]bool)
for key, value := range motorwayEdges[i] {
           mwE[strconv.Itoa(key)] = value
}

or upgrade golang-go to ver 1.10.1 on ubuntu.


Build is broken

gradle realclean build
...
> gulp compile

[14:27:54] Using gulpfile ~/work/projects/beaker/beaker-notebook/core/gulpfile.js
[14:27:54] Starting 'compile'...
[14:27:54] Starting 'namespaceIPythonCss'...
[14:27:54] Finished 'namespaceIPythonCss' after 159 ms
[14:27:54] Starting 'compileBeakerScss'...
[14:27:54] Finished 'compileBeakerScss' after 603 ms
[14:27:54] Starting 'compileBeakerTemplates'...
[14:27:55] Finished 'compileBeakerTemplates' after 153 ms
[14:27:55] Starting 'buildIndexTemplate'...
[14:27:55] Finished 'buildIndexTemplate' after 1.3 ms
[14:27:55] Starting 'buildOutputDisplayTemplate'...
[14:27:55] Finished 'buildOutputDisplayTemplate' after 12 ms
[14:27:55] Finished 'compile' after 933 ms
fs.js:887
  return binding.lstat(pathModule._makeLong(path));
                 ^

Error: ENOENT: no such file or directory, lstat '/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/src/main/web/app/genweb/beakerApp.css'
    at Error (native)
    at Object.fs.lstatSync (fs.js:887:18)
    at DestroyableTransform.TransformStream [as _transform] (/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/node_modules/gulp-header/index.js:38:12)
    at DestroyableTransform.Transform._read (/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:159:10)
    at DestroyableTransform.Transform._write (/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:147:83)
    at doWrite (/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:313:64)
    at writeOrBuffer (/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:302:5)
    at DestroyableTransform.Writable.write (/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:241:11)
    at write (/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/mnavasiolava/work/projects/beaker/beaker-notebook/core/node_modules/readable-stream/lib/_stream_readable.js:632:7)

gulp-header 1.8.3 version has been released several hours ago. since then our build is broken.
if we fix gulp-header version at 1.8.4 this will solve the problem


Please invite me to the Recode-Hive GitHub Community Organization

Name
Siddhanth
Discord Username (if applicable)
No response
Additional Context
To explore Open Source

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/recodehive/people


Users are confused about package filenames

Issue: Clients have complained to me because of confusion about package versions:

They download the K package from GitHub to install K as needed by a K project. The downloaded filename is something like kframework_5.0.0_amd64_bionic.deb. Let's assume this user does not clean-up their downloads folder very regularly.
Later, the K project incorporates a new K feature, which requires updating the global K to the latest installed K.
They now download the latest K package from GitHub to re-install K because the project requires this. The downloaded filename for this new version is also kframework_5.0.0_amd64_bionic.deb. The system automatically renames this file to avoid clobbering the original.
The user now believes that they have downloaded the same file twice, when, in fact, they have not, and questions whether the re-installation instruction procedure is correct.

Proposal: Append git commit ids to downloadable packages from GitHub.
This solution would solve the problem because the two downloaded package files would, with very high probability, have different package names.

We'll append the date/time to the package name, with %Year%Month%Day%Hour%Minute, which should be enough to keep from name clashes there.
eg. kframework_5.0.0_amd64_bionic_%Year%Month%Day%Hour%Minute.deb


refactor(services): refactor fetch hooks and implement ISR

📝 Changed routes:

/
/indonesia

(view full size)
(view full size)

Commit b7d76fcdda001e8c2d8f49937e2657ed94027fcc (https://covid-19-data-gtd64dqvb-sozonome.vercel.app).


Update templates for HEAppE v2

Need to update jobs and tasks in application templates to take into account HEAppE v2 interface changes

Addressed by pull request #10


Machine health check support for multi worker node group

What happened:
When adding machine health check for snow provider: #2721, I realize all the other providers do not support multi worker node group machine health check.
https://github.com/aws/eks-anywhere/blob/main/pkg/providers/vsphere/config/machine-health-check-template.yaml#L12
The template only generate one worker machine health check for machine that has the hardcoded label cluster.x-k8s.io/deployment-name: "{{.clusterName}}-md-0". This machine might not even exist if user specify a custom worker node group name other that the default md-0.
What you expected to happen:
We should generate machine health check for every single worker node group / machine deployment. #2721 covers most of the logic but the API builder is not widely used in other provider than snow yet.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

EKS Anywhere Release:
EKS Distro Release:

#2751


Why doesn't MatterJS make more use of the prototype pattern?

Plop,
We use the MatterJS objects as follow:
var myEngine = Matter.Engine.create(...);
Matter.Engine.run(myEngine);

I personally love the prototype pattern, which would allow to write myEngine.run() instead of going through Matter.Engine again. Why doesn't MatterJS use it? I'm just curious about it.

Hey Aralun,
I can't speak for the author, but I used to love using a prototypal pattern too, especially coming from an ActionScript background. Then I read the following and now I much prefer the style that MatterJS is written in. These are slightly lengthy reads (at least by todays standards), but well worth it:
Two pillars of JavaScript (Part 1 / Part 2)
You Don't Know JS (In particular, the chapter on this and object prototypes)
Hopefully they will give you a better understanding to the approach taken and the advantages that come with it!

Well THANK YOU, I wanted to be productive today. GUESS NOT.
Thanks for the links. To me, it kinda seems like a pointless excess of code, so I'm definitely missing something. Coming back here tonight when I have read all that.

15 days later, and after reading a good dozen of articles, I still don't understand why MatterJS is using this kind of code rather than using the Prototype chain. In my own limited vision of it, it's just inducing more code to write and not using one of JS most powerful feature. The articles that @marlonicus provided rather speak for the prototype pattern, not for the namespace use.
If this is not the right place to discuss it, please accept my apologies and close as resolved.

@marlonicus thanks for providing those links, they're a pretty good explanation - it's also interesting to see others advocating this, because until recently I'd not seen many other people doing it in JS!
Matter.js is largely written in functional style code rather than OOP. This is mostly because it's a style of coding I prefer in general, rather than any big decision about its advantages for Matter.js in particular. It was a bit of an experiment to use it on a larger project like this, but I like how it turned out.
I like this style because it makes my code more modular and composable both for functions and objects. It also helps promote loose coupling, which is easier to reason about and test. Although they don't all fully apply to JS, I really like the ideas of pure functions, non-mutability, minimal side effects and avoiding state etc.
The way I see it, all objects in Matter.js are just data models describing the state of a world at a particular instance in time. You can therefore describe a complete Matter.js world purely in JSON and then run it as-is with out any further interpretation (actually I'm lying, technically you need to handle circular references due to limitations of JSON, there are libs that can do this).
The functions in Matter.js are grouped by namespaced modules, but that doesn't mean that they are actually tied to any particular type of object, it's just a convenient logical organisation.
I like to leverage duck typing where appropriate. Given that the inputs satisfy the dependencies of these functions, they will happily do their work on what ever types of object you supply. A good example in Matter.js of this at work is the Events module.
That events module will not only work on any object in Matter.js, it will work on any object in JavaScript. You can lift that module as-is and use it standalone in any JS project you like with literally no changes to the code in that module or changes in your own code, it should just work (well, assuming there's no naming clashes).
The same goes for many other modules, including the Vector module. Again, this will work on any objects that define the properties x and y, it doesn't matter what prototype they inherit from.
Note that the object.method() style syntax itself isn't incompatible with the above concepts (as you can simply consider this as and example of partial application), but it would be tricky to implement this in a clean way into the current code base.
Basically, it's worth looking into functional programming if you haven't already!

Oh, I see know. Perfect timing because I also happen, thanks to @marlonicus, to delve into this weird world of functional programming... I enjoy it a lot. I actually am applying it right now in a couple side-projects.
I didn't even think about MatterJS this way. It makes a lot of sense. Thanks for the insights!

No problem, learning about FP really changes the way you think about programming, it's definitely worth it!

@liabru

winnings 0
the excess code is
your problem is solved by mixins.


Print commitId when rialto components start

Summary: Print commitId when rialto components start
Type: Feature
Test Plan: Unit Tests & FullStack
Jira: RIALTO-221

https://jenkins.code.rdkcentral.com/job/github-triggered/32895/ started

https://jenkins.code.rdkcentral.com/job/build-component/70087/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1669/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3322/ started.

build-rpi-mc-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/21198192fc4ad5967f13dde182564b2a

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/bc7661185714191e95361115d3de2e67

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1670/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3329/ started.

build-rpi-mc-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/f19cf427f09107a9e6c2952e8b1bef42

build-rpi-hybrid-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/a271c366fcf40de705f5c83a7c7303c1

build-rpi4-hybrid Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/abe97b44b005cc1997bb492c5a26f4e9

https://jenkins.code.rdkcentral.com/job/build-component/70215/ started.

build-rpi4-mc Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/fdbe01bfebccd316efc8e5ceeda7a217

build-rpi-hybrid-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/f0c42a6f6750692d7664d21908330ce5

build-rpi-mc-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/f9151ed0cf0e4b2c4bccfbd8d9f9b3f5

https://jenkins.code.rdkcentral.com/job/github-triggered/32949/ started

https://jenkins.code.rdkcentral.com/job/build-component/70227/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1699/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3449/ started.

build-rpi-mc-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/8c57b8f383ad3490171db49b0b6ddea9

build-rpi-hybrid-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/74cb2c7dd537ecf5b324f629abc62ce9

build-rpi4-mc Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/6f014c217d6191e876f829e5de9c8ae4

build-rpi4-hybrid Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/e9af6430e765aa65caf98bef8b197824

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/4784dc01a54063446b73664d12ea3a72

https://jenkins.code.rdkcentral.com/job/github-triggered/32981/ started

https://jenkins.code.rdkcentral.com/job/build-component/70321/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1715/ started

build-rpi-hybrid-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/242d0629e38b51740b9584fc31e069af

build-rpi4-mc Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/fb6bf4259519618a6ec3867e8b36d095

build-rpi4-hybrid Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/c65c756e41a823ae387133fb3425f992

build-rpi-mc-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/6d538232730e6e1175ffc8321f403046

https://jenkins.code.rdkcentral.com/job/build-component/70449/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1774/ started

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/b79c0c2a6ab46f587a4c8bd77541d082

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8529/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8528/

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1780/ started

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/2933676cd7a05fb1e6a2dbc28d3155b9

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8534/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8535/

https://jenkins.code.rdkcentral.com/job/github-triggered/33152/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1804/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3741/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/33154/ started

https://jenkins.code.rdkcentral.com/job/build-component/70554/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3742/ started.

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/cb2efe061decb160a0d8f15f1614a417

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/8d752db3667063669316883f071ba294

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8802/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8801/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8803/

https://jenkins.code.rdkcentral.com/job/github-triggered/33171/ started

https://jenkins.code.rdkcentral.com/job/build-component/70563/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1814/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3754/ started.

https://jenkins.code.rdkcentral.com/job/build-component/70566/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3756/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/33179/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1818/ started

https://jenkins.code.rdkcentral.com/job/build-component/70568/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/1819/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/33181/ started

https://jenkins.code.rdkcentral.com/job/build-component/70569/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3758/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/3759/ started.

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/3b878850ab5374616a7b75c73699e387

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8821/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8820/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8823/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8827/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8829/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8830/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8831/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8833/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/8834/


Fix: CREATE and CREATE2 return values on failure (#142)

That 0 is returned on failure.
Also more notes describing reasons for failure and how the addresses are
calculated.

Thanks for the great addition :-)


[BUG] big-agi doesn't show list of model for Ollama provider

Describe the bug
big-agi doesn't show a list of models for Ollama provider.
If I have an ollama model that doesn't contain PARAMETER in Modelfile big-agi will return 500 code for  request /api/trpc-edge/llmOllama.listModels
Here is information that only FROM field is required in Modelfile: https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md#format
so it confirms what in ollama endpoint response /api/show only field modelfile is requered.
To Reproduce
Add ollama model without PARAMETER in Modelifle example
ollama pull g1ibby/deepseek

Check what model doesn't have PARAMETER:
curl http://localhost:11434/api/show -d '{"name": "deepseek:latest"}' | jq .

Trying to get list of ollama models:
curl 'http://localhost:3000/api/trpc-edge/llmOllama.listModels?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22access%22%3A%7B%22dialect%22%3A%22ollama%22%2C%22ollamaHost%22%3A%22http%3A%2F%2F<IP_ADDRESS>%3A11434%22%7D%7D%7D%7D' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Referer: http://localhost:3000/' -H 'content-type: application/json' -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache'

it returns 500 code.
Expected behavior

Screenshots / context

Thanks, closed by #240. Added to the Roadmap and 1.6.0 milestone as well.


Captcha resolver Support

Do you hace plans to support captcha resolvers, for example h2captcha?
like https://www.npmjs.com/package/puppeteer-extra-plugin-recaptcha

Yeah, we'll have some support. We just haven't had the direct need or time yet to address them. Obviously it's a needed solution though. Are you a fan of the puppeteer-extra approach?

Not a fan, but stealth and recaptcha works, i am a scrapper, i use any thing that works lol

Can you give me an example how to use the actual support of captcha resolver?

We don't have support at the moment. I meant to answer that yes, we plan to support. We just haven't done so yet.

I would like to implement it, I found article that explains how to do it, puppeteer, from scratch.
But that solution requires injecting a response from the captcha solver directly into the dom.
I couldn't figure out how to do it in a secret agent.
If someone could explain to me how to do it I will try to bring captcha solving into secret agent ;)
Have a nice day
Snippet that I struggle to implement in secret agent.
await page.evaluate(`document.getElementById("g-recaptcha-response").innerHTML="${response}";`);

I would like to implement it, I found article that explains how to do it, puppeteer, from scratch.
But that solution requires injecting a response from the captcha solver directly into the dom.
I couldn't figure out how to do it in a secret agent.
If someone could explain to me how to do it I will try to bring captcha solving into secret agent ;)
Have a nice day
Snippet that I struggle to implement in secret agent.
await page.evaluate(`document.getElementById("g-recaptcha-response").innerHTML="${response}";`);

@magicaltoast https://github.com/ulixee/secret-agent/tree/main/plugins/execute-js

@magicaltoast, that was a quick find! We only pushed that code last night ;)
@maximseshuk, the plugin support needed for implementing a captcha resolver is in the new version pushed last night, however, the documentation for plugins is not ready yet. I will work on it Thursday and push to website by end of week.

if you need tester, i have an account of h2captcha service :D

I am trying to code something more 'advanced' than just injecting token every time when captcha is encountered.
And currently I am struggling to wait for any of two elements.
Current work around is just specify a timeout and second element will just throw and error, which is not optimal solution because browser is waiting the whole time
        const result = await Promise.race([
            mark_function(async () => { await challengeFrame.waitForElement(failureSelector, { waitForVisible: true, timeoutMs: 7500 }) }, 0),
            mark_function(async () => { await challengeFrame.waitForElement(successSelector, { waitForVisible: true, timeoutMs: 7500 }) }, 1)
        ])

Currently I am working on recaptcha and this is my progress so far

[x] Extracting  data-key for recaptcha
[x] Try to click and check if it's done
[x] Try to click for sound captcha
[x] Extracting source of sound if sound captcha is not available
[ ] Ability to use multiple providers at the same time (I am thinking round-robin or in case of backup when first providers doesn't work)
[ ] Integration with any of capcha solver services
[ ] Defined interface for capcha solver service or sound solver service

I am planning to integrate CaptchaHarvester and PocketSphinxJs tomorrow

@magicaltoast, yes, we have a feature deficiency in not having an easy/good way to wait for any of two elements. We are aware of this, and we are actively discussing some options.
Can't wait to use your captcha resolver! Thanks for taking the lead on this!

@magicaltoast you have a prototype of captcha resolver??? I need to develop one for hCaptcha and reCaptcha, maybe i can contribute to your captcha resolver ?
Thanks

Here is my dirty version of captcha resolver, https://gist.github.com/magicaltoast/1fe097b92272aad8a972a52fe87968c2 .
I got stuck because there is no good voice to speech model for node, I currently I have not enough time to convert some python model to onnx, then create some bindings in c/c++/rust to node. I really don't want to run some model on web assembly or javascript, because it's a waste of processing power in my mind. Also, I would good idea to implement a system for reporting captchas solved incorrectly, if you want to collaborate let me know

Thanks @magicaltoast , i will take a look, maybe we can start resolving image captchas, hcaptchas, recaptchas v2 and v3, using an captcha resolver, i use https://2captcha.com/, and in the futre implements somethig cheap or free :D, what do you think?

@ctaity That would be cool, I would suggest implementing a captcha resolver as an interface rather than hardcoding calls to 2captcha, to give people the ability to add new providers without rewriting all code


Connection Error

When running this command:
python run.py --path_to_vm Ubuntu/Ubuntu.vmx --headless --observation_type screenshot --model gpt-4-vision-preview --result_dir ./results
The first task executes well, but the second task raises a connection error:
[2024-04-21 22:18:34,863 INFO run/155-MainProcess] [Example ID]: 7b6c7e24-c58a-49fc-a5bb-d57b80e5b4c3
[2024-04-21 22:18:34,863 INFO run/159-MainProcess] [Instruction]: Can you help me clean up my computer by getting rid of all the tracking things that Amazon might have saved? I want to make sure my browsing is private and those sites don't remember me.
[2024-04-21 22:18:50,342 INFO desktop_env/212-MainProcess] Resetting environment...
[2024-04-21 22:18:50,343 INFO desktop_env/214-MainProcess] Switching task...
[2024-04-21 22:18:50,345 INFO desktop_env/219-MainProcess] Setting counters...
[2024-04-21 22:18:50,345 INFO desktop_env/224-MainProcess] Reverting to snapshot to init_state...
[2024-04-21 22:18:57,545 INFO desktop_env/228-MainProcess] Starting emulator...
[2024-04-21 22:18:58,152 INFO desktop_env/112-MainProcess] Starting VM...
[2024-04-21 22:19:14,652 INFO desktop_env/109-MainProcess] VM is running.
[2024-04-21 22:19:14,654 INFO desktop_env/230-MainProcess] Emulator started.
[2024-04-21 22:19:14,655 INFO desktop_env/232-MainProcess] Get meta info of the VM...
[2024-04-21 22:19:15,065 INFO python/76-MainProcess] Command executed successfully: {
  "error": "",
  "output": "Linux\n",
  "returncode": 0,
  "status": "success"
}

[2024-04-21 22:19:15,124 INFO desktop_env/236-MainProcess] Setting up environment...
[2024-04-21 22:19:15,156 INFO setup/230-MainProcess] Command executed successfully: google-chrome --remote-debugging-port=1337 launched successfully
[2024-04-21 22:19:15,158 INFO setup/62-MainProcess] SETUP: _launch_setup({'command': ['google-chrome', '--remote-debugging-port=1337']})
[2024-04-21 22:19:15,193 INFO setup/230-MainProcess] Command executed successfully: socat tcp-listen:9222,fork tcp:localhost:1337 launched successfully
[2024-04-21 22:19:15,194 INFO setup/62-MainProcess] SETUP: _launch_setup({'command': ['socat', 'tcp-listen:9222,fork', 'tcp:localhost:1337']})
[2024-04-21 22:19:15,195 INFO setup/353-MainProcess] Connect to Chrome @: http://<IP_ADDRESS>:9222
[2024-04-21 22:19:17,381 ERROR setup/366-MainProcess] Attempt 1: Failed to connect, retrying. Error: BrowserType.connect_over_cdp: socket hang up
Call log:
<ws preparing> retrieving websocket url from http://<IP_ADDRESS>:9222

[2024-04-21 22:19:23,217 INFO setup/376-MainProcess] Opening ['https://www.amazon.com', 'https://www.amazon.com/s?k=huggingface+transformers+book']...
[2024-04-21 22:19:46,545 WARNING setup/386-MainProcess] Opening https://www.amazon.com exceeds time limit
[2024-04-21 22:19:46,545 INFO setup/387-MainProcess] Opened tab 1: https://www.amazon.com
[2024-04-21 22:20:09,963 WARNING setup/386-MainProcess] Opening https://www.amazon.com/s?k=huggingface+transformers+book exceeds time limit
[2024-04-21 22:20:09,963 INFO setup/387-MainProcess] Opened tab 2: https://www.amazon.com/s?k=huggingface+transformers+book
[2024-04-21 22:20:09,976 INFO setup/62-MainProcess] SETUP: _chrome_open_tabs_setup({'urls_to_open': ['https://www.amazon.com', 'https://www.amazon.com/s?k=huggingface+transformers+book']})
[2024-04-21 22:20:14,980 INFO desktop_env/240-MainProcess] Environment setup complete.
[2024-04-21 22:20:16,157 INFO python/258-MainProcess] Recording started successfully
[2024-04-21 22:20:16,164 INFO agent/506-MainProcess] Generating content with GPT model: gpt-4-vision-preview

Screenshot:

I'm using Windows11 and VMWare 17 Pro with VPN. When I configure the network to use port 7890 (my VPN port), I can access websites using Chrome within the virtual machine. Could this issue possibly be related to the port and network configuration?  Or do I need additional configuration to run it?
Also have another question: what are the VM's user and root passwords? It seems I did not set any passwords during installation.
Thanks for your assistance!

Hi~ Thanks for your question, It seems that you are facing some GFW issues. We have added the support of VPN on our roadmap and will add one detailed guidance on that within this week. And for the system, the user name is user and the password is password. Sorry for missing that in README and we will add this info as well.

Also noticed a minor issue: the 'environment interface' link in the Experiments/evaluation section of the README on the homepage seems to be incorrect cause it's empty.

Maybe it should point to this file: https://github.com/xlang-ai/OSWorld/tree/main/desktop_env/evaluators?

Hi, See https://github.com/xlang-ai/OSWorld/blob/main/PROXY_GUIDELINE.md for GFW issues.

Hi, See https://github.com/xlang-ai/OSWorld/blob/main/PROXY_GUIDELINE.md for GFW issues.

I've set up the proxy in the VM and could access websites like Amazon using Chrome. Also have saved and used the snapshot successfully.

However, when trying to open Chrome via the Chrome remote debugging port, it seems like still no network connection. Here is the error log:
[2024-04-24 18:21:18,217 INFO run/113-MainProcess] Args: Namespace(path_to_vm='Ubuntu/Ubuntu.vmx', headless=True, action_space='pyautogui', observation_type='screenshot', screen_width=1920, screen_height=1080, sleep_after_execution=0.0, max_steps=15, max_trajectory_length=3, test_config_base_dir='evaluation_examples', model='gpt-4-vision-preview', temperature=1.0, top_p=0.9, max_tokens=1500, stop_token=None, domain='all', test_all_meta_path='evaluation_examples/test_all.json', result_dir='./results')
[2024-04-24 18:21:18,220 INFO desktop_env/80-MainProcess] Initializing...
[2024-04-24 18:21:18,933 INFO desktop_env/109-MainProcess] VM is running.
[2024-04-24 18:21:18,935 INFO desktop_env/121-MainProcess] Getting IP Address...
[2024-04-24 18:21:19,620 INFO desktop_env/125-MainProcess] IP address: <IP_ADDRESS>
[2024-04-24 18:21:20,222 INFO python/76-MainProcess] Command executed successfully: {
  "error": "",
  "output": "Linux\n",
  "returncode": 0,
  "status": "success"
}

Domain:   0%|                                                                                | 0/10 [00:00<?, ?it/s][2024-04-24 18:21:20,293 INFO run/157-MainProcess] [Domain]: chrome                                        | 0/45 [00:00<?, ?it/s]
[2024-04-24 18:21:20,293 INFO run/158-MainProcess] [Example ID]: 7b6c7e24-c58a-49fc-a5bb-d57b80e5b4c3
[2024-04-24 18:21:20,294 INFO run/162-MainProcess] [Instruction]: Can you help me clean up my computer by getting rid of all the tracking things that Amazon might have saved? I want to make sure my browsing is private and those sites don't remember me.
[2024-04-24 18:21:34,026 INFO desktop_env/212-MainProcess] Resetting environment...
[2024-04-24 18:21:34,026 INFO desktop_env/214-MainProcess] Switching task...
[2024-04-24 18:21:34,028 INFO desktop_env/219-MainProcess] Setting counters...
[2024-04-24 18:21:34,029 INFO desktop_env/224-MainProcess] Reverting to snapshot to vpn-snapshot...
[2024-04-24 18:21:41,575 INFO desktop_env/228-MainProcess] Starting emulator...
[2024-04-24 18:21:42,188 INFO desktop_env/112-MainProcess] Starting VM...
[2024-04-24 18:21:59,640 INFO desktop_env/109-MainProcess] VM is running.
[2024-04-24 18:21:59,644 INFO desktop_env/230-MainProcess] Emulator started.
[2024-04-24 18:21:59,644 INFO desktop_env/232-MainProcess] Get meta info of the VM...
[2024-04-24 18:22:00,112 INFO python/76-MainProcess] Command executed successfully: {
  "error": "",
  "output": "Linux\n",
  "returncode": 0,
  "status": "success"
}

[2024-04-24 18:22:00,172 INFO desktop_env/236-MainProcess] Setting up environment...
[2024-04-24 18:22:00,196 INFO setup/230-MainProcess] Command executed successfully: google-chrome --remote-debugging-port=1337 launched successfully
[2024-04-24 18:22:00,197 INFO setup/62-MainProcess] SETUP: _launch_setup({'command': ['google-chrome', '--remote-debugging-port=1337']})
[2024-04-24 18:22:00,225 INFO setup/230-MainProcess] Command executed successfully: socat tcp-listen:9222,fork tcp:localhost:1337 launched successfully
[2024-04-24 18:22:00,226 INFO setup/62-MainProcess] SETUP: _launch_setup({'command': ['socat', 'tcp-listen:9222,fork', 'tcp:localhost:1337']})
[2024-04-24 18:22:00,227 INFO setup/353-MainProcess] Connect to Chrome @: http://<IP_ADDRESS>:9222
[2024-04-24 18:22:04,885 INFO setup/376-MainProcess] Opening ['https://www.amazon.com', 'https://www.amazon.com/s?k=huggingface+transformers+book']...
[2024-04-24 18:22:51,265 WARNING setup/386-MainProcess] Opening https://www.amazon.com exceeds time limit
[2024-04-24 18:22:51,265 INFO setup/387-MainProcess] Opened tab 1: https://www.amazon.com
[2024-04-24 18:23:37,697 WARNING setup/386-MainProcess] Opening https://www.amazon.com/s?k=huggingface+transformers+book exceeds time limit
[2024-04-24 18:23:37,699 INFO setup/387-MainProcess] Opened tab 2: https://www.amazon.com/s?k=huggingface+transformers+book
[2024-04-24 18:23:37,717 INFO setup/62-MainProcess] SETUP: _chrome_open_tabs_setup({'urls_to_open': ['https://www.amazon.com', 'https://www.amazon.com/s?k=huggingface+transformers+book']})
[2024-04-24 18:23:42,731 INFO desktop_env/240-MainProcess] Environment setup complete.
[2024-04-24 18:23:44,461 INFO python/258-MainProcess] Recording started successfully
[2024-04-24 18:23:44,472 INFO agent/506-MainProcess] Generating content with GPT model: gpt-4-vision-preview

And screenshot:

I failed to reproduce your phenomenon. Can you provide more details about your network config? Maybe you can pause the program and enter the running VM to manually check if all the configurations are right.

I failed to reproduce your phenomenon. Can you provide more details about your network config? Maybe you can pause the program and enter the running VM to manually check if all the configurations are right.

I've manually configure the network in the VM, (7890 is my vpn's port), and it's successfully connected to the internet, working fine with Chrome or command line.

Here are errors I use remote debug command to open chrome and access amazon.com:

Also run socat tcp-listen:9222,fork tcp:localhost:1337, but the page at 9222 port is empty:

However, this issue might not be urgent as I'm running it locally just for testing purposes. If support for running the environment without VMware is available in the future, I may try running it on a cluster, which wouldn't have these proxy issues.
Thanks for your help and support so far! :)


Add hooks for 3rd-party extensions

Everyone has a slightly different idea of what RailsAdmin should do. As a result, people have been submitting patches to extend RailsAdmin functionality. So far, the majority of these patches have been merged.
In general, I'm overjoyed with the number of people who want to contribute to this project. I don't want to discourage contributions in any way. At the same time, merging in every patch will eventually turn RailsAdmin in bloatware.
I believe the best solution to balance these interests is to create APIs that will allow developers to easily extend RailsAdmin. It may even be possible to do this with Railties.
Here are some goals:

Distribution. Extensions will be packaged as gems and installed via a Gemfile.
Migrations. Extensions will be able to register database migrations, which can be installed via a rake task.
Testability. It should be easy for extension developers to write tests that check their code against the latest version of RailsAdmin.
Compatibility. As a general rule, extensions should be compatible with each other. Running one extensions should not prevent you from running another extension, even if they offer some overlapping functionality.
Discoverability. Users of RailsAdmin should have a place where they can easily find and compare extensions.

I'm interested in getting feedback from those of you who have been submitting patches. Does this sound good? How could it be better?

Added the field extensions generator, the action generator (with custom actions), and a theme generator.
It needs more doc to have a real API, work is on the way (feel free to join). But everything in this ticket is getting pretty well covered, except maybe gem versioning, but that can be the topic of a new, cleaner ticket.


UltraWeave 7.1 (original shield-weaver model)

Have you been able to find the model for the UltraWeave 7.1 armor as seen on the mannequin in the bunker?
IIRC, I think you see Elizabeth wearing it in a hologram in Gaia Prime, so I think the model does exist somewhere, but I don't see it in the list.
I just like the look of the original better than Aloy's version.
Thanks for your awesome work on this mod!  It's nice to see someone make a real mod for HZD, not just a pervy nudity mod for once.

I don't think that's possible. Its just a static object in the world it doesn't have any of the animations needed to replace a character.
I think Sony is on the same page seeing as they take down all the nude mods.


Optionally keep the information about the original image in LMDB

We've recently had an issue, we experimented with image similarity and instead returning similar images from lmdb dabatase (resized, croped and filled with noise), we wanted to return the original image, but key or value in lmdb database doesn't contain such information.
Now, we could hack the create_db.py file but we don't find this a good long term solution, so an option is to completely abandon digits or continue using it if such option becomes available.
The suggestion is to optionally provide a third column to input txt files provided to digits to fill the database, where third column would be image id. So for example key would look something like this:
b'00000234_992929_4' where 992929 would be some id provided by user, and 4 the category id. The third column should be optional for easier usage for users who do not need the info about original image.
Another option is that filepath is part of a key.
If you decide to change the key naming convention, also think about changing the first number to 9 digits so datasets of more than 100M images have valid keys, currently this looks like this (line 643 in create_db.py):
key = '%08d_%d' % (image_count + i, datum.label)

Hi @enedene if you create your dataset with image lists and without shuffling then I think the part of the LMDB key before the underscore is set to the index of the file in your list. Would that work for you?

@gheinrich the problem is that for whatever reason some images don't get loaded to database, for example a corrupted image, even with script that checks each image, it might happen that it passes yours test and not the digits and the ordering gets mixed up. For example we had 3 images in 10M+ images which didn't got into LMDB and we couldn't reconstruct the connection.

Thanks for the feedback. Assuming we fix the index:key mapping then this would address your concern, right?

@gheinrich Correct.

If you decide to change the key naming convention, also think about changing the first number to 9 digits so datasets of more than 100M images have valid keys, currently this looks like this (line 643 in create_db.py):
key = '%08d_%d' % (image_count + i, datum.label)

I don't think that would be entirely necessary:
print "%08d" % 123456789
123456789

Hi @enedene can you tell us more about your pipeline? Where would you use the LMDB key? The neural network doesn't have access to the LMDB key. Why don't you use the test_many button to perform inference on a list of images?

Hi @gheinrich for example in image similarity search. First you train the model using digits, where images are put to lmdb database, for example 256x256 with half crop, half fill transformation. Then you want to obtain the vectors inside network by running the forward pass for all the images in database, each batch you save the vectors. This part is done in caffe, then you obtain the matrix of size:
n_images_in_lmdb x dim_of_layer_youre_interested_in
Each row corresponds to some image in lmdb. You can use these vectors to find the similarity.
Now lets say you have a new image, you pass it through the network, extract the vector you're interested in, compare to vectors you've extracted from your training set, select the index of image which is closest by some distance metric, then you try to use this index to find the original image (not cropped or with added noise as in half crop, half fill transformation). If index ordering is not correct, you loose the connection between original image and images in lmdb and with matrix rows which correspond to these images.

After you have trained your model, why don't you use the test_many button to perform inference on your list of images, instead of doing it in Caffe? This way you'd be able to map images to vectors and construct your full matrix. Then when doing single image inference it would be rather straightforward to find the most similar vector in your initial list of images, right?

I'm not sure if you can extract vectors by using test_many, you get confidence scores, which is not of any importance in this use case, we're interested in getting activations from different parts of network for every image in train set and having the ability to know from which image these activations came from.
Going through all the train images, once network was trained would be much slower as you need to make all the transformations to images you did when you were filling the database (resize, half crop, half fill). So once you train your model, database becomes useless for any further usage, this is something we'd like to avoid.

@gheinrich
Hi! To reiterate, our issue is the following. We can map each image in the database with its vector representation. We can also use a list of image file names and get their vector representations along with their classification confidences if we want them. The trouble is that we cannot map images in the database with additional image info, which we can do if we create vectors or classifications directly from files. Hence, the database is useless as a storage for anything else but simple network training. We'd like to store transformed images in a database and use that instead of raw files, for multiple other options besides network training. For instance, we could be interested in detailed layer activation for specific images in the database. Naturally, we can do that directly from files, but that is a waste of an already present database that was used for training. Simple key mapping to original files would solve this issue and make the lmdb database useful for multiple purposes.

Hi again. From what you describe you are not interested in doing image classification. What you want is to create a "generic" (also named "other" in DIGITS - admittedly not a very explicit name). The way to do it in DIGITS is to:

create a set of LMDB databases (your job - so you're very much welcome to use any key naming convention you like)
create a new generic dataset in DIGITS by specifying the paths to your databases
create a new generic model and train the model on the dataset you just created

Once you're happy with your model then you can perform inference on lists of images. If you use the REST API you'll be able to programmatically capture the (vector) outputs of your model and build a large matrix out of it. I think that addresses one of your requests.
You might be interested in reviewing the examples, in particular the Siamese example, which does something somewhat similar to what you are willing to do (mapping an image to a vector).
To address your other request (being able to perform inference on a database), I have pushed https://github.com/NVIDIA/DIGITS/pull/638, which is work in progress, but you're welcome to try it.

Thanks, we'll have a look.
Just to be more precise, we are still interested in classification. At the moment, we are creating our databases with DIGITS and doing regular classification training jobs. Additionally, we'd like to use the same database for other tasks not necessarily directly with DIGTIS. For our purposes, it could still be that it's simpler to modify key naming and to keep compatibility with regular DIGITS job creation.

Hello, any feedback on #638?

Hi @gheinrich we haven't got to it yet, filling the lmdb database on our dataset takes a long time, we're currently considering options. This complaint is mainly that old lmdb databases become useless for further usage.


Day/Night ratio should be Night/Day ratio

The single-value widget is still reading Day/Night Ratio


Is this management group hierarchal reference still relevant?

[Enter feedback here]
If the ESLZ hierarchal reference is the new standard as defined in - https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/enterprise-scale/faq#how-do-we-handle-devtestproduction-workload-landing-zones-in-azure-landing-zone-architecture, then does this page conflict with that standard? The most recent recommendation is TO NOT USE MGs for separating PRODUCTION & NON-PRODUCTION subscriptions, but this pages clearly shows the legacy(?) hierarchical approach.

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

ID: 20d70b1a-338e-6f92-8889-0abe2a0dacae
Version Independent ID: afbbf40d-efe7-5193-7673-ac49999ef6fb
Content: Subscription decision guide - Cloud Adoption Framework
Content Source: docs/decision-guides/subscriptions/index.md
Service: cloud-adoption-framework
Sub-service: decision-guide
GitHub Login: @alexbuckgit
Microsoft Alias: abuck

Hi @mikemckanna
Sorry for the delay.
Thanks for the feedback and note that the old content was deprecated and now redirects to CAF.
#please-close


Improved LOOCV ridge regression using singular value decomposition

I have improved LOOCV ridge regression to be executable with low memory usage by utilizing singular value decomposition.
I made modifications mainly to two files:

src/symfc_alm/ridge.py: I have fixed the estimation of regression coefficients (RidgeRegression._fit()) and the calculation of LOOCV error (RidgeRegression._calc_error()).
tests/test_ridge.py: I have added tests.

Please feel free to review the changes and leave any feedback or comments. I look forward to your review of the pull request.

I will remove .vscode/settings.json on my side.

Please review the code and if there are no issues, I request you to merge it.

Merged into develop. Thanks @narutak.


MongoDB transactions not working in Mongo 4.2 on linux

Describe the bug
In mongo 4.2 transactions seems to be failing.
<EXPR>:0: error: TransactionTests.test_transaction :
threw error "MongoServerError(document: ["errorLabels": ["TransientTransactionError"],
"operationTime": BSON.Timestamp(increment: 302, timestamp:<PHONE_NUMBER>),
"ok": 0.0, "errmsg": "Transaction 1 has been aborted.",
"code": 251, "codeName": "NoSuchTransaction", "$clusterTime": ["clusterTime": BSON.Timestamp(increment: 302, timestamp:<PHONE_NUMBER>),
 "signature": ["hash": BSON.Binary(subType: BSON.Binary.SubType.generic, storage: ByteBuffer { readerIndex: 0, writerIndex: 20, readableBytes: 20, capacity: 20, storageCapacity: 1024, slice: _ByteBufferSlice { 262..<282 }, storage: 0x00007fca100ee8e0 (1024 bytes) }), "keyId": 0]]])"

To Reproduce
Run the transaction tests against a mongo cluster.
Server-side Swift:

OS: Linux
Swift Version: 5.6
MongoKitten  Version: 7.0.0

Closing as MongoDB 4.2 is EOL


Feature: thread 'main' panicked without tokio runtime

TL;DR
If this crate is used by another which either defers initialization on the tokio runtime, or does not use one at all, it panics. It does this during the invocation .spawn_signal_handler() .
Workaround
Spawn a tokio runtime using the tokio::main proc macro or using tokio::runtime::Builder.

Renaming this as a feature request since it operates perfectly within the intended context; otherwise, to use it outside of tokio like in async-std frameworks, this crate can be minimally prohibitive.


Add Code Playground Examples

Gives other examples of URL templates required for other commonly used languages.
Other Code Playground options are added

Fixes: #29067

Screenshots and sc

reen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Hi @alya, Can you review and merge this pull request, so that I can start working with other issues.

Thanks for the PR!

Meanwhile, @laurynmm , perhaps you could confirm that these playgrounds work as expected?

Meanwhile, @laurynmm , perhaps you could confirm that these playgrounds work as expected?

Confirmed all the pythontutor examples and the one cscircles example for java work as expected with the code content from the Zulip message appearing in the code playground/sandbox editor.

I opened #29288 to replace this PR, making adjustments to the text. Thanks for your work, @rs545837 !


Newsboat URLs should support title

Newsboat allows you to set a custom title to a URL entry, it looks like this:
# URL                             LABEL   TAG
https://lwn.net/headlines/newrss  "~LWN"  news

It should be supported in the config.

I gave it a try in #863. Please have a look and see if it'll work (I don't use newsboat myself).

Thanks @rycee!


MAINT: Better test fixtures

Try out https://github.com/nipy/PySurfer/pull/289

Failed but the traceback was truncated, restarting

This does not fix the problem:
https://dev.azure.com/mne-tools/mne-python/_build/results?buildId=5679&view=logs&j=b195a6e3-7484-5943-e627-0b35c27605d6&t=6dcb3581-08d4-5e76-74f2-6edaf20ff912&l=225
  File "D:\a\1\s\conda\lib\site-packages\tvtk\pyface\ui\qt4\QVTKRenderWindowInteractor.py", line 370 in paintEvent
  File "D:\a\1\s\conda\lib\site-packages\tvtk\pyface\ui\qt4\scene.py", line 69 in paintEvent
  File "D:\a\1\s\conda\lib\site-packages\pyface\ui\qt4\gui.py", line 85 in process_events
  File "D:\a\1\s\conda\lib\site-packages\surfer\viz.py", line 183 in _force_render
  File "D:\a\1\s\conda\lib\site-packages\surfer\viz.py", line 550 in _toggle_render
  File "D:\a\1\s\conda\lib\site-packages\surfer\viz.py", line 487 in __init__
  File "D:\a\1\s\mne\viz\_3d.py", line 2385 in plot_vector_source_estimates

So we have some persistent problem with TVTK where paintEvent tries to draw something that should not be drawable.
I'll try tweaking mayavi again, I had another idea for what might help. We'll see!

After many restarts, I was finally able to see the problem even on my mayavi branch:
Thread 0x0000055c (most recent call first):
  File "D:\a\1\s\conda\lib\site-packages\tvtk\pyface\ui\qt4\QVTKRenderWindowInteWindows fatal exception: raccess violationa

ctor.py", line 379 in paintEvent

So it's still the paintEvent/self._RenderWindow.Render() call breaking things.
Time to try another thing, which is adding self._Iren.SetRenderWindow(None) in the Finalize call. But this is almost just a shot in the dark...

Okay I new think the problem is more likely that there is some VTK object that tries to draw before the window is closed (which is reasonable behavior) but some underlying memory (e.g., NumPy array) has been GC'ed so it gets an access violation.
Not sure how best to track that down, but I'll see if upping the VTK verbosity and running with -s helps.

Okay I'm abandoning the PySurfer/mayavi stuff, leaving #7294 as a reminder of the failures.
I did find some minor issues by testing with -vs on Azure, though, so I'm changing the title and just making this a maintenance PR to improve our testing a bit.


Christian jorgensen branch

Changes for my page.

Rosy approves! Welcome to the webpage @cajchristian! Feel free to rebase and merge.


refactor: probes package in network topology

Description

Refactor probes package in network topology.

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

@gaius-qi lint errors.


BulkReadInstance does not read database_instance consistently.

// BulkReadInstance returns a list of all instances from the database
// - hostname:port is good enough
func BulkReadInstance() ([](*InstanceKey), error) {

does not work as expected as it pulls data straight out of database_instance without doing some required munging to set all fields correctly.
Thanks to Shlomi for pointing this out. It may not be a big deal now (and it may not work incorrectly) but it needs fixing to be consistent and correct. It may cause issues later.
Basically I need to call readInstancesByCondition() appropriately.

Should have closed this some time ago.


⚠ Agora Aveiro has degraded performance

In d858246, Agora Aveiro (https://agoraaveiro.org) experienced degraded performance:

HTTP code: 200
Response time: 13225 ms

Resolved: Agora Aveiro performance has improved in 44ba0b2 after 8 minutes.


[BUG]Flaky tests are found in core-opensearch-dashboards/vanilla-opensearch-dashboards

What is the bug?
Flaky tests are found in core-opensearch-dashboards/vanilla-opensearch-dashboards, you can find the detail logs in https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/6976620693/job/18985307702?pr=960
How can one reproduce the bug?
Create a PR against main and you will find Snapshot based E2E Cypress tests workflow / Run Cypress E2E tests action fails.
What is the expected behavior?
The test case should pass.
What is your host/environment?
Ubuntu latest, github CI environment
Do you have any screenshots?

Do you have any additional context?
Add any other context about the problem.

@kavilla Would you mind taking a look on this issue? The flaky vanilla-dashboard-test is annoying and we need to explain the context in every PR.

@kavilla Would you mind taking a look on this issue? The flaky vanilla-dashboard-test is annoying and we need to explain the context in every PR.

Sure. Will cc @manasvinibs .
Honestly Im not quite sure if the whole vanilla tests need to be called out anyways. They should be the same and one problem here is that the only time these tests are getting ran is in the GitHub CI. I wonder if its worth deleting them

@seraphjiang @tianleh
Do you guys have context around these tests? I will check through them and verify if I can just move some or delete some but I will look into removing these since they don't get ran from the OSS release and within the core OSD repo CI.


Default info event does not fetch version under uptime-kuma with version 1.23.1

Intermittent issue. API calls fail due to lack of version.
Sample output for uptime-kuma-api.info()
{'primaryBaseURL': None, 'serverTimezone': 'America/Chicago', 'serverTimezoneOffset': '-05:00'}

See https://github.com/louislam/uptime-kuma/commit/be26bb75d9a54debad31a3914bbf072bc929cc7c

This bug only occurred if the wait_events setting was set too low. If wait_events was high enough, the second info event was used automatically. This is fixed now.
But everyone who had this problem should set wait_events higher to avoid problems in other places.


⚠ Samsung has degraded performance

In ade9a8a, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1953 ms

Resolved: Samsung performance has improved in 4cc19b7.


[ReflectionException]   Class Doctrine\ORM\EntityManagerInterface does not exist

after i excute php artisan , it appears to be like that
[ReflectionException]
Class Doctrine\ORM\EntityManagerInterface does not exist

You'll need to add Doctrine as a dependency too, this library doesn't work without it.

Kinda fixed in https://github.com/digiaonline/lumen-rbac/commit/d41baa2b8d22ac98610d07dd67b00956455d7ca4


[Bug] ~4% CPU usage in idle

Current Behavior
When I start the container I see 2-6% (average is ~4%) CPU usage in idle.

And I have no open tab in browser.

I can't see why. All my other containers use ~0,5% CPU in idle.
Expected Behavior
No response
Steps To Reproduce
No response
Environment

OS: Ubuntu
OS version: 22.04.3 LTS x86_64
Kernel: 6.2.0-39-generic
CPU: Intel Pentium Silver J5005 (4) @ 2.800GHz
Docker version: 24.0.7, build afdd53b
Device model: NUC7PJYH J67992-406
Browser/OS: -

Container creation
docker run -d
--network=host
--name=jdownloader-2
-p 5800:5800
-v ./config:/config:rw
-v ./downloads:/output:rw
jlesage/jdownloader-2
Container log
╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           JDownloader 2                                 │
    │ Application Version:   n/a                                           │
    │ Docker Image Version:  23.11.2                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.13.1 - built Nov 17 2023 22:53:44
[xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12014000
[xvnc        ] Fri Dec 22 16:20:09 2023
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[supervisor  ] starting service 'openbox'...
[supervisor  ] starting service 'app'...
[supervisor  ] all services started.
[xvnc        ] Fri Dec 22 16:20:19 2023
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ] Fri Dec 22 16:20:36 2023
[xvnc        ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc        ]  EncodeManager: Framebuffer updates: 3
[xvnc        ]  EncodeManager:   Tight:
[xvnc        ]  EncodeManager:     Solid: 5 rects, 2.0736 Mpixels
[xvnc        ]  EncodeManager:            80 B (1:103681 ratio)
[xvnc        ]  EncodeManager:     Bitmap RLE: 1 rects, 160 pixels
[xvnc        ]  EncodeManager:                 68 B (1:9.58824 ratio)
[xvnc        ]  EncodeManager:   Total: 6 rects, 2.07376 Mpixels
[xvnc        ]  EncodeManager:          148 B (1:56048.1 ratio)
[xvnc        ]  Connections: closed: /tmp/vnc.sock
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ] Fri Dec 22 16:32:34 2023
[xvnc        ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc        ]  EncodeManager: Framebuffer updates: 3459
[xvnc        ]  EncodeManager:   Tight:
[xvnc        ]  EncodeManager:     Solid: 587 rects, 9.84628 Mpixels
[xvnc        ]  EncodeManager:            9.17188 KiB (1:4194.23 ratio)
[xvnc        ]  EncodeManager:     Bitmap RLE: 1.825 krects, 139.973 kpixels
[xvnc        ]  EncodeManager:                 49.8643 KiB (1:11.3941 ratio)
[xvnc        ]  EncodeManager:     Indexed RLE: 23.47 krects, 5.04859 Mpixels
[xvnc        ]  EncodeManager:                  2.24928 MiB (1:8.68164 ratio)
[xvnc        ]  EncodeManager:   Tight (JPEG):
[xvnc        ]  EncodeManager:     Full Colour: 987 rects, 4.65747 Mpixels
[xvnc        ]  EncodeManager:                  3.57758 MiB (1:4.96932 ratio)
[xvnc        ]  EncodeManager:   Total: 26.869 krects, 19.6923 Mpixels
[xvnc        ]  EncodeManager:          5.88451 MiB (1:12.818 ratio)
[xvnc        ]  Connections: closed: /tmp/vnc.sock
[xvnc        ]  ComparingUpdateTracker: 1.21257 Gpixels in / 15.3177 Mpixels out
[xvnc        ]  ComparingUpdateTracker: (1:79.1612 ratio)

Container inspect
No response
Anything else?
No response

Screenshot from doozle

A small amount of CPU usage at idle is expected for this kind of application.

All my other containers use ~0,5% CPU in idle.

Probably because there are not implementing a full-GUI application ?

Probably because there are not implementing a full-GUI application ?

Probably. ;)
But in Idle? I close this.

Compared to other GUI applications I have (using the same baseimage), I see that JDownloader container is using a little bit more CPU: about 4%, while others are more around 1% or less.
So I assume that JDownloader itself makes the difference.  Did you check on the JDownloader's forum to see if this has been discussed?

@jlesage I check this in the new year.


3.13 Beta does not support win7

flutter_windows.dll depends GetHostNameW
无法定位程序输入点 GetHostNameW 于动态链接库 WS2_32.dll 上。
3.12 Beta works fine

@shuax
Can you provide / elaborate on the issue / error you are getting while trying to run on latest beta ?
Please provide complete error log if any so that we can properly address the issue.

like this

See this and check if it helps in your case or not.

It's caused by the engine, I can't modify it

Are you using any 3rd plugin that loads that library? I see GetHostNameW function is only available in Windows 8 and above, see https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-gethostnamew

It is not caused by a third-party plugin, but the engine is referencing this function

@shuax Unfortunately, I don't have Windows 7 so can't verify this issue. Are you seeing this issue on a newly created Flutter project? Does it also happen on the latest master channel?
Please provide the complete output of flutter run -v and flutter doctor -v. Thank you!

@shuax Unfortunately, I don't have Windows 7 so can't verify this issue. Are you seeing this issue on a newly created Flutter project? Does it also happen on the latest master channel?
Please provide the complete output of and . Thank you!flutter run -v``flutter doctor -v

I created a new project using the 3.13.0-0.3.pre SDK I just downloaded. As mentioned above, it does not work on Windows7.

@czw299 Can you please check if it also happens on the latest master channel?
Also, I notice the error comes when you open Release file (your screenshot). Does this issue only happen in release mode after building the app? Please verify this in debug mode as well. If it also appears, please provide the entire output of flutter run -v. Thank you!

The problem occurs in flutter_windows.dll, and this file is not compiled by the user, but provided by the flutter engine.

I found the reason, it's a change in dart. https://github.com/dart-lang/sdk/commit/7bdbc0560ed5cd0026bfc57a99583f7ba19a0245

I see that commit is available on 3.1.0-262.3.beta release which is your current Dart version.

thanks for the report, https://dart-review.googlesource.com/c/sdk/+/320060 with proposed fix

fyi @cbracken @HansMuller

How come this bug which is apparently very critical to warrant a cherry pick not labeled with any kind of priority ?
It was totally missed in all the weekly triaging we do in the weeekly VM meetings for all P0, P1 issues.

How come this bug which is apparently very critical to warrant a cherry pick not labeled with any kind of priority ? It was totally missed in all the triaging we do in the weekly VM meetings for all P0, P1 issues.

It looks like there wasn't enough information for frontline triage to route the issue until @shuax found the commit this past Friday. Since the issue didn't get routed by frontline triage, it didn't show up on any subteam triage list.

What is the status for this bug?  Do we still need a cherry pick for Flutter before we close this? (Desktop Triage)
Which versions should it be a cherrypick for?
cc @loic-sharma

Looks like the Dart cherry-pick has landed, but we'll need a Dart SDK cherry-pick in to Flutter.

The Dart CP made it to Flutter 3.13. I'll go ahead and close this. (@itsjustkevin can correct me and re-open this if needed).

Thanks!


Change command name from build to electron-builder

Change command name from build to electron-builder
Current build is broken and it's not being able to build the files.
Also is required to do a new build for tusk to work with latest evernote upgrade.
This will close
https://github.com/klaussinani/tusk/issues/255
https://github.com/klaussinani/tusk/issues/257
https://github.com/klaussinani/tusk/issues/259

I have the same issue on Pop_OS, and don't really understand how to get myself (Tusk) going again.  I installed via snap and tried 'snap refresh tusk' but it reports No Updates Available.  With my marginal understanding of these things does that mean that your change is awaiting a push/update to the snap store so I can get the change?  Is there another way for me to resolve this?    I sure would like to continue using the app!

Had same issue.
@klaussinani  can you help review this change ? and maybe release a fix.
Used Tusk on Linux for almost half year and really love it.
thanks.

Same problem on brand new install to Ubuntu 18.04 via Ubuntu Software. Blank screen, no way to enter Evernote credentials. Log out does nothing. Back to the browser client I guess ...

This repo is dead the maintainer doesn't respond to PR. I'm supporting the project in my Repo. compiled files and ready to use in:
https://github.com/Trip09/tusk/releases/tag/v1.0.0


[Bug] Latest dockerhub images are tagged incorrectly

What are you really trying to do?
Using a latest image of admin-tools, auto-setup or server.
Describe the bug
The latest tag on DockerHub of the above the project incorrectly refers to version v1.7.1 instead of v1.17.1
Minimal Reproduction
Visit:

https://hub.docker.com/r/temporalio/admin-tools/tags
https://hub.docker.com/r/temporalio/auto-setup/tags
https://hub.docker.com/r/temporalio/server/tags

Additional context
The same had happened to the temporal project, but was fixed, see: https://github.com/temporalio/temporal/issues/3093.

This is now fixed. Thanks.


post processed scene!

sepia, black and white, cell shading? thoughts?
<vr-scene>
  <vr-postprocess type="sepia"></vr-postprocess>
</vr-scene>

I don't know if these work with VR? We should try :)


License?

Can we clarify the license for 'array'?

@aclemons you are right, a license was missing.
We use WTFPL so if you want to use it into your commercial software you are free to do so and even relicense it if you need to.

Thanks


Fix reindexing scripts

This is not my finest work, but it has solved our immediate problems. It was mostly moving existing code around and tweaking it until it works.

Glad this PR has had a whole year to mature now


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/674 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target.git

Docs Build status updates of commit 3934797:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-01-13-06-22-48 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 3934797:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-01-13-06-22-48 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[NET] Mismatch PublicKeyToken's in the latest nuget package

There is the problem with the authoring of the OrTools packages and binaries.
Mismatch of PublicKeyToken cause to problem with Visual Studio debugger. This is issue confirmed by Visual Studio team
https://developercommunity.visualstudio.com/content/problem/365287/debugger-unable-evaulate-values-of-local-variables.html

Thanks for the report.
It is a tough one to fix with multi-platform archives.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le ven. 9 nov. 2018 à 21:01, ifle<EMAIL_ADDRESS>a écrit :

There is the problem with the authoring of the OrTools packages and
binaries.
Mismatch of PublicKeyToken cause to problem with debugger. This is issue
confirmed by Visual Studio team
https://developercommunity.visualstudio.com/content/problem/365287/debugger-unable-evaulate-values-of-local-variables.html
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/928, or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17ZOvmAMe5DM3tZauiv4jwwO0YUrSks5utd8IgaJpZM4YXbSf
.

Should be ok with v6.10 release


Creating working_w_l10n_agency.md

guidelines in working with an l10n agency.

@flodolo, I added explanations to some of the concepts and see if they make sense to you.

@gueroJeff, @Delphine, @TheoChevalier, at the moment, i am stuck with this doc not making any progress.  If it is ok as it stands, knowing we can update at a later time with new and different info, can we go with this doc.  Only @flodolo provided feedback. He has specifically highlighted the areas that lack reasons for certain tasks. Do you feel the same?
Given the new dimension of working with agency, such as marketing agency, I will need to add a new section for that, if this interests anyone other than me, :).  This new process may be duplicated in Asia in the coming months.

I would wait if possible, I’ve started doing quite some changes during the all-hands, but have yet to finish (and can’t really right now)

I'll wait to see Theo's changes before reviewing.

@flodolo does this help clarify? https://github.com/mozilla-l10n/documentation/pull/77/commits/0b363de07ba41804ef2e228877c44787a01194de
@peiying2 Are the changes accurate?

Final note: It's mostly nits, I would like to see a clarification on what vetted means and more style consistency with the existing docs, but this looks much better to me.

Do we want a link in https://github.com/mozilla-l10n/documentation/blob/master/misc/README.md?
So we can also fix the weird markup there :-)

Looks like it was a nbsp :) Link added, markup fixed.

Can we try to close this one, please? :-)

I have to add a new section - a new process is added to approving "brand new" agency.  Will get this done today or this week.

Also added a link to SUMMARY.md, we forgot about it (and nuked more NBSPs)

I would recommend we merge this in its current state and treat CASA as an update, I would like to share this page with a few people to explain how we work with project stakeholders when we work with a vendor

Theo, let's merge it and add changes later.
I reread the CASA process, it is not far from what we stated here, I just need to blend some of the content in the MSA (legal review) and PO part (finance review) text we have with links. I also need to verify if we are doing away the form about banking info, a form that should live in the system, not as an attachment sent in an email.

We can also add MoFo process (anything different from MoCo) if it is the case other than different contacts.

@TheoChevalier Let me merge this so you can start sharing.

Thanks!


Update message level from :info to :warning

#23

@nfm @patrickdavey @garin @ernetas what do you think?

Is there any way that this could be configurable? I think that'd be the ideal.

🆗, let's change it to ⚠. I agree that ideally it would be configurable via .pronto.yml.

Released as v0.8.1.


[FIXED JENKINS-36504] Use TestObject.getRun(), not TestObject.getOwner()

JENKINS-36504
Since TestObject.getOwner() returns an AbstractBuild, it's null for
WorkflowRuns. So that needed to be changed to TestObject.getRun() instead.
cc @reviewbybees

:bee:

:bee:

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.


Add StepFlushCallback

The orange run fail because of OOM, the second one is with the added memory flush for each end step.
Before adding the StepFlushCallback

After adding the StepFlushCallback

I know the differences in term of GPU memory for the official colab is minimal, but in my actual training run on kaggle, when each example in the dataset is long, the differences is much more notable.

Let me know if this is a good idea or not @danielhanchen

Oh yep great idea! I'll actually move this over to the wiki!


Sometimes can't capture\decode

In some cases, especially when few QR cordes close to each other it decods in wrong way
http://prntscr.com/jwwr3o
or
http://prntscr.com/jwws79

Thanks for the reproduction case! Going to try to track this bug down because I think it's the same as #64

Tracking this in a central issue (with repro case) - #68. Going to close this issue in favor of that one.


Change the metadata

Please change https://github.com/MaZderMind/grav-plugin-urlparamfilter/blob/master/blueprints.yaml as it's listing the Login plugin information, showing up wrong in https://getgrav.org/downloads/plugins

Also, the form definition is not relevant to the plugin, you might want to remove it altogether if you have no settings (except for enable)

Oops, sorry, will do that asap.

👍
We removed the plugin from the list to avoid confusion, open a ticket on Grav to re-enable it when you'll release an update.