Ability to set ASPNETCORE_ENVIRONMENT while executing azd up / azd deploy

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
If we set the ASPNETCORE_ENVIRONMENT environment variable manually, it gets overridden in the subsequent deployments (versions). Is there a way to make it sticky without involving infra synth (Bicep)?

PS: We tried using a custom build-configuration (e.g. to STAGING_RELEASE) to set this environment-var dynamically using .WithEnvironment() approach, but it looks like azd up/azd deploy doesn't accept any argument to specify the build-configuration (similar to dotnet build -c|--configuration) and it looks like it's hardcoded to Release.
Expected Behavior
Static/Sticky ASPNETCORE_ENVIRONMENT (we want to maintain staging vs. production apps similar to deployment-slots in AzWebApps/AzFunctions) that doesn't get removed/overridden with every deployment.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version info
No response
Anything else?
No response

builder.AddProject<Projects.WebApplication1>("api")
       .WithExternalHttpEndpoints()
       .WithReference(blobs)
       .WithEnvironment(context =>
       {
           if (context.ExecutionContext.IsPublishMode)
           {
               context.EnvironmentVariables["ASPNETCORE_ENVIRONMENT"] = "staging";
           }
       });

You can write code like this instead.

Since azd supports environments, it would be nice for Aspire to be aware of the current azd environment name so we can properly set DOTNET_ENVIRONMENT / ASPNET_ENVIRONMENT to be the respective dev/staging/production.

I would like context.EnvironmentVariables["ASPNETCORE_ENVIRONMENT"] value to set dynamically e.g. if I set in my yaml file
DOTNET_ENVIRONMENT = 'Development', I would like to read it from context.EnvironmentVariables["ASPNETCORE_ENVIRONMENT"] = context.EnvironmentVariables["DOTNET_ENVIRONMENT "] ;

What yaml file?

e.g. my azure.yaml file looks like below name: NobbResolver.AppHost
services:
nobbresolver:
language: dotnet
project:
host: containerapp
I want to set the ASPNETCORE_ENVIRONMENT dynamically.

I also would like to play with the deployment yaml for other environment variables when using azd up


Generate union types for anyOf

Sorry for being late here - The code changes make sense to me - I'll try to take a look at the output of this.

Apologies! We ended up switching to openapi-typescript which had this functionality in place. I'd recommend checking out their implementation for inspiration if you decide not merge this PR.
Thanks though!

No worries! Thanks for sharing the lib!


OKD rebranding and sclorg move for cakephp-ex

docs.openshift.org to docs.okd.io
https://github.com/openshift/cake-ex (404) to https://github.com/sclorg/cakephp-ex

LGTM, merging.

thanks


fix: remove RPMs after installing RPMs, to guarantee cleanup

This is necessary because the rpm-ostree install command lacks any way to exclude "recommended dependency" packages. It installs everything and the kitchen sink.
Therefore, installing something will often pull in a bunch of unwanted dependencies. The best we can do with the current situation is to run the removal after the install, so that users can remove those unwanted components manually and can be sure that they're actually removed.
Without this fix, our users will be surprised when they discover that their "RPM remove" commands don't actually remove packages that were automatically pulled in by their "install" RPMs.
It also lines up better with the flow of recipe.yml, where our "install" section is already listed before the "remove" section.

Hmm, alright, this change sounded like something I wouldn't like but the reasoning is pretty good. Merging!

Yep it's sad and a bit weird that rpm-ostree install doesn't have any ability to skip unwanted, optional dependencies:

Compared to dnf which has multiple ways to avoid unwanted dependencies:


feat: Added new time_zone variable for MSSQL

Added new time_zone variable for MSSQL

Lint step is failing with below error can someone please let me know the steps or process to fix this
Error: The following tests have failed: check_documentation
Error: Process completed with exit code 1.

@bharathkkb @g-awmalik
could you provide any help to fix this issue

@Anand-chenepalli Thanks for the PR!
we had the #488 is merged, which was the PR I opened that addressed the linter issues and commit check issues. We should have a new version of this module in the next few(~days).


statedb: Disable StateDB metrics by default

The StateDB metrics have the potential to be high cardinality. Most of the metrics were implemented to monitor the performance StateDB which is more of a developer concern than an operator concern. By disabling them by default, we keep the amount of metrics lean for normal users but allow developers or advanced users to enable them if they need to.
Disable StateDB metrics by default

/test


Support multiple datasets in a single file

(Regarding additional changes to support cli use for USDM validation, #631) There is one item I don't quite agree with:

The ".json" at the end is needed so that the correct data reader is used.

It seems wrong to pretend that a single json file is multiple json files at the Engine level. I think it would be better to fix the engine to be able to handle different types of dataframe collections (folder of files, single file, cosmos collection of items, etc). But this might be a much bigger change, in which case the hack is okay for now and you can create a new ticket for it instead.
Originally posted by @gerrycampion in https://github.com/cdisc-org/cdisc-rules-engine/pull/631#pullrequestreview-1977457315

To validate a USDM study definition contained in a single JSON file, the JSON file is converted to represent each USDM class as a separate dataset, with each class instance represented as a row in the dataset.  For validation purposes, the JSON file therefore contains multiple "datasets".  The rules engine currently has some implicit assumptions that each dataset to be validated will be contained in a separate file (e.g., dataset_name is frequently expected to contain the file name, in particular when dataset information is cached).
To get the CLI validation working as an interim solution, a unique "proxy file name" was generated and assigned for each dataset contained in the single JSON file (see #631), so that this "proxy file name" could be used as the dataset_name by the rules engine.  The "proxy file name" was generated by appending the USDM class name to the original single JSON file name and adding a ".json" extension.  For example, the "proxy file name" for the "Study" class dataset in a single JSON file called "/test/data/study_def.json" would be "/test/data/study_def.json/Study.json".  This format was chosen to give a unique value for each USDM class dataset, and because the ".json" extension may be used to select the data or metadata readers.
It would be better for the engine to be updated to support single files containing multiple datasets without having to create "proxy file names".


Add remote debugging

See https://github.com/WebFreak001/code-debug/issues/3

:+1:

Thank you for being so quick. When could we expect it to be deployed as an update ?

Im currently adding adding breakpoints & pausing while running, because I have found out how to do it. I will release when I have finished it

OK, I was just impatient :wink: . Thanks for the info!

ok released it as 0.2.0


[Document] Plan an approach for roll-out

Problem statement
We need a documented approach to rolling out the new error code system! We know a few key considerations include:
API Programmer's Guide section for error codes AND established process for updating this
To successfully relay the intended message of any code, so that an API user may translate it on their end, we need to keep congruency between the codes returning from the API and the documentation of code meaning.
Roll-out cadence and approach
As work is ever-moving on ReportStream, we should assess

The most beneficial places to implement these codes
The least destructive place to ongoing efforts to implement these codes

Feedback plan
How will we know these codes are successful? How will we gather feedback?

Error Codes Rollout PDF
To be reviewed in O&O sync on 11/30!

Reviewed w/ O&O, provided them the document linked above. Good to close this!


Bug/jenkins 38023 expandable path

Description

See JENKINS-38023.
Since we need to use this treatment in Dashboard and Personalization and it's a simple component visual-only component I felt the JDL was the right place for it.

Submitter checklist

[x] Link to JIRA ticket in description, if appropriate.
[x] Change is code complete and matches issue description
[x] Appropriate unit or acceptance tests or explanation to why this change has no tests

Reviewer checklist

[ ] Run the changes and verified the change matches the issue description
[ ] Reviewed the code
[ ] Verified that the appropriate tests have been written or valid explanation given

@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Going to open a new PR to try and get rid of the checks from another CI system that shall remain nameless...


Update README.md

📥 Proposed changes
Fixed typo
☑ Submission checklist

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] yarn build works locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

💬 Further comments

@all-contributors please add @lfbergee for code, doc, infrastructure


NcpBase: Adding get handler for MAC_EXTENDED_ADDR spinel property

@abtink, I noticed that the Extended Address is also provided by SPINEL_PROP_MAC_15_4_LADDR.  Is this intended to be different?

Yes. I noticed that LLADDR uses the same. wpantund currently uses the EXTENDED_ADR property.


Odd network behaviors?

This may not be the right repo for this, but it spans a few different modules so I figured this would work.
I logged some network traffic and wrote some notes (in C-style comments) here: https://gist.github.com/pfrazee/254010f5185beca6091c2f2340dbe51a
Here's the odd bits:

Archive-bot connects to me once every five seconds
You can see these connections multiple times in the log, and it almost always plays out the same way. Should archive-bot be connecting that often? Should archive-bot be requesting data every time? Should the connection be closed locally, not by archive-bot, every time? What's going on there?

A bunch of peers discovered via DHT, but not connected to?
If you search for that's unusual, 0ff7d..cd is not an interesting archive, you'll find a section where 7 peers are discovered via the DHT for an archive that I don't think any of them should know about. (You can map archive key -> discovery key by looking at the very top segment's initial announcements.)
None of those discoveries lead to connection attempts. What could that be?

Some redundant activity
All of the activity in this log occurred in less than 2 minutes. It settles down after about a minute, but the local node's IP is discovered a whole lot. If you search for everything is emitting twice, you'll notice a lot of duplicate dns discovery emits early on. Not sure if any of that's an issue (the duplicate dns emits seem a little weird.)

lots of things improved in 8 in regards to replication. feel free to reopen if still relevant


Spell checker improvements

@RocketChat/core

Closes #195
Closes #263
Closes #281
Closes #289
Closes #306

Tidy up spell checker implementation
Fix issues with contractions
Fix speed issues on windows (pasting bug) - This requires limiting spell checking to one language as switching was causing the speed issues

TODO

[x] Check that it is working correctly on windows

This pull request will make it so you can only enable 1 language at a time, or disable all together. This change significantly improves the speed of the app, in particular the windows version when typing or pasting in text.
Does anyone have a need to be able to select multiple languages?

The limitation of one language per time only exists just to prevent users to select multiple languages or it changes the implementation? Can we keep the multi language and just alert user when select more then 1 language?
Multiple languages is very useful to me.
Thoughts here @RocketChat/core ?

@rodrigok  The implementation has changed so that it only allows 1 at a time.
If multiple languages are need then we could disable multiple languages when using Hunspell (I think it is mostly just win 7 and below that uses this). Only issue is that we would have different implementation based on operating systems.

I have now changed it so that if it uses Hunspell then you will only be allowed one language, otherwise it will allow multiple.


adds link to zipline

@markusschaller I don't currently have the rights to commit into master.

tnx @markusschaller :smile:


added connector code and dependencies

Descriptions:
This is the initial PR, adding connector content.
Fix:
Add fix/changes here

Followed the wrong directory structure.
Create a folder named 'gcp-certificate-authority-service.'
The gcp-certificate-authority-service folder must include the following files:
1. connector.py
2. operations.py
3. other supportive python files files.
The gcp-certificate-authority-service folder must also contain the following directories:
images  (this directory should contain both small and large logos of the connectors)
playbooks (this directory should contain playbooks.json of all sample playbooks actions)
Reference
Please refer to the connector below for the correct directory structure:
https://github.com/fortinet-fortisoar/connector-shadowserver


Certificate and Encryption

Hi all, I am new to encryption and certificate .. I builed accroding to tutorials given on this page. but I have some question .

when I used "ca.der.crl" and "ca.crt.der" and try to connect to with Server it connects fine but if  i delted these two files and try tou connect UaExpert with Server .It shows me some warning and I have to Accerpt the server .. and again ot connects ..So my question is what is difference between both cases.
it should not to connect .

Hi,
Did you already read this document? Do you understand the concepts in there?
You are getting those red warnings because the client needs to know in advance which servers he can trust. That information is included in the Certificate Authority's certificate and revocation list.

yes i did, but my question is why it connects when I check the option ..... Accept the server certificate for this session . (at the end of scree shot).

It connects because you are explicitly saying that you trust the server.
So the client app allows you to continue eventhough it does not have an automatic way to verify the trustworthyness of the server, but that is only because you manually chose to trust it.
Have you ever seen these in your browser?

Is the same thing, the browser is telling you "I have no automatic way to determine that this website is trust worthy, but you can continue if you want"

okay , got it , it means it allowed from server side , that it can connect to any client

No, is the client that has to trust the server. The server allows for any client to connect by default, unless you enable user/password authentication.
Do not confuse the mechanism that make clients trust servers with the mechanims that make servers trust clients.

okay ... let me read it again come to you back

okay, It works fine thank you ...but still i have a question . Can I write these key.der and cer.der in eeprom ? at run time ..

If you'd like to have those files embedded in your application I suggest to bundle them using The Qt Resource System. This way your app will bundle the files with the executable, but in code you can treat them as regular files.

but I mean at he run time? so i can direct upload from node ..

I mean the server files (server.crt.der and server.key.der), they need to be loaded once at startup and that's it. There is no need to load them afterwards at run time. So you can use The Qt Resource System for those.
The client files though (ca.crt.der, ca.der.crl), those need to be installed manually for every client, there is no automated way to do that.

okay , I got it thank you :)

but Is it possible , If i want to change the certificate at run time and want to write in EEPROM .

That I dont know. I dont handle EEPROM. You will have to investigate yourself. Good luck and let me know if you succeed.

okay thnakyou , I will :)

can I used " -----BEGIN CERTIFICATE-----" and -----BEGIN PRIVATE KEY----- as string instead of Hex  0x2D 0x2D 0x2D  from server.crt and server.key file rspectively


Added More Functionality to the Smart Converter Play

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots or example output

Hi React Play Team , I have added 3 more functionality to Smart Counter Play as shown in Screenshot provided . Tested the code so no new error will occur.


fixes #71

Allow node 14

Thank you for your contribution @vitaliytv! 😃
This PR is related to https://github.com/javierbrea/nodejs-ci-cd-shared-config/pull/11 , which configures Travis to use also Node.js v14 in the pipeline. I will re-run this one again when pipeline is properly configured to test it.
I've also changed the target branch to "release", where the version will be upgraded before merging it into master and publishing it.

Successfully built with Node.js v14 in release branch: https://travis-ci.com/github/javierbrea/cypress-localstorage-commands/builds/162175632


[ODS-4740] Implement unit tests, end to end tests and Grand Bend tests for Postgres migrations From v3.4 to 5.1.0

Closing pull request due to this is not complete

Closing pull request due to this is not complete


Use info object to improve data flow in assemble

We could use the info object in the assemble main loop to avoid statements like basis = basis_new to improve data flow visibility.
This would also be useful for a potential "resume simulation" feature, where the info state would be saved to disk and one could call assemble(info, ...) to continue a previous basis assembly run.

Adjusted the assemble main-loop using the info object. This made the "resume simulation" feature natural to implement. We can now include a previous assembly info as a keyword argument as assembly(...; previous_info=info).
Maybe we could also have a separate resume_assembly function for this purpose?


Tuning Quiet for Reliable Low Bitrate Whisper

I want to broadcast a very low bitrate of 16-32 bits per second for source identification (as opposed to large data transmission), ideally continually, while staying as inaudible as possible. Which settings should I be tuning?
Have you explored lower-end bass frequencies for this purpose, perhaps infrasonic? And could I consider stretching a symbol over a much wider bandwidth at a low energy to ensure delivery?
(My background is systems & signals, but haven't done much modulation in a while.)

@brian-armstrong if you have time, would really appreciate an answer :). Is it possible to do this with a quiet-profile / changing parameters? If not, why? Thanks!

Haha I understand. Thanks anyway for quiet - it's such a cool library. If you merge / publicize that branch please let us know :)

Hi @brian-armstrong, were you ever able to get this branch in?  I was looking and I didn't see it.
Thank you


Images don't show up

2 issues on the cli-doc page:

the example result images at the end of each module description don't show up:

Could we update this older image:

with the new version:

The same on the GWB-APP doc-page:

the example result images at the end of each module description don't show up, for example:

Could we update this older image:

with the new version:

I think that the image were reloading in github OR the JRC proxy was blocking it. It work lika charm on my side:

I'm changing the picture for the download_test_dataset


API: get_recent_logs should be GET request

Issue:

get_recent_logs is POST request

Solution:

Make get_recent_logs GET request

Extra request:

Add from & to parameters that will return all logs between the given timestamp/datetimes.
If no to param provided, return all logs from period.

BONUS:

Create websocket that will be pushing the latest logs

get_recent_logs

This does accept a GET request as well as a POST, I'm partial to leaving it at both despite how it's named because it lets people submit a JSON body for the parameters.
The log stream websocket stuff already supports sending latest logs.
Looking at adding the from/to parameters right now though.


Eric dev merge2

Smalll notes on PR:

MANIFEST.in

what is the point of this file?

ndmg/nuis/

you made this folder with files in it, but didn't add it to the ndmg/__init__.py. Is that an oversight?

ndmg/register/register.py

why is the function resample_ant called that? You say in the comments it uses dipy.

ndmg/scripts/fngs_pipeline.py

let's rename this. I think our two pipelines should be called ndmg_dwi and ndmg_fmri. That is also consistent with the demos, ndmg_demo-dwi, etc.

ndmg/utils/utils.py

get_brain_data.py should also accept nifti2 images. and I still think it should actually be called load_nifti because that's what it is. To be honest I'm not sure why it exists at all? The pipeline accepts the string (so loads the image from that), and your pipeline should be able to know where you have the string and where you have the image, why don't you just skip this function and keep track of the image once you load it?

I haven't yet installed and tested the pipeline yet, but that'll give you some stuff to work on in the meantime.

The manifest is to add a template file for the quality control.

yep, thats a oversight, sorry about that :)

Resample antisotropic (ant) I named it this because it is the only one that resamples antisotropic images effectively.

Sounds good

This gets niftis, nifti2, as well as numpy arrays. I added this because there are functions where I would only have a matrix in some spots (ie, a matrix of mni space coordinates and intensities at those spots), but wanted one function since I would do some code operation in another location but on niftis. This way, I can have 1 load function that does both and lets me use the same code minimally.

Ill make those changes and update accordingly.

-3. I think you mean the word anisotropic, not antisotropic...
-5. I still don't understand why this is a thing? why can't you just load the image once when the pipeline starts and then depending whether the function you're calling takes an array or the full nifti pass the right one. I don't think we need a wrapper that only contains a one-line function call.
Also, just ran the demo. It took quite long! There was no timing info, but I was definitely waiting more than 5 min. Can you please downsample your data more in time to make this take less time?
For 1 we're fine, for 3 rename it, for 5 I have failed to be convinced we need it so I think remove.
Also, this branch doesn't have any of my demos in it, can you please merge in master?
Also, I didn't mention this, but I still don't like how the QC is 400 lines of mostly the same stuff. We can reduce that by probably 200 or more by being clever and writing that more like how I've written the plotly plotting code, in other words, despite doing nearly identical but slightly different things and just repeating myself, I've batched things in a way that minimizes the number of lines of code. I don't know if this is good practice generally, but I like it because when I change function calls I only have to change one line rather than 10.

Also, qc.py should have a better name. It doesn't do all qc, just registration I think? Then let's name it that.


radare2/iaito: 5.8.8 -> 5.9.0

Description of changes
Fixes CVE-2023-4322, CVE-2023-5686, CVE-2023-46569, CVE-2023-46570 and CVE-2023-47016.
Changes:
https://github.com/radareorg/radare2/releases/tag/5.9.0
iaito changes:
https://github.com/radareorg/iaito/releases/tag/5.9.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Hm, apparently x86_64-darwin failure is new
@NixOS/darwin-maintainers does this looks like something with a standard easy fix?

Upstream issue: https://github.com/radareorg/radare2/issues/22793

Hm, apparently x86_64-darwin failure is new
@NixOS/darwin-maintainers does this looks like something with a standard easy fix?

THREAD_CONVERT_THREAD_STATE_TO_SELF was added in 11.0. Since it appears upstream intends to support older versions, the easiest fix (assuming no other issues) would be to define it to 1 to match the definition in the headers.

We'll see what CI says in https://github.com/NixOS/nixpkgs/pull/302111


Add moved block into terraform schema

Adding moved as a valid block type into the terraformSchemaV012 schema to prevent a silent failure.
Previous behavior would result in "no cloud resources were detected" if there was a moved declaration in the terraform file. By adding it to the schema normal processing is allowed to continue.
This block has no impact on the cost calculations so no additional processing is necessary.

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

@lyonsden @clete2 this is released in v0.10.18


fix: incorrect identification of renamed tokens

Description
diff-generator incorrectly identifies token renames due to an invalid uuid comparison. Both objects being compared should be first checked for valid uuids before comparing the uuids otherwise there can be a false positive when neither object has a uuid.
Related Issue
https://jira.corp.adobe.com/browse/DNA-1376
Motivation and Context
How Has This Been Tested?
v48 to v49 cli comparison
Screenshots (if appropriate):
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Run report for 8d69ed90
Total time: 14.5s | Comparison time: 15.1s | Estimated savings: 562.4ms (3.7% faster)

Action
Time
Status
Info

🟩
SyncWorkspace
5.2ms
Passed

⬛
SetupToolchain(node:~20.12)
2.1s
Skipped

🟩
SyncProject(node, diff)
0.2ms
Passed

🟩
SyncProject(node, root)
0.2ms
Passed

🟩
InstallWorkspaceDeps(node:~20.12)
6.8s
Passed

🟩
RunTask(diff:diff)
104.6ms
Passed

🟩
RunTask(root:test)
1.5s
Passed

🟩
RunTask(diff:test)
5.5s
Passed

Touched files
tools/diff-generator/src/lib/renamed-token-detection.js


Supplied PxGeometry is not valid

I receive an error when trying to load the GalaxyExplorer in Hololens emulator.
Supplied PxGeometry is not valid. Shape creation method returns NULL.
(Filename: C:/buildslave/physx/build/Source/PhysX/src/NpFactory.cpp Line: 675)
The program '[3624] GalaxyExplorer.exe' has exited with code -1 (0xffffffff).

I followed the instructions in the channel 9 tutorial, with the exception that I git cloned the project, instead of downloading a zip.  The emulator starts, 'pinning Earth to the middle of the room', it starts to zoom out to the solar system, video freezes (its cold in space!) right after 'is part of an even bigger picture', and throws the error above.  Using HoloLens Emulator 10.0.11082.1039.

Are you deploying a debug version of Galaxy Explorer to the emulator? From the README:
"From Visual Studio, set the Configuration to Release for faster builds (doesn't use .NET Native) or Master to build the type of package the Store needs (uses .NET Native). Make sure to change ARM or x64 to x86. Now you can deploy to the Emulator, a Remote Device, or create a Store package to deploy at a later time."

Selecting "Release" solved the problem.  Thank you.


Added sudo configuration

A simple feature to add an user to sudoers without password.

hi, thanks for the PR but here are some thoughts:

I try to keep this role as simple as possible and for adding the sudo feature like this I would probably create a users-sudo role.
The way I'm currently tell wich users have sudo permissions is to use franklinkim.sudo, configure a sudo group and set the group on the users

Hi,
I see, no problem. You can close this PR then.


[zh] Add missing pages in Chinese version https://kubernetes.io/zh/docs/reference/scheduling/

Problem:
https://kubernetes.io/zh/docs/reference/scheduling/  is missing in Chinese version.
See  more: https://kubernetes.io/zh/docs/reference/scheduling/
Proposed Solution:
Add /docs/tasks/configmap-secret/ to zh version with three articles to be translated.

[ ] /zh/docs/reference/scheduling/config.md

[ ] /zh/docs/reference/scheduling/policies.md

Page to Update:
https://kubernetes.io/zh/docs/reference/scheduling/

/assign

/language zh


AudioCard does not support Images

According to the documentation, the AudioCard supports an Image.
However, when connecting to a bot that uses AudioCards with images, they are not displayed. Looking at the code, the AudioCard does not support this feature.
Could it be implemented, please?
Thank you

Thanks @albertaparicio - this seems like a decent upgrade :)
If you like, you can fix up the code and send us a pull request! wink wink

Note to Fixer

[ ] Typings needed to be added to DirectLineJS
[ ] Support audio card with image in Web Chat

Even though the documentation says AudioCards support images, channels like Skype, Teams, Facebook Messenger, and currently WebChat resolve to a 'Payload is incorrect' or a 'Malformed activity' error when an AudioCard has an image attribute. Developers would have to add channel specific conditionals before adding an image to an AudioCard if they wanted to send AudioCards with images and use multiple channels.
Note, it appears that WebChat is already configured to supports audio posters; however, the AudioCard Interface in DirectLineJs doesn't include image as a property and would still need to be updated.

Transferring this issue to Direct Line. However, since other channels don't support this (including Teams), we should consider whether we truly want / need to support AudioCards with images.


How to: equal height columns with background-color

Hello
I'm looking into your super-gigi mixins and I was wondering how you would go about creating some equal height columns each with a different background color.

Something like that?
http://codepen.io/MakhBeth/pen/aZzdYy?editors=1100

Thank you for replying - yes, something like that BUT with a gutter
On Tue, May 31, 2016 at 8:51 AM, Davide Di Pumpo<EMAIL_ADDRESS>wrote:

Something like that?
http://codepen.io/MakhBeth/pen/aZzdYy?editors=1100
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Objectway/super-gigi/issues/1#issuecomment-222732491,
or mute the thread
https://github.com/notifications/unsubscribe/ABe4lCEG9GAlUeyJoUFHl-TmkpPNXInnks5qHFkNgaJpZM4IqoZw
.

--
Marco M. Jaeger
http://net4visions.com

Yeah, to do that you have to do something like that: http://codepen.io/MakhBeth/pen/aZzdYy (I've updated the old example, changing a little the dom using another element).


Best place for fallback to NULL if value is empty string

Hi,
If we have a table with some text fields (postgresql):
await knex.schema.createTable("businesses", (table: Knex.TableBuilder) => {
    // ...
    table.string("name").notNullable();
    table.text("short_description");
    table.text("text");
    table.string("street");
    table.string("zip");
    table.string("city");
    // ...
});

the default values are set to null. However, if we insert an empty string, the value is set to EMPTY instead of NULL.
So i thought there is maybe an already integrated solution in Objection. But i can't find anything.
Therefore my current solution is to always check the empty strings and replace them with null. For each column... and twice in update and insert. But this feels wrong:
class BusinessModel extends Model {
  static tableName = "businesses";

  // ...

  shortDescription: string | null;
  text: string | null;
  street: string | null;
  zip: string | null;
  city: string | null;

  // ...

  $beforeInsert(): void {
    if (this.shortDescription === "") {
      this.shortDescription = null;
    }
    if (this.text === "") {
      this.text = null;
    }
    // ... AND SO ON with all other fields :(
  }

  $beforeUpdate(): void {
    if (this.shortDescription === "") {
      this.shortDescription = null;
    }
    if (this.text === "") {
      this.text = null;
    }
    // ... AND SO ON with all other fields :(

    this.updatedAt = new Date().toISOString();
  }

  // ...
}

This is not the way to go, isn't it?
Thank you for any tips or finger pointing on keywords.

You can turn that stuff into a function and just call the function from both beforeInsert and beforeUpdate. No need to copy paste everything.
Another option is to override the $formatDatabaseJson
$formatDatabaseJson(json) {
  json = super.$formatDatabaseJson(json)

  for (const key of Object.keys(json)) {
    if (json[key] === '') {
      json[key] = null
    }

    return json
  }
}

https://vincit.github.io/objection.js/api/model/instance-methods.html#formatdatabasejson

Ok. Thank you.


Redistributable is not installed if platform is specified (Windows 11 on VMware)

Environment

MDT 8456 + Windows 11 ADK (22H2 Sep'2023) + VBScript Fix
Deploying Windows 11 22H2 x64
Deploying VcRedist bundle (created with 4.1.484 module) with six VC++ redistributable

TS is run on a VMware ESXi virtual machine

Expected Behavior
Six VC++ redistributable should be installed.
Current Behavior
None of them are installed. The logs show that the redistributable have not been installed because the current platform is not supported.

VcRedist specifies the platform for each installer as Windows 7 and above:

Workaround
Change platform to "Any" and redistributable are installed correctly:

The logs show the successful execution of the installer:

Assumption
Could it be because Windows 11 is installing? As of today it is not officially supported and may not be detected correctly as a platform.
I'm going to do some testing using Windows 10 to see if the behavior is different.

Windows 10 has the same behavior. No VC++ redistributable installed.
I'm now checking different WSF/VBS files to debug this behavior.

WMI query should match Windows 10 and 11:

Version: 10.0.19045 and 10.0.22621
OSType: 18
OSArchitecture: 64-bit

I have not been able to get ZTIUtility.vbs to generate any logs.
In fact, when the IsSupportedPlatform function is called, the supported platform or unsupported platform message does not appear:

I've asked MDT experts on Twitter to see if they know why. I can't think of any other way to debug.

I've made an update to the Import-VcMdtApplication function in the development channel that does two things:

Uses Any platform for the x86 Redistributables
Uses All x64 Windows 10 Client and All x64 Windows Server 10 for the x64 Redistributables

I've tested this on Windows 11 22H2 and it worked OK. I haven't tested on Windows 10, but I assume it will work there as well.

Hi Aaron,
I'm going to try to replicate your configuration by changing the platform manually.
So far I have seen that it is not a problem with platform detection because it seems to work perfectly with other applications.
For example, if I change the 7-Zip app from Any to "All x64 Windows 7 and newer" it installs perfectly on Windows 11.

If I tell it "All x64 Windows 7 and newer" and also "All x86 Windows 7 and newer" to simulate a VC++ x86, it also installs and the x86 condition is shown as unfulfilled.

I think it must be something related to the management of the bundles that MDT does. It may be that, if there are inconsistencies between the applications that make it up, they are not installed individually.
I keep trying...

I'll do some more tests. We'll leave the issue open until I push the new version of the module. I could add a parameter to set the platform to Any.


Can't use format script on master branch

Question

> make format

info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
error: failed to compile `cargo-sort v1.0.9`, intermediate artifacts can be found at `/tmp/cargo-installYuRSva`

Caused by:
  package `anstream v0.6.4` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.67.0-nightly
  Try re-running cargo install with `--locked`
make: *** [Makefile:334: pre-format] Error 101

Reproduce
cargo uninstall cargo-sort
make format

TiKV uses an older version rust complier. For now, we can workaround the issue by using the latest ngihtly compiler.
rustup update nightly
cargo +nightly install cargo-sort

The rust-toolchain file seems to fix the toolchain for the entire project. Is there a way to bind the compilation dependencies of the project to this version, or to directly specify the versions of fmt and sort?


fix github-action dependabot directory

Why:
According to https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions, workflow files must always be stored in .github/workflows. Thus the directory for dependabot should be adjusted accordingly.
The current way this is written is confusing:
  # Maintain dependencies for GitHub Actions
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"

  - package-ecosystem: "github-actions"
    # Workflow files stored in the
    # default location of `.github/workflows`
    directory: "/"
    schedule:
      interval: "weekly"

Closes: #28102
What's being changed (if available, include any code snippets, screenshots, or gifs):
The directory for github-actions is changed from "/" to the correct location of "/.github/workflows".
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@KonradHoeffner Thank you for opening a PR and linking it to your issue! ✨
I'll get this triaged for review! :zap:

hi @KonradHoeffner, thanks so much for opening this PR!
I checked your suggestion with the Dependabot team. In fact, it's not necessary to specify .github/workflows in the dependabot.yml configuration. When you configure '/', Dependabot will search both the .github/workflows directory, and the action.yml file in the root directory.✨
I will close this PR, but please let us know if there's anything else, and thanks for caring about our docs! 💛

Hi @am-stead, thanks for the clarification! However I'm still a bit confused about the purpose of directory if you can always specify / and it will automatically find it everywhere, in what cases do I actually need to adapt that value and why does it exist in the first place?
Or is it just hard coded to those exact two locations? In this case I think it would help to specify this in the documentation, so that other readers do not get confused as well.

Hi @KonradHoeffner, yes, for github-actions, the code itself specifies the .github/workflows directory, and a search for action.yml / action.yaml from the root directory. I'll open an internal issue based on your feedback, to see if we can improve the docs here!


error while running electrum-personal-server config.ini

hello,
i receive this error when i run the code:

and if i enter walletpassphrase in the config.ini it gives me this error:

Firstly, your censoring of your bitcoin addresses isn't good enough and it's still possible to figure out what those 3 addresses are. You need to blank out the whole address (ideally you'd create a brand new wallet now)
To solve the wallet encryption error you should create a brand new Bitcoin Core wallet file, here is the relevant part from the README: On first run, it is recommended to create a wallet dedicated to Electrum Personal Server using the command line argument bitcoin-cli createwallet electrumpersonalserver true.. You could also check one of the install guides.
To solve the "bad master public key format" it looks like inside the config file theres an uncommented line that starts with Welc, remove that.

Firstly, your censoring of your bitcoin addresses isn't good enough and it's still possible to figure out what those 3 addresses are. You need to blank out the whole address (ideally you'd create a brand new wallet now)

Unrelated, but my curiosity got the best of me, how is that done, or how would that be done?

Unrelated, but my curiosity got the best of me, how is that done, or how would that be done?

OP has left the first 20 or so characters of the address uncensored. If they were ever used in a transaction then the entire blockchain could be searched for those prefixes which would result in finding the full address. Another way works by using the checksum which is in each address, and use a bit of CPU power to bruteforce the remaining few characters (the length of each address is known too)


Getting HTTPError: 400 Client Error: Bad Request at /social/complete/facebook

Package Versions
django: 1.6.8
social: 0.1.26
Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "django/views/decorators/csrf.py", line 57, in wrapped_view
    return view_func(*args, **kwargs)
  File "social/apps/django_app/utils.py", line 45, in wrapper
    return func(request, backend, *args, **kwargs)
  File "social/apps/django_app/views.py", line 21, in complete
    redirect_name=REDIRECT_FIELD_NAME, *args, **kwargs)
  File "social/actions.py", line 44, in do_complete
    *args, **kwargs)
  File "social/strategies/base.py", line 71, in complete
    return self.backend.auth_complete(*args, **kwargs)
  File "social/backends/facebook.py", line 69, in auth_complete
    'code': self.data['code']
  File "social/backends/base.py", line 212, in get_querystring
    return parse_qs(self.request(url, *args, **kwargs).text)
  File "social/backends/base.py", line 205, in request
    response.raise_for_status()
  File "requests/models.py", line 795, in raise_for_status
    raise HTTPError(http_error_msg, response=self)

Variables
In social/strategies/base.py, line 71, in complete:
'args'
'kwargs'    'request'    <WSGIRequest at 0x140466860910864>
            'user'       <SimpleLazyObject: <User: SomeUser>>
'self'      <social.strategies.django_strategy.DjangoStrategy object at 0x7fc0fddc24d0>

In social/backends/facebook.py, line 69, auth_complete:
'args'
'key'       ********
'kwargs'    'request'    <WSGIRequest at 0x140466860910864>
            'user'       <SimpleLazyObject: <User: SomeUser>>
'secret'    ********
'self'      <social.backends.facebook.FacebookOAuth2 object at 0x7fc0fddc27d0>
'state'     u'gHj0lULwmT52WoDhhAYW2MQKb73w4HdL'
'url'       'https://graph.facebook.com/oauth/access_token'

In social/backends/base.py, line 212, get_querystring:
'args'
'kwargs'    'params'    'client_id'        ********
                        'client_secret'    ********
                        'code'             u'AQBGrKEWzD-...'
                        'redirect_uri'     'http://www.myapp.com/social/complete/facebook?redirect_state=gHj0lULwmT52WoDhhAYW2MQKb73w4HdL'
'self'      <social.backends.facebook.FacebookOAuth2 object at 0x7fc0fddc27d0>
'url'       'https://graph.facebook.com/oauth/access_token'

In social/backends/base.py, line 205, request:
'args'
'kwargs'    'params'    'client_id'        ********
                        'client_secret'    ********
                        'code'             u'AQBGrKEWzD-...'
                        'redirect_uri'     'http://www.myapp.com/social/complete/facebook?redirect_state=gHj0lULwmT52WoDhhAYW2MQKb73w4HdL'
'method'    'GET'
'response'  <Response [400]>
'self'      <social.backends.facebook.FacebookOAuth2 object at 0x7fc0fddc27d0>
'url'       'https://graph.facebook.com/oauth/access_token'

User
ID:                  13309
Username:            SomeUser
Is Authenticated:    True

I've read issue #207 but this is happening in a live site (so it is not using localhost), so that doesn't resolve the problem.
I checked the code in the latest version of social/backends/facebook.py and the access token URL is different (it's now 'https://graph.facebook.com/v2.3/oauth/access_token' in version 0.2.10). If I upgrade to version 0.2.10 from 0.1.26, will this issue be resolved?

Have You resolved this issue? I get the same problem, but it happens sometimes.

@patriotyk  This issue has fixed in latest version. I have tested.


Issue reconnecting

Hello, i'm currently experiencing an issue.
Sometimes after disconnecting and reconnecting to de devicce, the video start, but no event get tirggered, and i'm not able to know anything about the state of the video..
So, in few words:
Connect to device
Disconnect to device (after the video started)
And going on..
Sometimes the video start but no event get triggered (so, no timeupdate, no statechange, ...)
Is anyone experiencing that?

Code example below:
function castVideo()
{
    if (cjs.available) {
        cjs.cast('http://<IP_ADDRESS>/' + data['videoLocation'],{
            poster: 'http://<IP_ADDRESS>/' + data['Poster'],
            title: data['Title'] + " (" + data['Date'] + ")",
            description: '',
        });
    }
    else
    {
        alert('Browser not supported');
    }
}

cjs.on('connect', () => {
    $('#cast').attr('onclick','cjs.disconnect()').text('cast_connected');
    console.log(cjs.device);
});
cjs.on('disonnect', () => {
    $('#cast').attr('onclick','castVideo()').text('cast');
});

What browser are you using?

What browser are you using?

@Pollo00S try to add origin_scoped joinpolicy

new Castjs({
    joinpolicy: 'origin_scoped'
});


Comparing Performance of Facial Landmark Models Between Versions <IP_ADDRESS> and Latest (November 2023)

Hello,
I've been working with the facial landmark model (facemesh) provided by MediaPipe, and I am currently conducting a performance comparison between two versions: the version from Dec 2021 (<IP_ADDRESS>) and the latest release as of Nov 2023.
Could you provide any insights or a changelog specific to the facial landmark detection models that would highlight performance improvements or changes made since version <IP_ADDRESS>? I am particularly interested in any enhancements that may impact accuracy.
This information will be incredibly helpful for my analysis and in deciding whether to integrate the latest version into codebase. Thank you.

Both the models and the implementation of the API changed significantly between our old (legacy) solutions and the new MediaPipe Tasks API. We currently do not have comparison data. Is there feature you are interested in or concerned about?


MatBadge Error in IE and Edge

Expected Behavior
When use IE or Edge Browser, the component MatBadge give to me an error becouse the method _clearExistingBadges use a function call "contains()". This Function is not supporter in IE 11 and Edge Browser.
Actual Behavior
What behavior did you actually see?

Environment

Angular:
CDK/Material:
Browser(s):
Operating System (e.g. Windows, macOS, Ubuntu):

The only place where we call a method called contains in MatBadge is here: https://github.com/angular/components/blob/master/src/material/badge/badge.ts#L262. The classList.contains is supported in both IE11 and Edge. It looks like it might be an issue in your setup.

@germanl19921 can you share a full reproduction?

@jelbourn @crisbeto I'm sorry, I thought the problem was in the 'contains' function but it was my mistake.
From what I could read in this documentation that you sent here  the property 'classList' in IE11 does not have support for SVG elements. This is my case, because I use the 'matbadge' component in conjunction with the 'matIcon' component.
Solve the problem by creating a 'div' element that encapsulates the matIcon component and on that component I use the matBadge, that way I did not get the error.


kubergrunt: 0.9.3 -> 0.10.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/gruntwork-io/kubergrunt/releases.
meta.description for kubergrunt is: "Collection of commands to fill in the gaps between Terraform, Helm, and Kubectl"
meta.homepage for kubergrunt is: "https://github.com/gruntwork-io/kubergrunt"
meta.changelog for kubergrunt is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.10.0 with grep in /nix/store/lkjxf7rx3hgynyvl8hj9r52rmanrin10-kubergrunt-0.10.0
found 0.10.0 in filename of file in /nix/store/lkjxf7rx3hgynyvl8hj9r52rmanrin10-kubergrunt-0.10.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kubergrunt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lkjxf7rx3hgynyvl8hj9r52rmanrin10-kubergrunt-0.10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lkjxf7rx3hgynyvl8hj9r52rmanrin10-kubergrunt-0.10.0
ls -la /nix/store/lkjxf7rx3hgynyvl8hj9r52rmanrin10-kubergrunt-0.10.0/bin

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

1 package built:

kubergrunt

Maintainer pings
cc @psibi for testing.

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

1 package built:

kubergrunt


Features/autoagent interface

Description

New track identification system in autonomous_agent
New HDMap sensor that reveals the location of an HDMap for the current map (ply file) and exposes the current pose of the vehicle (x, y, z, pitch, yaw, roll) so that the Agent can locate the right area of the HD map.

Fixes #
Where has this been tested?

Platform(s): Ubuntu 16.04
Python version(s): 3.5.5
Unreal Engine version(s): NA
CARLA version: 0.9.4

Possible Drawbacks

This change is


Regression: list-active.py no longer shows value

After upgrading to the new DeserializingConsumer plus many other changes including schema changes, the message value as entered by epics2kafka-alarms is now empty when viewed from list-active.py.   However, the message is correct when viewed using the kafka-avro-console-consumer provided by Confluent with the schema registry.  Further, the set-alarming-epics.py appears to submit messages that are read just fine by list-active.py.   The epics2kafka-alarms schema appears to be slightly different, which is likely the cause.   In particular, the docs fields are now missing despite the connector config including:
    "value.converter.enhanced.avro.schema.support":  true,
    "value.converter.connect.meta.data": false

> docker exec -it console bash
bash-5.0# /plugins/epics/scripts/set-alarming-epics.py alarm4 --sevr MAJOR
Message delivered
bash-5.0# /scripts/client/list-active.py
Thu Jan  1 00:00:00 1970 | kafka | epics2kafka-alarms | epics2kafka-alarms | {'name': 'alarm3', 'type': 'EPICSAlarming'} = {'msg': {}}
Thu Jan  1 00:00:00 1970 | kafka | epics2kafka-alarms | epics2kafka-alarms | {'name': 'alarm1', 'type': 'EPICSAlarming'} = {'msg': {}}
Thu Jan  1 00:00:00 1970 | kafka | epics2kafka-alarms | epics2kafka-alarms | {'name': 'alarm2', 'type': 'EPICSAlarming'} = {'msg': {}}
Wed Feb 10 15:37:55 2021 | root | set-alarming-epics.py | console | {'name': 'alarm4', 'type': 'EPICSAlarming'} = {'msg': {'sevr': 'MAJOR', 'stat': 'NO_ALARM'}}

> docker exec -it registry bash
appuser@registry ~]$ kafka-avro-console-consumer --topic active-alarms --bootstrap-server kafka:9092 --property "schema.registry.url=http://registry:8081" --from-beginning
...
{"msg":{"org.jlab.alarms.EPICSAlarming":{"sevr":"INVALID","stat":"DISABLE"}}}
{"msg":{"org.jlab.alarms.EPICSAlarming":{"sevr":"INVALID","stat":"DISABLE"}}}
{"msg":{"org.jlab.alarms.EPICSAlarming":{"sevr":"INVALID","stat":"DISABLE"}}}
{"msg":{"org.jlab.alarms.EPICSAlarming":{"sevr":"MAJOR","stat":"NO_ALARM"}}}

Documenting the journey for my future self.
There should only be a single version of each schema, but there are two versions being created of each active key and active value subjects.  The first version is submitted to the registry by epics2kafka-alarms.  The second, by set-alarming-epics.py.
Example showing how epics2kafka-alarms no longer includes all four "doc" fields in the key schema (but does include two):
> docker exec -it console bash
bash-5.0# /scripts/registry/describe-alarm-schemas.py
ID: 3, Subject: active-alarms-value, Version: 2, File: /tmp/schemas/active-alarms-value.avsc
ID: 4, Subject: active-alarms-key, Version: 2, File: /tmp/schemas/active-alarms-key.avsc
bash-5.0# /scripts/registry/describe-version.py active-alarms-key 1
Describe active-alarms-key; version 1
ID: 1, Subject: active-alarms-key, Version: 1, File: /tmp/schemas/active-alarms-key-1.avsc
bash-5.0# diff /tmp/schemas/active-alarms-key.avsc /tmp/schemas/active-alarms-key-1.avsc
--- /tmp/schemas/active-alarms-key.avsc
+++ /tmp/schemas/active-alarms-key-1.avsc
@@ -2,7 +2,6 @@
     "type": "record",
     "name": "ActiveAlarmKey",
     "namespace": "org.jlab.alarms",
-    "doc": "Active alarms state (alarming or acknowledgment)",
     "fields": [
         {
             "name": "name",
@@ -14,7 +13,6 @@
             "type": {
                 "type": "enum",
                 "name": "ActiveMessageType",
-                "doc": "Enumeration of possible message types",
                 "symbols": [
                     "SimpleAlarming",
                     "SimpleAck",

Looks like the fingerprinting strategy used to determine if two schemas are identical is currently up for debate / changing and client libraries may run afoul here too:
AVRO has it is own standard, though it isn't clear it is used by the schema registry?
Handling of fingerprinting of schemas has always been extra complicated with Kafka Connect, especially if there is more than one registry, and it seems the developers can't make up their mind how to handle it, which reminds me of how the avro developers can't make up their mind with their API either.

To clarify:
Each producer has an identical copy of the schema and passes it along to the registry before writing messages to Kafka.  What is supposed to happen is that if the schema does not already exist, it is registered.  If it does exist (equality determined by some fingerprinting algorithm) then then no new version of the schema is created - likely a validation response is provided so that you can feel good that every producer is "on the same page" as it were.   In our case we're getting multiple schema versions registered with only the "doc" fields different (even though they are coded the same and I believe this used to work)
One work-around might be to disable producers from attempting to register/validate the schema as suggested here:
auto.register.schemas=false
use.latest.version=true

Though, only works if you are ok using the latest version of the schema and okay with the fact that your various producers are incapable of generating identical schemas.

Note: the producers often need the schema ahead of time (compile time actually) for code generation - for example Java classes are created based off of the schema.   In Python, I believe a dict object is mapped to a class manually, but the point is the producer must know the schema in advance.   So up until now it seemed like they might as well pass the schema to the registry to validate.

Tracing my steps back I remember fighting to get AVRO Enums and Unions working in Kafka Connect a few months ago and it looks like some changes were made in that area since:  https://github.com/confluentinc/schema-registry/pull/1625.   I guess I'll have to dig though pull requests and source code, again as this stuff isn't documented anywhere.

I think there are two issues actually:

list-active.py does not handle schema evolution / compatibility now (and I think it used to)
Our Connect Transform never actually produced an exact match schema (we just never noticed)

For the first issue we might just be using the new DeserializingConsumer API wrong, or configured something wrong.   It should be possible to say try to use this schema, but if you encounter messages produced with an older schema use it.  The only differences are doc fields, so they should be compatible (need to figure out compatibility level settings).
For the second issue, we should be creating the exact same schema and avoiding the first issue altogether.   I've updated the hints embedded in the Connect Schema for the AVRO Converter to use by examining source code and unit tests , but determined that version 5.5.1 of Confluent libs isn't going to work, but upgrading to 6.1.0 does.  I've created new unit tests to demonstrate this:
https://github.com/JeffersonLab/epics2kafka-alarms/blob/4cb8e9c18b4ea4ae6aa39f2acfcf0c9865a09c7c/src/test/java/org/jlab/alarms/EpicsToAlarmKeyTest.java#L77-L104
Toggle the lib version in the build.gradle between 5.5.1 and 6.1.0 to toggle pass/fail.   Runtime version coming from epics2kafka Docker image is 5.5.1, which won't work, so need to update.

Bump dep versions and converted to jaws-libp and JAWS / epics2kafka integration is in a better place - though still fighting with:
https://github.com/JeffersonLab/jaws/issues/21


Prepare Rosetta integration for hardfork

The hardfork will introduce changes to both the transaction format, and to the way that account history is archived on the archive nodes. We will need to adapt the rosetta integration to those changes, so that the integration does not break at the hard fork.
See https://github.com/MinaProtocol/mina/pull/11621/files

@kantp Which other issues must be completed in order for this epic issue to be completed? Or, is this effectively done already by the work already merged?

One could consider it completed, as the team has completed the implementation tasks, and we have seen all the tests succeed on a local environment.
However, I would like to see #12119 closed before I truly call it done, to ensure the tests are run in CI and we don't break things again.


Add has_duplicates property for Index and MultiIndex

Codecov Report

Merging #946 into master will increase coverage by 0.73%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #946      +/-   ##
==========================================
+ Coverage   92.02%   92.76%   +0.73%
==========================================
  Files          34       34
  Lines        6436     6441       +5
==========================================
+ Hits         5923     5975      +52
+ Misses        513      466      -47

Impacted Files
Coverage Δ

databricks/koalas/missing/indexes.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/indexes.py
96.57% <100%> (+0.14%)
:arrow_up:

databricks/koalas/__init__.py
75.6% <0%> (-2.44%)
:arrow_down:

databricks/koalas/generic.py
95.07% <0%> (-0.5%)
:arrow_down:

databricks/conftest.py
91.48% <0%> (ø)
:arrow_up:

databricks/koalas/series.py
95.92% <0%> (+0.14%)
:arrow_up:

databricks/koalas/testing/utils.py
78.12% <0%> (+0.62%)
:arrow_up:

databricks/koalas/utils.py
98.02% <0%> (+0.65%)
:arrow_up:

databricks/koalas/plot.py
94.04% <0%> (+0.71%)
:arrow_up:

databricks/koalas/namespace.py
86.83% <0%> (+1.25%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Execute $queryRaw query from a variable

Problem
I have a SQL query stored in a variable (it's kept outside of the source code files).
I need a way to execute an arbitrary SQL query with the support of variables (special characters escaping, security, etc).
For example:
  const query = "SELECT * FROM tasks WHERE user_id = $1"
  const variables = ["123"]
  await result = await prisma.$queryRaw(query, variables) // this is impossible

The irony is that the original postgres interface is exactly what I need. Prisma uses the sql-template-tag library to convert the template tag to the format I have.
const query = sql`SELECT * FROM books WHERE id = ${id}`;

query.sql; //=> "SELECT * FROM books WHERE id = ?"
query.text; //=> "SELECT * FROM books WHERE id = $1"
query.values; //=> [id]

pg.query(query); // Uses `text` and `values`.
mysql.query(query); // Uses `sql` and `values`.

Suggested solution
It would be cool to have either an overloaded signature for prisma.$queryRaw function that accepts a query with values. Or to have another method that has the signature.
Alternatives
As an alternative, if I could get access to the original pg object so I can run pg.query directly, it would solve my need. But I doubt it's possible because of the nature of Prisma architecture (interprocess communication AFAIK). I don't want to create another connection and just re-use one from the existing pool.
As today's workaround, I'm trying to convert the query with variables into TemplateStringsArray and mimic the tag template function call, so then sql-template-tag would convert it back to the same, hopefully, shape. But this looks like an obvious hack.
Additional context
I use PostgreSQL.

For anyone who has the same issue, I was able to workaround this by this code:
const toTemplateStringsArray = (array: string[]): TemplateStringsArray => {
  const stringsArray: any = [...array]
  stringsArray.raw = array
  return stringsArray as TemplateStringsArray
}

// @see https://github.com/prisma/prisma/issues/19970
export const query = async (query: string, variables: any[] = []) => {
  return prisma.$queryRaw(toTemplateStringsArray(query.split('?')), ...variables)
}

it('runs simple queries', async () => {
  // this is discouraged syntax
  const result = await query(`SELECT * FROM commie.journeys WHERE id = '${journey.id}'`)
  expect(result).toEqual([expect.objectContaining({ id: journey.id, name: journey.name })])
})

it('returns query result', async () => {
  const result = await query('SELECT * FROM commie.journeys WHERE id = ?::uuid', [journey.id])
  expect(result).toEqual([expect.objectContaining({ id: journey.id, name: journey.name })])
})

here I pick MySQL's syntax with ? instead of $1. Once the right solution will be there, it's easy to convert from one format to another.

Hi @Kukunin!
I think what you want is $queryRawUnsafe. It has the exact interface you need (string, variables).
Let me know if it helps, I am gonna close this issue meanwhile.

@SevInf thank you for the answer. why is it unsafe then? I mean, if it does the interpolation and escaping.


Loading models programmatically (install) doesn't refresh the Models browser

When testing, I load my TypeScript models with a script because it's faster:
'../../../GitHub/FamixTypeScriptImporter/emojiopoly.json' asFileReference
	readStreamDo: [ :stream | model := FamixTypeScriptModel new
	importFromJSONStream: stream.
	model name: 'emojiopoloy3'.
	model install ].

However, the Models browser doesn't show these models until I close it and re-open it. I'm not sure if it's possible to refresh it on the install method, or is there a way I can force it in my script?

Wrong repo


Error: Cannot find module './object' : require('./standalonebundle.js')

(I am new to node.)
Webapp

I generated a standalonebundle.js, which works fine in the browser via the script tag, via:

browserify src/index.js -g aliasify -s myHook -d -p [minifyify --no-map] -o build/standalonebundle.js

I copied it into another module, next to the source code in ./src
I did 'require('./standalonebundle.js')' in ./src
Starting my web-app (which gets browserified itself), I get the error:

events.js:85
      throw er; // Unhandled 'error' event

Error: Cannot find module './object' from '[path]/src

Local test

I created a test.js with 'require('./standalonebundle.js')'
I get the error:

node test.js

[path]my-browserified-0.1.18.js:2
typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,
                                                                    ^
TypeError: Cannot read property 'document' of undefined
    at [path]my-browserified-0.1.18.js:2:232

The documentation states that it should be possible to include standalone bundles via browserify. I suppose I am doing something wrong.
(The reason I am not doing a usual require('mymodule') is that, mymodule wraps legacy code and aliasifies globally fs with my-fs. I don't want calling modules to be responsible for using aliasify globally on mymodule. Because a calling module should not be responsible for the inner workings of the module it calls.)

Hello @xErik.
If I understand you correctly, this is a known issue. See:
http://stackoverflow.com/questions/28078425/browserifying-libraries-that-were-themselves-browserified-relative-paths-error/28176927#28176927
https://github.com/substack/node-browserify/pull/1151
If that's correct you can use the workarounds in those posts for now, and please close this issue.

That works, thanks. Sorry, I didn't find that solution on github myself.
Workaround:
browserify({
  entries: ['./entry'],
  noParse: ['/abs/path/to/browserified-standalone.js'],
)

@xErik Great, thanks! That's ok. The discussion in #1151 is about making it a non-issue.


[Question] Not quite understand the spring part

After reading the how-spring part, I am still confusing about what exactly configuration should I write to switch from a h2 to mariadb4j.
Here is my application-test.yml for h2:
spring:
  datasource:
    url: "jdbc:h2:mem:test;MODE=MySQL"

  flyway:
    locations: "classpath:db/migration,classpath:db/test"

By just replacing "jdbc:h2:mem:test;MODE=MySQL" to jdbs:mysql://localhost:3306 I can switch to a real mysql. So...what should I do if I want switch to MariaDB4j in test env?

@aisensiy thanks for your interest in this project. Not sure I fully understand your question here... as the README says, you would obviously also have to add a dependency to the mariaDB4j-springboot to your project, and then somewhere inject @Autowired the MariaDB4jSpringService like the example MariaDB4jApplication shows which is linked from the README.
I would very much welcome a PR from you fixing the README if it can be written more clearly!
@zaenk @kbyyd24 @tomaszglinski @duttonw as contributor of related #64 #153 perhaps you can help @aisensiy here?

Hi all,
I've checked the README, I've checked #64 and #153 and the gist and I'm still trying to make MariaDB embedded running with Spring Boot in tests. (I'm already able to connect to the actual MariaDB when application runs)
My application properties has these configurations
mariaDB4j.dataDir=
mariaDB4j.port=3307
spring.datasource.driverClassName=org.mariadb.jdbc.Driver
spring.datasource.password=password
spring.datasource.url=jdbc:mariadb://localhost:3307/DATABASE_NAME
spring.datasource.username=root
spring.jpa.database-platform=org.hibernate.dialect.MariaDB103Dialect
spring.jpa.hibernate.ddl-auto=validate
spring.jpa.open-in-view=false
spring.jpa.show-sql=false
spring.main.allow-bean-definition-overriding=true

and I have created this class
@Configuration
@EnableAutoConfiguration(exclude = DataSourceAutoConfiguration.class)
@Lazy
@Slf4j
public class TestDbConfig {
    private static final String DB_SERVICE = "dbServiceBean";

    @Value("${mariaDB4j.port} ?: 3307")
    private Integer port;

    @Bean(name = DB_SERVICE)
    public MariaDB4jSpringService mariaDb() {
        final MariaDB4jSpringService mariaDb
                = new MariaDB4jSpringService();
        mariaDb.setDefaultPort(port);
        return mariaDb;
    }

    @Bean
    @DependsOn(DB_SERVICE)
    public DataSource dataSource(
            final DataSourceProperties dataSourceProperties)
            throws ClassNotFoundException {
        final SimpleDriverDataSource dataSource
                = new SimpleDriverDataSource();
        dataSource.setDriverClass(getDriverClassByName(
                dataSourceProperties.determineDriverClassName()));
        dataSource.setUrl(dataSourceProperties.getUrl());
        dataSource.setUsername(dataSourceProperties.getUsername());
        dataSource.setPassword(dataSourceProperties.getPassword());
        return dataSource;
    }

    private Class<Driver> getDriverClassByName(final String className)
            throws ClassNotFoundException {
        try {
            return (Class<Driver>) Class.forName(className);
        } catch (final ClassNotFoundException e) {
            log.error("Error '{}' while loading DB driver.",
                    e.getMessage(), e);
            throw e;
        }
    }

    @Bean
    public DataSourceTransactionManager transactionManager(
            final DataSource dataSource) {
        final DataSourceTransactionManager manager
                = new DataSourceTransactionManager();
        manager.setDataSource(dataSource);
        return manager;
    }
}

and my "test" class is
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public final class LogicApplicationTests {
    @Autowired
    ApplicationContext context;

    @Autowired
    MariaDB4jSpringService mariaDB4jSpringService;
    @Rule
    public MariaDB4jRule dbRule = new MariaDB4jRule(0); //port 0 means select random available port

    @Test
    public void contextLoads()
            throws ManagedProcessException, IOException {
        MatcherAssert.assertThat("Invalid null context.", context,
                CoreMatchers.is(CoreMatchers.notNullValue()));
        mariaDB4jSpringService.start();
        MariaDB4jSpringService.waitForKeyPressToCleanlyExit();
    }
}

I had to add spring.main.allow-bean-definition-overriding=true because the DataSource bean complained that Invalid bean definition with name 'dataSource' defined in class path resource [ch/vorburger/mariadb4j/springboot/autoconfigure/DataSourceAutoConfiguration.class]: Cannot register bean definition [Root bean: class [null]; scope=; abstract=false; lazyInit=null; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=ch.vorburger.mariadb4j.springboot.autoconfigure.DataSourceAutoConfiguration; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [ch/vorburger/mariadb4j/springboot/autoconfigure/DataSourceAutoConfiguration.class]] for bean 'dataSource': There is already [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=testDbConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [[OMISSIS]TestDbConfig.class]] bound.
I've put a schema.sql file in my test/resources/ folder so that (I suppose) the Springy-thing can load it and automagically create the DB schema, just like H2, HyperSQL or Derby or whatever.
I've even tried adding or removing the service in the test class, I've added the @Rule and the @ClassRule, I've used the .start() method and not used it. I've changed DB port to a bunch of values, ... but still no luck. Properties are loaded and available.
Since I had a SQLSyntaxErrorException, I removed the DB name from the spring.datasource.url and write spring.datasource.url=jdbc:mariadb://localhost:3307/ instead of spring.datasource.url=jdbc:mariadb://localhost:3307/DATABASE_NAME and keep the validate, it properly tells me that Schema-validation: missing table [[OMISSIS]]. So it seemed I was on the right path.
So I've changed the validate to create but then I have java.sql.SQLException: No database selected. But the SQL file itself has
CREATE DATABASE IF NOT EXISTS `DATABASE_NAME`;
USE `DATABASE_NAME`;

I've even tried with spring.datasource.generate-unique-name=true but no luck. Still no database selected.
The DB schema is not created when Spring Boot starts the tests. Debugging, it even seems the TestDbConfig class is not even considered...
Any help?
Thank you,
Marco


evaluate2.sh: Add Time Limit for Runs

Followup to #290
This is the approach recommended by hyperfine's maintainer: https://github.com/sharkdp/hyperfine/issues/576

Since this has not been merged yet, I added a check that bc is installed (it was missing on a test VM I used)

Since this has not been merged yet, I added a check that bc is installed (it was missing on a test VM I used)

Nice; just ran into that too.


Use App studio Import flow

Fixes

https://issues.redhat.com/browse/HAC-2539
Description

Use Appstudio flow as the default flow. This flow allows the user to use git repo or a container image or samples and the component created will not contain pipelinesascode annotation.
Type of change

[x] Feature

Screen shots / Gifs for design review

How to test or reproduce?

Add Application and components (git source/container image or via samples) through Import flow wizard.

Unit tests
 ImportForm
    ✓ should handle form reset (20 ms)
    ✓ should not set inAppContext if application name is not passed (4 ms)
    ✓ should set inAppContext if application name is passed (3 ms)
    ✓ should navigate to application page on form submit (5 ms)
    ✓ should warn the users about the errors on form submit (46 ms)

Browser conformance:

[x] Chrome
[x] Firefox
[x] Safari
[ ] Edge

/cc @christianvogt
/cc @rohitkrai03

cc: @Ranelim @MariaLeonova

@karthikjeeyar we do want a wizard eventually to let the user opt into the flow where we set pipelinesascode on the component.
Why don't we add a temporary UI element that allows the user to create a component where we set pipelinesascode. This shouldn't happen for the samples flow.
Two suggestions:

add another submit button
add a checkbox

This is a temporary solution so which ever is easiest.

/retest

Updated e2e tests
Import flow test:

Could we improve the copy for the PR checkbox? Here is a suggestion.
[ ] Send pull request
This will create a custom pipeline in your repository.
FYI @megan-hall

/lgtm

Thanks @beaumorley I have updated the copy and screenshot.

/lgtm
/approve


bash: kong: command not found

installed kong in centos 7.2. I have changed configuration details at /etc/kong/kong.conf to configure Posgresql db..Attching my kong.conf file.No kong command is running from my centos machine.
saying :bash: kong: command not found
How can I proceed.
when i tried reinstalling KONG:
> Loaded plugins: fastestmirror
> Examining kong-0.10.3.el7.noarch.rpm: kong-0.10.3-1.noarch
> kong-0.10.3.el7.noarch.rpm: does not update installed package.
> Error: Nothing to do

kongConf.docx
please note i changed configuration for kong only to configure the datastore,all others are in commented format.

Do I need to configure more details other than datastore used?

which kong gives /usr/bin/which: no kong in (/usr/local/bin/kong:/etc/kong:/usr/local/kong:/sbin:/bin:/usr/sbin:/usr/bin)
and echo $PATH gives /usr/local/bin/kong:/etc/kong:/usr/local/kong:/sbin:/bin:/usr/sbin:/usr/bin

i was trying with a wrong user on same machine,when i tried with user who installed kong solved the issue


[ABI] Add predicate to identify sections containing reflection data

ABI/ObjectFile.h abstracts reflection section names across platforms (binary file formats). However, some non-root reflection data is stored in general purpose sections, for example on Darwin type metadata can be placed in __DATA_CONST,__const, such as data that has loader fixups (bindings or relocations).
This change introduces a new predicate function to check if a section name could contain reflection data. These are the swift specific reflections sections, as well as general purpose sections that vary by platform. This initial change adds __DATA_CONST,__const for Mach-O files.
This will be used by overrides of MemoryReader::resolvePointer, to know whether an address is from a reflection section or not. If the section doesn't contain reflection data, then resolvePointer should not return a symbol.

@swift-ci smoke test

fwiw mach-o sections have a flags field. Ideally we wouldn't check names, and instead check for a flag. But that's not something that can independently implement.

@swift-ci smoke test

@swift-ci smoke test


Feature Request: Download complete Playlist

Savify version: 2.0.7
Python version: 3.7.3
Operating System: Windows WSL2 / Debian, MacOS

Description
As a User, i would like to download a whole playlist with more than 50 titles. It seems that Spotify has limited the view to 50 titles, so only the first 50 can be downloaded.
At least one possibility to add an offset would be good.

This issue had already been patched. PLaylists bigger than 100 songs should now download with the latest version of Savify.


Delay kernel is improperly defined within LatentDelay

#250 attempt to solve an issue with handling partial latent delays but did not correctly update the generate kernel function so that it returns only complete convolution kernels.
To resolve this we should add a option so that it can do so. This change also needs to add a robust unit test for LatentDelay.
https://github.com/CDCgov/Rt-without-renewal/blob/4688d2005e87f63eecb7407ecf8b05d9310ad8ed/EpiAware/src/EpiObsModels/LatentDelay.jl#L71

This was closed by #267


No update realtime goaccess from other machine distinct to server run goaccess

no update goaccess realtime from chrome other machine distinct server run goaccess why?

Probably your firewall. Please post the error message from the browser's console.


[Bug] Remote CLI Configuration Problem after Upgrading to Headscale 0.23.0

Is this a support request?

[X] This is not a support request

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
After upgrading from Headscale 0.23.0 beta 3 to 0.23.0, the remote CLI command headscale nodes list fails with the following error:
github.com/juanfont/headscale@v0.23.0/cmd/headscale/cli/root.go:49 > Error loading config error="fatal error reading config file: Config File \"config\" Not Found in \"[/etc/headscale /Users/user/.headscale]\""
This occurs even when HEADSCALE_CLI_ADDRESS and HEADSCALE_CLI_API_KEY environment variables are correctly set.
Expected Behavior
The remote CLI should function properly when either of the following conditions are met:

The HEADSCALE_CLI_ADDRESS and HEADSCALE_CLI_API_KEY environment variables are set correctly, without requiring an additional configuration file.
A configuration file (~/.headscale/config.yaml or /etc/headscale/config.yaml) is present with the correct CLI settings.

The remote CLI should be able to connect to the Headscale server and execute commands (such as headscale nodes list) without encountering configuration-related errors, regardless of whether the configuration is provided via environment variables or a configuration file.
Steps To Reproduce

Upgrade Headscale from version 0.23.0 beta 3 to 0.23.0
Set HEADSCALE_CLI_ADDRESS and HEADSCALE_CLI_API_KEY environment variables, without any additional configuration files.
Run headscale nodes list
Observe the error message

Environment
- OS: macOS 15.0
- Headscale version: 0.23.0
- Tailscale version: 1.74.0

Runtime environment

[ ] Headscale is behind a (reverse) proxy
[ ] Headscale runs in a container

Anything else?
Workarounds
Two workarounds have been identified:

Keep the environment variables HEADSCALE_CLI_ADDRESS and HEADSCALE_CLI_API_KEY and create an empty file at ~/.headscale/config.yaml
Remove the environment variables and create a ~/.headscale/config.yaml file with the following content:

cli:
  address: headscale.example.com
  api_key: MY_API_KEY

Possible Cause
The issue may be related to commit 8a3a0fe, which removed the IsCLIConfigured check in hscontrol/types/config.go.
Proposed Solutions
We have two potential solutions to address this issue:

Update the documentation in docs/ref/remote-cli.md to recommend using a configuration file instead of environment variables.
Revert to the previous behavior that allowed the use of environment variables without a configuration file.

Questions

Which solution do you prefer: updating the documentation or reverting the behavior?
Would you like me to submit a PR to implement the chosen solution?

I can confirm your issue and have a small addition to your workaround:

an empty config.yaml in one of the config lookup paths or
an empty file and headscale -c /path/to/empty.yaml

is sufficient to use the settings from the environment variables.
Still, both methods to configure the gRPC connection should be equally supported.


Hyprland crashes for some reason

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 7c3bd4c19fe47f2d92463b81d9b38651b7a1a268  (workspace: Add fullscreen workspace selector (5640)).
Date: Sun Apr 21 02:50:08 2024
Tag: v0.39.1-21-g7c3bd4c1, commits: 4481

flags: (if any)

System Information:
System name: Linux
Node name: silencer-a320mh
Release: 6.9.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:38 +0000

GPU information:
10:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117 [GeForce GTX 1650] [10de:1f82] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME=ArcoLinux
ID=arcolinux
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://arcolinux.info/"
SUPPORT_URL="https://arcolinuxforum.com/"
BUG_REPORT_URL="https://github.com/arcolinux"
LOGO=arcolinux-hello

plugins:

Bug or Regression?
Bug
Description
Suddenly, while using using hyprland, monitor blacked and then Hyprland session stopped, then sddm login manager appeared.
How to reproduce
Just using pc.
Crash reports, logs, images, videos
journalctl has this in the moment of crashing.
`мая 20 14:18:45 silencer-a320mh systemd-coredump[70985]: Process 60237 (Hyprland) of user 1000 dumped core.
                                                        Stack trace of thread 60237:
                                                        #0  0x0000701620dbde44 n/a (libc.so.6 + 0x94e44)
                                                        #1  0x0000701620d65a30 raise (libc.so.6 + 0x3ca30)
                                                        #2  0x0000701620d4d4c3 abort (libc.so.6 + 0x244c3)
                                                        #3  0x0000572c0f85c116 _Z25handleUnrecoverableSignali (Hyprland + 0xbb116)
                                                        #4  0x0000701620d65ae0 n/a (libc.so.6 + 0x3cae0)
                                                        #5  0x0000572c0f97366a n/a (Hyprland + 0x1d266a)
                                                        #6  0x0000572c0f92122b _ZN15CSignalListener4emitESt3any (Hyprland + 0x18022b)
                                                        #7  0x0000572c0f92135c _ZN7CSignal4emitESt3any (Hyprland + 0x18035c)
                                                        #8  0x0000572c0f989c3d _ZN20CCursorShapeProtocol10onSetShapeEP22CWpCursorShapeDeviceV1j26wpCursorShapeDeviceV1Shape (Hyprland + 0x1e8c3d)
                                                        #9  0x0000572c0f858411 n/a (Hyprland + 0xb7411)
                                                        #10 0x0000701620d25596 n/a (libffi.so.8 + 0x7596)
                                                        #11 0x0000701620d2200e n/a (libffi.so.8 + 0x400e)
                                                        #12 0x0000701620d24bd3 ffi_call (libffi.so.8 + 0x6bd3)
                                                        #13 0x000070162181bada n/a (libwayland-server.so.0 + 0x8ada)
                                                        #14 0x0000701621820180 n/a (libwayland-server.so.0 + 0xd180)
                                                        #15 0x000070162181eae2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xbae2)
                                                        #16 0x000070162181f2d7 wl_display_run (libwayland-server.so.0 + 0xc2d7)
                                                        #17 0x0000572c0f85eff7 _ZN11CCompositor15startCompositorEv (Hyprland + 0xbdff7)
                                                        #18 0x0000572c0f830005 main (Hyprland + 0x8f005)
                                                        #19 0x0000701620d4ec88 n/a (libc.so.6 + 0x25c88)
                                                        #20 0x0000701620d4ed4c __libc_start_main (libc.so.6 + 0x25d4c)
                                                        #21 0x0000572c0f84a3e5 _start (Hyprland + 0xa93e5)

                                                        Stack trace of thread 60242:
                                                        #0  0x0000701620db84e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x0000701620dbaed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                        #2  0x00007016210d5e61 __gthread_cond_wait (libstdc++.so.6 + 0xd5e61)
                                                        #3  0x0000572c0f926738 n/a (Hyprland + 0x185738)
                                                        #4  0x00007016210e0c84 execute_native_thread_routine (libstdc++.so.6 + 0xe0c84)
                                                        #5  0x0000701620dbbded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x0000701620e3f0dc n/a (libc.so.6 + 0x1160dc)
                                                        ELF object binary architecture: AMD x86-64`

Had the same issue. Downgrading to the latest non-git version (0.40.1) solves it.

The crashes seemed to happen randomly

The crashes seemed to happen randomly
I'll try it thanks!
By the way have you experienced absolute system freezing? Like nothing can unfreeze it, not even switching tty (ctrrl+alt+ f*)  works.

No, Hyprland would usually freeze for <10 seconds and sddm would open right after that.

The crashes seemed to happen randomly

I'll try it thanks! By the way have you experienced absolute system freezing? Like nothing can unfreeze it, not even switching tty (ctrrl+alt+ f*) works.

yep, sometimes I can get that, but very rarely and often because of high system load

likely #6133


ci(workflow): report diff on generated documentation discrepancy

This PR enhances our CI workflow by introducing a step that reports the diff of generated documentation when discrepancies are detected.

Summary by CodeRabbit

Chores

Updated workflow triggers to support new branch naming conventions.
Added automatic documentation generation for updated files.
Adjusted triggers for linting workflow.

size-limit report 📦

Path
Size

target/wasm32-unknown-unknown/release/okp4_objectarium.wasm
440.48 KB (0%)

target/wasm32-unknown-unknown/release/okp4_law_stone.wasm
654.01 KB (0%)

target/wasm32-unknown-unknown/release/okp4_cognitarium.wasm
834.97 KB (0%)

target/wasm32-unknown-unknown/release/okp4_dataverse.wasm
669.03 KB (0%)

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


Can it play videos?

Hello,
I use SampleRecipe in my Swift tvOS app. It can load TVML file from raw XML String, however it can't play videos?
Anyone knows how to solve it? Thanks!
btw, happy new year!

Hello @Wei-Xia !
Can you show your xml?

Hello @toshi0383 ,
Below is my code.
I believe my code works well with TVML. Please let me know if you feel anything confused. Thank you! 😅
<?xml version="1.0" encoding="UTF-8" ?>
<document>

    <compilationTemplate theme="dark">
        <list>
            <relatedContent>
                <itemBanner>
                    <heroImg src="((MAIN_BUNDLE_URL))home.jpg" width="800" height="800" />
                </itemBanner>
            </relatedContent>

                <title>Title</title>
                <subtitle>Series</subtitle>
                <row  class="subtitle">
                    <text>39 minutes</text>
                    <badge src="resource://hd" class="badge"/>
                </row>

                <description allowsZooming="true">This is a description</description>

                <listItemLockup videoURL="http://www.rwdevcon.com/videos/Ray-Wenderlich-Teamwork.mp4">
                    <ordinal minLength="4">1</ordinal>
                    <title>Title</title>
                    <decorationLabel>04:10</decorationLabel>
                </listItemLockup>

        </list>
    </compilationTemplate>
</document>

Thanks for providing sample code @Wei-Xia .
I believe you're following this RW's tutorial.
videoURL is a custom tag handled by the JS code from the tutorial, not by TVMLKit. With TVMLKitchen, the JS code part is currently all embedded in the kitchen.js .
I think you can use Kitchen's action API, to push an AVPlayerViewController onto appController's navigationController.

Hi @toshi0383 , Thanks for your response!
Yes, I do follow the tutorial on that website for personal interest.
I still feel confused about your answer, probably I am a newbie to tvOS. You mean JS part is already embedded in kitchen.js. Can you tell me how to call action API in order to play the videos? Thank you! 😬😬

Sure! I will create a movie playback sample.

@Wei-Xia
kitchen.js is not ought to edited by users (though it can be, since it's embedded as plain text file.), so users cannot add any custom attributes.
Kitchen already handles actionID and playActionID as documented here. So you can set a callback function for yourself.
Just added a MoviePlaybackSample target in #129 . Please take a look. I hope this helps you.

In case you need to handle play/pause button, you can use playActionIDHandler.
Take a look at #130 .

@toshi0383  Thank you for providing such a great MoviePlaybackSample for me!
Since I'm using Swift 2.2 to develop my tvOS app and you are using Swift 3, I have already converted some parts of your code in AppDelegate.swift into Swift 2.2.
I will submit a PR in case some people are using Swift 2.2.
Also, I found a small issue while playing video. The screen won't play the video automatically unless user presses start button (In Xcode Simulator, I need to press Space in order to start).

Thank you for providing such a great MoviePlaybackSample for me!

Happy to help!

I will submit a PR in case some people are using Swift 2.2.

That would be great! If you do so, please rebase it to swift2.2 branch.

Also, I found a small issue while playing video. The screen won't play the video automatically unless user presses start button (In Xcode Simulator, I need to press Space in order to start).

Thanks for reporting. I guess that's how AVPlayerViewController works.
You can manually tell AVPlayer to start.
            Kitchen.navigationController.pushViewController(vc, animated: true)
            vc.player?.play()

Sure, I will rebase to swift2.2 over this weekend. 😁
With vc.player?.play(), my tvOS app can automatically play the videos. Thank you so much for your help. Your clarification is super clear and understandable! Appreciate it!
I think you can close this issue as it is successfully resolved. 😄


Get all recipe links from the blog

The ProHomeCooks blog has not only recipes, but a shop and other various links. In order to parse all recipes, I have to find out which are the sites which represent recipes and return only a list of those.

Done.


fix: deepseek provider and gptme-eval docker improvements

Skip file handling for deepseek provider (does not support files)
Make eval results directory configurable via EVAL_RESULTS_DIR env var
Configure eval results directory in gptme-eval docker container

[!IMPORTANT]
Skip file handling for deepseek provider and make eval results directory configurable in gptme-eval Docker setup.

Behavior:

Skip file handling for deepseek provider in _process_file() in llm_openai.py.
Make eval results directory configurable via EVAL_RESULTS_DIR environment variable in main.py.

Docker:

Set EVAL_RESULTS_DIR in Dockerfile.eval to /app/eval_results.

This description was created by  for cdf56fa7eef4e248e623fb8829fb58a6c94d62ba. It will automatically update as commits are pushed.

Codecov Report
Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 72.42%. Comparing base (7a797cf) to head (cdf56fa).

Files with missing lines
Patch %
Lines

gptme/llm/llm_openai.py
75.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #270   +/-   ##
=======================================
  Coverage   72.42%   72.42%
=======================================
  Files          64       64
  Lines        4319     4323    +4
=======================================
+ Hits         3128     3131    +3
- Misses       1191     1192    +1

Flag
Coverage Δ

anthropic/claude-3-haiku-20240307
71.10% <42.85%> (-0.12%)
:arrow_down:

openai/gpt-4o-mini
71.06% <85.71%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚨 Try these New Features:

JS Bundle Analysis - Avoid shipping oversized bundles


[batch_integration_graph] scVI and scANVI run slowly in test mode

[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the master branch of openproblems.

scVI and scANVI run extremely slowly in test mode. They currently don't tune hyperparameters or use early stopping in test mode, unlike the label projection version of the method which does. Unfortunately, since batch integration uses scib's implementation which accepts no keyword args, there isn't an easy fix for this.
Option 1: send a PR to scib to accept kwargs
Option 2: copy over the implementation from label_projection
Option 3: define scANVI somewhere common and use the same implementation for both label projection and batch integration
@LuckyMD @danielStrobl thoughts?

Related: https://github.com/theislab/scib/pull/316

@LuckyMD what is the latest progress on this?

Oh, great! That will help. Looks like it still doesn't accept early stopping (relevant to full benchmark runtime) but this solves the test runtime at least.

Ah, right... there was a second thing... I will tag @mumichae here to see if she can quickly add.


Clean out dead docker containers and docker images every Jenkins build

This will increase build times on Jenkins, but should make the build
times consistent and make them pull from sources every time versus
leftover artifacts. Also upping timeout. (Try to address recent
some aborted builds.)

LGTM.  Travis is clearly a flake.  Will merge tomorrow AM.

Self-merging on time-out. :)


Re-arrange repo so compose in root of repo uses pre-built docker images

Move API and plugin into a conveyor directory. The current compose and dev compose go with them. Then in the new root, create a compose file that uses pre-built images.
Also probably involves getting the auto-build on docker going.

We'll handle the pre-built images in the release files. Main repo will remain developer centric.