Add Ecto.Query.main_schema/1 function

This function returns the main schema of a given Queryable.
All cases are covered but for the bitstring query one, in that case the function returns nil.
I'm contributing to a library for building filters on top of ecto queries from some input data structure and I need to obtain the main schema of a given query (I need to call __schema__ on it). I think this can be useful also for other libraries/projects so I created this PR.
If you think it can be merged I will add some tests.

Hi @albertored!
I understand the use case but I am not sure returning just the schema is general enough. What if someone wants the bitstring if the schema is not there? I think returning the whole from.source would be better. At the same time, I also wouldn't want to put pollute Ecto.Query with such helper functions, because Ecto.Query is mostly used by people writing queries.

Hi @josevalim! Thanks for your prompt reply!
We can always return a {source, schema} tuple (at the moment it is exactly the query.from.source value) in order to handle possible future changes of the internal structure of %Ecto.Query{}. If I understood correctly the Ecto.Query struct is internal and libraries should avoid pattern matching on its internal fields.
I put this function on the Ecto.Query because I think it is similar to Ecto.Query.has_named_binding/2: it can be used to extract info from a query. Are you suggesting moving it somewhere else or do you think it's not worth adding it?

Are you suggesting moving it somewhere else or do you think it's not worth adding it?

I am not sure yet. :) Note that the source field can also point to a subquery, so we would need to document those cases too. Are you ok with us developing this feature a bit more even if it is not guaranteed we will merge it? I would like to see if we can define a proper API for it that does not feel too convoluted.

Yes sure!
I don't know very well the ecto internals but I opened the PR because sometime 10 lines of code are better than 20 lines of words for explaining what one is suggesting ;-)

Sorry for delay. I have one follow up question. If from is a subquery, what would you do in your app? Would you traverse and fetch the schema inside the subquery?

No problem
Yes, for my needs traversing and fetching the schema would be ideal.
I don't know if in general it can be useful to know that it is indeed a subquery (returning for instance a tagged tuple {:subquery, result}). For my use case it's not needed.

Yeah, I can see some apps wanting to traverse subqueries. For example, that's what we do in Ecto internals itself. Given it is probably hard to come up with a general purpose approach, I don't think we should add this one for now. Thank you for the discussion! <3


Fix detection of iPad Pro

When the device name contains (), the regex matches it instead of the GUID and after that we exclude the device from the list with available devices.
Such devices are:
    iPad Pro (9.7 inch) (7FF984D4-0755-432D-BE0E-6EB44F0489CB) (Shutdown)
    iPad Pro (12.9 inch) (F02012C8-6D4D-46FF-90D7-5DF90EF579E8) (Booted)

This way users are unable to execute any operation on such simulators.
Fix the regular expression to match based on the GUID instead of using the ( as main part of the regex.
Check this gist for comparison of the results with the old and the new regex:
https://gist.github.com/rosen-vladimirov/85b4ccb78af2e604ac91efecd2a67150

Note that this is cherry-picked from https://github.com/telerik/ios-sim-portable/pull/84


Can I validate slice with contains some value ?

[x] I have looked at the documentation here first?
[x] I have looked at the examples provided that may showcase my question here?

Package version eg. v9, v10: latest
Issue, Question or Enhancement:
Hi all.
I'm trying to validate slice that on of contains some value.(Like below)
There is some type if validator ?
If there not I will create custom validator.
Code sample, to showcase or reproduce:
package main

import "github.com/go-playground/validator/v10"

type Test struct {
	s []bool `json:"operations" validate:"array-contains=true"`
}

func main() {
	var v Test
	validate := validator.New()

	// ==> this is will be valid
	v.s = append(v.s, true)
	v.s = append(v.s, false)
	_ = validate.Struct(v)

	// ==> this is will be invalid
	v.s = append(v.s, true)
	v.s = append(v.s, true)
	_ = validate.Struct(v)

}

There is nothing that will behave like that, so you are gonna need a custom validator. https://pkg.go.dev/github.com/go-playground/validator/v10#hdr-Custom_Validation_Functions


Alpha Support

rgba is now supported

Coverage decreased (-5.5%) to 94.505% when pulling 243d49a3d3c073abb8ee7205a5c2bc202554c445 on nmccready:master into d96483394fb42561365c936ccc4cf4d55f4103bc on diegotremper:master.


Feature request: integrate debugging with dotnet watch

Issue Description
Hi, im currently trying to set-up vscode in such a way that I can use both the debugger and dotnet watch run. When running dotnet watch run it spawns a new process eg weather.exe which the debugger can attach to. When you trigger a recompile however, dotnet watch run terminates the process weather.exe causing the debugger to also exit. This means that we have to restart the debugger every time the app is recompiled, which defeats the purpose of using dotnet watch in the first place.
I would suggest a configurable timeout for the debugger to give time to reattach to the previous instance once it gets detached.
I've attached launch.json, tasks.json and the log of my terminal after reloads, I've also included a repository down below.
Launch.json
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": ".NET Core Attach",
      "type": "coreclr",
      "preLaunchTask": "watch",
      "request": "attach",
      "processName": "weather.exe"
    }
  ]
}

Tasks.json
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "watch",
      "command": "dotnet",
      "type": "process",
      "args": [
        "watch",
        "run",
        "${workspaceFolder}/weather.csproj",
        "/property:GenerateFullPaths=true",
        "/consoleloggerparameters:NoSummary"
      ],
      "problemMatcher": "$msCompile",
      "isBackground": true
    }
  ]
}

dotnet watch run log

> Executing task: C:\Program Files\dotnet\dotnet.exe watch run C:\Users\Niels\source\repos\dotnet-watch-attach/weather.csproj /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary <
watch : Started
Building...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: https://localhost:7081
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5177
info: Microsoft.Hosting.Lifetime[0]
Application started.   Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\Niels\source\repos\dotnet-watch-attach

Steps to Reproduce
Repository to reproduce: here
Launch the configuration: .NET Core Attach
Expected Behavior
Debugger stays attached
Actual Behavior
Debugger gets terminated as dotnet watch run terminates the process it is attached to.
Logs
OmniSharp log

Starting OmniSharp server at 14/10/2021, 13:23:50
    Target: c:\Users\Niels\source\repos\dotnet-watch-attach
OmniSharp server started.
Path: c:\Users\Niels.vscode\extensions\ms-dotnettools.csharp-1.23.16.omnisharp\1.37.16\OmniSharp.exe
PID: 12536
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK

    Using the 'dotnet' on the PATH.

    DotNetPath set to dotnet

    Located 2 MSBuild instance(s)
        1: Visual Studio Enterprise 2019 16.10.31424.327 16.10.2 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin"
        2: StandAlone 17.0.0 - "c:\Users\Niels\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin"

    Registered MSBuild instance: Visual Studio Enterprise 2019 16.10.31424.327 16.10.2 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\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\Niels\source\repos\dotnet-watch-attach'.

    Could not find any Cake files

    No solution files found in 'c:\Users\Niels\source\repos\dotnet-watch-attach'

    Queue project update for 'c:\Users\Niels\source\repos\dotnet-watch-attach\weather.csproj'

    Detecting CSX files in 'c:\Users\Niels\source\repos\dotnet-watch-attach'.

    Could not find any CSX files

    Configuration finished.

    Omnisharp server running using Stdio at location 'c:\Users\Niels\source\repos\dotnet-watch-attach' on host 15580.

    Loading project: c:\Users\Niels\source\repos\dotnet-watch-attach\weather.csproj

    Targeting .NET 6.0 in Visual Studio 2019 is not supported.

    Successfully loaded project file 'c:\Users\Niels\source\repos\dotnet-watch-attach\weather.csproj'.

c:\Users\Niels\source\repos\dotnet-watch-attach\weather.csproj
C:\Program Files\dotnet\sdk\6.0.100-rc.2.21505.57\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets(134,5): Error: Targeting .NET 6.0 in Visual Studio 2019 is not supported.
    Adding project 'c:\Users\Niels\source\repos\dotnet-watch-attach\weather.csproj'

    Update project: weather

Received response for /v2/getcodeactions but could not find request.

 If you mean that a box pops up asking the user to automatically attach to the newly spawned process then no, as this would still require user interaction every time a rebuild is done.
Regarding implementation, I'm okay with either. I know of the existence of DotNetAutoAttach But unfortunately I can't seem to get it to work.

By "ask VS Code to debug" I mean use the VS Code debugging API to start a debug session.

+1 here. Really would like to close this inner loop and be able to do hot reload with VS Code like VS.net.

+1 for this as I mostly use VS Code for Blazor dev.

+1 for this as I mostly use VS Code for Blazor dev.

I've created an extension dotnet-watch, comes with debug config provider (auto generate launch.json), doesn't require manually setting up task.json.
Also examples with compound tasks for microservices

@Trottero solution works for me with Orchard Core.
The only thing is that it seems to have an issue finding the proper $msCompile problemMatcher.
I tried also @murugaratham extension but it seems to only launch in the console and I didn't find how to launch a browser automatically with it.

I tryed both extensions proposed on Mac.
dotnet watch attach.

Liked support vscode 'inputs'
Doesnot support Mac, breakpoints aren't hit.

dotnet-watch

Simpler to use
Very slow when re-compiling (had to uninstall it, it s faster running the whole project again)

I work out of a development container and it would be so nice to be able to avoid having to restart the debugger every time I make a change. Hopefully this gets added in the near future

@Skrypt @MarcoMedrano @loligans
The issues you have mentioned have since been solved for my plugin dotnet watch attach
I specifically tested Ubuntu 22.04 and development in WSL from windows (should be similar to the development container)
Another developer contributed support for the M1 Macs.
If you encounter any issues, please let me know by creating an issue in this repository

I've created a fairly crude extension which works for now. dotnet watch attach.
Would however still like to see this actually implemented :)

FYI, this didn't work for me. It launches the watch and the little debugging window (pause/step/stop/etc) appears. But doesn't show the list of threads and breakpoints don't trigger.

make sure that the "program" property in launch.json is only the name of the binary. It's looking for a process with that name to attach to. It's misleading that the request type is launch, it should really be attach. Here's my currently working configs for a web app, with both the in-box config (no watch) and one that works with dotnetwatchattach.
launch.json
{
    "version": "0.2.0",
    "configurations": [
        {
            // Use IntelliSense to find out which attributes exist for C# debugging
            // Use hover for the description of the existing attributes
            // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
            "name": ".NET Core Launch (web)",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "build",
            // If you have changed target frameworks, make sure to update the program path.
            "program": "${workspaceFolder}/src/api-server/bin/Debug/net7.0/Server.dll",
            "args": [],
            "cwd": "${workspaceFolder}/src/api-server",
            "stopAtEntry": false,
            // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
            "serverReadyAction": {
                "action": "openExternally",
                "uriFormat": "%s/swagger",
                "pattern": "\\bNow listening on:\\s+(https?://\\S+)"
            },
            "env": {
                "ASPNETCORE_ENVIRONMENT": "Development"
            },
            "sourceFileMap": {
                "/Views": "${workspaceFolder}/Views"
            }
        },
        {
            "name": ".NET Core watch attach",
            "type": "dotnetwatchattach",
            "request": "launch",
            "task": "watch",
            "program": "Server.exe",
            "args": {
                "env": {
                    "ASPNETCORE_ENVIRONMENT": "Development"
                }
            },
            // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
            "serverReadyAction": {
                "action": "openExternally",
                "uriFormat": "%s/swagger",
                "pattern": "\\bNow listening on:\\s+(https?://\\S+)"
            }
        }
}

tasks.json
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build",
            "command": "dotnet",
            "type": "process",
            "args": [
                "build",
                "${workspaceFolder}/src/api-server/Server.csproj",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile"
        },
        {
            "label": "watch",
            "command": "dotnet",
            "type": "process",
            "args": [
                "watch",
                "run",
                "--project",
                "${workspaceFolder}/src/api-server/Server.csproj",
                "/property:GenerateFullPaths=true"
            ],
            "problemMatcher": "$msCompile"
        }
    ]
}

That worked! The dotnet watch does still seem a bit buggy and weird, but now it seems to be properly re-attaching to the process after rebuild. Thanks! :)

How would the developed extensions work with remote debugging over SSH?
Below is one of our launch configurations:
{
    // ...
    "configurations": [
        // ...
        {
            "name": "Okteto: .NET Core SSH Attach",
            "type": "coreclr",
            "request": "attach",

            // "processId": "${command:pickRemoteProcess}",
            // "processName": "my-Pwa.Server",
            "processName": "/okteto/Server/bin/Debug/net7.0/my-pwa.Server",

// 👉 // 👉 // 👇 Need something simple like this
            "restart": true, // Waiting for: https://github.com/OmniSharp/omnisharp-vscode/issues/4822

// 👉 // 👉 // 👇 Such that it can work with any existing remote debugger
            "pipeTransport": {
                "pipeProgram": "ssh",
                "debuggerPath": "~/vsdbg/vsdbg",
                "pipeCwd": "${workspaceRoot}",
                "pipeArgs": [
                    "-q",
                    "-T",
                    "my-webapp.okteto"
                ],
                "quoteArgs": true,
                "justMyCode": false,
            },
            "sourceFileMap": {
                "/okteto": "${workspaceRoot}"
            }
        },
        // ...
    ],
    "compounds": [
        // ...
    ]
}

@rrmistry
The plugin I developed dotnetwatchattach should work for you, just pass your pipeTransport object to the args object of dotnetwatchattach, everything in the args object is copied to the new configuration.
As in, the plugin literally creates a debugging session of "type": "coreclr" whenever it detects that the specified program is running - which should be exactly the same as your current configuration.

@Trottero ,
Thank you for the tip! It works well by passing the pipeTransport into args.

But I noticed that it doesn't handle the scenario of multiple tasks with the same name but in different workspaces.
To reproduce the issue we can start with a workspace file called multiple-git-repos.code-workspace with the contents:
{
    "folders": [
        {
            // Create dotnet sample in /.../parentFolder with name "webapp1"
            "name": "Web App One",
            "path": "/.../parentFolder/webapp1"
        },
        {
            // Create dotnet sample in /.../parentFolder with name "webapp2"
            "name": "Web App Two",
            "path": "/.../parentFolder/webapp2"
        },
    ],
    "settings": {
    }
}

Then create two different tasks with the same name in both webapp1 and webapp2
Then open the multi-workspace session in VS Code via this workspace file.
Now if you try to debug dotnetwatchattach type launch config from webapp2 using the dotnetwatchattach extension then it starts the task from webapp1 instead of webapp2.
This behavior seems to be limited to only multi-workspace sessions within VS Code.
My workaround, for now, is to make the target task globally unique for the duration of debugging. But it is an inconvenience.
Should I file a separate issue under Trottero/dotnet-watch-attach?

@rrmistry That would be great - Thank you!

I develop wpf app
I found that we can change the cs code and hot reload is ok
But after hot reload， we can not attach Unless recompiled and restart(This is not what we all want),
so, may be EnC is the most feature we want
->Debugger: Support Edit and Continue/Hot Reload #490

Now that Microsoft/Dotnet team has officially absorbed the VSCode C# extension. Is this feature on the roadmap somewhere? It would be great to get official word on this functionality considering it's popularity. It's in the top 20 most highly requested features for this repo.

Jesus Christ! This issue has been going on for more than 3 years now. Nobody has bandwith in MS to take it up? Even when a similar solution exists?

debugging and hot reload blazor wasm does not seem to work even with vs2022. i guess this is not limited to vscode.

debugging and hot reload blazor wasm does not seem to work even with vs2022. i guess this is not limited to vscode.

Blazor wasm's hot reload has never worked correctly
"Surely blazor hot reload will work on .net 6 7 8 9 10!"


Go with better option parser

There is a problem with command line usability of go. From #12197:

[ ] no long options like --help or --verbose
[ ] -h has a strict position, e.g. go get something -h doesn't work, only go get -h something
[ ] go get -h help is unreadable - lacks visual structure

There are more features that could be added to stdlib. Tools:
https://github.com/jawher/mow.cli
https://github.com/codegangsta/cli

The behavior of Go's flag package is intentional.

@bradfitz it is not about changing flag behavior. Python also still ships with a getopt, but rarely who uses that.

@techtonik as a counterpoint: in my opinion the go tools' command line interface is well-defined, well-documented, and consistent. I can't really relate to your criticisms, except that it is a bit different to what you might be used to.

@techtonik The go standard flag package has made deliberate design choices.  Those seem unlikely to change.  At any rate, they would only change after a discussion of benefits and costs.
It is straightforward to write a different flag parsing package in Go, and to use that in your own programs.  In fact, I'm sure it has been done, e.g., http://godoc.org/code.google.com/p/getopt .

@adg maybe it is just a habit developed because there is no anything else in daily practice to compare with? =)


[Linux] Brackets don't start in Ubuntu 18.04

I can't start Brackets 1.12 in Ubuntu 18.04.
I installed the latest Brackets from Ubuntu software center (from snap, see it in this picture.). When I try start it, the Brackets window is displayed for a moment, but the all window is black. After this Ubuntu 18.04 is logging out, and I find myself in the Ubuntu login page.

@vmarci21 Thanks for reporting this issue. Could you please share a picture or a gif of the issue?

Also having issues in 18.04 -- projects open in a blank screen and crashes on File > Open.  Unable to open extension manager etc.

Not just with Brackets, it also happened with many snap apps. Snap is very buggy, but I found the solution for this problem, figuring out how to remove the bug from Snap. Firstly with Gravit Designer, then with Brave, Brackets, Sublime Text 3 and Vectr. We provided snap app desktop files for users of Suru++ icon packs, not only for being able of displaying well the icons, but also opening the applications.

Run sudo apt install snap
Go to your_name/.local/share/applications
Copy Brackets.desktop that we provided at the repository Suru++, to your_name/.local/share/applications
Run sudo chmod +x ~/.local/share/applications/Brackets.desktop
Run the command to remove the the buggy snap desktop file for removing the duplicate:

sudo rm /var/lib/snapd/desktop/applications/brackets_brackets.desktop

Voilà:

@gusbemacbe I adopted the same procedure, restarted system. The issue of brackets crashing upon click of OPEN FOLDER  is rectified but the blank list for navigation is still there even though the folder I selected has files inside it.

When I installed brackets reading the guide through terminal as mentioned ( THIS guide ), i didn't encounter this problem anymore, even after repeated restarting, and live feature also works fine with this.
Note: I also installed libcrypt11 although it wasn't one of the missing dependencies.

@gusbemacbe I adopted the same procedure, restarted system. The issue of brackets crashing upon click of OPEN FOLDER is rectified but the blank list for navigation is still there even though the folder I selected has files inside it

Did you mean you tried to open a file with this snapped app: The snapped apps do not support it because they are like "X on macOS".

Native Debian and source code Brackets apps are better than snapped apps.


feat: add emergency warnings to the FAQ root

closes #557LiveURL: https://smartfaq-add-emergencies.surge.sh

Adjust margins for titles in mobile design

thx for noticing, should be fixed now @jalbertsr


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=520909936
https://github.com/Azure/azure-cli-extensions/commit/1148304a67206e71d1ebc37f24cac5a0700356b2

Docs Build status updates of commit 15a435f:
:clock10: Full build: the average full build time is 12 min(s) 57 sec(s), this is based on the last 10 build(s) for this repository.
:warning: This is a FULL build due to the incremental build being disabled in configuration file (.openpublishing.publish.config.json in 'live' branch). For more detailed info, please click here.

Docs Build status updates of commit 15a435f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

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


[UI] Extensions: Add GitHub Action for MeshMap Snapshot

Current Behavior
An early release of a Meshery extension as a GitHub Action, MeshMap Snapshot, is publicly available and ready to be listed in the Meshery UI Extensions page.
Desired Behavior
Every Meshery GitHub Action should be represented as a card on the extensions page. Each card should have an enable that will invoke the GitHub deployment operation.
Implementation

Create Card. Add description: "Connect MeshMap to your GitHub repo and see changes pull request-to-pull request.Get snapshots of your infrastructure directly in your PRs."
Create "Enable" button. "Enable" button should link to https://cloud.meshery.io/connect/github/new/

Acceptance Tests

Ensure "Enable" button opens GitHub Action connection wizard on click.

Mockups

Link to design - https://www.figma.com/file/SMP3zxOjZztdOLtgN4dS2W/Meshery-UI?type=design&node-id=6671-28631&t=ktzjesEfBrsTeEOT-4

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hey @leecalcote I'd like to work on this issue

Hey @leecalcote I'd like to work on this issue

Excellent. Are you able to build and run Meshery UI?

@leecalcote  i would love to take this issue .


Update API get "buy token" from Strapi

Use Strapi to configure the "Buy" button: https://content-stage.subwallet.app/admin/content-manager/collectionType/api::buy-button.buy-button?page=1&pageSize=10&sort=version:ASC
API to get the list of versions: https://demo-calculator.pages.dev/tokens/config.json

** After finishing the integration, switch to using the production API instead.

This issue has been implemented and put into use. Please close it @nampc1


fix: wallet unauthorized not loading project updates

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3891

PR #3892   👈

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.


[uamqp] Enabling multiple sessions on one connection in EventHubs

uamqp multiple session support PR: https://github.com/Azure/azure-uamqp-python/pull/106

temporarily closing this issue, this is gonna largely happen in the pure python version of uamqp


Develop Register Dashboard for Stats Collection

Develop Register Dashboard to be able to collect stats within specific time periods such as:

number of Local government additions, removals, updates
number of Register record creations and register modifications on records
Number of sites submitted to canadian register
number of site visits? - or can this be done through Open Search?

@emjohnst  - What kind of filter criteria are we looking for? Start / End dates? Municiaplities? Register Type? (Municipal, Provincial, etc)?
Need to define the filter criteria for an estimate.


Dev

Better error messages for bad credentials
Update requirements to fix security alert
Update Docker image: python3 base, new env variables, fix dependencies.
Fix local loader path.

Thanks @c-martinez !! I thought we would first merge 'python3' into 'dev'? Or this is already done?

It is already merged :-)

@albertmeronyo -- can we merge this into master then?


In GLPK process preprocessing scripts not called

So OseMOSYS code needs to look different than when running with gurobi.
--> Alighn processes

I think this is outdated.
In the new version we call the pre-processing scripts also when optimizing with GLPK, right @trevorb1?

Thanks for the confirmation!


update snakemake episode

formatting changes and introduction of new optional snakemake+conda exercise

Looks good, makes me want to use snakemake myself even more now...


missing or invalid dependency detected while loading class file 'WebPlot.class'

My environment is Windows 10 64 bit, Java SDK 7. After I started the notebook service, if I try:
import com.quantifind.charts.Highcharts._
areaspline(List(1, 2, 3, 4, 5), List(4, 1, 3, 2, 6))

I got:
error: missing or invalid dependency detected while loading class file 'WebPlot.class'.
Could not access term unfiltered in package <root>,
because it (or its dependencies) are missing. Check your build definition for
missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
A full rebuild may help if 'WebPlot.class' was compiled against an incompatible version of <root>.

I got my notebook package from http://spark-notebook.io/

Hello,
Actually, you're not supposed to use the API this way → otherwise wisp will require a web server and so forth, hence the exception.
To use Highcharts directly I recommend you to use https://github.com/andypetrella/spark-notebook/blob/master/modules/common/src/main/scala/notebook/front/third/WISP.scala#L65
That allows you to build your own HC object and render it in the SN
hth


Openssl

At some point ffmpeg seems to have moved openssl out. So the current build script can't handle https sources.
to reproduce:
docker run  ffmpeg -i https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4 -f webm -c:v libvpx -c:a libvorbis - > /tmp/test.mp4
Here is a PR where I added a openssl build step, the dependency install for the Dockerfile and the --enable-openssl configuration.

Hi fpm-peter,
Thank you for your contribution.
I'll add zlib also to the build script. Otherwise, the script will fail on some systems. Please let me know if the script still works for you after I made the changes.

Hi Markus,
tested it successfully in Docker and on Ubuntu 18.04.
Danke für die Arbeit am Skript und viele Grüße aus Malmö

Ja gerne!
Viele Grüße aus München :-)

On 21. Aug 2019, at 11:55, Peter<EMAIL_ADDRESS>wrote:
Hi Markus,
tested it successfully in Docker and on Ubuntu 18.04.
Danke für die Arbeit am Skript und viele Grüße aus Malmö
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/markus-perl/ffmpeg-build-script/pull/31?email_source=notifications&email_token=AAJJ34KDL557K2DRNKZAYZTQFUGKBA5CNFSM4INRV6T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4ZEBFA#issuecomment-523387028, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJJ34IR6KJH42SXVOXBHLLQFUGKBANCNFSM4INRV6TQ.


Update activity methods

Update follow methods

addNftActivity
addNftRecord
addNftAiHistory

Let me just close this PR as it's left not merged for months.


Specify bundler version

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fixed typo at line 340 of README.md

Under the Chat Completion section, about the fourth line under it, we have: 'The model will will format the messages into a single prompt using the following order of precedence:'...
'will' appeared twice, this update fix that.

The commit message / PR title could better match what it is! Deleting the typo / grammar issue has nothing to do with cuda.

Oops, sorry about that, I did use the same message as the latest commit the readme.md file has, with the additional (updated) at the end. That is because i thought the new commit is not a new feature, only fixing a typographical error.
However, I have edited the commit message in a new commit.

But now there are 2 commit messages and none of them quite describe what someone would want to know. For example if someone saw the message: "Typo at line 340 fixed", they would think - what file? Then they might go to check the file and see that there is no change there at all. Empty commits are not so helpful.

You would probably then want to force push it up to overwrite Victoran0:patch-2 with a better commit message.
ChatGPT (among other chatbots) is probably good at helping with this sort of thing.

@lukestanley how does it look now?

Am glad you considered 👏👏👏


Adonis Version

Hi.
Does this plugin work with AdonisJs 4.x?

Nope. It is created to work with the Eslint typescript plugin.

Closing since not actionable


Styles on Home Page done

Can't see the Logo with Dark mode:

Responsive "Brand" Logo in Nav is awesome ✔
Card Shadow Light Mode ✔

Can't see the Logo with Dark mode:

Dark mode Feat isnt done yet one it is, I plan on swapping the picture


Better response codes and destination rule example

This PR:

Fixes #79 by replying with response codes from 3scale if it's not 200 OK.
Adds DestinationRule crd examples for HTTPS to work.

bors r+


Users who submit stalls should be able to edit them again

As a stall submitter I want to be able to edit my stall once I've submitted it, so that I can update the stall details myself if something changes.
Currently there's no process for this via the website and users have to email us directly. For the Victorian election we had 40-odd requests for updates to stalls that we had to manually process and respond to ourselves. That's no good - let's optimise that!
Proposal

[ ] Create a unique URL for each stall that's submitted. This should be tied to the specific election, stall and user. For example https://democracysausage.org/edit-stall/<hash>.
[ ] The unique URL should not be guessable by anyone with a knowledge of the codebase.
[ ] Include the URL in the "Your stall has been submitted" and "You stall has been approved" emails that are sent to users as part of a prominent message in the body of the email.
[ ] Visiting the URL should send the user to a form on the public Democracy Sausage site that:

Allows the user to edit all of the the fields from Step 3 of the Add Stall form
Does not allow the user to change the polling place the stall is tied to.

[ ] When the user submits the form apply edits on the polling place and stall (no need for us to approve)
[ ] When the user submits the form send the contact_email associated with that stall an email saying "Your stall has been edited!" that:

BCC's<EMAIL_ADDRESS>(so we can sanity check any vandalism)
Include a prominent message near the top of the email saying "If this wasn't you, please email<EMAIL_ADDRESS>and let them know!"
Include a diff of the change or a summary of the polling place details before and after the edit.

Confirmation Hashes
php/modules/mailgun.php already has some logic for doing this to make the "join our mailing list" functionality work. Refer to:

$mailInfo["CONFIRM_OPTIN_URL"] in sendStallSubmittedEmail()
makeConfirmationHash() and checkConfirmationHash()
confirmEmailOptin() in php/modules/stalls.php

@stevage If you're interested in taking it on here's my braindump about how the new "Edit Stall" function could work.


use spaCy for NLP

Looks like it does some pretty nice named entity recognition, which would probably be quite a bit better than textblob's PoS tagging.
https://spacy.io/

I gave implementing this a try. Searching for PERSON entities seems to be hit or miss, spaCy seems to think Dean Malmgren is an organization instead of a person. Also, it doesn't really work if the name isn't capitalized.
Broadening the search to all entities or some entities meant the Name detector would often overlap with other detectors, which might be fine?
https://github.com/nahrwl/scrubadub/tree/spacy-name-detector
(note that you need to run python -m spacy download en after running the pip install.)

Thanks for taking a crack at this @nahrwl! Misclassifying names as organizations instead of people seems like an OK problem, provided it does a good job of omitting the information to begin with. I wonder if spaCy has higher recall than our first pass POS tagging approach...
I'm pretty sure that improving precision (e.g. correctly differentiating between people and organization names) will require some fairly adept machine learning models. I'm not entirely sure how spaCy's entity recognition works, but I seem to recall that they were using some statistical models to detect different types of entities. Did you have a chance to dig into this at all?

A bit late on the discussion, I also had a crack at using Spacy on top of the your original TextBlob detector for a project I ran last summer. To be fair, most of the entities have been captured by your name detector, although I do not have the precise numbers here. Their latest model promises 85% recall on average over all classes,  but it does not describe the stats per class (pending an open discussion on their gitter).
The approach that worked better for was to use Spacy on top of your POS approach, and take a very conservative decision: if any of the two classifies it as name, then replace it.
The advantage of Spacy, though, is that it unblocks a whole new possibilities of named entities. For instance, you can chose to replace geographic locations, addresses (GPE, LOC).
After spacy, there are some pretty involved machine learning for other types of NER, but since those are statistical I don't know if you guys want to go down that route. I am keen to help with any of the above, if that's the case.

Thanks for sharing these reflections @aCampello . Very interesting. I was keen on going down the ML route but I haven't been proactively supporting this package for quite a while with a day job that overfloweth. Please feel free to contribute a PR to that effect; would be awesome to incorporate both your expertise with spacy as well as addressing other, more nuanced, sensitive information that need to be removed.
I definitely agree that a more conservative approach is the way to go on this. 🙌

+1 keen to know if spacy will really help in this case.

For who ever picks this up, there is a new version of spacy (v3): https://explosion.ai/blog/spacy-v3-nightly
v2 didn't have a very good NER model, but v3 integrates some great NER models. We should integrate v3 of spacy.

I'd like to work on this issue. Having had an initial look into the nightly it looks like the NER will improve significantly over TextBlob, currently used by scrubadub. There are a couple of difficulties to incorporating this, though. Here are some thoughts - would be good to know what you think before open a [WIP] PR @thomasbird:
My thought was to:

Add a parameter backend to the initialisation of detectors.name.NameDetector that can take values textblob and spacy. The spacy backend will then use the transformers based pipeline (https://nightly.spacy.io/models/en#en_core_web_trf)
Move the textblob logic inside iter_flith to a private method that can switch between textblob and spacy
(?) In the spirit of backwards compatibility, we can leave textblob as default for now?

Here are two problems:

We need to load the spacy model before processing (usually doing something like nlp = spacy.load('en_core_web_trf')), which cannot be done at runtime because it takes very long. My proposal is to add some logic to scrubbers.Scrubber.__init__ to check whether we have spacy as backend and, if we do, to initialise it upon initialisation of the class.

From my experience, Spacy is way more efficient if you apply it into batches of documents (e.g. https://nightly.spacy.io/usage/processing-pipelines#processing). The problem is that the scrubber iterates one document at a time, regardless of which detector. We need again to add some logic to scrubbers.Scrubber.clean_documents to somehow send all documents to the Name detector at once.  This will probably need to change significantly the following lines:

https://github.com/LeapBeyond/scrubadub/blob/c7452882be2c52a6caf04c696b8018d7a1c50169/scrubadub/scrubbers.py#L164-L175
Perhaps we can use the .iter_filth_documents to understand which Detectors need batches of documents, and which ones can be done iteratively. Another idea is to add another detector property (say batch_detector) to detector_configuration).
Would be good to get your thoughts on those!

Sounds great!
My proposal would be that we have a new spacy detector rather than building upon the existing name detector. The reason being the same detector could also use spacys NER tagging to tag other things such as: ORG, LOG, GPE, NORP, FAC, ... (https://spacy.io/api/annotation#named-entities).

Great plan.
I think I have a mild preference for just detecting if the iter_filth_documents function is defined rather than extra configuration. But, just my two cents.

Looking forward to it! Thanks!

Ok, cool, I will start working on that in my fork, with another branch on top of the new api branch. Hopefully there won't be many conflicts.
On a different note, my request for accuracy per label has been accepted and merged to spacy (probably will be available in the next release), so we will be able to say something about accuracy in removing names: https://github.com/explosion/spaCy/issues/6266

Started with this reporting on a branch in my fork:
https://github.com/LeapBeyond/scrubadub/compare/master...aCampello:feature/spacy_detector?expand=1

Can we close this, given https://github.com/LeapBeyond/scrubadub/pull/64?

Yes sounds great, thanks again for working on this!


Refreshing from FeedHQ server misses some articles

As described here : http://forums.cocoaforge.com/viewtopic.php?t=26853&p=139513

Seems that, for FeedHQ, the ot= parameter (which is an Unix epoch) will exclude articles which are dated before the parameter but retrieved after it.
Other OpenReader services will refer to the date/time at which they received the article (Google Reader marked it with an gr:crawl-timestamp-msec attribute), but FeedReader behavior is different.


feat: helm documentation

Documentation for SC4SNMP Helm installation.

:tada: This PR is included in version 0.11.0-develop.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.11.0-next.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update the effective-routes.png image

Update the effective-routes.png image so that it does not include the prefix <IP_ADDRESS>/12 which is no longer displayed by design.  Displaying it in documentation creates confusion for customers.

Hi @KumudD - It looks like Jim Dial last updated this image, but he might not be active in the repo at this time. Could you review or assign to review? Thanks.

Hi @KumudD - Could you review the proposed update and indicate whether the PR can be merged? Thanks.

The change submitted in this PR appears in master, so we'll close the PR.


Float values for certain characteristics

Dear Younghyunjo,
after my first experiments looked good, I went on to adapt the example to my needs. However, I encountered the problem, that it is impossible to hand over float values in the same way you hand over the boolean value for the on/off state of the LED.
What you are using is a void pointer, or a cast to it. This is only possible for integer types, and throws an error for floating point types.
I saw, that in your commit  https://github.com/younghyunjo/esp32-homekit/commit/f17edcbfa60bbb5660ddffb7a6a2cfa1c724dbd7 yesterday, you changed the type handling of different characteristics, so you seem to be aware that different characteristics work on different types. But how can we retrieve and return those (especially floating point) values in the callbacks?

To use floating point values, multiply 100 with sensor value and return as integer.
For example, if you want send the value 36.5, return 3650 in you callback function.
I am sorry for poor documentation and thanks for using my library.

Thanks for the prompt response and for creating the library in the first place! As for documentation, it would totally suffice to have some comments in the hap.h. For example, I am not sure what the ev_handle is about. A also suspect the arg argument is there for passing a flag or something like that?

@younghyunjo, sorry to bother you again. It is still about the additional charakteristics that I want to add to the example. Since the arg did not work as I expected, I just phased the different characteristics responses into different callbacks. Please excuse the ugly switch statements that I just retained out of lazyness. Anyway, as soon as I comment in lines 341 to 343 in my branch version of the example, it becomes impossible to add the device in my home app. I tried to look into the code of your library, but as far as I could see, everything was fine... Could you maybe try my modified example and tell me if it works for you or what is wrong about it? I know it is somewhat too much to ask, but I hope anyway that you consider it.

@TAKeanice
I fixed floating point problem, and arg problem.
https://github.com/younghyunjo/esp32-homekit/commit/476a1eac39c2972c917f51a6d760830c7a9921ba
https://github.com/younghyunjo/esp32-homekit/commit/1c246f8657c37547880b91561b53fd5fcb7e3311

As I comment in lines 341 to 343, It works well.
https://drive.google.com/file/d/1kAldNertFukrp5i2rMC_yigihE4eoVOz/view?usp=sharing
https://drive.google.com/file/d/1F1Mi6gKW4DaBRgH8604hHFQF2AZoOlhN/view?usp=sharing

Great! My Home app now recognized the device and I can set colors. However, the incoming values don´t seem to get multiplied by 100. I can work around this for now, and I will try to identify where the values come from in your library and propose where to change that.

@TAKeanice
Here is example using floating point value.
https://github.com/younghyunjo/esp32-homekit/blob/master/examples/thermometer-hygrometer-dht22/main/main.cpp

Yes, thank you, I have checked if my code is the same. One part that is missing in your example is where values are written (like in led_write in the other example). There, values come unmultiplied. As an example, see line 202 of my working example (same branch as before).

@TAKeanice
Oh! I forgot to handle it in writing situation.
I will fix it later.
Thanks.


Icons are disapearing

Hello dear !
thank you very much for your plugin it is very very useful !
there is something weird when i'm using it with an other plugin : BBCode+ 2.1.19
as soon as I activate the Todolist plugin, the BBCOde+ plugin icons disappear

i'm working on mantis 2.17.0
Maybe you will be able to fix something.
Thank you again for your work !
David

I'm glad it comes in handy 🙂 I'll look into it.

@BENZIN69 , I'm afraid I can't reproduce this problem. I tried to install BBCode+ plugin before ToDoLists plugin and vice versa, but both plugins work fine in either case. Without additional details, I will not be able to help.
Maybe you could check the browser's dev console for errors?

@andrzejkupczyk Thank you very much for taking time to check it ! i'll try to grab more informations and i'll do more tests. If i find something i'll tell you.
Thank you again for your amazing job and your time

For now, I am closing this issue due to the latest release.


Picture counting problem

Description

Steps to reproduce the issue:
func TestDeletePictureBug(t *testing.T) {
	f, err := excelize.OpenFile(filepath.Join("test", "Book1.xlsx"))
	assert.NoError(t, err)
	// f.countDrawings = 1, pkg: drawing1.xml, drawings: nil
	assert.NoError(t, f.DeletePicture("Sheet1", "A1"))
	// f.countDrawings = 2, pkg: (drawing1.xml, sheet1), drawings: (drawing1.xml, sheet1)
	f.NewSheet("Sheet3")
	assert.NoError(t, f.AddPicture("Sheet3", "P1", filepath.Join("test", "images", "excel.jpg"), ""))
	// f.countDrawings = 3, pkg: (drawing1.xml, sheet1), drawings: (drawing1.xml, sheet1), (drawing3.xml, sheet3)
	assert.NoError(t, f.AddPicture("Sheet2", "P1", filepath.Join("test", "images", "excel.jpg"), ""))
	// f.countDrawings = 4, pkg: (drawing1.xml, sheet1), drawings: (drawing1.xml, sheet1), (drawing3.xml, sheet3), (drawing4.xml, sheet2)
	assert.NoError(t, f.DeletePicture("Sheet2", "P1"))
	f.DeleteSheet("Sheet1")
	assert.NoError(t, f.SaveAs(filepath.Join("test", "TestDeletePicture1.xlsx")))
	f, err = excelize.OpenFile(filepath.Join("test", "TestDeletePicture1.xlsx"))
	assert.NoError(t, err)
	// f.countDrawings = 3, pkg: (drawing1.xml, sheet1),(drawing3.xml, sheet3), (drawing4.xml, sheet2), drawings: nil
	f.NewSheet("Sheet1")
	assert.NoError(t, f.AddPicture("Sheet1", "H1", filepath.Join("test", "images", "pic.jpg"), `{"x_scale": 0.5, "y_scale": 0.5}`))
	// f.countDrawings = 4, pkg: (drawing1.xml, sheet1),(drawing3.xml, sheet3), (drawing4.xml, sheet2), drawings: (drawing4.xml, sheet1)
	assert.NoError(t, f.SaveAs(filepath.Join("test", "TestDeletePicture2.xlsx")))
	// sheet1 and sheet2 all have pic.jpg !
}

Describe the results you received:
sheet1 and sheet2 all have pic.jpg
Describe the results you expected:
only sheet2 has pic.jpg
Output of go version:
go1.18.3 windows/amd64

Excelize version or commit ID:
v2.6.1

Environment details (OS, Microsoft Excel™ version, physical, etc.):

Book1.xlsx and excel.jpg are under excelize's path "test" and "test/images"

Thanks for your feedback. I have made a fix for this issue, please upgrade to the master branch code.


cmd/cue: vet doesn't show multiple errors across multiple non-CUE files

What version of CUE are you using (cue version)?

$ cue version
cue version v0.6.0-alpha.2

go version go1.20.5
      -buildmode exe
       -compiler gc
       -trimpath true
     CGO_ENABLED 0
          GOARCH amd64
            GOOS linux
         GOAMD64 v1

Does this issue reproduce with the latest stable release?
Yes - 0.5.0 and 0.4.3
What did you do?
! exec cue vet --all-errors policy.cue dog1.yml dog2.yml
stderr dog1\.yml
stderr dog2\.yml
-- policy.cue --
species:   "dog"
adorable?: true
-- dog1.yml --
name: dog1
species: "dog"
adorable: false
-- dog2.yml --
name: dog2
species: "cat"
adorable: true

I'm vetting 2 YAML files against a CUE file containing 2 policy assertions.
Each YAML file violates a different policy.
I ran cue vet policy.cue file1.yml file2.yml, without --all-errors. I saw only a single file's error mentioned in the output.
I checked cue vet --help, which seems to contain 2 relevant portions:
In this [non-CUE files vetting] mode, each file will be verified against a CUE constraint.

This doesn't seem to be 100% accurate - only 1 file's errors are being reported.
It also documents this option:
...
  -E, --all-errors   print all available errors
...

I added this option, but cue vet's output remained unchanged.
What did you expect to see?
I expected the testscript repro to pass.
I expected the output from cue vet to show me each file with which there's a problem (even if it doesn't show every error that's present).
What did you see instead?
Only the first error encountered is displayed, even when I added in the --all-errors flag:
> ! exec cue vet --all-errors policy.cue dog1.yml dog2.yml
[stderr]
adorable: conflicting values true and false:
    ./dog1.yml:3:12
    ./policy.cue:2:12
[exit status 1]
> stderr dog1\.yml
> stderr dog2\.yml
FAIL: /tmp/testscript3983475236/multiple-errors.txtar/script.txtar:3: no match for `dog2\.yml` found in stderr
error running multiple-errors.txtar in /tmp/testscript3983475236/multiple-errors.txtar

Interestingly, the following does show multiple incomplete errors across the multiple files, hence the following passes:
! exec cue vet schema.cue name.yml age.yml
stderr name
stderr age
stderr address

-- schema.cue --
name: string
age:  int
address: string
-- age.yml --
age: 99
-- name.yml --
name: "cueckoo"

However, there is no mention of the .ymlfilenames involved:
> ! exec cue vet schema.cue name.yml age.yml
[stderr]
address: incomplete value string:
    ./schema.cue:3:10
name: incomplete value string:
    ./schema.cue:1:7
address: incomplete value string:
    ./schema.cue:3:10
age: incomplete value int:
    ./schema.cue:2:7
[exit status 1]

It's also unclear to me what the --all-errors could/should be doing here, because notice that there is more than one error per file reported, and I have not supplied the --all-errors flag.
So it strikes me there are a few possible bugs here not least:

--all-errors doing nothing, or some types of errors not respecting whether --all-errors is set or not (we could step back from this and ask whether the flag still serves a purpose). There is at least one bug here.
incomplete errors do appear to be reported for each file involved, whereas the original description from @jpluscplusm seems to show that other types or errors are not. The latter is a bug according to the docs of cue vet, per this issue's original description.

Note that I have also just raised https://github.com/cue-lang/cue/issues/2521 because it's not clear to me that cue vet should behave the way it is documented with respect to multiple non-CUE files.

I've also noticed this very similar situation, where the error message only mentions type/value constraints, and not missing required fields:
! exec cue vet --all-errors .:example data.yml
stdout f1
stdout f2
stdout f3
-- example.cue --
package example

f1!: _
f2!: string
f3!: int & <10
-- data.yml --
f2: 123
f3: 200

I get this with cue 0.6.0:
> ! exec cue vet --all-errors .:example data.yml
[stderr]
f2: conflicting values 123 and string (mismatched types int and string):
    ./data.yml:1:6
    ./example.cue:4:6
f3: invalid value 200 (out of bound <10):
    ./example.cue:5:12
    ./data.yml:2:6
[exit status 1]
> stdout f1
FAIL: /tmp/testscript2993825173/foo.txtar/script.txtar:2: no match for `f1` found in stdout
error running foo.txtar in /tmp/testscript2993825173/foo.txtar

Happy to file a separate issue if this feels sufficiently different, given that it's intentionally only using a single data file.

Re-validated under CUE v0.8.0.


Enable broadcast in lift.scan

Fixes a bug that made broadcast impossible to use with lift.scan

Congrats on filing GH artefact number 1000!! 🎉 🎈 🎂

Thanks for this! :1st_place_medal:


ci debug

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.

Codecov Report

Merging #4486 into master will increase coverage by 0.56%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4486      +/-   ##
==========================================
+ Coverage   24.95%   25.52%   +0.56%
==========================================
  Files        1231     1243      +12
  Lines       28496    28837     +341
  Branches     3905     3943      +38
==========================================
+ Hits         7111     7360     +249
- Misses      20726    20800      +74
- Partials      659      677      +18

Impacted Files
Coverage Δ

.../oap/server/core/profile/analyze/ProfileStack.java
70.58% <0.00%> (-4.42%)
:arrow_down:

.../apm/network/trace/component/ComponentsDefine.java
0.00% <0.00%> (ø)

...ap/server/core/storage/ttl/DataTTLKeeperTimer.java
0.00% <0.00%> (ø)

...erver/library/util/MultipleFilesChangeMonitor.java
73.68% <0.00%> (ø)

...ywalking/apm/plugin/finagle/SWContextCarrier.scala
53.84% <0.00%> (ø)

...alking/apm/plugin/finagle/AbstractInterceptor.java
100.00% <0.00%> (ø)

...plugin/finagle/ClientTracingFilterInterceptor.java
95.65% <0.00%> (ø)

...lking/apm/plugin/finagle/ContextCarrierHelper.java
84.61% <0.00%> (ø)

...king/apm/plugin/finagle/AnnotationInterceptor.java
77.77% <0.00%> (ø)

...che/skywalking/apm/plugin/finagle/FinagleCtxs.java
80.95% <0.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


Mesh is missing primitive index association

Discussed in https://github.com/google/model-viewer/discussions/4028

Originally posted by Th3Gl0w December 30, 2022
I recently start a project and face this issue :

I replicated the situation here : https://codesandbox.io/s/practical-mountain-d6sitq?file=/src/App.js
Also when i try with the same 3D model in the model-viewer Editor i can change the color material
So if someone have face this problem before or have any idea to help me fix it , it would be great . Thanks  🙏

I found the source of this bug: https://github.com/mrdoob/three.js/issues/25252; It happens because your glTF has multiple scenes, which you aren't using. If you remove those it should work.

Thanks , it solve the problem 😁


Convert roads kind and min zoom functions to YAML.

Connects to #646.
@rmarianski could you review, please?

:+1: Great work on the conversion to yaml :zap:

Latest changes LGTM. :+1:


[Bug]: Error while updating drafts: assets directory should only contain

Please confirm that you have:

[x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[x] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Extension
Expected behavior
shopify app dev should allow .js.liquid and .css.liquid files in the /extensions/.../assets folder.
As per the documentation (https://shopify.dev/docs/storefronts/themes/architecture#assets), themes can support this.
Actual behavior
When I run shopify app dev on my app theme extension, I get the following error:
Error while updating drafts: assets directory should only contain .jpg, .jpeg, .js, .css, .png, .svg, .json, .wasm files

Verbose output
N/A
Reproduction steps

Create an app theme extension
In your extensions/.../assets folder, add a test.js.liquid or test.css.liquid file
Run shopify app dev

Operating System
Mac os 14.2.1
Shopify CLI version (check your project's package.json if you're not sure)
3.66.1
Shell
No response
Node version (run node -v if you're not sure)
No response
What language and version are you using in your application?
No response

I am facing this error in CLI while running shopify app dev  Error while updating drafts: blocks directory should only contain .liquid files
while blocks directory only have one file which came with default installation of extension.

Ran into this issue as well. Very new to Liquid and was trying to follow the documentation for referencing external .css files in my /blocks/foo.liquid

@etienne-ditchlabs I will be needing them so we're in the same boat 🫡

the docs you linked were for themes no theme app extensions and i was under the impression this error was using from shopify app dev. is that correct? if so, i think you're right that we can improve the theme app extensions doc to explicitly state we dont support liquid files in the asset directory

Yes, this error occurs when I'm trying to push an app theme extension and not a theme. I was under the impression that it would be the same logic/rules.

In my case i do not have any external file in my asset directory or any non .liquid file in my blocks folder but still i get an error every time i run the shopify app dev (in short words on newly created)

👋 hi folks, caught up with the team a bit more about this.
@etienne-ditchlabs we will not be adding support for js.liquid or css.liquid in theme app extensions due to performance concerns (this is why the one file limit for each of these exists for themes, see here). theme app extensions are meant to have more constraints compared to themes to preserve theme performance and allow multiple apps to exist without affecting site performance. so im closing this issue as won't do.
@shehrozafzal i would open a separate issue, what you're experiencing sounds unrelated to the original poster's issue. be sure to include the --verbose flag when running CLI commands and share those logs
thank you both for reporting 🙏


Dolma url count

Add a simple (single proces) and a complicated (multiprocessing) script to count the domains in a dataset.

The domain list is on ucloud here
dfm-data/domain-list

@peterbjorgensen should we have the domain lists on Github (to allow users to remove/add their domains from the list)


https://cinnog.netlify.app/ not work

Thank you for the heads-up!
This was caused by two separate issues:

compilation of cinnog_example was failing because I forgot to run cargo update
cargo leptos serve returns 0 when compilation fails

this caused the CD pipeline to replace the previous (working) deployment with an empty one from the failed built

I fixed 1. and https://cinnog.netlify.app is properly deployed again. For 2., I opened leptos-rs/cargo-leptos#230


[elixir] add archive/error oban jobs

For reference: Asana
This PR introduces the archive and error flows of the ingestion process. Once, the ingestion job has run, depending on its state (success/fail), the load records' status is updated to 'ready_for_archiving' and 'ready_for_erroring'. These status are then picked up by the ProcessIngestion GenServer, which will run an archive or error job for each load.
In ex_cubic_ods_ingestion/lib/ex_cubic_ods_ingestion/workers/archive.ex, we use the load record ID to pull up all the info for the load. From there, we run a copy to the archive bucket, and delete from the incoming bucket. Note that the copy does modify the key of the load, by introducing the snapshot date/time. This prevents overwriting in the archive bucket.
In ex_cubic_ods_ingestion/lib/ex_cubic_ods_ingestion/workers/error.ex, we do the same thing with one exception. The copy modifies the key by using the load's S3 modified date/time. This again is a method to prevent overwriting of objects on copy.

@paulswartz Ready for review. Also addressed the comments you provided earlier.


OGM migrations

@jbajic, I've seen the OGM is on the roadmap and I wanted to propose that we also design a migration system for it, similar to Alembic. Given that property graphs have a dynamic schema, this could help make the projects more maintainable and help with data consistency issues across project versions.

Yep, I agree that would be an excellent tool to go along with OGM, but I am unsure if I would like to have it inside GQLAlchemy, it feels more like a separate tool than an extension of GQLAlchemy. What do you think?

Yes, I feel like that is the right way to go. Also, Alembic is a separate project from SQLAlchemy.

This is committed as part of the GQLAlchemy 1.2 release so I am closing the issue.

As far as I can see we haven't actually implemented migrations as a part of 1.1/1.2. Moving this back to open 😄

Hi, any status updates on this feature?
We are building a a project with memgraph using the gqlalchemy OGM, and we are assuming that we might have to the schema quite a bit. Would be great to have some tooling for that :)

Hi @alex-linx, currently, we are not working on this feature, but it is definitely a plan to do it in the future. I can keep you updated on the release where this feature will be developed. It's nice to hear you are working on a project using OGM and thank you for reporting this, it will help us prioritize better. Can you tell me more about the project and how critical this feature is for your project?

@katarinasupe Hi, we are working on a project where we build a graph mapping out entities in a digital environment using a graph database. We define the types of nodes and relationships using the OGM.
We are still designing our system, and expect to be adding and changing the graph structure and schema of our nodes. Having an easy to use tool for doing schema migrations will definitely help, since otherwise we would need to

@alex-linx I can update you on when we decide to prioritize this for development. Until then, can you join our Discord server and send me DM so that I know it's you? It will be easier to communicate there, and you can ask anything else you need.


Update apispec-model, asyncapi-circe, ... to 0.8.0

About this PR
📦 Updates

com.softwaremill.sttp.apispec:apispec-model
com.softwaremill.sttp.apispec:asyncapi-circe
com.softwaremill.sttp.apispec:asyncapi-circe-yaml
com.softwaremill.sttp.apispec:asyncapi-model
com.softwaremill.sttp.apispec:openapi-circe
com.softwaremill.sttp.apispec:openapi-circe-yaml
com.softwaremill.sttp.apispec:openapi-model

from 0.6.3 to 0.8.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (0.6.3).
You might want to review and update them manually.
docker-compose.yml

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.apispec" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.apispec" }
}]

labels: library-update, early-semver-major, semver-spec-minor, version-scheme:early-semver, old-version-remains, commit-count:1

Superseded by #445.


LaB6 with 10 files

some problems with 10 data files.
It would be necessary to allow refinement of the sample alpha2 fraction (and other spectral components if it is the case)  with all data files. Alternative is to refine this parameter independently with each data file and then the user can calculate manually the mean value to use with data analysis with the refined Instrumental Profile

Bug fixed in 0.1.39


SBT version 1.x.x

Hey guys.
Are there any plans to bump sbt version to 1.x.x? All plugins support sbt 1.x.x, so there should be no problems.

Hi @vkorchik, currently it isn't on the roadmap, but I don't have anything against upgrading SBT. @krisgeus any thoughts?

If indeed all the current plugins support it and the release  can be made with sbt 1 I'm perfectly ok with it

@Fokko, I don't know if this is a big deal, but this is what I have now. As you can see in the answer, this bug was fixed in 0.13.16 (and scruid has 0.13.15). (To run tests I needed to change project's build.properties to use newer version, in my case 1.1.5)
I saw this error first when upgraded to Ubuntu 18.04. On the other hand everything's ok on MacOS.
Apart from that, I think it is always better to keep up with the newest version of dependencies.

Yesterday evening I've build your branch on OSX and it worked fine. Not sure what OS the CI is running, but it seems to work at CircleCI as well. Like @krisgeus said, I'm also perfectly fine with upgrading to 1.x.x. And I agree, should keep up with the dependencies.
Cheers, Fokko

@vkorchik Master is now at SBT 1.1.5.


[BUG] rke2 clusters with invalid values for tolerations / affinity agent customization do not show error to user, stay in updating state on cluster create

Rancher Server Setup

Rancher version: v2.7-head ()
Installation option (Docker install/Helm Chart): helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): rke1, 1.4.5

Proxy/Cert Details: valid certs

Information about the Cluster

Kubernetes version: tested with 1.25.9, 1.26.x
Cluster Type (Local/Downstream): downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): rke2 linode driver

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: standard user, cluster owner

Describe the bug

when provisioning a cluster with invalid values for tolerations or affinity agent customizations (cluster agent or fleet agent), the cluster is able to start being created. However, the cluster never shows any error state and hangs in an updating state
To Reproduce

deploy an rke2 cluster

for cluster agent and fleet agent customization, enter a bad label for tolerations and node affinity, i.e. badLabel 123"[];'{}-+=

wait for the cluster to provision

Result
cluster is able to be created, but stays in an updating state, see screenshots
Expected Result

cluster should error out and bubble this state up to the user on the management page
error should be shown to the user
if user ssh's into the node and views rke2-server logs, you can see there is an error that spams there every few seconds:

May 18 22:37:07 bad-custization1-dsa-3a9fb14b-s4rsd rke2[2054]: time="2023-05-18T22:37:07Z" level=error msg="Failed to process config: failed to process /var/lib/rancher/rke2/server/manifests/rancher/cluster-agent.yaml: failed to create cattle-system/cattle-cluster-agent apps/v1, Kind=Deployment for  kube-system/cluster-agent: Deployment.apps \"cattle-cluster-agent\" is invalid: [spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].key: Invalid value: \"notGood~ [];'/..,\": prefix part a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].key: Invalid value: \"notGood~ [];'/..,\": name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]'), spec.template.spec.tolerations[3].key: Invalid value: \"notGood~ [];'/..,\": prefix part a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), spec.template.spec.tolerations[3].key: Invalid value: \"notGood~ [];'/..,\": name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]')]"

Screenshots

Additional context

error is bubbled up to the user for rke1

Kicked it out to Q3 for now as it's not a critical bug applicable only if the user provides an invalid configuration and is essentially a poor UX where error root cause is not bubbled up in the UI.
This can be improved by adding format validation on these fields - best to do it on both UI and backend. For backend options include adding pattern on the generated CRD (which may require deeper changes as CRDs are generated by Wrangler) or adding these validations to webhook.

referencing UI issue: https://github.com/rancher/dashboard/issues/8920

We may want to follow something like 64d6bc5 (#41768) to add validation to these fields on cluster.provisioning.cattle.io but given how large and core this CRD this should be done as a larger effort and not part of fixing this (rather small) issue.
Kicking out to Q1.

I was trying to take a look into this, it is impossible to change to the kubebuilder  with simple changes, it would require a lot of effort/tests.
Wile testing:

Some fields that weren't required become required.
The fields with rkev1.GenericMap don't  work (can't unmarshal into it).
Some data that is not mapped on the struct are passed, generating errors.
When embebeding a structs  the embebed fields don't seem to be created.

Would adding validation to the CRD even bubble up via rke2? The fact that rke bubbles up the error and rke2 does not may be a result of how RKE2 is designed (I've run into this before). cc @jakefhyde
This may not be as deep as we want, but we could also add a validator/regex to the systemtemplate and check that agent customization fields are valid before setting them on the cluster agent deployment - see https://github.com/rancher/rancher/blob/c3411e0ca574b7086308bf4ef2e49984cd247dd1/pkg/systemtemplate/import.go#L102-L123. It wouldn't show the underlying error from the rke2 logs but would alert the user a lot earlier if they are attempting to add the agent customization via kubectl instead of the UI.

@a-blender, after talking with @snasovich  we decided to add the validation on the web-hook.
It is not the k8s "recommended" way, but given the way we create the CRDs and the size/importance of the cluster one it is much safer.

on 2.9-head (63d8298029ce22942459eaaf0dbe084963c234c5) I tested the original use case, but it is still failing. I think its because this line only checks the label key, but should also checking the value
https://github.com/thatmidwesterncoder/webhook/blob/release/v0.5/pkg/resources/provisioning.cattle.io/v1/cluster/validator.go#L530
if I have a bad label key, then the UI does report a failure when the user tries to create
can this be fixed?

@slickwarren , agree it would be nice to add deeper validation that includes validating remaining Toleration and NodeSelectorRequirement fields - though reading original repro steps of the issue it seems to be specifically around label key.
@thatmidwesterncoder , can we use functions from https://pkg.go.dev/k8s.io/kubernetes/pkg/apis/core/validation package, more specifically https://pkg.go.dev/k8s.io/kubernetes/pkg/apis/core/validation#ValidateTolerations / https://pkg.go.dev/k8s.io/kubernetes/pkg/apis/core/validation#ValidateNodeSelectorRequirement or are the issue with core data types mismatch?
Depending on the amount of effort needed we will need to evaluate if it's worth doing deeper validation.

Closing this issue with v2.9.1 milestone retroactively as:

The exact scenario in "Steps to Reproduce" was addressed
Keeping it open creates weird situation where forwardport to v2.10.0 (https://github.com/rancher/rancher/issues/46402) to ensure done changes are moved to v2.10 release branch is targeting earlier release than this is targeting now (v2.10.1).

That said, a new issue to address concerns from https://github.com/rancher/rancher/issues/41606#issuecomment-2297260113 will be created to improve validation further.


Move Loadgen to separate namespace

Move the loadgen workload to a separate namespace. This will:

Make RBAC easier
Save vk8s resources in the application NS
Make vk8s observability more intuitive

New NS
New vk8s

We're going to need to do something a little more robust with credential management.

This is done.
There is a new NS for "utility" work. Redis and the adserver are in the "hub" site/vk8s.


Erro Extract ROO

Game name: (please, specify the game name)
Engine version: (specify engine version, if known)
Platform: (specify platform, if known)
Error message: Magic number doesn't match
Stack trace:    em uTinyRipperGUI.Exporters.ShaderDXExporter.Export(ShaderWriter writer, ShaderSubProgram& subProgram)
em uTinyRipperGUI.Exporters.ShaderHLSLccExporter.Export(ShaderWriter writer, ShaderSubProgram& subProgram)
em uTinyRipper.Classes.Shaders.ShaderSubProgram.Export(ShaderWriter writer, ShaderType type)
em uTinyRipper.Classes.Shaders.SerializedSubProgram.Export(ShaderWriter writer, ShaderType type, Boolean isTier)
em uTinyRipper.Classes.Shaders.SerializedProgram.Export(ShaderWriter writer, ShaderType type)
em uTinyRipper.Classes.Shaders.SerializedPass.Export(ShaderWriter writer)
em uTinyRipper.Classes.Shaders.SerializedSubShader.Export(ShaderWriter writer)
em uTinyRipper.Classes.Shaders.SerializedShader.Export(ShaderWriter writer)
em uTinyRipper.Classes.Shader.ExportBinary(IExportContainer container, Stream stream, Func3 exporterInstantiator)    em uTinyRipperGUI.Exporters.ShaderAssetExporter.Export(IExportContainer container, Object asset, String path)    em uTinyRipper.Project.AssetExportCollection.Export(ProjectAssetContainer container, String dirPath)    em uTinyRipper.Converters.ProjectExporter.Export(String path, GameCollection fileCollection, IEnumerable1 files, ExportOptions options)
em uTinyRipper.GameStructure.Export(String exportPath, Func`2 filter)
em uTinyRipperGUI.MainWindow.ExportFiles(Object data)

Hello
uTinyRipper has been abandoned, but AssetRipper is actively being developed with the intent to recover Unity games as best as possible. I encourage you to help out if you're able and willing. Code contributions can be submitted via pull requests.
Development Progress
These are some of the notable things I've implemented since taking over development.

2020 - 6 support
APK, XAPK, and IPA reading with SharpZipLib
Dummy shaders (so everything isn't pink when you open the project)
IL2Cpp support via an integration of Cpp2IL
Better game platform support
Full script decompilation with the ILSpy decompiler
Cross-platform support
Multiple configuration options
Numerous performance improvements
Support for all asset types
Lightmap Recovery
High-quality 3D model export with SharpGltf
Prefab Outlining
Hybrid Script Export

This is not (at all) a comprehensive list. There are so many other things that could not be included here. They have all been made possible with the support of my generous sponsors.
Future Plans
This is a list of notable improvements planned for the future.

Mesh preview
Scene preview
Child State Machines
Dynamic Zip File Loading

Sponsorship
If you like the work I've done and want to see it continue, please consider sponsoring me. It really helps with development, more than you know.

GitHub Sponsors
Patreon
Paypal

A Patreon subscription gives access to AssetRipper Premium, which has additional features:

Static Mesh Separation
Asset Deduplication
User Defined Package Export


chore(main): release 1.0.4

:robot: I have created a release beep boop
1.0.4 (2024-06-26)
Bug Fixes

print exception error (96c3c40)
remove buildkit (bd7ecc1)
remove hard-coded .env path (bc05636)
wrong dockerfile directory (b77daf5)

Documentation

update readme (899cb27)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.4
:sunflower:


Poor results when running predict.py

Hello,
I was following the intructions on the wiki for 'Train a classifier on your own images'. For that I got a small part of the lfw dataset, smth like 5%, plus added images from 10 other people. I run this command:
python src\classifier.py TRAIN datasets\retrain_160 models\20170512-110547\20170512-110547.pb models\classifier_new.pkl
I get output

And then with the saved new classifier I want to use the function predict.py to recognize a face that exist in the dataset but with a different image.
I run: python tmp\predict.py datasets\test\image1.jpg models\20170512-110547\20170512-110547.pb
models\classifier_new.pkl
So this is working but the results that I get are poor, for an image I give it sometimes outputs the correct names but with like 0.020 accuracy, and sometimes it outputs a wrong person.
Did anyone encounter an issue like this and maybe have an advice how to fix this or idea how it can be improved?
Thanks in advance

Hi popkristina,
I got

the same issue, Have you found any solution for that issue. If you have any ideas please share with me.
Did anybody got the solution for prediction accuracy. Please suggest me any ideas to improve accuracy .

No I still didn't. If I do I will post it here if someone doesn't share meanwhile.
Also did you by any chance manage to modify the function to be called from PyCharm instead of the console?

@popkristina : Have you inspected your train/test split up of dataset? I believe your model is underfitting. Is there a class imbalance problem?

@himabinduyeddala  I found that in classifier.py , param "min_nrof_images_per_class" means "Only include classes with at least this number of images in the dataset",so when we predict picture,choose the label in model.


move to Elder.js!

i think im almost ready! thanks to @nickreese!

new

index

about

lighthouse

old

writing

speaking

about

lighthouse


pyperclip module not found after install

My bad... I'll add it to the dependencies section right away :)


Translate plugin

Discussed in https://github.com/MasaCMS/MasaCMS/discussions/94

Originally posted by brucebailey June 20, 2022
I will start with saying I have never used the translate plugin so this post could very well be me not setting it up properly.

Created two sites, default (English) and test translate site (French).
Install plugin on default site and assign to both sites with flags showing.
Create home page content on both sites and assign content nodes of translated content on each home page.
Put #m.dspObject(object='muratranslationstools')# in the nav
Reload site

I do not see anything showing where step 4 is to change the language.
Also tried it directly in page content [m]m.dspObject(object='muratranslationstools')[/m] with nothing showing.
Found and tried this too (#m.dspObject(object="muratranslationsnavtools", objectparams={muratranslationstooltype='selectbox'})#) and get the following error:
500 Error
invalid component definition, can't find component [MuraTranslations.cfcs.translationManager]
Code:0
Type:expression

On this same topic, because I have never used this plugin before, is there a URL string I can append to make the other language appear?
For instance: www.mysite.com/?lan=fr

I am having the same issue where I do not see the flags or even text.
#m.dspObject(object='masatranslationstools')#
Above is the code that I am using.
I could hard code it but that defeats one of the purposes of having the plugin.
I have done a comparison to the old mura translation and masa and other than some minor CSS changes that I did on my old site and declarations that the translator is now MASA there isn't much difference.
When I inspect nothing even shows up at the place where the plugin is supposed to show.
What are we missing?
Thank you.

For those that are still having issue with the translation plugin not working I think I finally have fixed the issue.
In this file: /plugins/MasaTranslations/display_objects/muratranslationsnavtools/index.cfm
Starting at line 13, the original code looks for the Mura folder.  I changed the following to look in the MASA translation folder.  Please note three items need to be replaced from Mura to Masa
 pluginpath = m.globalConfig('context') & '/plugins/MasaTranslations'; 	pluginConfig = m.getPlugin('MasaTranslations'); 	translationManager = CreateObject('component', 'MasaTranslations.cfcs.translationManager').init(m.globalConfig(),pluginConfig);
Also, the code to display should be
#m.dspObject(object='muratranslationsnavtools')#
This seems to have fixed the translation plugin. Can someone else try to see if they also see this working?

Hi @Tigerlady,
I had part of your fix figured out already. I'll look into the rest in the coming days and get back to you.

Hi @Tigerlady,
With your help I managed to fix the issue and while testing I also improved some other small area's of the plugin.
A new version with these fixes is available now: 4.1.1

Guust
Thank you,  I will download and test it later today.
Barbara Renowden
Centric Web, Inc.
19W169 Millbrook Court
Downers Grove, Il 60516
630-541-9956
@.***

On Sep 13, 2022, at 9:34 AM, Guust Nieuwenhuis @.***> wrote:
Hi @Tigerlady https://github.com/Tigerlady,
With your help I managed to fix the issue and while testing I also improved some other small area's of the plugin.
A new version with these fixes is available now: 4.1.1
—
Reply to this email directly, view it on GitHub https://github.com/MasaCMS/MasaTranslations/issues/2#issuecomment-1245506101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAODXSOQAPFB5BTMOR2CEKDV6CGILANCNFSM5ZMJGZUQ.
You are receiving this because you were mentioned.

Bruce when you click the + select sign, it should open up so you can search the other language for the page.

Ahhhhhh When I hit the plus sign, it asks me to save the draft. From there, if I hit NO it will bring up the search area. Got it. Thank you!

Had a request from a client that would like to load a default language based on the browser locale. Has anyone put this into play?


Ability to disable import via file copy

I was previously experimenting with litestream, and finally got a chance to experiment with litefs this afternoon. Was just trying out some basic configuration, and noticed the newly added import file functionality: https://github.com/superfly/litefs/issues/192
Whilst, this does seem incredibly useful for bootstrapping data onto a server, as it's currently implemented it seems incredibly dangerous. As I understand the model, previously a primary would be truly the only master, and non-primaries would only be limited to read-only, but now any client can destroy and invalidate any of the databases on the primary. This means if any client node is compromised, they can destroy the databases on the primary and any copies on all the other clients.
Ideally, the config file should be able to specify a list of databases that shouldn't be re-importable, but a quick fix would just be a config option to completely disable imports.

@ralferoo If you're using Consul leases then you can already muck around with the database state by destroying Consul data from a compromised node. We'll also be adding write forwarding (#56) which could also muck up a database from a compromised node.
I'm on the fence about how much to lock down the HTTP interface as I feel like most server compromises for any database could result in an intruder effing up the data (e.g. DELETE FROM tbl).

I'm not using consul yet, because I'm just testing, although even when I do, it won't be exposed directly to the web back-ends.
The design I hoped to adopt was to have each web server record data into a spool data, which was shared using static mode to an aggregation server, which would only need read-access to the client spools. This server would aggregate data from all the incoming spools and do any processing required, and spit it out into the master database, which would then be replicated to all the clients, who have a read-only view of the master database. When they notice that the data is now present in the master database, they will clear out their spools.
Effectively, I'd be using the litefs to provide multiple unidirectional one-to-one and one-to-many message queues.
This aggregation server could start out with just one server set up as static, but later on use consul so that there can be several, so it's fault tolerant without having to manually bring up a replacement aggregation server.
But this star-network design seems like the easiest way of solving the multiple writers problem. In my case, I've already arranged that the end nodes are receiving timestamped events and the full dataset is compiled on the master server, so it doesn't even matter if records get split up and sent to different nodes before they get reassembled.

@ralferoo That's a fair point. I'll keep this issue open.
Someone else suggested primary-initiated replication (https://github.com/superfly/litefs/issues/24) where the primary would make the HTTP request to connect to the replicas and then stream down changes. That would allow someone to block the primary's API from the replicas although the primary would have to know all the replicas.


Flux Networks 1.1.2+ won't charge suit or RF-chargeable items in inventory

I'm not sure how to report this.    I'm using the Sky Factory 3 modpack, version 3.0.6.  I was having intermittent troubles with the included version of SonarCore (3.2.1) and Flux Networks (1.1.1) that appeared to be fixed in later versions.  The problems I was seeing were no energy passing across flux Point/Plug links at random, and a save / server stop / start would usually fix it. Sometimes I would get client/server crashes when interfacing plugs with EnderIO machines or conduits.
I updated to SonarCore 3.2.2 and Flux Networks 1.1.3.  The random startup problems seemed to go away but it will no longer charge items in my inventory.  I use a SimplyJetpacks suit and I've tried some items from RFtools / EnderIO / ActuallyAdditionsas well to check that it wasn't isolated to just the jetpack.
Unfortunately 1.1.3 source code wasn't uploaded to github so I can't see what changed between 1.1.2 and 1.1.3.  I tried 1.1.2 as well and it behaves the same - won't charge inventory items.
My network topology:
ExtremeReactor RF tap -> Flux point -> "Power Generation" network -> Flux plug on EnderIO Vibrant Capacitor bank.   Then Flux point on the same capacitor bank -> "Main power" network -> scattered flux plugs around the base.  Everything goes through a single capacitor bank so I've got a convenient generation vs utilization display.
There is a controller on the "Main network" with "Transmitter mode: On".  It is in the same chunk as the capacitor bank and my backup power generation.  All relevant chunks are chunkloaded via ftbutilities.
I have tried changing the network access between "Private", "Public" and Restricted with no apparent effect.
There are no apparent error messages related to FluxNetworks in either the client or server logs.  It just seems to ignore the items I have in my inventory.  I see clean, successful startup messages on both the client and server.
Obviously, the world was created in older versions of FluxNetworks/SonarCore.  I saw changes in 1.1.2 that made me wonder if it affected player enumeration / caching.
When I scatter EnderIO wireless chargers all over my base and put flux plugs on them then the chargers will charge all my inventory items.  I would rather skip that step.
I'm using curse to manage mods.  Forge is .2215,  the server is a simple server on my home network.  It was started as a single-player world and the save was copied to the server so I could access it remotely on my laptop.
From the server log:
[17:37:46] [Server thread/INFO] [sonarcore]: Initilising API
[17:37:46] [Server thread/INFO] [sonarcore]: Initilised API
[17:37:46] [Server thread/INFO] [sonarcore]: Registering Blocks
[17:37:46] [Server thread/INFO] [sonarcore]: Loaded Blocks
[17:37:46] [Server thread/INFO] [sonarcore]: Registering Crafting Recipes
[17:37:46] [Server thread/INFO] [sonarcore]: Register Crafting Recipes
[17:37:46] [Server thread/INFO] [sonarcore]: Registering Renderers
[17:37:46] [Server thread/INFO] [sonarcore]: Registered Renderers
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarInventoryHandler loaded successfully: sonar.core.handlers.inventories.ItemHandlerProvider
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarInventoryHandler loaded successfully: sonar.core.handlers.inventories.IInventoryProvider
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarInventoryHandler loaded successfully: sonar.core.handlers.inventories.DrawersInventoryProvider
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarInventoryHandler loaded successfully: sonar.core.handlers.inventories.DSUInventoryProvider
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarEnergyHandler loaded successfully: sonar.core.handlers.energy.ForgeEnergyHandler
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarEnergyHandler loaded successfully: sonar.core.handlers.energy.SonarHandler
[17:37:46] [Server thread/ERROR] [sonarcore]: Couldn't load ISonarEnergyHandlersonar.core.handlers.energy.TeslaHandler for modid tesla
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarEnergyHandler loaded successfully: sonar.core.handlers.energy.RFHandler
[17:37:46] [Server thread/ERROR] [sonarcore]: Couldn't load ISonarEnergyHandlersonar.core.handlers.energy.EUProvider for modid IC2
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarFluidHandler loaded successfully: sonar.core.handlers.fluids.FluidCapabilityHandler
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarFluidHandler loaded successfully: sonar.core.handlers.fluids.TankProvider
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarEnergyContainerHandler loaded successfully: sonar.core.handlers.container.ForgeItemHandler
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarEnergyContainerHandler loaded successfully: sonar.core.handlers.container.SonarItemHandler
[17:37:46] [Server thread/ERROR] [sonarcore]: Couldn't load ISonarEnergyContainerHandlersonar.core.handlers.container.TeslaItemHandler for modid tesla
[17:37:46] [Server thread/INFO] [sonarcore]: ISonarEnergyContainerHandler loaded successfully: sonar.core.handlers.container.RFItemHandler
[17:37:46] [Server thread/INFO] [fluxnetworks]: Initilising API
[17:37:46] [Server thread/INFO] [fluxnetworks]: Loading Config
[17:37:46] [Server thread/INFO] [fluxnetworks]: Loading Network
[17:37:46] [Server thread/INFO] [fluxnetworks]: Loading Blocks/Items
[17:37:46] [Server thread/INFO] [fluxnetworks]: Loading Entities
[17:37:46] [Server thread/INFO] [fluxnetworks]: Loading Recipes
[17:37:46] [Server thread/INFO] [fluxnetworks]: Loading Packets
[17:37:46] [Server thread/INFO] [fluxnetworks]: Loading Renderers
[17:37:46] [Server thread/INFO] [fluxnetworks]: Finished Pre-Initialization
[17:38:02] [Server thread/INFO] [sonarcore]: Checking Loaded Mods
[17:38:02] [Server thread/INFO] [sonarcore]: Registering Packets
[17:38:02] [Server thread/INFO] [sonarcore]: Register Packets
[17:38:02] [Server thread/INFO] [sonarcore]: Integrated with WAILA
[17:38:02] [Server thread/INFO] [sonarcore]: Registered Events
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Energy Type: Applied Energistics
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Energy Type: Minecraft Joules
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Energy Type: Energy Units
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Energy Type: Tesla
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Energy Type: Redstone Flux
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Planters: Vanilla Planter
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Harvesters: Harvester
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Harvesters: Hemp Harvester
[17:38:02] [Server thread/INFO] [sonarcore]: Loaded Fertilisers: Bonemeal
[17:38:02] [Server thread/INFO] [fluxnetworks]: Loading Handlers
[17:38:02] [Server thread/INFO] [fluxnetworks]: Loaded Handlers
[17:38:02] [Server thread/INFO] [fluxnetworks]: Loading Handlers
[17:38:02] [Server thread/INFO] [fluxnetworks]: Loaded Events
[17:38:02] [Server thread/INFO] [fluxnetworks]: Finished Initialization
..
[17:38:08] [Server thread/INFO] [sonarcore]: Adding Discharge Values
[17:38:08] [Server thread/INFO] [sonarcore]: Added 4 Discharge Values
[17:38:08] [Server thread/INFO] [sonarcore]: Discharge Values: 1xtile.blockRedstone@0=9000
[17:38:08] [Server thread/INFO] [sonarcore]: Discharge Values: 1xitem.coal@0=500
[17:38:08] [Server thread/INFO] [sonarcore]: Discharge Values: 1xitem.redstone@0=1000
[17:38:08] [Server thread/INFO] [sonarcore]: Discharge Values: 1xtile.blockCoal@0=4500
[17:38:08] [Server thread/INFO] [sonarcore]: Registered 5 Energy Types
[17:38:08] [Server thread/INFO] [sonarcore]: Registered 4 Inventory Providers
[17:38:08] [Server thread/INFO] [sonarcore]: Registered 2 Fluid Providers
[17:38:08] [Server thread/INFO] [sonarcore]: Registered 3 Energy Handlers
[17:38:08] [Server thread/INFO] [sonarcore]: Registered 3 Energy Container Providers
[17:38:08] [Server thread/INFO] [sonarcore]: Registered 0 Machine Upgrades
..
[17:38:10] [Server thread/INFO] [fml.ModTracker]: This world was saved with mod sonarcore version 3.2.1 and it is now at version 3.2.2, things may not work well
[17:38:10] [Server thread/INFO] [fml.ModTracker]: This world was saved with mod fluxnetworks version 1.1.1 and it is now at version 1.1.2, things may not work wel           l
[17:38:14] [Server thread/INFO] [fluxnetworks]: [LOADED NETWORK] 'Power Generation' with ID '1
[17:38:14] [Server thread/INFO] [fluxnetworks]: [LOADED NETWORK] 'Main Power' with ID '2

I have tested rolling back to 3.2.1/1.1.1 and jetpack charging works again with no world changes.  However, that also brings back the problem of links randomly not working.
What can I do to help track this down?

Hello! I'm same use Skyfactory3 (1.10.2 - 3.0.6) and update mod (SonarCore to 3.2.3; FluxNetworks to 1.1.3) and have the same problem with charging any items on my inventory.
And one more - i have 1 public network with list of 5-7 allowed players (I'm - network owner).  After update this list is empty, and when i type nick and click plus button - nothing happend. I can't add any nickname to this empty list. I try players who on server at the same moment, who offline, fake nicknames. Nothing. When i rage fast click on this button 5-10 times - client closed (without crash report).
P.S. Sorry for my english

Fixed in dev. Also @Unse the Adding Player bug you mentioned has also been fixed.


new trans add-an-accessible-date-picker.french.md

new translated challenge file in French freeCodeCamp\curriculum\challenges\french\01-responsive-web-design\basic-css\add-an-accessible-date-picker.french.md

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Hi,
Thanks a lot for taking the time to prepare this PR.
While your changes are completely valid, unfortunately we are not accepting translations to coding challenges and guide articles in languages, other than those listed in the contributing guide at the moment.
Although, you are more than welcome to translate the contributing guide itself in any language.
In future we will be expanding freeCodeCamp to more languages. This limitation is mostly for logistical reasons right now. We will announce expansions to additional languages, would love to have your help then.
Thanks.
/cc @freeCodeCamp/moderators


New Menu Transition

Describe your problem here.
I did an new menu "PlayMenuState" and it is working, exept the end of the transition dissapear at the start of the playMenu
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

we can't help you if you don't provide the source code for these files