Unable to get network connection to plex in rancher

When I try to connect to plex from rancher it times out when I looked at the network settings I do not see any network configuration. I am running this on ubuntu server 20.04 on proxmox 6.3

This repo is for code issues with the dashboard UI.  Please use our or various other public slack and discussion forums for general questions about using Kubernetes.

This repo is for code issues with the dashboard UI.  Please use our or various other public slack and discussion forums for general questions about using Kubernetes.


Allow installers to build in pipelines without artifactory

This allows the installers to be built but not uploaded to artifactory (by forcing GRADLE_TASK=build) if artifactory credentials have not been supplied, for the situation where someone outside adoptopenjdk is running our pipelines (since this will currently fail in that situation and not allow the installers to be archived)
We should possibly also look at making the artifactory server name a parameter along with the username and password to incfrease flexibility
Signed-off-by: Stewart Addison<EMAIL_ADDRESS>

@karianna The future refactoring should look like this: Remove publishing from Gradle and delegate it to Jenkins. The objective is to let the Jenkins master collect the packages and SFTP them wherever we want them to end up. Furthermore, if we relied on Gradle properties in the future, they should be lazy so that they've to be defined only when required.
Generally, the *_create_installer_linux.sh scripts are glue for Adopt's Jenkins and aren't supposed to be consumed by third parties. But I don't object to the PR.

Generally, the *_create_installer_linux.sh scripts are glue for Adopt's Jenkins and aren't supposed to be consumed by third parties. But I don't object to the PR.

Unfortunately the main build pipelines require them so it's not possible to consume them as-is without an installer job being available


nerfacto not working with blender-data

Hello, I am trying to get nerfacto to work with blender-data (ficus more specifically), and here is the image I get

My training command is just ns-train nerfacto --vis tensorboard blender-data --data ../data/blender/ficus and the data directory is downloaded with 'ns-download-data blender'. Is this expected to not work well with blender dataset?

This issue solves this problem.

This issue solves this problem.

Hi dude, I still can't solve the problem. I was able to get good results with lego  using solutions from other issues, but for ficus, I got poor results with all three models (nerfacto, instant-ngp, instant-ngp-bounded), with iterations==10k. Could you please tell me what configuration or flag you used?

I usually see good results with 200k steps : )

Well, here are still two problems on me :(

Using nerfacto with the command below:
ns-train nerfacto --data="data/blender/lego/" --experiment-name="lego" --max-num-iterations=10000  --pipeline.model.background-color white --pipeline.model.proposal-initial-sampler uniform --pipeline.model.near-plane 2. --pipeline.model.far-plane 6. --pipeline.datamanager.camera-optimizer.mode off --pipeline.model.use-average-appearance-embedding False --pipeline.model.distortion-loss-mult 0 --pipeline.model.disable-scene-contraction True  blender-data
For dataset lego, it converged very fast, actually after just 200 iterations I could already see a good result. But for dataset ficus, during the training until 10k iterations there is still nothing... :(  I don't know what happened and why.

Using instant-ngp-bounded, both lego and ficus couldn't converge well after 30k iterations (I'm still waiting for the results maybe until 200k iterations), and it looks like there are some individual clouds close to bound.

Do you know how to solve it? I don't think we need 200k steps for nerfacto (almost slower than the original NeRF with a worse result), there must be something we missed.

Hi there! I tried again using the command above on dataset ficus, and it works now. You can also have a try, it can have a good result after just 2k iterations (almost stable after 8k iters).
Last time it worked on lego but failed on ficus, I think the instability of my network should be blame for it. :(

Gald it worked out! And sorry I was thinking of training neus when I replied, and yes with nerfacto it shouldn't take 200k steps.

Do you see these kind of white fog rendering during training? It doesn't seem to go away in mine.

@THUROI0787  Do you see these kind of white fog rendering during training? It doesn't seem to go away in mine.

Hi, I remember it didn't happen after I trained it for enough epochs (for nerfacto, maybe 5k iterations). Could you show me your command?

Yes, I tried
ns-train nerfacto --pipeline.model.background-color white --pipeline.model.disable-scene-contraction True --output-dir /scratch/local/2023/zling/project/shellnerf/outputs --vis tensorboard --pipeline.model.proposal-initial-sampler uniform --pipeline.model.near-plane 2. --pipeline.model.far-plane 6. --pipeline.datamanager.camera-optimizer.mode off --pipeline.model.use-average-appearance-embedding False --pipeline.model.distortion-loss-mult 0 blender-data --data ../data/ficus

If possible, would you mind sharing what your rendering looks like by the end? @THUROI0787  Thank you!

@iszihan  Well... The same problem also for me on ficus, but it has a quite good result on lego. I wonder why...

  @iszihan Well... The same problem also for me on ficus, but it has a quite good result on lego. I wonder why...

Hi, I wonder how can you get this result. Could you show me your command please?

Well, here are still two problems on me :(
1. Using _nerfacto_ with the command below:
   `ns-train nerfacto --data="data/blender/lego/" --experiment-name="lego" --max-num-iterations=10000  --pipeline.model.background-color white --pipeline.model.proposal-initial-sampler uniform --pipeline.model.near-plane 2. --pipeline.model.far-plane 6. --pipeline.datamanager.camera-optimizer.mode off --pipeline.model.use-average-appearance-embedding False --pipeline.model.distortion-loss-mult 0 --pipeline.model.disable-scene-contraction True  blender-data`
   For dataset _lego_, it converged very fast, actually after just **200** iterations I could already see a good result. But for dataset _ficus_, during the training until 10k iterations there is still nothing... :(  I don't know what happened and why.

2. Using _instant-ngp-bounded_, both _lego_ and _ficus_ couldn't converge well after 30k iterations (I'm still waiting for the results maybe until 200k iterations), and it looks like there are some individual clouds close to bound.

Do you know how to solve it? I don't think we need 200k steps for nerfacto (almost slower than the original NeRF with a worse result), there must be something we missed.

This command give an error:
Unrecognized or misplaced arguments: --pipeline.datamanager.camera-optimizer.mode

This command give an error: Unrecognized or misplaced arguments: --pipeline.datamanager.camera-optimizer.mode

@dubrovin-sudo
Use --pipeline.model.camera-optimizer.mode off now. (e.g. model instead of datamanager)


Ability to define different aliases for an interface?

@rdlowrey The other day you asked what features I think are still needed - here is one, which we've discussed this before, but I can't find a link.

Sometimes you need to be able to use different implementations for the same interface, based on external factors.
interface Logger{}

class UtilityClass {
    function __construct(Logger $logger){}
}

class ClassThatIsWorkingCorrectly{
    function __construct(UtilityClass $utilityClass) {}
}

class ClassRelatedToReportedBugs{
    function __construct(UtilityClass $utilityClass) {}
}

Most of our code is working fine and so we want the 'Logger' to be inserted to be one that only reports notices at the 'error' level.
However some of our users have reported bugs that we think is being caused by the code in ClassRelatedToReportedBugs, or code that it calls. We want to be able to configure our system so that any 'Logger' created by 'ClassRelatedToReportedBugs' or any of it's dependencies uses a Logger that reports notices at the 'info' level.
I think this does need to be configurable through configuration rather than modifying the code, as that the changes need to be done on a production server without downtime.
For the above case, my fork with it's (marginally crazy) ability to alias/share different classes based on the chain of class constructors solves that problem.
However there are probably other cases where some other solution would be needed e.g.
// Copies data from one server to another.
function archiveData(DBConnection $liveServer, DBConnection $backupServer){
}

Wouldn't currently be possible would it?
Obviously not every possible way of configuring which classes are instantiated needs to be supported, or should even if it is possible, however I think the first case above is something that most people would expect to be able to configure.

Other than the fact that i) The function name sucks ii) The classes in progress get passed to the resolve function as lower case iii) a complete lack of error checking, this doesn't appear to be too horrible a solution.
https://github.com/rdlowrey/Auryn/compare/rdlowrey:master...Danack:lookup?expand=1

Actually this is a way lighter weight solution:
https://github.com/rdlowrey/Auryn/compare/master...Danack:delegateConstructionHierarchy?expand=1
If we really wanted to trim off the last 'InjectionChain'....tbh we could leave this from version 1 until someone really needs it.

A mere nine years later, as this hasn't been added, it probably never will be.
I wrote some words in 7d500bc0e6a9c76504e9ba7694f6f563aff592f2 why not.


Use setuptools instead of deprecated distutils.core.

Fallback to distutils.core if necessary.

Looks great!


Run every X minutes

There are some jobs I would like to schedule every x minutes.
I figured I could do it with ->everyMinute(5) or maybe ->hourly('*/5') but both aren't supported.
The latter could work if validateCronRange() is fixed to support it.
For now I use this workaround: ->at('*/5 * * * *'). But it is ugly, and kind of defeats the purpose of using an interface for scheduling.
I would think this is a common enough usage to be supported by the interface.

->everyMinute(5) is a more elegant syntax rather than:
$runtime = array(0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55);
foreach ($runtime as $timer) {
$scheduler->php('/path/to/the/job/php')->hourly($timer);
}

I used $object->at('42 * * * *') to run cron job after every 42 minutes. But when the cron job is run, it is run more than one time.
For example. A cron job is scheduled at every 42 minutes. When the time came, the cron job runs at the exact time but also multiples time.
Any help would be appreciated.

@peppeocchi I took the liberty to write a patch for this feature: https://github.com/peppeocchi/php-cron-scheduler/pull/82. Could you please review? Thanks.


[BUG] Story Generators broken

Module Version: v02.0.31
Describe the bug
Random NPC generator from compendium doesn't work.
To Reproduce
Steps to reproduce the behavior:

Import Random NPC generator from the BRT - Story Tables rolltables
Open up, switch to story RollTable
Attempt a better roll (Roll+)
Observe errors

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Browser:  Chrome
Foundry Version:  11v315
Game System: DnD5e 2.4.1
Additional context
I did some investigation.  The first issue is documentCollection doesn't exist on the JournalEntry fetched from the compendium.  The field seems to now be called documentName instead.  However the roll tables themselves do seem to have documentCollection.
See: https://github.com/p4535992/foundryvtt-better-rolltables/blob/ad7013037570229bfb1d4bd96f63069b6b3e61f3/src/scripts/story/story-builder.js#L47C1-L47C67
After that, the StoryChatCard function is just completely broken (or the generateChatStory, I'm not sure which).  It first generates a story, which makes sense, but then it passes the resulting generated html to StoryChatCard functions, which are expecting a roll table and not an html string.  This does not match the comment on the function, which says it takes an html string.
https://github.com/p4535992/foundryvtt-better-rolltables/blob/ad7013037570229bfb1d4bd96f63069b6b3e61f3/src/scripts/story/story-helpers.js#L13C1-L21C4
https://github.com/p4535992/foundryvtt-better-rolltables/blob/ad7013037570229bfb1d4bd96f63069b6b3e61f3/src/scripts/story/story-chat-card.js#L15C1-L47C4

The story table I fixed it on version 2.0.33 (I hope ?), but honestly I never use it, it was a typo from the old developer let me know if you get it right. It could be evolved into something better....


Two Much Needed Features: Free Hand Cropper, To open the actual Gallery Directly/ from files.

Thanks, Dhaval for creating this amazing library it works well for my use, the imagine compression is too good, just I feel like these two important features are missing from this it would be helpful if you look into adding it, if I get some free time I'll work on it and submit a pull request.

Duplicate of #87 #76


Camera not working in iOS? Read this.

You must add this to the .plist:
<key>NSCameraUsageDescription</key>
<string>Camera permission is required for barcode scanning.</string>

I have a question : the camera is working for me on IOS, but the camera screen doesn't close after the qr code is recognized. How can I make it close the camera screen ?


Add RenameBranch support

Add support for rename a branch: https://docs.github.com/en/rest/reference/repos#rename-a-branch
Fixes: https://github.com/google/go-github/issues/2118

Thank you, @AGMETEOR !
Merging.


Reference Paper

would you please give me the link of reference paper?

https://jivp-eurasipjournals.springeropen.com/articles/10.1186/s13640-015-0059-4


InvalidOperationException: Unexpected null when writing top level console app with .NET 6 SDK

Issue Description
Steps to Reproduce

Install .NET 6 Preview 3 build from https://github.com/dotnet/installer
dotnet new console -o ConsoleApp1
code ConsoleApp1
Delete everything in Program.cs
In Program.cs, start writing a top level program by typing "Console" and hit Ctrl+. to trigger code actions to add the required using directive.
No code actions are available
Delete "Console"

Expected Behavior
Code action offered to add using System;
No exceptions in the Omnisharp logs.
Actual Behavior
No code action offered to add missing using directive.
Exception in Omnisharp log: InvalidOperationException: Unexpected null
Logs
OmniSharp log
Starting OmniSharp server at 3/26/2021, 8:20:57 AM
Target: c:\Users\daroth\Desktop\ConsoleApp1
OmniSharp server started.
Path: c:\Users\daroth.vscode\extensions\ms-dotnettools.csharp-1.23.9.omnisharp\1.37.6\OmniSharp.exe
PID: 4720
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

    Located 5 MSBuild instance(s)
        1: Visual Studio Enterprise 2019 16.10.31025.218 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin"
        2: Visual Studio Enterprise 2019 16.9.31112.23 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin"
        3: Visual Studio Enterprise 2019 16.10.31123.337 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\IntPreview\MSBuild\Current\Bin"
        4: Visual Studio Build Tools 2017 15.9.28307.1401 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
        5: StandAlone 16.8.0 - "c:\Users\daroth\.vscode\extensions\ms-dotnettools.csharp-1.23.9\.omnisharp\1.37.6\.msbuild\Current\Bin"

    Registered MSBuild instance: Visual Studio Enterprise 2019 16.10.31123.337 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\IntPreview\MSBuild\Current\Bin"

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140

    Detecting Cake files in 'c:\Users\daroth\Desktop\ConsoleApp1'.

    Could not find any Cake files

    No solution files found in 'c:\Users\daroth\Desktop\ConsoleApp1'

    Queue project update for 'c:\Users\daroth\Desktop\ConsoleApp1\ConsoleApp1.csproj'

    Detecting CSX files in 'c:\Users\daroth\Desktop\ConsoleApp1'.

    Could not find any CSX files

    Configuration finished.

    Omnisharp server running using Stdio at location 'c:\Users\daroth\Desktop\ConsoleApp1' on host 8084.

    Loading project: c:\Users\daroth\Desktop\ConsoleApp1\ConsoleApp1.csproj

    Successfully loaded project file 'c:\Users\daroth\Desktop\ConsoleApp1\ConsoleApp1.csproj'.

    Adding project 'c:\Users\daroth\Desktop\ConsoleApp1\ConsoleApp1.csproj'

    Update project: ConsoleApp1

    ************ Request ************

{
"Type": "request",
"Seq": 21,
"Command": "/findusages",
"Arguments": {
"FileName": "c:\Users\daroth\Desktop\ConsoleApp1\Program.cs",
"Line": 0,
"Column": 0,
"OnlyThisFile": true,
"ExcludeDefinition": false
}
}
[fail]: OmniSharp.Stdio.Host
************  Response ************
{
"Request_seq": 21,
"Command": "/findusages",
"Running": true,
"Success": false,
"Message": ""System.InvalidOperationException: Unexpected null\r\n   at Roslyn.Utilities.Contract.Fail(String message)\r\n   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.MapToAppropriateSymbol(ISymbol symbol)\r\n   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__20.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__34.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__40.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.d__39.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService.d__2.MoveNext() in D:\\a\\1\\s\\src\\OmniSharp.Roslyn.CSharp\\Services\\Navigation\\FindUsagesService.cs:line 41\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at OmniSharp.Endpoint.EndpointHandler2.<AggregateResponsesFromLanguageHandlers>d__18.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at OmniSharp.Endpoint.EndpointHandler2.d__20.MoveNext() in D:\\a\\1\\s\\src\\OmniSharp.Host\\Endpoint\\EndpointHandler.cs:line 227\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at OmniSharp.Endpoint.EndpointHandler`2.d__16.MoveNext() in D:\\a\\1\\s\\src\\OmniSharp.Host\\Endpoint\\EndpointHandler.cs:line 131\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at OmniSharp.Stdio.Host.d__13.MoveNext() in D:\\a\\1\\s\\src\\OmniSharp.Stdio\\Host.cs:line 215"",
"Body": null,
"Seq": 128,
"Type": "response"
}
C# log
[No output]
Environment information
VSCode version: 1.54.3
C# Extension: 1.23.9
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   6.0.100-preview.3.21176.3
 Commit:    89f2987f74
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19042
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.100-preview.3.21176.3\
Host (useful for support):
Version: 6.0.0-preview.3.21167.1
Commit:  0f64b267ac
.NET SDKs installed:
3.1.407 [C:\Program Files\dotnet\sdk]
5.0.104 [C:\Program Files\dotnet\sdk]
5.0.200-preview.21077.7 [C:\Program Files\dotnet\sdk]
5.0.200 [C:\Program Files\dotnet\sdk]
5.0.201 [C:\Program Files\dotnet\sdk]
6.0.100-preview.3.21176.3 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.3.21172.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.3.21167.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.0-preview.3.21172.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

azure-account
ms-vscode
0.9.7

code-spell-checker
streetsidesoftware
1.10.2

csharp
ms-dotnettools
1.23.9

dart-code
Dart-Code
3.20.1

flutter
Dart-Code
3.20.0

javascript-ejs-support
DigitalBrainstem
1.3.1

LiveServer
ritwickdey
5.6.1

remote-wsl
ms-vscode-remote
0.54.6

vscode-azureappservice
ms-azuretools
0.21.2

vscode-azureresourcegroups
ms-azuretools
0.3.0

WebTemplateStudio-dev-nightly
WASTeamAccount
0.5.2104801

I don't think this is related to Preview 3. There is an (unfortunately) known issue with the client and server getting out of sync which manifests itself this way (basically line numbers in the editor don't match the server state). see e.g. the discussion here https://github.com/OmniSharp/omnisharp-vscode/issues/4307#issuecomment-766874460 it often happens when you start editing without the project being fully loades yet
this has been introduced in recent versions of the extension and we think moving to LSP will improve stability and consistency.
a restart normally fixes this.

a restart normally fixes this.

Just restart VS Code? Or do you mean the whole machine?

OmniSharp restart (there is a command for this) which can also be achieved simply by a VS Code restart

Restarting VS Code and Omnisharp doesn't seem to help in this case. I've also tried waiting until it looks like things have loaded in the Omnisharp logs before starting to edit. This repros reliably for me.

Yeah but the exception you shared is not related to code actions - it comes from find references and is triggered via code lense, so it sounds like we are mixing up two things here. What I understand you are opening this because you don't get the expected code action, and this exception is likely only clouding the picture and perhaps your root cause is different.
Does other stuff work correctly e.g. intellisense or navigation?

Perhaps you can capture all the logs by setting "omnisharp.loggingLevel":"debug"
FWIW this is what I see, albeit on a Mac

omnisharp-log.log

Other stuff does seem to work:

A lot has changed with O# code analysis since this issue was opened. If you are still having problems, please open a new issue at https://github.com/omnisharp/omnisharp-roslyn/issues


RecordConfigurator Layout Change

Make a change for the layout configurator according to discussed designs.

For today: continue styling each section of the component

For today: finish with layout changes and discuss with Jože what's more to be done

For today: timebox 1h to fix last section of checkboxes. Speak to Jože about the next phase of the task

For today: Finish up the current phase as discussed with Jože.

For today: complete the task


Handle missing Token::Delim variant when rendering errors

Also fold render_single_char_token into render_token so that in the future, the compiler can check the exhaustiveness of the match and warn us of missing tokens.
Closes #212

Looks good

LGTM


Bad link in doc/GETTING_STARTED.md

Version:
0.42.2

Severity:
Very Low
Description:
On doc/GETTING_STARTED.md at line 61, there is a link to https://docs.libp2p.io/concepts/transport/ which is not a valid page. It should most likely link to https://docs.libp2p.io/concepts/transports/
Steps to reproduce the error:
Navigate to the doc/GETTING_STARTED.md page and click on the link at line 61

That would be great!


fix: contributing on project using magic postinstall issue, gitignore issue, etc.

Fixed issue where a contributor may pull your project down and when they run npm i, the main.ts file or bootstrap file would get inadvertently modified
Symbolic link between web and nativescript app to share src will now no longer inadvertently end up under source control as the post installer now adds the correct sym link dir to your .gitignore for you

Fixed with 1.5.6.


WaitElement throws an Error instead of working

I'd like to fire a MsgBox, once an element with certain properties is found. To do that, I tried if (foundElement := el.WaitElement({Name:"Formatierungsoptionen anzeigen" })) {.
#include C:\Users\arsi\Documents\AutoHotkey\Lib\UIAutomation-main\Lib\UIA_Interface.ahk
UIA := UIA_Interface()

SetTitleMatchMode, 2
WinWaitActive, - Google Chrome

el := UIA.ElementFromHandle(el)
if (foundElement := el.WaitElement({Name:"Formatierungsoptionen anzeigen" })) {
	MsgBox, element found
}

Running the code above throws this error:

Also, I actually want to check for several properties of the element to match, like this:
if (foundElement := el.WaitElement({ControlType:"Button" AND Name:"Formatierungsoptionen anzeigen" })) {
which doesn't even execute and just throws this error in the code editor: C:\Users\arsi\Desktop\Autohotkey Scripts\1) fertige\Reddit Strg+K - Link einfügen\test4.ahk (9) : ==> Missing "key:" in object literal.
How do I fix this?

You are combining AHK v1 UIA_Interface syntax with AHK v2 UIA syntax. In v1 there is no such method WaitElement and the object notation with {} can't be used. The v1 equivalent would be el.WaitElementExist("Name=Formatierungsoptionen anzeigen")


Remove unused field in WatchingVirtualFileSystem

Small code cleanup.

@bot-gradle test and merge.

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

Pre-tested commit build failed.

@bot-gradle test and merge please.

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

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


Rename Skip MD5 check

Edit validation setup
The Skip MD5 check option under the Upload button should be renamed
Maybe something like "Skip duplicate check"?

In 1.0.8


debug

VSCode Version:
OS Version:

Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes/No

You should provide description and steps to reproduce problem.

/needsMoreInfo


Update to compatible with aiida-core 2.x

Hi @greschd @bosonie,
Here are some attempts to remove the dependency of aiida-pytest. All test for run passed but not for submit caused by issue I opened at https://github.com/aiidateam/aiida-core/issues/5511. Do you have better suggestion on how to do that?
Then, since we drop 1.x, other thing I can image to apply here is that we can use dot . to access and construct namespace instead of double score __ for nested_links. Whatelse any new features you think we can update and implemented for this tool?
I can also manage to update the pre-commit dependencies and release workflow if you prefer, I can open another PR for that.

TL;DR: If it's simple enough to keep the submit tests around I'm all for it, but if that ends up being the major blocker I would be open to removing them.

@greschd thanks! I'll wait a bit too see whether it is easy for https://github.com/aiidateam/aiida-core/issues/5511 to be fixed. Then we just need to add submit option back to fixture.

The  --quiet-wipe --print-status are flags from aiida-pytest, those should be removed in the pipeline.

I borrow the concept from aiida-core, start an daemon and submit the process there for test.

I borrow the concept from aiida-core, start a daemon and submit the process there for testing. But only running one submit test there for testing purposes. If you are good with this change I will add at least one test for every engine and wrapper.

Yep, makes sense :+1:

Hi there! What is the status of this?
Tests on python 3.7 must be removed since aiida 2.0.0 does not support it anymore.
Please let me know if I can help somehow. Otherwise a release after this merge will be appreciated, so I can subsequently release the aiida-siesta version compatible with 2.0. Thanks!

Hi @bosonie, I think this PR is almost ready. I didn't get time to manage to add daemon tests for every engine last week, but I think it is okay to add them in a separate PR? Meanwhile, I want to leave cleanup double underscore __ into a separate PR, since I make some attempts and I think using __ to access the node as it stores is more clear for now.
I'll remove INSTALL_TYPE as @greschd mentioned and we can try to merge this.

Sorry for being a bit slow to review, I've been out sick a few days.
Anyways, I've got mostly some nitpicks / questions. In cases where you disagree, feel free to let me know I'm wrong 😄

No worries, I hope you are feeling better. I am also busy these days, so sorry for not being able to manage to add more submit tests and implement all things nicely.
I update the PR, hope everything is clear.

Aand merged! :tada:
Thanks again @unkcpz!


C2: Verification in bellperson fails

I currently try to add basic sanity tests to bellperson to make sure SupraSeal works. Somehow the proofs return wrong results. It's probably a user error from my side, but I don't know what I'm doing wrong. Here are the steps to reproduce:
git clone https://github.com/filecoin-project/bellperson --branch debug-supraseal-verification
cd bellperson
RUST_LOG=trace cargo test --lib supraseal --features cuda-supraseal -- --nocapture

The error is something like
[2023-06-14T13:46:15Z INFO  bellperson::groth16::prover::supraseal] Bellperson 0.25.0 with SupraSeal is being used!
[2023-06-14T13:46:15Z INFO  bellperson::groth16::prover::supraseal] synthesis time: 141.139µs
[2023-06-14T13:46:15Z INFO  bellperson::groth16::prover::supraseal] starting proof timer
[2023-06-14T13:46:15Z INFO  bellperson::groth16::prover::supraseal] prover time: 23.884762ms
vmx: verifier: actual, expected:
Gt(Fp12 { c0: Fp6 { c0: Fp2 { c0: Fp(0x0cfe3fdf598e319677b0886544792663bc690b0c94b6884fb95d250aeef46811852ae9060cade1fa01981ca3e99b2f12), c1: Fp(0x06a8a49a8c9fc902ea52ce72c7b8b4164800e388bff2dde183ad303039c0c17173467ec9bad2e17c13ad65ed63f105e3) }, c1: Fp2 { c0: Fp(0x0fd9e879db9b6469d8c2068932aefc59314a8184f35e40f9a7bba06701fc4f459753f9bdaf4eece601f124b1ec420a4b), c1: Fp(0x0549c160badb4cede86b65dcf7965ea5cd6ddee15d3e3f9e236da2aa0abee18e9ce9700c6d2f3503fdcf766c94ec2fd8) }, c2: Fp2 { c0: Fp(0x11bcc2d3a9eb51d9cd34546bc817425a75892792c479ec67d68f00db8c77503fc1238ffa123afc164fa453025369378b), c1: Fp(0x14690dcee46368d4fef6bc8a662ad230c0b9ff125a4042a6c268d2bca59e933c977d00cb7131f7bfc8628d3d7b1bde16) } }, c1: Fp6 { c0: Fp2 { c0: Fp(0x11a7bfa8ab38793dab010b613b86ff122a21e8b55919d64b59a23c6bdc121c8b907516fd2eb4946bd66d332a5c49e1a4), c1: Fp(0x1218cd3115a4220c73b717e9bc29f492c018735b2fa6b86ca145fe5e4898f5c8b9137c434e910f737f113b5dad271f5d) }, c1: Fp2 { c0: Fp(0x0be47d343e9848c639fd704009a8d2652cad85772178e1703032b5944fab5daf72e99fe477af24c762848d4b7def53a3), c1: Fp(0x07cc632c005383e1f2d535a1c040b68766ddb0c37c40b9bda002b1cc473bd073c5054ea7b31b11f118f6b33187c9aca1) }, c2: Fp2 { c0: Fp(0x1700ae3e8c3042e372118bb9c0f6348d96d91538384784cebf28886ed1913db75b3add343c841d64fcd1939114cd2abc), c1: Fp(0x1800e73e8f8aab04cefd6ecd27ce169e983102ff95ca06bb4c430ef4d2ecddd4584de8497425a66f91c0b8a4b192a545) } } })
Gt(Fp12 { c0: Fp6 { c0: Fp2 { c0: Fp(0x0178003eae7c88a4ad5f13c854310b283506ada155e5a53643cc552caff14b426550b202c4e4c0cd57df72b38c2b5cef), c1: Fp(0x09d10f6c60254d3188250a19dbc68cde82cab5e8ff3f849fed84792548f94cb444e03e75ca576ec70ea440368885fa14) }, c1: Fp2 { c0: Fp(0x0b4253b22208ab7825f4781dd283ee02d0786f0800e2bce30c13b60f6c9170e0120c18797239755b1ece10203ed46b91), c1: Fp(0x16f3ef2df75e25d76bc393cf4f58e623a9deb49502b6d56017aaca1ef3af9b66fc0907d2c717e48fe358b3441f91938c) }, c2: Fp2 { c0: Fp(0x01a0a4e89ba1ca1fa7d81a91391de6c2be4178c54b413000741a4f5912175cf3876e42c521d04b435fb62b1dc3a07280), c1: Fp(0x12c7655bcf58e9c176e0cd7fd78e8d3431dba4360d008cf85571d55a9cb1bd95a98facd177e7c644702e56c28d6c8b29) } }, c1: Fp6 { c0: Fp2 { c0: Fp(0x0f3603d7e45ea3e8874e65348508b3c51ce17d1fa8ec551606f14faeb922a507d3c25a272d543d761927b0730b471c16), c1: Fp(0x14c23ce6c943fd7aee9f1e62dd5923a7dd48cf0500d17b6bea5f5195b304d2afac7d2b0e0871434d81491533b2479b6a) }, c1: Fp2 { c0: Fp(0x154859b44a49b3b89f3ec018b504bcc8f54b1da8945e518dd801f0533ce1c27eed5a53f6381fa4d6acec131aaf7e97ef), c1: Fp(0x02c0f976a3752e18db1a89e4f8ec732934ec0853ff56d0a2b7ef468515e6a5789b67e0e467c3c5a432603a202e569e8a) }, c2: Fp2 { c0: Fp(0x0cd4c92c74deeea37ffd73da4f0cdb8d0f752a78ff94eca381315cc11853572eacf8ff301234e9290eaa932ef55cfe6d), c1: Fp(0x0283eea35195b0effdf845dee0ff56bd5188a0150002ad13e81cc1d76c32e47d625ee60f585a05ce4e4bd5334a585d6d) } } })
thread 'groth16::proof::test_with_bls12_381::supraseal' panicked at 'assertion failed: verify_proof(&pvk, &proof, &[c]).unwrap()', src/groth16/proof.rs:410:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test groth16::proof::test_with_bls12_381::supraseal ... FAILED

The source for the test is at https://github.com/filecoin-project/bellperson/blob/debug-supraseal-verification/src/groth16/proof.rs#L339-L411. I tried to make it minimal and deterministic as possible.
It passes when using the non-suprasal code path. It can be run via:
RUST_LOG=trace cargo test --lib supraseal -- --nocapture

Any help would be appreciated.

The latest commit should solve this. There needs to be a slight change to bellperson, where b_input_density_total has to be provided after this argument. You can refer to the updated .patch for an example.

Thanks a lot for the fix, it works.
Though, if I run it without a GPU being available, then the proof returns a wrong result. I don't know if there's a CPU fallback implemented or not. So in case there is no CPU fallback, I think it should produce an error on proving time, rather then returning a wrong result.
If I should create a separate issue for that, please let me know.

I've pushed new changes to the debug-supraseal-verification branch. So the instructions above still apply (I suggest really making a fresh checking, I had issues things not updating correctly even with running cargo update).
If you want to test it without GPU you can run it as:
CUDA_VISIBLE_DEVICES='' RUST_LOG=trace cargo test --lib supraseal --features cuda-supraseal -- --nocapture

to see the failure.

if I run it without a GPU being available, then the proof returns a wrong result.

It's not really a surprise, as there is no CPU fallback and error handling needs more work. We'll get there:-) Thanks for nudging!

I'm seeing a failure (invalid proofs) on CI and locally. I force pushed to debug-supraseal-verification again.
Many tests work, but the minroot one fails. This is the command to run it:
cargo test --test minroot minroot_test --features cuda-supraseal

It's not really a minimal example, it's just the test we have. The code for the failing test is at https://github.com/filecoin-project/bellperson/blob/4c7c3af45e2ddbbf43347d8c78b2571653338e59/tests/minroot.rs#L172-L219. So if that's too big to debug/find the issue let me know and I'll try to minimize it. My hope would be that even in it's current state it's good enough.
The code for reading the parameters doesn't seem to be the issue, the tests at mimc use the same code, but they work as expected.

I pushed another commit which should fix the 2 minroot tests. We require 1 more parameter from bellperson, so bellperson will again need to be modified slightly.

Just in case, there is an opportunity to omit some redundant casts and mutability. Below harmonizes your code with the abovementioned commit and does the cast ajustments.

Thanks, I'll apply this soon.


Enhance CSS outline classes

Replace existing outline-* classes with a new expanded set using box-shadow instead of css outline. This new set should follow the existing boundary-* classes approach.

Completed.


User id leaked when lobby model is returned from backend

Need to overwrite convertEntityToLobbyGetDTO using DTOFactory to not return user id


Complete NASA Open Science 101 Training Modules

Transform to Open Science (TOPS) is part of NASA’s Open-Source Science Initiative which is making a long-term commitment to create a scientific culture that is ready for 21st century challenges. To support everyone’s path to a more open and equitable scientific future, TOPS has created an Open Science 101 (OS101) curriculum. The curriculum aims to introduce learners to a nuanced understanding of open science, enabling participants to actively participate in open science. The five modules introduce participants to the definitions, tools, and resources available to share their research process and products more openly.
The curriculum is available on the NASA TOPS Github site and can be taken as a massive open online course (MOOC) here. NASA TOPS Open Science 101 was developed by the global open science community to help everyone learn the key practical skills and useful tools that help us all work openly together. The curriculum is designed to be completed either independently, through a MOOC or in a group, at in-person or online workshops. The NASA TOPS site has more information about other modes for taking the curriculum. The time commitment to complete all five modules is about 3 - 12 hours, depending on your knowledge of open science.

Complete the ORCID ID task
Go to: https://openscience101.org/
Please register using your ORCID iD
Enroll in the five NASA TOPS Open Science 101 modules: Ethos of Open Science,  Open Tools and Resources, Open Data, Open Code, Open Results
Complete Modules

Completing NASA TOPS Open Science 101: Upon completion of all five modules, you will earn a NASA Open Science digital badge! The NASA Open Science badge is issued through Credly and is linked to your ORCID account. These digital badges can be added to resumes, personal websites, professional networking websites, or social media websites. Show off your new skills!

@draman42  let me know if you will be Burlington and I can give you the pins and stickers from NASA for completing this

I will be at the end of June/early July for about a week! I will let you know when I'm in the area


using the UUID for the nova vm name makes it "easy" for someone to delete others' vms

because it's a uuid and not apparent ;
include the adc name as part of the vm name (still include the uuid for better connections between adc and nova vm)

#253

Merged.


Some questions about neighbor_limits of registration_collate_fn_stack_mode method

Hi,
Really appreciate releasing your amazing work! I have some questions regarding neighbor_limits of registration_collate_fn_stack_mode method. I see that in "demo. Py", the neighborhood_limits are set to [38, 36, 36, 38] (# default setting in 3dpatch) for registration_ collate_ fn_ stack_ mode method。 What I want to know is what does neighborhood_limits mean? If the laser radar data collected by yourself is put into demo.py, how should this neighborhood_limits be set?

neighborhood_limits is the number of neighbors for each point in the computation of KPConv. It is determined by radius_neighbor function. See #31 .
For LiDAR data, you can try the settings in KITTI. I forget the exact numbers, but you can run the KITTI model to get it.


Shouldn't stringify have an option for the foo.bar.baz=x format?

As parse has the allowDots option accepting that notation. Would you accept a pull request implementing that functionality?

I would accept a pull request to add dot formatting to stringify, sure.

Submitted PR -- https://github.com/ljharb/qs/pull/151
Please help pass it.

Thanks!

Closed by #151.


WIP: Fix failing tests with new CI

Deploy preview for hopeful-hamilton-4090b9 ready!
Built with commit c91123387ecfd4a47a46fe8620d00eddbb1233ee
https://deploy-preview-683--hopeful-hamilton-4090b9.netlify.com


tensorflowjs woes with saved keras file

background
I arrived at this library due to a failed upgrade / side grade from pytorch to tensorflow (missing ops - onnx / too slow - broken + hwhc headaces)
i need the model in tensorflowjs to do some advanced webpgu stuff (like this https://github.com/shiguredo/media-processors) that doesn't seem possible with onnx. with the twitter link above - does this mean keras 3 - we can port pytorch nn.module over to keras - and then potentially get to tensorflow js (bypassing nobuco)?
i maybe overlooking something - but
if i use this library to take a pytorch2 file do the model conversion to keras - (already did this) - it spits out a keras file -
if i save to h5 or keras does it make a difference?
I attempt to load it - to save to tensorflowjs
is there a supported version of tensorflowjs (take keras - spit out bin file) to go to tensorflowjs?
tensorflowjs_converter --input_format=keras implicit_motion_alignment.keras test 2024-10-18 15:46:56.398170: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variableTF_ENABLE_ONEDNN_OPTS=0`.
2024-10-18 15:46:56.406687: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-10-18 15:46:56.416802: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-10-18 15:46:56.419778: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-10-18 15:46:56.426812: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-10-18 15:46:57.037827: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/home/oem/miniconda3/envs/comfyui/bin/tensorflowjs_converter", line 8, in
sys.exit(pip_main())
^^^^^^^^^^
File "/home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/tensorflowjs/converters/converter.py", line 959, in pip_main
main([' '.join(sys.argv[1:])])
File "/home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/tensorflowjs/converters/converter.py", line 963, in main
convert(argv[0].split(' '))
File "/home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/tensorflowjs/converters/converter.py", line 949, in convert
_dispatch_converter(input_format, output_format, args, quantization_dtype_map,
File "/home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/tensorflowjs/converters/converter.py", line 619, in _dispatch_converter
dispatch_keras_h5_to_tfjs_layers_model_conversion(
File "/home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/tensorflowjs/converters/converter.py", line 84, in dispatch_keras_h5_to_tfjs_layers_model_conversion
h5_file = h5py.File(h5_path, 'r')
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/h5py/_hl/files.py", line 561, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/h5py/_hl/files.py", line 235, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 102, in h5py.h5f.open
OSError: Unable to synchronously open file (file signature not found)
`
it seems like this library can only work with tensorflow 1....?
because
tensorflowjs 4.5 - depends on latest tensorflow 2 - does it mean keras 3 format ? is that the cause of signature error?  or its just a malformed keras saved file? but the prediction works -
The conflict is caused by:
tensorflow 2.12.0 depends on protobuf!=4.21.0, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <5.0.0dev and >=3.20.3
tensorflowjs 3.21.0 depends on protobuf<3.20 and >=3.9.2
can anyone confirm if they can get a saved keras file ported to tensorflowjs
tensorflowjs_converter --input_format=keras YOURFILEHERE.keras test

UPDATE - just found this
maybe the Keras file format cause my problems.
should we support the full keras save with embedded config…

UPDATE in my code instead of using h5 or keras - just use tf format.
# Save the Keras model

    keras_model.save("implicit_motion_alignment", save_format="tf")

that gets me this

and then
tensorflowjs_converter --input_format=tf_saved_model \
                       --output_format=tfjs_graph_model \
                       implicit_motion_alignment test

i get to this

N.B. - it did require me to downgrade one of the libraries
pip install tensorflow==2.15.0 pip install tensorflow-decision-forests==1.8.0
awesome thanks for this library.

Hi!

this actually spits out a graph model -- but I can't load in browser for inference.

Why won't it load, exactly? What error does it spit out?
TFJS converter is notoriously buggy. I've had quite a bit of (dis)pleasure working with it. Here's the script that works best for me:
os.system(f'''
tensorflowjs_converter \
--input_format=tf_saved_model \
--output_format=tfjs_graph_model \
--signature_name=serving_default \
--saved_model_tags=serve \
--quantize_float16="*" \
{os.path.join(output_dir, checkpoint_name)} \
{os.path.join(output_dir, checkpoint_name) + '.js'}
''')

One particularly annoying problem is if your model has multiple inputs/outputs, the converted can randomly shuffle them around. My way of putting them back in place is to manually edit model.json, which is a part of the converted model.

Thanks @AlexanderLutsenko  - i stand corrected - I had given up on this - but since you pointed it out -
the key was adjusting how I load the graph model.
  model = await tf.loadLayersModel(modelUrl); //output_format=tfjs_layers_model - DON'T USE according to SO
     model = await tf.loadGraphModel(modelPath); output_format=tfjs_graph_model

this actually got me further - and though it's not exactly working how i need it - it gives me a path forward.
it would helpful to guide people here to avoid using layers.
https://stackoverflow.com/questions/55829043/difference-between-tfjs-layers-model-and-tfjs-graph-model
I have a private nextjs project that I may opensource
side note - from your experience - have you been happy with tensorflowjs? what has been your use case?
i'm kinda on some skinny branch where onnx didn't deliver - and I'm sort of deflated / disillusioned about whole thing - it's been like 3 weeks of pushing but yet to run any inference in browser....
I'm attempting to build a neural video codec based off a Microsoft paper.
https://github.com/johndpope/imf
there are these video / tensorflowjs projects - https://github.com/shiguredo/media-processors
this guy @drSleep shared a post which led me to tensorflowjs -
https://drsleep.github.io/technical/Tutorial-PyTorch-to-TensorFlow-JS/
did you have bad experience onnx?
I was going through another codebase - https://github.com/iperov/DeepFaceLive/tree/master and they are using onnx - not in browser though....
is nobuco predominanly to get the code working in the browser? do you see ai-edge superceding this library?
https://github.com/google-ai-edge/ai-edge-torch


Desktop wry child window support

I'm trying to do native wgpu 3d rendering. There's an example in the wry library that demonstrates how this would be possible. You can create child wry window from the parent and do the WebView rendering there while the main window supports the 3d content rendering. If the window config accepted a flag that included a parent window then it could replicate that example allowing for native 3d without waiting for blitz to become stable.

There's a few ways I can see this working for my use-case.

have a single flag like "with_create_as_child_window". You could accept a rect in the flag specifying the rect but for my case I don't think that's really needed and can just be a bool
separating the tightly coupled WebViewInstance constructor into multiple functions which gives composability to anyone that wants to create a webviewinstance. For example, pulling the tao window creation out of that function and into a separate window builder while having another "render builder" to handle the WebView related things
allow passing in an already created window directly. This is pretty interesting to me as it allows for complex things like creating a window out of a surface which we can then composite in interesting ways downstream. For example, creating a small dioxus window which casts a shadow in a 3d render making it really useful for rendering game uis without spawning a whole bunch of separate tao windows.

https://github.com/DioxusLabs/dioxus/pull/3093

This might also be useful for rendering a webview (whether for a dioxus app or an actual website) within a Blitz application...


Fix undeletable patternstops

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[ ] All tests and CI builds passing

Description
This PR resolves an issue where adding stops after a straight, two stop segment produced an undeletable patternStop. This behaviour can be seen here. The cause of the behaviour appears to have been a typo in the definition of hasShapePoints (other functions use the definition this PR introduces)

This fix seems suspiciously too simple, so definitely looking for a strong sanity check on this one.


32-bit OS

message-io doesn't seem to work on 32-bit systems. Some of the constants in resource_id.rs (namely RESOURCE_TYPE_BIT and ADAPTER_ID_MASK_OVER_ID) overflow in 32-bit systems.
Perhaps the constants can be updated to make use of  std::mem::size_of, or the type changed from usize to u64?

You're right @ray33ee
I think that the fix is easy, I will upload it as soon as I can.
Thanks for advising!

From version 0.9.4, message-io should be work fine in 32bits arch.
I added CI jobs for x32 and they are passing: https://github.com/lemunozm/message-io/actions/runs/611332845

Hi @ray33ee,
The problem with the literal 0xFFFFFF00 is that only left available different 2^24 connections, that for some server use-case, it can be small. I want that the 64bits machines can use all their potential.
The jobs are running under x32 OS, so I understand that it should run the binary as 32bits. Anyway, it's true the compiler behaviour you suggest. I think that the following definition of constant should work. I will add it.
const BASE_VALUE_MASK: usize = 0xFFFFFFFFFFFFFF00_u64 as usize;

I'm not totally sure about how rust traits a literal usize that exceeds 32bits in x32 but I thought that it was clamped. Could you confirm that it is a compiler error? If so, I have something wrong with the x32 jobs.
If you are not using yet version 0.9 of message-io, I am going to upload tomorrow a 0.10 with some API modifications, in case you prefer to wait.

That makes sense!
Yeh I'm not sure about the jobs, I think it would be worth checking the actual size of usize to confirm.
If you want a real platform to test x32 on, a Raspberry Pi is a great choice (It's what I'm using and it's how I found the issue in the first place).
I've just tried that definition and it compiles, and it seems to behave as expected. My only concern is what happens if one device running 32-bit OS tries to compare the Endpoint with another device running 64-bit OS. (lets say you have two clients with different architectures) what would happen then? It just seems to make sense for all devices to store the id in exactly the same way, and convert it to usize only when needed.
I think one way around this would be to store the id field as a u64, then convert it to a usize only when it is needed (for use by mio, for example)

The problem with the raspberry is that I can't test automatically if some change breaks something in 32 bits unless I compile it manually for it. But I'll end up buying one!
Regarding the Endpoint comparison, the Endpoint is something local to your Network instance. The inner ResourceId is used to identify the client resource in your own system, it's not an identitication of the client itself. For that, the endpoint is something that not be sent or used outside of the Network scope of who create it. Instead, you can share the endpoint.addr() that contains the public address of the client to connect with it.
There is something wrong with the x32 jobs because I add  if std::mem::size_of::<usize>() == 4 { panic!() } and all the tests have been passed. I would investigate.

Yeh it's not going to work for automatic testing, but it might be something to consider if you need cheap x32 hardware.
Right of course! That makes sense, just wanted to make sure that there wouldn't be any issues. I think changing the declaration to 0xFFFFFFFFFFFFFF00_u64 as usize will do it

Upload version 0.10.0 that contains the fix (among others). Please, if you found any other issue with x32 systems tell me.
Also, since the last versions of message-io have several API breaks, if you need help updating some parts, feel free to put another issue. An important tricky detail of this last version is that Transport::Tcp has been renamed to Transport::FramedTcp. You probably want to use Transport::FramedTcp because now the currently Transport::Tcp of 0.10 works differently.
Which model or RaspberryPi are you using? 😋

It might be a while before I can test it, using any version 0.7.0 or above gives an error about OpenSSL (still investigating it, probably due to the Pi installation) but when it's sorted I will let you know!
I haven't updated to 0.10.0 just yet (its quite a change from 0.6.0!
I didn't want to change it over until I was sure there would be no more major changes, should I expect any major API breaks anytime soon or is it safe to change to 0.10.0?
And it's a Pi 4 Model B. Even though it is a 64-bit processor, most OSs only support 32-bit at the moment (although there are unstable 64-bit versions about)

I had the same issue cross-compiling in 32 in order to fix the problem in my computer. I could not fix it (although I did not investigate so much, it seems some environment config). Do you think It is due to the message-io that adds some conflict?
I know that recently there were a lot of API changes, sorry. I have wanted to incorporate iteratively some ideas coming from other projects and polish them to left the easier API while the library increases its usage in new scenarios. At this moment of the roadmap, the main break changes are done. I hope to only perform fixes and non-break additions to the current state, so I think that the API now is stable enough.
Thanks, I just was seeing just that RasbperryPi version as the best power-cost balanced.

Hello,
tungstenite-rs requires openssl, so you'll either have to specify 32bit openssl lib path when cross-compiling, or use tungstenite-rs rustls-tls feature flag which will use rust implementation instead.

I thought about it, and to avoid this "problem" to a user that wants to cross-compile message-io, I will associate the transports to features. In this way, If you don't want to use Websocket, for example, you don't have to compile it and deal with openssl.

Since it works now in 32bits I close the issue. Please if you find another issue be free to create a new one.


Support Https

This is getting more and more important, especially with Http2 coming as well.

Design/prototype in Beta 7, and we can finish it up in Beta 8.
cc @lodejard @davidfowl @DamianEdwards

Get this working with SSLStream on desktop clr, then we will make it work on core clr when it is ready.

Please ensure you're leaving the decryption of process, e.g. in http.sys, so worker processes never see the private keys. Without this protection you cannot release.

Kestrel doesn't use http.sys.

I never said it did @muratg. I said you need to guarantee the same protections for key information.

We'll finish this work off in RC1
@DamianEdwards @davidfowl


Do a major cleanup in Collapse.js

streamline _getConfig & interface
Remove redundant check on data-toggle click, as it was assuming that trigger element would own separate config than the collapse itself
Use helper function to check show & Remove helper for isTransitioning
Use forEach for all iterations & refactor internal function to use it in more cases
initialize array variable properly
Simplify check for children
remove duplicated Selector.find
remove redundant this._selector, as the only usage searches for the same instance element
keep parent only as element
simplify initialization on data-toggle click
transfer interface inside jQueryInterface

NOTE for reviewers:
Better review it, commit by commit. It will help you with the proper message and will guide you with sanity to follow the logic

Why introduce a BC break with "keep parent only as element"? Some other components support string|element items.

Why introduce a BC break with "keep parent only as element"? Some other components support string|element items.

Hmmm I don't think it is a breaking change, as the tests hasn't been change at all.
The reality is, that now, the component acts as chameleon, parent may be string, may be element may be false empty string,  to loose approach that causes many checks inside, and typeCheck passes as empty string is still a string
with this MR,  getElement is used to initialize parent, so it still supports strings. However I am not sure if it has to be written on config object somehow

Why introduce a BC break with "keep parent only as element"? Some other components support string|element items.

Hmmm I don't think it is a breaking change, as the tests hasn't been change at all.

That means the tests aren't complete. This is a public API: https://getbootstrap.com/docs/5.0/components/collapse/#options

May I don't express it well. It still accepts string selectors and jQuery objects. In its internals it keeps the vanilla js element and only.
And the real check is if the element exists or not. (right?)

I may misinterpreted the code, I don't know it well. If these type defs are for internal use only, then there's no problem.

luis
On Thu, Jun 10, 2021 at 1:14 PM Aleksander Machniak <
@.***> wrote:

Why introduce a BC break with "keep parent only as element"? Some other
components support string|element items.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/34220#issuecomment-858337426, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHORFC2ESIL2JQS5XZ536YDTSBJ5VANCNFSM46NBAAWQ
.

Ping @twbs/js-review for this one :)


CIP-9 Updatable params require a hard-fork event? Should be soft-fork.

In CIP-9, Updatable Protocol Parameters, it states:

"A change to the major protocol parameter version triggers a "hard fork" event. This will require stake pool operators to upgrade to a new software version that complies with the new chain production protocol as well as being able to verify the construction of the chain."

Upon investigation, a hard-fork is 5 of 7 genesis signing keys, required for major changes like Non-Updatable Parameters.
However, the Updatable Params only require 4 of 7 signing keys, and is a "soft-fork" (backwards compatible with old nodes), and much easier.  Requesting permission to make updates to reflect this.  This came up in a stake rewards equation minPoolCost discussion.
Ref Duncan Coutts clarification here

Hey, that's not quite how it works. In the discussion thread, I believe Duncan really meant '5' and not '4', as the current quorum parameter is set to 5.
What Duncan explains in this comment is that a hard-fork ships with a code change, so a super majority of nodes must have adopted the code change before the genesis delegates pull the trigger and submit/vote a proposal. This is effectively done by submitting an protocol parameter update that increase the protocol major version.
In a comparison, a soft fork is merely updating an existing parameter, within the existing semantic known to all nodes. So there's no particular need for synchronization. Every node will keep working the same after the parameter update, there's no need to ship a code update.

Thanks for reviewing @KtorZ.
I guess from reading the CIP, it's not abundantly clear what exactly are the benefits of the updatable vs non-updatable parameters. I feel like there should be more explicit ultra-clear delineation between the two. Currently they seem to be exactly the same from the text.
Also, there seems to be misinformation around the updatable param updates requiring 4 signatures. I am among them 😅.
A clarification update and public info sharing would probably go a long way for us Normies.

I just realized that CIP-9 is a bit out-of-date as well. At least it does not include updates of Alonzo and Babbage?

They are in different CIPs @ch1bo:

Alonzo -> CIP-0028
Babbage -> CIP-0055

With the CIP-0001's rework, we are also planning some better categorization of the CIPs which should help to find those. We could also have them reference one another to ease navigation.

@ccgarant with the answers to the questions above, and the merged https://github.com/cardano-foundation/CIPs/pull/370 linking the proposals together as in https://github.com/cardano-foundation/CIPs/issues/369#issuecomment-1307290514, would you be satisfied if we close this one?


chore: remove unused env and new create unique task

remove old scheduled tasks approach
breaking change should be min version 0.12.3

breaking change should be min version 0.12.3

please update "min_lnbits_version" in config.json

done

no, it does not you need to manually fix the PR in that repo right now, duplicate it and add another min version it.


Add SamplerQNN class using terra primitives

Summary
This PR presents a reference implementation of a Qiskit NeuralNetwork that leverages the newly introduced primitives (so far, this class is based on the terra interface). It closes issue #400.
Details and comments
The current class only implements the forward pass, pending on some changes on the implementation of gradients with primitives. I have temporarily marked it as a draft PR for this reason.

Why would this not be in neural networks (same comment for the kernel PR but in kernels of course) and subclass NeuralNetwork. I would think we would place this for what it is not what its built from. I realize its all draft and work in progress, so I am not going to comment beyond this aspect for now. Maybe because its all work in progress it just did not get that far yet.

Why would this not be in neural networks (same comment for the kernel PR but in kernels of course) and subclass NeuralNetwork. I would think we would place this for what it is not what its built from. I realize its all draft and work in progress, so I am not going to comment beyond this aspect for now. Maybe because its all work in progress it just did not get that far yet.

Yes, I totally agree, I just moved my primitives PoC directory as-is from a different repo, but the class definitely fits better into neural_networks.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

127 of 138 (92.03%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 87.87%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_machine_learning/neural_networks/sampler_qnn.py
117
128
91.41%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
3180

Relevant Lines:
3619

💛  - Coveralls


[DOC-3155] Update arch overview diagram in delegate overview

Update arch overview diagram in delegate overview
For reviewers, a preview is available.
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


D402: Discrepancy with pycodestyle behavior with noqa annotation

Here you have a minimal reproducer
# file: code.py

def starmap(*args):  # noqa: D402
    """Equivalent to `itertools.starmap(...)`.

    Blah Blah Blah.
    """
    return True

$ ruff --version
ruff 0.0.239

$ ruff --select=D402 code.py
code.py:2:5: D402 First line should not be the function's signature
Found 1 error.

$ pycodestyle --version
2.10.0
$ pycodestyle --select=D402 code.py

As the issue happens in a multiline docstring, I cannot just place the noqa annotation in the actual offending line. Therefore, I guess the pycodestyle behavior is kind of sensible.

Ruff associates the error with the docstring, not the function, and so wants it at the end of the docstring, like this:
def starmap(*args):
    """Equivalent to `itertools.starmap(...)`.

    Blah Blah Blah.
    """  # noqa: D402
    return True

Flake8 respects this too (just tested it!), so hopefully that works for you!


Add Ability for Carousel to resize images

Should we have a config option to set this globally and then allow per carousel group override?

I think it should just be on a carousel group basis. Chances are the size
will be different for each group anyway and setting it globally wouldn't be
that advantageous.
It could have a select box with two options: "resize" and "no resize" for
example.
Thoughts?
On 8 Jan 2016 08:01, "Robert Shepherd"<EMAIL_ADDRESS>wrote:

Should we have a config option to set this globally and then allow per
carousel group override?
—
Reply to this email directly or view it on GitHub
https://github.com/DoghouseMedia/Doghouse_Carousel/issues/7#issuecomment-169845075
.

Yeah was thinking that, Could have a conditional field on the carousel group that will allow you to enter the resize options


docs: Update README

Add the Node version 8.0.0 prerequisite.

Hey, I'm happy to add this note, however, I'd need you to ask two things if I may.
a) Move it to more appropriate place - https://github.com/getsentry/raven-node/blob/master/docs/usage.rst#contextwrap at the very bottom of context/wrap section
b) Domains are supported since 0.x. Domains for promises are what's supported since 8.x and they are only used to enhance the context for the current domain. If they're not supported, it'll just be skipped and will use globally set context data. What it means, is that context for regular context/wrap and instrumentation is working prior to 8.x just fine. It's just about the promises.

Sorry, I didn't express it well. Updated usage.rst is committed.

Slightly reworded and merged manually. Thanks!


How to set default start with #.

In my case all hashtag need to be start with # and it needs to be disappear after complete. Can i do it by existing libray, if possible please give me an example.

No you can't do it with the library at the moment, I'll mark it as enhancement for later

Thanks. Please let inform..


xterm: parse most significant digits

each component of the rgb color response can have 1-4 hex digits1
and some terminals actually use that color space
for example gnome console (kgx) 43.0 in dark mode reports:
; printf '\\x1b]11;?\\x07'
]11;rgb:1eb8/1eb8/1eb8

in 8bit rgb this is closest to #1e1e1e
but the current code parses it as #b8b8b8
and calculates the wrong luma:
; cargo run 2>/dev/null
0.71875

this change makes the parsing more accurate by using the most significant digits instead of the least significant ones
the resulting luma is much more accurate:
; cargo run
0.1171875

and luma calculated for other terminals i have on hand stayed the same
this calculation is still not really correct
since we ignore the other digits
and don't handle 1-3 digits at all,
but modern terminals all seem to use 4 digits anyway
nb: i assume the behavior mentioned in the code comment
(that the first two digits get repeated)
is done so colors don't get "rounded down" towards dark
by applications that really use the whole 16 bit space

Thanks, this makes a lof of sense, I hadn't found the right documentation.
I'll do some checks before merging so don't be surprised if it takes a few days, I won't forget it.

of course, take your time!
looking forward to having this in broot, which is amazing by the way :-)

published version 1.0.1.
Usage in broot (and other applications) will follow in a few days.


[AMD] Fix and Enable Scan 2D op test

A few commits were added recently that are needed in the AMD backend

https://github.com/openai/triton/commit/5baa3c1a221a6397769d40acca126d3f1832064e
https://github.com/openai/triton/commit/7afddce963e9290368b80cf5710d9ae69229a3ed

This PR adds propagates this code to the AMD backend.
This also includes a small fix to how the moduleOp is retrieved in commonShflSync

/run-amd-tests


roslaunch ur3_gazebo ur3_cubes.launch grasp_plugin:=1

error loading  tag:
file does not exist [/home/user/ros_ws/src/robotiq/robotiq_control/config/gripper_85_controller.yaml]
XML is
The traceback for the exception was written to the log file

Hi @huaji98 ,
Are you using the Docker environment or did you install the repository manually?
If it's the latter, make sure that the docker package robotiq is in your ros_ws/src directory. It should have been installed in this step rosinstall ~/ros_ws/src /opt/ros/kinetic src/ur3/dependencies.rosinstall

Hi @huaji98 ,
Are you using the Docker environment or did you install the repository manually?
If it's the latter, make sure that the docker package robotiq is in your ros_ws/src directory. It should have been installed in this step rosinstall ~/ros_ws/src /opt/ros/kinetic src/ur3/dependencies.rosinstall

Thank you for your reply, I checked the robotiq package, but no gripper_85_controller.yaml there

Thank you for your reply, I checked the robotiq package, but no gripper_85_controller.yaml there

@huaji98 Hi,
Yeah, you are right, sorry about that, I haven't used the kinetic branch (master) in a while, so I forgot to update it.
If you update the robotiq repository it should work.
Let me know if you have any other problem

@huaji98 Hi,
Yeah, you are right, sorry about that, I haven't used the kinetic branch (master) in a while, so I forgot to update it.
If you update the robotiq repository it should work.
Let me know if you have any other problem

rosrun ur_control sim_controller_examples.py -m
Traceback (most recent call last):
File "/home/user/ros_ws/src/ur3/ur_control/scripts/sim_controller_examples.py", line 4, in
from ur_control.arm import Arm
File "/home/user/ros_ws/src/ur3/ur_control/src/ur_control/arm.py", line 22, in
from ur_pykdl import ur_kinematics
File "/home/user/ros_ws/devel/lib/python2.7/dist-packages/ur_pykdl/init.py", line 34, in
exec(__fh.read())
File "", line 29, in
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_pykdl/ur_pykdl.py", line 38, in
from ur_kdl.kdl_parser import kdl_tree_from_urdf_model
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_kdl/init.py", line 1, in
from .kdl_parser import (
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_kdl/kdl_parser.py", line 146
print("URDF non-fixed joints: %d;" % num_non_fixed_joints, end=' ')
^
SyntaxError: invalid syntax

rosrun ur_control sim_controller_examples.py -m
Traceback (most recent call last):
File "/home/user/ros_ws/src/ur3/ur_control/scripts/sim_controller_examples.py", line 4, in
from ur_control.arm import Arm
File "/home/user/ros_ws/src/ur3/ur_control/src/ur_control/arm.py", line 22, in
from ur_pykdl import ur_kinematics
File "/home/user/ros_ws/devel/lib/python2.7/dist-packages/ur_pykdl/init.py", line 34, in
exec(__fh.read())
File "", line 29, in
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_pykdl/ur_pykdl.py", line 38, in
from ur_kdl.kdl_parser import kdl_tree_from_urdf_model
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_kdl/init.py", line 1, in
from .kdl_parser import (
File "/home/user/ros_ws/src/ur3/ur_pykdl/src/ur_kdl/kdl_parser.py", line 146
print("URDF non-fixed joints: %d;" % num_non_fixed_joints, end=' ')
^
SyntaxError: invalid syntax

Umm the problem is that the Kinematics library ur_pykdl does not support Python 2 anymore.
I strongly recommend you to use python 3. You can use the Dockerfile as an example to either set up your local machine or use Docker directly.
Sorry!

Umm the problem is that the Kinematics library ur_pykdl does not support Python 2 anymore.
I strongly recommend you to use python 3. You can use the Dockerfile as an example to either set up your local machine or use Docker directly.
Sorry!

Thank you!!!

Thank you!!!


feat: refactor projects intro

What type of PR is this?
refactor: projects introduce layout.
What this PR does / why we need it:
en: Refactor the layout of the project introduction module on the home page.
zh: 重构首页的项目介绍模块的布局

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Sector definitions

Our ideas on class Sector (as they can be characterised differently), and we will work on this
Add a class SectorConcept
Each Sector has a SectorConcept
SectorConcept contains subclasses of concepts that have specific names
    These subclasses can be filled with information accordingly

Could you specify the different characterisations of Sector?

A sector could be characterised for example following "economic concepts" or "concepts according to a specific regulation (e.g. Renewable Energy Directive)" or according to a specified reporting format e.g. CRF sector definitions under UNFCCC and many more; even self-made definitions.
Sectors may have the same name, but defined differently in each of the concepts.
These are different ways of partitioning the system of interest.

So basically:
:Sector :conforms_to some :SectorConcept
Sounds good, as long as the definition of sector is specific enough, so that one does not mix it up with geographical regions or so.

Yes exactly. The definitions are very specific according to the various concepts and have nothing to do with geographic regions for example.

We have added conforms_to

Can this ticket be closed?

No, I am still working on this.

The definition of Sector has to be updated

We have:
SectorConcept: generically dependent continuant
"A SectorConcept is a specific way to subdivide a system"
Sector: object aggregate
"A sector is a subdivision in an economic system"
@han-f  are these definitions ok now?

We need to:

add conforms_to relation between Sector and SectorConcept
discuss if sector is an object aggregate

Sector is not an object aggregate because its more than a collection of objects. I'd classify it as a generically dependent continuant because it depends on objects in it like power generators

@han-f, @l-emele, @stap-m can I implement those changes?

Sector conforms_to some SectorConcept
sector as generically dependent continuant

I think so.

Sector conforms_to some SectorConcept

sector as generically dependent continuant

Looks good to me. The def of sector should be more broad. There are Sectors apart from economy. A sector is a subdivision of anything? - This is not Aristotelian style, though. But I think, it becomes clearer than talking about Sector as GDC in the def... What do you think, is an exception ok here?

I like the the definition A sector is a subdivision of anything? a lot, because this implicitly also defines a subsector as a subsector is a sector of a sector.

@jannahastings can we make an exception here to aristotelean definitions or do you have a better idea?

I don't think A sector is a subdivision of anything will work as a definition, because it is too broad. The number 2, for example, is a subdivision of the number 4, but it is not a sector. @stap-m @l-emele can you give examples of sectors that are not economic?

Energy sectors or regional sectors for example. Each sector can be further split into subsectors. E.g. 'cooling' is a sector of 'heating', which itself can be an energy sector.
The idea for 'subdivision of anything' emerged from the sector concept. Basically, one can define a sector concept that devides a thing into certain subdivisions. The rules for the division are defined inside the sector concept.
German wikipedia says: Der Begriff Sektor (lat.: sector = „Schneider“, im Sinne von etwas, das schneidet) bezeichnet allgemein einen Ausschnitt. https://de.wikipedia.org/wiki/Sektor This reflects the idea quite good in my opinion.
This might be a topic for a telco discussion.

From the 7th oeo developer meeting:

update classes: sector, sector division
include general classes "transport sector" etc to catch similarity, use the existing classes
add relations #460
individuals for specific definitions from documents #461

No 2 is mainly redefining existing classes as we already have a couple:

transport sector and traffic sector are probably synonyms, also TCS sector and service sector.
Most of the sectors definitions need to be changed, as they contain the energy consumption in the definition.
Bad example: traffic sector: A traffic sector is a demand sector that includes the energy consumption from traffic.
Rather good example: household sector: The household sector covers all private entities. A household is a  shared living unit. (Household should definitely be an own class, though.)

Sector is currently classified as object aggregate: I am not really happy with this. Sector as a subclass of system or something like subsystem? @jannahastings do you have an idea?

Originally posted by @stap-m in https://github.com/OpenEnergyPlatform/ontology/issues/460#issuecomment-652873945

A sector can form a system but I does not necessarily be a system.  The definition for system in #432 is currently work in progress but if I see correctly we tend to this definition for a system: "A material entity consisting of multiple components that are causally integrated."
With that definition e.g. building sector is not a system, as the building sector is just an aggregate of buildings without further integration.

I just found this comment from @akleinau regarding the classifiaction of sector and I like the proposal: https://github.com/OpenEnergyPlatform/ontology/issues/30#issuecomment-560385016

Sector is not an object aggregate because its more than a collection of objects. I'd classify it as a generically dependent continuant because it depends on objects in it like power generators

So direct subclass of generically dependent continuant? A sector is generically dependent continuant that is a subdivision in a system.

...  of a system. ?

Yes, of course. I corrected above.

From the 7th oeo developer meeting:
1. update classes: sector, sector division

What do we want to change at the sector division? From the notes in the pad I don't see any changes for that class itself.

I looks fine to me as is, too. We could just think about changing the def to A sector division is a generically dependent continuant that is a specific way to subdivide a system.
But the other one reads nicer. I don't really have an opinion to that.
Implement?

I prefer the current definition and would suggest to keep it as it is.
I'll implement the new sector definition.

PR #477 solves only the sector definition. But this issue is also about the different sectors.
Currently we have:

demand sector: A demand sector is a general term for different consumptions (households; industry; commercial sector; transport). It includes only energy demand sectors.

TCS sector: A TCS sector is a demand sector that includes the energy consumption from trade, commerce and services.
traffic sector: A traffic sector is a demand sector that includes the energy consumption from traffic.

electricity sector: Covers all areas that deal with electrical energy (power generation; electricity transmission; electricity storage; electricity use).
energy sector: An energy sector is a sector that contains the energy production.
heating and cooling sector: Energy used for heating and cooling for buildings and industry
household sector: The household sector covers all private entities. A household is a  shared living unit.
industry sector: _Industry consumption is specified as follows (energy used for transport by industry is not included here but is reported under transport): _ [And a long list of branches which I did not copy here].
service sector: Currently without definition
transport sector: Consumption in transport covers all transport activity (in mobile engines) regardless of the economic sector to which it is contributing, and is specified as follows: [And a list of subsectors which I did not copy here].

In OEO Dev 7 we decided that our sector classes should be generic and the precise definitions of sectors following a specific sector division will then be individuals of these sector I propose the following structure and definitions:

transformation sector (alternative terms: energy sector and energy industry sector): A transformation sector is a sector that contains energy production, energy transformation from primary to secondary energy and transport of energy to the demand sector.

electricity sector: An electricity sector is a transformation sector that contains electricity generation and transport of electrical energy to consumers of electrical energy.

demand sector: A demand sector is a sector that includes energy consumers.

transport sector (alternative term: traffic sector): A transport sector is a sector that covers transport of people and/or goods.
service sector (alternative terms: commercial sector and trading, commerce and service sector): A trading sector is a sector that covers service activities. (We probably have to define service, but topic for a separate issue.)
household sector (alternative term: private household sector): A household sector is a sector that covers households. (We could think about defining a household class, but that would be a different issue.)
building sector: A building sector is a sector that covers buildings. (Again, we could define in a separate issue a building class if needed.)
heating and cooling sector: A heating and cooling sector is a sector that covers heating and cooling activities.

Via #192: Non-energy sectors: Land use, land-use change and forestry (LULUCF), agriculture, waste should also be covered.

Maybe it is useful to make commercial sector the main label? Then the definition would change to:

commercial sector (alternative terms: service sector and trading, commerce and service sector): A commercial sector is a sector that covers commercial activities.

Maybe ... that covers non-industrial commercial activities to distinguish from industry?

I miss the industry sector in the discussion here. When we go with the sector concept according to UNFCC reports, the industry sector is diveded into energy use of industry and industry processes. So "industry" could be a subclass of energy demand sector and "industry processes" a subclass of non-energy sector.
My second question is: Why is a building sector required? Isn't it a part of the commercial and the houshould sector?

I miss the industry sector in the discussion here. When we go with the sector concept according to UNFCC reports, the industry sector is diveded into energy use of industry and industry processes. So "industry" could be a subclass of energy demand sector and "industry processes" a subclass of non-energy sector.

Yes, right. Industry is missing in the list. It is currently defined as Industry consumption is specified as follows (energy used for transport by industry is not included here but is reported under transport): [and a list of activities].
Maybe we should avoid the class non-energy sector and make industrial processes, agriculture etc. direct subclasses of sector.

My second question is: Why is a building sector required? Isn't it a part of the commercial and the houshould sector?

I could be also the other way round: households and commercial could be seen as parts of a building sector. That is why I propose that they are on the same level.

Looks good to me.

Maybe we should avoid the class non-energy sector and make industrial processes, agriculture etc. direct subclasses of sector.

Yes this would be also consistent to the UNFCC report sector division.

I've implemented what we've discussed so far.
For industry industry we had not yet a Aristolean definition. I've propose (and already implemented) the following definition: An industry sector is a sector that covers industrial activities with other main purposes of energy transformation. But there are probably better definitions.
I am unsure about the classification of  industry sector and kept it at the moment as a direct subclass of sector as there is no exact line between industry sector and energy transformation sector due to things like industrial power plants, blast furnaces etc.
On the non-energy sectors I've implemented nothing so far as the discussion is not yet settled and most importantly we do not have definitions yet for these sectors.
(I already created a draft pull request #484 but that is mainly that I can already implement the term tracker items. The discussion should still be here.)

The non energy sectors (following the UNFCC report) are:
agriculture
land use, land use change and forestry
waste and wastewater
other
I actually don't know if we need the sectors "waste and wastewater" and "other"?
I suggest these first defenitions:
The agriculture sector is a sector that produces food, feed, fiber and many other desired products by the cultivation of certain plants and the raising of domesticated animals (livestock). (https://www.sciencedaily.com/terms/agriculture.htm)
The land use, land use change and forestry (LULUCF) sector is a sector that includes the carbon pools of living biomass (above and below ground), dead organic matter (dead wood and litter) and organic soil carbon and that can account emissions from land-use change (such as permanent pasture to arable) and deforestation. (https://www.emissions-euets.com/carbon-market-glossary/866-lulucf)

Maybe it makes sense to have something like an agriculture, forestry and land use sector where agriculture and LULUCF are either subclasses of or instances of.

Regarding industrial processes I think, we do not need a class for an industrial process sector. This dividing industry into an energy part and an process part is something very specific to the UNFCCC/IPCC sector division. I think when implementing #461 we should simply have two individuals of industry sector, one covering the energy part and the other covering the process part.
I see similarly for agriculture/forestry/land use (AFOLU): In the UNFCCC sector division, agriculture is mainly separated from the forestry/land use because difference rules apply there. But again this is something very UNFCCC specific, the IPCC e.g. has a collective AFOLU sector. So I propose also to define one AFOLU class but have two individuals connected to the UNFCCC sector division via the is_defined_by object property from #460 / #480 .

I propose the following definitions:

agriculture, forestry and land use sector: The agriculture, forestry and land use sector is a sector that covers agricultural, forestial and land-using activities.
waste and wastewater sector: The waste and wastewater sector is a sector that covers activities related the collection, treatment and of waste and wastewater.

I would change it a bit:
agriculture, forestry and land use sector: The agriculture, forestry and land use sector is a sector that covers activities and natural processes from agricultural, forestry, land use and land use change.
waste and wastewater sector: The waste and wastewater sector is a sector that covers activities related the collection and treatment of waste and wastewater.

what's the next step in this issue?

I think everything discussed here is already implemented?

I think I left this issue open as #461 might show some problems with these sector definitions. But we can close this issue and reopen if needed.


sweep_function_start_stop does not exist in V 23.010 (eco top light)?!

It seems that for V 23.010 (eco top light) the sweep_function_start_stop does not exist
Home Assistant System log:
Logger: root
Source: /usr/local/lib/python3.10/site-packages/pysolarfocus/modbus_wrapper.py:60
First occurred: 22:10:37 (141 occurrences)
Last logged: 22:33:41

Modbus read error at address=33410: Exception Response(131, 3, IllegalAddress)

related code
https://github.com/LavermanJJ/pysolarfocus/blob/2f67825606316d0cd23a019f25a9e289a786e13f/pysolarfocus/components/pellets_boiler.py#L26
if api_version.greater_or_equal(ApiVersions.V_22_090.value):
    holding_address=33400
....
if api_version.greater_or_equal(ApiVersions.V_22_090.value):
            self.sweep_function_start_stop = DataValue(address=10,register_type=RegisterTypes.Holding)
            self.sweep_function_extend = DataValue(address=11,register_type=RegisterTypes.Holding)

@LavermanJJ
I was trying to add EcoTop in my pysolarfocus fork (see https://github.com/lein1013/pysolarfocus/blob/RCv3.6.5-2/pysolarfocus/init.py)
when I add it to my fork using
  "requirements"<EMAIL_ADDRESS>"pymodbus==3.2.2"],
of the solarfocus HACs integration (my fork https://github.com/lein1013/home-assistant-solarfocus), I still get
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.solarfocus.config_flow
Source: custom_components/solarfocus/config_flow.py:185
Integration: Solarfocus (Dev lein1013) (documentation, issues)
First occurred: 10:36:46 (1 occurrences)
Last logged: 10:36:46

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/solarfocus/config_flow.py", line 227, in async_step_user
    await validate_input(self.hass, user_input)
  File "/config/custom_components/solarfocus/config_flow.py", line 195, in validate_input
    client = Solarfocus(hass, data=data)
  File "/config/custom_components/solarfocus/config_flow.py", line 185, in __init__
    system=Systems(data[CONF_SOLARFOCUS_SYSTEM]).name,
  File "/usr/local/lib/python3.10/enum.py", line 385, in __call__
    return cls.__new__(cls, value)
  File "/usr/local/lib/python3.10/enum.py", line 710, in __new__
    raise ve_exc
ValueError: 'EcoTop' is not a valid Systems

I've also tried to use
  "requirements"<EMAIL_ADDRESS>"pymodbus==3.2.2"],

It seems that my HA does not install the correct pysolarfocus version!? I think it should also work without #pysolarfocus==3.6.9
On my running HA I cann't really verify which pysolarfocus is now used
Any idea what I'm missing?

Meanwhile I think that in HA core something regarding the installation of custom component python packages is broken - there is a issue open on this topic
https://github.com/home-assistant/core/issues/84121

minor update:
I'm currently using my fork https://github.com/lein1013/home-assistant-solarfocus/tree/main (some enu updated, commeted some registers that seemed to cause a problem, door contact inverted)
and the python lib is installed correctly when I use:
  "requirements": ["git+https://github.com/lein1013/pysolarfocus.git@ecotop#pysolarfocus", "pymodbus==3.2.2"],

fixed with #29


⚠ BCR Bot has degraded performance

In c19f966, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1014 ms

Resolved: BCR Bot performance has improved in 08ba1b8.