MProductBuilder.chronos() has a bug

You can reproduce the incident by https://github.com/kazurayam/VisualInspectionOfExcelAndPDF/commit/bd9cc424e5cdaea36decf3fbfdb5977010c6beb7
MProductGroup prepared = MProductGroupBuilder.chronos(store, currentMaterialList, func)
assert prepared != null
println JsonOutput.prettyPrint(prepared.toString())
assert prepared.size() == 1   // exect only 1 MProduct of CSV files

assert prepared.size() == 1 failed.
2022-03-06 12:23:09.002 INFO  c.k.katalon.core.main.TestCaseExecutor   - CALL Test Cases/missions/AmznPress/reduce
{
    "jobName": "AmznPress",
    "resultTimestamp": "20220306_122309",
    "isReadyToReport": false,
    "materialList0": {
        "jobTimestamp": "20220306_122125",
        "size": 3
    },
    "materialList1": {
        "jobTimestamp": "20220306_122304",
        "size": 1
    },
    "mProductList": [
        {
            "left": {
                "jobName": "AmznPress",
                "jobTimestamp": "20220306_122125",
                "ID": "ff3a8a1f014bc640ac3346f98a26bd9f74a8f7a1",
                "fileType": "csv",
                "metadata": {
                    "URL.host": "press.aboutamazon.com",
                    "URL.path": "/rss/news-releases.xml",
                    "URL.port": "80",
                    "URL.protocol": "https",
                    "foo": "bar",
                    "sheet_index": "0",
                    "sheet_name": "press.aboutamazon.com"
                }
            },
            "right": {
                "jobName": "AmznPress",
                "jobTimestamp": "20220306_122304",
                "ID": "ff3a8a1f014bc640ac3346f98a26bd9f74a8f7a1",
                "fileType": "csv",
                "metadata": {
                    "URL.host": "press.aboutamazon.com",
                    "URL.path": "/rss/news-releases.xml",
                    "URL.port": "80",
                    "URL.protocol": "https",
                    "foo": "bar",
                    "sheet_index": "0",
                    "sheet_name": "press.aboutamazon.com"
                }
            },
            "resolventTimestamp": "20220306_122309",
            "diff": {
                "jobName": "_",
                "jobTimestamp": "_",
                "ID": "0000000000000000000000000000000000000000",
                "fileType": "",
                "metadata": {

                }
            },
            "queryOnMetadata": {
                "URL.host": "press.aboutamazon.com",
                "URL.path": "/rss/news-releases.xml",
                "URL.port": "80",
                "URL.protocol": "https",
                "foo": "bar",
                "sheet_index": "0",
                "sheet_name": "press.aboutamazon.com"
            },
            "diffRatio": 0.0
        },
        {
            "left": {
                "jobName": "AmznPress",
                "jobTimestamp": "20220306_122125",
                "ID": "b0a5f3ed20c35383029e82c7b97b8b312bce7ca4",
                "fileType": "xlsx",
                "metadata": {
                    "URL.host": "press.aboutamazon.com",
                    "URL.path": "/rss/news-releases.xml",
                    "URL.port": "80",
                    "URL.protocol": "https",
                    "foo": "bar"
                }
            },
            "right": {
                "jobName": "_",
                "jobTimestamp": "_",
                "ID": "0000000000000000000000000000000000000000",
                "fileType": "",
                "metadata": {

                }
            },
            "resolventTimestamp": "20220306_122309",
            "diff": {
                "jobName": "_",
                "jobTimestamp": "_",
                "ID": "0000000000000000000000000000000000000000",
                "fileType": "",
                "metadata": {

                }
            },
            "queryOnMetadata": {
                "URL.host": "press.aboutamazon.com",
                "URL.path": "/rss/news-releases.xml",
                "URL.port": "80",
                "URL.protocol": "https",
                "foo": "bar"
            },
            "diffRatio": 0.0
        },
        {
            "left": {
                "jobName": "AmznPress",
                "jobTimestamp": "20220306_122125",
                "ID": "a9eec8a161f8600ac3bd9661bf0f561819c2fbe0",
                "fileType": "xml",
                "metadata": {
                    "URL.host": "press.aboutamazon.com",
                    "URL.path": "/rss/news-releases.xml",
                    "URL.port": "80",
                    "URL.protocol": "https"
                }
            },
            "right": {
                "jobName": "_",
                "jobTimestamp": "_",
                "ID": "0000000000000000000000000000000000000000",
                "fileType": "",
                "metadata": {

                }
            },
            "resolventTimestamp": "20220306_122309",
            "diff": {
                "jobName": "_",
                "jobTimestamp": "_",
                "ID": "0000000000000000000000000000000000000000",
                "fileType": "",
                "metadata": {

                }
            },
            "queryOnMetadata": {
                "URL.host": "press.aboutamazon.com",
                "URL.path": "/rss/news-releases.xml",
                "URL.port": "80",
                "URL.protocol": "https"
            },
            "diffRatio": 0.0
        }
    ]
}
2022-03-06 12:23:10.150 ERROR c.k.katalon.core.main.TestCaseExecutor   - ❌ Test Cases/missions/AmznPress/reduce FAILED.
Reason:
Assertion failed:

assert prepared.size() == 1   // exect only 1 MProduct of CSV files
       |        |      |
       |        3      false
       {"jobName":"AmznPress","resultTimestamp":"20220306_122309","isReadyToReport":false,"materialList0":{"jobTimestamp":"20220306_122125","size":3},"materialList1":{"jobTimestamp":"20220306_122304","size":1},"mProductList":[{"left":{"jobName":"AmznPress","jobTimestamp":"20220306_122125","ID":"ff3a8a1f014bc640ac3346f98a26bd9f74a8f7a1","fileType":"csv","metadata":{"URL.host":"press.aboutamazon.com", "URL.path":"/rss/news-releases.xml", "URL.port":"80", "URL.protocol":"https", "foo":"bar", "sheet_index":"0", "sheet_name":"press.aboutamazon.com"}},"right":{"jobName":"AmznPress","jobTimestamp":"20220306_122304","ID":"ff3a8a1f014bc640ac3346f98a26bd9f74a8f7a1","fileType":"csv","metadata":{"URL.host":"press.aboutamazon.com", "URL.path":"/rss/news-releases.xml", "URL.port":"80", "URL.protocol":"https", "foo":"bar", "sheet_index":"0", "sheet_name":"press.aboutamazon.com"}},"resolventTimestamp":"20220306_122309","diff":{"jobName":"_","jobTimestamp":"_","ID":"0000000000000000000000000000000000000000","fileType":"","metadata":{}},"queryOnMetadata":{"URL.host":"press.aboutamazon.com", "URL.path":"/rss/news-releases.xml", "URL.port":"80", "URL.protocol":"https", "foo":"bar", "sheet_index":"0", "sheet_name":"press.aboutamazon.com"},"diffRatio":0.0},{"left":{"jobName":"AmznPress","jobTimestamp":"20220306_122125","ID":"b0a5f3ed20c35383029e82c7b97b8b312bce7ca4","fileType":"xlsx","metadata":{"URL.host":"press.aboutamazon.com", "URL.path":"/rss/news-releases.xml", "URL.port":"80", "URL.protocol":"https", "foo":"bar"}},"right":{"jobName":"_","jobTimestamp":"_","ID":"0000000000000000000000000000000000000000","fileType":"","metadata":{}},"resolventTimestamp":"20220306_122309","diff":{"jobName":"_","jobTimestamp":"_","ID":"0000000000000000000000000000000000000000","fileType":"","metadata":{}},"queryOnMetadata":{"URL.host":"press.aboutamazon.com", "URL.path":"/rss/news-releases.xml", "URL.port":"80", "URL.protocol":"https", "foo":"bar"},"diffRatio":0.0},{"left":{"jobName":"AmznPress","jobTimestamp":"20220306_122125","ID":"a9eec8a161f8600ac3bd9661bf0f561819c2fbe0","fileType":"xml","metadata":{"URL.host":"press.aboutamazon.com", "URL.path":"/rss/news-releases.xml", "URL.port":"80", "URL.protocol":"https"}},"right":{"jobName":"_","jobTimestamp":"_","ID":"0000000000000000000000000000000000000000","fileType":"","metadata":{}},"resolventTimestamp":"20220306_122309","diff":{"jobName":"_","jobTimestamp":"_","ID":"0000000000000000000000000000000000000000","fileType":"","metadata":{}},"queryOnMetadata":{"URL.host":"press.aboutamazon.com", "URL.path":"/rss/news-releases.xml", "URL.port":"80", "URL.protocol":"https"},"diffRatio":0.0}]}

	at reduce.run(reduce:25)
...

Please find the size of materialList0 is 3.
"materialList0": {
        "jobTimestamp": "20220306_122125",
        "size": 3
    },

The chronos() method should create the materialList0 object of size== 1 instead.
The chronos() is not checking the FileType to be included in the materialList0 == CSV

MProductGroupBuilder has a code snippet:
    static MProductGroup chronos(
        ...
        // infer the previous JobTimestamp to compare the current JobTimestamp against
        JobTimestamp previousTimestamp =
                store.queryJobTimestampWithSimilarContentPriorTo(jobName, currentTimestamp)

I can improve this:
        // infer the previous MaterialList JobTimestamp to compare the current JobTimestamp against
        MaterialList previousML = store.queryMaterialListWithSimilarContentPriorTo(jobName, currentTimestamp)

The method should return a MaterialList rather than JobTimestamp.

v0.4.8


Pass providers explicitly

Shaun ran into the problem where he couldn't delete this module from the terraform. This appears to be due to us defining the providers in the module itself. Instead we are supposed to define the providers in the root TF and pass the provider in explicitly.
The summary of the problem is that as we define the providers in the module, when we remove the module from the terraform, this removes from the providers as well. Terraform then doesn't know which provider in needs to use to delete the module resources and then promptly explodes.
Relevant StackOverflow that shows the same problem and explains it -
https://stackoverflow.com/questions/58393294/terraform-refactoring-modules-error-provider-configuration-not-present
This PR switches to passing the providers explicitly and removes the providers from the module itself.
The biggest problem with this PR is the declaration of the modules at the root level means you have to add a "Provider" to each resource at the root level which is more clumsy.
More details:

Providers within modules
Passing Providers Explicitly

Yeah sounds a bit poo.

Happy for the merge once tested as a pre release before merging.

done with #3


Lumen support

Add a service provider to use your package in Lumen

I'd rather see a different solution, as this duplicates a lot of code. Wouldn't be easy to maintain.

2.0 branch please.


feature: Reject requests to update the EIP field of EgressPolicy CR

After creating the EgressPolicy CR, use a webhook validation to reject requests to update the EIP field of the CR.

Fixed


Integrate ffmpeg package, export videos with audio, add Audio tag

@hkonsti I think this is ready now. Can I merge?


Question about error handling

It's really good that I can use standard exceptions in winrt c++. Does anyone know if there are any logging libraries for UWP in winrt c++ style? Maybe this place is not the place to ask but I'm desperate.

That's a great question for Stack Overflow.

And Stack Overflow isn't a good place too for that question, because all recommendations are off topic.


CodeDoc build issues

We're seeing perhaps dozens of of ShowMissingComponent warnings when building the CodeDoc project.  I just fixed a bunch of these, but there still are some remaining.
To reproduce, manually build CodeDoc in Visual Studio and the search the build output for ShowMissingComponent.

Porting to DocFX #1206


python311Packages.google-cloud-datacatalog: 3.16.0 -> 3.17.0

Changelog: https://github.com/googleapis/python-datacatalog/blob/v3.17.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

8 packages marked as broken and skipped:

python310Packages.dbt-bigquery
python310Packages.dbt-bigquery.dist
python310Packages.google-cloud-bigquery
python310Packages.google-cloud-bigquery.dist
python311Packages.dbt-bigquery
python311Packages.dbt-bigquery.dist
python311Packages.google-cloud-bigquery
python311Packages.google-cloud-bigquery.dist

4 packages built:

python310Packages.google-cloud-datacatalog
python310Packages.google-cloud-datacatalog.dist
python311Packages.google-cloud-datacatalog
python311Packages.google-cloud-datacatalog.dist

Result of nixpkgs-review pr 279172 run on aarch64-linux 1

8 packages marked as broken and skipped:

python310Packages.dbt-bigquery
python310Packages.dbt-bigquery.dist
python310Packages.google-cloud-bigquery
python310Packages.google-cloud-bigquery.dist
python311Packages.dbt-bigquery
python311Packages.dbt-bigquery.dist
python311Packages.google-cloud-bigquery
python311Packages.google-cloud-bigquery.dist

4 packages built:

python310Packages.google-cloud-datacatalog
python310Packages.google-cloud-datacatalog.dist
python311Packages.google-cloud-datacatalog
python311Packages.google-cloud-datacatalog.dist

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

8 packages marked as broken and skipped:

python310Packages.dbt-bigquery
python310Packages.dbt-bigquery.dist
python310Packages.google-cloud-bigquery
python310Packages.google-cloud-bigquery.dist
python311Packages.dbt-bigquery
python311Packages.dbt-bigquery.dist
python311Packages.google-cloud-bigquery
python311Packages.google-cloud-bigquery.dist

4 packages built:

python310Packages.google-cloud-datacatalog
python310Packages.google-cloud-datacatalog.dist
python311Packages.google-cloud-datacatalog
python311Packages.google-cloud-datacatalog.dist


Froala field disappear while typing

Laravel: v5.8.33
Laravel Nova: v2.1.1
Nova Froala Field: v3.1.0
Chrome: v76.0.3809.132
Firefox: v68.0.2
I have integrated this into my project and it works most of the time.
But some times the field disappear while I'm typing, along with the content.
This happens randomly, but only when I'm typing on this field.
When this happens, I can see some Vue components being rendered onto the DOM.
I have verified this issue in both Chrome and Firefox as well as on other PCs.

Need more details. Have you found why actually it disappears?

Actually, I was hoping you could tell me. It doesn't throw any errors or anything. But this only happens on my production server though.
I'm running:
Ubuntu 18.04.3 LTS
PHP 7.3.8
All I see is some Vue components being loaded into the DOM.
When it does that, the textarea that appear fails the required validation even when it is not empty.

Can't reproduce behavior.
Feel free to reopen this issue with more details.

@tharindu-abans Same here for me. It just happens. Did you find a solution?

@slavarazum I was able to reproduce it.
Version: 3.2.2
If you copy a text with a lot of lines and you delete the line endings. After ~8 line ending deletion the editor disappears.


windows gulp util

gulp.js is not executable on windows and should be applied to node as a parameter.

I haven't had the possibility to test in a windows-vm, but it seems correct. I'll test it in the next couple of days.

I think it's safe to merge, as we use it already. Might look into running gulp with forever on windows too, when you get the VM running.


[Just Test] Trigger e2e

Purpose
Resolves #
Describe your changes
PR checklist

[ ] Add link to the issue
[ ] Choose Project
[ ] Choose PR label
[ ] New unit tests added
[ ] Modified code has meaningful comments
[ ] All TODOs are linked with the issues
[ ] All comments are resolved

Testing
Provide test details

/ci

/ci


Create Jenkins job to run tests

Add support for launching tests for pull requests - https://wiki.jenkins.io/display/JENKINS/GitHub+pull+request+builder+plugin
Ideally include support for github's 'branch protection' feature as well (run tests on the branch, and then also run tests if the branch were merged)

myhpom-build.edc.renci.org is ready for you.

I've setup basic build support. It isn't as yet integrated into github pull requests: http://myhpom-ci.edc.renci.org/jenkins/job/Build_MYHPOM

(and the build took an hour and twelve minutes)

@Dane, I moved the milestone so we're all comfortable.


Validation.Required.URL.Redirect reported in AppScan

I am using react-router-dom 4.3.1 and when I use IBM Security AppScan Source for Analysis to scan my project, I get a High issue "Validation.Required.URL.Redirect"

The related code is below
 var replaceHashPath = function replaceHashPath(path) {     var hashIndex = window.location.href.indexOf('#');     window.location.replace(window.location.href.slice(0, hashIndex >= 0 ? hashIndex : 0) + '#' + path);   };
Based on the description of the AppScan tool, to avoid this issue is reported, my understanding is that we only need to change the code as below.
 var replaceHashPath = function replaceHashPath(path) {     var hashIndex = window.location.href.indexOf('#');     var newPath = window.location.href.slice(0, hashIndex >= 0 ? hashIndex : 0) + '#' + path;     window.location.replace(newPath);   };
Currently my probject keeps reporting this issue for several releases, so I really need to resolve this. Please let me know if this little change could be accepted. If needed, I can create a PR. Please review and let me know. Thanks!

The code that you refer to comes from the history package, so it would be more relevant to discuss this in the history repo.

oh, right, sorry, thanks!


Translate type literals to @typedef

E.g.
var litType: {someField: number};

Should become:
var /** {{someField: number}} */ litType;

Oops, I accidentally started on this without grabbing the bug.

Actually, I'm not sure what this bug is asking for.  The description mentioned @typedef but the example doesn't use it.

I think I started writing an issue about the first thing, and then was already on the next thing when filling out the body. Talk about attention span issues...
In any case, translating object types as shown in the example above seems useful.

This was fixed with my recent type translation work.


[explore-v2]  make async request once page loads for chart data

improve page speed performance by making async request on page load for chart data. do not send chart data with bootstrap data.

solved w/ https://github.com/airbnb/superset/issues/1826


C_CPP: Dynamic Memory Deallocation

Description 📜
Explained how and where to use dynamic memory deallocation. Also, performed few programs explaining the same.
Fixes #8013

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] C/CPP

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Looks great to me !!


Add types to symbol outline

Closes #396. I also added collapsible items for imports and namespaces.

I'm not sure how to get the types of sub-level symbols yet, so I just put a '?' when the type is not available. We also need to add some kind of caching so the outline doesn't flicker when the file can't be processed (ie. while actively typing).

See also https://github.com/effekt-lang/effekt/tree/feature/llm

Hey @marvinborner what are the next steps here?

I'm really not sure. As discussed, annotating the scopes adds a lot of allocations.
Also, I don't think I understand the scope data type fully, mapping every scope to LLM's allBindings as I did here was definitely the wrong approach as it recurses infinitely.
I think we need to find a better (and cached) solution, and also cache other stages first. Otherwise, merging (something like) this will decrease LSP's performance a lot.


buildsystemdata fails with latest static data export

Running on Debian 8.1 (Jessie), Python 2.7.9, MariaDB (10.0.16-MariaDB-1 (Debian)) in a VM.
On a new install (pulled from 69e64d1c8d28d5237256116db8a3c4622c691e95), after the syncdb and migrate --fake steps, ./manage.py buildsystemdata fails with the latests static data export from https://www.fuzzwork.co.uk/dump/mysql56-carnyx-1.0-113321.tbz2 with the following error:
(eve-wspace)maptool@jessie-vm:~/eve-wspace/evewspace$ ./manage.py buildsystemdata
Beginning System Table Construction
First Pass Complete, beginning lowsec pass
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
  File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
    return self.handle_noargs(**options)
  File "/home/maptool/eve-wspace/evewspace/core/management/commands/buildsystemdata.py", line 64, in handle_noargs
    lowsec = KSystem.objects.get(name=system.name)
  File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/db/models/manager.py", line 151, in get
    return self.get_queryset().get(*args, **kwargs)
  File "/home/maptool/eve-wspace/local/lib/python2.7/site-packages/django/db/models/query.py", line 310, in get
    self.model._meta.object_name)
Map.models.DoesNotExist: KSystem matching query does not exist.

With the Mosaic SDE (https://www.fuzzwork.co.uk/dump/mysql56-mosaic-1.0-112241.tbz2) it works without problems.

Having the same issue with a new install. FreeBSD 10.1, Python 2.7.9.
Works with the latest Mosaic dump (1.2).

Just here to confirm the issue on my own install. I ended up using the Mosaic 1.2 dump and it worked fine.

I also had this problem.  These seem to be from the 5 new shattered wormholes with Carnyx.
Able to work around by changing line 68 of core/management/commands/buildsystemdata.py from:
"except LocationWormholeClass.DoesNotExist:"  to  "except:"

This has been fixed in develop.


import quantized pytorch model and export into quantized onnx ones

Hello,
I'd like to know if INC is able to load quantized pytorch models and export it into a quantized onnx model.
Thanks

Thanks @davidegiaca for reporting. This feature was being developed. May I know what's the source model, TensorFlow or PyTorch?

@davidegiaca Please refer to this link and try it out. we have not yet prepared a documentation for this feature, you can expect it in the next release.
https://github.com/intel-innersource/frameworks.ai.lpot.intel-lpot/blob/master/test/test_torch2onnx.py
Note: please use nightly install for the latest feature, thanks.

Thanks @davidegiaca for reporting. This feature was being developed. May I know what's the source model, TensorFlow or PyTorch? cc @xin3he

Thanks for your reply.
I'm using a quantized pytorch model

@davidegiaca Please refer to this link and try it out. we have not yet prepared a documentation for this feature, you can expect it in the next release. https://github.com/intel/neural-compressor/blob/master/test/test_torch2onnx.py Note: please use nightly install for the latest feature, thanks.

Thank you,
I'll try it

Does the torch2onnx.py file have support to convert quantized stable diffusion model to onnx format

Stable diffusion is a combination of CV and NLP models, you can export them one-by one and combine them back.

I have onyl quantized unet part of Stable diffusion model , I want only that part to onnx .


⚠ Bofrost.be has degraded performance

In 3811741, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1196 ms

Resolved: Bofrost.be performance has improved in 1cc59eb after 10 minutes.


Fix Microsoft.SemanticKernel.Core xml doc file name

The current nuget package lacks IntelliSense descriptions for APIs because the documentation xml file's name doesn't match the corresponding assembly name.  This is just fixing it to match.

@shawncal FYI


Update Sound Manager 2

Update Sound Manager to version V2.97a.20150601.
This should fix http://www.badlogicgames.com/forum/viewtopic.php?f=15&t=24079 .

GWT builds successfully with this change, but fails to actually run in the browser on desktop. Causes some kind of exception, even in apps that don't have any sounds.
Seems to work in browsers on Android though, oddly enough.

Works just fine in browser.

Oh, I should have mentioned, This bug only seems to occur about 50% of the time, but I've tested it on multiple browsers on multiple computers. They're all running Windows 10 though.

Are you running gdx tests from source? I've ran this on chrome and firefox no issue.

I suggest you try refreshing the page a few times to see if that makes it occur.
Maybe it might have something to do with Windows 10 sound drivers somehow.

Just tried it on Windows 7, same issue. See my page here: https://benmclean.github.io/Planet-Generator/html/build/dist/ (btw it may be updated by tomorrow)

Run the gdx-tests please.

I will give that a try after work. :)

I will be trying out the tests as you suggest, but just FYI here is the error from the javascript console:
Uncaught Error: soundManager: Fatal: JavaScript file build "V2.97a.20130512" does not match Flash SWF build "V2.97a.20150601" at https://benmclean.github.io/Planet-Generator/html/build/dist/html/soundmanager2_flash9_debug.swf. Ensure both are up-to-date.
    at soundmanager2-jsmin.js:94
(anonymous) @ soundmanager2-jsmin.js:94
soundmanager2-jsmin.js:32 soundManager: No Flash response within expected time. Likely causes: Flash blocked or JS-Flash security error.
_writeDebug @ soundmanager2-jsmin.js:32
(anonymous) @ soundmanager2-jsmin.js:102
soundmanager2-jsmin.js:32 soundManager.disable(): Shutting down
soundmanager2-jsmin.js:32 SoundManager 2 failed to load (Flash security/load error)
_writeDebug @ soundmanager2-jsmin.js:32
X @ soundmanager2-jsmin.js:105
disable @ soundmanager2-jsmin.js:30
Ga @ soundmanager2-jsmin.js:81
(anonymous) @ soundmanager2-jsmin.js:103
html-0.js:5919 Uncaught TypeError: Cannot set property 'k' of undefined
    at Cd (html-0.js:5919)
    at Dd (html-0.js:5575)
    at fd (html-0.js:2350)
    at qd.sd [as Ac] (html-0.js:7564)
    at ontimeout (html-0.js:6835)
    at M (soundmanager2-jsmin.js:88)
    at X (soundmanager2-jsmin.js:105)
    at fa.disable (soundmanager2-jsmin.js:30)
    at Ga (soundmanager2-jsmin.js:81)
    at soundmanager2-jsmin.js:103

I'll try to get this done soon but not today.

I also have this problem after updating from 1.9.4 to 1.9.6. I am using Windows 10. The error message is logged only on Firefox with Flash enabled. Firefox without Flash and Chrome are working.
Error: soundManager: Fatal: JavaScript file build "V2.97a.20130512" does not match Flash SWF build "V2.97a.20150601" at https://v6p9d9t4.ssl.hwcdn.net/html/495497/html/soundmanager2_flash9_debug.swf. Ensure both are up-to-date.  soundmanager2-jsmin.js:94:452
soundManager: No Flash response within expected time. Likely causes: Flash blocked or JS-Flash security error.  soundmanager2-jsmin.js:32:357
soundManager.disable(): Shutting down  soundmanager2-jsmin.js:32:357
SoundManager 2 failed to load (Flash security/load error)  soundmanager2-jsmin.js:32:357

@Tom-Ski problem exists in Firefox on Windows with Flash installed. Probably you are using Firefox without Flash. See #4771 for console log. I think this should be classified as a critical problem because it is preventing the whole application to start on a widely used configuration.

@MrStahlfelge you are probably using a gdx project which has been created by an old version.
The soundmanager files are directly stored in your project and aren't updated when you update your libgdx project (by changing the libgdx version in your build.gradle).
You have to either regenerate your project or copy over the new files.

@intrigus Thank you for the hint. I updated according to the doc in the wiki -- is this documentation incomplete? Where can I find the information which files to copy? (probably the two js files in /webapp, but I want to make sure)

@intrigus can you please add the information which files to copy to the Update documentation? I would add it myself it I would know which files from where need to be replaced.

Busy right now. Sorry.


Introduce dual proxy mode

This is the first in a series of PR achieving the v1.5 milestone. This PR introduces a dual proxy mode to reduce the number of calls made through premium proxy services such as ScraperAPI or Luminati (Bright Data) and use those resources judiciously. This is based on the idea discussed in #334. These changes are made mainly to extend the reach of small-sized projects and proof-of-concepts with scholarly (e.g., #295 , #330) with the free plan of ScraperAPI before investing in paid plans.
The changes are fully compatible with existing applications (hence can go in v1.4.4 if there's a pressing need). However under the hood, it uses FreeProxy by default to scrape pages that are not blocked by G Scholar while the premium, expensive proxy modes are reserved for the pages that are actively blocked by anti-bots. The switching between the two proxy managers happens internally, so the user doesn't have to worry about the kind of page scraped.
This significantly reduces the number of calls through ScraperAPI/Luminati. Running the full suite of unit tests involves only 22 calls to ScraperAPI as opposed to 57 calls before.
The tests pass for now, but I would like it to be a part of main branch for a few days before the release so we can monitor if FreeProxy is robust enough. In the mean time, I have a few other PRs that I'm working on that need to get merged before releasing 1.5.

Closing this in lieu of #355


remote: when pushing to a local repo, use local store for ignores

When pushing from a repo that is backed by a slow storage layer (e.g., a distributed file system), to a repo that is completely local, we should use the local repo as much as possible to discover the list of to-be-ignored commits, since it is much faster.
May be easiest to review commit-by-commit.
Issue: KBFS-3788
Issue: KBFS-3789
Issue: KBFS-3790
Issue: keybase/client#12730

(I tagged everyone separately, but I'll probably merge it with just one review.)


Example CentOS 7 release

Summary
This is an example attempt at building a contained release of Postleaf and all dependencies for CentOS 7.
https://drive.google.com/open?id=0Bw79xAK-G5jhQTNnNmoxcGxxWXc
Installation:
wget https://drive.google.com/open?id=0Bw79xAK-G5jhQTNnNmoxcGxxWXc
tar -zxvf postleaf-centos-7.3.tar.gz
cd postleaf
cp .env-example .env
nano .env // setup your env settings
chmod +x run.sh
./run.sh // sets PATH variables, calls node from bin directory

The only dependency missing from this example is sqlite, which is installed by default on DigitalOcean droplets.
With this technique you can create a build process for each major server OS. You can bake in all dependencies and assets post-gulp build. This greatly simplifies the installation process.
How it works:
First, install Postleaf on the target OS normally, including all dependencies (node, sqlite, gm, etc.)
Move all dependency binaries to a folder inside the postleaf project (I used bin)
Write a startup script to modify the PATH environment variable for the node process (see run.sh) to include the bin directory. Now all calls to binaries like GM will look inside our bin folder first.
Note we also use our local node binary instead of the globally installed Node. This is a big deal since many node-based projects require different versions of node, they really need to bundle their preferred version to avoid conflicts. Really important if you want to run more than one node app on the same box.
We might be able to get rid of run.sh if we can set the PATH environment variable at runtime (top of app.js). Not sure about this.
We should check the licensing on GM to make sure it can be bundled legally, and make sure we include the license alongside the binary if necessary.

GraphicsMagick is MIT, so bundling is fine: http://www.graphicsmagick.org/Copyright.html
I'll look at this more closely when I get back.

Ok, the latest release (alpha 3) should fix most of the installation issues folks were having. I still only test on macOS and Ubuntu at the moment (supporting every platform is way too time consuming), but I'm open to posting a tutorial for other major distros such as CentOS if you want to write one. Otherwise, edge cases for those platforms will have to be sorted out by end users.
By the time we reach stable, the installation process will probably change completely, so I'd like to stay focused on dev until then :)


Added connection options to the connector

Added the ability to set connection options in the loopback datasources config.
Before you could only add these options directly from a send request:
"const request = mailjet.post("send", {'version': 'v3.1'})..."

Thanks for the MR


Increase TEST_TIMEOUT to 90m for stable tests infrastructure

What this PR does / why we need it:
Upgrade tests sometimes can take too long then 1h, it's been observed that they timeout right on the brink of successful completion.
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?
/kind flake
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

NONE

Documentation:

NONE

/cherrypick release/v1.8


fix: prevent endless loop on 403 GitHub response

This PR prevents GET requests made by Macaron from looping endlessly when receiving a 403 error that is not related to GitHub's API rate limit. It also adds a configurable retry limit that applies to all request failures.
Closes #865

To add a unit test, you can use the pytest_httpserver with localhost as the endpoint. You can then return error codes like 403 with the corresponding response object and make sure the request is attempted for the pre-configured number of times.


Update Links “tiktok-48”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-hoover-7b89cc processing.
🔨 Explore the source changes: ee32cdb89624b1035a1ae88497e1c264e44e3415
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-hoover-7b89cc/deploys/6219edd9b16ad80008b0462f


Add a Changelog/Release Notes

It'd be good to adda changelog or Release Notes somewhere so users can see what is changed in each update. Maybe add a CHANGELOG.md or add it as a section to the readme.txt.

Agree.

https://themes.trac.wordpress.org/ticket/62944


feat(trace): support for disabling tracing of specified spanName

resolve #2360

PTAL  @kevwan @SevenLives


Basic Outline of the Contributors Page #609

The basic outline of the page has been done, including division into sections of what the page could contain and fetching data from the github endpoint of all the contributors and rendering that.

Sandy, can you take a look at this Issue
https://github.com/source-academy/cadet-frontend/issues/609
and compare. Where are the gaps? Let's reach a consensus first.

Pull Request Test Coverage Report for Build 1755

4 of 37 (10.81%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 24.212%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/Contributors.tsx
3
36
8.33%

Totals

Change from base Build 1750:
-0.1%

Covered Lines:
1215

Relevant Lines:
4186

💛  - Coveralls

Shuming mentioned:

Try to avoid the type any, the reason we use typescript is so we know what we props and functions an object will have.

I think some places in the code where I cycle through the array and use the type any is because at that point I am fetching an object in an array from the api endpoint, where each object has too many key-value pairs + attributes of each object might also change. So, I decided to stick with any type in those places. Is that alright?
But you are right, there are some places where I think have used the any type but it can be replaced by the types I have already declared at the top of the code. So, will work on fixing those soon.

team vs contributors: "team" emphasizes the fact the we are working closely together, and "contributors" emphasizes that people can take part easily. I'd vote for "contributors". That way it's more inviting to newcomers.

**a little stretched...*: I agree. One way to handle is to have two columns, similar to the Facilitators of modules in LumiNUS. Also worth considering: we could put the name and number of commits to the right of the picture, instead of under it.

**a little stretched...*: I agree. One way to handle is to have two columns, similar to the Facilitators of modules in LumiNUS. Also worth considering: we could put the name and number of commits to the right of the picture, instead of under it.

Yes we can use css-grid for this!

I have tried to make the popup look better with the latest commit:

Made the dialog box wider as well as adjusted the image size of each contributor and the width of their name and number of commits. So, now the contributors are arranged row by row with 4 contributors per row.

@martin-henz suggested that we split it into 2 columns, so that would mean 2 contributors per row? I felt that since there are so many, might as well have 4 per row to make it easier to see more contributors at first glance and have lesser scrolling. I don't know though, which one do you all think is better?

Also, as @martin-henz mentioned, we could put the gitHub username and number of commits to the right of the photo which I don't mind as well. Do we go for this?

Changed "Team" to "Contributors" where necessary as it was voted to be the better option.

With my minimal knowledge of css and sass, I have experimented quite a bit and decided certain things like how many pixels something should be, etc. I am not too sure about issues of how the same thing would appear on different browsers/devices, as well as if the way I have created different classes for different container elements is fine. Any suggestions on that as well later when cleaning code would be helpful as well!

@rrtheonlyone I have no idea why the package-lock.json file got changed when I made my first commit. I did git add . so I didn't realize at that point that the file had changed. I saw it and it seems two lines got deleted for some reason. Added back those two lines, ran the code, everything still worked fine.
So, what do I do now with regards to that?

@geshuming I used css display: inline-block instead of grid, but I can look into grid as well if you need me to use that!

Yep, we can use css-grid to display 4 contributors per row, and then have the dialog box width fit the content, instead of using a fixed width.

@sandydays I would recommend against using redux to handle contributor data. You are just complicating the data fetching process without any benefit of using the redux store.
I would recommend you do an initial fetch when the Application performs componentDidMount(), store the data as a constant and pass down the prop to the About component. No need for redux at all.

Agree. The "single source of truth" is GitHub, here.


arrayfire imax function

max_val, max_idx = af.imax(img)
running this function seems to have wrong behavior and finds wrong max value for an image with pixels in range [0,1].
When running max_val, max_idx = af.imax(af.flat(img)) the correct max value is found.

I'm having trouble reproducing this with various backends and image sizes.
af.info()
af.set_backend('opencl')
img = af.randu(3,3)
max_val, max_idx = af.imax(img)
max_valf, max_idxf = af.imax(af.flat(img))
print(img)
print(max_val)
print(max_idx)
print(max_valf)
print(max_idxf)
#####
[3 3 1 1]
    0.3688     0.1266     0.4220
    0.2578     0.6511     0.2491
    0.3815     0.4507     0.4128

0.6511174440383911
4
0.6511174440383911
4

This is with the latest wheels. Can you provide more info what system/gpu/release/backend/OS/driver version/python version you're seeing the wrong behavior? Sample data or a minimal reproducible code snippet would be appreciated as well 🙏

Let me know if this is helped


Upload photo to s3 from iOS device using orion.attribute('image') crashes.

iOS 9.1
Meteor 1.2.1
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

This is working for me, please give more details.


ERROR: The system cannot find specified file

I am getting this error when I try to generate outputs. I have re-installed and installed with no success. Any suggestions on how to fix this?

Please try to download the .zip archive and not use the msi installer, does it work then?

It turns out my PC didn't have .NET core. Once I install .NET core 2.1 everything worked perfectly.


quic protocol

I have a problem, I have a server that supports the quic protocol, but I still use the http2 protocol when I use it as a forward proxy to access other websites that support http3. Why?

Currently it does not supported h2/h3(quic) protocol.
H2 support is under development https://github.com/chobits/ngx_http_proxy_connect_module/pull/278.
H3 support, we do not have a plan now.


Add additional crypto methods to PrivateKey.

NOTE: I'm not 100% sure those belong to Graphene, I've taken them from BitShares.
I'll open an alternative pull request there, if that's more appropriate.

Codecov Report

Merging #64 into develop will decrease coverage by 0.56%.
The diff coverage is 22.22%.

@@             Coverage Diff             @@
##           develop      #64      +/-   ##
===========================================
- Coverage    58.97%   58.41%   -0.57%
===========================================
  Files           19       19
  Lines         1153     1171      +18
===========================================
+ Hits           680      684       +4
- Misses         473      487      +14

Impacted Files
Coverage Δ

graphenebase/account.py
63.82% <22.22%> (-4.41%)
:arrow_down:

Continue to review full report at Codecov.

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

Those are fine here. Thanks for the contribution!


run StartSession in a goroutine

This resolves an issue where a client reconnecting could block the core dispatch loop. We'd want to avoid this as much as possible.


Add ability to work with Tabs and in other cases

Improved gesture recognizer to intercept only used events.
Added ability to change canSwipe from route.
  @override
  void initState() {
    super.initState();
    _tabController = TabController(length: _tabCount, vsync: this);
    _tabController.addListener(() {
      if (mounted) {
        final canSwipe = _tabController.index == 0;
        SwipeablePageSettings.of(context).canSwipe = canSwipe;
      }
    });
  }

This PR fixes https://github.com/JonasWanke/swipeable_page_route/issues/12 and https://github.com/JonasWanke/swipeable_page_route/issues/6
I found another variant to manage canSwipe flag and it also working.

This is now published as part of v0.2.4. Thanks for contributing!


download link broken on neu profile theme

The link directs you to a catolog of themes. Then when you find it in the catalog, it says like or share on facebook to download. You do these things and no download link appears and no download begins. I know you have no control over this, but your site is directing to a non-functioning download.

I did not write the above comment? I was not even aware of this repo until last week uberdavse


Svelte commenting not working

Hey,
I know this plugin as built-in support for Svelte files but for some reason it is not using the right comment string for me on my svelte project. I am using 'b3nj5m1n/kommentary' plugin for commenting along. I have a config for JSX and it works fine though. Not sure what I am doing wrong as I could not find much info online on solving my issue so raising this issue here.

Here is my config -
Treesitter - https://github.com/gitneeraj/dotfiles/blob/develop/nvim.lua/lua/modules/treesitter/init.lua
kommentary - https://github.com/gitneeraj/dotfiles/blob/develop/nvim.lua/lua/modules/commentString/init.lua
Any help much appreciated!
Cheers & Peace!

Hey @gitneeraj!
It looks like your kommentary hook_function is only configured for javascriptreact:
require('kommentary.config').configure_language('javascriptreact', {

Could you try adding another configure_language call for svelte? Something like this:
require('kommentary.config').configure_language('svelte', {
    hook_function = function()
        require('ts_context_commentstring.internal').update_commentstring()
    end
})

Configuring each language separately seems a bit annoying though. Kommentary has a way to set a default configuration: configure_language('default', ...). Maybe that would also work? If it does, then do you think that I should update the kommentary integration example in the README to use default?
Let me know if that fixes it!

@JoosepAlviste thank you for getting back. Although I tried your suggestions, they don't seem to be working well for me. Here are some screenshots of my config but feel free to grab it from the link above.

@gitneeraj I managed to reproduce the problem with your kommentary config. The problem is that kommentary has a default config which is used to fill language configs if you run configure_language:
local default = {"//", {"/*", "*/"}, false, false, true, true, nil}

So, svelte ends up with a config like {"//", {"/*", "*/"}, false, false, true, true, <configured hook_function>}. Since the comment strings are explicitly configured there ("//", {"/*", "*/"}), then kommentary will use those and not the commentstring setting.
The fix is to configure single_line_comment_string and multi_line_comment_strings to "auto":
require('kommentary.config').configure_language('svelte', {
  single_line_comment_string = 'auto',
  multi_line_comment_strings = 'auto',
  hook_function = function()
    require('ts_context_commentstring.internal').update_commentstring()
  end
})

Now, kommentary should use the commentstring setting in svelte files. The reason it worked with javascriptreact is that the kommentary config for javascriptreact already includes auto as the comment strings by default: ["javascriptreact"] = {"auto", "auto"},.
Hopefully this time your problem will be fixed 😄 Let me know if there's anything else. I'll also update the kommentary example in the README.

Bingo! That WORKS!!
@JoosepAlviste thanks a lot for helping and for this wonderful plugin/extension :)


undIndent is confusing and should be solved better

There is also currently a warning about undIdent_list:
✗ make genqsharp
bnfc -mbnfc.mk --ocaml-menhir QSharp.cf && make all
223 rules accepted
[...]
menhir ParQSharp.mly
[...]
File "ParQSharp.mly", line 180, characters 0-13:
Warning: symbol undIdent_list is unreachable from any of the start symbol(s).
[...]
ocamllex LexQSharp.mll
60 states, 3329 transitions, table size 13676 bytes
ocamlc  -o TestQSharp BNFC_Util.ml AbsQSharp.ml SkelQSharp.ml ShowQSharp.ml PrintQSharp.ml ParQSharp.mli ParQSharp.ml LexQSharp.ml TestQSharp.ml
make[1]: Leaving directory '/Users/kartik/Hub/LambdaQs/arrays/src'

@jakezweifler you may want to take a look at this issue once.

Turns out that warning existed before the introduction of undIdent:
File "ParQSharp.mly", line 178, characters 0-10:
Warning: symbol ident_list is unreachable from any of the start symbol(s).

Fixed in 835ac6ad65690b1138f5681607932dca3de10ae6


Disallowing 1-primitive groups in cs_group is pointless

The validation check in https://github.com/puppet-community/puppet-corosync/blob/master/lib/puppet/type/cs_group.rb#L30 is overzealous. It is a perfectly valid use case to have groups with just 1 primitive. For example, you might want to define a set of 3, 2 or even just 1 resource that you then reference from a constraint. The easiest way to that is to use a group, and to always have the constraint point to the group. If there is only one primitive in the group, so be it.
The alternative is to have manifests full of ifs and unlesses to either point to a group or to a standalone primitive, and that's just silly.

For the stab I took at this that GitHub has duly cross-referenced, I of course forgot about Puppet's oh-so-smart single-element array munging as outlined in https://tickets.puppetlabs.com/browse/PUP-1299.

@fghaas are you interested in providing your patch as pull request?

@igalic, do you have a workaround for PUP-1299 that works pre-4.0?

no :(

Is this still an issue?

I believe so, yes.

closed by #368

Agreed. 👍
I'll leave this open for a time because I think I can produce a follow-up PR that saves a small amount of leg-work.

Hmm, this should have auto-closed when #368 was merged. After all there is a comment to that effect in bd4268e760b70d58c2286e8d378805c5a13f0cdd.
It looks like fixes is a valid keyword, while fixes issue is not. Sorry about that!

@fghaas regarding @ffrank'r comment we will let this open