How to know when a bake is complete

@sharkinsspatial previous lead the effort to create https://github.com/pangeo-forge/dataflow-status-monitoring, which once deployed sends a webhook to a pre-configured url as a notification of dataflow job completion. (And I should add, it works great!)
As I've been working on https://github.com/pangeo-forge/pangeo-forge-orchestrator/pull/80, I realize a limitation of this approach (at least as it's currently implemented), which is that the webhook url is hardcoded. In developing the GitHub App, a key requirement is the need to be very flexible regarding deployment url, because the deployment scenario is a moving target (could be proxying to localhost, could be an ephemeral review app, etc.), so the hardcoded url will not work.
I've chosen to open this issue here, rather than on https://github.com/pangeo-forge/dataflow-status-monitoring, in hopes that we can have a broader conversation about the best way to do this, without the assumption that any particular infrastructure (such as in https://github.com/pangeo-forge/dataflow-status-monitoring) is necessarily required. Certainly, if there's a way to ascertain when a Dataflow job has completed without standing up additional infrastructure to do so, that'd be great.
If I remember correctly, @yuvipanda previously floated the idea of polling dataflow from within the FastAPI application. Perhaps we could leverage pangeo-forge-runner to do this somehow? Just putting up this issue while I think of it, as a place to continue the discussion.
cc @rabernat @andersy005

Just one other thought for now. In the interest of getting something up and running ASAP, perhaps we can leverage the existing solution, and determine what url to post the webhook too dynamically from the resource labels (or similar) contained in the pubsub message, as is currently done for the job name here:
    message = json.loads(pubsub_message)
    job_name = message["resource"]["labels"]["job_name"]

As a (interim, at least) solution, I think this will be tractable. I'll look into this more closely later this weekend.

Yes, I'd love to add a command here that can take the job name, talk to dataflow and tell you 'oh yeah, it is done'. But might be more useful here to think about how to track notion of 'progress', and see if we can have more states than just 'done' 'not done'

Thanks everyone for the feedback! I'm going to stick with dataflow-status-monitoring for now. Closing because I have a workable solution.


Exported file does not include bookmarks from archive

Settings - General - Export (Export all bookmarks in Netscape HTML format)
The resulting file only contains "Active" bookmarks, but I think it should contain archived ones as well.
Linkding version: 1.22.0

Thanks for highlighting this, it probably should include archived bookmarks as well. One thing to consider is that archived bookmarks would ideally be marked as such, so that on import they become archived bookmarks again. I guess that would require extending the Netscape HTML format somewhat, for example adding an attribute like ARCHIVED="1". I'm always a bit hesitant with that given that the format is so brittle, and custom parser implementations might be too.

You could translate it to a tag.  Maybe something like linkding:archived.  Might also give the option to export with, and without the archived links.

Archived bookmarks are now included. Thank you!


Ubuntu 18.04 LTS is out of support

Base image for the Router uses Ubuntu 18.04 LTS. This release is out of support and should be updated to Ubuntu 22.04 LTS IMHO.
I'm already working on it w/o breaking backwards compatibility. (also trying Bicep templates):
https://github.com/cloudchristoph/AzureVM-Router/tree/bicep-templates
I would be happy to finish this and create a PR, if you're interested @dmauser.

Thanks for the heads up! That would be great!


[Gen Idea]: Simplify square root

Example Problem
Simplify $\sqrt{128}$:
Example Solution
$8\sqrt{2}$
Optional, Provide Further Explanation
Given a square root that contains a perfect square multiplied by another number, remove the perfect square and leave the remaining radical.
Assign Yourself?

[ ] I want to be assigned to implement this

I have written a working function. I added the file under the name simplify_square_roots_generator in the mathgenerator folder. Since this is the first time I am using github, please let me know if I have done something wrong, or if you need me to change something in the code. Hope the function is of use to you.

Also, the code I have written has been modified such that the only square root simplifications it produces have neither the perfect square, nor the radical part equal to 1. Please let me know if you would like me to not incorporate that, and just produce the result without thinking about whether the number has the radical or perfect square parts equal to 1.

Thanks, I don't see an open pull request. Can you open a pr with the base being the main branch of lukew3/mathgenerator and the head being typhoons01/mathgenerator? You can find more about opening a pr here: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request

Oh. Oops. I just did that (I think?)


Importing video problems

@YuAo
Hi, is there a way to increase the quality when importing a video? The exported video size is getting reduced by %50 around and it has tons of artifacts, reducing the quality so badly. Please help to fix this problem.

bump...  @YuAo

@Umity can you share some code? I'm exporting video and the quality seems unchanged from the original.


Fixed port issue that was causing deployment issues

Description
Very minor change -- added const port = process.env.PORT || 5000; to server
Type of change
Please delete options that are not relevant.

[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] My code has been reviewed by at least one peer
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

It looks like this PR also snagged a commit with changes made with Prettier. These are purely cosmetic.


[Feature Request]: Improve image quality even further

Describe your idea
The image quality is improved even more to facilitate further zoom in of large images without it leading to unnecessary artifacts in the showcase.
Describe how you think it could work
It would require no change on the side of the user
Additional context
Reasoning for this request:
I have some images that are 4000 by 3000 pixels in which a 300% or even 400% zoom are normally perfectly acceptable in terms of image quality when talking about widget showcase sizes.
However, currently when using these scaling sizes, substantial quality is lost leading to some blur and grain.
My current workaround is now to crop the image first in another app and then select the cropped file to preserve quality. This is fine however removes much of the purpose of the crop function.
Example, there is another (otherwise inferior) widget app in which full quality is preserved when scaling to the same percentage. Screenshots with comparisons could be provided if deemed necessary.

@MatthewCrimson thanks for submitting this request, I appreciate the level of detail provided.
I'm gonna tweak the quality of imported images in the next release. For context, any photos added to a widget are copied to the app's internal storage and resized to a max of 1920x1920 to keep storage usage low. That happens before the cropping tool comes up in order to allow re-cropping of the same image, without having to import it again.
However, it's very likely that people who want to add many photos to a widget are using folder syncing instead, so this optimization might not be required.

@MatthewCrimson this change was included in version 1.14.0, released to Google Play Store today. The update will be available for all users in the upcoming days.
Thanks for suggesting the change!


Down CVAT don't down docker serveless (function image)

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
Hello!
Nuclio serveless docker images quickly take up a lot of space and can cause out-of-memory situations, for example if you're also training on the same machine. So you need to remember to manually put Nuclio models on standby:

which is not done automatically if you do a simple :
docker compose -f docker-compose.yml -f docker-compose.override.yml -f components/serverless/docker-compose.serverless.yml down

docker ps

...the less patient (like me) end up doing a kill and we end up with the communication error message: “HTTPConnectionPool(host=‘host.docker.internal’, port=32783): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f3730196d30>: Failed to establish a new connection: [Errno 111] Connection refused’))”
It's virtually impossible to correct except by reinstalling the function, but you need to know this because nuclio copies a pseudo image during a mount and the error remains present (with nothing in the logs).
Describe the solution you'd like
The ideal solution, if possible, would be to down CVAT and therefore nuclio to standby before hand, so as to free up memory.
Describe alternatives you've considered
No response
Additional context
No response

docker compose is not related somehow to nuclio.
Please, use nuctl tool to handle serverless functions.
Nuclio command-line interface

Usage:
  nuctl [command]

Available Commands:
  build       Build a function
  create      Create resources
  delete      Delete resources
  deploy      Build and deploy a function, or deploy from an existing image
  export      Export functions or projects
  get         Display resource information
  help        Help about any command
  import      Import functions or projects
  invoke      Invoke a function
  update      Update resources
  version     Display the version number of the nuctl CLI

@bsekachev can you give an example of how to use the nuctl to handle the serverless function?


Update maintainers team

[x] Moved some people to Alumni
[x] Add new team members
[x]  Update new tasks (new pipeline proposal reviewing)

@netlify /about/governance

@nf-core-bot fix linting


How to use chromium engine?

I have a hard time figuring out how to use the chromium engine.
If I understand the documentation right, I should be able to pass a parameter engine=chromium in a GET query:
http://<IP_ADDRESS>:8050/info?wait=0.5&images=1&expand=1&timeout=90.0&engine=chromium&url=http%3A%2F%2Fgoogle.com&lua_source=function+main(splash%2C+args)%0D%0A++assert(splash%3Ago(args.url))%0D%0A++assert(splash%3Await(0.5))%0D%0A++return+{%0D%0A++++html+%3D+splash%3Ahtml()%2C%0D%0A++++png+%3D+splash%3Apng()%2C%0D%0A++++har+%3D+splash%3Ahar()%2C%0D%0A++}%0D%0Aend
But it returns:
{
    "error": 400,
    "type": "BadOption",
    "description": "Incorrect HTTP API arguments",
    "info": "engine=chromium is not supported yet"
}

Splash is started this way: docker run -p 8050:8050 -p 5023:5023 scrapinghub/splash --disable-browser-caches --browser-engines=webkit,chromium

if I start splash with
docker run -p 8050:8050 -p 5023:5023 scrapinghub/splash --disable-browser-caches --browser-engines=webkit
the error message is:
{
    "error": 400,
    "type": "BadOption",
    "description": "Incorrect HTTP API arguments",
    "info": {
        "type": "bad_argument",
        "argument": "engine",
        "description": "Disabled render engine chromium"
    }
}

Which makes sense.

And for completeness-sake, if I start splash with
docker run -p 8050:8050 -p 5023:5023 scrapinghub/splash --disable-browser-caches --browser-engines=chromium
And pass engine=webkit
The error message also makes sense:
{
    "error": 400,
    "type": "BadOption",
    "description": "Incorrect HTTP API arguments",
    "info": {
        "type": "bad_argument",
        "argument": "engine",
        "description": "Disabled render engine webkit"
    }
}

Am I missing something? The chromium engine feature is in alpha mode, and I'm not planning to use it in prod any time soon, but I wanted to give it a try.

You are reading the documentation of the render.html endpoint of Splash, which is not the endpoint that you are using. Chromium is only supported to render HTML, PNG and JPEG.


fixup compiler issue

See https://github.com/microsoft/jacdac-stm32x0/pull/44

@mmoskal There is a fundamental problem with the STATIC_ASSERT macro. If two asserts are on the same line in two different files, they end up emitting same-name enums which creates a compiler error.
The bodge is to just move one of the static asserts, but I wanted to check with you if there is a more permanent patch I can apply.
I tried to use FILE to provide a unique identifier, however FILE is a string and not a symbol/token (and therefore does not work with CONCAT)!

As for the static assert - maybe we can avoid them in header files? we could also pass an additional argument to STATIC_ASSERT that is added to the symbol name

I guess best to add STATIC_ASSERT_EXT with additional argument that we use when there is a conflict; it's somewhat hacky but less than moving lines

I wouldn't bother with PRs that just bump deps ;)

Ha, unless i misunderstand your meaning, i'm only using PRs to ensure that the build is good.


Please help

I try to run the evilginx2 it keep saying
Make: go : No such file or directory
Make : ××× ( makefile:8: build) error 127
Please  need help to run it please.
Help me you can write me here or email<EMAIL_ADDRESS>Or telegram or WhatsApp<PHONE_NUMBER>
Please someone should please help me.
Thanks

Follow the instructions here https://janbakker.tech/how-to-set-up-evilginx-to-phish-office-365-credentials/


updating to the archival link while we test an updated LTS

the official website now only lists Jammy as the LTS supported for an orange pi 4: https://www.armbian.com/orange-pi-4/
Now using an archival link from https://armbian.tnahosting.net/archive/orangepi4/archive/  while we test to see if the orange pi 4 should also support jammy for photon vision

Open an issue as well for testing the jammy image either in here or the main repo


Unable to update on Windows: "file is being used", corrupts install

Visual Studio Code keeps prompting me to update.  When I accept the update, it sits for a very long time before telling me that it can't access Code.exe.
According to Process Explorer, Code.exe is opened by System with PID 4.  Windows Defender is running with normal configuration, except the Firewall is disabled.
As per a suggestion here, I set update.enableWindowsBackgroundUpdates to false.  When it prompted me to update, I accepted.  Midway through, it said that it couldn't access Code.exe, and offered to ignore, retry, or abort.  I selected Abort.
Now when I try to open Visual Studio Code, it gives me an error:
[Window Title]
Error

[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
Error: Cannot find module 'C:\Users\smcro\AppData\Local\Programs\Microsoft VS Code\resources\app\out\main'
    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._resolveFilename (C:\Users\smcro\AppData\Local\Programs\Microsoft VS Code\resources\electron.asar\common\reset-search-paths.js:35:12)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Object.<anonymous> (C:\Users\smcro\AppData\Local\Programs\Microsoft VS Code\resources\electron.asar\browser\init.js:189:8)
    at Object.<anonymous> (C:\Users\smcro\AppData\Local\Programs\Microsoft VS Code\resources\electron.asar\browser\init.js:191:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)

[OK]

Similar issues:
https://github.com/Microsoft/vscode/issues/47841

VSCode Version: Unknown
OS Version: Windows 10 1803

Steps to Reproduce:

Set "update.enableWindowsBackgroundUpdates": false as described in https://github.com/Microsoft/vscode/issues/47841#issuecomment-433968487
Allow the update to run
When setup reports that code.exe is being used, click "Abort"

This issue is happening on two of my machines.  Both are Windows 10 1803, neither is joined to a domain, neither has any sort of security software installed except Windows Defender.

This occurs even on a fresh reboot.  I'm reluctant to disable WindowsBackgroundUpdates because the last time I did that it corrupted the install.
An alert is telling me to upload this file:
vscode-inno-updater-1556632522.log
Is it possible to disable the "An update is available!" box?  It's popping up a lot now, and it's getting distracting.

/duplicate #47841

@joaomoreno is it possible to at least disable the update notification? since it happens every time, updates are broken, and there hasn't been any progress towards a fix in six months.

Have you tried keeping update.enableWindowsBackgroundUpdates to false and manually reinstalling VS Code?

Visual Studio Code is completely broken.  I tried updating it like you said, and ran into the same issue.  I clicked "Abort", and now when I try to run code I get this error:
nternal/modules/cjs/loader.js:604
    throw err;
    ^

Error: Cannot find module 'C:\Users\sean\AppData\Local\Programs\Microsoft VS Code\resources\app\out\cli.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:753:10)
    at startup (internal/bootstrap/node.js:241:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:579:3)

I've uninstalled it, and now when I reinstall it I get the following Windows error:
---------------------------
Error
---------------------------
C:\Users\sean\AppData\Local\Programs\Microsoft VS Code\Code.exe

An error occurred while trying to replace the existing file:

DeleteFile failed; code 32.

The process cannot access the file because it is being used by another process.

Click Retry to try again, Ignore to skip this file (not recommended), or Abort to cancel installation.
---------------------------
Abort   Retry   Ignore
---------------------------

I remembered that there is a separate "System" installer, and found "https://code.visualstudio.com/docs/?dv=win64".  This installer appears to actually work, and is what I've installed on both of my systems.
It seems like the "User" version is very broken, and shouldn't be used.  Furthermore, the error messages are very opaque.  It says that the file is in use, but the best I can figure out is that it's in use by "System (PID 4)", and I don't know why, or how to kill it.


Add amulet of bounty to item charges plugin

Add the amulet of bounty to the item charges plugin.
Below are the text strings you should need to reference. Apologies for the mobile screenshots, away from my PC for a few days.
Charge being used:

Using the ‘check’ option on the amulet

One charge remaining:

Using the last charge:

Manually breaking the amulet using the option to:
(Doesn’t show up in the chat box, just this pop up)

I got this


Ability to configure Amazon SQS key (SSE-SQS) as encryptuon key type

Is your feature request related to a problem?
A description of what the problem is. For example: I'm frustrated when [...]
We have already provisioned few SQS queues manually in production whiich we need to own through controller, however to our surpirse we found that it does not have an option to configure encryption type as Amazon SQS key (SSE-SQS)
Describe the solution you'd like
A description of what you want to happen.
A spec to configure encryption on/off with capability to configure Amazon SQS key (SSE-SQS) as encryptuon type.
Describe alternatives you've considered
A description of any alternative solutions or features you've considered.
Manual configuration after the queue is managed while owning this queue without this config.

This is now fixed in sqs-controller v1.1.0


Switch from Bors to GitHub Merge Queues

Bors is going away:

The geo team has converted their repo to use GitHub Merge Queues. Seems like following their lead and not having to host our own bors infrastructure is the easiest path forward.
Per this discussion, we can use the following as references for the migration:

https://github.com/georust/geo/pull/1037
https://github.com/georust/proj/pull/179#issuecomment-1684521823

We will need to determine the process impacts, i.e. what do we need to change in the way we review, accept, and merge PRs.

Some notes from the geo transition to merge queues (which seem to be working fine BTW).
They are my own notes and might not be 100% correct:
Within repo > settings > branches
You need a branch protection rule for the main branch.
Then you need to apply at least these settings:
status checks

You need to enter every status check and keep this list in sync as you add/remove jobs, just like you have been with your bors.toml. Note that the geo repo only lists one status check because we have an aggregate job that combines all the other jobs.
enable merge queue

add merge_group to your workflow triggers (inside the on key)
 on:
   push:
     branches:
       - main
       - staging
       - trying
       - release/**
   pull_request:
+  merge_group:

e.g. in geo
TBH I found the transition surprisingly complicated, but it was mostly due to an arbitrary detail in how we implemented our aggregate ci-status job.
The short version is: A GH status can pass, fail, or be skipped. Our aggregate job would be skipped if any of the sub-jobs failed. I actually never realized this and assumed it would fail. But it didn't matter because bors considered a skip as a failure. GH merge-queues did the opposite - it would proceed when it's status check was "skipped".
Ultimately it didn't require a big change, but took me an annoyingly long time to figure out what the issue was. And since it doesn't look like you have an aggregate job it shouldn't affect you anyway.
Good luck!

bors considered a skip as a failure. GH merge-queues did the opposite - it would proceed when it's status check was "skipped".

I'm willing to be this insight alone will save one of us days of insanity! 😅


Releases page shows confusing new version

Hi. Just noticed this strange release version in the releases page.

https://github.com/ember-cli/ember-cli-qunit/releases

On second thought, I suppose it normal to update an old major version. My bad!


SDK to programatically create projects

User Driven:

https://medplum.slack.com/archives/C05C5KXTPJA/p1691688476394129
https://discord.com/channels/905144809105260605/1141751558242050069/1141751558242050069

We've seen a number of use cases for self-hosted users, where they would like to programatically spin up new projects from each of their tenants.
Right now the MedplumClient only has the startNewProject method, which is tightly coupled to the UI flow.
Proposal:
Have an endpoint / SDK method to create a project without requiring a partial loginState.

This has a lot of hidden complexity.
If we're going to make this investment, we might want to take it as an opportunity to tighten up how projects are created in the first place.
For example, perhaps "creating a project" should be a 2-step process

Create project - simple POST to /fhir/R4/Project, using the normal FHIR API
Initialize a project - a new FHIR operation such as Project/{id}/$init which does all of our project setup stuff

Then the existing flow of startLogin + startNewProject could call those primitives behind the scenes.
I'd like to avoid lots of specialty methods in MedplumClient.  That becomes maintenance surface area.  If we can instead follow the patterns of REST + operations, we might be able to provide a delightful DX without too much extra code.

Yeah, I'm in favor with one potential addition - we should consider if we want to enable this outside of the SuperAdmin context.
Right now, to POST to /fhir/R4/Project, you need a ClientApplication with SuperAdmin privileges , which is kind of dangerous.
In general, however, you're not required to have Super Admin privileges to create a project, since you can always go to app.medplum.com/register.
So we should make sure we maintain a way to recreate the "register new project" experience without requiring super-admin privileges.
Not sure about the API, maybe something like?
POST /Project/$register that would perform the user creation + project creation for you?

To put a finer point on the central question:  What is the auth story for this flow?  The super admin case is straightforward.  The startNewProject case is inherently special, because it requires reCAPTCHA to prevent malicious behavior.  What would the auth requirements be to create a new project?  It cannot be open and easy.

The idea here is to make "project init" more accessible.
There are currently 2 ways to create a project:

Using /auth/register

Creates a new Project plus Practitioner, ClientApplication, and ProjectMembership resources
Requires reCAPTCHA and partial Login resource to use (optimized for app.medplum.com experience)
Great for new user registration, but annoying for API use

Using /fhir/R4/Project

Only creates a Project, nothing else
Requires super admin token
Great for API use, but the empty project is annoying for users who want to easily bootstrap new projects

Proposal:  Move all of the "Project Initialization" logic from /auth/register into a FHIR Operation called Project/$init

Automatically invoked when using /auth/register to preserve existing behavior
Available to super admins or project admins when creating a project directly


WIP: refactor(dataloader-sequelizer): Upgrade dataloader-sequelizer package

Upgrade dataloader-sequelizer package to v2.0.0, breaking change requiring
switch to use of Context API.
CC: https://github.com/opencollective/opencollective/issues/2094

Looks good, could  you rebase? You can also try to push to origin to trigger CI.


sql server container exits immediately in windows

I am trying to run SQL Server in windows 2016 server (OS Version: 10.0.14393 N/A Build 14393), i have tried multiple ways but the container jus exits after 5 seconds with error code (1).  The logs are not clear and truncated, so i could not find anything. The worst part is i have been following up with MS support for almost a month but they say dont have the expertise to fix as this is a new technology, infact they referred this page to me to raise the issue and see if i am getting any help.
----The docker command i use
docker run --name sqldkr1 -it -d -p 14112:1433 -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=' -e ExitOnError=N microsoft/mssql-server-windows-developer
I have used the "-e ExitOnError=N" switch as well but no use!
---The error logs
VERBOSE: Starting SQL Server
start-service : Service 'SQL Server (MSSQLSERVER) (MSSQLSERVER)' cannot be
started due to the following error: Cannot start service MSSQLSERVER on
computer '.'.
At C:\start.ps1:27 char:1
+ start-service MSSQLSERVER
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceControl
   ler:ServiceController) [Start-Service], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Comman
   ds.StartServiceCommand

Having exact same issue here, the container stayed up for about 4 seconds then it exit!

Hi,
I can run your docker command without error. Which version of docker are you using? Is that any particular reasion to use windows containers?

Hi,
I can run your docker command without error. Which version of docker are you using? Is that any particular reason to use windows containers?

I tried following command:
docker run -d -p 1433:1433 -e sa_password= -e ACCEPT_EULA=Y microsoft/mssql-server-windows-developer
above command runs without problem, container stays up without problem. However, when I change the image to microsoft/mssql-server-windows-developer:2017-latest, the container exit right after startup.

VERBOSE: Starting SQL Server
start-service : Service 'SQL Server (MSSQLSERVER) (MSSQLSERVER)' cannot be
started due to the following error: Cannot start service MSSQLSERVER on
computer '.'.
At C:\start.ps1:27 char:1

start-service MSSQLSERVER

  + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceControl
 ler:ServiceController) [Start-Service], ServiceCommandException
  + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Comman
 ds.StartServiceCommand

It looks like it is trying to start the sql server services but getting stopped with error. The error logs are of not much use since they're truncated in the end. Does anyone have an idea how to view the error log without getting truncated? Only then we can come to conclusion as to which is hindering the sql service from starting.

I am currently having this issue with SQL2019 development edition. Anyone figured out a way around this?


array_min: Presto throws while Velox doesn't

Description
Query: select array_min(c0) from (values array[array[array[0.001], null]]) t(c0);
Presto-0.289: Throws an exception "ARRAY comparison not supported for arrays with null elements".
Velox result: [[0.001], null]
Another query: select array_min(c0) from (values array[array[1, null]]) t(c0);
Presto-0.289: Throws an exception "ARRAY comparison not supported for arrays with null elements"
Velox result: [1, null]
Error Reproduction
No response
Relevant logs
No response

I think this might be a bug in Presto Java, it compares the element at position 0 with itself, which means that if there is ever a null in the first element it will throw (everything in the first element has to be compared to verify it's equal to itself)
For other elements, the comparison may exit early as soon as it determines it's greater/less than the current candidate so it may not throw even if it has nulls
This seems like inconsistent behavior

https://github.com/prestodb/presto/pull/23323

array_max has the similar issue.
Query: select array_max(c0) from (values (array[row(1, null)])) t(c0);
Presto-0.289: Throws an exception "null value at position 1"
Velox: Returns a result {field0=1, field1=null}.

The Presto change addresses both functions


Jetson TX2 Library Path not set/updated

After building, I can see the so's copied over to /usr/local/lib/, however that directory is not in the library path.
/data/jetson-inference/build/aarch64/bin$ ./imagenet-console.py granny_smith_1.jpg output_1.jpg
jetson.inference.__init__.py
Traceback (most recent call last):
  File "./imagenet-console.py", line 24, in <module>
    import jetson.inference
  File "/usr/lib/python2.7/dist-packages/jetson/inference/__init__.py", line 4, in <module>
    from jetson_inference_python import *
ImportError: libjetson-utils.so: cannot open shared object file: No such file or directory

Once the lib path is set, example runs fine.

If you were to run sudo ldconfig, that may also take care of it - although this didn't seem to be necessary for me using recent JetPack.  Just curious, which version of JetPack are you using?

that looks good, closing out.  Thanks Dusty!


Move arp field declaration to AbstractRole

The $attributeReleasePolicy field declaration was set on the
ServiceProvider implementation. The IdentityProvider also exposed this
field. PHP generously dynamically published this field publicly. To
get a consistent result, the field was moved from ServiceProvider to
the AbstractRole.

As discussed, it might be better to just remove arp from IdentityProvider, since idps don't use arp.

Closing this one, the actual problem (unable to statically detect type errors) is addressed in #487.


Update Helm release oauth2-proxy to v7.7.8

This PR contains the following updates:

Package
Update
Change

oauth2-proxy (source)
patch
7.7.7 -> 7.7.8

[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Release Notes

oauth2-proxy/manifests (oauth2-proxy)
v7.7.8
Compare Source
A reverse proxy that provides authentication with Google, Github or other providers
What's Changed

Updated the Redis chart to the latest version by @pierluigilenoci in https://github.com/oauth2-proxy/manifests/pull/221

Full Changelog: https://github.com/oauth2-proxy/manifests/compare/oauth2-proxy-7.7.7...oauth2-proxy-7.7.8

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: undefined
Command failed: install-tool helm v3.14.4
/bin/sh: install-tool: command not found

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (7.7.8). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


2.0.5 fails to install because of roukmoute/hashids-bundle recipe

Hi @TomasVotruba
You added a new dependency in the lastest (2.0.5) PATCH release (roukmoute/hashids-bundle) which has a symfony recipie that fails to install with the exception of:
In Hashids.php line 418:
!!
!!    Missing BC Math or GMP extension.

So this is literally a breaking change, not a patch.
In https://github.com/KnpLabs/DoctrineBehaviors/issues/455
I already tried to ask you to move these dependencies to suggestions. The majority of us don't use uuid-s, and if sometime I would use, I would prefer the symfony version of it.
So again: Please move these packages to suggestions and please fix this release

Hi, I didn't expect so much troubles for such a small addition. I'm sorry for caused troubles.
I'll revert it and recommend to implement it as standalone package who needs it.

Thanks for the fast reaction

Thank you for sensitive and clear feedback


created reusable input field - in progress

[x] Login page done
[x] Reuseable input component done
[ ] theme customization in progress

this page is still in progress, would push final updates by EOD

@habeebahmed We need to setup customization.. i might move on without it and we customize later


cerbero: Mac version 11.3.1 not supported

I tried to build but looks like cebrero cannot build anymore
  File "/Users/renetik/Development/fluidsynth-midi-service-j-1/external/fluidsynth/doc/android/external/cerbero/cerbero/utils/__init__.py", line 353, in system_info
    raise FatalError("Mac version %s not supported" % ver)
cerbero.errors.FatalError: Fatal Error: Mac version 11.3.1 not supported
make[1]: *** [prepare] Error 1
make: *** [prepare-fluidsynth] Error 2

That's not very surprising... I'm quite unsure if the upstream Cerbero itself supports macOS 11, also not sure if I would support Cerbero based project builder, as it is getting deprecated at Fluidsynth itself now. Android builds were rewritten, and it's not working as expected and we have been working on build fixes these days.

@atsushieno I would like to implement some c++ code to enable recording of audio stream in oboe driver...  I was able to build it before so was thinking based on some advises form oboe dev to extend oboe driver code to enable that by myself. Looks like now I cannot do that. Do you have any quick ideas about that ? Thanks.

You should be heading to the upstream Fluidsynth project and check the latest build scripts and/or artifacts. If Cerbero does not work, there is no reason to stick to it. Also, this repository is for my application project. There is nothing you can contribute to Oboe driver here. I'm quite unsure how audio-recording capability plays any role there though (but this issue is not to hear about that details, should be discussed at Fluidsynth/fluidsynth).


Diff failed on a particular VI

On this build: http://vm-dcaf-bld-14:8080/job/LabVIEW-DCAF/job/TagEditorCore/view/change-requests/job/PR-340/16/console of the TagEditorCore, the following error was spit out:
J:\workspace\W-DCAF_TagEditorCore_PR-340-7EFEALF4QUX66PBQRDNNYOIPHQOA3RGN5CGA7DSFZ3DYQNVPWRWQ>labview-cli --kill --lv-ver 2014 L:\lvDiff.vi -- "C:\Users\Benjamin\AppData\Local\Temp\K1xW5b_CRIOUI.vi" "J:\workspace\W-DCAF_TagEditorCore_PR-340-7EFEALF4QUX66PBQRDNNYOIPHQOA3RGN5CGA7DSFZ3DYQNVPWRWQ\source\core targets\cRIO\CRIOUI.vi" "J:\workspace\W-DCAF_TagEditorCore_PR-340-7EFEALF4QUX66PBQRDNNYOIPHQOA3RGN5CGA7DSFZ3DYQNVPWRWQ\diff_dir"
LabVIEW terminated unexpectedly!
It looks like some kind of crash in LabVIEW. The 2 previous builds also had similar behavior. This should be investigated.
Also caution to reviewers - the diff VIs may not catch all failures.

This may be related to the VI being particularly 'large'. These UI VIs get complicated. Here's another UI VI that had a similar issue:
J:\workspace\bVIEW-DCAF_TDMSModule_PR-43-T576XAWVYA5XZU2B357C2GJCCGQRG2OBYA3EEXQOSFILGE35JKAA>labview-cli --kill --lv-ver 2014 L:\lvDiff.vi -- "C:\Users\Benjamin\AppData\Local\Temp\F1SSxa_configuration UI.vi" "J:\workspace\bVIEW-DCAF_TDMSModule_PR-43-T576XAWVYA5XZU2B357C2GJCCGQRG2OBYA3EEXQOSFILGE35JKAA\source\editor\configuration UI.vi" "J:\workspace\bVIEW-DCAF_TDMSModule_PR-43-T576XAWVYA5XZU2B357C2GJCCGQRG2OBYA3EEXQOSFILGE35JKAA\diff_dir"
LabVIEW terminated unexpectedly!


[INTERNAL] Update project name and ISSUE_TEMPLATE

Coverage remained the same at 83.969% when pulling 5aef2b44238c55c0f01f4f6f8516635c9df99399 on ui5-tooling-name into f197bb6f162df4e3a1104ad8855f2327e4821b49 on master.


Attempt to adapt nifs to grisp toolchain

Notable changes

All header files have been squashed in the c module.
The name of the module and names of certain functions have been changed to avoid clashes.
Since all grisp nifs functions are grouped toghether, it is important that names are kept different.
Other changes were made to resolve incompatibilities with the C standard used by the toolchain.

With this branch https://github.com/grisp/grisp2-rtems-toolchain/tree/ziopio/blas
It is possible to build OpenBLAS inside the toolchain.
Current blocking point is a crash at linking stage. It looks like the configure step in building OTP does not consider the libopenblas. Symbols are reported as undefined even if the lib installation works as expected.

OpenBLAS proved to difficult to handle atm on the GRISP. Instead, netlib's implementation is used; minor modifications were made to handle that.


SE-0067 (2/5) - Failable initializers for Float->Float

What's in this pull request?
Breaking out from #2742. Adds init?(exactly:) initializers for float types from other float types.
Resolved bug number:  (SR-1491)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test

@stephentyrone Could you review, please?
I'm not 100% sure what is the desired behavior for NaN.  I can see it argued both ways:

Since NaNs are not equal to each other, this initializer can't return any value that can possibly round-trip and compare equal to the original value.  So FloatXX(exactly: NaN) should return nil.

Conversions between floating point formats should propagate NaNs if the target format supports them, so FloatXX(exactly: NaN) should return a NaN.

Yeah, so @gribozavr / @stephentyrone on the NaN deal: I went back and forth on it and meant to leave a note asking for guidance. It seemed like not propagating the NaN is the right move, but I got stuck going back and forth on it. Maybe it should propagate, like the -Inf/+Inf special cases? It's at the very least not the same case as truncation, where we're advertising that we'll return nil.

(Also I guess the change I just made to srcBits <= bits is about to cause my local test run to fail, because the NaN case isn't going to be handled the same in every case...)

There are two competing considerations WRT how NaN is handled:

IEEE 754: "For an operation with quiet NaN inputs, other than maximum and minimum operations, if a floating-point result is to be delivered the result shall be a quiet NaN"

We would like the have the axiom that either result == source or result is nil.

General practice in floating-point is that it's OK to "lose" NaNs if the exceptional condition is tracked by some other means (here, returning nil).  So formally, I think we can justify either behavior.  There's not a huge performance difference either way (though preserving NaN will be slightly faster for concrete types on x86).

If we preserve NaNs, we preserve some information about what went wrong, which is usually good.
If we return nil for NaNs, we make it more likely that an exceptional case will be detected and handled promptly, which is also good.

I come down weakly in favor of returning nil for NaN, as I believe that it's slightly friendlier to inexperienced users, and experts can always get the other behavior with a one-line workaround.

@ultramiraculous Thank you!  LGTM modulo comments.  Let's run it in CI:
@swift-ci Please test

@swift-ci Please test

@ultramiraculous Thank you very much for working on this PR!

@swift-ci Please test and merge


Slow SQL Editor Keyboard and Mouse Event Response

Hey guys, just wanted to bring something to your attention. My SQL Editor has become extremely slow, it takes about 1500ms to respond to any keyboard or mouse events. I looked around on google and on the forums a little bit and didn't notice anyone else experiencing this issue.
I'm running dbeaver 3.5.8 out off Debian 8.0 64 bit KDE install using NVidia video drivers, everything else runs super fast. In the past, my SQL editor was also super fast.
I was running 3.5.2 when I first encountered the issue, so I upgraded to 3.5.8 but still experienced the issue.
Does anyone have any idea what could cause this kind of lag in the event loop for the SQL editor text area?

What kind of connection is this SQL editor associated with?  If you switch it to a connection of a different type (or even <None>) using the Active Datasource drop-down in the toolbar, is the lag still there?

Alright, I currently have mine setup for connection to a local server and a remote server. Both are MySQL. I alternated between my local, remote, and  settings available in the active data connection drop down menu. I swapped between them in various fashions and noticed there was no perceptible change in the lag.
Here is some information about the MySQL driver:
com.mysql.jdbc.Driver
mysql-connector-java-5.1.38.jar

Sorry, I thought I had seen in the latest release notes that Serge had added custom SQL completion for MySQL, but this is not actually the case. So switching datasources would not have changed anything, even if you had switched to a non-MySQL connection.
I'm not able to reproduce this.

Which Java are you using?
Example:

$ java -version
java version "1.7.0_91"
OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-0ubuntu<IP_ADDRESS>)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)

What was the last DBeaver version whose SQL Editor worked well for you?
If you open a brand new SQL Editor window and type a letter, does the lag occur right away? Does it only occur when completing table names, or command names?

Ah, no worries good sir! We're taking shots in the dark here after all.

Java version 1.7 OpenJDK

java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-2)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

I was using 3.5.2 without issue for quite some time, and then one day it started lagging! I haven't added any third party software or done any updates since installing 3.5.2 either. This machine is a pretty persistent environment. I've got the original 3.5.2 folder alongside my 3.5.8 folder.

If I open the new SQL editor like a ninja and press 'a' it takes the usual ~1500ms to appear. Typing an entire word is quite painful so for the meantime I've been using the mysql command line. I've typed out some stuff for you and the auto complete drop down seems to appear along with the same frequency of updates as the other letters.

Mind you this is the same behavior with selecting text.
This may be helpful:
I copy and pasted in a lot of text, and I can scroll very fast UNTIL the cursor at the bottom becomes visible. Then the 1500ms lag hits start coming. If I scroll up slowly until the cursor loses visibility, the GUI stops lagging and the text scrolling suddenly becomes very fast. As soon as I scroll back down to the cursor it lags on me.
I'm running an Intel i4790K with 16GB of DDR3.

Hmm. This is something that Serge will have to take a look at but if there's a bug it will probably wind up be with the Eclipse framework rather than with DBeaver itself.
With that in mind, I searched for Eclipse bugs related to the lag. Several others have reported seeing massive typing lag, always using an Nvidia card and always on linux systems.
At least one user was able to get around this by changing their Nvidia driver:
https://www.eclipse.org/forums/index.php/t/810894/
Possibly also related:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=413858#c6
Sorry to continue to ask potentially unhelpful questions and force you to do more work. Would you mind checking on all processes' CPU usages while you're experiencing the lag?  If what you're experiencing is a case of the bug listed above, then your Xorg CPU usage should be quite high while the typing is lagging. If you felt like it/were comfortable with it, you could also try switching your Nvidia driver to the one listed in that first link.
Of course, if what you're experiencing is related to what's the bug in those links, it would seem to imply that either your video driver was changed or your Xorg config was changed and that is what caused your editing to become laggy. Since you said that your system is pretty stable, it doesn't seem like this is the case.
Either way, Serge will probably have enough info to make an informed decision about the next move, now !  Thanks for helping to try to figure this out !

Success!!
The root cause is the XFCE4 window hardware compositing manager, I disabled it and the LAG IS GONE!!!
Here's my process, as it may be helpful to someone.
I tried all the options you suggested in order, first I absolutely hammered my keyboard into the SQL editor while watching detailed HTOP output. My cpu list lag pointed straight to multiple (several dozen) threads coming out of dbeaver directly like this:
/usr/bin/java -jar /home/user/dbeaver.3.5.8//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -os linux -ws gtk -arch x86_64...

I carefully read through the bug report you sent me and tried their options as well as options from related bug reports, rolling back to the earlier Nvidia driver 304, adding AccelMethod Option xaa to xorg.conf Devices, etc, all to no avail.
However, it occurred to me that the problem may not be with the Nvidia driver but with the compositing manager (xfwm4) so I turned it off and voila. Problem solved.

Run xfwm4-tweaks-settings
Click Compositor Tab
Uncheck 'enable display compositing'

I appreciate your help, as this would have literally never occurred to me as a potential solution. I'm not sure how much you guys can do to prevent this bug programmatically, but at least causality has been identified.
DBeaver 4 life!!
Thank you for your time sir, it is VERY appreciated.
Cheers,
JJ

Wow!  Amazing!!  Great job finding that !  Thanks for figuring it out!
Someone literally just reported another bug about this, I wonder if it will turn out to be the same thing!
Thanks again!

+1 Thank you a lot…

I have the exact same bad behaviour on Dbeaver 5.2.3 - Ubuntu 18.04 .
The problem is, in Gnome I have no idea about how to disable this "enable display compositing" setting.
The process that is causing dbeaver to scroll slowly is this one:
/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
I have a quite decent machine and never had such issues before. I do have a NVidia GPU but it is hard to believe that it could be the source of this issue...
Any hints? thank you!

Fixed -> It is indeed something related with NVidia.
switched to intel integrated graphics with sudo prime-select intel and rebooted. now everything works smoothly.

Fixed -> It is indeed something related with NVidia.
switched to intel integrated graphics with sudo prime-select intel and rebooted. now everything works smoothly.

I'm in the same situation but need responsive dbeaver editor and nvidia at the same time. Somebody please teach me where can I find "display compositing" setup menu in gnome environment to disable.


pv_total not working

Existing sensor definitions can be found here
Your Inverter
Details about your Inverter: Sunsynk 12kW 3-phase, using pymodbus and getting sensor reading from RS485
Describe the issue/bug and what you expect
I see that the pv_power sensor has been added to the 3phase_hv definitions here, but when I add pv_power to my Sunsynk configuration, it does not show up as an entity in Home Assistant.
In the configuration, I only have the option to select single phase or three phase, so I'm assuming the 3phase_hv sensor definitions should be pulled in by default? But then pv_power should be available, and it isn't. It doesn't appear in the log at all. And if I search for it as an entity in Home Assistant, it's not there.
I also tried adding a similar sensor to mysensors.py as explained here, but no luck with that either.
Note that both pv1_power and pv2_power read just fine on registers 672 and 673 respectively.
I would love to be able to get this working!
Logs (if applicable)
I included an extract from the log, happy to provide whatever else you might need.
2024-06-21 09:42:50,688 DEBUG   sunsynk.sensors load_l3_power=379W (379,)
2024-06-21 09:42:50,688 DEBUG   sunsynk.state register {3: 12850, 4: 12345, 5: 12851, 6: 14128, 7: 13620, 20: 54464, 21: 1, 117: 20, 118: 4600, 119: 5200, 120: 4750, 101: 5520, 102: 300, 108: 150, 109: 180, 115: 10, 116: 50, 128: 40, 129: 0, 130: 1, 141: 1, 142: 2, 143: 0, 144: 11, 145: 0, 146: 1, 194: 0, 500: 2, 501: 0, 502: 0, 506: 0, 507: 0, 514: 67, 515: 43, 516: 23612, 517: 0, 518: 22929, 519: 0, 520: 4, 521: 0, 522: 8144, 523: 0, 524: 45, 525: 0, 526: 73, 527: 50227, 528: 0, 529: 106, 534: 48789, 535: 0, 540: 1250, 552: 5, 555: 0, 556: 0, 557: 0, 558: 0, 586: 1227, 587: 5476, 588: 84, 589: 0, 590: 61887, 600: 2236, 609: 5012, 610: 327, 611: 42, 612: 74, 619: 33, 622: 34, 623: 0, 624: 2, 625: 36, 626: 0, 627: 2200, 633: 748, 634: 89, 635: 372, 636: 1209, 637: 1209, 638: 5016, 650: 782, 651: 89, 652: 374, 653: 1245, 672: 2569, 673: 2641, 676: 3099, 677: 83, 678: 3117, 679: 84} = 374 (old=379)
2024-06-21 09:42:50,688 DEBUG   sunsynk.sensors pv1_power=2556W (2556,)
2024-06-21 09:42:50,688 DEBUG   sunsynk.state register {3: 12850, 4: 12345, 5: 12851, 6: 14128, 7: 13620, 20: 54464, 21: 1, 117: 20, 118: 4600, 119: 5200, 120: 4750, 101: 5520, 102: 300, 108: 150, 109: 180, 115: 10, 116: 50, 128: 40, 129: 0, 130: 1, 141: 1, 142: 2, 143: 0, 144: 11, 145: 0, 146: 1, 194: 0, 500: 2, 501: 0, 502: 0, 506: 0, 507: 0, 514: 67, 515: 43, 516: 23612, 517: 0, 518: 22929, 519: 0, 520: 4, 521: 0, 522: 8144, 523: 0, 524: 45, 525: 0, 526: 73, 527: 50227, 528: 0, 529: 106, 534: 48789, 535: 0, 540: 1250, 552: 5, 555: 0, 556: 0, 557: 0, 558: 0, 586: 1227, 587: 5476, 588: 84, 589: 0, 590: 61887, 600: 2236, 609: 5012, 610: 327, 611: 42, 612: 74, 619: 33, 622: 34, 623: 0, 624: 2, 625: 36, 626: 0, 627: 2200, 633: 748, 634: 89, 635: 372, 636: 1209, 637: 1209, 638: 5016, 650: 782, 651: 89, 652: 374, 653: 1245, 672: 2569, 673: 2641, 676: 3099, 677: 83, 678: 3117, 679: 84} = 2569 (old=2556)
2024-06-21 09:42:50,689 DEBUG   sunsynk.sensors pv2_power=2620W (2620,)
2024-06-21 09:42:50,689 DEBUG   sunsynk.state register {3: 12850, 4: 12345, 5: 12851, 6: 14128, 7: 13620, 20: 54464, 21: 1, 117: 20, 118: 4600, 119: 5200, 120: 4750, 101: 5520, 102: 300, 108: 150, 109: 180, 115: 10, 116: 50, 128: 40, 129: 0, 130: 1, 141: 1, 142: 2, 143: 0, 144: 11, 145: 0, 146: 1, 194: 0, 500: 2, 501: 0, 502: 0, 506: 0, 507: 0, 514: 67, 515: 43, 516: 23612, 517: 0, 518: 22929, 519: 0, 520: 4, 521: 0, 522: 8144, 523: 0, 524: 45, 525: 0, 526: 73, 527: 50227, 528: 0, 529: 106, 534: 48789, 535: 0, 540: 1250, 552: 5, 555: 0, 556: 0, 557: 0, 558: 0, 586: 1227, 587: 5476, 588: 84, 589: 0, 590: 61887, 600: 2236, 609: 5012, 610: 327, 611: 42, 612: 74, 619: 33, 622: 34, 623: 0, 624: 2, 625: 36, 626: 0, 627: 2200, 633: 748, 634: 89, 635: 372, 636: 1209, 637: 1209, 638: 5016, 650: 782, 651: 89, 652: 374, 653: 1245, 672: 2569, 673: 2641, 676: 3099, 677: 83, 678: 3117, 679: 84} = 2641 (old=2620)
2024-06-21 09:42:50,689 DEBUG   sunsynk.sensors grid_charge_battery_current=40A (40,)
2024-06-21 09:42:50,689 DEBUG   sunsynk.state register {3: 12850, 4: 12345, 5: 12851, 6: 14128, 7: 13620, 20: 54464, 21: 1, 117: 20, 118: 4600, 119: 5200, 120: 4750, 101: 5520, 102: 300, 108: 150, 109: 180, 115: 10, 116: 50, 128: 40, 129: 0, 130: 1, 141: 1, 142: 2, 143: 0, 144: 11, 145: 0, 146: 1, 194: 0, 500: 2, 501: 0, 502: 0, 506: 0, 507: 0, 514: 67, 515: 43, 516: 23612, 517: 0, 518: 22929, 519: 0, 520: 4, 521: 0, 522: 8144, 523: 0, 524: 45, 525: 0, 526: 73, 527: 50227, 528: 0, 529: 106, 534: 48789, 535: 0, 540: 1250, 552: 5, 555: 0, 556: 0, 557: 0, 558: 0, 586: 1227, 587: 5476, 588: 84, 589: 0, 590: 61887, 600: 2236, 609: 5012, 610: 327, 611: 42, 612: 74, 619: 33, 622: 34, 623: 0, 624: 2, 625: 36, 626: 0, 627: 2200, 633: 748, 634: 89, 635: 372, 636: 1209, 637: 1209, 638: 5016, 650: 782, 651: 89, 652: 374, 653: 1245, 672: 2569, 673: 2641, 676: 3099, 677: 83, 678: 3117, 679: 84} = 40 (old=40)
2024-06-21 09:42:50,689 DEBUG   sunsynk.state register {3: 12850, 4: 12345, 5: 12851, 6: 14128, 7: 13620, 20: 54464, 21: 1, 117: 20, 118: 4600, 119: 5200, 120: 4750, 101: 5520, 102: 300, 108: 150, 109: 180, 115: 10, 116: 50, 128: 40, 129: 0, 130: 1, 141: 1, 142: 2, 143: 0, 144: 11, 145: 0, 146: 1, 194: 0, 500: 2, 501: 0, 502: 0, 506: 0, 507: 0, 514: 67, 515: 43, 516: 23612, 517: 0, 518: 22929, 519: 0, 520: 4, 521: 0, 522: 8144, 523: 0, 524: 45, 525: 0, 526: 73, 527: 50227, 528: 0, 529: 106, 534: 48789, 535: 0, 540: 1250, 552: 5, 555: 0, 556: 0, 557: 0, 558: 0, 586: 1227, 587: 5476, 588: 84, 589: 0, 590: 61887, 600: 2236, 609: 5012, 610: 327, 611: 42, 612: 74, 619: 33, 622: 34, 623: 0, 624: 2, 625: 36, 626: 0, 627: 2200, 633: 748, 634: 89, 635: 372, 636: 1209, 637: 1209, 638: 5016, 650: 782, 651: 89, 652: 374, 653: 1245, 672: 2569, 673: 2641, 676: 3099, 677: 83, 678: 3117, 679: 84} = ON (old=ON)
2024-06-21 09:42:50,689 WARNING sunsynk.rwsensors use_timer: Unknown register value 1
2024-06-21 09:42:50,689 DEBUG   sunsynk.state register {3: 12850, 4: 12345, 5: 12851, 6: 14128, 7: 13620, 20: 54464, 21: 1, 117: 20, 118: 4600, 119: 5200, 120: 4750, 101: 5520, 102: 300, 108: 150, 109: 180, 115: 10, 116: 50, 128: 40, 129: 0, 130: 1, 141: 1, 142: 2, 143: 0, 144: 11, 145: 0, 146: 1, 194: 0, 500: 2, 501: 0, 502: 0, 506: 0, 507: 0, 514: 67, 515: 43, 516: 23612, 517: 0, 518: 22929, 519: 0, 520: 4, 521: 0, 522: 8144, 523: 0, 524: 45, 525: 0, 526: 73, 527: 50227, 528: 0, 529: 106, 534: 48789, 535: 0, 540: 1250, 552: 5, 555: 0, 556: 0, 557: 0, 558: 0, 586: 1227, 587: 5476, 588: 84, 589: 0, 590: 61887, 600: 2236, 609: 5012, 610: 327, 611: 42, 612: 74, 619: 33, 622: 34, 623: 0, 624: 2, 625: 36, 626: 0, 627: 2200, 633: 748, 634: 89, 635: 372, 636: 1209, 637: 1209, 638: 5016, 650: 782, 651: 89, 652: 374, 653: 1245, 672: 2569, 673: 2641, 676: 3099, 677: 83, 678: 3117, 679: 84} = None (old=None)
2024-06-21 09:42:50,689 DEBUG   sunsynk.state register {3: 12850, 4: 12345, 5: 12851, 6: 14128, 7: 13620, 20: 54464, 21: 1, 117: 20, 118: 4600, 119: 5200, 120: 4750, 101: 5520, 102: 300, 108: 150, 109: 180, 115: 10, 116: 50, 128: 40, 129: 0, 130: 1, 141: 1, 142: 2, 143: 0, 144: 11, 145: 0, 146: 1, 194: 0, 500: 2, 501: 0, 502: 0, 506: 0, 507: 0, 514: 67, 515: 43, 516: 23612, 517: 0, 518: 22929, 519: 0, 520: 4, 521: 0, 522: 8144, 523: 0, 524: 45, 525: 0, 526: 73, 527: 50227, 528: 0, 529: 106, 534: 48789, 535: 0, 540: 1250, 552: 5, 555: 0, 556: 0, 557: 0, 558: 0, 586: 1227, 587: 5476, 588: 84, 589: 0, 590: 61887, 600: 2236, 609: 5012, 610: 327, 611: 42, 612: 74, 619: 33, 622: 34, 623: 0, 624: 2, 625: 36, 626: 0, 627: 2200, 633: 748, 634: 89, 635: 372, 636: 1209, 637: 1209, 638: 5016, 650: 782, 651: 89, 652: 374, 653: 1245, 672: 2569, 673: 2641, 676: 3099, 677: 83, 678: 3117, 679: 84} = OFF (old=OFF)

I think Sunsynk 12kW 3-phase is not HV but LV

and there is no math sensor for LV atm

After a small tweak, I have the custom sensor working! So for now it's sorted.  But please consider added this to a future update, it makes it much easier to view history graphs of PV production vs load, etc, when you have total PV.  Trying to use these graphs when you have PV1_power and PV2_power as separate plots isn't great. Thanks!

FYI, for anyone who wants to set up the custom sensor, I saved this to a mysensors.py file in /share/hass-addon-sunsynk/
`from sunsynk import AMPS, CELSIUS, KWH, VOLT, WATT
from sunsynk.rwsensors import NumberRWSensor, SelectRWSensor, TimeRWSensor
from sunsynk.sensors import (
MathSensor,
Sensor,
SensorDefinitions,
TempSensor,
)
SENSORS = SensorDefinitions()
SENSORS += MathSensor((672, 673), "PV Power Total", WATT, factors = (1, 1))`

what happens if you do?
MathSensor((672, 673, 674, 675), "PV power", WATT))

Are there any 3PH LV inverters with 4 MPPTs at all?

Are there any 3PH LV inverters with 4 MPPTs at all?

No idea unfortunately, I'm just an end-user not an installer. The user manual for my inverter says it only has 2 MPPTs though.

what happens if you do?
MathSensor((672, 673, 674, 675), "PV power", WATT)

It works, BUT it had to be as follows:
'MathSensor((672, 673, 674, 675), "PV power", WATT, factors = (1, 1, 1, 1))'
It would not detect the entity without the factors.

In Home Assistant you can just create a helper group sensor which sums the values ;-) Easy as that

#303


Pull using rebase not working

When trying to execute a pull using rebase from packages->git-plus menu, atom does nothing. If instead pull is run from packages->git-plus->pull everything works correctly. I'm using Atom 1.14.1 on macOS 10.12.3.
Steps to reproduce:

Open atom
Select pull using rebase from packages->git-plus

The pull rebase command was removed a few months ago in favor of the config option to always pull using rebase. I'm sorry, I forgot to remove the option from that menu.
If you don't want to use the configuration to always pull with the rebase flag, then you can setup a custom command or just use the 'Run' command when you want to do it.


Add CLI and Winternitz Commit Logic to Client

The current tests for Winternitz are not running in the BitVM:main repo and continue to fail in this PR as well.
cargo test -- --nocapture winternitz
In our repo (https://github.com/elementlabs42/BitVM-playground/tree/rc), the tests above run fine. It seems there's a bug or issue with:
rust-bitcoin-script-0226d06c574a0653/9c6074d/src/analyzer.rs:259:25:
assertion left == right failed: only_if_flow shouldn't change altstack status StackStatus { deepest_stack_accessed: 0, stack_changed: 0, deepest_altstack_accessed: 0, altstack_changed: 1 }
at pos 1791
in "for bitvm::signatures::winternitz_compact::checksig_verify"
left: 1
right: 0

@justin-elementlabs @lucidLuckylee
Hi there! I hope you're doing well. I'm reaching out to inquire about the current status of the kick_off_2 transaction. As widely discussed, an assert transaction should include all bit commitments of hashes for the input of each chunk.
Based on my tests, the minimal implementation from AlpenLabs still involves verifying around 27k hashes in the kick_off_2 -> assert transaction pair. Therefore, an additional 30 input -> output entries in the pair appear necessary to avoid hitting the stack limit.
Could you please share your thoughts on this, given your proposal regarding the architecture of connectors?

We've updated the Winternitz lib so that Winternitz tests are passing now:
cargo test -- --nocapture winternitz

@justin-elementlabs @lucidLuckylee Hi there! I hope you're doing well. I'm reaching out to inquire about the current status of the kick_off_2 transaction. As widely discussed, an assert transaction should include all bit commitments of hashes for the input of each chunk.
Based on my tests, the minimal implementation from AlpenLabs still involves verifying around 27k hashes in the kick_off_2 -> assert transaction pair. Therefore, an additional 30 input -> output entries in the pair appear necessary to avoid hitting the stack limit.
Could you please share your thoughts on this, given your proposal regarding the architecture of connectors?

We haven't incorporated the chunked verifier changes to the graph, yet. We'll probably look at it in about 3 weeks.

I opened #134 to merge main into this and update the Winternitz specific parts.


no ha entities/devices are generated after updating to v0.2.1

Hi,
since I updated from version v0.1.4 to version v0.2.1, the data output no longer works. Yes, I have read the Breaking Changes from version v0.2.0 and also have the corresponding HA version in use. However, during the migration, there was a "Migration Error," possibly because the DTU was not reachable (which is not uncommon with Hoymiles).
As a result, I deleted and re-added the connection to Hoymiles from HA. This works so far, but no devices and entities are being displayed anymore.

Debug Log:
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'translation_key' 2024-04-11 09:44:30.752 ERROR (MainThread) [homeassistant.components.number] Error while setting up hoymiles_wifi platform for number Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 352, in _async_setup_platform     await asyncio.gather(*pending)   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities     await asyncio.gather(*tasks)   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 642, in _async_add_entity     device = dev_reg.async_get(self.hass).async_get_or_create(              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'translation_key' 2024-04-11 09:44:30.760 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up hoymiles_wifi platform for binary_sensor Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 352, in _async_setup_platform     await asyncio.gather(*pending)   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities     await asyncio.gather(*tasks)   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 642, in _async_add_entity     device = dev_reg.async_get(self.hass).async_get_or_create(              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'translation_key' 2024-04-11 09:44:30.768 ERROR (MainThread) [homeassistant.components.button] Error while setting up hoymiles_wifi platform for button Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 352, in _async_setup_platform     await asyncio.gather(*pending)   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities     await asyncio.gather(*tasks)   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 642, in _async_add_entity     device = dev_reg.async_get(self.hass).async_get_or_create(              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'translation_key'
Can you help here? Is there maybe a bug?

That is exactly the kind of error I would expect from an old version of Home Assistant.
Are you sure you upgraded your home assistant version correctly and did you restart your instance afterwards?

maybe that is the problem. you're right - i'm currently on version 2024.2.3: (i thought, that i updated already to 2024.3) I'll try it with the newest version 2024.4 - but i think this report has been resolved.

Great, let me know if that solves the issue.

yes, it works on 2024.4 - thanks for the quick reply :)


Show colored diff in stdout during bosh deploy steps

Was originally present in the v1 cli

Hi - thanks for taking a look at this! I think we'll need to consider a slightly different approach though. Rather than attempting to add methods for very specific use cases of add/remove lines, we probably need to plan out a way for generic coloring support which may involve some of the vendor'd libraries as well. That will require a bit more planning.
The coloring looks nice and has been mentioned on slack, too, but is it more for visual convenience or do you have another use case?

@dpb587-pivotal Thanks for getting back to me on this. This is more for visual convenience.

merge story #152973883

Closing this due to inactivity.
If you would like to discuss this contribution further, please open a new issue.


feat: selector

Closes #6
This time i did touch IEDName and ProtNS. Both were not tested and for no good reason. Along the way I have increased the test coverage on some test cases such as ExtRef with intAddr and w/o and others.
The test is running some time as we do the test for all element in the validScl file. I then also promoses to cover a lot of edge cases

(At least) part of the reason for my tests failing is that the ExtRef identity function in this library is different to that in open-scd.
In open-scd we have:
function extRefIdentity(e: Element): string | number {
  if (!e.parentElement) return NaN;
  const parentIdentity = identity(e.parentElement);
  const iedName = e.getAttribute('iedName');
  const intAddr = e.getAttribute('intAddr');
  const intAddrIndex = Array.from(
    e.parentElement.querySelectorAll(`ExtRef[intAddr="${intAddr}"]`)
  ).indexOf(e);
  if (intAddr) return `${parentIdentity}>${intAddr}[${intAddrIndex}]`;
  const [

Here we have:
https://github.com/openscd/oscd-scl/blob/2df4a182cdabf47ed59040d0621cd481312c0e1e/utils/identity.ts#L86-L97
The handling of intAddr is different as per https://github.com/openscd/open-scd/issues/1179

I decided to close this PR. We cannot resolve some element purly based selector string. Those are in particular ExtRef with intAddr, P, IEDName, ProtNs and Val. All of those must be indexes for the one or the other reason. This conflicts with selectors. The thing that we could use is _nth-child(n of S), but I decided against it as this is a too new feature.

Please look into this PR for a better way to get SCL element based on an identity string, https://github.com/openscd/open-scd/pull/1285. There is also a branch in preparation that does transport it to this repository. https://github.com/JakobVogelsang/oscd-scl/tree/find


Enhancement request: broadcast Interactor as a Zeroconf service

Dear @delfick:
This ER exists solely as a reminder to myself that if I actually build that thing we were talking about, then this functionality would be rather useful to have. Until then, I see no reason to spend any more time on it beyond rolling your eyes at it and you've probably already done that. :)
Yours, &c
@Djelibeybi

mmkay :)
I have no idea what is involved with that, I'll let you figure that out.

It's actually fairly simple and if I could think of a use case for it besides the thing, I'd add it now.

This has been implemented.


Initial driver architecture

@charlierudolph @allewun @ricmatsui
This is a first attempt at separating third-party specific functionality into "drivers" for those third-party APIs, as a parts of #477. The first driver family created here is around code hosting (GitHub, Bitbucket), with another driver family around CI coming soon (CircleCI, Travis, etc).
The motivation for this change is that this makes it much easier to add support for additional third-party systems.
The right patterns to use here is certainly a topic for great debates, and I have gone back and forth (in my head) on the various solutions. On the simple side we have a simple driver infrastructure like in this PR. On the complex side is a full extension system that can define its own Git commands, integration tests, and helpers, which can depend on each other, and be loaded through our own package manager. Following KISS and YAGNI as principles that have always served me very well, this PR contains the simplest possible approach, as a start. I'm happy to add more complexity when it is really needed and makes things simpler. In Bash one doesn't want to over-engineer things!
I don't want to explain the changes too much myself here. The architecture should be documented sufficiently in the developer documentation changes in this PR. If it leaves anything unclear, please let me know, and I'll add more details there, so that they are around for everybody to understand.
What do you think?

Yeah this looks cool and makes a lot of sense. I agree with keeping it simple, especially in Bash.

All comments addressed. @charlierudolph @allewun what's your take on this?

All comments addressed

One last tiny comment from me. :ship:

Okay, after spending a few days on #458, back to this. All comments addressed. Last call for feedback, otherwise I'm going to merge this in tomorrow.

Blocking on #516


Expose child routes on currentRoute object

Any issue with adding the route children to the $router.currentRoute object? Adding routes dynamically might make this tricky, maybe vuex-router-sync would be more appropriate for this.
I'm not sure how to currently access nested routes without doing a find in the complete routes array.
Access to the current routes children would allow us to easily list child routes in a sub-navigation menu.
Ex:
computed: {
  children: () => this.$router.currentRoute.children
  }
}
...

  <router-link
    v-for="child in children"
    :to="{name: child.name}"
    >
    {{ child.meta.label }}
  </router-link>

<router-view></router-view>

Closing in favour of #1156

@posva These issues don't seem the same
I am requesting adding the predefined child routes to the currentRoute, not dynamically adding routes

Sorry for that. Adding all children routes to the currentRoute looks like a handy hack for your case but I'd rather just export them and import where necessary. @fnlctrl WDYT?

I think it seems reasonable for this use case.. Updated the title to be less ambiguous.

So what is the current progress with this ? About half an year passed ...

Would there be any solution for this?

👍

This would allow me to get rid of many ugly workarounds.

I really don't know why thing like this are not the default..
From my point of view it's pretty obvious that currentRoute should match the real route as if found on $router.options.routes or at least have the same properties..

Any news regarding this feature request? 😊

I'd also like to give a vote for this feature.
Being able to dynamically generate navigation is great!

Any change, news or novelty of this subject?.

I would like this as well.
Given a route that has children, it would be nice to generate a nav knowing what children routes are available.

@sysebert
I adapted your workaround to make it work my my route. I post the solution here for others.
import VueRouter, { RouterOptions, RouteConfig } from 'vue-router';

type MyVueRouter = VueRouter & { options: RouterOptions };

export const extensions = function (router: VueRouter)
{
  const routes = (router as MyVueRouter).options.routes;

  function getCurrentRoute(path: string | undefined, children: RouteConfig[] | undefined): RouteConfig | null {
    if (path && children) {
      for(let child of children) {
        if (path.length === 0 && child.path.length === 0) {
          return child;
        } if(path.startsWith(child.path)) {
          let index = child.path.length;
          if (child.path !== '/') {
            index++; // remove the '/' at the end
          }
          const subPath = path.substring(index);

          // we reach the end of the path to resolved
          if (subPath.length === 0) {
            return child;
          } else if(child.children !== undefined) {
            const found = getCurrentRoute(subPath, child.children);
            if (found) {
              return found;
            }
          }
        }
      }
    }
    return null;
  }

  return {
    routeChildren: () => {
      const matched = router.currentRoute.matched;
      const routePath = matched[matched.length - 1].path;
      return getCurrentRoute(routePath, routes)?.children;
    },
    routeSiblings: () => {
      const matched = router.currentRoute.matched;
      const route = matched[matched.length - 1];
      return getCurrentRoute(route.parent
        ? route.parent.path
        : undefined, routes)?.children;
    }
  };
};

I found my way to get the siblings routes from current route to render my navbar / drawer:
<template>

Sibling paths from Current Route

Current path: {{ current_route_path }}

Sibling paths:

          route "{{ item.path }}" named as "{{ item.menu }}"

    <router-view />

</template>

This will be achievable by getting the Route Record from router.getRoutes after https://github.com/vuejs/vue-router/issues/2940 is implemented

I'm using this to get the children. Can't remember where I found it, but for others I'll leave it here.
I would also like OP's solution to be implemented as it's much cleaner (and obvious to devs).
$router.options.routes.filter(         (routeItem) => routeItem.name == $route.matched[0].name       )

When using dynamically added/removed routes with $router.addRoute, these don't show up in $router.options.routes. If I try to get all currently registered routes via $router.getRoutes(), it returns Array<RouteRecord> instead of Array<RouteConfig>, which doesn't contain a 'children' key.
My solution was to loop over all routes and filter them by the parent instance I want.
computed: {
  childRoutes() {
    // get parent instance from matched (or getRoutes).
    let routeInstance = this.$route.matched.find(
        x =>
          x.instances.default === this.$parent || x.instances.default === this
      );
    // get children
    return this.$router.getRoutes().filter(x => x.parent === routeInstance);
  }
}

This works for my case, where the component rending the child tabs is always the view component or a direct descendant of the view component, but it should be easy to adapt to finding by name or path, or implement a sort of tree traversal.

When using dynamically added/removed routes with $router.addRoute, these don't show up in $router.options.routes. If I try to get all currently registered routes via $router.getRoutes(), it returns Array<RouteRecord> instead of Array<RouteConfig>, which doesn't contain a 'children' key.
My solution was to loop over all routes and filter them by the parent instance I wanted to find the childRoutes for.
computed: {
  childRoutes() {

    // get parent instance from their RouteRecord.
    let routeInstance = this.$route.matched.find(
        x =>
          x.instances.default === this.$parent || x.instances.default === this // top-level at view component, or as view component
      );

    // get children
    return this.$router.getRoutes().filter(x => x.parent === routeInstance);
  }
}

This works for my case, where the component rending the child tabs is always the view component or a direct descendant of the view component, and I don't need to display multiple levels of route nesting.


Not able to access Whisper

Failed to transcribe audio: Error code: 404 - {'error': {'message': 'The model whisper-large-v3 does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'code': 'model_not_found'}}

Just tried using the API as well, experiencing the same problem.


Minor tweaks to headings in "Understanding generator.yaml configuration"

Issue #, if available: N/A
Description of changes:
Made some small additions to the headings in this document to make the TOC easier to navigate
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/cc jaypipes

come on prow
/lgtm


gnome-shell, gnome-tweak-tool: Don't propagate python

Motivation for this change
see https://github.com/NixOS/nixpkgs/issues/21851 for more details.
I don't think it is a good idea to propagate python in gnome3.gnome-shell because this leads to issues like in gnome3.gnome-tweak-tools (multiple python versions in build env).
The only reason I see for propagating is that gnome-shell-extension-tool didn't work in the past. My changes fixes gnome-shell-extension-tool without propagating python.
I've also removed the propagated python dependency in gnome-tweak-tools because... why not? It still works for me and it is IHMO less error prone.
Are there any downsides? If not we could also remove the propagatedBuildInputs in other (gnome specific) derivations.
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

CC: @dbeecham @dezgeg @FRidh @eqyiel

I recall having looked at this in the past. If it works, then its fine with me.

Propagating anything seems to me like a bad idea. Maybe propagating build inputs solved some issue in the past, not sure, but I'd definitely like for builds to be as predictable as possible; propagating build inputs is too invisible for my taste.


Example code fails

I get 2 errors with the example code from README. I'm using the code in a new crate project.
error[E0603]: struct `Image` is private
 --> src/main.rs:1:19
  |
1 | use exfat::image::Image;
  |                   ^^^^^ private struct
  |
note: the struct `Image` is defined here
 --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/exfat-0.1.0/src/image.rs:7:1
  |
7 | pub(crate) struct Image<R: Read + Seek> {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0433]: failed to resolve: use of undeclared type `Root`
 --> src/main.rs:9:16
  |
9 |     let root = Root::open(image).expect("cannot open the root directory");
  |                ^^^^ use of undeclared type `Root`

Does the library need to be changed, or is it the example code?
Advice is appreciated

Thanks for reporting. Yeah it is outdated. Please see the example in the tests folder instead.

Wait, it seems like you are using v0.1.0, which is incompatible with the example in the README here.

For v0.1.0 please use this instead:
for item in ExFat::open(file).unwrap() {}


How to run lora with SD models with API?

Is it supported? If yes, how? Can you provide an example?
Thanks.

Hi @lanyusan. We have instructions for running LoRA Inference model with Stable Diffusion on the Replicate model's page, in the API tab (click "Python"):
import replicate
output = replicate.run(
    "cloneofsimo/lora:fce477182f407ffd66b94b08e761424cabd13b82b518754b83080bc75ad32466",
    input={"prompt": "a photo of <1> riding a horse on mars"}
)
print(output)


Website Interface

I want to re-edit the whole website interface.
please assign me this tag gssoc-ext

Please provide details that how you want to improve the ui. Provide some examples etc.


[Bug]: Click on Blue Not Working

What happened?
Clicking on blue icons in desktop it not open the Blue(D) Drive
To reproduce the behavior?
reproduce!
What browser are you seeing the problem on?
Chrome

Can i Work on this problem


sync should be disabled if already performing sync

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue
Expected behavior
If I refresh the message list, all synchronizing should be final.
Actual behavior
If I initiate a sync either by touching refresh or pulling down the message list, and if due to latency I see no user interface activity, and if I think the sync has finished when it has not finished, and if I do another sync trigger event, the first sync will finish, then the next sync starts because it has been queued.
Steps to reproduce
1.Initiate sync by pulling down message list.
2.Pull down message list again, two or three times, during the sync.
Environment
K-9 Mail version:
5.207
Android version:
5 on TV PC, 7 on ASUS Zenfone 3
Account type (IMAP, POP3, WebDAV/Exchange):
POP3

I'd like to take up this issue, is this beginner-level?

It shouldn't be too complex - we maintain a queue of actions we are performing / yet to perform.


LXML Syntax Error

Hello,
Attempting to run this command:
./qt-downloader linux desktop 6.0.3 gcc_64
And got this error after.
OS type: linux
Target: desktop
Qt version: 6.0.3
Toolchain: gcc_64
Verifying arguments... Done
Traceback (most recent call last):
  File "./qt-downloader", line 548, in <module>
    main()
  File "./qt-downloader", line 505, in main
    info = get_modules_info(url, args.version, args.toolchain)
  File "./qt-downloader", line 184, in get_modules_info
    update_xml = etree.fromstring(reply.content)
  File "src/lxml/etree.pyx", line 3237, in lxml.etree.fromstring
  File "src/lxml/parser.pxi", line 1896, in lxml.etree._parseMemoryDocument
  File "src/lxml/parser.pxi", line 1784, in lxml.etree._parseDoc
  File "src/lxml/parser.pxi", line 1141, in lxml.etree._BaseParser._parseDoc
  File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc
  File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult
  File "src/lxml/parser.pxi", line 654, in lxml.etree._raiseParseError
  File "<string>", line 1
lxml.etree.XMLSyntaxError: Space required after the Public Identifier, line 1, column 50

Package version issue?

What is your environment?

The reason was in hardcoded major version 5. Check the master as of 9121ae8 commit.

The reason was in hardcoded major version 5. Check the master as of 9121ae8 commit.

Thanks! Able to see the changes as well!


Added free Blender tutorial links

[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.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @ardaald, thank you for the PR!
Unfortunately, your branch has some merge conflicts that are difficult to resolve. The painless way to fix this is to create a fresh PR.
So I'm going to close your PR now and looking forward to your new one. I'm so sorry for the inconvenience.


LoadProhibited-error in Firebase_Signer::handleTaskError() coming from Firebase_ESP_Client::begin()

Hello,
with the last changes from 4.3.12 to 4.3.13 I get the following error already when initializing Firebase (still using external client, although at this moment there is not any external client yet assigned):
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x4010eb62  PS      : 0x00060530  A0      : 0x8010f300  A1      : 0x3ffcf2d0
A2      : 0x3ffc5ce8  A3      : 0xfffffffc  A4      : 0x00000000  A5      : 0x00000000
A6      : 0x3ffcf1d4  A7      : 0x3ffceee0  A8      : 0x00000000  A9      : 0x3ffcf2b0
A10     : 0x00000000  A11     : 0x3ffc5d88  A12     : 0x00000000  A13     : 0x00000000
A14     : 0x00000068  A15     : 0x00000001  SAR     : 0x00000018  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x40085401  LEND    : 0x40085409  LCOUNT  : 0x00000027

Backtrace: 0x4010eb5f:0x3ffcf2d0 0x4010f2fd:0x3ffcf2f0 0x4010f86e:0x3ffcf360 0x400fa52b:0x3ffcf380 0x4013962a:0x3ffcf3d0 0x400d3496:0x3ffcf3f0 0x40144ee6:0x3ffcf4b0

  #0  0x4010eb5f:0x3ffcf2d0 in Firebase_Signer::handleTaskError(int, int) at .pio/libdeps/debug/Firebase Arduino Client Library for ESP8266 and ESP32/src/signer/Signer.cpp:880
  #1  0x4010f2fd:0x3ffcf2f0 in Firebase_Signer::tokenProcessingTask() at .pio/libdeps/debug/Firebase Arduino Client Library for ESP8266 and ESP32/src/signer/Signer.cpp:669
  #2  0x4010f86e:0x3ffcf360 in Firebase_Signer::handleToken() at .pio/libdeps/debug/Firebase Arduino Client Library for ESP8266 and ESP32/src/signer/Signer.cpp:485
  #3  0x400fa52b:0x3ffcf380 in Firebase_ESP_Client::begin(fb_esp_cfg_t*, fb_esp_auth_signin_provider_t*) at .pio/libdeps/debug/Firebase Arduino Client Library for ESP8266 and ESP32/src/Firebase.cpp:125

I am not sure what causes this error now (my code theoretically is unchanged since it worked with version 4.3.10).
But curiously, when undoing the last change (i.e. deleting the last re-include)
1820 + if (noClient)
1821 +        freeClient(&tcpClient);

in src/signer/Signer.cpp I do not get the latest error mentioned above anymore ... but it returns the error recently reported in #521 ...
Looks like that the problem is that tcpClient was deleted before.
What I do not understand is why this problem has not occurred already in version 4.3.10.
Best regards, Martin

I don't get any error and the update does the same thing as previously.
You should test with library installation instead of your modification.

With the same code, there is no error in all tested platforms.

You are right.
I said that my code was unchanged, but I missed that accidently, when changing back from my fork to your original library (thank you again for also making optional the use of SD, FS etc., that saves me to include unnecessarily five additional libraries (FS, SPI, SD, SPIFFS, Ethernet) and makes my fork obsolete), the flag USE_LEGACY_TOKEN_ONLY was set, which seems that it has caused my problem.
At least it is working now.


MD tested

js-beautify for VS Code

VS Code uses js-beautify internally, bit it lacks the ability to modify the style you wish to use. This extension enables running js-beautify in VS Code, AND honouring any .jsbeautifyrc file in the open file's path tree to load your code styling. Run with  F1 Beautify.
This package includes hints when editing your .jsbeautifyrc. Only the first file found will be used. If the format is bad, the default js-beautify settings will be used, but a warning will be issued to let you know. Comments in your settings file are acceptable (they're removed before the file is parsed). The embedded schema for .jsbeautifyrc has also been published at JSON Schema Store which allows users of VSCode 0.10.3 to add it manually to their user or workspace settings:
"json.schemas": [
	{
		"fileMatch": ["**/.jsbeautifyrc"],
		"url": "http://json.schemastore.org/jsbeautifyrc"
	}
]

Also runs http and css beautify from the same package, as determined by the file extension. The schema indicates which beautifier each of the settings pertains to.
The .jsbeautifyrc config parser accepts sub elements of html, js and css so that different settings can be used for each of the beautifiers (like sublime allows). Note that this will cause the config file to be incorrectly structure for running js-beautify from the command line.
Settings are inherited from the base of the file. Thus:
{
	"indent_size": 4,
	"indent_char": " ",
	"css": {
		"indent_size": 2
	}
}

Will result in the indent_size being set to 4 for Javascript and HTML, but set to 2 for css. All will get the same intent_char setting.
If the file is unsaved, or the type is undetermined, you'll be prompted for which beautifier to use.
Extra (permanent) file extension may be added under user or workspace settings.
Embedded version of js-beautify is v1.5.10.
Changes:
0.0.6: 27 Dec 2015

Added allowing sub elements in config. Fixes Issue #3: Allow separation of settings for html, css and js options like sublime.
Changed embeded schema to allow the type sub elements.

0.0.5: 24 Dec 2015

Schema published at http://json.schemastore.org/jsbeautifyrc.
Added README details for schema install for users of VSCode < v0.10.5
Added comments remover before JSON parse. Fixes Issue #2: .jsbeautifyrc file not being used

0.0.4: 19 Dec 2015

Changed default (unknown) processing to ask you what you want to use.
Fixed Issue #1: No handler found for the command: 'HookyQR.beautify'

0.0.3: 19 Dec 2015

Tries to mark any elements in json.schema settings as JSON, and thus beautify as JS.
Added schema for .jsbeautifyrc file. (Requires VS Code v0.10.5+ see Issue #1)
Added language type so .jsbeautifyrc is recognised as JSON.

0.0.2: 17 Dec 2015

Add options for other file extensions.

update test

again

update test

again


No file or directory "SAP-Net/logger_IQA3/log_test_e444_i99.txt'"

When I run the demo_test.py file, it shows "No such file or directory: '/logger_IQA3/log_test_e444_i99.txt'. How did you generate the file or is there any way to download it directly. Thank you and congratulations for the nice work.

Thanks for your attention. First, you should define the directory in your own path at https://github.com/yanglixiaoshen/SAP-Net/blob/24dc425668f4c9f3c6ac74a0d1ed713453e0b437/option.py#L47. Then, the file log_test_e444_i99.txt (or whatever the name is) is the file for logging the training situation such as loss and it will be generated automatically as the code has been run. I think the main reason of your error may come from no proper defination of the directory in option.py.

Thank you very much for your quick response.

How should the path in option.py be modified, or on what basis?


Skip security signals listing tests

Skip the tests when not running in replay mode.

/azp run

/azp run


Add the ability to update an attribute without registering into the hstory

Overview
Now you can update attribute without registering the change in the history. Needed for loading the regulatory statements in GN.
I also added some missing types
connected issues and PRs:
GN-4961
Setup
None
How to test/reproduce
You can test with my GN pr I will post below when creating it
Challenges/uncertainties
None
Checks PR readiness

[x] UI: works on smaller screen sizes
[x] UI: feedback for any loading/error states
[x] Check cancel/go-back flows
[x] Check database state correct when deleting/updating (especially regarding relationships)
[x] changelog
[x] npm lint
[x] no new deprecations

https://github.com/lblod/frontend-gelinkt-notuleren/pull/700


60007 9.3.1 Incorrect Ordering

With history G, I think you meant for B q:7 and B q.deq() to be swapped around.
Nice notes man, I'm finding them really helpful compared to the slides.

Thanks for finding this! The help is super appreciated! 😂😂


[RFE] Add export/import for Dashboard/Chart/..  in some file format (JSON/YAML/...)

Please add export/import configurations for Dashboard/Chart/Connections all this stuff..  in some file format (JSON/YAML/...), like grafana does.

This feature will probably be a part of our public api story.


Sync Main with Stage

Release to prod
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/
After: https://stage--express--adobecom.hlx.page/express/?martech=off

Codecov Report
Attention: 270 lines in your changes are missing coverage. Please review.

Comparison is base (82c2054) 31.96% compared to head (7419e27) 32.30%.

Files
Patch %
Lines

express/scripts/utils.js
11.32%
188 Missing :warning:

...tionless-quick-action/frictionless-quick-action.js
62.28%
66 Missing :warning:

express/blocks/search-marquee/search-marquee.js
0.00%
13 Missing :warning:

express/blocks/shared/floating-cta.js
0.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #587      +/-   ##
==========================================
+ Coverage   31.96%   32.30%   +0.33%
==========================================
  Files         126      128       +2
  Lines       24127    24510     +383
==========================================
+ Hits         7713     7918     +205
- Misses      16414    16592     +178

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Dynamic Resizing

I'm trying to build a PDF viewer from "scratch" using pdf.js though - thanks to the gross lack of documentation or decent API notes - I'm unsure of the correct way to resize the canvases - I'm trying to implement a zoom function.
Obviously to download and re-render the PDF is out of the question, so I thought that I could index each page variable and then try to entirely render the PDF again on a javascript event.

$('#viewport').empty();
var page = pages[1];
var viewport = page.getViewport(newSize);
var canvas = document.createElement('canvas');
canvas.style.display = 'block';
var context = canvas.getContext('2d');
canvas.height = viewport.height;
canvas.width = viewport.width;
page.render({canvasContext: context, viewport: viewport});
document.getElementById("viewport").appendChild(canvas);

The code above was rendering the page upside down?
Please forgive any beginner mistakes - I'm learning.
Thanks in advance!

Any luck how to re-scale the pdf document without using the viewer.js? I think there should be ability to change the pdf page from within the pdf.js only without the need of external files like viewer.js
thanks


Consume bits_service_client from rubygems.org

A short explanation of the proposed change:
The bits_service_client gem is now published on https://rubygems.org/gems/bits_service_client and can be consumed from there instead of github.

[x] I have viewed signed and have submitted the Contributor License Agreement

[x] I have made this pull request to the master branch

[x] I have run all the unit tests using bundle exec rake

[x] I have run CF Acceptance Tests on bosh lite

/cc @smoser-ibm @suhlig

@suhlig @smoser-ibm It looks like we removed our CC tests from the pipeline and therefore missed to run CC unit tests. I'm going to close this PR for now until we have fixed this issue.


Server installation guide for Mac users added.

Closes Issue #1090.

Looks good, +1 after the long lines have been split.

How about making this a separate document that is linked from the installation.rst file?

Closing in favor of #1279