Can't startup epiphany: can't bind mount

Describe the bug
Epiphany crashes on startup with a bind mount error.
To Reproduce
Steps to reproduce the behavior:

start epiphany

Expected behavior
The browser should startup
Additional context
Error:
bwrap: Can't bind mount /oldroot/nix/store/sbrass790gpdc1vsazal8fyjz057l904-mesa-21.0.1-drivers/lib on /newroot/run/opengl-driver/lib: No such file or directory

/run/opengl-driver/lib exists and opengl is enabled
I bet #107486 is relevant
Notify maintainers

@matthewbauer @talyz
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.30, NixOS, 21.05.20210426.8e4fe32 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210326_dd77f71`
 - channels(pachums): `""`
 - nixpkgs: `/nix/store/i4c4ph7frbzhfrn4408ghpmayafdmhr3-source`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

I can't reproduce this on my machine. Can you try running it with strace?

Thanks for responding.
I think this is the relevant part from strace:
write(37, "[Application]\nname=org.gnome.Epi"..., 38) = 38
lseek(37, 0, SEEK_SET)                  = 0
fcntl(37, F_ADD_SEALS, F_SEAL_SEAL|F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE) = 0
seccomp(SECCOMP_SET_MODE_STRICT, 1, NULL) = -1 EINVAL (Invalid argument)
seccomp(SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_TSYNC, NULL) = -1 EFAULT (Bad address)
seccomp(SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_LOG, NULL) = -1 EFAULT (Bad address)
seccomp(SECCOMP_GET_ACTION_AVAIL, 0, [SECCOMP_RET_LOG]) = 0
seccomp(SECCOMP_GET_ACTION_AVAIL, 0, [SECCOMP_RET_KILL_PROCESS]) = 0
seccomp(SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_SPEC_ALLOW, NULL) = -1 EFAULT (Bad address)
seccomp(SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_NEW_LISTENER, NULL) = -1 EFAULT (Bad address)
seccomp(SECCOMP_GET_NOTIF_SIZES, 0, 0x7ffc75dcc282) = 0
seccomp(SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_TSYNC_ESRCH, NULL) = -1 EFAULT (Bad address)
memfd_create("seccomp-bpf", 0)          = 38
write(38, " \0\0\0\4\0\0\0\25\0\0%>\0\0\300<EMAIL_ADDRESS>320) = 320
lseek(38, 0, SEEK_SET)                  = 0
memfd_create("bwrap", MFD_ALLOW_SEALING) = 39
write(39, "--die-with-parent\0--unshare-pid\0"..., 2469) = 2469
lseek(39, 0, SEEK_SET)                  = 0
fcntl(39, F_ADD_SEALS, F_SEAL_SEAL|F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE) = 0
pipe2([40, 41], O_CLOEXEC)              = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc73b4074d0) = 164090
close(41)                               = 0
read(40, "", 8)                         = 0
close(40)                               = 0
wait4(164090, 0x2ba8184, WNOHANG, NULL) = 0
write(7, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x1e7a400, FUTEX_WAKE_PRIVATE, 1) = 1
read(34, bwrap: Can't bind mount /oldroot/nix/store/sbrass790gpdc1vsazal8fyjz057l904-mesa-21.0.1-drivers/lib on /newroot/run/opengl-driver/lib: No such file or directory
0x7ffc75dcc77f, 1)             = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=164090, si_uid=1000, si_status=1, si_utime=0, si_stime=0} ---
write(7, "\1\0\0\0\0\0\0\0", 8)         = 8
rt_sigreturn({mask=[]})                 = 0
read(34,

Ah, this only shows that bwrap emits the error message. To trace what it actually does, could you try adding the -f flag?

I just piped it all into here: https://termbin.com/ta5l

Thanks for the log! I think I've found the culprit. I've opened #122333 which seems to fix it - please try it out.


Fix write_file function to handle nested directories

Closes #1. The files it would wanna generate for the prompt in #1 would be like flask_app/config.py and the write_file function would fail since the directory didn't exist. Submitting PR to fix.

ty!


Requirements have an unclear dependency on build tools

Bug Description
Project installation dependencies requirements.txt file has listed a dependency on the build library of psycopg2
When installing the project dependencies users are presented with the following error:
Collecting psycopg2==2.8.6
  Using cached psycopg2-2.8.6.tar.gz (383 kB)
    ERROR: Command errored out with exit status 1:
     command: /home/danderson/workspace/thenewboston-python/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-57z5h7ls/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-57z5h7ls/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-57z5h7ls/psycopg2/pip-egg-info
         cwd: /tmp/pip-install-57z5h7ls/psycopg2/
    Complete output (23 lines):
    running egg_info
    creating /tmp/pip-install-57z5h7ls/psycopg2/pip-egg-info/psycopg2.egg-info
    writing /tmp/pip-install-57z5h7ls/psycopg2/pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-install-57z5h7ls/psycopg2/pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to /tmp/pip-install-57z5h7ls/psycopg2/pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file '/tmp/pip-install-57z5h7ls/psycopg2/pip-egg-info/psycopg2.egg-info/SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <https://www.psycopg.org/docs/install.html>).

    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Steps to Reproduce
Steps to reproduce the behavior:

Clone Project
Create Venv using python3 -m venv venv
Activate using . venv/bin/activate
pip3 install -e .
Observe Error.

Expected behavior
All library dependencies should be expressed in the requirements file.
Actual behavior
An undocumented dependency on the python buildtools prevents project setup.
OS and Code tested

OS: Ubuntu: 20.04.01
Python Version: 3.8.5

Account Number
d0026812cc809bc29c85da6646b288350083d47d4b9a6ab37986f50b7e486653

Have you tried this?
sudo apt install libpq-dev
It solved the issue for me.

That will install the build tools necessary yes, however its smaller and less friction to include the binary instead of the source as a dependency.
I did put up a pr for that change.

From
https://pypi.org/project/psycopg2-binary/
The binary package is a practical choice for development and testing but in production it is advised to use the package built from sources.


[ENH] Adapt MLPClassifier, EncoderClassifier, LITETimeClassifier and IndividualLITEClassifier from deep learning classification to regression

Describe the feature or idea you want to propose
By comparing FCNClassifier in classification/deep_learning and FCNRegressor in regression/deep_learning, you can see the only difference is the last layer's task changing from classification to regression, the loss function, and some documentation stuff.
Describe your proposed solution
It would be good if we do the same for MLPClassifier and have MLPRegressor.
Same goes for EncoderClassifier to have EncoderRegressor
So as for LITETimeClassifier and IndividualLITEClassifier and have regressor versions (for LITE, easier to see how InceptionTimeClassifier and IndividualInceptionClassifier were adapted for regression)
Describe alternatives you've considered, if relevant
No response
Additional context
No response

Greetings @hadifawaz1999,
I was going through the codebase and please advise me if i have to create MLPRegressor EncoderRegressor and so on to mirror their counterpart classes at classification/deeplearning. Could you guide me on how to proceed with creating these classes? Additionally, if there are any references or examples that I should follow?
Thank you for your time and consideration

@hadifawaz1999,
I was working towards a basic scaffolding for _mlp.py(for MLPRegressor) and __init__.py file in regression/deeplearning, but when i tried committing those changes, i was prompted with flake8 error(W292) and even after fixing it, i am unable to make a PR, can you please guide me?
Thankyou

hello @AnonymousCodes911 thanks for taking care of this. I just saw your comments and seems you were able to do the pull request, so i suppose its all good now ?
For the creation of the classes, the best thing is to really compare how FCNRegressor and FCNClassifier differ from each other, and then do the same thing for MLPClassifier

@hadifawaz1999, thank you for the input, yes the errors were resolved. I'll be working towards the next parts


Build fails against bcc 0.9.0

When trying to build bpftrace against bcc 0.9.0, I get:
bpftrace-git/src/bpftrace/src/attached_probe.cpp: In member function ‘void bpftrace::AttachedProbe::load_prog()’:
bpftrace-git/src/bpftrace/src/attached_probe.cpp:368:15: error: ‘bpf_prog_load’ was not declared in this scope
     progfd_ = bpf_prog_load(progtype(probe_.type), namep,
               ^~~~~~~~~~~~~
bpftrace-git/src/bpftrace/src/attached_probe.cpp:368:15: note: suggested alternative: ‘bcc_prog_load’
     progfd_ = bpf_prog_load(progtype(probe_.type), namep,
               ^~~~~~~~~~~~~
               bcc_prog_load

This seems like it's a repeat of #472, but it is not a duplicate of #453 (which was fixed in #474).

Got more info on your OS and setup? Did you build bcc from source or packaged?

This is on Arch Linux, bcc 0.9.0 built from source (specifically this package built this way).

did you try building from source with submodules in sync?
I've seen this error before when the bcc submodules are out of sync

I'm not entirely sure how that would cause this issue? But also, this is using the released versions of bcc (i.e., the released tarball), so presumably everything is then going to be in sync, no?

I believe that bpf_prog_load is/was part of libbpf, which was moved into the kernel.
Do you have any other versions of bcc installed that might conflict? I forget exactly what the issue was for me, but it was some combination of not having the submodules be in-sync or otherwise finding the wrong headers.

I believe bcc 0.8 worked just fine, so it might be that the later versions do not have bpf_prog_load. Just tried bcc 0.10 (which was recently released), and that doesn't work either. Are you able to compile bpftrace when building bcc from the 0.9 or 0.10 tarballs?

@jonhoo have you created a new build directory (rerun cmake) after the update to bcc 0.9?
Like:
mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4

I believe bcc 0.8 worked just fine, so it might be that the later versions do not have bpf_prog_load. Just tried bcc 0.10 (which was recently released), and that doesn't work either. Are you able to compile bpftrace when building bcc from the 0.9 or 0.10 tarballs?

Yes i had similar issues going from 0.8 to 0.9, which i think is when the refactor happened.
I recall that they moved these headers to a different location for compatibility, but I don't think they are included in the bcc package anymore.
I'm pretty sure your issue is that the include path bpftrace is using doesn't have the libbpf headers it is expecting to get from bcc, because bcc isn't installing that development header.
If you clone bcc frome source, install all submodules, and install it to your system I bet you'll be able to get bpftrace to build against it, that's how i've been doing it on Gentoo, which should be a similar story to Arch.

Ah, it looks like Arch separated out libbpf into its own package a little while back, so bcc wasn't responsible for installing those. Once I installed the bpf package (which now needs to be added to the bpftrace package), everything works just fine. Sorry for the noise!


Refactor client/server API to use Receipt directly instead of Asset

A proposed refactor for the client/server API to use the receipt types directly instead of wrapping as Asset

NOTE: CI test is currently broken because I didn't yet update the client API tests and made a breaking change to the Client. https://github.com/risc0/risc0/blob/victor/receipt-asset-refactor/risc0/zkvm/src/host/api/tests.rs

I still think we want to wrap with Asset, to treat the Receipt as opaque from the wire/protocol level. I thought we were going to encode using protobuf (the interior of the Asset).
Also curious what is spawning this change? Since it's a breaking change, is it worth it?

I still think we want to wrap with Asset, to treat the Receipt as opaque from the wire/protocol level. I thought we were going to encode using protobuf (the interior of the Asset).
Also curious what is spawning this change? Since it's a breaking change, is it worth it?

The minimal and non-breaking version of this change is indeed to change the inner encoding of Asset when used for receipts. I can certainly do that. What prompted this was our discussion yesterday. Either this PR, or a new version that changes the inner Asset encoding to protobuf is a prereq for https://github.com/risc0/risc0/pull/1518. This implementation gives cleaner, but breaks the Client interface.
Happy to rebase https://github.com/risc0/risc0/pull/1518 on a more minimal version of this PR, with only the changes to the inner encoding. Either way, we can have the compress available.

Based further discussion, we are going to go in the other direction and make further use of Asset instead of less. Marking this PR as draft until I can come back to it.

superseded by #1680. closing. we may want to open a tracking issue to use asset in more places to avoid the asset->receipt-> asset conversion...


Add content to xUnit reporter

proposed by @SchwaFa webdriverio/webdriverio#670
Is it somehow possible to add something to the xUnit report?
I'm trying to link the screenshots (which I take in the expectationResultHandler of Jasmine) in the test report in Jenkins.
Therefore, I found this nice little Jenkins Plugin:
https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Attachments+Plugin
It reads specific lines in the system-out section of the XML report to identify and add files to the Jenkins test result page.
But unfortunately, I can't just add such a line ("[[ATTACHMENT|/path/to/file]]") to the XML report and console.log ist not enough.
Where do the lines in the <system-out...> element come from? There are only webdriver logs in there. It would be nice to have the possibility to add everything that is printed using console.log().
The plain Jenkins JUnit test report is not that helpful without screenshots.
(Maybe a nice HTML reporter would also solve this ;) ).

obsolete

Hey, sorry for bumping this old thread. I just want to understand why this is marked as obsolete.
Is there a possibility to access <system-out...> or any other best practice how to embed screenshots in JUnit Reports or links?
Thank you

@christian-bromann Can you please give an update to this? Why has this ticket been closed?

I guess the biggest blocker right now the wdio-junit-reporter's depedency, the junit-report-builder. Recently they added support for attachments but still you cannot add any kind of metadata.

Happy to review PRs, I don't have the capacity working on this as I am busy getting the new v5 out


Visual design and usability improvements

The app is fugly and getting fuglier and it adds features. Somebody with design skills could make a big difference.

Sent you an email!
How can I help?

Can you help me write a design brief? What information do I need to provide?

Readability is a high priority. See https://accessibility.huit.harvard.edu/design-readability for guidelines.
The function of each component should be instantly understandable.
The character counter in the lower right should be visible and understandable when needed but not distracting otherwise.
Mobile, desktop, and tablet are all deployment targets.
The page should be a happy place for your eyes. Harmonious layout and subtle decoration would be good.

I've been exploring some possibilities for user interfaces.
This is a first draft and there are a lot improvements to be made (to the toolbar and a few other things), but imo, the overall structure works great.
What do you think of it?
Default State

With Text

This is awesome. I am very glad to see it.
I am away from computers for a couple days. I will have time to read and think on Thursday.
On Feb 20, 2024, 8:56 PM, at 8:56 PM, mathieu-william @.***> wrote:

I've been exploring some possibilities for user interfaces.
This is a first draft and there are a lot improvements to be made (to
the toolbar and a few other things), but imo, the overall structure
works great.
What do you think of it?
Default State

With Text

--
Reply to this email directly or view it on GitHub:
https://github.com/lucasgonze/sQratch/issues/21#issuecomment-1955727577
You are receiving this because you authored the thread.
Message ID: @.***>

Button bar thingie
I like the font picker a lot:

The "copy to clipboard" affordance also works well.
I like that the Github link is now decoupled from the brand in the navbar. What do you think of the generic "git" icon instead of the trademarked "github" icon? That's this:

I'm a little concerned that these actions are down at the bottom, where people tend not to look for con
Counter
About the character counter, is there a way to avoid the language-specific "characters" explanation? I like that this improves the understandability of that number, but am concerned about globalization.

For comparison Xitter only shows a counter when you go over:

Mastodon also does a negative countdown to a known maximum, although it does start right away:

Tagline
About the tagline in the upper right, it's helpful to explain what this web site is about. I'm sad that it is language dependent. The location isn't the UI convention - do you think that affects usability?

I like the way you used the color variation here to make it easier to read and absorb the two distinct benefits:

@lucasgonze Regarding the Git or GitHub icon, I believe it's more appropriate to stick with the GitHub icon.
Using the Git icon could be misleading since the link redirects to a GitHub repository.


Replace "Time.now" with better default value

closes #30
This PR only has the failing tests and is up for taking for anyone who’d like to get it fixed :)
Run test with
TEST_URL=https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository ./node_modules/.bin/tap test/integration/single-endpoint-test.js

That way you don’t need to run all the tests all the time. Once that test passes, you can make double sure with npm test

@gr2m you can close this now.

done via #30


Setup ASP.NET Identity Core

Add the packages for ASP.NET Identity Core
Modify our context to extend Identity Context
Add Admin and User Role
User Model is the default Identity User as it has enough details for our use case

How did you test identity?

Test the entire flow: create account and login

It's just the setup for identity, so we can start and work async.


Review Vulnerabilities

When running meteor npm install, there are 15 moderate severity vulnerabilities that require manual review and cannot be updated with npm audit fix. Manually review the vulnerabilities and fix the issue.

Also, update dependencies and check application to see if it works properly.

Currently at 11 vulnerabilities now.


Fix smartcrop rotation problem

Right now smartcropping is applied prior to image rotation normalisation. This means we can end up with a bad extract area in sharp.
This update performs the rotation normalisation before any other transformations and also simplifies the resizeBuffer method using async/await.

As this is urgent-ish it'd be good to fix up the non-essential stuff like the logic carried over in a later PR.


k8's 1.31 support for EKS-Operator

Add k8's 1.31 support for EKS-Operator
PR's:

[ ] https://github.com/rancher/charts/pull/4454

There is still no support for Kubernetes v1.31 in Amazon EKS https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
We have to wait with updating https://github.com/rancher/ui/blob/master/lib/shared/addon/utils/amazon.js#L705


../client/main.go:23: cannot use "hello,world!" (type string) as type *string in assignment

Hi,
I have a problem.When i execute "go install github.com/pinterest/hellothrift/client" according to the README.md ,it throws an error:
github.com/pinterest/hellothrift/client
../client/main.go:23: cannot use "hello,world!" (type string) as type *string in assignment
How to solve this problem ?
Hoping for your answer.
Thks.

Try this:
*request.Message = "hello, world!"

    request := hello.NewHelloRequest()
    temp := "Hello world"
    request.Message =  &temp
    response, err := client.Hello(request)
    if err != nil {
        return err
    }
    fmt.Println(*response.Message)

    return nil


Letter avatar proxy 1.2.3

I don't understand what you're trying to accomplish with this PR (an explanation always helps....) but we don't want to merge changes from 3.2+ into 3-1-maintenance.


Update brew extension

Description
Added Brew Clean Up Command in existing Brew Extension

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks for the contribution 👏
Generally looks good. The only thing I think would be good is to add a command preference to enable the --prune=all behaviour. Disabled by default.

Thanks for informing and i already updated my code for that.

Thanks for the changes!
One last thing: the new preference should be associated with the clean-up command, rather than the extension. You just need a new preferences entry in the command's JSON definition.

Oh.. Thanks Again & It's Done...

Thanks for the corrections @ashokbaruaakas - I changed a bit to get preferences automatically 🙂
@nhojb can you approve this?

Thanks for the corrections @ashokbaruaakas - I changed a bit to get preferences automatically 🙂
@nhojb can you approve this?

Thank you for making those adjustments! As I'm relatively new here,  I've learned from your feedback...
Thanks again! ❤

Why did you add getPreferenceValues back @ashokbaruaakas :)

Apologies for the confusion. I recently pulled the changes, resolved conflicts, and tested them locally. Unfortunately, it seems I mistakenly added that function. I'll rectify this error promptly. Thank you for your understanding. @pernielsentikaer

No worries at all, was just curious 🙂

Thanks for the changes!
One last thing: the new preference should be associated with the clean-up command, rather than the extension. You just need a new preferences entry in the command's JSON definition.

Upon reviewing the previous configuration preferences of this extension, I believe it would be better to incorporate this preference as an extension preference. @nhojb

@ashokbaruaakas the reason the "Upgrades", "Uninstall" and "Quarantine" preferences are on the extension is that they can apply to multiple commands. For example there's an Upgrade command and an Outdated command which both can upgrade formulae. Similarly you can uninstall from the Search or Show Installed command.
With cleanup the --prune option only applies to that command, so to me it makes more sense to place it there.

@nhojb  I've made the changes we discussed. Please review now. Thank You...

🎉 🎉 🎉
Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@ashokbaruaakas). Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag.

Thank you so much! I truly appreciate the recognition from Raycast. I've just linked my Raycast account with GitHub. Looking forward to exploring the rewards. 🎉


#834: Change license.

Closes #835 . src/sync/sync.rs is still MIT but that shouldn't be much of an issue for now.

You can't simply do that without consent of every contributor. Please proof me wrong, thanks.

@ebfe Where is it said that I need the consent of every contributor?

@ebfe you're right, feel free close this PR for now because it's not contribution, it's actually something very doubtful

@ebfe Where is it said that I need the consent of every contributor?

As a thought experiment: If you can change the license on other peoples
code like you wish, why do they exist in the first place?

@ebfe As a thought experiment: If you put out your code under a license with no restrictions on usage and no further explanation of what constitutes abuse, what makes you think I can't do that?
The only copyright mention is that it belongs to Jordi Boggiano so if he chooses to merge it, then it works.

@ivegotasthma yes, sure, if I choose to merge it - it will work either but only in case when we don't respect each other

@Heather It's your project, I am trying to understand your position. What does this have to do with respect?

@ivegotasthma it's not my project, I'm just contributor with push access


refactor: wrap std::env::remove_var() in unsafe block

What does this PR do
std::env::remove_var has been made unsafe. Due to lint unsafe_op_in_unsafe_fn, we need to wrap it in an unsafe block.
Checklist:

[x] I have read CONTRIBUTING.md
[ ] I have written necessary tests and rustdoc comments
[ ] A change log has been added if this PR modifies nix's API

Well, we should only do this for toolchains newer than nightly 2024-05-31, this can be achieved with the help of rustversion.
But I kinda think introducing a new dependency just for this issue is not worthwhile, maybe we should just ignore the lint for this case.

This is a breaking change and should be only available in Rust 2024, we are using Rust 2021 so we should not encounter this. I have filed an issue to the Rust repo.


KERN-2274 change to make UI work with groups created in World Creation API

In server-based world template the old 'allowManage' property is now 'isManagerRole'.
Goes along with this Nakamura PR:
https://github.com/sakaiproject/nakamura/pull/400

Closing as I'll incorporate this into the work in https://jira.sakaiproject.org/browse/SAKIII-4166


NCP set xpanid & masterkey doesn't work

Hi,
I used wpantund to set Network:XPANID and Network:Key , it reports parse error.
I debugged to find that spinel_datatype_unpack uses SPINEL_DATATYPE_DATA_S as pack_format.
The ptr returned points to a string of characters and not integers and as such the length check fails (size of characters is double the expected size).
There should be a conversion from char to int before proceeding here.
Thanks,
Shahab

When you specify Network:Key, you need to use the --data argument to indicate that the parameter is hexadecimal-encoded binary data:
wpanctl set Network:Key --data<PHONE_NUMBER>5566778899aabbccddeeff

Thanks for the info.
Will try and update.
Regards
Shahab
On Sep 20, 2016 2:44 AM, "Robert Quattlebaum"<EMAIL_ADDRESS>wrote:

Assigned #618 https://github.com/openthread/openthread/issues/618 to
@shahab5 https://github.com/shahab5.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openthread/openthread/issues/618#event-794733814, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALpJ4EEjd6hHW8V-ln57_9QasdT4Zai5ks5qrvtIgaJpZM4J_i9K
.

Verified, its working.
closing this issue.


Proposal: idea for a really interesting feature

I would like to do this and that. What do others think?

Not sure it will work


Update 2_fullyconnected.ipynb

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

we need the CLA to be signed before we can accept.  are you able to sign?

(leave a comment if you're able to sign and we'll reopen, thanks!)


Allow for selecting and copying text out of a Sticky Scroll header

The text inside of a Sticky Scroll header cannot be selected.  The only action I can perform on the header itself is click it.  It'd be nice to be able to click and drag to select text and copy it out like normal text inside of a document, without having to click on the header and lose my place in the document.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Could not find appropriate writer for thumbnail "…", attempting conversion.

My extraction config currently has the default setup (except paths) after switching to a new more powerful linux PC. Now Cineast CLI always displays that "ShotThumbnailsExporter" warning mentioned in the title. Other than that, the extraction works normally.

Do you get a follow-up error with Could not find appropriate writer for thumbnail "...", even after conversion! ?
If not, then you are somewhat fine, as apparently (based on your context) the default format for thumbnails does not work anymore on this specific JDK / OS / hardware configuration. The default should be JPG, but may you changed something somewhere. For further information on the issue, see ImageIO.write  for OpenJDK 21.
If so, then you are somewhat restricted, as no thumbnails have been created.
See https://github.com/vitrivr/cineast/blob/main/cineast-core/src/main/java/org/vitrivr/cineast/core/features/exporter/ShotThumbnailsExporter.java#L85
In such cases, it would be very helpful to have the following information:

JDK version
OS version
Cineast commit hash / version
Cineast config
Minimal example with media file, if possible

Thankfully i don’t get a follow-up error. All the thumbnails were generated and Vitrivr-NG is able to find them. I’m using OpenJDK Version 21.0.3, Ubuntu 24.04 LTS and the latest Cineast version from the main branch.
I noticed a comment in your linked script that says that the thumbnail output format defaults to PNG.
See https://github.com/vitrivr/cineast/blob/main/cineast-core/src/main/java/org/vitrivr/cineast/core/features/exporter/ShotThumbnailsExporter.java#L32
I also didn’t change anything in the extraction_config regarding the exporter settings:
"exporters":[
   	 {
   		 "name": "ShotThumbnailsExporter",
   		 "properties": {
   			 "destination":"thumbnails/"
   		 }
   	 }
    ],


Add Submenus (2nd attempt)

I apologize for messing up my Repo before, I had it on internal. Anyway I have created a new Repo which is public facing. It is here:
https://github.com/coderdnewbie/TailwindDemo
It will show you an easy way to implement submenus. You can improve this and add this to your code.
Thanks.

Thanks, I 'll look into it.


ci: Testing label action and OwlBot linting (redux)

Description
Followup to #467 and #468 to test OwlBot linting and checks.

Testing complete. Turns out we didn't need to add a new action and OwlBot runs on new PRs without the owlbot:run label (you can still label it manually to trigger a run). Another thing I noticed is that OwlBot is not committing changes like it usually does, but it is silently running checks and marking as pass or fail. So seems like an OwlBot configuration issue, and GH Actions are not needed here.


lfw_eval.py

May I ask if the models.net_sphere in lfw_eval.py is missing?I can't find net_sphere in models.

That's another model for debugging. You don't need to run lfw_eval.py file. I have cleaned the code and updated it. Thanks.


broken theme regression

Hi,
there is regression since version v0.7.3 Beta when theme is fully broken on my system.
OS Windows 7 SP1 x64 with all updates ESU included, themes service fully disabled.

OK, fixed. Get the latest from the 0.8.5 release.

Thank you for the fix. I can confirm it's now ok :)


Deadlock when using Autofac and the ConsoleLifetime on exit

I'm trying to use Autofac as my service provider in a console application. Here is a minimal program to repro this:
using System.Threading.Tasks;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

public class Program
{
    public static async Task Main(string[] args) => await new HostBuilder()
        .UseServiceProviderFactory(new AutofacServiceProviderFactory())
        .RunConsoleAsync();
}

It is causing a deadlock because their provider doesn't implement IDisposable. Unfortunately, the ConsoleLifetime locks until it is disposed, and this only happens if:

The IServiceProvider implements IDisposable
The IServiceProvider disposes all IDisposable instances it creates

Autofac opted not to implement IDisposable in the past because if the service provider is supposed to be disposed, they should have put IDisposable on it (from https://github.com/autofac/Autofac.Extensions.DependencyInjection/issues/3#issuecomment-242068640). I've opened a new issue where I hope they'll implement it (or allow me to), but I imagine this will be an issue for other DI containers.

https://github.com/aspnet/Hosting/blob/ec51afd9d0a973c2a00b37a4c4e529b48ce816bf/src/Microsoft.Extensions.Hosting/Internal/ConsoleLifetime.cs#L58-L67
We could move the Set to StopAsync, but we'd risk skipping some events:
https://github.com/aspnet/Hosting/blob/ec51afd9d0a973c2a00b37a4c4e529b48ce816bf/src/Microsoft.Extensions.Hosting/Internal/Host.cs#L85-L95

Could ConsoleLifetime register for the IApplicationLifetime.ApplicationStopped token instead of (or in addition to) implementing IDisposable?

It wouldn't be much better than StopAsync, the order of event registration would still mean you'd miss some events and logs.

True, unless NotifyStopped() were moved to Dispose()
https://github.com/aspnet/Hosting/blob/ec51afd9d0a973c2a00b37a4c4e529b48ce816bf/src/Microsoft.Extensions.Hosting/Internal/Host.cs#L88

@Tratcher would you be open to me submitting a pr for these changes? Namely uses Autofac, and we'd like to use the hosting support for our microservices. While I can add my own lifetime to handle this, I'd prefer to get it usable by everybody if possible. I did a POC last night, and all the unit tests passed with these changes, but that might not be sufficient proof that this is a good change to make in general.

As a workaround, I've been able to do the following:
using System;
using System.Threading.Tasks;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

public class Program
{
    public static async Task Main(string[] args)
    {
        IDisposable container = null;
        await new HostBuilder()
            .UseServiceProviderFactory(new AutofacServiceProviderFactory())
            .ConfigureContainer<ContainerBuilder>((_, cb) => cb.RegisterBuildCallback(c => container = c))
            .RunConsoleAsync();
        container?.Dispose();
    }
}

I'm not sure the side-effects are worth it. We'll get back to you.

Same issue. Thanks @abe545 for a workaround. Are Autofac developers aware of this issue?

@abe545 Are you still interested in fixing this? Seems like we should do something here.

@davidfowl it looks like they implemented a fix for this in Autofac. Still have the issue with SimpleInjector

SimpleInjector doesn't plug in as the IServiceCollection implementation AFAIK. Can you clarify what you mean?


Support indexing local directories (without supported VCS)

I want use Hound as https://github.com/google/codesearch/ for my local directory with code (it subdirectory of my TFS repository)
Also fix README.md, file:// protocol doesn't work with any folder

Use the file:// protocol. This allows you to index any local folder, so you can clone the repository locally and then reference the files directly. The downside here is that the polling to keep the repo up to date will not work.

We should probably just detect if the file://protocol is being used and bypass the VCS code entirely, just indexing the repo.

@jklein I opened up a PR that hopefully addresses this issue: #138.

Same issue here. I want to index my already checked out SVN repo.

This would be great - I have a huge mercurial repo with the largefiles extension already checked out that i'd like to be able to index directly

Indexing local directories would be a great feature. Is there any way to workaround this while the PR is being updated?

+1 on local directories


Create 969922.txt

@alisher-kadraliev I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host 969922.k12.tr not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Why not PR into the original extension?

Since you only add an option, why make a new extension and not improve the existing one with a PR? 🤔

Yes, I had started with a PR to the original one initially 🙂. But to incorporate the code-fold-ing I had to make a lot of changes in the extension lua file and the original one is simpler to use if you do not want  the code-folding, the original include-code-files author also agreed to implement this feature as another extension.

Oh I see.
Maybe, mention in the readme that your extension is not really an extension of, but rather an alternative to, with more capabilities.
This "little" wording changes what is the behaviour you might expect from the extension.

Thank you for the suggestion and I have updated the readme. Please let me know if there is anything confusing or anything that can be improved 😊.

I think it's good, this should avoid confusion and better highlight that you provide a complete extension with improved features.


the browser-window on macos outdate

the libcef.dylib on macos called "Chromium Embedded Framework.framework, but browser-window still requires "libcef.dylib".

I have not added MacOS support. I have no mac so I have zero knowledge on what is needed to make it work on it.
Hopefully someone wants to fix that for me.

But if you can make it work and put an PR up I'd merge it.


Add PostModal component & integrate it with Feed

Fixes #1331
Changes:

Add PostModal Component and integrate it with SubFeed & UserProfileFeed

TODO:

[x] navigating from topics, with follow buttons or hashes, component gets unmounted in React, but component still displays for some reason,
[x] Loading comments is slow for large amount of comments (I guess this goes along with performance optimization
[x] Image Modal appears in background of PostModa

Still buggy for me.
When i click on an image in feed the modal is not opening.
When i click on a tag within a modal the url is wrong.

Please @jm90m use label PR: Need update when you are working on a PR and don't remove it unless it's ready and you tested the PR all the way. The best PRs don't need so much comments or iterations.

yeah @bonustrack I was still updating it, my fault should've at least notified you before I slept last night, I really wanted to fix the top nav shifting when opening any modal issue + a few other issues that I saw. Sry again, will try to use PR: Needs update tag on all my PRs that need update + still testing it, trying to test stuff more on different browsers since 20% of our users, use FF + Safari.

These buttons are not working:

Please test comment / vote / reblog aswell.

@bonustrack z-index issue with popover and even tooltips in post modal, but its fixed now, replies work, and reblogged has always worked since its a modal

@bonustrack since this PR affects our main product, and somethings are not that obvious to me, I wrote an entire list of what to test for. Testing it now.
Display

[ ] Open PostModal and displays post, scroll down and post displays comments
[ ] Displays post with lots of comments - https://busy-master-pr-1376.herokuapp.com/@fredrikaa/steempress-now-available-in-the-wordpress-org-plugin-store-introducing-v1-0
[ ] Display image modal ontop of PostModal
[ ] Display reblog modal ontop of PostModal
[ ] Display who upvoted this post ontop of PostModal

Navigation

[ ] Navigation from PostModal to users profile

[ ] Navigation to users profile by author of post
[ ] Navigation to users profile WITHIN the post
[ ] Navigation to users profile from comments authors

[ ] Navigation from PostModal to tags

[ ] Navigation from PostModal to same tag while PostModal is Open
[ ] Navigation from PostModal to different tag while on home feed
[ ] Navigation from PostModal while on different feed types

[ ] Trending Navigation
[ ] New Navigation
[ ] Active Navigation

[ ] Navigation from PostModal while

[ ] Navigation from PostModal to external URL
[ ] Back button works

Post tooltips within PostModal

[ ] Display tooltip for post created
[ ] Display tooltip for platform that post was created from
[ ] Display tooltip for time it takes to read
[ ] Display tooltip for users that upvoted
[ ] Display tooltip for reblog
[ ] Display tooltip for Payout

Post Action Items

[ ] Header Menu

[ ] Follow works
[ ] Save Post
[ ] Flag Post

[ ] Footer Menu

[ ] Follow works
[ ] Save Post
[ ] Flag Post

[ ] Upvote Post
[ ] Unvote Post
[ ] Click navigation comments takes you to full post page

Comments Section

[ ] Sorting pop over works
[ ] Create a new comment
[ ] Replying to existing comment
[ ] Upvote comment
[ ] Downvote comment
[ ] Tooltips for all comment header/footer

Comment link is broken on text preview:

I will review code tomorrow.


installation fails

me@home:~$ lyp install lilyjazz
Installing package fonts...
No such file or directory @ rb_sysopen - /usr/share/lilypond/current/fonts/otf/LilyJAZZText.otf
me@home:~$ lyp -v
Lyp 0.3.3

Testing has proved that it's not an issue of the package, but a limitation of lyp: packages containing fonts don't work with system lilyponds (i.e. those not installed by lyp). As this most probably cannot be fixed, the issue can be closed. The limitation is possibly worth mentioning somewhere.

Yeah that should be a bug in lyp itself. I'll give it a look tomorrow.

@igneus So I could pin-point the problem, could you tell me how lilypond is installed on your system - where exactly is lilypond's share directory? Do you have multiple versions of lilypond? Are there any directories under /usr/share/lilypond? Is there anything under /usr/local/share/lilypond?

@igneus I pushed a new version (0.3.4) that should fix this. Please test and let me know if the problem is solved.

Unfortunately not.
So here is the information you requested earlier today:
$ lyp list lilypond

Lilypond versions:

   2.14.2 (system)
   2.18.2 (system)
 * 2.19.32 (system)
=> 2.19.36

# => - current
# =* - current && default
#  * - default

2.14.2 lives in ~/apps/bin/lilypond and ~/apps/share/lilypond/
2.18.2 in /usr/bin/lilypond and /usr/share/lilypond
2.19.32 in ~/apps/lilypond-git/build/out/bin/lilypond and ~/apps/lilypond-git/build/out/share
2.19.36 is installed using lyp
/usr/local/share/lilypond doesn't even exist and /usr/share/lilypond contains a single directory named 2.18.2

Oh and I should have mentioned: output changed from yesterday. Today it says
$ lyp install lilyjazz
Installing package fonts...
patch /usr/share/lilypond/2.18.2/scm/font.scm
Permission denied @ rb_sysopen - /usr/share/lilypond/2.18.2/scm/font.scm

$ lyp -v # show I have the latest gem version
Lyp 0.3.4

I should add that deleting, writing or patching files in lilypond installations not produced by lyp (the output suggests that exactly this is being attempted) aren't a good practice. I would expect that the application either asks if it is allowed to or doesn't attempt it at all.
I usually have a few local lilypond installations in my home directory, that are writable. But I would kindly ask lyp not to touch them, even if it should mean that some packages won't work well with these installations.

You're right. Back to the code...

Please test again with the version I just released. It asks for confirmation both before patching and copying font files to system-installed lilyponds. It also tries to sudo copy the files (asking for password) if the files are not writable by the current user.

It works great. Thank you very much.


fix(@embark/cockpit): Remove loading from ENS util

Removed loading component from rendering as it was causing the ENS components to unmount and ultimately not show ENS results.

@jrainville - the conditional render of <Loading/> while waiting for the API response was causing the <ENS*/> components to unmount and mount again, thus resetting their state. The initial state of each component has a showResults: false, so when the <ENS*/> component would re-mount, showResults would be false and the result of the ENS operation would not be shown.
Perhaps maybe a better approach would be to include the ENS operations and showResults state in the ENSContainer and pass the correct operation to each ENS component via its props.


Integrate with Discord

Integrate the changes on this repository with the Discord project channel, using the webhooks
Source: https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22

This is a test comment to see the functionality

Test comment 2


Modifying a data table column name on an existing table fails

When I modify an existing data table column the v1.15 provider will attempt to modify the data table. Since the column names are immutable, once created this should result in a table re-create.
If only the "title" property changes, this change can be made without a re-create. Similarly, a column add can be performed without a re-create, but a column deletion will require a re-create.
tf_provider_bug.txt

Hi Rich
These rules are difficult to mirror in the provider. If I add ForceNew: true to the name field, the re create will occur when the string is updated or when a properties block is removed (which is good - two birds one stone), but it will also cause a re create when a block is added to the list. As far as I'm aware, there is no way to implement some sort of ForceNew-on-condition logic. It would take a lot of hacking on our end.
I'll raise the issue within the team to decide if we should implement the correct behaviour, but we may just have to make the rules clear to the user in the docs and leave it to them to follow them.
Regards
Charlie

Update on this issue:
The correct ForceNew logic could be achievable after playing around with this customdiff feature - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/helper/customdiff#ForceNewIfChange
Work is being tracked by ticket DEVENGAGE-2003


Is there any plan to support invocation in various languages programs?

Hello
As the title describes. I want to get the specified value through a simple "get" interface, instead of introducing the heavy etcd、zookeeper or consul library.
Regards.
Agile6v

There are no plans for using confd as a library in multiple languages.

Hello @okushchenko
Recently, I wrote a shared-memory based key-value library which is Experimental to share data among processes. This library can guarantee lock-free operation (some restrictions need to be noted.) and provide a variety of SDKs. I believe there are many scenarios where need to use this library.
Are you considering introducing this library into confd?
Regards.


Typo in Readme

Current coverage is 86.49% (diff: 100%)

Merging #82 into master will not change coverage

@@             master        #82   diff @@
==========================================
  Files             7          7
  Lines           548        548
  Methods          42         42
  Messages          0          0
  Branches          0          0
==========================================
  Hits            474        474
  Misses           74         74
  Partials          0          0

Powered by Codecov. Last update 94b85d2...f200eba

thanks


Refactor the library using alumna/unitflow

Ongoing progress in this one :)
We will have news in a few days

Ongoing progress in this one :)
We will have news in a few days

Done on v3.0.1-alpha


AppDebug 0.5.1_02

Began work on Markdown of README
updated hangman.cpp with a few symbols
Documented hangman in README to list bugs and simplify code.
Ideas regarding refactoring shuld be considered.
Optimization for current Windows device

Approved for debugging


ActiveSupport String inflections

$ bundle exec rbs diff --detail --format diff --type-name String --before gems/activesupport/6.0 --after 593
- [::String public] def safe_constantize: () -> untyped
+ [::String public] def safe_constantize: () -> untyped?

- [::String public] def titleize: (?keep_id_suffix: bool keep_id_suffix) -> untyped
+ [::String public] def titleize: (?keep_id_suffix: ::boolish) -> ::String

- [::String public] def demodulize: () -> untyped
+ [::String public] def demodulize: () -> ::String

- [::String public] def deconstantize: () -> untyped
+ [::String public] def deconstantize: () -> ::String

- [::String public] def parameterize: (?locale: untyped? locale, ?preserve_case: bool preserve_case, ?separator: ::String separator) -> untyped
+ [::String public] def parameterize: (?separator: ::String, ?preserve_case: ::boolish, ?locale: ::Symbol) -> ::String

- [::String public] def tableize: () -> untyped
+ [::String public] def tableize: () -> ::String

- [::String public] def classify: () -> untyped
+ [::String public] def classify: () -> ::String

- [::String public] def humanize: (?keep_id_suffix: bool keep_id_suffix, ?capitalize: bool capitalize) -> untyped
+ [::String public] def humanize: (?capitalize: ::boolish, ?keep_id_suffix: ::boolish) -> ::String

- [::String public] def upcase_first: () -> untyped
+ [::String public] def upcase_first: () -> ::String

- [::String public] def foreign_key: (?bool separate_class_name_and_id_with_underscore) -> untyped
+ [::String public] def foreign_key: (?::boolish separate_class_name_and_id_with_underscore) -> ::String

https://github.com/rails/rails/blob/v<IP_ADDRESS>/activesupport/lib/active_support/core_ext/string/inflections.rb
https://github.com/rails/rails/blob/v<IP_ADDRESS>/activesupport/lib/active_support/core_ext/string/inflections.rb


DRM Support

Hi,
I have been checking out the docs i dont find support for drm. can someone please help?

We haven't streamlined DRM and we don't have guides just yet. It's managed by hls.js (the provider we use to stream HLS). See the hls.js API.
Also check out configuring hls.js in our docs.

We haven't streamlined DRM and we don't have guides just yet. It's managed by hls.js (the provider we use to stream HLS). See the hls.js API.
Also check out configuring hls.js in our docs.

Hi is there any way to integrate shaka player with Vidstack instead of hls or dash?

Nope. Check the docs for all providers.


fix use-after-free bug

The bindsym command accesses the token list after it has been freed. This patch prepares the error message before freeing the list.

Thanks!


Some Quaternion changes

Identity const
Make constructors visiblity are protected to allow extend class

you can use 7.3.3 with your changes.


embed np

After creating your pull request, tick these boxes if they are applicable to you.

[x] I have tested my changes against the review branch (the latest developmental version), and this pull request is targeting that branch as a base
[x] I have tested my changes on Python 3.5.3 or higher

Description
Adds embed support to command now playing.
Related issues (if applicable)

re-opening in hopes @jaydenkieran will close the branch I opened by accident 😂


chore(deps): update terraform terraform-ibm-modules/cos/ibm to v8.2.0

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cos/ibm (source)
module
minor
8.1.10 -> 8.2.0

Release Notes

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v8.2.0
Compare Source
Features

Surface ability to configure object locking  (#593) (4146d09)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

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


[INT-431] Enable randomized producer id

Randomize Kafka producer ID for backfill jobs. This way we will be able to run multiple jobs at once and they will be able to push to same topic without being fenced.

Do we have to worry about the possibility of it generating a duplicate number ?

It could generate duplicate number but probability is low. We will only run at most a few tens of jobs. And if the numbers are the same, one job will crash and restart and probably have a different number.


Migrate Virtual Machine Scale Set OS disk

Is it possible to migrate unmanaged OS disk to managed for existing VM Scale Sets?
I see by default new Service Fabric clusters are created with VM Scale Sets which are using managed disks. There is also a warning for existing clusters "This scale set uses unmanaged disks. We recommend that all new scale sets be deployed with managed disks". However it doesn't say how to do it for existing VM Set.
For standalone virtual machines there are guidelines how to migrate to managed disks, but nothing about VM scale sets. Just changing it in ARM template and doing incremental update - doesn't work and throws error:
 "error": {
    "code": "PropertyChangeNotAllowed",
    "target": "osDisk.managedDisk",
    "message": "Changing property 'osDisk.managedDisk' is not allowed."
 }

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

ID: 836301e3-28ef-e12f-f0fc-78e0a3448eed
Version Independent ID: ba2336dd-6937-26d1-b31d-c1be43ed71c3
Content: Migrate Azure VMs to Managed Disks
Content Source: articles/virtual-machines/windows/migrate-to-managed-disks.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

Thanks for the feedback! We are currently investigating and will update you shortly.

@Aleksanderis Please check if this document helps with your requirement - Convert a scale set template to a managed disk scale set template

I already tried to do migration to managed disks on VM scale sets using ARM templates, but I'm not sure what's the difference.
I tried following template:
"osDisk": {
    "createOption": "FromImage",
    "name": "vmssosdisk",
    "managedDisk": {
        "storageAccountType": "Standard_LRS"
    }
}

Actually it's copied from Service Fabric cluster template generated when you create Service Fabric cluster in Azure Portal. In other words - this template works if it's created from scratch. However I see in docs from your URL - it mentions less properties.
So, might it be because I specifically specify managedDisk? What is its' default values then, or what if I will want different one?

@Aleksanderis Please note that as stated in the document I provided that - The vhd containers property is also removed, along with the OS disk name property as these properties are automatically handled under the hood by managed disk. You could add "managedDisk": { "storageAccountType": "Premium_LRS" } in the "osDisk" configuration if you wanted premium OS disks.
By default all values you see are related to new scale set and template helps to remove those which are not needed when you want to convert it to managed disk. Check the quick repository of ARM templates here - Azure Quickstart Templates.

@MohitGargMSFT, ok, to be more confident - I spent some time and tried the approach with removed both vhdContainers and managedDisk properties in ARM template.
At first it looked promising - deployment was successful. However I had doubts after I saw how quickly ARM deployment passed - it passed like nothing was changed. So I looked in resources.azure.com and vhdContainers were not removed. I double checked if I pushed really changed ARM template, and yes - it was correct.
That's how it looked like:

So it seems this approach doesn't work to migrate to managed disks in case of incremental ARM deployments. Or did I miss some more magic somewhere? ;)

The simple answer to your question is there is not an automated way to migrate a Scale Set instances from unmanaged disks to managed. You will need to redeploy the scale set using managed disks.
The simplest way to do this would be to create an image based off one of your original scale set instances VMs then use that image to deploy a new scale set via the portal or ARM template that uses managed disks.
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/faq-for-disks#migrate-to-managed-disks

@Aleksanderis I will close this out for now.
In addition, if you would like to see the feature of migrating to managed disks for existing VMSS I would suggest leaving that feedback on
UserVoice so the product team can see and others can upvote.


Popper

Thanks for submitting your project to be featured in the Open Leadership Zone at MozFest 2017 :sparkles:
This is open to any project in Mozilla Open Leaders round 4 -- even if you're not coming to MozFest. This process ensures that you're following open practices and will help set you up for a sustained contributor community afterwards. If you have any questions, feel free to reach out to @acabunoc or ask questions in our chat room.
Open Project Checklist :clipboard:
Your project must complete the following to be a featured on Mozilla Pulse and the Open Leadership Zone at MozFest 2017. As you complete each exercise, check off the box and comment with a link to your completed resource. This template repository is here to help you if you get stuck!

[x] Complete Open Leadership 101
[x] Provide a GitHub repository for work and discussion on your project in a comment

new to GitHub?  Here's a step-by-step guide on using the #mozfest template

[x] Create file: README.md in your project repository. This file should help newcomers understand what your project is, why it's important, and kinds of help you're looking for.
[x] Create file: LICENSE to give your project an open license, allowing for sharing and remixing.
[x] Create file: CONTRIBUTING.md so others know how they can contribute. If you'd like, you can remix this template
[x] Create file: CODE_OF_CONDUCT.md. This can be the Mozilla Community Participation Guidelines or a code of conduct of your choice
[x] Turn on your Issue Tracker and create issues to describe each task that you need help with and how a contributor can get started on that task. If you're participating in Hacktoberfest, Create a label called hacktoberfest and apply it to your issues.

Ready to be featured :tada:

[x] Fill out this form to submit your project to Mozilla Pulse. Add the tag open leadership zone.
[ ] Leave a comment on this issue with the text This is ready for the Open Leadership Zone. @acabunoc will review this issue. If accepted, your project will be approved on Mozilla Pulse and featured in the Open Leadership Zone.

If you get stuck at any point, feel free to look at the project templates or reach out to your mentor or @acabunoc. We're here to help you through this process.

http://github.com/systemslab/popper

@acabunoc This is ready for the Open Leadership Zone. Thanks!

Hey @ivotron! I can't find your license -- can you add one in the root folder? Need to make sure it's open source 😄

Sorry @acabunoc ! I thought I had done that. I've added it and it's up. Thanks!

Perfect, thanks @ivotron! I approved your post and your public pulse listing is here: https://www.mozillapulse.org/entry/462 🎉 👍


Tag 1.1 release

Hi, I saw that some commits were added after the 1.0 release.
I suggest that a 1.1 release be tagged.

Good point :) Doing it now.


--localize and --deploy-url

🚀 Feature request

[ ] new
[ x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
I would like the ability to invoke build once for multiple languages with both the --localize and --deploy-url options. I can see from https://github.com/angular/angular-cli/issues/17737#issuecomment-634023656 that this is not supported however as best as I can tell there is no alternative CDN solution here.
We have a large angular application that receives frequent updates. Each time an update is pushed through, a new version is generated. Our CDN retrieves a request for the root of the site eg https://example.com and determines which language the client is using and returns the correct index.html for that language. The contents of that index.html refers to all assets via a version and language specific path eg /assets/v1.234.5-es/img.png
Previously we were using --deploy-url to build per language which was working as above, but this was against an older version of angular that did not support the --localize option. Additionally, as more languages are being added, this solution does not scale.
There are no CDN options as best as I can tell that support

Common urls for the application, eg using baseHref we end up with https://example.com/v1.234.5-es/section-a instead of https://example.com/section-a - breaking links and confusing users
Minimising requests against the CDN for the same language / version
New versions of the application coming through immediately without combining partials from old and new versions - chrome ignores cache headers when retrieving multiple assets from the same domain, it will retrieve the first couple, see 304's and then return the rest from cache.

Hi @bgardner-noggin,
The deployUrl option is deprecated and will be removed in future.
This option was previously introduced to handle application that only assets are hosted on a CDN. This setup is now mostly considered as legacy as it is recommended that the entire application is hosted on a CDN.
The problem in your case appears that while you are configuring baseHref, APP_BASE_HREF is not being configured.
ng build ---base-href /v1.234.5-es/

providers: [{provide: APP_BASE_HREF, useValue: '/' }]


Hidden input for type

Tests for demonstrating #67.
Branched out from #66, since I'm using the new fields on the reminder module.

I'm not sure whether it's possible to find the name of the type field with the arguments passed to to_form/5. If it's not possible, we'd have to pass the schema as an additional argument, which would be a breaking change.

@mathieuprog I rebased this branch as well. I'm pretty busy with other stuff at the moment, so I'm not sure whether I can get to fixing this myself. If you have time, feel free to take over.

@mathieuprog I rebased this branch as well. I'm pretty busy with other stuff at the moment, so I'm not sure whether I can get to fixing this myself. If you have time, feel free to take over.

This PR is finished and includes the fix. Should be good to go.


feature(universal): add support for Angular Universal

add the possibility to scaffold a universal project with --universal

I signed it!

I signed it!

Hi @devCrossNet, could you rebase this PR?  It's obviously on top of previous commits, so there is some problem with it. Thanks!

@hansl I rebased the branch

@devCrossNet guidelines to update an existing project to universal will be helpful.

@ritz078 @intellix added :-)

AoT is currently not working with universal.

@devCrossNet what about lazy routing support ?

Hello, I believe myself and few other people have been following this feature for a while. Wanted to check in if there is any update on progress for universal support + if you guys need help with anything?

@IljaDaderko I am on it. I hope I can get the requested changes (most of them) in this weekend. after that, I have to wait for another review.

@devCrossNet any idea how will you be handling lazy routes (code split points) on server ?

@kuldeepkeshwar I don't know. I have to talk about it with the team

Closing this PR to master, as this is being tracked/managed in a separate branch.

@Brocco can you put the new link here so we can track? thanks

https://github.com/angular/angular-cli/tree/universal ?

@chrillewoodz I guess this one now: https://github.com/angular/angular-cli/pull/2749


core.26725 file

In my /bin folder there is a core.26725 file. It is not readily human readable. What is the purpose of this file?
v0.13.4

Please try with the latest version 13.5.8 but if you are still experiencing issues, or happens again, please attach the core dump file and the version you were using.


[FEATURE] Add Shadcn UI Support

Description
We aim to integrate Shadcn UI into our project to enhance the UI components with a modern and consistent design. This will involve setting up Shadcn UI and refactoring existing components to use Shadcn UI where applicable.
Expected Behavior

Shadcn UI should be installed and configured correctly within the project.
Existing UI components should be refactored to use Shadcn UI components where appropriate.
The overall design should be consistent and improved, leveraging Shadcn UI's features.
Dark and light mode compatibility should be maintained.

Actual Behavior
Currently, we are using plain Tailwind CSS, which requires additional classes and dark mode classes in each component, resulting in a lot of redundant code. This issue can be addressed by integrating Shadcn UI.
Additional Information

Ensure that the integration does not break any existing functionalities.
Update documentation to reflect the usage of Shadcn UI components.
Conduct thorough testing to verify that all refactored components work as expected.
Provide a style guide or reference for developers to follow when using Shadcn UI in future developments.

@FrancescoXX

hey @soham901 , we are putting this on hold because I want to create a design team first, we all have different visions
But if you want, you can create a PR to show how it will look like

hey @soham901 , we are putting this on hold because I want to create a design team first, we all have different visions
But if you want, you can create a PR to show how it will look like

Okay then let's go with the existing solution

closing this for now. IF you want, you can open a discussion about the UI


[Gateway] : Add multi lingul support.

Issue Type

[ ] bug report
[x] feature request
Current Behavior

Currently gateway doesn't support multi-lingual so good to have that as feature.
NOTE: from kevin.
Have we actually ever thought about translating?
Having a i18n json file giving it to some freelancer on Fiverr for a small fee and having a multi-lingual site etc. (only a small fraction of the world population speaks English)

Expected Behavior

We should support the multi lingual on gateway.
Steps to Reproduce

Suggested Fix

Lingui will have better support with react and good for translation and prepare multi-lingul site.
https://lingui.js.org/
React package we can make use of @lingui/react

@wsdt
Would love to know your thoughts on this how we should handle it on UI layer.

Rerender whole app base on language selection dropdown somewhere on gateway
Route base rerendering like gateway.boba.network/en or gateway.boba.network/fr like wise?

@wsdt Would love to know your thoughts on this how we should handle it on UI layer.

Rerender whole app base on language selection dropdown somewhere on gateway
Route base rerendering like gateway.boba.network/en or gateway.boba.network/fr like wise?

Hi mate, sure in general imho the language should be detected automatically. After that it's usually sufficient to have a small button somewhere to switch to another available language.
What do you think?

@thenursegreg42069 @cschlauf @InoMurko ,
Would love to know your thoughts on this, Shall we keep this issue open and get the feature added to the gateway?
How important feature to have multi lang support on the gateway with respect to business needs?

I don't think we need it at the moment. We don't have enough activity/traffic to warrant multi-language support. Unless of course it is a low lift/ very quick task.

Okay, adding low priority!


Addition of internal consumer metrics

Adds three OTel metric instruments with instrumentation on:

records consumed
schema resets
memory in use.

Note that I have not added tests, which would delay us a lot for little benefit. There are existing debug-level assertions that cover the memory accounting. To test this experimentally, I used a recorded data file and a configuration like:
receivers:
  file/input:
    path: "${env:DIR}/data.json.zstd"
    format: json
    compression: zstd
    throttle: 0
  otelarrow/loopback:
    protocols:
      grpc:
        endpoint: <IP_ADDRESS>:8082
        max_recv_msg_size_mib: 24

exporters:
  otelarrow/forward:
    endpoint: <IP_ADDRESS>:8082
    wait_for_ready: true
    arrow:
      disabled: false
      num_streams: 1
      disable_downgrade: true
    tls:
      insecure: true
    retry_on_failure:
      enabled: false
    sending_queue:
      enabled: false
      num_consumers: 1
    timeout: 30s
  logging:
  file/output:
    path: "${env:DIR}/output.json.zstd"
    format: json
    compression: zstd

extensions:
  pprof:

processors:
  batch:
    send_batch_size: 1000
    send_batch_max_size: 1100
    timeout: 10s

service:
  extensions: [pprof]
  pipelines:
    traces/first:
      receivers: [file/input]
      processors: [batch]
      exporters: [otelarrow/forward]
    traces/second:
      receivers: [otelarrow/loopback]
      processors: []
      exporters: [logging, file/output]

  telemetry:
    resource:
      "service.name": "data-replayer"
    metrics:
      address: <IP_ADDRESS>:8889
      level: detailed
    logs:
      level: debug

Then I see metrics (via Prometheus) at :8889/metrics, like:
# HELP otelcol_arrow_batch_records_total
# TYPE otelcol_arrow_batch_records_total counter
otelcol_arrow_batch_records_total{stream_unique="4797068c"} 52445
# HELP otelcol_arrow_memory_inuse
# TYPE otelcol_arrow_memory_inuse gauge
otelcol_arrow_memory_inuse{stream_unique="4797068c",where="library"} 5.6499008e+07
otelcol_arrow_memory_inuse{stream_unique="4797068c",where="user"} 0
# HELP otelcol_arrow_schema_resets_total
# TYPE otelcol_arrow_schema_resets_total counter
otelcol_arrow_schema_resets_total{payload_type="RESOURCE_ATTRS",stream_unique="4797068c"} 1
otelcol_arrow_schema_resets_total{payload_type="SPANS",stream_unique="4797068c"} 7
otelcol_arrow_schema_resets_total{payload_type="SPAN_ATTRS",stream_unique="4797068c"} 4
otelcol_arrow_schema_resets_total{payload_type="SPAN_EVENTS",stream_unique="4797068c"} 3
otelcol_arrow_schema_resets_total{payload_type="SPAN_EVENT_ATTRS",stream_unique="4797068c"} 5
otelcol_arrow_schema_resets_total{payload_type="SPAN_LINKS",stream_unique="4797068c"} 3
otelcol_arrow_schema_resets_total{payload_type="SPAN_LINK_ATTRS",stream_unique="4797068c"} 1

Note that memory inuse appears to rise slowly.

(By the way, acknowledging that Prometheus will not be a good way to monitor metrics that have a unique attribute created every few minutes. This instrumentation maybe too expensive to run in practice, depending on vendor support for delta temporality and SDK support for "forgetting", but I would encourage us to over-instrument now and reduce later.


Is README.md for new backend system correct or?

Hi
I am trying to use your template reporting plugin, I have a new backend system and have some issues with installing it.
Basically, I am following README.md file doing this:
// From your Backstage root directory
yarn add --cwd packages/backend @tduniec/backstage-plugin-template-reporting-backend
// Wire up the plugin in Backstage new backend system in packages/backend/src/index.ts
backend.add(import('@tduniec/backstage-plugin-template-reporting-backend'));
// And that in app-config.yaml:
backend:
auth:
externalAccess:
- type: static
options:
token: ${MY_TOKEN}
subject: scaffolder-access-for-template-reporting # should be this subject value configured
// rest I can use defaults that are there.
Is there anything else required in the backend? Frontend is okay, I have no issue adding but of course, there are no reports and I can't find this template-reporting scaffolder action.
Thank you

Hi @toma2395
Thank you so much for your quick reply.
I tried to do this by adding the code below in the same file:
packages/backend/src/index.ts
const scaffolderModuleCustomExtensions = createBackendModule({
  pluginId: 'scaffolder', // name of the plugin that the module is targeting
  moduleId: 'custom-extensions',
  register(env) {
    env.registerInit({
      deps: {
        scaffolder: scaffolderActionsExtensionPoint,
        config: coreServices.rootConfig,
        // ... and other dependencies as needed
      },
      async init({ scaffolder, config /* ..., other dependencies */ }) {
        scaffolder.addActions(generateTemplateReport(config));
      },
    });
  },
});
backend.add(scaffolderModuleCustomExtensions());

And after that I received these are missing in the editor:

scaffolderActionsExtensionPoint
coreServices
scaffolder
generateTemplateReport

I am not sure what are next steps after completing the steps mentioned in the first post.
Thank you

Hi @toma2395
Just to let you know that I manage to work, I have reports now.
Basicaly I added these inports.
import {
  TemplateReportObj,
  templateReportingReportsExtensionPoint,
  generateTemplateReport,
} from '@tduniec/backstage-plugin-template-reporting-backend';
import { coreServices } from '@backstage/backend-plugin-api';
import { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node/alpha';

Is there anything here to add or change because you left some comments:
const scaffolderModuleCustomExtensions = createBackendModule({
  pluginId: 'scaffolder', // name of the plugin that the module is targeting
  moduleId: 'custom-extensions',
  register(env) {
    env.registerInit({
      deps: {
        scaffolder: scaffolderActionsExtensionPoint,
        config: coreServices.rootConfig,
        // ... and other dependencies as needed
      },
      async init({ scaffolder, config /* ..., other dependencies */ }) {
        scaffolder.addActions(generateTemplateReport(config));
      },
    });
  },
});
backend.add(scaffolderModuleCustomExtensions());

Also on the right corner is saying Owner: Rackspace, is that possible to change?
Thank you

Cool, I will add these to the instructions, it was missed.
I am pleased that it is working for you!
Maybe I will remove this label in future releases. Please keep updated :)
Let me know your feedback about this plugin since I have not requested to publish it on the official community yet and you may be one of first users :)


Z-Wave plus switch socket unexpected behaviour

Home Assistant release (hass --version):
0.49.0
Python release (python3 --version):
Python 3.4.2
Component/platform:
Z-Wave
Description of problem:
I have a RaZberry Z-Wave controller mounted on a RPI 2 Model B and a Wenzhou TKB Control System TZ68 On/Off Switch Socket. It works fine most of the times except when i power it off and then i power it on in the next 1,2 or 3 seconds, the switch and power LED turns on for 1 second then it turns off by itself. This happens from the web ui and from the psychical button on the socket.
I could not reproduce this when the socket is connected to the open-zwave-control-panel, when using that, it works fine from the ozcp web ui and from the psychical button.
I think it has something to do with the fact that i am not pulling the z-wave socket nor the z-wave controller, so after hass sends the command via the z-wave controller, it takes a second or two before the socket reports back to the z-wave controller its state and hass processes that.

Problem-relevant configuration.yaml entries and steps to reproduce:
automation:                                                                                [358/1592]
  - alias: Z-Wave soft reset at 2:30am
    trigger:
      platform: time
      after: '2:30:00'
    action:
      service: zwave.soft_reset

  - alias: Z-Wave heal at 2:31am
    trigger:
      platform: time
      after: '2:31:00'
    action:
      service: zwave.heal_network

  - alias: 'Update Available Notifications'
    trigger:
      platform: state
      entity_id: updater.updater
    action:
      service: notify.po
      data:
        title: 'Home Assistant'
        message: 'Update for Home Assistant is available.'

  - alias: 'Smart Switch 6 Notification'
    trigger:
      - platform: template
        value_template: "{% if is_state('switch.aeotec_zw096_smart_switch_6_switch', 'on') %}true{% endif %}"
      - platform: template
        value_template: "{% if is_state('switch.aeotec_zw096_smart_switch_6_switch', 'off') %}true{% endif %}"
    action:
      service: notify.po
      data:
        title: 'Home Assistant'
        message: "Switch01 changed state to: {{ states('switch.aeotec_zw096_smart_switch_6_switch') }}"

  - alias: 'UV Steriliser'
    trigger:
      - platform: template
        value_template: "{% if is_state('switch.wenzhou_tkb_control_system_tz68_onoff_switch_socket_switch', 'off') %}true{% else %}false{% endif %}"
    action:
      - service: notify.po
        data:
          title: 'Home Assistant'
          message: 'UV Sterilisation has finished'

  - alias: 'UV Steriliser off timer'
    trigger:
      platform: template
      value_template: "{% if is_state('switch.wenzhou_tkb_control_system_tz68_onoff_switch_socket_switch', 'on') %}true{% else %}false{% endif %}"
    action:
      - service: notify.po
        data:
          title: 'Home Assistant'
          message: 'UV Sterilisation has started'
      - delay: 00:36:00
      - service: switch.turn_off
        entity_id: switch.wenzhou_tkb_control_system_tz68_onoff_switch_socket_switch
group:
  zwave:
    name: Z-Wave
    view: yes
    entities:
    - group.zwave_devices
    - group.zwave_sensors
    - group.zwave_switches

  zwave_devices:
    name: Devices
    entities:
    - zwave.zwaveme_razberry_controller_2016_zwave
    - zwave.aeotec_zw096_smart_switch_6
    - zwave.wenzhou_tkb_control_system_tz68_onoff_switch_socket

  zwave_sensors:
    name: Sensors
    entities:
    - sensor.aeotec_zw096_smart_switch_6_current
    - sensor.aeotec_zw096_smart_switch_6_energy
    - sensor.aeotec_zw096_smart_switch_6_power
    - sensor.aeotec_zw096_smart_switch_6_previous_reading
    - sensor.aeotec_zw096_smart_switch_6_voltage

  zwave_switches:
    name: Switches
    entities:
    - switch.aeotec_zw096_smart_switch_6_switch
    - switch.wenzhou_tkb_control_system_tz68_onoff_switch_socket_switch

  automations:
    name: Automations
    view: yes
    entities:
    - automation.update_available_notifications
    - automation.smart_switch_6_notification
    - automation.uv_steriliser
    - automation.uv_steriliser_off_timer
    - automation.zwave_heal_at_231am
    - automation.zwave_soft_reset_at_230am

notify:
  - name: po
    platform: pushover
    api_key: <void>
    user_key: <void>

Additional Info
Notice from the configuration that i have another socket, ignore it since it works fine and i have no problems with it, also it's out of the scope of this issue.
To explain a bit the automations, i use this particular plug for a UV steriliser, i put things that i want to sterilise in it, turn the plug on, then i shuts down after the timer. I also receive notifications on Pushover when it starts and stops.
Switch Socket
RaZberry

It was related to the automation that turns it off after 36 minutes, more exactly, this one:
  - alias: 'UV Steriliser off timer'
    trigger:
      platform: template
      value_template: "{% if is_state('switch.wenzhou_tkb_control_system_tz68_onoff_switch_socket_switch', 'on') %}true{% else %}false{% endif %}"
    action:
      - service: notify.po
        data:
          title: 'Home Assistant'
          message: 'UV Sterilisation has started'
      - delay: 00:36:00
      - service: switch.turn_off
        entity_id: switch.wenzhou_tkb_control_system_tz68_onoff_switch_socket_switch

Once i turned it off the problem went away. The real fix might be a different approach in the way i am turning the switch off after power on because i did not find a way to cancel the action/delay if i manually turn the switch off before the delay time.


Command history

Save command history.
The users can navigate through the commands stored in the history using up-down-arrow keys.

Done.


Implement quota and authorization control, with per-datastore configuration file

JSON file with quota (max datastore % to reserve : - saved in vmdk folder, in a json file)
"Allow" list for VMs allowed to request ops.
allowVmdkOps list - VMId or config path glob expr. Default is "*" , meaning ALL allowed

This also adds  basic protection against run-away creation and DoS attacks
See  https://wiki.eng.vmware.com/CNA/Storage#Docker_Data_Volume_Plugin for spec.

#603 introduces multi-tenancy and knobs that Admin can control.


Cost the notebook debugging spec

This can probably be put into #8523

Here's the list of stuff to do:
Debugger Spec
1. Breakpoints
a. Monaco Glyph Margin for breakpoints
b. Use VS code breakpoints window to save and load breakpoints
i. Question: how to save line file information
2. Start debugging from button
a. Use VS code Debug session
b. Hide side bar
i. VS Code ask
c. Hide VS code debugger toolbar
i. VS Code ask
3. Opening sidebar
a. Breakpoints will be handled by our middleware and we'll wait for the open command and map it to the current ip
b. Stack frame won't work for different cells (until Custom Editor gives us the line number)
c. VS code we need navigation for line numbers
4. Cell Level Menu
a. Works easy, just copy VS code
5. Stack frame navigation
a. When a break event occurs figure out what cell to open
b. Original code it will open a file
6. Code errors in cell output
a. No work here
b. Potential idea for an exception window as Monaco
c. Debugger Ask
i. Debugger needs to handle 'unhandled' differently
7. Data Tips
a. Need to implement this completely ourselves (basically same as variable explorer requests)
b. Look at VS code implementation
8. Disconnect
a. No work
9. Interrupt
a. Rewire kernel interrupt button to also continue debugging
Debugger Spec
1. Breakpoints
a. Monaco Glyph Margin for breakpoints
b. Use VS code breakpoints window to save and load breakpoints
i. Question: how to save line file information
2. Start debugging from button
a. Use VS code Debug session
b. Hide side bar
i. VS Code ask
c. Hide VS code debugger toolbar
i. VS Code ask
3. Opening sidebar
a. Breakpoints will be handled by our middleware and we'll wait for the open command and map it to the current ip
b. Stack frame won't work for different cells (until Custom Editor gives us the line number)
c. VS code we need navigation for line numbers
4. Cell Level Menu
a. Works easy, just copy VS code
5. Stack frame navigation
a. When a break event occurs figure out what cell to open
b. Original code it will open a file
6. Code errors in cell output
a. No work here
b. Potential idea for an exception window as Monaco
c. Debugger Ask
i. Debugger needs to handle 'unhandled' differently
7. Data Tips
a. Need to implement this completely ourselves (basically same as variable explorer requests)
b. Look at VS code implementation
8. Disconnect
a. No work
9. Interrupt
a. Rewire kernel interrupt button to also continue debugging

After our last internal VS Code notebook discussion with Kai, et al. we got some answers as to what is possible and what isn't (without a little or a lot of work and convincing) and came to the conclusion that the following experiences need to be costed:

Pure debugging with as little UI change as possible to the VS Code debugging experience.

No hiding of the debugger sidebar
No hiding of the main debugger toolbar
No cell level debugging toolbar

The above experience adding a cell level toolbar that matches the functionality of the main debugging toolbar and any other known ramifications adding this toolbar would add.
A completely separate, run-by-line experience supporting:

Very basic breakpoints (just honor current cell)
No transition to VS Code debug mode
No step-into/out-of functionality
No callstack support

Splitting into three different options for costing

Validated as the costing is done.


Add 3.0.0-rc1

Waiting for: https://github.com/ruby/setup-ruby/pull/132

Unleash the PRs! 🎉

Related PRs:
https://github.com/rspec/rspec-core/pull/2804
https://github.com/rspec/rspec-expectations/pull/1246
https://github.com/rspec/rspec-mocks/pull/1366
https://github.com/rspec/rspec-support/pull/454

oups sorry. I just ran the script. Stoping now

:joy: Sorry I'd seen you'd done rspec-rails and there was no prs for the others, but I didn't check the timestamp

Closing in favor of https://github.com/rspec/rspec-dev/pull/267

@benoittgt #267 targets 4.0 dev

oook sorry

All merged thanks @benoittgt!


Deploy K8s kustomizations Without Wrapping In A Helm Chart

Is your feature request related to a problem? Please describe.
I'm trying to deploy a Big Bang variant using a kustomization inside of a Zarf package. The Helm chart that Zarf wraps my kustomization with fails to install due a templating error. Note that the kustomization builds correctly with kustomize build <dir>
Example of my Zarf pkg
kind: ZarfPackageConfig
metadata:
  name: batcave
  architecture: amd64
  yolo: true

components:
- name: flux
  manifests:
  - name: local-flux
    namespace: flux-system
    kustomizations:
    - ./base/flux

- name: batcave
  manifests:
  - name: batcave-dev
    namespace: batcave
    kustomizations: # fails to install!
    - ./envs/dev

We have determined that the Helm chart fails to install due to a templating error related to the following values for the Big Bang Monitoring chart:
    additionalPrometheusRulesMap:
      custom-rules:
        groups:
          - name: OOMKilled
            rules:
              - alert: OOMKilled
                expr: sum_over_time(kube_pod_container_status_terminated_reason{reason="OOMKilled"}[5m])>0
                for: 5m
                labels:
                  severity: critical
                annotations:
                  description: Pod {{$labels.pod}} in {{$labels.namespace}} got OOMKilled

Zarf fails with the error message:
parse error at (raw-batcave-batcave-batcave-dev/var/folders/sf/_jrk8zgs5tg33r_h1gzh_6t40000gn/T/zarf-1900317816/components/batcave/manifests/kustomization-batcave-dev-0.yaml:1263): undefined variable "$labels"

That $labels variable is inside of a ConfigMap that is passed into a Flux HelmRelease. I believe when we wrap this in a Helm chart, Helm believes it's a local Helm variable, resulting in the above error.
Describe the solution you'd like
I'd like the option to install the kustomization directly (like with kustomization build <dir> | kubectl apply -f -) instead of wrapping it in a Helm chart. Specifcally, I want to specify in the Zarf package to not wrap the kustomization in a Helm chart

For this (stated to @wirewc) we may want to make this apply for all manifests since that may be easier technically and would provide more flexibility on standard manifests as well

We will also have to think about how this affects the package lifecycle and user messaging on the key (since we use helm right now to uninstall for example and this may break that)

parse error at (.../manifests/kustomization-batcave-dev-0.yaml:1263): undefined variable "$labels"

This seems to indicate that Helm's parser (within API, I assume) is getting {{$labels.pod}}. This results in an attempt to template the content of $labels.pod within the Helm scope, however $label does not exist.
:wave: John Snow here, but it looks like the problem is the values are resulting in Helm getting content it can not template. You may need to add escape sequences.

Some contents to the above comment:
Kustomize and Helm both make use of the default markers from gotpl/txt ({{ }}). As such, if kustomize is ran before helm but leaves some content behin, or Helm is handed a YAML intended for kustomize, you will end up with "what happened here".
I don't know enough about the order of operations involved here, but I wonder about precisely what ordering is occurring to result in this behavior.
The report indicates that additionalPrometheusRulesMap was supplied, likely with the {{$labels.pod}} inside of it. That chart is the BigBang implementation of the kube-prometheus. The values provided there are rendered into this ConfigMap.
My immediate question would be what happens when the chart is rendered with helm template test-1337 CHART -f user-values.yaml --show-only templates/prometheus/additionalPrometheusRules.yaml

That $labels variable is inside of a ConfigMap that is passed into a Flux HelmRelease. I believe when we wrap this in a Helm chart, Helm believes it's a local Helm variable, resulting in the above error.

:thinking: Taking that into account ... yeah. I can see why Helm barked at it. The raw content is expected in the final YAML placed into k8s, and then consumed by Flux' HelmRelease object.

So it does look like kustomize does get run before being packaged by helm at least. I'm still shocked nothing barked until it got to helm. Regardless, the next step getting and isolated test case with @UncleGedd so we can iterate fast over changes as we poke through.
Because of how Zarf works, every deployment has to go through helm.

It looks like the Kustomize <-> Helm part seems to be working well. @UncleGedd and I will be touching base to dive into the issue further to find root cause. It looks like the issue is just the end of the deployment is failing and might be more related downstream from the helm.

Ok, so it turns out that Prometheus templating in Helm is a relatively common problem, check out:

https://github.com/helm/helm/issues/2798
https://stackoverflow.com/questions/64693812/how-to-fix-the-error-undefined-variable-labelsin-prometheus

I was able to replicate the issue with a barebones Helm chart with a ConfigMap containing a single Prometheus rule:
apiVersion: v1
kind: ConfigMap
metadata:
  name: monitoring-helmrelease-values-cm
data:
  values.yaml: |
    monitoring:
      values:
        additionalPrometheusRulesMap:
          custom-rules:
            groups:
              - name: OOMKilled
                rules:
                  - alert: OOMKilled
                    expr: sum_over_time(kube_pod_container_status_terminated_reason{reason="OOMKilled"}[5m])>0
                    for: 5m
                    labels:
                      severity: critical
                    annotations:
                      description: Pod {{$labels.pod}} in {{$labels.namespace}} got OOMKilled

Helm throws that same error:
Error: parse error at (chart/templates/configmap.yaml:20): undefined variable "$labels"

Reading those 2 links above, the recommended solution is to just change the templating on the chart's side. Although it's super curious that the Flux HelmRelease is totally fine with that  {{ $labels.pod }} syntax. Moving forward I think we have 2 options:

Add an option for Zarf to completely bypass Helm when applying a kustomization or plain manifests
Close this issue and I'll fix the templating on my end, becaues this probably isn't a problem Zarf needs to solve

While I do not see this as a Zarf issue, I'm more curious of how often we'll see this issue in the future. If the occurrence seems likely, then we should make an attempt to address it within Zarf or at the very least document how to resolve the problem.

Adding some more context to this conversation. I'm deploying a Big Bang cluster using Zarf in a connected env (using YOLO mode). Many of the use cases that Zarf was built for, we aren't using. What I'm interested in is using Zarf as a way to do declarative deployments (including declarative upgrades).
The problem my team and I face is that many of our platform upgrade steps are done either via a bash script or by manually interacting with the cluster. I'd like to use Zarf to declaratively define what upgrades look like.

We will also have to think about how this affects the package lifecycle and user messaging on the key (since we use helm right now to uninstall for example and this may break that)
100% agree @Racer159. For my use case, I'm fine with breaking the zarf destroy ... command, but I also don't want to break or confuse other Zarf users

After a brief sync meeting, it looks like Zarf Actions would be a great place to addressing this specific deployment issue.
Relevant Context:

Zarf Actions are replacement for Zarf Scripts
Zarf ACtions were officially released yesterday in release v0.24
The issue is helm is complaining about the variable name that might need to escaped (e.g. {{$labels.pod}})

Zarf Actions might be able to address core issue with the onDeploy action providing some sort of string replacement.
This functionality of Zarf Actions was not possible with Zarf Scripts exclusively.

Additional example of Zarf Actions outside of the examples folder can be found in the IaC repository.


Operation part 1

Hi,
Do you happend to have codebase for part 1 where you collect data and push it to HIVE.
This codebase assumes you have data already in HIVE.
Thanks
Samar

pushing to hive is trivial in NiFi
https://community.hortonworks.com/articles/108718/ingesting-rdbms-data-as-new-tables-arrive-automagi.html
https://community.hortonworks.com/articles/45706/using-the-new-hiveql-processors-in-apache-nifi-070.html
PutHDFS / autogen table
https://community.hortonworks.com/articles/64122/incrementally-streaming-rdbms-data-to-your-hadoop.html
https://community.hortonworks.com/articles/189514/converting-csv-files-to-apache-hive-tables-with-ap.html
https://community.hortonworks.com/articles/92496/qadcdc-our-how-to-ingest-some-database-tables-to-h.html
https://community.hortonworks.com/articles/155527/ingesting-golden-gate-records-from-apache-kafka-an.html

Thanks, i am looking into pushing the mertics data to our intenal hosting system.
what processors were used to capture below data shown in the link for status/metrics/failure? or do we have to write any custom reporting task using Prometheus?
https://dzone.com/articles/building-a-custom-apache-nifi-operations-dashboard

https://community.hortonworks.com/articles/224554/building-a-custom-apache-nifi-operations-dashboard.html
As seen in the top you can use the default reporting tasks push them to nifi and have it send to your system
https://community.hortonworks.com/articles/224554/building-a-custom-apache-nifi-operations-dashboard.html
There also a prometheus reporter
https://github.com/mkjoerg/nifi-prometheus-reporter
You can also read these values from rest and have your system call those rest apis
Or could have nifi read its own rest apis and push them to your system

Thank you, i will explore these 6 reporting tasks.

https://nifi.apache.org/docs/nifi-docs/rest-api/index.html
https://community.hortonworks.com/questions/69004/nifi-monitoring-processor-and-nifi-service.html

https://www.datainmotion.dev/2019/04/monitoring-number-of-of-flow-files.html
https://medium.com/@julienlaurenceau/monitoring-nifi-with-graylog-22ef1493310a
https://stackoverflow.com/questions/53806197/any-way-to-monitor-nifi-processors-any-utility-dashboard
https://www.slideshare.net/Hadoop_Summit/best-practices-and-lessons-learnt-from-running-apache-nifi-at-renault