Adds file ext class names for explorer icon support

Relates to #211
New class format example:

...

...

...

Hi @pflannery, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

I couldn't find the svg icons for the "file and open folder" so I didn't add any css for them.
This would be the base css classes I would of liked to of added to https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/files/browser/media/explorerviewlet.css
.explorer-viewlet .explorer-item.folder-icon {
	 padding-left: 22px;
	 background: url(Folder.svg) 1px 4px no-repeat;
 }

.explorer-viewlet .expanded .explorer-item.folder-icon {
	padding-left: 22px;
	background: url(Folder_expanded.svg) 1px 4px no-repeat;
}

.explorer-viewlet .explorer-item.file-icon {
	padding-left: 22px;
	background: url(File.svg) 1px 4px no-repeat;
}

Themes would only need to override the background-url for the file icon using the file-type-{ext} class.

@pflannery, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

@aeschli is it possible with our theming story to add global CSS rules that alter things outside the monaco editor? I would think not?

@bpasero Yes sure. The theming CSS rules are all global and can be used anywhere. But there's a limited set of standardized colors that TextMate themes define and they are editor related. Custom colors are also possible, of course.

@pflannery currently you cannot really theme anything outside the editor. @aeschli please chime in unless I am correct with that statement.

Is this PR going to be merged? It sounds like @aeschli is saying that this is possible. After getting used to file icons in Sublime and Atom, it's a bit of a dealbreaker not to support them.

@JoshAddington we can merge this in but it is NOT possible to add file icons to the explorer via theme extensions.

@bpasero  @aeschli I see now how theming worked with tm.
This evening I added the rework css parser which allows theming using css. This doesnt break tm themes.
I've added an example 'monokai with icons' theme.
The css selectors are controlled by a look up map and only those selectors can be used in css themes. ([attr=value] is allowed)
I've also moved the filename to attributes in the file items so we can detect gulp, grunt and bower files etc...
These are the allowed css selector\property definitions.
https://github.com/pflannery/vscode/blob/file-folder-icons/src/vs/workbench/services/themes/common/themeCssService.ts
Example theme using css for editor and explorer
https://github.com/pflannery/vscode/blob/file-folder-icons/extensions/theme-monokai-with-icons/themes/theme-monokai-with-icons.css
Example of css monokai theme with icons:

Nice!
One thing though, I don't know if it's a good idea to tie icons directly in with the theme. I know that it works now, and it'll likely be the best solution until more work is done on Microsoft's side. However, I I find it likely that a person could really like a particular theme, but the theme's author either doesn't support icons, or supports icons that the user doesn't like.
Since the presence of icons doesn't affect anything structurally, I wonder how feasible it would be to move the concept of an icon pack outside of the theme infrastructure; so users can mix and match themes with icons. Of course, that would require much more code than simply hijacking themes.

if your happy for this to happen then

we can add plugins like css whitespace for optional nesting and rework var plugin for  css-next variables etc etc...
I can change the filename attribute to data-filename= for html validation
add some unit tests
squash to one commit

@nelsonlaquet yeah would be nice to be able swap out the icons only. I still think themes could still choose to provide their own icons to match their colouring styles.

Super excited to see some progress on this!
I don't think themes are the right place to put icons though. The wrong icons would ruin a good theme and it would probably end up spawning a bunch of derivative themes just for icons: monokai-flat-icon, monokai-someother-icon, monkai-dimmed-flat-icon, ... You can imagine how it would get out of hand.

@Tyriar your right. I can also see many derivatives either way its done i.e. dark-web-icon-pack, high-contrast-web-icon-pack, light-web-icon-pack etc...
also clashes like .cs extensions for c# or coffee script would mean csharp-web-icon-pack etc...
I've always thought of the term theme to mean colours, icons, wallpapers and sounds (sounds not being relevant here).
I think we could setup themes so that they declare what components they contain. i.e. icons, syntax or both.
Then the ide allows us to swap out these components and also giving us the choice to turn off icons all together.
For the global dark, light, or high contrast themes we could eventually drop these in favour of css controlling the entire ide.
These global's could then be turned in to generic default, dark, light, or hc syntax themes.

@pflannery you should include the entire file name instead of just the file extension. Some files can have the same extension, but do completely different things (e.g. app.js = node icon and gulpfile.js = gulp icon).

@pflannery I glanced over and found you are using png. Will this work well on retina display?

@Code-DJ it's really only in order to get it to work and show its working. The example icon pack will be removed before it's merged.

@bpasero I've tried to add a unit test but I cant seem to run tests.
When using the launcher it doesn't run my test.
When using ctrl+shift+t I'm told weak is not a 32bit program. Which is weird because I can build and launch vs code with no errors.
Is there something I need to do on windows for this?

@pflannery you should be able to run the tests from the command line easily by typing scripts/test.sh

you should be able to run the tests from the command line easily by typing scripts/test.sh

thanks @bpasero . I was trying to use the launcher or test task but they aren't working.
Debugging is still a bit of chore but have it working like this
scripts\test.bat --debug-brk -f ^cssTheme

@aeschli @bpasero I didn't want to just go off and do this without first discussing with you.
Now that there is the new json theme capability I think we should have strategy pattern for each theme file format, json, tm and css.
The current loading and parsing code would be exactly the same as now but will be encapsulated and easier to test and support for each theme file format.
How's that sound?

@pflannery How about supporting themeing more UI components, like the color of the status bar?

@pflannery I appreciate your work but we are currently not planning to support theming outside the editor. We might revisit this post GA when we decide our 6 months roadmap and keep you in the loop.

@bpasero I hope the plan will include

all theme's to get the same extensibility as what the high contrast theme has now.
able to use css to create theme's (in this PR)
extensible folder and file icon themes (in this PR)
resource colouring  (data attributes added in this PR make it possible)
allow users to override theme style's using a preference file in .vscode i.e. contained in ./.vscode/theme.css (json|tm|etc..)

Would be a shame to be stuck with editor themes via abstracted config json\xml files

@chrisdias fyi on the last comment for planning

Sad to see this one go. Somehow the monochrome and same-weighted text in the folder view of VSCode makes it extremely difficult for me to read compared to all other editors which have either colorization or at least bold weights for folders to distinguish them from files. I'll be seeking a hack in the meantime.

This seems very specific to one area of theming. In my opinion, you should be able to theme (apply CSS to) any part of the application. This is very easy to do when you're using something like Electron.
Related: https://github.com/Microsoft/vscode/issues/459

@glen-84 that could cause issues and massive incompatibilities between plugins. Sure; it would open up the potential for a lot of awesome things, but I get the feeling the VSCode dev team wants to keep things as locked down as possible to ensure a consistent and usable experience.

@nelsonlaquet You're no fun! :grin:
But seriously, I don't believe that custom CSS would cause massive incompatibilities between plug-ins. People love customizing things, and it builds community.
I really hope that Microsoft doesn't do the Windows thing again, where you literally have to edit registry values just to change the font.

@bpasero So, what is the current stance on #211 and this (#3200)? Can we expect Icon support within the file explorer? Honestly, everything is monotone and it take me a while (in projects with many files) to actually find the file im looking for.

@FeaRCODE see https://github.com/Microsoft/vscode/issues/211#issuecomment-205757719 for a recap of the current situation. I'd love to see it added personally.

@Tyriar I agree. I am not sure how they went about their research, but a monotone list of names is hard to look at when I have a ton of files. Also, his comment on "multi-colored" distracting icons is false. As pictured here, these icon DRASTICALLY improve the speed at which i can find my folder/files. https://github.com/Microsoft/vscode/issues/211#issuecomment-210210437
I think that themes should also control what the icons look like and i do agree there should be an option to disable them.

Since we are now using electron 0.37 (Based on chrome 49) could we not use css properties(variables) to solve the icon url path issue, or even all of the css extensibility.
see: https://www.chromestatus.com/feature/6401356696911872
As the properties can also be accessed through JavaScript, something then like a .json file could be used to define the properties and then VSCode applies them to the UI. This would prevent devs using css to alter things they shouldn't.

@tht13 JSON is about an hours work away in the PR but I've stopped whilst we wait for the road map.

This would prevent devs using css to alter things they shouldn't.

I don't agree on your comments regarding CSS. If I don't like an extension then I just remove it.
Besides we can preview a icon\color themes before committing to using them.
On top of that this PR ensures CSS is only used for icons in the explorer.
Atom is a good example of letting designers build themes using less. Their approach is a modern approach. Example
I've used rework in this PR and not against less or sass. I want to keep this minimal as possible as there are many other people's preferences which can be added over time.

I've just looked at the amount of changes that have been since this PR was active and I've decided to abandon this PR as it's too old now.

@pflannery I didn't realize you had implemented it in such a way, nice!
Using native css variables was just a selection as they can then be manipulated from the javascript side more easily. I hope this comes back soon in a new PR, would be really cool to have!

@pflannery what is the name of the third theme in the first screenshot?

@kruncher It was an example theme (example-2) I made with this PR to show this change working
css
https://github.com/pflannery/vscode/blob/1275418cf0af648e8dbea2cdd412e2f47b9d25b3/extensions/theme-example-icons/themes/example-2-colors.css

@pflannery it looks awesome; I'd totally use that as my theme! I love the icon style as well.
Thanks, I will see if I can modify an existing .tmTheme file to make this work.

@kruncher icons are here if you want them https://github.com/pflannery/vscode/tree/1275418cf0af648e8dbea2cdd412e2f47b9d25b3/extensions/theme-example-icons/themes/example-2-icons


[HL GraphQL] Load test for v2

Objective:
Perform a load test to assess the performance and stability of the system configured with Postgraphile (exposing data from the Cartesi Node), adapterV2, and PostgreSQL, using k6.
Configuration:

Postgraphile: GraphQL API server for Cartesi Rollups Node data.
adapterV2: Ensure proper integration with Postgraphile and HL GraphQL.
PostgreSQL: RDBMS for data storage of HL GraphQL.
k6: Load testing tool for performance assessment.

Steps:

Setup:

Ensure Postgraphile, adapterV2 and PostgreSQL are correctly configured and connected.

Define Scenarios:

Identify key GraphQL queries.
Specify expected load patterns and performance metrics (response time, throughput, error rate).

Prepare Data:

Populate PostgreSQL with representative test data.

Configure k6:

Write k6 scripts to simulate load scenarios and concurrent users targeting HL GraphQL endpoints.

Execute Test:

Run k6 scripts, gradually increasing concurrent users.
Monitor system performance (CPU, memory, disk I/O, network).

Analyze Results:

Collect performance metrics with k6.
Identify bottlenecks and issues.

Report Findings:

Summarize results and observations.
Provide recommendations for optimizations.

Deliverables:

Summary report with scenarios, results, analysis, and recommendations.
Graphs/charts of performance metrics.
k6 test scripts.
Supporting logs and data.

Tests added


Fails to find libxcb on NetBSD

I thought I'd try https://github.com/rust-windowing/winit/pull/2614 in my NetBSD VM, and got "failed to open library 'libxcb.so.1'".
It seems this exists as /usr/libX11R7/lib/libxcb.so.2? Not sure why it's .2 rather than .1...
Would it make sense to just load it as libxcb.so, or use a different name by platform? Hopefully the bindings should all be correct since the xcb header files used on different OSes should be the same.

Relevant code:
https://github.com/psychon/x11rb/blob/c8b4c9bf3db587c5688a8592c9d3b925e8954faf/x11rb/src/xcb_ffi/raw_ffi/ffi.rs#L34-L38

Would it make sense to just load it as libxcb.so

Not really. On debian, libxcb.so is in the package libxcb1-dev, i.e. only meant as a build-time dependency (and used when passing -lxcb to the linker; the linker then sees that this file contains a SONAME of libxcb.so.1 and uses that for the final binary), not runtime. libxcb.so.1 and libxcb.so.1.1.0 come from the package libxcb1.
So... dunno what the correct way is, but so far I have no better idea than playing whack-a-mole with this.
@ids1024 Do you want to submit a PR that fixes the above linked code to work on NetBSD?
(Also, one could just not use the dl-libxcb feature. That way, we link against libxcb.so at build time and the linker then does its usual magic to find the correct run-time library...)

Another idea could be to try multiple names. If loading libxcb.so.1 fails, try again with libxcb.so. This has a higher chance of working everywhere and could turn into less of a "whack-a-mole".
Quick attempt to get this to work:
diff --git a/x11rb/src/xcb_ffi/raw_ffi/ffi.rs b/x11rb/src/xcb_ffi/raw_ffi/ffi.rs
index 9b5ffe8..b9a159d 100644
--- a/x11rb/src/xcb_ffi/raw_ffi/ffi.rs
+++ b/x11rb/src/xcb_ffi/raw_ffi/ffi.rs
@@ -33,12 +33,23 @@ pub(crate) mod libxcb_library {
         unsafe fn load() -> Result<Self, LibxcbLoadError> {
             // TODO: Names for non-unix platforms
             #[cfg(unix)]
-            const LIB_NAME: &str = "libxcb.so.1";
+            const LIB_NAMES: &[&str] = &["libxcb.so.1", "libxcb.so"];
             #[cfg(not(unix))]
             compile_error!("dl-libxcb feature is not supported on non-unix");

-            let library = libloading::Library::new(LIB_NAME)
-                .map_err(|e| LibxcbLoadError::OpenLibError(LIB_NAME.into(), e.to_string()))?;
+            // Go through LIB_NAMES and try to find a loadable library. If none is found, the error
+            // from loading the last entry is returned.
+            unsafe fn find_library() -> Result<libloading::Library, LibxcbLoadError> {
+                let mut last_error = None;
+                for name in LIB_NAMES {
+                    match libloading::Library::new(name) {
+                        Ok(lib) => { return Ok(lib); }
+                        Err(e) => { last_error = Some(LibxcbLoadError::OpenLibError(name.into(), e.to_string())); }
+                    }
+                }
+                Err(last_error.expect("LIB_NAMES is not empty"))
+            }
+            let library = find_library()?;
             let funcs = LibxcbFuncs::new(&library).map_err(|(symbol, e)| {
                 LibxcbLoadError::GetSymbolError(symbol.into(), e.to_string())
             })?;

Opinions?

The unsuffixed version (libxcb.so) might also be unavailable. For example, in ubuntu I will only have /usr/lib/x86_64-linux-gnu/libxcb.so.1 unless I install the development packages. The unsuffixed is usually there for the linker (ld) to find the library.
Additionally, if a system happens to have more than one libxcb.so.* version (for whatever reason), loading the incorrect one could cause issues due to ABI incompatibility.
I think the correct solution would be to cfg-gate the constant for each OS. We just need to figure out how the library is suffixed on each unix OS. It would be also nice to know why it is suffixed with .2 instead of .1 on NetBSD. Did the ABI break at some point?

It would be also nice to know why it is suffixed with .2 instead of .1 on NetBSD. Did the ABI break at some point?

Looking at http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/x11/libxcb/#dirlist, I did not find anything special. This seems to just build libxcb.
Next I looked at libtool. https://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4 is lots of fun. Assuming I did this correctly, netbsd* uses version_type=sunos. Linux uses version_type=linux. What's the meaning of this? This is answered by https://git.savannah.gnu.org/cgit/libtool.git/tree/build-aux/ltmain.in:
	linux) # correct to gnu/linux during the next big refactor
	  func_arith $current - $age
	  major=.$func_arith_result
	  versuffix=$major.$age.$revision
	  ;;

and
	sunos)
	  major=.$current
	  versuffix=.$current.$revision
	  ;;

libxcb uses -version-info 2:0:1, so current - age is 2 - 1=1. That's why we get libxcb.so.1. Everything using the sunos scheme will instead end up with libxcb.so.2.
Sadly, I do not know which values of $host_os really map to which systems and I certainly do not want to support AIX. Darwin has version_type=darwin, FreeBSD has version_type=freebsd-$objformat. Haiku uses version_type=linux. Both NetBSD and OpenBSD have version_type=sunos. That's the stuff that caught my eye from a quick scroll.
Darwin is the same as Linux:
	darwin)
	  # Like Linux, but with the current version available in
	  # verstring for coding it into the library header
	  func_arith $current - $age
	  major=.$func_arith_result

...and so is freebsd-elf:
	freebsd-elf | midnightbsd-elf)
	  func_arith $current - $age
	  major=.$func_arith_result

Soooo.... if I understand correctly, then only NetBSD and OpenBSD are affected and they should have libxcb.so.2, right?

Knowing now that it is a libtool thing, I found this: https://lists.gnu.org/archive/html/bug-libtool/2011-05/msg00007.html
TL;DR Looks like some historical bug converted to "feature" to avoid breaking things that have been wrong for too long.

Oh good, I was hoping we could find out exactly why the numbering is different, and on what platforms it is an issue, since allowing it to link an ABI incompatible version of the library would be a quite bad thing. (Not that a SONAME bump of libxcb seems very likely at this point.)

and I certainly do not want to support AIX.

Wait, AIX still exists? And Rust has a tier 3 powerpc64-ibm-aix target? I had only heard of AIX from looking at the arcane GNU scripts...

Does anyone have some time to prepare a PR with an update to the changelog? I guess it is time for a point release (and if we had any breaking changes, then I guess we need a branch without those breaking changes).
I will (likely) only have time for this on the weekend.


--terragrunt-out-dir does not work when running run-all plan in a leaf directory

Describe the bug
When running a run-all plan with --terragrunt-out-dir in a leaf directory, a strange filesystem permissions error pops up that is difficult to debug.
Terragrunt should either throw a clear error explaining why this is happening, or gracefully handle the behavior.
Note that this is a strange edge case, as most users should just use terragrunt plan instead of terragrunt run-all plan in a scenario such as this, but most users expect run-all plan to work just like plan within a leaf directory.
There's likely some logic that doesn't work right for reproducing the relative paths to terragrunt.hcl files in the --terragrunt-out-dir directory when run at a leaf directory.
Steps To Reproduce
Steps to reproduce the behavior, code snippets and examples which can be used to reproduce the issue.
terragrunt run-all plan --terragrunt-out-dir test

Expected behavior
A clear and concise description of what you expected to happen.
Nice to haves

[x] Terminal output
[x] Screenshots

│ Error: Failed to write plan file
│
│ The plan file could not be written: open
│ github-actions-openid-connect-provider/tfplan.tfplan: no such file or
│ directory.

Versions

Terragrunt version: v0.60.0
OpenTofu version: v1.6.2
Environment details (Ubuntu 20.04, Windows 10, etc.): GHA Ubuntu Latest and MacOS

Hello,
I am having the same issue when running from a root directory (env-1), e.g.
├── env-1
│   ├── module-1
│   │   ├── terragrunt.hcl
│   │   └── vars.yaml
│   ├── module-2
│   │   ├── terragrunt.hcl
│   │   └── vars.yaml
└── terragrunt.hcl

-> % terragrunt run-all plan --terragrunt-out-dir ./tfplan
│ Error: Failed to write plan file
│
│ The plan file could not be written: open tfplan/module-1/tfplan.tfplan:
│ no such file or directory.

To add to this, I get completely different behaviour if I use --terragrunt-working-dir with a relative path instead of an absolute path.
For example:
# create live/test1/terragrunt.hcl
# create live/test2/terragrunt.hcl

terragrunt run-all plan --terragrunt-working-dir live --terragrunt-out-dir /tmp/plan

Both plans get written to /tmp/plan/tfplan.tfplan.
If I instead run:
terragrunt run-all plan --terragrunt-working-dir "$PWD/live" --terragrunt-out-dir /tmp/plan

I get:

/tmp/plan/test1/tfplan.tfplan
/tmp/plan/test2/tfplan.tfplan

I would expect the same output for both commands.

Results in both plans being written to /tmp/plan/tfplan.tfplan.

same for me, except one thing: if i use absolute path for workdir, terragrunt not found .hcl files
I fixed problem by adding extra_argutments for plan and apply terraform command
`
extra_arguments "set_tf_plan_out" {
commands     = ["plan"]
arguments      = ["-out", "${get_repo_root()}/.terraform/terragrunt_plans/${basename(get_original_terragrunt_dir())}.tfplan"]
}
extra_arguments "set_tf_plan" {
commands  = ["apply"]
arguments = ["${get_repo_root()}/.terraform/terragrunt_plans/${basename(get_original_terragrunt_dir())}.tfplan"]
}
`
and removing TERRAGRUNT_OUT_DIR, but i wanna use run-all function without such workaround

Fix included in https://github.com/gruntwork-io/terragrunt/releases/tag/v0.68.6


Fix: passenv in tox.ini file doesn't accept whitespaces

Description
Some rules changed with the release of the new version of tox. One of those is the separator for the pass_env variable:
https://tox.wiki/en/4.0.3/faq.html#tox-4-changed-ini-rules
this commit fixes the issue
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[x] Changelog entry
[ ] Type annotations are present
[ ] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Pull request rejected by merge tool. Failed to parse change entry file: Invalid changelog entry file /tmp/tmpwa94twrr/changelogs/unreleased/fix-tox-issue-passenv. Changelog entry files should always end with a .yml extension.

Processing this pull request

Failed to merge changes into iso4 due to merge conflict. Please open a pull request for these branches separately by cherry-picking the commit that was made on the branch master (git cherry-pick 6f3fb20eeaac8aeebc226a6e5d1125377b36aa8a).

Merged into branches master, iso6 in 6f3fb20eeaac8aeebc226a6e5d1125377b36aa8a

Not closing this pull request due to previously commented issues for some of the destination branches. Please open a separate pull request for those branches by cherry-picking the relevant commit. You can safely close this pull request and delete the source branch.

This branch was not deleted as it seems to still be in use.

Processing #5241.


Include performance fee and buyback changes for OETH

I'm not sure when https://github.com/OriginProtocol/origin-dollar/pull/1277 will get merged or when changes will take effect relative to the deployment of OETH's contracts. We'll want to ensure that 20% of OETH's yield is being collected as a performance fee and that all of it can be used by the strategists to accumulate CVX or whatever PCV is desired.

My understanding is that the performance fee will naturally be set properly at launch but the buyback changes will need to be incorporated once we're ready to use some portion of the fee for that purpose. Until then, the funds will be sent to the Strategist.

Because we're doing all fees to CVX, sending all fees to the strategist should be all the code needs to do. No need for further changes until we want to start splitting things.


cli: update fitprint

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (0725da1) to head (2b0c249).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #204   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           42        42
  Lines         3578      3578
=========================================
  Hits          3578      3578

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


VS code CONNECT AWS ec2 that runs jupyter noebooks

Type: Feature Request

Please make it easier to connect to a AWS ec2 that runs Jupyter notebooks so I can use co-pilot here in my local ID.
I am not sure if it is possible but if you run it on AWS EC2 UBUNTU than it is an inferior experience to run it from the browser.
Also the main problem that many people uses the same EC2 so we need to make sure that individuals can se only the files that they open. In a simple Jupyter Lab basic install everyone sees all open files (that is slightly a disadvantage).

VS Code version: Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:35:13.448Z)
OS version: Windows_NT x64 10.0.19044
Modes:

@stromal would Remote SSH https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh into EC2 and install Jupyter extension on that instance work for you ?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

cc @roblourens

I have written a guide for it

ALL GUIDES

a. https://medium.com/mpercept-academy/connecting-aws-ec-instance-with-visual-studio-code-f7bbf388e9df
b. https://guyernest.medium.com/connecting-vs-code-to-develop-machine-learning-models-in-the-aws-cloud-aa1ebd16f890

Create FROM .ppk file a .pen file. ON ubuntu you can do this by [in out case I have added the file to .ssh folder /home/ubuntu/.ssh/your_key_file.pem. So you don't have to do this part just grab the key]

a. https://aws.amazon.com/premiumsupport/knowledge-center/ec2-ppk-pem-conversion/
b. sudo apt-get install putty-tools
c. chmod 400 your_file_name.ppk
d. sudo puttygen your_file_name.ppk -O private-openssh -o your_file_name.pem
e. In our case the your_key_file.ppk file is -> your_key_file.pem

Install the following extensions to your local VSCode
a. Remote — SSH
b. Visual Studio Code Remote - SSH: Editing Configuration Files
c. Jupyter Keymaps Extension for Visual Studio Code
d. Jupyter
e. Python

Create a config file and put it in to your .ssh folder
a. Open the following place or create folders to it C:\Users\your_actual_username.ssh
b. .ssh folder put in a config file (it has no extension but it is a text file)
c. For your_ec2_instance it should look like the following  (!!! You have to modify the your_actual_username part)
       Host your_ec2_instance
    HostName  any_ip_number_comes_here
    User ubuntu
    IdentityFile C:/Users/your_actual_username/.ssh/your_key_file.pem
    LocalForward 8888 localhost:8888
    StreamLocalBindUnlink no

d. GENERAL EXAMPLE (you can have multiple connection points in the same file)
     Host any_host_name
   HostName  any_ip_number_comes_here
   User ubuntu
   IdentityFile C:/Users/your_actual_username/.ssh/your_key_file.pem
   LocalForward 8888 localhost:8888
   StreamLocalBindUnlink no

 Host any_host_name
   HostName  any_ip_number_comes_here
   User ubuntu
   IdentityFile C:/Users/your_actual_username/.ssh/your_key_file.pem
   LocalForward 8888 localhost:8888
   StreamLocalBindUnlink no

e. The HostName is the Elastic IP addresses or if you don’t have on it is Public IPv4 address form AWS EC2 menu

local VSCode
a. Press -> F1
b. Type in -> connect
c. Select -> Remote-SSH: Connect to Host
d. Type in -> Add new SSH Host
e. At the bottom left coroner of vs code you should see 2 arrows pointing at each other with a blue background -> Click that
f. A menu pops up on the top chose -> Connect to Host
g. Chose the environment you want -> in our case it is: your_ec2_instance
h. If a menu pops up you might need to pick  -> linux

After you get connected you will be in the your_ec2_instance VScode
a. You need to install  extensions here as well
b. Go to the extension tab again
c. Select the python extension
d. Click “install in SSH: your_ec2_instance”
e. Select the following extensions: Jupyter, Jupyter Keymap, Jupyter PowerToys, Jupyter Notebook Renderers, VS Code Jupyter Notebook Previewer
f. Click “reload required”
g. Open up a random jupyter notebook
h. Chose kernal (it is a small icon in the top right hand corner of the kernal)
i. Than in the top middle it offers you to install other extensions click whatever extension it recommend and move to the extensions menu to see If VScode requires a restarts to be able to use any of these.

DONE


refactoring .env loading

You shouldn't have removed .env.example on functions annotated with #[cfg(test)]. It is okay to rely on the file for tests.


PMID:11870212 chromosome movement

abnormal chromosome movement in mitotic anaphase A
descendent of:
FYPO:0000141	abnormal mitotic sister chromatid segregation

GO:0007079?

yep! The chromosomes move up and down the spindle  but end up in the right place!

abnormal mitotic chromosome movement towards spindle pole FYPO:0007128
edit file: f623968cf338deb197a749ed344b11922bde331f
release: 22a37036cb982537b07873689c6932f2397082a6


Chat search triggers a get request every time input changes

Chat search should only trigger after the user has stopped typing, preferably for 1 second.

Hi, can you please assign it to me


update doc

Hello,
Is it possible to update the doc in https://skypjack.github.io/uvw/index.html
I try to build it locally but it doesn't work.
Thanks

Oh, yeah, my fault. I'm updating it. Thanks for pointing this out. :+1:

Done. Online soon.

I've just realized that the online doc isn't correctly generated.
I'm updating it soon. There is already another issue for that, so I won't reopen this since they are duplicate anyway.


#153045154 implement filtering for location and category

What does this PR do?
Implements filtering for both the category and location
Description of Task to be completed?
users can be able to filter events by category or location
How should this be manually tested?
after cloning the repo and running on postman go to the the resource endpoint
POST /api/events/search/ append ?location={{location}} or ?category={{category}}
where {{location}} and {{category}} is the query you want to search for
What are the relevant pivotal tracker stories?
#153045154
#153043663

Coverage increased (+0.7%) to 79.153% when pulling 2cf1385934b7a106efa83ea70baed5e9687b33fe on ft-filter-events-153045154 into b5df707335e4af95796976894f74b112154ad3ac on development.

Coverage increased (+0.7%) to 79.153% when pulling 2cf1385934b7a106efa83ea70baed5e9687b33fe on ft-filter-events-153045154 into b5df707335e4af95796976894f74b112154ad3ac on development.


Results on S3DIS benefit from pretraining on ScanNet, so is it a fair comparision with other methods?

Hi, thanks for your great job on SoftGroup. I have a question about the training of S3DIS. It seems that the model is initialized from a model pre-trained on ScanNet. This means that external data is used in the evaluation process of S3DIS. Are the results comparable to those of other work (like PointGroup, SSTNet, and HAIS)?

I contacted the authors of HAIS and asked for training on S3DIS. Training S3DIS from ScanNet checkpoint is suggested by them. I am pretty sure that HAIS also uses ScanNet pretraining for S3DIS.  Furthermore, PointGroup and SSTNet do not have released code for S3DIS. I am not sure how they trained on S3DIS.

I will benchmark it when available.


Standard Gates in 'qelib1.inc' Not Recognized by qiskit.qasm2.loads

Environment

Qiskit version: 1.0.2
Python version: 3.10.9
Operating system: MacOS 14.4

What is happening?
qiskit.qasm2.loads is not recognizing standard gates provided in qelib1.inc.
How can we reproduce the issue?
To reproduce the issue, execute the following Python code:
import qiskit

qasm = """
OPENQASM 2.0;
include "qelib1.inc";
qreg q[2];
swap q[0], q[1];
"""
circuit = qiskit.qasm2.loads(qasm)

Running this code results in a QASMParseError:
qiskit.qasm2.exceptions.QASM2ParseError: "<input>:10,6: 'swap' is not defined in this scope"

This error is also happening with other standard gates from qelib1.inc:

u0
u
p
sx
sxdg
swap
cswap
crx
cry
cp
csx
cu
rxx
rzz
rccx
rc3x
c3x
c3sqrtx
c4x

What should happen?
The parser should recognize and correctly process these gates as pre-defined, analogous to how it handles the Hadamard gate.
Any suggestions?
No response

The version of the "qelib1.inc" file you've linked here is actually a mutant version that Qiskit amended over time, and does not reflect the original definition of the file - all the gates you've commented on here are legacy Qiskit extensions to it.  The qasm2.load and qasm2.loads parsers both treat qelib1.inc exactly as specified in the original paper, and that documentation also explains the differences between the "real" and "legacy" versions.
Unfortunately, qiskit.qasm2.dumps still outputs assuming the mutant version of qelib1.inc right now - we have a discussion (#10737) on fixing that situation, but we keep struggling to find time to prioritise it.  In the mean time, you can make qasm2.loads (and load) understand the whole legacy file by doing:
from qiskit import qasm2

qasm2.loads(program, custom_instructions=qasm2.LEGACY_CUSTOM_INSTRUCTIONS)

Thank you for the clarification. Indeed, I encountered issues when trying to dump and load QASM programs. I'll use LEGACY_CUSTOM_INSTRUCTIONS in the meantime.


Context deadline exceeded

The Bug
When using the following YAML as a image registry
apiVersion: image.toolkit.fluxcd.io/v1alpha2
kind: ImageRepository
metadata:
  name: sealed-secrets
  namespace: flux-system
spec:
  image: quay.io/bitnami/sealed-secrets-controller
  interval: 10ms

the following log is returned form the image reflector
Get "https://quay.io/v2/bitnami/sealed-secrets-controller/tags/list?next_page=gAAAAABg2cH18ij9VQofd4q8kC_C8f3H5IG4kQ4FGSpehDR3RkIdYWz0Xw5eqhDFSdhvlUYyB_t2hbgG_-NhNIBGadfR4_SjO0qOi5GavRdVlpN6tvcb8ek%3D&n=50": context deadline exceeded

This only seems to happen on quay.io.
Replication
apply the above YAML to a cluster and wait for a fetch of version tags.
Observe the logs for the mentioned message
Versions
flux version 0.15.2
ghcr.io/fluxcd/image-reflector-controller:v0.9.1

  interval: 10ms

This is much too brief for an interval. The most likely case is that Quay has more involved anti-DoS protection and they are the only repo who has applied a rate limit to these requests. Another likely possibility is that reconciling every 10ms has resulted in a performance problem, on your side or Quay's, it's not rate limiting it's just an actual effective DoS of yourself.
If this is a typo, please let us know if fixing it helps.
A reasonable interval is 10m. If you were really aiming for more frequent reconciling of the ImageRepo, then you could try setting up webhook receivers for your ImageRepo instead, so that more frequent reconciling would be unnecessary.
Once I set up webhooks, I usually back of all of my reconciling intervals to at least 30m, since they are usually a No-Op from now on, as the webhook receiver triggers the reconcile activity on every update event, things are handled immediately and the periodic reconcile has no remaining work to do of its own, (unless something has gone wrong with the webhook!)

We should disallow image scanning under 60s, I didn’t expect anyone setting such a low interval as 10s, it’s basically DDOS…

Many thanks for the feedback and ideas, I think that I had a misunderstanding of the unit of time for the interval. My thought was it was 10 m**(in)**s. Luckily caught this before rolling it out to too many image repos.


Upgrade Avro to latest version to address CVEs

Description
Upgrade org.apache.avro:avro from 1.11.1 to 1.11.3 to address CVE-2023-39410 - When deserializing untrusted or corrupted data, it is possible for a reader to consume memory beyond the allowed constraints and thus lead to out of memory on the system. This issue affects Java applications using Apache Avro Java SDK up to and including 1.11.2.

@KeerthanaSrikanth can you please submit this fix upstream as well?


Transpilation of pure WinBUGS code when reimplementing Prior and Posterior Prediction

Hi,
I am a newbee to Turing.jl. So I try to reimplement the WinBUGS scripts of Lee & Wagenmakers' book BAYESIAN COGNITIVE MODELING. Now, I am stuck with the problem 'Prior and Posterior Prediction' in ch3.4. I want to stay close to the WinBUGS code with only 5 code lines. I tried to not export any values out of the model macro. But my chain and the plots generate infos which are completely misleading. I looked around and found two guys semihcanaktepe; quangtiencs doing similar reimplementations. But the circumvented the pure WinBUGS equivalent and wrote more verbose code.
For documentation purpose I attach the code below:
begin  # cf. BAYESIAN COGNITIVE MODELING
    #     Lee & Wagenmakers, 2013, ch.3.4, Prior and Posterior Prediction
    #---------------------------------------------------------------------------
    using Turing, MCMCChains
    using LaTeXStrings
    using StatsPlots, Random
    #---------------------------------------------------------------------------
    @model function priorPosteriorPredictive(n; k=missing)
        #----------------------------------------------------
        # prior on rate θ
        θ ~ Beta(1, 1)
        #----------------------------------------------------
        # likelihood of observed data
        k ~ Binomial(n, θ)
        #----------------------------------------------------
        # prior predictive
        θPriorPred ~ Beta(1, 1)
        kPriorPred ~ Binomial(n, θPriorPred)
        #----------------------------------------------------
        # posterior predictive
        return kPostPred ~ Binomial(n, θ)
        #----------------------------------------------------
    end # function priorPosteriorPredictive
    #---------------------------------------------------------------------------
    modelPriorPredictive = let k = 1
        n = 15
        priorPosteriorPredictive(n)
    end # let
    #---------------------------------------------------------------------------
    chainPriorPredictive =                          # chain is ok
        let iterations = 3000
            sampler = Prior()
            sample(modelPriorPredictive, sampler, iterations)
        end # let
    #---------------------------------------------------------------------------
    describe(chainPriorPredictive)                  # results are ok
    #---------------------------------------------------------------------------
    plot(chainPriorPredictive; normalize=true)      # plots are ok
    #---------------------------------------------------------------------------
    modelPosteriorPredictive = let k = 1
        datum = k
        n = 15
        # priorPosteriorPredictive(n)          ,# prior predictive without datum
        priorPosteriorPredictive(n; k=datum)    # posterior predictive including datum
    end # let
    #---------------------------------------------------------------------------
    chainPosteriorPredictive =                      # completely misleading
        let iterations = 3000
            nBurnIn = 1000
            δ = 0.65
            init_ϵ = 0.3
            sampler = NUTS(nBurnIn, δ; init_ϵ=init_ϵ)
            sample(modelPosteriorPredictive, sampler, iterations)
        end # let
    #---------------------------------------------------------------------------
    describe(chainPosteriorPredictive)              # completely misleading
    #---------------------------------------------------------------------------
    plot(chainPosteriorPredictive; normalize=true)  # completely misleading
    #---------------------------------------------------------------------------
end # begin

Hi sunxd3,
thank you for the advice to use the sampler 'PG' and the condition bar '|'. I always wondered what the error comment "...does not support keyword arguments" meant. Now, with the '|' this error diappeared. Furthermore 'PG' solves the sampling problem. Before your comment I read (https://turinglang.org/v0.30/tutorials/04-hidden-markov-model/) that one possibility is to sample continuous variables with 'HMC' and discrete with 'PG'. So I tried the combined sampler'Gibbs(HMC...), PG(...))'. But I had some difficulties to get it run. Do you have experience with e.g.  'Gibbs(HMC(0.01, 50, ...), PG(120, ...))'
All the best, C.

@sunxd3: Thank you again. Thank you for inviting me to become a JuliaBUGS.jl tester. Just a few weeks ago I started transpiling WinBugs scripts into pure Turing.jl. I liked the declarative, math-oriented style of BUGS. But at the same time, it is tedious if you need some calculations outside the BUGS language. A few years ago I switched to WebPPL. I liked its functional style. But Turing.jl and its embedding in Julia seem to be more promising.


Payroll Support / Integration in UK?

Hi,
Is there a Payroll feature in Dynamics 365 (Business Central or otherwise)?
I understand that there's support to Import Payroll Transactions, but, I'm thinking about using Business Central as a Payroll software.
Thanks,

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

ID: d7dcf603-9deb-1715-9e2f-9afbd791498e
Version Independent ID: 955ab2fc-93cc-3e63-b7c9-e5b34f944642
Content: United Kingdom Local Functionality - Business Central
Content Source: business-central/LocalFunctionality/UnitedKingdom/united-kingdom-local-functionality.md
Service: dynamics365-business-central
GitHub Login: @sorenfriisalexandersen
Microsoft Alias: soalex

Hello,
Thank you for your feedback. Dynamics 365 Business Central can import payroll information from specialized services such as Ceridian: https://appsource.microsoft.com/en-gb/product/dynamics-365-business-central/PUBID.microsoftdynsmb|AID.af108c30-ac89-4ed1-a98e-15708e0ee7f6|PAPPID.30828ce4-53e3-407f-ba80-13ce8d79d110?tab=Overview
Since your question is not about the Help, we suggest that you submit a feature request here: https://aka.ms/businesscentralfeedback

Thanks.
Any integration with services like Payroo?
Thanks


Fix schema error by moving admin_users under Authenticator

There is a schema validation error when deploying the cloudbank hubs. This should fix it.
Unfortunately, the deployment of the hubs from the 2i2c cluster is failing too and the error is pretty vague :(

Great catch, thanks @GeorgianaElena :)

@GeorgianaElena i looked at staging:
➜ k -n staging get pod
NAME                              READY   STATUS             RESTARTS   AGE
docs-service-7bc7bfdfd7-xldr4     2/2     Running            0          18d
hub-7c6d59ffc9-dzjhp              1/2     CrashLoopBackOff   234        19h
proxy-7c9f6b6766-8w4p6            1/1     Running            0          19h
user-scheduler-6bdc5b5dff-fh6tx   1/1     Running            0          19h
user-scheduler-6bdc5b5dff-gnx8d   1/1     Running            0          19h

If I look at the hub logs,
❯ k -n staging logs hub-7c6d59ffc9-dzjhp -c hub                                                                                1 ↵
Loading /usr/local/etc/jupyterhub/secret/values.yaml
No config at /usr/local/etc/jupyterhub/existing-secret/values.yaml
Loading extra config: 01-working-dir
Loading extra config: 02-prometheus
Loading extra config: 03-no-setuid
Loading extra config: 04-custom-theme
Loading extra config: 05-custom-admin
Loading extra config: 06-custom-authenticator
Loading extra config: 07-cloud-storage-bucket
[I 2021-06-02 12:26:36.228 JupyterHub app:2463] Running JupyterHub version 1.4.1
[I 2021-06-02 12:26:36.228 JupyterHub app:2493] Using Authenticator: builtins.CustomOAuthenticator
[I 2021-06-02 12:26:36.228 JupyterHub app:2493] Using Spawner: builtins.CustomSpawner
[I 2021-06-02 12:26:36.228 JupyterHub app:2493] Using Proxy: jupyterhub.proxy.ConfigurableHTTPProxy-1.4.1
[I 2021-06-02 12:26:36.394 JupyterHub provider:576] Updating oauth client service-configurator
[I 2021-06-02 12:26:36.414 JupyterHub provider:576] Updating oauth client service-docs
[I 2021-06-02 12:26:36.435 JupyterHub app:1961] Adding API token for service: docs
[E 2021-06-02 12:26:36.435 JupyterHub app:2973]
    Traceback (most recent call last):
      File "/usr/local/lib/python3.8/dist-packages/jupyterhub/app.py", line 2970, in launch_instance_async
        await self.initialize(argv)
      File "/usr/local/lib/python3.8/dist-packages/jupyterhub/app.py", line 2512, in initialize
        await self.init_api_tokens()
      File "/usr/local/lib/python3.8/dist-packages/jupyterhub/app.py", line 1995, in init_api_tokens
        await self._add_tokens(self.service_tokens, kind='service')
      File "/usr/local/lib/python3.8/dist-packages/jupyterhub/app.py", line 1965, in _add_tokens
        obj.new_api_token(
      File "/usr/local/lib/python3.8/dist-packages/jupyterhub/orm.py", line 303, in new_api_token
        return APIToken.new(token=token, service=self, **kwargs)
      File "/usr/local/lib/python3.8/dist-packages/jupyterhub/orm.py", line 521, in new
        cls.check_token(db, token)
      File "/usr/local/lib/python3.8/dist-packages/jupyterhub/orm.py", line 397, in check_token
        raise ValueError(
    ValueError: Tokens must be at least 8 characters, got ''

Does this give you more useful information?

Definitely more info <3 I don't know why I thought the hub logs won't have any more info. Thanks @yuvipanda! I'm looking into it now.


How to make Notification Background Color Native?

How do I make my app's notification color look like it's native?
Notifications in dark theme:

Notifications in light theme:

How to make our app's notification responsive to the systems' dark theme. Setting color to #2e3232 (dark grey) or #f8f9fc (white) does not account for the other notification icons having a different bacgrkound colror (#c1e8ff in dark theme and #00668b in light theme)

Still requires attention

Ping

Bruh

For me worked to set notification color of my icon like this
<meta-data android:name="com.google.firebase.messaging.default_notification_color"         android:resource="@drawable/ic_launcher_background" tools:replace="android:resource"/>
where ic_launcher_background has been created with Asset Studio


Unstable builds do not boot.

If I choose unstable builds in the installer, the following reboot results in this wall of text:

[FAILED] Failed to start Create Swap File.
[DEPEND] Dependency failed for Swap.
[FAILED] Failed to start Load/Save OS Random Seed.
[FAILED] Failed to start Create Swap File.
[DEPEND] Dependency failed for Swap.
[FAILED] Failed to start Load/Save OS Random Seed.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to listen on GnuPG network certificate management daemon for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache (access for web browsers) for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache (restricted) for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG cryptographic agent (ssh-agent emulation) for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG public key management service for /etc/pacman.d/gnupg.
[FAILED] Failed to start D-Bus System Message Bus.
[DEPEND] Dependency failed for Network Manager.
[FAILED] Failed to start User Login Management.
[FAILED] Failed to start "Bluetooth workaround".
[FAILED] Failed to start Mount removable media on nvme0n1p1.
[FAILED] Failed to start Mount removable media on nvme0n1p2.
[FAILED] Failed to start Mount removable media on sda1.
[FAILED] Failed to start Mount removable media on sda2.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start User Login Management.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start Avahi mDNS/DNS-SD Stack.
[FAILED] Failed to start User Login Management.
[FAILED] Failed to start User Login Management.
[FAILED] Failed to start D-Bus System Message Bus.
[FAILED] Failed to start User Login Management.
[FAILED] Failed to start Light Display Manager.
[FAILED] Failed to start User Login Management.

Screenshot (or rather photo) of the error in case any typos slipped through the OCR:

Enabling or disabling hardware overrides makes no difference.
My system is all AMD.
Motherboard MSI X570-A PRO, firmware 7C37vHM
CPU AMD Ryzen 9 5900X
GPU AMD Radeon RX 6900 XT
At the moment of the shot I was trying to install the 703cd8c build, but really, I've been trying to install the 46 version for maybe two months and never had any luck. The stable build 9a95912 installs and boots and plays just fine. I considered installing stable and then switching to unstable to see if this works, but the "OS Update Channel" setting in Gamescope only has the "stable" option. I may try install version 46 on my LCDeck and report here.

This is what I investigated yestarday: https://github.com/ChimeraOS/chimeraos/issues/919

Out of curiosity I tried installing unstable on my LCDeck. Unsurprisingly, the result is the same.
If I install stable first and then migrate to unstable (yeah, I figured out how to do it), then on the next boot it flashes this:

[FAILED] Failed to activate swap Swap.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
[FAILED] Failed to listen on GnuPG network certificate management daemon for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache (access for web browsers) for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache (restricted) for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG cryptographic agent (ssh-agent emulation) for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache for /etc/pacman.d/gnupg.
[FAILED] Failed to listen on GnuPG public key management service for /etc/pacman.d/gnupg.

Then the screen turns black and the input indicator (underscore) blinks endlessly in the upper left corner.

This should fix the problem: https://github.com/ChimeraOS/chimeraos/pull/924 I am a waiting for someone else on the team to merge that and test

Now I know that the build e2914e1 does not have the changes from the commit #924, I still felt like giving it a try, since the changelog mentions partitions handling. Now the system does boot, but in a strange way. First it shows these lines in some fancy font:

[FAILED] Failed to mount /etc.
[DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache (restricted) for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache (access for web browsers) for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG public key management service for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG cryptographic agent (ssh-agent emulation) for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG network certificate management daemon for /etc/pacman.d/gnupg.

[FAILED] Failed to activate swap Swap.
[FAILED] Failed to start Mount removable media on nvme0n1p1.

After which it clears the screen, shows "Downloading configuration updates..." and boots into Gamescope. I can't switch to desktop though, as it just goes back to Gamescope. Gamescope itself seems to work fine though, as I'm able to log into my Steam account and download and play games.

Now I know that the build e2914e1 does not have the changes from the commit #924, I still felt like giving it a try, since the changelog mentions partitions handling. Now the system does boot, but in a strange way. First it shows these lines in some fancy font:

[FAILED] Failed to mount /etc.
[DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache (restricted) for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache (access for web browsers) for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG public key management service for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG cryptographic agent (ssh-agent emulation) for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache for /etc/pacman.d/gnupg.
[DEPEND] Dependency failed for GnuPG network certificate management daemon for /etc/pacman.d/gnupg.

[FAILED] Failed to activate swap Swap.
[FAILED] Failed to start Mount removable media on nvme0n1p1.

After which it clears the screen, shows "Downloading configuration updates..." and boots into Gamescope. I can't switch to desktop though, as it just goes back to Gamescope. Gamescope itself seems to work fine though, as I'm able to log into my Steam account and download and play games.

Please try to update to unstable now. It should be fixed.

Yep, seems fixed now. Except it gives me this on each boot:

[FAILED] Failed to activate swap Swap.
[FAILED] Failed to start Mount removable media on nvme0n1p1.

and this on each shutdown:

[FAILED] Failed unmounting /etc.

The good sign was that it immediately asked me to update the Steam client, like stable builds do, and which the build e2914e1 did not do yesterday, despite me manually checking for updates.
However, switching to Desktop Mode is a total dice roll, more often than not it just leaves me on a blank screen, which the stable builds did much rarer. Is there maybe a key combo which reboots the system gracefully? Because the power button just sends it to sleep, leaving me with no option other than hard reboot.

Yep, build f120b1c seems to have it fixed now. Except it gives me this on each boot:

[FAILED] Failed to activate swap Swap.
[FAILED] Failed to start Mount removable media on nvme0n1p1.

and this on each shutdown:

[FAILED] Failed unmounting /etc.

The good sign was that it immediately asked me to update the Steam client, like stable builds do, and which the build e2914e1 did not do yesterday, despite me manually checking for updates. However, switching to Desktop Mode is a total dice roll, more often than not it just leaves me on a blank screen, which the stable builds did much rarer. Is there maybe a key combo which reboots the system gracefully? Because the power button just sends it to sleep, leaving me with no option other than hard reboot.

I made some more changes, can you check and see if the boot is seamless now on unstable?

At first everything was fine, no errors whatsoever. But a couple of reboots later the same messages started popping up, both during startup and shutdown.


Setting raw string value

Hello.
Can I somehow assign raw string to content or any other corresponding attribute?
<vue-html5-editor :content="This is content" ..></vue-html5-editor>
or
<vue-html5-editor :value="This is content" ..></vue-html5-editor>
The reason I have to do this is that I cannot bind javascript variable to :content attribute since I manipulate it in laravel blade template file.

It has been supported by V0.5.0


RadarMorph should always stay on top

Morphic z-ordering?

Temporary fix - add all morphs to back of Self world except the radar morph


Can someone explain why restricting the posterior  z  as diagonal Gaussian?

Maybe I do not understand this paper throughly, but can someone explain this?
The posterior  z  is modelled as diagonal Gaussian. And in the Zero initialization part,  ensures that the posterior distribution as a simple normal distribution.
If it is a simple distribution, why a complex prior flow is needed to learn its distribution?

This is the initialization to ensure the posterior distribution as a normal. During training, the posterior distribution will become more and more complex when we update the parameters.


Can't use \1 to substitute in RegEx

Godot version:

072aaf9
OS/device including version:

Manjaro x86_64
Issue description:

Expected: \1 (escaped as \\1) or $1 be substituted with the first capture group
Happened: \1 is shown as is while $1 works as expected.
The docs seem to suggest using \1 with sub.
Steps to reproduce:
var string = """a=1
b=2
c=3"""

func _ready():
	var r = RegEx.new()
	r.compile("(.+)=(.+)")
	if r.is_valid():
		print(r.sub(string, '\\2=\\1', true))
		print(r.sub(string, '$2=$1', true))

outputs
\2=\1
\2=\1
\2=\1
1=a
2=b
3=c

I think the docs just are a bit unclear.
\1 is used for backreference in the match pattern, not in the replace string.
The correct usage:
const pattern1 = '(.+)=\\1'
const pattern2 = '(?<digit>\\d+)(?<letter>[a-z])\\g<digit>'

func _ready():
	var r1 = RegEx.new()
	r1.compile(pattern1)
	assert(
		r1.sub('a=b b=b c=a', '$1') == 'a=b b c=a'
	)

	var r2 = RegEx.new()
	r2.compile(pattern2)
	assert(
		r2.sub('1a 2b2 3c', '${digit}${letter}', true) == '1a 2b 3c'
	)

Hmmm... it's not working for me:
https://regexr.com/7hft3

Hmm, it just works different from js RegEx.  It's greedy about each chunk, and doesn't actively do look-aheads if it doesn't have to

Yes, it's not the same as that syntax or behaviour
Please open a new issue if you have a problem, instead of commenting on one closed five years ago, though first I'd suggest turning to the other community channels if you're looking for support

I figured out the issue.  And this is the top hit when you google search the issue, it's at least worth leaving some breadcrumbs.


Carousel need to onIndexChange function.

It will be great feature for carousel because when i use map and carousel, i want to see which carousel index to show in map.

I'll see what I can do, this should be easy to implement, but for now, you can use CarouselController to listen to index changes, just round the CarouselController value to int (because its a double). You can also use AnimatedBuilder so you don't have to update the entire widget and you don't have to register and unregister the listener on widget life cycle changes.
I might publish the next version with this additional parameter a bit late.


sanity check in granule append

I like the idea of sanity checks, maybe we should add some in compaction too?

I was actually leaning towards closing this instead, it felt like extra work that doesn't gain us much. Really only useful for debug

long-term we could use compile-time directives to enable sanity checks


Test for static route

Fixes Issue
Refs: #148

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Step by step :)


Can't generate key-typed event in tests

This test passes on Android but fails on Desktop:
    @OptIn(ExperimentalTestApi::class)
    @Test
    fun testKeyTyped() {
        rule.setContent {
            var textFieldValue by remember { mutableStateOf(TextFieldValue("")) }

            TextField(
                value = textFieldValue,
                onValueChange = {
                    textFieldValue = it
                },
                modifier = Modifier
                    .testTag("textfield")
            )
        }
        rule.onNodeWithTag("textfield").apply {
            performClick()
            assertIsFocused()

            performKeyInput {
                keyDown(Key.A)
                keyUp(Key.A)
            }

            assertTextEquals("a")
        }
    }

This happens because in Android:
internal actual val KeyEvent.isTypedEvent: Boolean
    get() = nativeKeyEvent.action == android.view.KeyEvent.ACTION_DOWN &&
        !Character.isISOControl(nativeKeyEvent.unicodeChar)

but on the desktop:
actual val KeyEvent.isTypedEvent: Boolean
    get() = awtEventOrNull?.id == java.awt.event.KeyEvent.KEY_TYPED &&
        awtEventOrNull?.keyChar?.isPrintable() == true

Affected platforms

Desktop

A possible solution would be to add and use an intermediate (say) NativeKeyEvent which we can create from either an AWT key event, or "synthetically" in a test.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


try fix #86

please check this, thanks.

Hello, @wwwdotfa. Thanks for your involvement, but unfortunately this issue is still reproducible even with your proposed fix.


expandable_toggle_button override OnClickListener

I want to do something when the expandable_toggle_button is clicked, how can I override its OnClickListener?

also this issue....

also this issue....

also this issue....

also this issue....


where is /eval_msrvtt_no_deepspeed.sh for s2 evaluation?

I could not find the file scripts/evaluation/stage2/zero_shot/1B/eval_msrvtt_no_deepspeed.sh in the repo. Is it removed? if so pls update the readme accordingly

Try set enable=False in https://github.com/OpenGVLab/InternVideo/blob/533cf9aed2937c97d07d07e1082d0e14c7760faf/InternVideo2/multi_modality/scripts/evaluation/stage2/zero_shot/1B/config_msrvtt.py#L145


Protecting Exports with Muta

currently breaks with class syntax

replacing with https://github.com/MetaMask/sesify/pull/5


incorrect SignedValueRange

OS: Ubuntu 16 LTS
binja dev: 1.1.1160-dev
binary: http://pwnable.kr/bin/rsa_calculator
0x400e82 address in RSA_encrypt function
possible values for rdx aren't working properly for `movsxd rdx, eax"
After the instruction is executed mouseover for rdx is: SignedValueRange [ 0 to -1 : 1] but in gdb the actual value was 5. In MLIL the rdx_3 at 0x400e97 was SignedValueRange [ 0 to -1 : 1]

Fixed in build 1.1.1173-dev.


Allow hyphens as an alias for _ from the CLI

How would this feature be useful?
I have an irrational preference for hyphens - over underscores (_) because they don't require me to hit the shift key 😅. BUT, I cannot use hyphens to name my jobs because my sessions need to be python functions!
Describe the solution you'd like
It would be great if hyphens were treated like underscores at invocation, so I could do nox -s docs-build and this would behave like nox -s docs_build.
Describe alternatives you've considered
Doing soul searching about why I hate using the shift key unnecessarily so much :-)  (seriously this isn't really that big of a deal, but thought I'd mention it as a small quality of life improvement if there's interest)

I tried to reproduce this, and I found that you can use hyphens using @nox.session(name="name-with-hyphens"):
My noxfile:
import nox

@nox.session(name="name-with-hyphens")
def some_func(session):
    session.install("nox")
    session.run("nox", "--version")

My output:
C:/Users/Diego Ramirez>nox --sessions name-with-hyphens
nox > Running session name-with-hyphens
nox > Creating virtual environment (virtualenv) using python.exe in .nox\name-with-hyphens
nox > python -m pip install nox
nox > nox --version
2021.6.12
nox > Session name-with-hyphens was successful.

Can you try this, and tell us if it doesn't work?

omg it works! yessss thank you :-)
I should really read the docs more closely - maybe it would be helpful if "Session name" were something like "Custom session name"? Either way, I will close this!


Cannot start Lubuntu since update

Updated Chrome-OS, and then Crouton. Since then, crouton will not start up. This is running on an acer 710-2856 with dual-core 1.5 GHz. Celery processor and 10 GB memory.
Please paste the output of the following command here: sudo edit-chroot -all

name: lxde
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/lxde...
crouton: version 1-20171230152552~master:de1361af
release: trusty
architecture: amd64
xmethod: xiwi
targets: xiwi,lxde-desktop
host: version 10176.76.0 (Official Build) stable-channel parrot_ivb
kernel: Linux localhost 3.8.11 #1 SMP Sat Feb 24 13:12:10 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/lxde...
Failed to unmount /mnt/stateful_partition/crouton/chroots/lxde. Kill processes? [a/k/y/p/N] y
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Failed to unmount /mnt/stateful_partition/crouton/chroots/lxde. Kill processes? [a/k/y/p/N] a
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...

(continues)
Please describe your issue:
When chroot is started via "sudo startlxde" it dies with the following error:

Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Mar 23 14:05:09 2018
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg (xorg_backtrace+0x48) [0x7f1b66a4a598]
(EE) 1: /usr/bin/Xorg (0x7f1b668a1000+0x1ad289) [0x7f1b66a4e289]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f1b6599d000+0x10330) [0x7f1b659ad330]
(EE) 3: /usr/bin/Xorg (0x7f1b668a1000+0xb56b6) [0x7f1b669566b6]
(EE) 4: /usr/bin/Xorg (xf86BusProbe+0x9) [0x7f1b6692a149]
(EE) 5: /usr/bin/Xorg (InitOutput+0x74d) [0x7f1b669386bd]
(EE) 6: /usr/bin/Xorg (0x7f1b668a1000+0x59beb) [0x7f1b668fabeb]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f1b643d8f45]
(EE) 8: /usr/bin/Xorg (0x7f1b668a1000+0x451fe) [0x7f1b668e61fe]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/lxde...

(continues)
For some reason, it cannot finish killing processes - it seems to just keep running until interrupted via ctrl-c.
If known, describe the steps to reproduce the issue:
Unknown. Entering the chroot works fine, just fails starting Xorg.

Update. Rebooted the Chromebook again and it suddenly started to work again. Your guess is as good as mine...

@bmoffitt,
Sometimes just a Chrome OS update can't break things, just guessing but maybe that was the culprit this time.
-DennisLfromGA


Adding   causes every link to issue two requests.

I use Vue on one of my project. In order to ease the pain of integrating with turbo drive, I added
<meta name="turbo-visit-control" content="reload">

to the head section of my application layout. But then I found that every link on the site would issue two requests instead of one. You can see it on the "Network" panel of develop tools and also the server log.
I also made a demo project and can reproduce this problem here. You can checkout this commit.
Create a note and on the note index page, click "Show this note" and observe the server log.

Anyone knows how to address it?

This is working as intended. The turbo-visit-control=reload directive tells Turbo to reload the page after navigating to it. It's similar to what happens when Turbo detects that tracked assets have changed after navigation. With turbo-visit-control you're telling it to always do that.
It's really meant for specific Turbo-resistant pages, not to be used site-wide. Doing so would defeat the purpose 😄

@packagethief Thanks for the reply. I now understand. The goal I wanted to achieve is to disable turbo drive only and still keep using turbo frame and turbo stream. Is there any way I can do that? I tried Turbo.session.drive = false, but this will also disable turbo frame and turbo stream.


installation error

Hello, I have installed Alfred from bioconda but when I run the following command I am seeing this error. Could you please tell me how can I resolve it? Thank you in advance.
I am on OSX Catalina and have tried brew update and brew upgrade as it worked for others with similar issue.

saddams-MBP:~ saddamhusain$ alfred
dyld: Library not loaded: @rpath/libboost_iostreams.dylib
  Referenced from: /Users/saddamhusain/opt/anaconda2/pkgs/alfred-0.2.1-h098d73b_1/bin/alfred
  Reason: image not found
Abort trap: 6

Looks like a problem in your conda environment.
which alfred
shoud probably point to
/Users/saddamhusain/opt/anaconda2/bin/alfred
and the libraries are then usually in
ls /Users/saddamhusain/opt/anaconda2/lib/libboost_iostreams.dylib

Thank you for the response, yes files are the way you pointed above. Where should they supposed to be? I am fairly new to data analysis, please don't mind to my silly questions.


[Fix #17273][V4] Throw error when Tether is not included

Hi,
it's a fix for #17273

There isn't guaranteed to be a window.Tether if UMD is in use. (For that matter, we probably ought to be explicitly importing Tether.)
Seems like we could do the check just once, before defining the Tooltip class, rather than re-checking every time a new tooltip is instantiated.

I thought about adding Tether with this code :
})(jQuery, Tether) at the end of Tooltip src but we cannot customized the error message
To import Tether is it possible to do it like how you import utils.js ?

Maybe this check can be done with same way to check if JQuery is included or not
https://github.com/twbs/bootstrap/blob/v4-dev/Gruntfile.js#L44-L46

i went ahead and just merged a simple check at the start of the script.
it checks window which isn't great if peopel are using UMD - but also we aren't properly importing 3rd party deps yet with our code, so i figure that can be cleaned up at that point

Maybe it would be useful to add my unit test to check the import of Tether

Superseded by d600831.


Canceling "Add project folder" operation leads to a bug

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
After clearing the project out of projects and attempting to add the first project folder
and afterwards canceling the operation, Atom will bring back the previous project folders
I already closed.
Steps to Reproduce

Open Atom
Add a project folder
Close Atom
Open Atom
Remove the project folder
Attempt to add a project folder, but press Cancel instead.

Expected behavior: No project will be added. Editor environment will be clean(Without any open projects)
Actual behavior: The Previous closed project appeared again.
Reproduces how often: All the time.
Versions
Atom    : 1.18.0
Electron: 1.4.16
Chrome  : 53.0.2785.143
Node    : 6.5.0

Thanks for the report! I noticed this part of the template wasn't checked:

[ ] Put an X between the brackets on this line if you have done all of the following:

Can you confirm if you can reproduce in safe mode (atom --safe)?  I tried to repro with your steps but wasn't able to.
And what operating system are you running?

Sorry for the delay!
Im running on Linux.
It didn't come up on safe mode.

Thanks for the response @omerman.  Because this doesn't reproduce in Safe Mode, it would seem that what you're reporting isn't being caused by Atom itself but by a community package you have installed. It may be that there is still a bug in Atom. If so, we'll need the maintainer of the package that is causing the problem to help track that down.
What we need you to do is to figure out what community package is causing the problem. Some people have reported that using the package-cop package has been helpful, you may want to try it. Once you've determined what package is causing the problem, The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme so you can file this issue there.


switch to new API

Comes with https://github.com/yunity/karrot-backend/pull/446

The endpoint refactoring means we should release a new dev app version too, otherwise reset password is broken.


show n-th slide again

Hi bartaz and all,
is there a simple way to show previous slide again?
For example

And my second question.
I've got a big DB diagram image. I want to show tables one by one. But if I make a transparent slide the image is semi-translucent. How to make something like img#DB {opacity: 1} when another slide is active? It resolves the first problem as well.
Thanks in advance for helping me

Hi @blatan @briceparent , in an effort to clear up older issues/PRs we are pinging back to know if you are still tracking this request.
To give a little bit of context, recently a decision was made in the project to make the development more active and the first task is to clear up older issues like this one to see if the OP is still interested in keep it going.


Wrong juju_topology in alert rule provided via LogProxyConsumer

Bug Description
We are working on tempest-k8s charm, which is using the LogProxyConsumer for logs forwarding and the alert rule. If we do relation grafana-agent-k8s:logging-provider  tempest-k8s:logging  the alert rule, define in the LogProxyConsumer will have juju_topology from grafana-agent-k8s and not the tempest-k8s charm.
Example from my local deployment.

To Reproduce
juju deploy tempetes-k8s  # manually build
juju deploy grafana-agent-k8s
juju consume u1-k8s:cos.prometheus-receive-remote-write
juju consume u1-k8s:cos.grafana-dashboard
juju consume u1-k8s:cos.loki-logging
juju relate grafana-agent-k8s:grafana-dashboards-provider grafana-dashboard:grafana-dashboard
juju relate grafana-agent-k8s:logging-consumer loki-logging:logging
juju relate grafana-agent-k8s:send-remote-write prometheus-receive-remote-write:receive-remote-write
juju relate grafana-agent-k8s:logging-provider  tempest-k8s:logging
Environment
tempest model:

tempest-k8s #manual bild
grafana-agent-k8s rev. 51

cos model:

alertmanager rev. 96
catalogue    rev. 33
grafana      rev. 93
loki         rev. 105
prometheus   rev. 159
traefik      rev. 166

Relevant log output
no logs related with this were found

Additional context
No response

Thanks @rgildein for reporting this.
I had some difficulties reproducing this:

The path provided to LogProxyConsumer, alert_rules_path="src/loki_alert_rules", does not exist in the charm dir, so the relevant relation data is empty.
I added a dummy rules file but upgrade failed:

unit-tmpst-0: 14:19:24.620 ERROR juju.worker.uniter.operation hook "upgrade-charm" (via hook dispatching script: dispatch) failed: exit status 1
unit-tmpst-0: 14:24:24.777 WARNING unit.tmpst/0.upgrade-charm Traceback (most recent call last):
unit-tmpst-0: 14:24:24.777 WARNING unit.tmpst/0.upgrade-charm   File "/var/lib/juju/agents/unit-tmpst-0/charm/./src/charm.py", line 32, in <module>
unit-tmpst-0: 14:24:24.777 WARNING unit.tmpst/0.upgrade-charm     import ops_sunbeam.charm as sunbeam_charm
unit-tmpst-0: 14:24:24.777 WARNING unit.tmpst/0.upgrade-charm ModuleNotFoundError: No module named 'ops_sunbeam'

Would you be able to point me to a commit where I can pack tempest from?

In the meanwhile I'm trying to reproduce with:
graph LR
tempo ---|logging| grafana-agent ---|logging| loki

bundle: kubernetes
applications:
  ga:
    charm: grafana-agent-k8s
    channel: edge
    scale: 1
  loki:
    charm: loki-k8s
    channel: edge
    scale: 1
    trust: true
  tempo:
    charm: tempo-k8s
    channel: edge
    scale: 1
relations:
- - ga:logging-consumer
  - loki:logging
- - tempo:logging
  - ga:logging-provider

Promtail config has the correct labels:
$ juju ssh --container tempo tempo/0 cat /etc/promtail/promtail_config.yaml
# ...
  - labels:
      __path__: /var/log/tempo.log
      job: juju_welcome-k8s_bf35e241_tempo
      juju_application: tempo
      juju_charm: tempo-k8s
      juju_model: welcome-k8s
      juju_model_uuid: bf35e241-d1b5-4613-810a-759a7065d3ca
      juju_unit: tempo/0

And those same labels reach loki:
$ curl <IP_ADDRESS>:3100/loki/api/v1/labels
{"status":"success","data":["filename","job","juju_application","juju_charm","juju_model","juju_model_uuid","juju_unit"]}

$ curl <IP_ADDRESS>:3100/loki/api/v1/label/juju_application/values
{"status":"success","data":["tempo"]}

$ curl <IP_ADDRESS>:3100/loki/api/v1/label/juju_unit/values
{"status":"success","data":["tempo/0"]}

If I manually add a line to the tempo log file,
$ juju ssh --container tempo tempo/0 "echo bloop >> /var/log/tempo.log"

then the series would appear in loki with the correct labels:
$ curl <IP_ADDRESS>:3100/loki/api/v1/series
{"status":"success","data":[{"filename":"/var/log/tempo.log","juju_unit":"tempo/0","juju_model_uuid":"bf35e241-d1b5-4613-810a-759a7065d3ca","juju_model":"welcome-k8s","juju_charm":"tempo-k8s","juju_application":"tempo","job":"juju_welcome-k8s_bf35e241_tempo"}]}

Related: https://github.com/canonical/cos-tool/issues/13

Issue confirmed with:
graph LR
traefik ---|logging| grafana-agent ---|logging| loki

Traefik has simplified alert rule format with %juju_topology% placeholder.
When forwarded to grafana-agent relation data, %juju_topology% is replaced with {job=~\".+\"}.
When in turn forwarded to loki, it gets grafana-agent labels.

Thanks @rgildein for reporting this.
I had some difficulties reproducing this:
* The path [provided](https://opendev.org/openstack/sunbeam-charms/src/commit/8dc3cdff4cf75e455357617cf2416fd0496e480a/charms/tempest-k8s/src/handlers.py#L511) to LogProxyConsumer, `alert_rules_path="src/loki_alert_rules",` does not exist in the charm dir, so the relevant relation data is empty.

* I added a dummy rules file but upgrade failed:

unit-tmpst-0: 14:19:24.620 ERROR juju.worker.uniter.operation hook "upgrade-charm" (via hook dispatching script: dispatch) failed: exit status 1
unit-tmpst-0: 14:24:24.777 WARNING unit.tmpst/0.upgrade-charm Traceback (most recent call last):
unit-tmpst-0: 14:24:24.777 WARNING unit.tmpst/0.upgrade-charm   File "/var/lib/juju/agents/unit-tmpst-0/charm/./src/charm.py", line 32, in <module>
unit-tmpst-0: 14:24:24.777 WARNING unit.tmpst/0.upgrade-charm     import ops_sunbeam.charm as sunbeam_charm
unit-tmpst-0: 14:24:24.777 WARNING unit.tmpst/0.upgrade-charm ModuleNotFoundError: No module named 'ops_sunbeam'

Would you be able to point me to a commit where I can pack tempest from?

You need to build charm with tox -e build -- tempest-k8s and deploy it with  juju deploy ./charms/tempest-k8s/tempest-k8s.charm --resource tempest-image=ghcr.io/canonical/tempest:2023.2.


Create an example.py

Separate examples for Model to Experiment and Model to Model.

in /examples/index.ipynb


Crafting (Pam's HarvestCraft) Fresh Water doesn't stop

Pattern is: input 1 water bucket. Output 4 fresh water.
I request 1 and it just never stops, it keeps crafting.

I have already fixed this bug.
update extracells


feat(plugins): implement Neovide plugin

Neovide is a commonly used GUI wrapper for Neovim, which may unfortunately be way too flashy and distracting at times; having a way to limit animations and have a convenient short-hand for integration logic feels like a nice improvement in line with what other external interfaces like ones for Wezterm and Kitty provide.

ty!


Add FSDP to the docs glossary

What does this PR do?
Minor docs update, follow up to #18109

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

cc @borda @carmocca @justusschock @awaelchli

I see Adrian's PR. I approve

I wish to have the same with my Pr :thinking:


Added support for Bungeecord's proxy_protocol option

I have a request https://github.com/itzg/docker-bungeecord/issues/51 from a user of my bungeecord Docker image (and indirectly https://github.com/itzg/mc-monitor/issues/6 ) to support Bungeecord's proxy_protocol option.
Since this new configuration of Pinger needed to be combined with context/timeout support I decided to introduce a functional options pattern to allow for backward/forward compatible options on the New function.
For example:
	options := []mcpinger.McPingerOption{}
	if c.Timeout > 0 {
		options = append(options, mcpinger.WithTimeout(c.Timeout))
	}
	if c.UseProxy {
		options = append(options, mcpinger.WithProxyProto(c.ProxyVersion))
	}
	pinger := mcpinger.New(c.Host, uint16(c.Port), options...)

Looks good!
I've been working on rebasing mc-pinger on mcproto, which is an implementation of the Minecraft protocol in Go: https://github.com/Raqbit/mc-pinger/pull/9. mcproto started as the protocol bits of mc-pinger, but slowly got out of sync with added (de-)serialization code generation, support for SRV records and some other features. With these changes I've also redone the mc-pinger API, to make it more like net.Dial et al (Breaking change, but as the API surface is small it should not be much of an issue).
With this PR in mind, I think adding options to each of the Ping-functions would be nice, especially with a WithProtoOption() option to pass options to the underlying mcproto library (add custom packets, add proxy support, configure logging etc.)
If you have the time, I'd appreciate it if you could take a look at the mcproto draft PR and give some feedback so I know if I'm heading into the right direction with this new mc-pinger API.
I could merge this PR right now, but then I'd expect to be breaking the API with those changes. Another option is to include proxy support in mcproto, and then adding the option to the new mc-pinger API.
What do you like best?

That sounds like a great strategy and I'll definitely look over that PR.
To address the user request I would prefer to merge this PR. After that I can take my time with the subsequent release to incorporate the mcproto related changes.

I've released v0.2.0 just now, next release will probably be the one including the mcproto changes.
Thanks!


[CodeCompletion] Migrate argument position completion to the solver-based implementation

Revised version of #38266 with some (all?) stress tester failures fixed.
CC @nathawes
rdar://83435550

@swift-ci Please SourceKit stress test

Thanks @hamishknight for the suggestions for the new ArgumentList API. I just rebased it so it worked and didn’t look if the code could be improved.
For now, I’m looking to merge the changes to solution scoring (which are needed to fix the stress tester issues) here: https://github.com/apple/swift/pull/39392

@swift-ci Please SourceKit stress test

@swift-ci Please smoke test

@swift-ci Please SourceKit stress test

@swift-ci Please SourceKit stress test

@swift-ci Please SourceKit stress test

@swift-ci Please smoke test

@swift-ci Please SourceKit stress test

@swift-ci Please smoke test

After some discussion with @xedin, we have decided to always ignore arguments after the code completion token because it defines away an entire family of ambiguities where it’s unclear whether these arguments should influence what’s suggested for the code completion token because we can’t know whether the user wants to rewrite the entire call site or only update one parameter. We might be able to revisit this decision in a follow-up PR. As a side-effect, it also simplifies this PR.

@swift-ci Please smoke test

@swift-ci Please SourceKit stress test

@swift-ci Please smoke test

@swift-ci Please SourceKit stress test

@swift-ci Please smoke test

I addressed your review comments @xedin and made the following changes:

Don’t optimize constraints of arguments that are being ignored: CSGen.cpp:791
Extracted logic whether a argument should be claimed despite label mismatch (because it is the completion expression) to CompletionArgumentTracker (CSSimplify.cpp:1295). This makes sure that we only claim arguments despite label mismatches when we are performing solver-based completion. It broke a couple of test cases in the legacy code completion.


Improve coverage of internal_deploy_account.rs

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@424ede7). Click here to learn what that means.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##             main     #257   +/-   ##
=======================================
  Coverage        ?   83.24%
=======================================
  Files           ?       40
  Lines           ?     2333
  Branches        ?        0
=======================================
  Hits            ?     1942
  Misses          ?      391
  Partials        ?        0

Impacted Files
Coverage Δ

...gic/transaction/objects/internal_deploy_account.rs
71.53% <66.66%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[melodic] Move LibraryLoadExceptions down a level #221

#221 for melodic

I'm really concerned that this change is going to cause breakage to the downstream consumers of pluginlib.  Especially given Melodic's age, I'm worried about a change in semantics like this.  Unless this is fixing a critical bug in Melodic, I'd rather not take this.

That's fair.


Add option to generate changeset error on unknown fields in params

closes #2007

Per #2007, doing this in cast won't play well with many features in Ecto, so we are closing this. Thank you!


Update index.html

Added Andrew to the index.html file for Hacktoberfest19

@nat20s-bus  thnx for contributing, try this year, and make sure you follow me and star this repo for updates about special swags I will be giving.
Contribute in October for Hacktoberfest 2020


Cow: Watch nirvanarecoveryaz.com

Cow requests the watch of the watch_keyword nirvanarecoveryaz\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

nirvanarecoveryaz\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Update workshop.md to have dotnet dev-certs https

you can have a issue in your local dev environment regarding the https and you need to run dotnet dev-certs https

Thanks Seilor for the PR : Can you please confirm if you tested the lab from:

your local dev environment ?
A devcontainer on your local docker desktop ?
A codespace environment ?

Confirmed : DevContainer on a machine (no codespace)
#59 to fix this issue


Digital accessibility toolkit - How to create accessible documents

What page is the change request for? Please supply the URI.
https://a11y.canada.ca/en/guides/office365/
Approval needed?
None
Yes, please send a request to the following person?
No response
Who shall do the work?

[ ] I will do it, I want to contribute
[X] I am asking for someone else to please do the work

Timeline
No response
Additional context
In the "Additional resources" at the bottom of https://a11y.canada.ca/en/guides/office365/
Please replace Microsoft – "Make your Word documents accessible"
With:

Microsoft – "Make your content accessible to everyone"

But keep Microsoft – "Make your Word documents accessible"
as an "Additional resources" on this page: https://a11y.canada.ca/en/guides/office365/accessible-word-documents-365/

@lynelal should we be adding it to the French version as well?

Yes, also change in the French version
From [Microsoft – « Rendre vos documents Word accessibles aux personnes atteintes de handicaps »] (https://support.microsoft.com/fr-fr/office/rendre-vos-documents-word-accessibles-aux-personnes-atteintes-d-un-handicap-d9bf3683-87ac-47ea-b91a-78dcacb3c66d)
To [Microsoft - « Rendre votre contenu accessible à tous »] (https://support.microsoft.com/fr-fr/office/rendre-votre-contenu-accessible-à-tous-ecab0fcf-d143-4fe8-a2ff-6cd596bddc6d)

@lynelal
In this page How to create accessible documents in Office 365, the 2nd link is the same as the 1st link of this page Accessible Word documents but they just have a different title on DAT project.
Which version of the title do you want me to keep?

I'm sorry I don't understand what you are saying.
Can you call me?<PHONE_NUMBER>
Lyne Lalonde
Technical Writer
On contract with Shared Services
From: kellyanne-lecuyer @.>
Sent: February 10, 2023 8:32 AM
To: gc-da11yn/gc-da11yn.github.io @.>
Cc: Lalonde, Lyne (SSC/SPC) @.>; Mention @.>
Subject: Re: [gc-da11yn/gc-da11yn.github.io] Digital accessibility toolkit - How to create accessible documents (Issue #276)
@lynelalhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flynelal&data=05|01|lyne.lalonde%40ssc-spc.gc.ca|1796996dd65148cb9ad608db0b6b313f|d05bc19494bf4ad6ae2e1db0f2e38f5e|0|0|638116327234495349|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=lm8l1qQMvP6srpTqk57ApvM6fC9agIMqaPBbqM19pN0%3D&reserved=0
In this page How to create accessible documents in Office 365https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fa11y.canada.ca%2Fen%2Fguides%2Foffice365%2F&data=05|01|lyne.lalonde%40ssc-spc.gc.ca|1796996dd65148cb9ad608db0b6b313f|d05bc19494bf4ad6ae2e1db0f2e38f5e|0|0|638116327234495349|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=v7U0fUxTPAP%2FiPdGlDbb6OwoMwcAWaiwj0M6orhz0Vc%3D&reserved=0, the 2nd link is the same as the 1st link of this page Accessible Word documentshttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fa11y.canada.ca%2Fen%2Fguides%2Foffice365%2Faccessible-word-documents-365%2F&data=05|01|lyne.lalonde%40ssc-spc.gc.ca|1796996dd65148cb9ad608db0b6b313f|d05bc19494bf4ad6ae2e1db0f2e38f5e|0|0|638116327234495349|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=a9GUVm49rT80L9glgGw77q6yrYutBt1At%2FsUnWRGE6E%3D&reserved=0 but they just have a different title on DAT project.
Which version of the title do you want me to keep?

Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgc-da11yn%2Fgc-da11yn.github.io%2Fissues%2F276%23issuecomment-1425816777&data=05|01|lyne.lalonde%40ssc-spc.gc.ca|1796996dd65148cb9ad608db0b6b313f|d05bc19494bf4ad6ae2e1db0f2e38f5e|0|0|638116327234495349|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=IH1vK64fnRPYiKJnPrvqBarNqvL7ACDFx6RYtOK%2Blhk%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZQEDKZIV4NXLQLYEUKS6HTWWY7NBANCNFSM6AAAAAAUI7YON4&data=05|01|lyne.lalonde%40ssc-spc.gc.ca|1796996dd65148cb9ad608db0b6b313f|d05bc19494bf4ad6ae2e1db0f2e38f5e|0|0|638116327234651600|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=a1bTzF8UXlVWTJ2MumBhel1MheYruq5s0tdD9kgj8n0%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>