Consider defaultgeomprop when validating an input.

An input without a value or connection but a defaultgeomprop should not be considered to be invalid.

Add in logic to avoid these validation errors from occurring.
Testing with node editor shows that validation ordering logic is incorrect and that validation occurs with
any definitions loading in. Do a small patch for that. Viewer is correct.

Example created in node editor which is considered invalid and would fail unit tests.
<?xml version="1.0"?>
<materialx version="1.38">
  <translucent_bsdf name="translucent_bsdf" type="BSDF" xpos="10.521739" ypos="-1.534483" >
    <input name="normal" type="vector3" />
  </translucent_bsdf>
  <surface name="surface" type="surfaceshader" xpos="13.188406" ypos="-1.810345">
    <input name="bsdf" type="BSDF" nodename="translucent_bsdf" />
  </surface>
  <surfacematerial name="surfacematerial" type="material" xpos="15.188406" ypos="-2.068965">
    <input name="surfaceshader" type="surfaceshader" nodename="surface" />
  </surfacematerial>
</materialx>

@kwokcb In your example above, wouldn't we simply want the graph editor to omit the normal input of the translucent_bsdf node?  Since it's not binding any new data, it seems like it's a bug that the editor writes this out, and we should address the warning message on that side instead.

I just happen to use the editor but it's pretty easy to add an input to an instance and get this warning.
Someone could have this input and then connect to it afterwards as well without the need for a warning.

Isn't that the purpose of this validate warning, though, to let the user know that they have added an input that has no effect on the interpretation of the document?  I'm not seeing how the presence of a defaultgeomprop on the underlying NodeDef makes this construction any more valid than if no defaultgeomprop was present.  In both cases, the input has no effect on the interpretation of the document, and the exporting application should consider omitting this data.

I'll close this pull request for now, since there's room for debate as to whether this would be an improvement to the validation rules.


fix(build): don't ignore js in public

Fix #540

It would be great to get this into master ASAP. Can you please update the branch with the latest from master?

I tested this locally and confirm that this also solves https://github.com/vaadin/angular2-polymer/issues/28

Really would like to get this merged as I have to use a forked version of the CLI until then.

LGTM.

LGTM


Problem with travis build

Hi.. PR #9  ended with travis build problem. is it configured properly? or why I got this issue?
Screenshot

Travis configurations have some errors. Appriciate if you could take a look at it.

This is because there is no a travis.yml defined in the source. And this will be fixed in https://github.com/99xt/discourse-sdk/pull/12

This has been fixed in  #12


Add /v2/api/blocks

Split API Doc to a single file
Add Chinese version of README
Add /v2/api/blocks

Codecov Report

Merging #97 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master      #97     +/-   ##
=========================================
+ Coverage   97.36%   97.46%   +0.1%
=========================================
  Files          55       57      +2
  Lines        1403     1460     +57
=========================================
+ Hits         1366     1423     +57
  Misses         37       37

Impacted Files
Coverage Δ

app/controllers/api/v2/blocks_controller.rb
100% <100%> (ø)

spec/controllers/api/v2/blocks_controller_spec.rb
100% <100%> (ø)

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 7bd2105...22e8d8f. Read the comment docs.


Fixed #25000 -- Fixed cast to string for lazy objects.

Implemented __str__ and __unicode__ in Python 2 and __str__ and
__bytes__ in Python 3 to return the string-representation of the
proxied object, not the proxy itself, if the lazy object didn't have
a string-like object in its resultclasses.
https://code.djangoproject.com/ticket/25000

Well, it turns out that  __bytes__ and unicodedon't exist onproxy, so they're copied to the proxy anyway. Only stris inherited fromobject`, so it has to be overridden.

merged in 290ff35e6cc2580861a6fdeaaa3d4aa6d75f9edd, thanks!


opuslib.exceptions.OpusError: <exception str() failed>

I am trying to decode in python a file encoded using opus_demo and i am getting this exception. Any idea what is going wrong.
Encoding
opus-1.2.1
./opus_demo -e audio 16000 1 16000  ./input.raw encoded.bin
Decoding
python 2.7 and  opuslib==2.0.0
decoder = opuslib.Decoder(16000, 1)
decoder.decode(packet, frame_size=320)
Traceback (most recent call last):
File "opus_py.py", line 20, in
decoder.decode(packet, frame_size=320)
File "/usr/local/lib/python2.7/dist-packages/opuslib/classes.py", line 45, in decode
channels=self._channels)
File "/usr/local/lib/python2.7/dist-packages/opuslib/api/decoder.py", line 178, in decode
raise opuslib.exceptions.OpusError(result)
opuslib.exceptions.OpusError: <exception str() failed>

Having the same problem while using Encoder.encode.
Traceback (most recent call last):
  File ".\main.py", line 20, in <module>
    opus_b = encoder.encode(arr_b, duration * fs)
  File "...\venv\lib\site-packages\opuslib\classes.py", line 180, in encode
    len(pcm_data)
  File "...\venv\lib\site-packages\opuslib\api\encoder.py", line 140, in encode
    'Opus Encoder returned result="{}"'.format(result))
opuslib.exceptions.OpusError: <exception str() failed>

fs = 48000
duration = 2

recording = <numpy array>
arr_b = numpy.array(recording).tobytes()

encoder = opuslib.Encoder(fs, 2, opuslib.APPLICATION_AUDIO)
opus_b = encoder.encode(arr_b, duration * fs)

Windows 10, Python 3.7

I am also getting the same <exception str() failed> error as @cogmeta and @avrong when I attempt to decode (in Python 3.7, Opus 1.3.1) from a file containing bytes; has there been a solution worked out for this error? Thanks!

I think this is related to the frame_size size. This is what libopus documentation says:

frame_size If this is less than the maximum packet duration (120ms; 5760 for 48kHz), this function will not be capable of decoding some packets.

I think the problem is:
OpusError requires an Integer as argument. In opuslib/exceptions.py:17:
class OpusError(Exception):
    ....
    def __init__(self, code: int) -> None:

But on some places, strings are passed into the constructor. E.g. looking at the problem reported by avrong, opuslib/api/encoder.py:139:
raise opuslib.OpusError(
    'Opus Encoder returned result="{}"'.format(result))


Calling scopes after relationships not recognized.

Versions:

ide-helper Version: 2.8.1
Laravel Version: 8.9.0
PHP Version: 7.4.10

Question:
Hi there, I've been using this package for a long time now and I just noticed that when calling a scope from a relationship it is not detected.
Is it the correct behavior?
Example:
Email.php
    public function mails(): BelongsToMany
    {
        return $this->belongsToMany(Mail::class);
    }

    public function scopeValid(Builder $query): Builder
    {
        return $query->where('status', '<>', 'blocked');
    }

Mail.php
    public function emails(): BelongsToMany
    {
        return $this->belongsToMany(Email::class);
    }

Usage
    $mail->emails()->active()->get()

Same issue here

this issue is still present :/

Still present

Still present

Still present

Still present

Still present. I am using latest master branch

public function emails(): BelongsToMany | Email
    {
        return $this->belongsToMany(Email::class);
    }

This will do.

I'm also running into this:
On Events
public function scheduleSessions(): HasMany|Session
    {
        return $this->hasMany(Session::class)->whereNull('schedule_session_id')->whereNull('lift_id');
    }

On Session
public function scopeSorted($query): Builder
    {
        return $query->orderBy('gender_id')
            ->orderBy('age_id')
            ->orderBy('child_age_id')
            ->orderBy('session_letter');
    }

In use
$scheduleSessions = $this->scheduleSessions()
            ->with(['scheduleDivisionSessions'])
            ->sorted()
            ->get();

Method 'sorted' not found in \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Relations\HasMany


”Râu de Mori”, ”Brazi”, ”Clopotiva”, ”Ohaba-Sibișel” are listed in the drop-down menu

Description:
When user writes ”Râu de Mori”, ”Brazi”, ”Clopotiva”, ”Ohaba-Sibișel” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Râu de Mori"

Expected results
The location appears in the drop-down menu as "Sat Râu de Mori, HUNEDOARA (Râu de Mori)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Brazi"

Expected results
The location appears in the drop-down menu as "Sat Brazi, HUNEDOARA (Râu de Mori)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Clopotiva"

Expected results
The location appears in the drop-down menu as "Sat Clopotiva, HUNEDOARA (Râu de Mori)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.


python310Packages.bc-python-hcl2: 0.3.46 -> 0.3.47

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.bc-python-hcl2 is: "Parser for HCL2 written in Python using Lark"
meta.homepage for python310Packages.bc-python-hcl2 is: "https://github.com/amplify-education/python-hcl2"
meta.changelog for python310Packages.bc-python-hcl2 is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.3.47 with grep in /nix/store/yl6znax2q33myp2cj6zk6msl8s4bx34c-python3.10-bc-python-hcl2-0.3.47
found 0.3.47 in filename of file in /nix/store/yl6znax2q33myp2cj6zk6msl8s4bx34c-python3.10-bc-python-hcl2-0.3.47

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
checkov
python310Packages.bc-python-hcl2
python39Packages.bc-python-hcl2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yl6znax2q33myp2cj6zk6msl8s4bx34c-python3.10-bc-python-hcl2-0.3.47 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.bc-python-hcl2 https://github.com/r-ryantm/nixpkgs/archive/c65b08f041487442ab994c46bdaa5651153c75ac.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yl6znax2q33myp2cj6zk6msl8s4bx34c-python3.10-bc-python-hcl2-0.3.47
ls -la /nix/store/yl6znax2q33myp2cj6zk6msl8s4bx34c-python3.10-bc-python-hcl2-0.3.47/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

checkov

2 packages built:

python310Packages.bc-python-hcl2
python39Packages.bc-python-hcl2

Maintainer pings
cc @anhdle14 for testing.

checkov is broken on master and waiting for #189742.


[Bug]: buttonColor error on a table without actions

Is there an existing issue for this?

[X] I have searched the existing issues

Description
I've added a table bound to a gsheet query. This table does not have any buttons, but I see the following error:

Steps To Reproduce

new app, new page
create a gsheets query to fetch rows
snipe mode, bind to a table
--> see error

Public Sample App
No response
Version
Cloud

closing this as duplicate of #12894


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 2049 ms

Resolved: Bofrost.be performance has improved in 4a244b6.


[MINOR] Fix some bad practices reported by spotbugs

What changes were proposed in this pull request?
Fix some bad practices reported by spotbugs (medium priority).
Why are the changes needed?
To improve code quality.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
CI with extra spotbugs rules: https://github.com/kaijchen/incubator-uniffle/actions/runs/2902861660

Codecov Report

Merging #177 (578f100) into master (df4163f) will decrease coverage by 1.47%.
The diff coverage is 37.50%.

@@             Coverage Diff              @@
##             master     #177      +/-   ##
============================================
- Coverage     58.29%   56.82%   -1.48%
+ Complexity     1263     1183      -80
============================================
  Files           158      149       -9
  Lines          8400     7910     -490
  Branches        780      751      -29
============================================
- Hits           4897     4495     -402
+ Misses         3251     3171      -80
+ Partials        252      244       -8

Impacted Files
Coverage Δ

...org/apache/uniffle/common/config/ConfigOption.java
60.86% <0.00%> (ø)

...java/org/apache/uniffle/common/config/RssConf.java
28.47% <ø> (-0.50%)
:arrow_down:

...org/apache/uniffle/server/LocalStorageChecker.java
67.74% <0.00%> (-1.83%)
:arrow_down:

...org/apache/uniffle/server/ShuffleFlushManager.java
78.33% <0.00%> (-1.00%)
:arrow_down:

...rg/apache/uniffle/storage/common/LocalStorage.java
43.66% <0.00%> (-1.02%)
:arrow_down:

.../org/apache/uniffle/common/util/UnitConverter.java
47.36% <33.33%> (+0.22%)
:arrow_up:

...oordinator/PartitionBalanceAssignmentStrategy.java
98.46% <100.00%> (ø)

...he/uniffle/server/buffer/ShuffleBufferManager.java
82.68% <100.00%> (+0.43%)
:arrow_up:

...pache/uniffle/storage/common/LocalStorageMeta.java
75.72% <100.00%> (ø)

.../apache/uniffle/coordinator/CoordinatorServer.java
60.21% <0.00%> (-5.38%)
:arrow_down:

... and 12 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix CommonVoice dataset for Speech Recognition problem

Fixed Common Voice data generator by adding a flag to the datagen.py file for the language code (--language="en", if not specified it defaults to english) and dynamically downloading the correct language dataset.
Also had to rework the architecture of the data unpacking since Mozilla changed their folder architecture.
Also removed the sub-problems of Common Voice (Noisy, Clean, FullTestClean since all the previous .tsv files were merged (no more other-train, other-test etc)

@googlebot I signed it!


vstest.executionengine.exe has stopped working

Ref: https://github.com/Microsoft/vsts-tasks/issues/3926
Process dumps:  https://ufile.io/c1db21

@k3flo Can you please provide user mode dump, follow the instructions from https://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx.
use DumpType 2: Full dump

@smadala I created a dump file in user mode:
http://ertelt.us/Upload/vstest.executionengine.exe.3160.zip

@k3flo Thanks for dump.

Seems like issue with Crystal Reports, which causing
Unhandled exception at 0x000007FEFE6D32B2 (oleaut32.dll) in vstest.executionengine.exe.3160.dmp: 0xC0000005: Access violation reading location 0x000000025F79EEA0.
Can you please check any test that not using Crystal Reports as it suppose to?

@smadala
We disabled the Crystal Report tests and executed a test run. Everything worked fine.
What shall we do to get our Crystal Report tests working? If we execute the tests with the Visual Studio IDE on our local machines all crystal report tests are running without any problems. Thanks for your help.

Identify what are the particular Crystal report test(s) causing failure using vstest.console.exe and /testcasefilter switch. (Ex: vstest.console.exe <path_to_test_dll> /framework: /testcasefilter:FullyQualifiedName~<namespace/testname> /testadapterpath:<path_to_testadapter>).
Check the anything suspicious about same test cases.
What are VS IDE, Crystal Report and vstest.executionengine.exe versions in local and build server.

@smadala
We executed all Crystal Report tests using vstest.console.exe on the virtual machine with the following command:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "C:\IntegrationTestBinaries\labs.ETL.Domain.IntegrationTests.dll" /Settings:"C:\Runsettings\integrationtests.runsettings"  /Platform:x64 /Framework:framework45 /inIsolation /Tests:CrystalReport_
The test runner didn't crash.
After that we restarted another build and deployment job and it failed again. After the testagent crashed we found this errors in the eventviewer:
event_viewer_errors.txt

As you can see in our build task we don't use a testfilter. In our build job we distingiush between unit and integration tests and we do that by the naming of the test dll's. So our unit tests are named *UnitTests.dll and our integration tests are in assemblies named *IntegrationTests.dll.
Here you can see the configuration of the "Run functional tests"-Task:

These are the versions running on our virtual test machine:
We use Crystal Reports version <IP_ADDRESS>2. The vstest.executionengine.exe has version 14.0.25463,0.

Hi @smadala ,
after we deactivated the Crystal Report Tests the Testrunner didn't crash immediately. But after executing our Build & Deployment Job two or three times it crashes again. I have the feeling that it only works correct if I restart our VM where the Tests are executed every day. But I am not really sure about it. It's only a feeling.
Attached you see the errors from the Event Viewer after the crash happened. Also I attached several screenshots.
Can you please urgent adress and solve this problem. We need to execute our Integration Tests every Evening and we have soon a new release where we need a running test environment.
We really like the new Build vNext, but why it is so unstable?
Event Viewer Errors.txt

With kind regards
Flo

@k3flo can you also share whether your are using VSTS or On-Prem TFS and the file version of DTAExecutionHost, vstest.executionengine.exe?

@k3flo Can you please share dump for DTAExecutionHost and vstest.executionengine.exe whenever it crashed?

@nigurr @smadala
Versions:
vstest.executionengine.exe: 14.0.25463.0
DTAExecutionHost: 14.102.25729.0
We are using VSTS with our own build agent on a virtual machine.
Dumps:
http://ertelt.us/Upload/dumps.zip

@k3flo From dumps it seems like issue with test code labs.ETL.Domain.IntegrationTests.dll!labs.ETL.Domain.IntegrationTests.Tasks.ETLLoadDataTaskTests.ETLLoadDataTaskCanLoadDataFrom_VARIABLE_to_ACCESS().

You can open dump in VS and do "Debug with *" action, to find call stack where the process crashed.
Can you please check that the process crashed at same test always?
If it is failing on different test every time it's most likely issue with machine.
Follow this blog to prevent Error Dialog which may cause delay in build failure.

@k3flo are you still facing this issue? or this got resolve?

@k3flo : Please feel free to reopen this issue if you have open question.


Conflict with default sneak and sprint keys preventing actions

Version: forge-1.18.1-0.5.2
There is a conflict issue with Minecraft default sneak (Left Shift) and sprint (Left Control).
If you have any binding that use a combination of those keys, actions will be blocked.
Example:  attacking, mining, placing a block while sneaking.
Like you mentioned in issue #8 removing all mod binding using those keys will help.
However, even Minecraft default bindings are effected by that:  the shortcut RC+Q to drop a stack get blocked by the sprint binding.
Spamming actions or doing a different timing sometimes get pass the issue.

True if i'm sprinting or sneaking sometimes i cant use ftb ultimine and need to let go of shift or ztrl

Same issue.

Encountered the same issue

I've also encountered this issue, and as much as I like JEK, I'm gonna have to switch back to controlling, until it's fixed.


Do not think _sipinternal A/AAAA record should be prepended with an underscore

Do not think _sipinternal A/AAAA record should be prepended with an underscore

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

ID: a94881ba-6f06-a946-47a3-c9c683ddd303
Version Independent ID: 081684f7-3570-fdfd-c32d-90b6e07d81b4
Content: DNS requirements for Skype for Business Server
Content Source: Skype/SfbServer/plan-your-deployment/network-requirements/dns.md
Product: skype-for-business-itpro
GitHub Login: @jambirk
Microsoft Alias: jambirk

@swinster Thank you for this suggestion
I will get this suggestion over to the Skype for Business writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

Addressed this in a recent republish. Closing the issue.


Background worker crash

What are you experiencing an issue with?

[x] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[x] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Aurora shouldn't crash....?
Actual behavior:
Upon resuming from sleep
How often does this problem occur?
Seemingly every time I come back from a long pause
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

Run aurora as usual
Lock workstation for a short time
Unlock PC

(also happens on resume from sleep or screensaver)
What is the version of Aurora you are experiencing this issue with?

My version is... v0.6.1-dev4
Does the previous version of Aurora have this issue?
I don't have this issue on my work PC with the same version.
Please include any logs, screenshots, or files that are related to this issue:

Aurora fatally crashed. Please report the follow to author:
System.InvaIidOperationException: This BackgroundWorker is currently
busy and cannot run multiple tasks concurrently.
System. ComponentModeI. BackgroundWorker RunWorkerAsync(Object
argument)
at Aurora. Devices. DeviceContainer. < ctor> sender,
RunWorkerCompIetedEventArgs args) in
er.cs:line 33
System. ComponentModeI. BackgroundWorker .0nRunWorkerCompIete
d(RunWorkerCompIetedEventArgs e)
at System. Threading. Execution Context. RunlnternaI(ExecutionContext
executionContext, ContextCaIIback callback* Object state, Boolean
preserveSyncCtx)
at System. Threa ding. ExecutionContext. Run (ExecutionContext
executionContext, ContextCaIIback callback* Object state, Boolean
preserveSyncCtx)
System. Threading.QueueLlserWorkItemCaIIback. System. Threading. IThre
adPooIWorkItem.ExecuteWorkItem0
at System.Threading.ThreadPooIWorkQueue. Dispatch0

I'm experiencing the same issue, background worker crashes - except it just seems to happen randomly.
I just turned my PC on and about 1 minute after logging in, aurora crashed with this error.

I got the same error. It's happening randomly and has nothing to do with sleep state of the PC.

The weirdest part is, aurora seems to continue functioning perfectly fine after one of these crash dialogs pops up.
In fact, I have 3 of them open right now and everything's working fine, but clicking OK on any of them closes aurora.
https://i.imgur.com/v5xbQxp.png
I get the feeling this probably shouldn't be getting caught as a fatal error.

btw @mmmboost log is missing an important line. The error happens at line 33 in Project-Aurora/Project-Aurora/Devices/DeviceManager.cs

This is what I've come back to at my work PC after having been gone all weekend.  My computer was in sleep/hibernation most/all of the weekend as far as I can tell.

@mmmboost I already posted a solution. So just wait until someone fixing it.
(btw I get such many error windows in just an hour) xD

Can you try and test edge build, it includes my commit https://ci.appveyor.com/project/antonpup/aurora/build/artifacts

Just downloaded and trying it now.  I'll keep you posted.

Well, the 'crashes' are definitely rarer now, yesterday I didn't have any and today I only had one...
[ERROR] 14:42:25: Fatal Exception caught : System.InvalidOperationException: This BackgroundWorker is currently busy and cannot run multiple tasks concurrently.    at System.ComponentModel.BackgroundWorker.RunWorkerAsync(Object argument)    at Aurora.Devices.DeviceContainer.<.ctor>b__15_0(Object sender, RunWorkerCompletedEventArgs args) in C:\projects\aurora\Project-Aurora\Project-Aurora\Devices\DeviceManager.cs:line 33    at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()    at System.Threading.ThreadPoolWorkQueue.Dispatch() [ERROR] 14:42:25: Runtime terminating: True [INFO] 15:20:51: Show Window called

@SnakePin Well it looks like your update has fixed my issue.  I tried this out on my work PC and I haven't had any crashed for the same reason since.  I'm going to give this a go on my home PC now.  I saw you made a pull-request.  How do we go about getting these changes to the master branch?  (sorry still a bit of a newb with git and open source)

@mmmboost They don't accept any commits to master branch but you can check my fork of the project. It has fixed master branch so changes are on the stable branch.


About input hets files

The option --hets=HETS seems required since my Jabba runs always failed with the following message:
Checking for hets
Error in gzfile(file, "rb") : cannot open the connection
Calls: suppressPackageStartupMessages ... tryCatchList -> tryCatchOne ->  -> readRDS -> gzfile
The file format in provided hets.txt  is:
seqnames,start,end,width,strand,alt,ref
16,85065,85065,1,,85,11
16,85658,85658,1,,82,11
But according to the document, it should be:
tab delimited hets file output of pileup with fields seqnames, start, end, alt.count.t, ref.count.t, alt.count.n, ref.count.n
Could you please clarify how to prepare this hets file? Thanks.

Hi @icelu,
Thanks for pointing out this discrepancy. Did you resolve this issue?
You should follow the instructions in the help menu:
tab delimited hets file output of pileup with fields seqnames, start, end, alt.count.t, ref.count.t, alt.count.n, ref.count.n

(in reality, it actually does not have to be TAB-delimited. Comma or space delimited files would also work well)
I am adding some details below that are for our own reference:
Looking at the test, it looks like the processing of hets in the test is done differently from within jabba.
here is the processing in the test file:
https://github.com/mskilab/JaBbA/blob/4762d9bf4dac2344da5ae4287f16df10cf96f12b/tests/testthat/test_JaBbA.R#L47
So probably just need to fix that and fix the header in the provided example hets file. I will fix and test in a branch.

Thank you for the clarifications.


Create dates

I'm new to this I'm just trying to figure out how to Open A dating siteThanks in advance

Good to hear this! Welcome


Remove auto requiring plugins

These plugins set plugin specific colors. Lets make this opt in...
https://github.com/tjdevries/colorbuddy.nvim/issues/7

Did this a bit different now.


Enable the select tests on powerpc and mips

They pass at least on my machine with QEMU, so the underlying bugs might
have been fixed.

When you originally disabled those tests, did they fail reliably or intermittently?

Oh, I didn't disable them, I just copied them from another file in https://github.com/nix-rust/nix/commit/885a1f751497c265a532a42a0c98829e32ae7f82. @Susurrus disabled them in https://github.com/nix-rust/nix/pull/590. I've run them a few times and they haven't failed yet, so I doubt it's an intermittent failure.

Ok, that should be fine then.
bors r+


Any insights why it works so poorly on Pong?

Hi Petros,
Thanks for your contribution for writing SAC for discrete action space. I looked at your paper and it seems that Pong/Breakout did a very poor job compared with DQN/Rainbow, which agrees with my results some time earlier. Do you have any insights why it is the case?

Hi, sorry for a late response.
Actually, I'm not the author, I just re-produced the result of the paper.
I'm not sure but 100,000 steps on Pong, which equals to about 100-200 episodes, is not enough to solve the task.
Because Rainbow with 100,000 training steps also failed to solve the task (see Table 1 in the paper), it's not surprising for me that SAC-Discrete failed to solve it.

It also works so poorly on Pong with 500,000 steps


Error when training

Describe the bug
When tyring to train the model, I have either a module or AttributeError.
To Reproduce
Steps to reproduce the behavior:
Following the steps in the README.txt for setup.
When I'm ready to train I run:
python main.py --task train
-> it gives me an error for not having the module shimmy 0.2.1 installed.
after pip install shimmy>=0.2.1, I run again the train command line and now I have:
AttributeError: 'SuperAutoPetsEnv' object has no attribute 'render_mode'
Desktop (please complete the following information):

OS: Windows 10

I know this project is starting to date a bit but hopefully someone is going to read this issue. I would love to have it working.

Hello, @adjmathix!
I managed to reproduce the bug on CoLab (see gist).
Basically, it seems like there is something that has changed in stable baseline3 or any of its dependencies, resulting in the bug you are observing.
I will make a PR, if I find a solution to this problem.

I found a simple fix. The latest sb3-contrib is not compatible with the environment. By simply forcing to use a specific version, it fixes the problem (see updated gist).

Fixed in 9e12fe1fbd24453301e7d26f1304285b663d60af.
All unit tests passed, so I assume this works. Pull latest and try again.

That works on my side too! Thanks for the quick fix.


Android: minDate doesn't work for dates before 1970

Android accepts unix timestamp for min and max dates. For dates before 1 Jan 1970, the date.getTime() or date.valueOf() are negative. Somehow, this doesn't work well and the datepicker allows dates less than set minDate for negative values.

I see in src/android/DatePickerPlugin.java that minimum date is set only if(jsonDate.minDate > 0)


Removal of testing frameworks and all other dev-dependecies from skeleton projects

Obviously this is just my opinion.  I don't have all the facts but this is based on my reaction to getting started with Aurelia...
(For Visual Studio & Typescript especially), the inclusion of babel, jasmine, karma, protractor, selenium, tslint-stuff, wallaby, gulp, vynil, is not at all critical to a "skeleton" and fully functional application.  Maybe the beginners kits can keep this stuff.
All of this should go - it's 64mb over 13000 files!
"aurelia-bundler": "^0.1.8",
"aurelia-tools": "^0.1.3",
"babel": "^5.8.23",
"babel-core": "^6.3.17",
"babel-eslint": "^4.1.3",
"browser-sync": "^1.8.1",
"conventional-changelog": "0.0.11",
"del": "^1.1.0",
"es6-module-loader": "^0.17.8",
"gulp": "^3.8.10",
"gulp-bump": "^0.3.1",
"gulp-changed": "^1.1.0",
"gulp-notify": "^2.2.0",
"gulp-plumber": "^0.6.6",
"gulp-protractor": "^0.0.12",
"gulp-sourcemaps": "^1.3.0",
"gulp-tslint": "^4.2.1",
"gulp-typescript": "^2.9.2",
"isparta": "^3.1.0",
"istanbul": "gotwarlost/istanbul#source-map",
"jasmine-core": "^2.1.3",
"jspm": "^0.16.11",
"karma": "^0.13.15",
"karma-babel-preprocessor": "^5.2.1",
"karma-chrome-launcher": "^0.1.7",
"karma-jasmine": "^0.3.5",
"karma-systemjs": "^0.10.0",
"object.assign": "^1.0.3",
"require-dir": "^0.1.0",
"run-sequence": "^1.0.2",
"tslint": "^3.2.0",
"typescript": "^1.7.3",
"vinyl-paths": "^1.0.0",
"yargs": "^2.1.1"

"babel"<EMAIL_ADDRESS>"babel-runtime"<EMAIL_ADDRESS>

see also https://github.com/aurelia/framework/issues/294

the inclusion of babel, jasmine, karma, protractor, selenium, tslint-stuff, wallaby, gulp, vynil, is not at all critical to a "skeleton" and fully functional application. Maybe the beginners kits can keep this stuff.

Yes, not critical, but very useful single source for full stack. If You really want the "critical" part of the fully functional Aurelia application, then beginners kit (as You said) seems to do exactly that. I'm certainly NOT going to vote for removing all of it from skeleton-navigation.

The beginners kit includes even more of this stuff than the skeleton does.  This is the most full fleshy, heart pumping, hair skeleton ever!

Our plan is to do away with the skeletons entirely. In their place, we would have a "new project" wizard on the aurelia site (and maybe a simple cross-plat desktop app for offline use...also including our docs.). Simply click the "Create Project" button, answer a few questions and then you get a zip to download with your customized project. So, if you do want all the bells and whistles they will be there, if you don't you don't have to use them.
Would something like that work?

Sounds great, but it takes a some time to implement it (not sure what are the priorities).
Meanwhile, one relatively easy option would be to include script that strips some functionality (from the sample app) - what do You think? In long term the "Create Project" wizard (or Yeoman generator) would be the way to go, but as a start script might be good enough and wouldn't take too much effort (to create the script and to maintain several samples).

That would be cool.  I really am still having trouble with a Visual Studio & Typescript setup (avoiding tfs for now because of core-js < 2.0.0, ok).  I cannot get mine to run and really I can't where the problem is because of all the noise of the other software.  I know there are various bugs with this prerelease, but I can't figure out where the problem is, you know?  (I get "m.configure is not a function" in my most advanced attempt but as far as I can tell all my runtime dependencies are loaded correctly).
I've started over at least 8 times in different directions to try to get it to work, not deviating very far from the original.  I think I'm pretty smart, but sure, it could be that I'm just not hip with the bleeding edge of the text-editor IDE ecosystem and package management.  I'm posting this to share my perspective in case I'm not the alone in that demographic.

I don't think you are alone at all. It's been my own frustration as well. In order to really build Aurelia, because of the state of modern js tooling, we had to adopt a number of other js tools to build upon. That has resulted in making some things...difficult. We're actively pursuing ways we can automate setup or provide more customized kits for people to help avoid these issues.

Well you are doing a very good job communicating with the community, from what I've seen.

Keep the feedback coming. It really helps us to get things right. If you have any more ideas about how the setup process could be simplified please feel free to share any time. It's a constant process.

@EisenbergEffect Just putting in my 2c, while you may have to put in effort to modify a skeleton for your exact scenario, thorough, end-to-end skeleton apps are still immensely useful. Rather than having to set up your own tooling, you can jump in and get a feeling for a framework without wasting time. Having one that it is essentially 'supported' by the core team is also great, because it means I can feel broadly comfortable with it in the longer term.
If I was going to recommend anything, the build-your-own-skeleton wizard would be excellent. I really like the way PuPHPet handles configuring a VM - it's very easy and customisable.

I'm closing this for now. We are going to keep the skeletons fully configured. We've also added the beginner kits for "getting started" more easily. In the future, we'll have a little app you can run to also generate a project based on custom choices.


Extend the terraform-hpvs example to illustrate attestation

Extend the example to leverage and illustrate attestation:
E.g. add one step for attestation verification, which uses the hpcr Terraform provider feature proposed in https://github.com/ibm-hyper-protect/terraform-provider-hpcr/issues/7
This step verifies the attestation records of the example workload and prints a confirmation if everything is deployed as expected, or issues a warning otherwise.
This way, the examples would show the entire e2e flow from contract creation to attestation validation.

see https://github.com/ibm-hyper-protect/terraform-provider-hpcr/pull/27 and https://github.com/ibm-hyper-protect/terraform-provider-hpcr/pull/24


[Bug] Subgraph doesn't sync after node restart

Bug report
I ran the Graph-Node Docker version locally on my server and deployed the Ethereum subgraph. It works and syncs well. But when I stop the Graph-Node with the docker compose down command and run it again with the docker compose up command, the Graph-Node doesn't continue syncing until I deploy the subgraph again. I've tried it with different RPCs and chains, but I encountered the same problem with all of them. Does anyone have any idea why this happens? Is it normal, or is it a Graph-Node bug?
Edit:  I tried to resume the subgraph deployment to fix this problem with the following command:
graphman resume QmUc824r...

and I got:

resuming QmUc824r...
Operation completed

But Nothing happened and the problem remained.
Also, I tried to reassign the deployment using the following command:
graphman reassign QmUc824r... default

and I got:

deployment QmUc824r... is already assigned to default
warning: this is the only deployment assigned to default
are you sure it is spelled correctly?

Again nothing happened and the problem remained.
Edit: Today I noticed that when I ran a graph node for the first time, I saw the line in the logs that has something like this:

Started all assigned subgraphs.

But after restarting it again as I mentioned above, I can't find anything like this in the logs.
Relevant log output
No response
IPFS hash
No response
Subgraph name or link to explorer
No response
Some information to help us out

[ ] Tick this box if this bug is caused by a regression found in the latest release.
[ ] Tick this box if this bug is specific to the hosted service.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information
Linux

Hi @mehditvk8 that doesn't sound normal, can you share any logs from the Graph Node? What version are you running?

@azf20 As I see while inspecting the docker image, It is the latest version.

    "Id": "sha256:8aa859b2b214d8059d09f971c2b808b76e2fe854946511186e8780c8be884a43",
   "RepoTags": [
       "graphprotocol/graph-node:latest"
   ],
   "RepoDigests": [
      "graphprotocol/graph-node@sha256:787665b2e82c915e407f9eb14ea59c78d840d05bf186a20d6e32a8a4b0b7a8c5"
   ],

Also, The version of Graphman is 0.32.0 (2023-08-21).
Before I make down the docker-compose, I can see the old blocks are syncing and I can see some logs like these:

subgraph-docker-graph-node-1         | Oct 17 09:27:58.029 INFO Scanning blocks [6145095, 6145472], range_size: 378, sgd: 1, subgraph_id: QmeZJwXBbMzxn9EecUzZfYpYAVqd8v4YozCwdXXzc1pTEq, component: BlockStream

subgraph-docker-graph-node-1         | Oct 16 15:35:59.671 INFO Done processing trigger, gas_used: 115773562, data_source: Contract, handler: handleApproval, total_ms: 1, transaction: 0x5b4d…425c, address: 0x1e4a…d41d, signature: Approval(indexed address,indexed address,uint256), sgd: 1, subgraph_id: QmeZJwXBbMzxn9EecUzZfYpYAVqd8v4YozCwdXXzc1pTEq, component: SubgraphInstanceManager

subgraph-docker-graph-node-1         | Oct 16 15:35:59.672 INFO Done processing trigger, gas_used: 115587310, data_source: Contract, handler: handleTransfer, total_ms: 1, transaction: 0x5b4d…425c, address: 0x1e4a…d41d, signature: Transfer(indexed address,indexed address,uint256), sgd: 1, subgraph_id: QmeZJwXBbMzxn9EecUzZfYpYAVqd8v4YozCwdXXzc1pTEq, component: SubgraphInstanceManager

subgraph-docker-graph-node-1         | Oct 16 15:35:59.672 INFO Applying 3 entity operation(s), block_hash: 0xc93887e94a726023f93e8f92721137556ceeb3248f49cd04aa07d6a0e3fb1607, block_number: 6322141, sgd: 1, subgraph_id: QmeZJwXBbMzxn9EecUzZfYpYAVqd8v4YozCwdXXzc1pTEq, component: SubgraphInstanceManager

Also, When I continuously watch the graphmnan info -s output I can see both latest block and chain head blocks are increasing over time.
But after I start the docker compose again I cannot see the above logs again. The only thing I can see are these logs:

subgraph-docker-graph-node-1         | Oct 17 08:27:39.972 INFO Syncing 2 blocks from Ethereum, code: BlockIngestionStatus, blocks_needed: 2, blocks_behind: 2, latest_block_head: 6338690, current_block_head: 6338688, provider: polygon-zkevm2, component: EthereumPollingBlockIngestor

Also, When I continuously watch the graphmnan info -s output again, the latest block does not increase anymore. Just the chain head blocks field is increasing over time.

And there is no errors for that subgraph? Do you see a log like "Starting or restarting subgraph" after the docker restart?

No. There is no error. I didn't see logs like that. @incrypto32

The graph node stop working after restart the docker


[UF-229] Configurable Workbench: Dynamic Screens are not proper displayed in Editor Screen on LayoutEditor and new Activity getIdentifier() method.

This PR and the related PR on uberfire-extensions group three changes:
1-) In order to prevent this (i.e. ActivityManagerImpl):
private void resolvePathPlaceRequestIdentifier( PlaceRequest placeRequest, Activity activity ) {
    Set<Annotation> annotations = lookupActivityAnnotations( activity );
    for ( Annotation annotation : annotations ) {
        if ( annotation instanceof Named ) {
            String resolvedPlaceIdentifier = ( (Named) annotation ).value();
            placeRequest.setIdentifier( resolvedPlaceIdentifier );
            break;
        }
    }
}

I've created a new method called String getIdentifier() on Activity.java
This requires a lot of changes in UF in order to support and generate this method.
Also, to solve:
2-) Dynamic screens are without the name in edit screen (they are blank) (after reload)
3-) When new static perspective plugin is created and browser is refreshed, it is not displayed in perspective plugin list.
I've created a class called ActivityBeansInfo, to list information about all beans available on class path and remove duplicated code on  Edit Screens and in PluginNavList and here.
In both classes there was a bug where if the screen was generated via dynamic screens plugin (static or created on runtime plugins editor) the name is blank because there is no annotation associated with that.
One thing to keep in mind (and maybe we can discuss about this evolution in future) is that there is no way to use ActivityManager to list all avaliable screens because ActivityManager only "activate" a screen after a goTo to this activity (lazy one). So in order to list all the avaliable screens we have to search that dinammically via bean manager.

Looks good! I think this is ready to merge after fixing the method names in ActivityBeansInfo.

Thanks @ederign.
Master: 2d1a5ca364f4b74a6bb498527040cfe2da560b9e


Orthogonality Loss

I  can't understand the sentence " Since the loss is a symmetric function of those eigenvalues, it can be rewritten as a fraction w.r.t. the coefficients of the characteristic polynomial of (I + A)T(I + A) by Viète’s theorem. " in  your VTN paper,it's like a math's question.I thought a lot ,but can't find the answer.Could you tell me the reason.

The eigenvalues are the roots of the characteristic polynomial. Then, for example, the sum of those eigenvalues is exactly the sum of roots of the characteristic polynomial, and thus -a_{n-1}/a_n by Viète’s formulas (suppose the characteristic polynomial can be written as P(x) = a_n x^n + a_{n-1]^ x^{n-1} + ... + a_0). The sum of the inverse eigenvalues can be similarly calculated if you rewrite it as a single fraction term. Detailed formula can be found in the code.

I'm confused about how to get the formula in Orthogonality Loss: ortho_loss = s1 + (1 + eps) * (1 + eps) * s2 / s3 - 3 * 2 * (1 + eps) ,  and what's the mean of the function elem_sym_polys_of_eigen_values?  Singular values？

s1, s2, s3 correpond to a+b+c, ab+bc+ca, abc respectively, where a, b, c are the eigenvalues of (I+A)^T(I+A). Then orthonagonality loss = -6 + (a + b + c) + (1/a + 1/b + 1/c) = s1 + s2 / s3 - 6.


dotnet-sdk_6: 6.0.405 -> 6.0.406

Description of changes
Release notes: https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.14/6.0.14.md
Fixes: CVE-2023-21808

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[x] 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/)
23.05 Release Notes (or backporting 22.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

[x] Fits CONTRIBUTING.md.


BigQuery testing suite that runs against BQ's day 0 region

Creating a new test suite for BigQuery integration tests in region us-east7 (BQ's early rollout region) so that we can test against the most updated BigQuery back-end. This is so that we can catch new BQ release problems early on and with more clarity (if these tests fail while tests against us multi-region pass, it may point to a breaking change in the BQ back-end)

Manual workflow run on my fork passed successfully: https://github.com/ahmedabu98/beam/actions/runs/6353604637

R: @johnjcasey
R: @damccorm

Run PostCommit_Java_Dataflow

Run PostCommit_Java_DataflowV2

Run PostCommit_Java_DataflowV2


A hash key must be a quoted string or a number

for registered functions. I find this annoying. Why can't it be non-quoted since Twig seems to emulate json here...

Couldn't this be handled like:
{ key: 'value' }
and
{ (any_valid_expression): 'value' }
That (expression always enclosed in parentheses) would give us unquoted keys and a clean way for using expressions as keys.
After using Twig for a year I still keep forgetting to quote the keys and it is actually really-really annoying...

What @lenar described is what is now implemented in Twig 1.5 (see f3de043d0ea).


luci-app-ttyd: interface option is too restrictive

Is there an existing issue for this?

[X] I have searched the existing issues

screenshots or captures
No response
Actual behaviour
Luci's ttyd app only allows you to specify interfaces and devices for the interface option. This causes problems when the interface has multiple IP addresses. See:
https://github.com/tsl0922/ttyd/issues/1411
Expected behaviour
The -i flag that this option wraps also accepts an IP address, so Luci's ttyd implementation should also allow IPs on top of interfaces and devices
For comparison, the uci command supports setting the IP address directly:
uci set<EMAIL_ADDRESS>uci commit
service ttyd stop
service ttyd start

Steps to reproduce

go to Services -> Terminal -> Config, then try to specify an IP address for an interface. It won't let you.

Additional Information
NAME="OpenWrt"
VERSION="23.05.5"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 23.05.5"
VERSION_ID="23.05.5"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r24106-10cc5fcd00"
OPENWRT_BOARD="x86/64"
OPENWRT_ARCH="x86_64"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 23.05.5 r24106-10cc5fcd00"

What browsers do you see the problem on?
No response
Relevant log output
No response

To be clear, despite ttyd's issue with interfaces/devices, I still think that Luci should add the ability to set IPs as the interface instead of replacing the functionality altogether (unless ttyd removes the ability to set the interface by device name) to be consistent with uci

You misunderstood the problem. The problem is that LuCi doesn't allow you to specify IPs to use the workaround.

Another way to put it:
Both uci and LuCI add OpenWRT interfaces as an option in addition to devices (ttyd calls these interfaces - -i).
ttyd -i also allows you to directly the specify the bind address using the same parameter. uci supports this behavior, but LuCI does not.

Another way to phrase it:
LuCI can't do this:
uci set<EMAIL_ADDRESS># <-- notice that this is an IP address and not a device or interface
uci commit
service ttyd stop
service ttyd start


[FEATURE REQUEST] Adding a scroll to top button to the Moksh home page

Description
I would like to add a Scroll to top button to the home page.
Additional Information
Context
I would like to add a "Scroll to Top" button to the home page. On clicking on the button, the user can navigate to the top of the page.
Priority (optional)
High

Go for it


Konsole: Allow to select user-installed theme

If you use get-hot-new-stuff to download konsole themes, they end up in the user directory. This PR allows to select those.

oops, forgot to rename some stuff, should work now

Ah, you don’t have tests for the settings at all. I manually tested it and it seems to work now.


Can I use for macOS application?

As the question, I have a macOS app but it's must play the url with "webm" format. So I tried implement this to project but it's show errors about whole of lib file. Do I have any chance to contributor for this repo support with macOS ? Thanks and cheer!

Currently the libraries are built for iOS and OGVKit itself uses some UIKit bits which are iOS-only (so far!) but it would be possible to port it over I think. Might do so later...
Note that some other larger frameworks like VLCKit and GStreamer are also available for macOS, in a pinch.


Release 5.34.1

Added secretType.LLS_PASSWORD
Fixed compile error (List.of() in java8)

Not merged


fusion patch 5 on thunderstore

idk if its the real file for the mod but someone has fusion patch 5 posted on thunderstore

Yes they did. Nothing I can do about it since thunderstore doesn't have moderators


Inline styles applied with something other than markdown shortcut are lost after a single letter

Just testing this on the spectrum.chat site:

start typing a message
Press cmd-b to make text bold
Continue typing

Expected result: Text is bold from the time you cmd-b until ... forever, unless you press cmd-b again.
Actual result: The first letter you type after cmd-b will be bold but all subsequent letters will revert to unstyled.

I think https://github.com/withspectrum/draft-js-markdown-plugin/commit/935fe755ee3b30c371d55366198efd0555dffbe0 is the culprit, which I'm sure you have already figured out as the author, haha. Probably takes longer for me to sort through everything. I wonder if there's some way to get the best of both worlds here...

Here's a possible solution that might be a terrible idea but I'll just write it down in case it's not terrible.
Markdown shortcut applied styles are updated to be complex inline styles keyed with markdown-BOLD and are written to behave/appear the same way as BOLD so no one can tell the difference? But then when doing this unstickyInlineStyles we only unsticky if the inline style is a markdown prefixed style?
🙊 oh gosh that's probably too complicated of a solution, hopefully someone else has a smart idea 🤓

Huh, I hadn't considered using CMD+B to continuously make things bold. How would you stop making things bold?

Markdown shortcut applied styles are updated to be complex inline styles keyed with markdown-BOLD and are written to behave/appear the same way as BOLD so no one can tell the difference? But then when doing this unstickyInlineStyles we only unsticky if the inline style is a markdown prefixed style?

Yeah that could work, would just require a lot of internal hacking around and would probably break integration with some other plugins. 🤔
Maybe we can override CMD+B to not only make things bold but also disable unstickyInlineStyles until you stop typing bold text? (however one does that when pressing CMD+B) Are there other shortcuts like that?

There's a bunch of shortcuts and then we'll encounter the same issue when pressing toolbar buttons if a user has any kind of tool bar in place :( but I agree my suggestion is too complicated too.

Re: your question,, the cmd b etc is something you have to implement, but draft https://draftjs.org/docs/api-reference-rich-utils.html RichUtils.handleKeyCommand

If an elegant solution is tricky to find, in the interim is there any possibility we could add an option to disable the unstickyInlineStyles functionality?
One other possible solution I thought of is always adding an additional markdown-shortcut inline style any time an inline style is applied via this plugin, and unsticky-ing the "normal styles" only IF that inline style is present. BUT I think that would also be bug prone and edge casey :/ Sorry for not having smarter ideas!

@Rosey @mxstbr I think the best solution will be to make unstickyInlineStyles work only if previous char was a space or new line char, and always add a space after automatically converting chars sequence to markdown for example in handleInlineStyle

Just run into this problem when using this plugin. Are there any known workarounds or plans to resolve this issue?


Editing titles with counters

I've got a counter for some folders, the number is fetched from the database and stored in data attr of node.li_attr.
http://jsfiddle.net/DGAF4/1740/
The only problem I am having is updating the title with a double click.
As you can see it includes the counter span element in the input text.
Is there a way to filter this out so when you double click only the title itself shows up in the text field?

Made a tiny bit of progress here. I can now edit the raw title, but when I hit return and commit the change, I lose my counter span. Is there an after save callback where I can restore this span to its rightful place?
http://jsfiddle.net/DGAF4/1742/

It would be better to use a plugin but this will work too:
http://jsfiddle.net/DGAF4/1744/

Awesome! Never even used jquery end() before. Very useful indeed


More features required as listed in #170

#170   +

[x] Fix the issue in pull feature(HIGH PRIORITY).
[x] Writing system, changes should be applied to whole set(HIGH PRIORITY).
[x] Include Meera font in the tool(HIGH PRIORITY).
[ ] Download set as doc (Low priority)
[x] Tool simplification(Low priority)
[x] Enhance the ui of "push" feature (Low priority)

Tool simplification done. No need of usernaame, branch name, and password on push/pull now.


Update negotiator rwc-> stream

Description of the Change
Negotiator talks over the streams, not any ReadWriteCloser object.
Benefits
Better interface
Possible Drawbacks
None

Codecov Report

Merging #120 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #120   +/-   ##
=======================================
  Coverage   71.42%   71.42%
=======================================
  Files         247      247
  Lines        7608     7608
  Branches     3949     3949
=======================================
  Hits         5434     5434
  Misses       1200     1200
  Partials      974      974

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 4918f6a...343289a. Read the comment docs.


Process not stopping

With the this repo, the gulp process does not exit. Help?

This is always due to the user having something else holding your node process open.  I would make sure your imported modules aren't holding something open or your server logic being incorrect.  Support questions should be directed to stack overflow.


Add debian sid support

- What I did
Noticing that the install-deps script installed OpenBLAS even though I already have it installed, I changed the script to detect an existing installation of OpenBLAS, and skip performing a redundant installation.
I also noticed that the install-deps script worked just as well with Debian 9 (sid) as with Debian 8, so I added Debian 9 as an accepted OS.
- How I did it
Installation of OpenBLAS is performed if either ldconfig is not found, or ldconfig reports no OpenBLAS presense.
    if ! type ldconfig >/dev/null || ! ldconfig -p | grep -q libblas.so; then

- How to verify it

Running the installation with OpenBLAS already installed, will skip another installation with the message "Skipping install of OpenBLAS - it is already installed."
Run the installation on Debian 9 (sid). It now proceeds instead of aborting the installation.

- Description for the changelog
Improve OpenBLAS dependency installation.
Accept Debian 9 as a recognised OS.

thanks!


Writing Design Documentation

Missing components:
Design documentation of VulnerableApp-facade
How to build the VulnerableApp-facade (including React)?
How to consume VulnerableApp-facade by Vulnerable applications?

Closing this issue as already #13 is open for these issues.


No data/html in results for facets when the pages loads.

Fiddle below
https://jsfiddle.net/7z13xr2a/4/
Bug: What is the current behavior?
Current behaviour is that the site loads the correct number of hits but there is nothing in each result see below:

Bug: What is the expected behavior?
What should be happening is that it loads all html into each result which it isn't doing!
Bug: What browsers are impacted? Which versions?
I am using Chrome latest and its happening on me not tested other browsers.
Bug: What is the proposed solution?
I think it should show the html in each result and not be blank.
What is the version you are using? Always use the latest one before opening a bug issue.
This is the version<EMAIL_ADDRESS>Here are some screenshots of the data being captured and the response and header data for you to look at:

Thanks,
Mark

Hi @mdunbavan. Thanks for opening this issues.
One thing that I notice that makes your display empty is that there are no attributes in your records, just highlighted values. There must be something wrong in your index configuration (have you set some unretrievable attributes?).
On the IS.js part, it actually adds your template markup to the document for each of your result (and in your jsFiddle there is only one result).
Let me know if I misunderstood something here.

@mdunbavan have you been able to do anything here?

No update since the last question. Closing this for now.


GitLab extract project & groups details

@HariSekhon,
Do you have script to extract the below information from GitLab into excel (or) csv file?
 1) List all GitLab projects from its groups, from sub groups and from user namespace.
 2) Each GitLab project creation date & time.
 3) Each GitLab project Last activity date & time.
 4) Each GitLab project created person name.
 5) Each group created person name.
 6) Each GitLab project ID.
 7) Each Group ID.
 8) Members in permission list for each GitLab project.

I don't, but you can use gitlab_api.sh to explore and with a bit of jq should be fairly straightforward to get the info you need if it's available in the Gitlab API


Incorrectly prefixes a mask-image property with a radial-gradient value

With this style object:
{
  maskImage: 'radial-gradient(closest-side, black, transparent)'
}

Using inline-style-prefixer (via fela-preset-web), the resulting prefixed properties and rules are all unusable in Chrome:
-webkit-mask-image: -webkit-radial-gradient(closest-side, black, transparent),-moz-radial-gradient(closest-side, black, transparent),radial-gradient(closest-side, black, transparent);
mask-image: -webkit-radial-gradient(closest-side, black, transparent);
mask-image: -moz-radial-gradient(closest-side, black, transparent);
mask-image: radial-gradient(closest-side, black, transparent);

Here is the correct result from stylis (via styled-jsx), that works in Chrome:
-webkit-mask-image: radial-gradient(closest-side,black,transparent);
mask-image: radial-gradient(closest-side,black,transparent);

Is there a workaround we can use before this bug is fixed?


Question

How did you make the dropship items not levitate in the air? I'm having this problem when creating a moon and I see that it doesn't happen on yours. I would be very grateful if you could help me.
By the way your moon is very good made! :)

Thank you! To make the items behave properly and to get all outside enemies to behave properly, make sure that you:
First, set all outside terrain/objects that are traversable to be in the "8: Room" layer (which you can select at the top of the inspector for said objects).
Then, bake the nav mesh within the "Environment" game object of your moon.
That should do the trick, let me know if you have any further questions

Ohhh it works!! Many thanks!! :D


refactor: Includes ERC1155 mock to be deployed

closes #210

Could you also add the following code under the ERC721_ADDRESS variable in .env.sample file?
ERC1155_ADDRESS=0x000000000000000000000000000000000000000000

@0xneves Sorry just saw the comment


Fixed triggering a debug-assertion during scan

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[ ] I have updated existing examples or added new ones (if applicable).
[x] I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
[x] My changes were added to the CHANGELOG.md in the proper section.
[ ] I have added necessary changes to user code to the Migration Guide.
[x] My changes are in accordance to the esp-rs API guidelines

Extra:

[x] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
Fixes #2611
Testing
Change that assert from debug_assert_eq to assert_eq and just run the wifi-dhcp example

Failing tests seem to be random and unrelated - will just rerun them once GitHub calms down

I think we should also remove the debug assert and place a warning there instead

I disagree, making a mistake will possibly become unsound if we don't panic.

The standard library also uses debug asserts for this purpose, and misuse is UB in release - same as we would do. We can also enable debug assertions for release builds.

We can recommend using debug-assertions = true if we absolutely require --release, but users will ignore both of those anyway. We could do the un-rusty thing of gating asserts with an esp-config, that way we could actually force them on by default.


[IMPORTANT] Fix FunctionSensor’s rebind

It was trying to serialise the TypeCoercions function. We don’t need
that - it coerces automatically.
This is important: the brooklyn master build will fail without this fix!

Merging this now to fix the build (and because it's very low risk). But if someone can review it later that would be good!

LGTM


IPs: Adding support for user IPs

This change request implements the necessary changes for issue #395.

Can I withdraw the approve? The fails in jenkins matter.
Does create_ip happen before or after generating the $ACTION_ROOT/hw?
I am afraid when create_ip $ACTION_ROOT/hw still doesn't have any vhdl files yet.
no files matched glob pattern "*"
    while executing
"glob -dir $usr_ip_dir *"
    invoked from within
"if { [file exists $action_vhdl] == 1 } {
  foreach tcl_file [glob -nocomplain -dir $action_vhdl *.tcl] {
    set tcl_file_name [exec basename $tcl_fil..."
    (file "create_ip.tcl" line 357)
make[2]: *** [create_environment] Error 1
make[1]: *** [.hw_config_done] Error 2
make: *** [model] Error 1
Build step 'Execute shell' marked build as failure

@luyong6
create_ip should always happen after action_hw got executed. I am not sure if that is guaranteed in the current make process. The rule in hardware/Makefile that is responsible for all this is hw_config:
hw_config: hw_config_start check_snap_settings prepare_build snap_preprocess action_hw create_environment patch_version patch_NVMe

create_ip.tcl is called in step create_environment. But, if you call make with option -j it is probably no longere guaranteed, that this happens in the required order.
To fix that, I already created a solution in a local branch (I actually worked on that before implementing the solution for the integration of HLS IPs).
The problem might be caused by somehting else. I'll look into it and won't merge the branch before it is understood (will do that tomorrow, since today we have a public holiday in Germany).

@luyong6
I found that this is actually a tcl bug: Option -nocomplain does not suppress an error for
glob -nocomplain -dir $action_vhdl *.tcl

when no .tcl files exist.
So, currently this branch does only work for actions with IP and for hdl actions w/o vhdl subdirectory.
Still looking for a solution...

I did create a workaround for the tcl problem.
Please have a look.


test-branch/execute-job/quoted-authorization/82e09c5c-9167-433e-95c6-06cdbf14a77f

PR for testing d8082ed97b600fbc368da494fa59ef330c59bde0

/canonical/self-hosted-runners/run-workflows d8082ed97b600fbc368da494fa59ef330c59bde0


unstable and duplicated charts in app

Hi
I managed to integrate scichart.js into my react app using typescript. The app use several components, each creates a scichart. Running the app I see very unstable outcome: sometimes all charts draw but they are all duplicated (I have 5 components, 4 of them display lines, another display scatter) -all charts shown as line charts, or sometimes all charts shown as scatter charts; even sometimes only one chart shows up.
I just shared my repository with you (with your username - scichart), my username is puremood2002, repository is "scichart-react-typescript" .
Please advise, thanks.

Hi @puremood2002 could you please also share this repo with me (klishevich) as I am the one who is responsible for SciChart.js library in SciChart organization.

Hi I just added you, please let me know if you get it, thanks.

@puremood2002 thank you for finding the bug :) which manifested itself when several charts were initialized in parallel. The problem is fixed in version 1.0.1247, please run npm i<EMAIL_ADDRESS>and check.

thank you very much. Using 1.0.1247 the problem is gone. But I got another problem: I added "Add Chart" function which you can invoke by clicking the "Add" button in my app, a new component is created correctly, but the chart surface is not rendering - I am testing with chart type of Scatter so when you add the new chart you select type "scatter" in UI. I updated code so every time my scatter chart component is created, the div that hosts scichartsurface has a random id, the code execution get into initChart function but the surface does not appear in this component. I pushed my latest code to the same repository. Please advise.
thanks.

@puremood2002 I fixed the issue for bubble and line charts, checkout my last commit in your repository

thanks a lot, it is resolved!


Quickstart error

Installation worked well but when I tried to run the quickstart code using gala I got the following error:
ValueError: Tessellation can only be performed on a 2D array of shape (npoints, ndim)

I'll copy the full traceback in a comment below. I wonder if the recent release of Gala v1.9 could have affected this?
— https://github.com/openjournals/joss-reviews/issues/7009

with pidgey_chunksize=1:   0%|                   | 0[/2000](http://localhost:8888/2000) [00:00<?, ?it[/s](http://localhost:8888/s)]
  0%|                                               | 0[/1](http://localhost:8888/1) [00:00<?, ?it[/s](http://localhost:8888/s)]
with pidgey_chunksize=1:   0%|                   | 0[/2000](http://localhost:8888/2000) [00:00<?, ?it[/s](http://localhost:8888/s)]

---------------------------------------------------------------------------
RemoteTraceback                           Traceback (most recent call last)
RemoteTraceback:
"""
Traceback (most recent call last):
  File "[/home/tom/miniconda3/envs/joss/lib/python3.11/multiprocessing/pool.py", line 125](http://localhost:8888/home/tom/miniconda3/envs/joss/lib/python3.11/multiprocessing/pool.py#line=124), in worker
    result = (True, func(*args, **kwds))
                    ^^^^^^^^^^^^^^^^^^^
  File "[/home/tom/miniconda3/envs/joss/lib/python3.11/site-packages/commensurability/analysis.py", line 498](http://localhost:8888/home/tom/miniconda3/envs/joss/lib/python3.11/site-packages/commensurability/analysis.py#line=497), in __eval__
    return Tessellation(orbit, incremental=False).measure
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "[/home/tom/miniconda3/envs/joss/lib/python3.11/site-packages/commensurability/tessellation/constructor.py", line 80](http://localhost:8888/home/tom/miniconda3/envs/joss/lib/python3.11/site-packages/commensurability/tessellation/constructor.py#line=79), in Tessellation
    raise ValueError(
ValueError: Tessellation can only be performed on a 2D array of shape (npoints, ndim)
"""

The above exception was the direct cause of the following exception:

ValueError                                Traceback (most recent call last)
Cell In[5], line 4
      1 # tessellation needs to know the pattern speed used to define the potential
      2 # so that it can perform its analysis in the co-rotating frame
      3 omega = 30 * u.km [/](http://localhost:8888/) u.s [/](http://localhost:8888/) u.kpc
----> 4 tanal = TessellationAnalysis(initial_condition, values, potential_definition,
      5                              dt, steps, pattern_speed=omega)

File [~/miniconda3/envs/joss/lib/python3.11/site-packages/commensurability/analysis.py:358](http://localhost:8888/home/tom/miniconda3/envs/joss/lib/python3.11/site-packages/commensurability/analysis.py#line=357), in MPAnalysisBase.__init__(self, ic_function, values, potential_function, dt, steps, pattern_speed, backend, progressbar, pidgey_chunksize, mp_chunksize, _blank_measures)
    345 super().__init__(
    346     ic_function,
    347     values,
   (...)
    355     _blank_measures=True,
    356 )
    357 if not _blank_measures:
--> 358     self._construct_image_with_mp(pidgey_chunksize, mp_chunksize, progressbar)

File [~/miniconda3/envs/joss/lib/python3.11/site-packages/commensurability/analysis.py:384](http://localhost:8888/home/tom/miniconda3/envs/joss/lib/python3.11/site-packages/commensurability/analysis.py#line=383), in MPAnalysisBase._construct_image_with_mp(self, pidgey_chunksize, mp_chunksize, progressbar)
    376 orbits = self.backend.compute_orbit(
    377     coords,
    378     self.potential,
   (...)
    381     pattern_speed=self.pattern_speed,
    382 )
    383 with Pool() as p:
--> 384     values = list(
    385         tqdm(
    386             p.imap(self.__eval__, orbits, chunksize=mp_chunksize),
    387             total=pidgey_chunksize,
    388             leave=False,
    389         )
    390     )
    391 for pixel, value in zip(pixels, values):
    392     self.measures[pixel] = value

File [~/miniconda3/envs/joss/lib/python3.11/site-packages/tqdm/std.py:1181](http://localhost:8888/home/tom/miniconda3/envs/joss/lib/python3.11/site-packages/tqdm/std.py#line=1180), in tqdm.__iter__(self)
   1178 time = self._time
   1180 try:
-> 1181     for obj in iterable:
   1182         yield obj
   1183         # Update and possibly print the progressbar.
   1184         # Note: does not call self.update(1) for speed optimisation.

File [~/miniconda3/envs/joss/lib/python3.11/multiprocessing/pool.py:873](http://localhost:8888/home/tom/miniconda3/envs/joss/lib/python3.11/multiprocessing/pool.py#line=872), in IMapIterator.next(self, timeout)
    871 if success:
    872     return value
--> 873 raise value

ValueError: Tessellation can only be performed on a 2D array of shape (npoints, ndim)

I'm getting the same error.

Thank you for identifying this bug! This appears to be a problem within Pidgey, but it is also worth revising the default arguments for chunk sizes in commensurability.
When using chunk sizes greater than 1, Gala's integration routine takes in initial conditions [ic1, ic2, ...] and returns the integrated points as [[p1_1, p2_1, ...], [p2_1, p2_2, ...], ...]. However, supplying both [ic] and ic return [p1, p2, ...]. ilikecubesnstuff/pidgey#11 enforces the behavior of:

ic --> [p1, p2, ...]
[ic] --> [[p1], [p2], ...]


Komihash5 tag references in README

May I suggest you to remove compatibility references to all versions beside 5.0, and add a reference to a recently released 5.10? I'd like to remove intermediate tags as to not propagate sub-optimal releases.

fixed by #207

Thanks!


Unable to compile against target i686-unknown-linux-musl

I'm using rustc 1.61.0, and RustPython on git devel (currently f84b2896f1c9). I'm running on Debian Unstable, on an amd64.
Was prompted by the compile to install musl-related compile utilities, so I have these versions installed from the Debian Unstable repo:

musl-dev 1.2.3-1
musl-tools 1.2.3-1

This command works as demonstrated:
cargo run --release demo.py
This command fails during compilation:
cargo run --target=i686-unknown-linux-musl --release demo.py
The error is during this compile step:
Compiling rustpython-compiler v0.1.2 (/home/david/dev/misc/github/RustPython/compiler/porcelain)
And there are a bunch of warnings like this:
warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info.
   --> vm/src/stdlib/time.rs:499:48
    |
499 |             tv_sec: time / (SEC_TO_NS as libc::time_t),

But the actual error which terminates the compilation is this:
error[E0063]: missing fields `sched_ss_init_budget`, `sched_ss_low_priority`, `sched_ss_max_repl` and 1 other field in initializer of `sched_param`
   --> vm/src/stdlib/posix.rs:571:16
    |
571 |             Ok(libc::sched_param { sched_priority })
    |                ^^^^^^^^^^^^^^^^^ missing `sched_ss_init_budget`, `sched_ss_low_priority`, `sched_ss_max_repl` and 1 other field

For more information about this error, try `rustc --explain E0063`.
warning: `rustpython-vm` (lib) generated 9 warnings

...
For further context / background:
What I'm attempting to do is to get a recent python version over on the really ancient debian4 environment, which is also running in a 32-bit environment. The python version shipping there is 2.4.
At the moment I'm attempting to find a more recent alternative. I've seen that basic rust "hello world" cross-compiles work. But most other languages and ecosystems I've tested, no longer target or compile that really ancient environment. Even go-lang binaries targeting linux 32-bit fail with runtime panics on the environment, probably due to needing underlying linux system calls to be present, even though there is no actual libc dependency and the target binary is static. Target platform linux version is 2.6.30-1-686, and gcc version is 4.1.1

We'd better to add musl build to CI to prevent this


Add sensor for internet connection state

Closed by https://github.com/mammuth/ha-fritzbox-tools/commit/cdb8cdd531bee170bc5c250a9bb06c06b7a080ba


yamlsource test needs to check for leading spaces

As yamlsource writes the fact names with leading spaces the regex needs to take those in consideration.
Without this change the test always passes even if the fact source filter would not remove the needed facts.

Hey @zipkid sorry this took so long.
Looks good to me, although I would go a step further and use ^ * instead of ^\s* because tabs are not allowed in YAML, nor is other whitespace besides space.

unfortunately, \n is ~_~ but, we should probably just discourage that altogether ;)

it appears as though this test has been removed…


RuntimeError: CUDA out of memory. Tried to allocate 258.96 GiB (GPU 0; 15.75 GiB total capacity; 2.26 GiB already allocated; 11.11 GiB free; 172.34 MiB cached)

I use the SOLO framework to train the LVIS datasets. After the model training is completed, the evaluation is performed, but the memory is greatly exceeded. And I tested MaskRcnn in the same environment without any problems.
error：RuntimeError: CUDA out of memory. Tried to allocate 258.96 GiB (GPU 0; 15.75 GiB total capacity; 2.26 GiB already allocated; 11.11 GiB free; 172.34 MiB cached)
Env:  mmdet=2.18.1    mmcv-full=1.3.17  pytorch=1.3.1
config：
dataset_type = 'LVISV05Dataset'
data_root = 'data/lvis_v05/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
train_pipeline = [
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True, with_mask=True),
dict(
type='Resize',
img_scale=[(1333, 640), (1333, 672), (1333, 704), (1333, 736),
(1333, 768), (1333, 800)],
multiscale_mode='value',
keep_ratio=True),
dict(type='RandomFlip', flip_ratio=0.5),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels', 'gt_masks'])
]
test_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]
data = dict(
samples_per_gpu=2,
workers_per_gpu=2,
train=dict(
type='LVISV05Dataset',
ann_file='data/lvis_v05/annotations/lvis_v0.5_train.json',
img_prefix='data/lvis_v05/train2017/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True, with_mask=True),
dict(
type='Resize',
img_scale=[(1333, 640), (1333, 672), (1333, 704), (1333, 736),
(1333, 768), (1333, 800)],
multiscale_mode='value',
keep_ratio=True),
dict(type='RandomFlip', flip_ratio=0.5),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='DefaultFormatBundle'),
dict(
type='Collect',
keys=['img', 'gt_bboxes', 'gt_labels', 'gt_masks'])
]),
val=dict(
type='LVISV05Dataset',
ann_file='data/lvis_v05/annotations/lvis_v0.5_val.json',
img_prefix='data/lvis_v05/val2017/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]),
test=dict(
type='LVISV05Dataset',
ann_file='data/lvis_v05/annotations/lvis_v0.5_val.json',
img_prefix='data/lvis_v05/val2017/',
pipeline=[
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]))
evaluation = dict(metric=['bbox', 'segm'], interval=12)
optimizer = dict(type='SGD', lr=0.005, momentum=0.9, weight_decay=0.0001)
optimizer_config = dict(grad_clip=None)
lr_config = dict(
policy='step',
warmup='linear',
warmup_iters=500,
warmup_ratio=0.001,
step=[8, 11])
runner = dict(type='EpochBasedRunner', max_epochs=12)
checkpoint_config = dict(interval=2)
log_config = dict(interval=50, hooks=[dict(type='TextLoggerHook')])
custom_hooks = [dict(type='NumClassCheckHook')]
dist_params = dict(backend='nccl')
log_level = 'INFO'
load_from = None
resume_from = None
workflow = [('train', 1)]
model = dict(
type='SOLO',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet50'),
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256, 512, 1024, 2048],
out_channels=256,
start_level=0,
num_outs=5),
mask_head=dict(
type='SOLOHead',
num_classes=1230,
in_channels=256,
stacked_convs=7,
feat_channels=256,
strides=[8, 8, 16, 32, 32],
scale_ranges=((1, 96), (48, 192), (96, 384), (192, 768), (384, 2048)),
pos_scale=0.2,
num_grids=[40, 36, 24, 16, 12],
cls_down_index=0,
loss_mask=dict(type='DiceLoss', use_sigmoid=True, loss_weight=3.0),
loss_cls=dict(
type='FocalLoss',
use_sigmoid=True,
gamma=2.0,
alpha=0.25,
loss_weight=1.0),
norm_cfg=dict(type='GN', num_groups=32, requires_grad=True)),
test_cfg=dict(
nms_pre=500,
score_thr=0.0001,   #lvis setting
mask_thr=0.5,
filter_thr=0.05,
kernel='gaussian',
sigma=2.0,
max_per_img=300))   #lvis setting
work_dir = None
gpu_ids = range(0, 1)

I guess the problem lies in the mask-nms progress.

SOLO inference time needs more memory because it uses matrix_nms. The probably suggested method is to convert gpu to cpu.
https://github.com/open-mmlab/mmdetection/blob/master/mmdet/core/post_processing/matrix_nms.py

I don't know why, usually the test should not need so much GPU memory, but mainly uses the system memory. I don't understand why matrix_nms needs hundreds of gigabytes of video memory. Is it my environmental  or model problem?

Due to this line https://github.com/open-mmlab/mmdetection/blob/fb5463e604d75d57d435128002a48b6a1759a6d9/mmdet/core/post_processing/matrix_nms.py#L67
Seems like a model problem,

So how to solve it, I just changed the data set, and adjusted the score threshold of the test configuration and the maximum number of detections per image. I try to retrain the model.

Due to this line
https://github.com/open-mmlab/mmdetection/blob/fb5463e604d75d57d435128002a48b6a1759a6d9/mmdet/core/post_processing/matrix_nms.py#L67
Seems like a model problem,

Hello, I want to ask how should I write test-cfg if I don’t use matrix_nms

This part can be optimized by torch.einsum, which should save some memories. You could try torch.einsum() to rewrite this line. @BIGWangYuDong will create a PR to fix this in the next release.

@ZwwWayne I have checked torch.einsum and torch.mm. Seems cannot save memories.
I initialize a torch.Tensor with size (456, 60800), and process 2,000 iter (warmup 500 iter). Then I check the following code:
inter_matrix = torch.mm(flatten_masks, flatten_masks.transpose(1, 0))
inter_matrix = torch.einsum('ik, kj -> ij', flatten_masks, flatten_masks.transpose(1, 0))

Here is the result:

torch.mm
torch.einsum

process time (s)
4.69856
4.5713

GPU memory  (MiB)
807
807

So I should :
inter_matrix = torch.mm(flatten_masks, flatten_masks.transpose(1, 0))    ->
inter_matrix = torch.einsum(flatten_masks, flatten_masks.transpose(1, 0))
?

@ZwwWayne I have checked torch.einsum and torch.mm. Seems cannot save memories.
I initialize a torch.Tensor with size (456, 60800), and process 2,000 iter (warmup 500 iter). Then I check the following code:
inter_matrix = torch.mm(flatten_masks, flatten_masks.transpose(1, 0))
inter_matrix = torch.einsum('ik, kj -> ij', flatten_masks, flatten_masks.transpose(1, 0))

Here is the result:
torch.mm	torch.einsum
process time (s)	4.69856	4.5713
GPU memory (MiB)	807	807

Seems that you cannot save the GPU memory by using torch.einsum. There is a suggestion to use .cpu() to avoid this error. One more thing is that @sanmulab which line did you meet OOM?

Sorry, for some reason, I haven't tried torch. einsum () method to test. Previously, I just used the SOLO framework to train the LVIS datasets and then encountered a GPU memory  when evaluating the model. But when I use the Mask RCNN framework, I can train and evaluate normally.

Yep, I have got this error when I used SOLO to test COCO instance segmentation too ( but only meet one or two times). And did not get OOM error during training.
I have discussed this on PyTorch forum.
My error does not just show Out Of Memory but some other error: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling cublasCreate(handle).
SO,  if you still meet OOM error, it is suggested to give us more error details, that we can locate the problem.

Because I cannot recurrent this error right now, it is suggested to have a try:
change this line
https://github.com/open-mmlab/mmdetection/blob/6ddbff8406aec8b414462badbd57c4013b594afe/mmdet/core/post_processing/matrix_nms.py#L67
to
inter_matrix = torch.einsum('ik, kj -> ij', flatten_masks, flatten_masks.transpose(1, 0))

OK,thank you!

@sanmulab https://github.com/open-mmlab/mmdetection/pull/7338 you can have a try to use AvoidOOM to change the tensor to fp16 or CPU. This PR is not ready, but you can have a try first.

Thanks, but I seem to have found the cause of the memory explosion. When I change the score_thr in test_cfg from 0.0001 to 0.05, this evaluates fine. Sadly, AP=0 (I only use epoch_6.pth for testing lvis dataset)

Thanks, but I seem to have found the cause of the memory explosion. When I change the score_thr in test_cfg from 0.0001 to 0.05, this evaluates fine. Sadly, AP=0 (I only use epoch_6.pth for testing lvis dataset)

Maybe because you have changed the test_cfg. may there are no results that the score larger than 0.05. I'll close this issue, please feel free to create a new issue if you still meet problems


chore: updatebot for jx-pipelines-visualizer

Related: https://github.com/jenkins-x/jx-pipeline/pull/280

https://kubernetes.slack.com/archives/C9MBGQJRH/p1612437810282900?thread_ts=1610749120.172300&cid=C9MBGQJRH


Consider convenience methods for formatting

DateTime has convenience methods:

ToShortDateString
ToLongDateString
ToShortTimeString
ToLongTimeString

Should Date and TimeOfDay have these also?
How about also ToISOString to address #14 ?

Again, I think it should have these methods for alignment with DateTime. I am happy to have this assigned to myself if you want someone to work on it.

Go for it! :)

@mj1856, I sent a PR for an implementation of this. One thing I would like to mention is that because the PCL version of .NET's DateTime doesn't have these convenience methods, I ended up implementing these methods by calling the ToString() method and passing in the relevant field from CultureInfo.DateTimeFormat object. Is that OK?
Another thing is that in implementing unit tests, I cannot make assumptions on the culture of the machine the tests are being run under, so for now I am only making assertions if the culture is en-US or en-GB, as otherwise I will have to spend hours and hours checking against all available culture infos :-)
Looking forward for your review.

You can set the current culture so it's not ambiguous.  In fact, you might want a few tests that vary the culture so you can validate the output format changes.
using System.Threading;
using System.Globalization;
...
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-GB");
```

The existing implementation looks fine.  Please update the tests and I'll merge the PR.

Also, please include a `Date.ToIsoString()` method, which should be the `yyyy-MM-dd` format in the `InvariantCulture`.

Actually, I already thought of changing the culture but I couldn't, because the PCL version of the .NET you added to the project doesn't have System.Thread, i.e. the code you put above doesn't compile.

To be honest, I am not sure why I can't find System.Thread, because MSDN does say that it should be available even in portable .NET:
https://msdn.microsoft.com/en-us/library/system.threading.thread.currentculture(v=vs.110).aspx
Notice the section "Version Information".
Any idea?

Hmmm.. Same thing here.  I will investigate further.
If we have to, we can make the test projects non-portable.

OK, in the mean time, I will push the implementation of ToIsoString() so that I can work on other stuff while you investigate this. Once we reach a conclusion, I can go back to the tests and improve them to include testing some few different cultures.

For now, I just switched to a non-portable test project.  I had to also change the profile for the main project for some reason. Not sure exactly why.
This will be temporary, but will get us through for now so we can write all the necessary unit tests.  At some point, we'll need to build out a project that will fit within the corefx project structure.

If this is temporary, won't we have problems building the unit tests later when/if we try to move the project to corefix?

I will start creating branches now for the issues I am assigned to.

I think we can close this issue once the PR I sent is merged.

Thanks @mj1856 for merging PR #21. Closing this issue.


Use phantomjs 1.9.18

Lets use the latest phantomjs 1.9.x release :smile:

no need to bump, npm will automatically install that version when you reinstall.
ref https://github.com/gruntjs/grunt-contrib-compress/issues/59

thanks @vladikoff ! :+1:


On-chain Bitcoin: The latest transaction shows up last in the transaction list.

Still the latest on- chain transaction is last in the transaction list.

Every time when I kill the app, the latest transaction comes to the top of the list.
Tested on dev app v2.0.70(436)

@cakesoft-swati

Verified this issue on dev app v2.0.70(439)


Add unbounded AES-GCM verification, isolate newer SAW from other proofs

This proves unbounded AES-GCM functions, building on top of the cryptol-specs work in https://github.com/GaloisInc/cryptol-specs/pull/72 and the saw-script work in https://github.com/GaloisInc/saw-script/pull/2037. This supersedes previous efforts in https://github.com/awslabs/aws-lc-verification/pull/80, https://github.com/awslabs/aws-lc-verification/pull/139, and #143.
This requires a newer version of SAW to work than what aws-lc-verification's CI currently uses, so I isolated these proofs into their own SAW scripts, Cryptol specs, shell scripts, Docker image, and CI action. Moreover, some of the AES-GCM proofs use Z3's Constrained Horn Clause (CHC) feature, which is buggy on Z3-4.8.8. aws-lc-verification's other CI jobs are currently using Z3-4.8.8, so I specifically chose a newer version (Z3-4.8.14) for the new, AES-GCM–specific CI job.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Ah, I mistakenly introduced some changes to SAW/proof/common/helpers.saw which require a newer version of SAW, but weren't properly isolated to only affect AES-GCM. I'll push a fix momentarily.

At long last, the CI finally passes! Ready for review, @apetcher-amazon and @pennyannn.

I have a few high-level comments before I examine the details.

A big thing that is missing is an indication of how well the proof can be parallelized. Unless I'm missing something, the current scripts appear to only check a single pair of mres and res_mres values because AES-GCM-check-entrypoint.go just falls through to AES_GCM.saw. You should be able to modify the Go scripts to execute AES_GCM.saw in parallel with multiple parameter values. Can you try this so we can get some indication of how much RAM is needed and how well we can parallelize the proof? You don't need to run the SAW script on all parameter values---just show how many parameter values we can check in parallel. The runner that we are using for the CI has 64 GB of RAM.
In SPEC.md, you should describe the spec of the top-level functions like EVP_EncryptUpdate and EVP_EncryptFinal. There is no need to include specs for internal functions.
The Cryptol spec for AES-GCM is very hard to follow. Can you organize/simplify it a bit and/or add some comments. It needs to be easy for someone to examine it and agree that it describes (some implementation-specific variant of) AES-GCM.
In general, the code could be improved with more comments and some slight tweaks to organization. Please look over the code and make sure that magic numbers are explained and defined using constants(e.g. why length is a 28-bit integer), variable names are clear or described using documentation (e.g. meaning of mres and res_mres are not clear from the name), etc. Also, move large proof scripts that do not need to be inspected out of top-level files like AES-GCM.saw so it is easier to see what is proved.

A big thing that is missing is an indication of how well the proof can be parallelized.

Yes, a fair point. I can experiment locally to see how well we can parallelize it, although my local machine only has 32 GB of RAM.

In SPEC.md, you should describe the spec of the top-level functions like EVP_EncryptUpdate and EVP_EncryptFinal. There is no need to include specs for internal functions.

Ah, good to know. I'll do that.

The Cryptol spec for AES-GCM is very hard to follow. Can you organize/simplify it a bit and/or add some comments. It needs to be easy for someone to examine it and agree that it describes (some implementation-specific variant of) AES-GCM.

Yes, quite so. One of the challenges here is that much of the Cryptol code checked in here is not meant to reflect the official NIST AES-GCM specification so much as it is an aid for SAW to help identify the loop structure of the C code itself, so it is written in a much more "low-level" style than what you'd find in the NIST spec. The Cryptol code that is closer to the NIST spec is found in https://github.com/GaloisInc/cryptol-specs/pull/72 (in AES_256_GCM.cry).
That being said, the comments could definitely explain all this better. I'll do that and add some more commentary where I can.

In general, the code could be improved with more comments and some slight tweaks to organization. Please look over the code and make sure that magic numbers are explained and defined using constants(e.g. why length is a 28-bit integer), variable names are clear or described using documentation (e.g. meaning of mres and res_mres are not clear from the name), etc. Also, move large proof scripts that do not need to be inspected out of top-level files like AES-GCM.saw so it is easier to see what is proved.

Sure, will do.

I want to confirm if my understanding is correct. In this proof, the bulk processing functions aesni_gcm_encrypt and aesni_gcm_decrypt are verified with arbitrary input length, therefore they are unbounded proofs.
For all other functions, they are all bounded proofs serving some purpose, and this includes proofs for the top-level EVP functions as well. For example, aes_hw_ctr32_encrypt_blocks is only verified with number of blocks smaller than MIN_BULK_BLOCKS = 18. This is because this function is only used when there aren't enough message blocks to do one loop iteration of bulk processing. Likewise for GHASH functions like gcm_ghash_avx.
For top-level EVP function, I believe only one set of verification parameter is chosen for the proof, so it is also a bounded proof. The override matching to bulk functions aesni_gcm_encrypt and aesni_gcm_decrypt will automatically figure out what the message block length is.
Is my understanding correct?
If so, could you add some comments to the proof command for the top-level EVP functions (the various llvm_verify for EVP_EncryptUpdate and EVP_DecryptUpdate) explaining the meaning of the input numbers. What do they refer to and why we are choosing this set of parameter?

Wow, this is so cool! All workflow pass and apparently the proofs now run faster even though we are checking more combinations of parameters! I wonder if it is because you removed the bounded proofs. I will start reviewing. Thank you so much for the help, @RyanGlScott !


Minor update to the schema exclude order for the CLI case

Description

Schema exclusion was performed after applying explicitly included schemata, which resulted in confusing behaviour (especially in the default case, excluding owl when explicitly requested)
in addition the default schemata directory was not copied to the validate module and therefore not available in the CLI case

How Has This Been Tested?
is covered by the ValidateUtilsTest
Types of changes

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

Checklist:

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

:+1: thanks @chile12 !

Coverage decreased (-0.02%) to 55.916% when pulling 17725cbce6f0848728e3ae5995591e7f154e6ed4 on fix/CliExcludeBehaviour into 133e9d6268c84824c16acd40dab70498de755e89 on master.