[BUG]:v6 beta don‘t load mp4

Version
v6 (Beta)
What platforms are you having the problem on?
No response
Architecture
Old architecture
What happened?
A bug happened!
Reproduction
Step to reproduce this bug are:

Hey, I'm on vacation until the end of the week, I'll see what I can do when I get back

Which beta is that @18482048531 ? Im on Beta 5 and it seems to be working fine.
Can you please share:

Your library version
Device Info
MP4 URL

Thanks!

no url, no details, let's close


Dependency issues when build

I'm running: aion ant build

Which Aion version?: master
Which operating system?: Linux
Which distributor and version?: Ubuntu 16.04
How installed?: via binaries / from source
Are you fully synchronized?: yes
Did you try to restart the node?: yes

Error message listed below
clean:

clean_build:

build:
     [echo] compiling with debug=off
    [mkdir] Created dir: /home/aion/aion/modCrypto/build
    [javac] Compiling 39 source files to /home/aion/aion/modCrypto/build
    [javac] /home/aion/aion/modCrypto/src/org/aion/crypto/ecdsa/ECKeySecp256k1.java:300: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    [javac]     public ECPoint compressPoint(ECPoint uncompressed) {
    [javac]                    ^
    [javac] /home/aion/aion/modCrypto/src/org/aion/crypto/ecdsa/ECKeySecp256k1.java:316: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    [javac]     public ECPoint decompressPoint(ECPoint compressed) {
    [javac]                    ^
    [javac] /home/aion/aion/modCrypto/src/org/aion/crypto/ecdsa/ECKeySecp256k1.java:442: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    [javac]     public boolean isPubKeyOnly() {
    [javac]                    ^
    [javac] /home/aion/aion/modCrypto/src/org/aion/crypto/ecdsa/ECKeySecp256k1.java:841: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    [javac]     public byte[] decryptAES(byte[] cipher) {
    [javac]                   ^
    [javac] 4 warnings
      [jar] Building jar: /home/aion/aion/modCrypto/modCrypto.jar
     [copy] Copying 1 file to /home/aion/aion/mod
     [exec] gcc -O3 -I/include -I/include/linux -shared -fpic  -Wall -Wextra -msse4.2 -mpclmul -maes \
     [exec] blake2b.c \
     [exec] org_aion_crypto_hash_Blake2bNative.c \
     [exec] -Wl,-soname=libblake2b.so -shared -o ../../native/linux/blake2b/libblake2b.so
     [exec] Makefile:11: recipe for target 'all' failed
     [exec] In file included from org_aion_crypto_hash_Blake2bNative.c:24:0:
     [exec] org_aion_crypto_hash_Blake2bNative.h:2:17: fatal error: jni.h: No such file or directory
     [exec] compilation terminated.
     [exec] make: *** [all] Error 1

BUILD FAILED
/home/aion/aion/build.xml:364: The following error occurred while executing this line:
/home/aion/aion/build.xml:226: The following error occurred while executing this line:
/home/aion/aion/modCrypto/build.xml:36: The following error occurred while executing this line:
/home/aion/aion/modCrypto/build.xml:63: exec returned: 2

@yulongaion the following issue occurred after i set the JAVA_HOME and encode option
clean_build:
build:
[echo] compiling with debug=on
[mkdir] Created dir: /home/aion/aion/modBoot/build/main
[javac] Compiling 2 source files to /home/aion/aion/modBoot/build/main
[jar] Building jar: /home/aion/aion/modBoot/modBoot.jar
[move] Moving 1 file to /home/aion/aion/mod
[echo] building modApi
BUILD FAILED
/home/aion/aion/build.xml:286: The following error occurred while executing this line:
Error reading project file /home/aion/aion/aion_api/build.xml: /home/aion/aion/aion_api/build.xml

@a312516552 Hi, do you clone all the submodules of the aion repo by git clone -- recursive?
Please check the steps in the following link when you build the kernel from the source code.
https://github.com/aionnetwork/aion/wiki/Build-your-Aion-network


OpenMined

OpenMined is an open-source community whose goal is to make the world more privacy-preserving by lowering the barrier-to-entry to private AI technologies.
The mission of the OpenMined community is to create an accessible ecosystem of tools for private, secure, multi-owner governed AI. We do this by extending popular libraries like TensorFlow and PyTorch with advanced techniques in cryptography and private machine learning.

hi @Nolski, thanks for your interest in listing OpenMined as a Digital Public Good nominee.
Everything looks good to me (other than the sectors have to be chosen from a predefined list, I just realized the documentation wasn't clear, and improved in #46, and I can make the necessary changes), but I have a question. I get this project is classified as software and data, but we recently introduced an AI model category as defined in the 4th bullet point in this definition of digital public goods.
So my question to you is as follows: are there any explicit AI models included in the OpenMined repository (which would warrant the additional classification of AI model, or this repo provides only the tools so that one can create any models one desires (in which case the classification of software and data seems accurate)?

Hi @lacabra, thanks for the review! Apologies for misunderstanding the sectors, I've updated with the items from that list that seem to fit our project.
With regards to your question: Our software kind of sits on top of existing popular data science frameworks like tensorflow, pytorch, and others. What our software does is allow data scientists to make the same analysis they would usually, without having direct access to the data which would power the model they've written. Using techniques like federated learning, differential privacy, and secure multi-party computation, these data scientists can build powerful AI models without having the incentive to hoard user data. So our project allows other people to build AI models using our software but outside of the examples we give in our documentation and demos, doesn't really package models.

Thank you @Nolski for the detailed response, all clear then.
The listing for this nominee is now live at https://digitalpublicgoods.net/explore/#OpenMined


[FEAT] Add support for Bitmap patterns in UI

[x] implement in UI
[ ] make work on microscope

pattern in UI, need to connect function that runs bitmap pattern milling to microscope (thermo)

Can rotate, no default bitmap pattern set and having no pattern set or selected does not crash program

Bitmap Patterns do not load correctly on Thermo system


Views

I have 3 modules, module1, module2, and module3. How can I visit a specific module in the browser?
ex.:
localhost/nwidart/module1 ?

just as you would in a normal laravel app: create routes in your modules, which will be accessible via the browser.

Thanks for the answer, but I already have route.php in my module1,2, and 3. I tested it with :
Module1/Http/routes.php
Route::get('/', function(){
   return 'This is the Module1';
});

_____________________________________________________________________
Module2/Http/routes.php
Route::get('/', function(){
   return 'This is the Module2';
});

_____________________________________________________________________

Module3/Http/routes.php
Route::get('/', function(){
   return 'This is the Module3';
});

.after that, I tried to visit localhost/nwidart/module1 and it says "NotFoundHttpException in RouteCollection.php line 161". I have also check the documentation, and maybe you should provide more info about the documentation. Thanks a lot!

Did you also load those route files ?
From a module route service provider (for example) you'll need to require those files.

How can I do that?

as I said before by using require.

Alright. Thanks!


Documentation should give guidance on using composite builds to simplify plugin development

Composite builds can simplify plugin development, however this is not obvious to people reading the documentation to learn how to implement a plugin.
Expected Behavior
It is easier for plugin authors to discover the goodness of composite builds and how this feature can help with plugin development.
Current Behavior
There's a sample that shows a basic scenario, but this is difficult to discover.

I added this a while ago but maybe it should be cross-referenced in other places of the documentation.


Adds weave-sock item

Adds weave-sock item

Coverage remained the same at 25.926% when pulling 5bfdb046e4b51fd0c671d0f12136de359a46a3b9 on add-weave-socks into bf571e15c98bad25f0e7ca4ae270e1f3b26283c5 on master.

nice socks


Move artifactType attribute to the public API

This attribute is required for some transforms and everyone had to
use internal one or define their own.
There are plugins in the wild that use the internal attribute so it
isn't removed in this PR as it would be breaking change.
Fixes #15223.

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

Most of the changes are mechanical because of moving the constant to another class.

One thing that I overlooked here is the documentation update. We have plenty of explicit declaration Attributes.of("artifactType") in the doc snippets. I would like to convert them to use the new constant. @ljacomet WDYT?

This makes total sense indeed, but can be done in a follow up PR IMO

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Add MovieTime QuickFix from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of sapienza, to add MovieTime QuickFix to CKAN.
Please direct questions about this pull request to sapienza.

Original mod is in active development and this quickfix is just that, a quickfix. We already index MovieTime so I'll close this and wait for an official release.


Can not join server

Hi,
Describe the bug
I can create a server with Server Manager. It appears in the lobby but I can't join it.
Here's the Errors in Content Manager :
"Erreur interne : error converting value 404 to type 'AcManager.Tools.Helpers.Api.Kunos.ServerCarsInformation'. Path '', line 1, position 3."
Desktop (please complete the following information):

OS: [e.g. iOS] WIN10 pro
Browser [e.g. chrome, safari] chrome
Version [e.g. 22] 80.0.3987.122

Any idea ?
Thx
Pat

Me too, have you resolved it ?

hi it makes the same mistake too.


add InputLeftElement, InputRightElement

All Submissions:

[x] Have you followed the guidelines stated in CONTRIBUTING.md file?
[x] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[ ] 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 not work as expected)
[ ] This change requires a documentation update

New Feature Submission:

[ ] Does your submission pass the tests?
[x] Have you linted your code locally prior to submission?

Changes To Core Features:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.

b. Describe your changes.

c. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).

add InputLeftElement, InputRightElement

Looks good see the build I think you just need to run formatting and listing scripts

Thanks, Alex. Regrettably, my pull request was rejected due to my oversight of not including an empty line at the end of the code. To address this issue, I need to make the required modifications by adding the missing newline and subsequently submit a new pull request. Am I correct in my understanding?
In terms of formatting, I utilized the "Format Document With -> Python" option in VSCode. And for listing scripts, I installed pylint. However, when running pylint for code analysis, it yielded a rating of 0.86/10. Pylint suggested that I should redefine built-in functions and that import aliases should not rename the original package. I'm unsure about what steps to take next, and I'm feeling confused.

I'll message you on discord but I think if you run poetry run ruff check . make another commit it should resolve that error

I think you just need to rebase this because we switch ed to reflex and we can merge it in

I think you just need to rebase this because we switch ed to reflex and we can merge it in

It seems you added it. right?

Added as part of #1335


Automatic indentation inside brackets

Environment data
VS Code version:  1.19.3
Python Extension version:  2018.1.0
Python Version:   3.6.3
OS and version:    Windows 10 1709
Actual behavior
When adding new line within brackets, the indentation does not conform to PEP8 format. E.g.
some_list = [item1,<press enter here>
<cursor gets to here>

Expected  behavior
some_list = [item1,<press enter here>
             <cursor expected to be here>

I'm not sure if this is a python extension related issue or maybe VS code issue. I'm also using Vim, which has an extension specifically for this: https://github.com/Vimjas/vim-python-pep8-indent. It would be nice if this feature can be added to the extension. Thanks.

Similar to https://github.com/Microsoft/vscode-python/issues/481 (tough that is specific to indenting of function arguments)
@MikhailArkhipov cc

This is indeed similar to https://github.com/Microsoft/vscode-python/issues/481. But there are also some python-specific conventions of indentation that are not usually not found in other languages such as C/C++. So I think it is reasonable to consider incorporating this functionality into the python extension.
Ideally, the final result should be just like what https://github.com/Vimjas/vim-python-pep8-indent has done. And to be honest, this is one of the main reasons I sometimes still switch back to Vim, despite the great environment VS code and this extension has already provided.

So, was this moved to the June18 milestone?

@krisjobs no as the June milestone is specifically bug fixes only as we're trying to free up time for the experimental debugger. Once that's work is done we will come back to enhancements and working on automatic indentation, I suspect, will be high on our list.

Hello, I'm wondering if it would be possible to get a status update on this issue? I see a little bit of action in the related #481.

Duplicate of #481


Use a content hash for dirty write protection instead of checking only the size (risk of data loss)

I'm trying to understand this code and its extensive comment:
https://github.com/microsoft/vscode/blob/83b6cdc610703902055aa42984869ff46227126b/src/vs/platform/files/common/fileService.ts#L400-L418
Try the following:

Open an existing text file in VS Code.
Make an obvious change to it (e.g. insert a line of additional text)  but do not save the dirty file.
Open the same file in another editor (I used Notepad).
In that editor make a change that doesn't alter the file's length (e.g. replace a lowercase letter with an uppercase one). Save this change.
Back in VS Code, save the change you made in step 2.
:bug: No dirty write warning appears. Instead the change made in step 4 is lost.

Version: 1.55.0-insider (user setup)
Commit: 84fe402d655e029eb1a5c04e675bf64788fa7fcf
Date: 2021-03-15T05:14:29.836Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

👏  for finding this, but I am inclined to close this was wont fix because there is reasons to also check on the content size and not just modification time. I had seen a lot of issues where modification time was advanced but the content not changed (aka false positives) so I ended up with this solution.
We could maybe open up https://github.com/microsoft/vscode/issues/919 to cover this case as well. If we had a hash over the contents of the file we could use it to compare the content properly and not just through the size.

For dirty write protection I think false positives are preferable to false negatives.
Can we compute and store a content hash when reading the file, then if the file to be overwritten has a later timestamp but the same size we'd fetch it and compute the hash, triggering dirty write protection if the hash has changed?

For dirty write protection I think false positives are preferable to false negatives

I remember in the early days this was very frustrating for users because showing this notification prevents you from normal save and it is hard to understand why that happens. This was especially happening with remote network drives where maybe the file system driver was causing issues with the mtime on disk and VSCode was constantly thinking the file has been modified. Or even worse, a file watcher or some other external program bumping the mtime without changing the content.

Can we compute and store a content hash when reading the file, then if the file to be overwritten has a later timestamp but the same size we'd fetch it and compute the hash, triggering dirty write protection if the hash has changed?

Yes that is what I had thought https://github.com/microsoft/vscode/issues/919 could solve but we can leave this as individual feature request. Bottom line: it can be expensive to compute this hash every time you open a file so preferably I would only compute the hash when we run into the issue of mtime having advanced while the size is the same.

preferably I would only compute the hash when we run into the issue of mtime having advanced while the size is the same.

Won't the hash of the originally-opened file need to be computed at load time? Or does VS Code keep a local copy of how this looked before the user made any changes?
Another suggestion is to make this behaviour configurable, perhaps by scheme or scheme+authority. Then maybe make the code default to etag-only comparison when etags are being supplied, else the combination of mtime and size. People who start getting false positives would then add a setting to revert to the previous behaviour for the affected scheme or scheme+authority.

@gjsjohnmurray yeah good point, it would need to be a hash of the contents on disk. However, we do have a undo/redo stack so we could possibly figure out the original contents all the way back by applying the undo steps on the model if we wanted to compute this lazily.
I think I would rather want a solution like the hash one for any file system provider and rather not have this configurable.

I wish we had a more sensible default here:

For most cases mtime is enough, this should be the default case
There should be a behavior state per FS which would enable additional content checking, whenever mtime gets invalidated
There should be a setting to manually enable that behavior, at user/workspace/folder level

We have a setting for the user to control our dirty write prevention called files.saveConflictResolution:

I think my statement from https://github.com/microsoft/vscode/issues/119002#issuecomment-799992944 is still correct, only do the more expensive content hash when size did not change but mtime advanced.


Placeholders don't work in Maven project name

In the parent pom you have this:
<name>${project.groupId}:${project.artifactId}</name>

However, this does not do what you expect, and results in every project having ${project.groupId}:${project.artifactId} as its literal name.

You need to manually set the <name> in every pom instead. e.g. "Elastic APM Java Agent", "Elastic APM Java API", "Elastic APM Agent Attacher", etc.

Sorry, it must be an IDE issue. I've checkd with other tools and it's fine.

Most (if not all) of <name> in pom.xml files contain the same value

Of the 178 dependencies in my largest project, yours are the only ones that have that.
I haven't checked thoroughly, but none of them are using any placeholders in the <name> of their published poms.

Out of curiosity, which IDE is that ? Is that Eclipse, Netbeans or something more exotic ?

IntelliJ IDEA

That's the one the whole team is using, and we never saw that.
For example with the https://github.com/elastic/opbeans-java/ project that has a dependency on the agent API, the dependencies are properly shown on my side.

Does it happens on a project that is not built with maven ? It would make sense if, for example, gradle would not interpolate properties and only rely on the provided values in META-INF/MANIFEST.MF.

@SylvainJuge because that's showing the project coordinates, not the project name. My screenshot is from the "Dependencies" panel, which shows the name.

The underlying issue seems to be with JetBrain's database
https://package-search.jetbrains.com/package?id=co.elastic.apm%3Aapm-agent-parent
Though I recommend you consider either adding a proper name, or removing the <name> from your projects (then it will default to <artifactId>). I don't know of any other developer doing what you are.

FYI: https://youtrack.jetbrains.com/issue/PKGS-933
If you have a YouTrack account I can ask for you to be given access permissions.

I've created a YouTrack account, but I can't see the issue yet, my username is SylvainJuge.


Create 0001_initial.py

fixes #20

This won't work in general because it references an app and model in your own project. See #20 for further comments.


VCS: Broken xmldocs.py references

Functions with broken xmldocs.py references

[x] createboxfill
[x] createisofill
[x] createisoline
[x] createscatter
[x] createxvsy
[x] createxyvsy
[x] createyxvsx
[x] getisofill
[x] getisoline
[x] getscatter
[x] getxvsy
[x] getxyvsy
[x] getyxvsx
[x] isofill
[x] isoline

Create__ now filled out automatically in xmldocs.
isofill/line and any class docs just need their docstring assigned to the class's doc property, if we need to incorporate stuff from xmldocs.


Investigate why log.rs bug was not caught by tests

Describe the bug
While implementing https://github.com/apache/datafusion/pull/12972, I've pushed a commit with a bug for log(x,y) case. However, that CI tests were successful for that commit. Thanks to @berkaysynnada I've realized the bug and fixed it.
Fix: https://github.com/apache/datafusion/pull/12972/commits/58d3d86c793a119804a1322d75eb9c3607a64df2
Tests do not cover this case or something else is wrong. I will investigate and fix the issue or extend the tests.
To Reproduce
Revert this commit: https://github.com/apache/datafusion/pull/12972/commits/58d3d86c793a119804a1322d75eb9c3607a64df2
Expected behavior
slt tests or unit tests should have caught the issue.
Additional context
No response

take


Improve Start and Stop DX

Changed

Adds the ability to start and stop containers by service name. Currently, to start/stop specific containers we need to pass the container ID. With this change, we get the ability to also pass the service name of such containers. This makes the start/stop commands behave closer to enable/disable.

Before:
takeout start 123123123

Now:
takeout start mysql

resolves #284

I was about to build this, but saw that this pull request was already made. @mattstauffer do you have time to take another look at this?


[youtube] Add support for multifeed videos

Adds support for downloading multifeed videos (from multiple cameras) as playlist (e.g. https://www.youtube.com/watch?v=jqWvoWXjCVs)

Merged in 34866b4836eab8dd2fcaae88dc1ed5c79a742c92.


platform: implement locale get/set/monitor and node-type

We should implement a standard API to set, query and monitor locale changes, also exposed as node-type.
In Linux, these would be implemented on top of http://www.freedesktop.org/wiki/Software/systemd/localedd/ (platform=systemd) or simply by executing the setlocale() + /etc/locale.conf directly.
If any monitors, then it should monitor the service signals. Stop monitoring once all monitors are deleted.
The node type could be platform/locale with LANG(string) and LANG(string) and also for other individual components of libC, such as LC_NUMERIC. Connecting to OUT would add a monitor.
Console/X11 keyboards shouldn't be covered.

merged.