Custom select_and_accept keymap not working in cmdline

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
I can't seem to make select_and_accept work in cmdline mode with my preferred mapping <C-f> (the default <C-y> also doesn't work). When I map to <Tab> or another random control based combo (<C-i>) though, it's working fine. Other control-based mappings (e.g. <C-p>, <C-n>) are also working fine.
I'm using LazyVim which disables cmdline by default so I have re-added it (I think correctly).
To further complicate things I can't reproduce the issue in a minimal setup (e.g.  https://lazy.folke.io/developers#reprolua). The following setup works as expected:
vim.env.LAZY_STDPATH = ".repro"
load(
	vim.fn.system(
		"curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"
	)
)()

require("lazy.minit").repro({
	spec = {
		"stevearc/conform.nvim",
		{
			"saghen/blink.cmp",
			-- optional: provides snippets for the snippet source
			dependencies = "rafamadriz/friendly-snippets",

			-- use a release tag to download pre-built binaries
			version = "*",
			-- AND/OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
			-- build = 'cargo build --release',
			-- If you use nix, you can build from source using latest nightly rust with:
			-- build = 'nix run .#build-plugin',

			---@module 'blink.cmp'
			---@type blink.cmp.Config
			opts = {
				-- 'default' for mappings similar to built-in completion
				-- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate)
				-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
				-- See the full "keymap" documentation for information on defining your own keymap.
				keymap = {
					preset = "default",
					["<C-f>"] = { "select_and_accept" },
					cmdline = {
						preset = "default",
						["<C-f>"] = { "select_and_accept" },
					},
				},

				appearance = {
					-- Sets the fallback highlight groups to nvim-cmp's highlight groups
					-- Useful for when your theme doesn't support blink.cmp
					-- Will be removed in a future release
					use_nvim_cmp_as_default = true,
					-- Set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
					-- Adjusts spacing to ensure icons are aligned
					nerd_font_variant = "mono",
				},

				-- Default list of enabled providers defined so that you can extend it
				-- elsewhere in your config, without redefining it, due to `opts_extend`
				sources = {
					default = { "lsp", "path", "snippets", "buffer" },
				},
			},
			opts_extend = { "sources.default" },
		},
		{
			"folke/noice.nvim",
			event = "VeryLazy",
			opts = {
				-- add any options here
			},
			dependencies = {
				-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
				"MunifTanjim/nui.nvim",
				-- OPTIONAL:
				--   `nvim-notify` is only needed, if you want to use the notification view.
				--   If not available, we use `mini` as the fallback
				"rcarriga/nvim-notify",
			},
		},
	},
})

Relevant configuration
{
	"saghen/blink.cmp",

	opts = {
		keymap = {
			preset = "default",
			["<C-f>"] = { "select_and_accept" },
			cmdline = {
				preset = "default",
				["<C-f>"] = { "select_and_accept", "fallback" },
				["<Tab>"] = { "select_and_accept", "fallback" },
			},
		},

		sources = {
			default = { "lsp", "path", "buffer" },
			cmdline = { "cmdline" },
		},
	},
}

neovim version
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713773202 Run "nvim -V1 -v" for more info
blink.cmp version: branch, tag, or commit
v0.8.2

What's the output of :imap <yourkey>? It sounds like blink's keymaps are getting overridden. Does it work if you use accept instead of select and accept?

hmm I'm seeing:
20:30:02 msg_show   imap <C-F> i  <C-F>       * <Lua 99: ~/.local/share/nvim/lazy/LazyVim/lua/lazyvim/plugins/ui.lua:229>
                 Scroll Forward

so now in my lua/keymaps.lua I tried removing that:
vim.keymap.del("i", "<C-f>")

now when I launch a new instance I see nothing is mapped by default:
20:35:12 msg_show   imap <C-F> No mapping found

I try invoking blink.cmp and <C-F> works fine in the buffer but not in cmdline. I check imap again and see this.
20:35:35 msg_show   imap <C-F> i  <C-F>       *@<Lua 1240: ~/.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/keymap/apply.lua:18>
                 blink.cmp

I did also try accept instead of select_and_accept but that also did not work.

Mmm, I’m not entirely sure, but it could be that Noice.nvim from LazyVim is assigning <C-F>. You can check the relevant part of the configuration here:
plugins/ui.lua.
However, I’m not using LazyVim, and <C-F> works fine for me in the cmdline. It also works with Noice.nvim. So, I think this might be an issue specific to LazyVim.

Understood, thanks for taking a look @krovuxdev. I'll report back when I find the solution.

Mystery solved! I should have spent a little time reviewing my installed plugins. Turns out it was readline.nvim that was causing the conflict.


Structure

*Major Update:
Large structural changes to the repo.
Removed dependencies on a local blazegraph copy
&
Added configuration for pointing remote blazegraph database, or a local copy
With the update to blazegraph 2.0.0, we needed to change address the triple-store was queried. The static magic references littered through the project were consolidated to a config file to be loaded into the environment variables The code for handling the local copy is optionally run if the config is pointing to the local ip address, and is consolidated into it's own folder.

Blazegraph port access is configurable
We can now set the port and namespace for blazegraph by config. We also have access to the customization options available in the RWStore.properties file to control variables such as branching factor, etc. These changes allow us more options for tweaking the performance of the database.

Changed python modules layout
Separate files for integration testing and local testing.
This will allow more productivity, as the front-end will not have to worry about the back end as much

Changed top level script from shell to python
The shell scripts at top level were only shorthand, and intended for aiding development, but turned into it's own interface over time. This update corrects this path. The run script at project root optionally runs an install, upload, or the front-end Superphy servers.

Confirmation from dev team merge pull with major revision: Chad, Matt, Clare
Merging... - Ask for help if you are having trouble rebasing or merging off this revision.


select组件placeholder失效

Describe the bug
无
Steps to reproduce
无
Link to minimal reproduction
无
System Info
无

Used Package Manager
npm
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

检查代码

这个设定非常反直觉，或者说反用户习惯。
解决方案就是你把 对应的 v-model 值设为undefined ，placeholder就能正常显示出来。


Adding a dependabot.yml to update these on a sane interval (weekly?) could help us.
It will automatically create PRs updating the CI GitHub actions.

These are deliberately "outdated" because these represent the latest versions of our dependencies that we've tested and support. Under no circumstance are we going to automatically modify these lockfiles. If anything we should remove the github warnings, which I agree are annoying and spurious.

Oh, I misunderstood, I thought you were talking about the Cargo.*.lock warnings -- these are the actual github actions.

Yes, exactly! This does not touch Rust code or Cargo stuff.
Just the CI runner versions that are tagged currently to @vN where N is the major version.
For example, it updates the Node version on these action runners.
I am not familiar with Node, but my understanding is that recent versions could address security updates on old Node versions.
Example with checkout/releases which is on v4 and we are using v2 now (in my original comment above): https://github.com/actions/checkout/releases/tag/v4.0.0

We can always turn this on and see if its useful then turn it off again if its too annoying.


Fancy Zone across 2 monitors

Description of the new feature / enhancement
In many situations - I need to extend a spreadsheet, or a development IDE, or an image across 3 screens.
Sadly - multi-monitor zones are not supported in Fancy Zones.
Desired behaviour is that I can create a zone in Fancy Zones which allows me to dock a window across ALL of my screen real-estate (i.e. create a zone that spans from the left boundary of my left monitor - to the right boundry of my right monitor).
Scenario when this would be used?
This is useful for development work, for editing code in an IDE; for Database work; for spreadsheet work.    anywhere that you have to extend a single application out to multiple monitors to make use of full screen real-estate.
Currently the only way to do this is to drag the border of the app and try to get this to fill the screen by messing around with the edges.    Not impossible, but it is a pain, and much less useful than Windows+left; Windows+up.
Supporting information
No response

Actually, this should be very possible. First of all, you can expand a window to multiple zones with hotkeys. (by far the easiest thing to do)
Secondly, you could choose to create one big zone that spans across multiple monitors. This might have a few side-effects, depending on your layout and position of the monitors.
Check the documentation, the settings, and give it a try. (and let us know if it worked)

Thank you Jay – this worked.
Did a few things:

Turned on “override windows Snap”
Turned on “zones can cross multiple monitors”
Created a new custom zone that is a single zone with no borders
Then associated a hotkey

This worked – thank you!
From: Jay @.>
Sent: Saturday, February 5, 2022 11:25
To: microsoft/PowerToys @.>
Cc: SeanAdams10 @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Fancy Zone across 2 monitors (Issue #16106)
Actually, this should be very possible. First of all, you can expand a window to multiple zones with hotkeys. (by far the easiest thing to do)
Secondly, you could choose to create one big zone that spans across multiple monitors. This might have a few side-effects, depending on your layout and position of the monitors.
Check the documentation, the settings, and give it a try. (and let us know if it worked)
—
Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/16106#issuecomment-1030653756 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AALHXFF73STKVICW42HTW33UZVFNJANCNFSM5NUBKOPQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AALHXFCYW34P26TAZ6RWHNLUZVFNJA5CNFSM5NUBKOP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHVXIOPA.gif Message ID: @.*** @.***> >


Configure devicelab Windows machines to run FDE desktop applications

These machines will require a recent-ish version of Visual Studio (see also: https://github.com/flutter/flutter/issues/48782). Set up should ideally be automated, but if necessary we could configure a single machine for now and restrict with capabilities.

I think this is probably obsoleted by https://github.com/flutter/flutter/issues/54295

Awesome, thanks for the update.


Introduction to the Data Visualization Projects Contains Stub

Describe your problem and how to reproduce it:
In the page, Introduction to the Data Visualization Projects, instead of a description about the projects the user will need to do, the user sees this:
"This introduction is a stub. Help us make it real on GitHub."
There should be a description, like in Introduction to the JavaScript Algorithms and Data Structures Projects.
Add a Link to the page with the problem:
https://learn.freecodecamp.org/data-visualization/data-visualization-projects
Tell us about your browser and operating system:

Browser Name: Chrome
Browser Version: Version 72.0.3626.96
Operating System: Windows 7 64bit

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Originally there was no need to describe the projects under this category as any user reaching here would already have experience in building freeCodeCamp projects
You are free to open a PR to suggest additions.

@co16353sidak ,
I went over the repository looking for a file for this page or a similar one for a different projects page, but could not find one. I looked under curriculum/challenges/english/04-data-visualization/data-visualization-projects. Is there a need to create one in that directory?

Please check this out @TomerPacific
https://github.com/freeCodeCamp/freeCodeCamp/blob/master/client/src/pages/learn/data-visualization/data-visualization-projects/index.md
this page will be a part of client render as it doesn't contain any curriculum related content this remains in this directory.
although I think someone has already changed the contents for it to be more descriptive.
there will be no need for a PR here 😄

@co16353sidak ,
yeah it seems like there isn't one required. I am going to close this issue by tomorrow.


Remote controls dependent on Magic Remote

Hey!! Just downloaded Homebridge a couple hours ago after being frustrated with the built-in HomeKit support of my TVs and it's great to have way more automation possibilites available (and proper offline state hahaha) - I'm really enjoying it so far!. I've come across a scenario that I think is quite odd, but I don't think there's a way around it, but wanted to confirm if this is known.
Using the Remote from Control Center I'm able to navigate apps such as YouTube and Netflix and control the Internal Speaker volume normally as should be, but when I'm on my Set-Top Box input the nav buttons don't do anything (the same happens when I set sound output to Optical, adjusting the volume shows the volume UI on the TV, but it doesn't relay to my Home Theater).
Now here's the odd part, If I move my Magic Remote around suddenly controls start working as they should (both devices were setup on Device Connector to work with the remote). It seems the TV receives the commands and then relay them to the remote which in turn relay them to the devices, most likely as IR commands. After a few seconds the controls simply stop working again, probably because the Magic Remote enters stand-by to preserve battery.
I tested this with LG's own app and I get the exact same behaviour, it only works after I wake the Magic Remote. Maybe there's a way around it that I'm not aware of.
Anyways, really great work on this project, thanks for putting the time and effort into this!

Oh, never heard of something like that.
The commands are send straight to the TV using the standard API, the TV does with them afterwards something. At this point i do not have control anymore, so i do not think that there can be done anything...
I suppose the commands cannot control your set top box and it can only be controlled by the remote, but it is intersting that the TV somehow relays those commands through the remote...

Yeah, kinda odd isn't it? I tested controlling my Playstation and it works just fine through HDMI-CEC since it's all done on the TV itself.
Pretty sure it's the remote sending IR commands, interesting that they chose to relay from the TV to it tho, maybe they should've included some pre-command to wake it up, that would've been neat.
My current HT is Optical only, I'll get a chance to try another one through ARC to see if it's any different, maybe it talks CEC and it's one less problem haha

Ok, you can let me if it work then. I will close this for now!


Module '"langchain/embeddings/openai"' has no exported member 'OpenAIEmbeddings'

I use langchain 0.0.174 by Typescript:
import {OpenAIEmbeddings} from "langchain/embeddings/openai";

i think you have to update openai package at first.

Are you able to import other modules? Can you give more information about your setup?

Unable to repro but feel free to reopen if you have more info.

"dependencies": {
"@headlessui/react": "^1.7.17",
"@supabase/supabase-js": "^2.38.4",
"@tailwindcss/forms": "^0.5.6",
"@vercel/analytics": "^1.1.1",
"ai": "^2.2.20",
"langchain": "^0.0.174",
"next": "13.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},

"langchain": "git+https://github.com/Santy1422/lanchain-embeding.fix.git#main",

Please open a PR if you are able to figure it out!


Tooling improvements

Debugging both language server and the extension

Language server logs in human readable format in the Debug Console

Build artifacts in .gitignored directory
Remove package.json in repository root that was doing nothing
README.md should be clearer on how to get started

I think we should at least keep a package.json since that's what enables our npm install to work
Previously the package.json at repository root was doing nothing but installing tsc and eslint for the client package. It was a residue from the VSCode extension sample, where the language server was written in NodeJS. I simply merged the two package.jsons together. With this change extension packaging/publishing will be broken, since now the go build artifact is in a different directory. That can be fixed later.


Some Fixes/Recommendations

Just some recommendations I would make to improve the script.

https://github.com/spade-as-in-ace/time-logger/blob/ba287f05b9e901571c37c7b355e1909c04cc0d59/scripts/time_logger.py#L17-L20
No need to close the file here since you're going to immediately open it back up right afterwards.
https://github.com/spade-as-in-ace/time-logger/blob/ba287f05b9e901571c37c7b355e1909c04cc0d59/scripts/time_logger.py#L25
Likewise with above, if you leave the file open, then you don't need to open it again here.

https://github.com/spade-as-in-ace/time-logger/blob/ba287f05b9e901571c37c7b355e1909c04cc0d59/scripts/time_logger.py#L52
Instead of closing the file at the end of each loop, may as well leave it open and close it after the loop terminates. It's inefficient to keep opening and closing the file.

https://github.com/spade-as-in-ace/time-logger/blob/ba287f05b9e901571c37c7b355e1909c04cc0d59/scripts/time_logger.py#L27
log_file.name[:10]? Indexing with negative indices is just over-complicating it in my opinion.

https://github.com/spade-as-in-ace/time-logger/blob/ba287f05b9e901571c37c7b355e1909c04cc0d59/scripts/time_logger.py#L34
Replace with if keys[0] in KEYS:.

https://github.com/spade-as-in-ace/time-logger/blob/ba287f05b9e901571c37c7b355e1909c04cc0d59/scripts/time_logger.py#L36-L37
Perhaps instead of shutting down the user's computer for them - just terminate the loop and close the files. An unnecessary feature to shutdown the computer for the user (especially since it's not difficult to do so), since the script is really just for logging times.
Right now, there is no way for the user to stop the program other than force stopping it.

https://github.com/spade-as-in-ace/time-logger/blob/ba287f05b9e901571c37c7b355e1909c04cc0d59/scripts/time_logger.py#L51
Typo in "unrecognized".

https://github.com/spade-as-in-ace/time-logger/blob/ba287f05b9e901571c37c7b355e1909c04cc0d59/scripts/time_logger.py#L55
if __name__ == "__main__":

Should be added before calling main function.

On startup, there is a bug where the first entry is not separated from the startup line:
startup, 20:14:53lunch, 20:14:57,
return, 20:14:59,

Ideally, there should be some sort of simple text UI. Also the different options should be displayed as well so that the user doesn't have to refer to the code to see what options they have.

To confess, I put this here just to share it with a few people, not so much to actually maintain it, so forgive my taking a year to see this comment.
I actually had fixed most of these things last year and just never uploaded the changes to git. I shall go point-by-point.
Open/closing file:
I had other programs that would also open and modify the log files (in addition to doing it manually on occasion). This was the main reason the code opens the file, writes to it, then closes it. Further, it did not seem to make sense to leave a file open for long periods of time when I would at most be wanting to write some 40 chars to it over the course of 10 minutes every hour or two.
String indexing:
The file path is something along the lines of C:\\Users\\Spade\\Documents\\logs\\02-06-2021.csv, of which only the 02-06-2021 section is needed, hence the need for such indexing.
Checking dictionary:
Yeah you're right - I was in Java-mode writing this so I let that slip. I had fixed this, but again failed to upload to git.
Shutdown/Quit:
My work was all done within a terminal. I did this as a convenience to me. I rarely use my mouse when on a computer, instead using key-commands to flip around the place. That is why I had added the shutdown system call. I realized that there was no way to quit, so I had actually added a q command to quit, which I failed to upload.
Typo/Missing-newline/name == "main":
Again all things I had fixed but failed to upload.
Regarding a UI:
I can see the need for a UI, so I may add a h or help flag to display the commands. I dislike having a terminal cluttered with help messages when I don't need them, and since I had written it originally for me, I obviously didn't need help understanding my own program. I will however add this.
Addendum:
I actually threw myself even further down the hole of minimalist key-binds and will be adding a separate version of this script here designed to be triggered by key commands, e.g. ctrl+alt+b to log a "break"  rather than having a single while True loop.


Querying FileRepository for files is unreasonably slow

Here is what I do in a nutshell
omcore.File.list(fq.client, file_repository=dvr, limit=1, from_index=0)

this takes 20+ seconds, getting a single file record, reliably (median 25s). For comparison, querying for all dataset versions of a particular dataset takes less than a second over the same connection.
Within the ranges a tested the value of limit has no impact on the latency. Even when moving from_index to a value larger than the number of files in the repository (to get an empty result list), it takes the same time.
Is there a faster way to get a file listing? Maybe some kind of iterator?

I think this time is determined mainly by the KG Query API, not by fairgraph itself, and is probably related to the very large number of Files in the KG (large compared to the number of dataset versions). I'll ask the KG team to look into it.

I did some profiling of the following script, for a repository with 4 files:
from fairgraph import KGClient
import fairgraph.openminds.core as omcore

client = KGClient(host="core.kg.ebrains.eu")

dvr_id = "https://kg.ebrains.eu/api/instances/3a31dd9f-d12b-44e0-90cf-c131e9be580b"

files = omcore.File.list(client, file_repository=dvr_id, limit=1, from_index=0)

print(len(files))

and it certainly seems all the time is spent in kg_core/kg.py:429(execute_query_by_id)
(for reference, the query id used is https://kg.ebrains.eu/api/instances/dcc56635-48a9-4328-b51a-5f2ad1d5af1e)
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
    488/1    0.000    0.000   23.646   23.646 {built-in method builtins.exec}
        1    0.000    0.000   23.645   23.645 query_files.py:1(<module>)
        3    0.000    0.000   23.385    7.795 /Users/adavison/dev/data/env/lib/python3.9/site-packages/requests/api.py:14(request)
        3    0.000    0.000   23.384    7.795 /Users/adavison/dev/data/env/lib/python3.9/site-packages/requests/sessions.py:500(request)
        3    0.000    0.000   23.374    7.791 /Users/adavison/dev/data/env/lib/python3.9/site-packages/requests/sessions.py:671(send)
        3    0.000    0.000   23.374    7.791 /Users/adavison/dev/data/env/lib/python3.9/site-packages/requests/adapters.py:436(send)
        3    0.000    0.000   23.372    7.791 /Users/adavison/dev/data/env/lib/python3.9/site-packages/urllib3/connectionpool.py:522(urlopen)
        3    0.000    0.000   23.371    7.790 /Users/adavison/dev/data/env/lib/python3.9/site-packages/urllib3/connectionpool.py:361(_make_request)
        1    0.000    0.000   23.321   23.321 /Users/adavison/dev/data/fairgraph/fairgraph/base_v3.py:506(list)
        2    0.000    0.000   23.315   11.658 /Users/adavison/dev/data/env/lib/python3.9/site-packages/kg_core/__communication.py:170(_get)
        2    0.000    0.000   23.315   11.658 /Users/adavison/dev/data/env/lib/python3.9/site-packages/kg_core/__communication.py:130(_request)
        2    0.000    0.000   23.315   11.658 /Users/adavison/dev/data/env/lib/python3.9/site-packages/kg_core/__communication.py:139(_do_request)
        3    0.000    0.000   23.212    7.737 /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py:1305(getresponse)
        3    0.000    0.000   23.212    7.737 /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py:309(begin)
       77    0.000    0.000   23.210    0.301 {method 'readline' of '_io.BufferedReader' objects}
        6    0.000    0.000   23.210    3.868 /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/socket.py:690(readinto)
        3    0.000    0.000   23.210    7.737 /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py:276(_read_status)
        6    0.000    0.000   23.210    3.868 /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/ssl.py:1230(recv_into)
        6    0.000    0.000   23.210    3.868 /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/ssl.py:1090(read)
        6   23.210    3.868   23.210    3.868 {method 'read' of '_ssl._SSLSocket' objects}
        1    0.000    0.000   23.175   23.175 /Users/adavison/dev/data/fairgraph/fairgraph/client_v3.py:116(query)
        1    0.000    0.000   23.175   23.175 /Users/adavison/dev/data/fairgraph/fairgraph/client_v3.py:118(_query)
        1    0.000    0.000   23.175   23.175 /Users/adavison/dev/data/env/lib/python3.9/site-packages/kg_core/kg.py:429(execute_query_by_id)
    587/2    0.001    0.000    0.249    0.125 <frozen importlib._bootstrap>:1002(_find_and_load)

I am currently working with https://search.kg.ebrains.eu/instances/900a1c2d-4914-42d5-a316-5472afca0d90
I am using the following implementation to iterate over files in a file repository:
    def iter_files(self, dvr, chunk_size=100):
        cur_index = 0
        while True:
            batch = omcore.File.list(
                self.client,
                file_repository=dvr,
                limit=chunk_size,
                from_index=cur_index)
            for f in batch:
                yield f
            if len(batch) < chunk_size:
                # there is no point in asking for another batch
                return
            cur_index += len(batch)

It takes about 8 minutes to get all 1678 file records in this dataset. My choice of chunk_size is arbitrary. Are there any "good" or acceptable maximum values for it? If I set this to, e.g., 10k I can get the query to finish with the standard 30s latency. But of course, more information needs to be retrieved at once.
Are their any empirical data on what is a good trade-off?
Thx!

The problem with this is that the generic query produced by fairgraph is not optimal for this case (please note that "files" are more difficult to handle because there are plenty). A more efficient way of filtering the files for a specific file repository is to actually start at the file repository level and filter by instance id:
Running the following query with the reported instanceId "3a31dd9f-d12b-44e0-90cf-c131e9be580b" returns the 4 involved files in ~50ms
{   "@context": {     "@vocab": "https://core.kg.ebrains.eu/vocab/query/",     "query": "https://schema.hbp.eu/myQuery/",     "propertyName": {       "@id": "propertyName",       "@type": "@id"     },     "path": {       "@id": "path",       "@type": "@id"     }   },   "meta": {     "type": "https://openminds.ebrains.eu/core/FileRepository",     "responseVocab": "https://schema.hbp.eu/myQuery/"   },   "structure": {     "propertyName": "query:files",     "path": {       "@id": "https://openminds.ebrains.eu/vocab/fileRepository",       "reverse": true     },     "structure": [       {         "propertyName": "query:name",         "path": "https://openminds.ebrains.eu/vocab/name"       },       {         "propertyName": "query:id",         "path": "@id"       }     ]   } }

I have finally found time to implement queries that cross links in the graph, so you can now do this:
from fairgraph import KGClient
import fairgraph.openminds.core as omcore

omcore.set_error_handling(None)
client = KGClient(host="core.kg.ebrains.eu")

dv_id = "900a1c2d-4914-42d5-a316-5472afca0d90"
dv = omcore.DatasetVersion.from_id(dv_id, client, follow_links={"repository": {"files": {}}})
len(dv.repository.files)

which gives 1678 files.
This takes a couple of seconds or less in fairgraph 0.11.0.


Add support for firmware v4

fixed: #434

Unit tests for "impact" message type should be addressed.


Internationalization

Most of the mini games have very little text, so it would relatively easy to translate the app into multiple languages.

approved

Approved


Fix fetchAll typo

I was trying to use the fetchAll plugin and it crashed with the following error

Octokat Error: Calling fetchAll on a request that does not yield an array

I traced it down to the fetchNextPage function calling the requester with undefined instead of a URL and found this little typo. Worth noting is that this was in the desktop/desktop repo where we don't use the camelCase plugin. I suspect this might have worked just fine had we used the camelCase plugin.

Thanks for catching this!


OpenLEADR as a Gateway

Hi Stan (and others),
Firstly, thank you for all your efforts and those of your collaborators with OpenLEADR.  I'm new to both OpenADR and Python (and GitHub) so the learning curve is step but the resources you've put together are proving to be very helpful.
I have a question regarding the usage of the OpenLEADR VEN client purely as a "gateway" to downstream devices.   From my reading of the documentation it appears possible for a single OpenLEADR VEN client to provide reports to a VTN from downstream devices based on "resource_id" and to respond to events from a VTN directed to those same downstream resources using "resource_id" in the events "Target".
Is my understand of the OpenLEADR VEN client functionality correct and can it act as a gateway in this way and essentially directly "pass-through" reports and events from the VTN directly to the downstream devices?
Thanks in advance for your response.
Best regards, Iain

Hi Ian,
Depends on what you mean by 'pass-through'. OpenLEADR is not intended to literally pass-through the OpenADR XML messages to other things; it is intended to handle communication to a VTN, and then send commands using some internal logic to the relevant devices. If that is what you want, then: yes, this is what OpenLEADR can do for you.
If you are trying to 'bundle' devices that already speak OpenADR themselves and use OpenLEADR as a simple pass-through service, that's not really easy to do at the moment I think.
Let me know if this helps. If you can tell me a bit about your use case, I might be able to help.
Thanks

Thanks for the response Stan,
Our use-case is the former you describe whereby the OpenLEADR instance would handle all the OpenADR comms with the VTN as well as the non-OpenADR commands to the downstream devices.
However, I want a single instance of the OpenLEADR to handle the comms to multiple downstream devices but for it not have to fulfil the other requirements if it was to be a "VTN" rather than just a "Gateway".
The existing fleet of downstream devices can't implement OpenADR comms so I was wondering if a single instance of an OpenLEADR VEN could handle all the VTN comms on behalf of the downstream devices.  Therefore, to the VTN, each of the downstream devices would each look like a single OpenADR "VEN" albeit the VTN would be addressing them via the resource_id.
I want to avoid the "Gateway" having to fulfil the full requirements of being a "VTN" as there's no plan for it to do any "aggregation" or other business logic on behalf of the downstream devices.  The "Gateway" is purely acting as an OpenADR "interpreter" for the comms between the VTN and the downstream devices.
Thanks again for you thoughts
Best Regards, Iain

This is very much something that you can use OpenLEADR for. You can have a VEN running as your gateway and implement the handling of Events and report values the way you want, to as many devices as you want. If you have any specific questions that you'd like help with, let me know.


A button or keyboard shortcut to load a random card

Similar to random page in obsidian

Have an updateRandomSeed() that updates the seed and then invalidates any caches that relied on it

The random seed should be stored in state.

[ ] Store random seed in state, initalized randomly
[ ] Sort fucnctions also get filterExtras (or whatever the bundle of stuff that's passed to filter funcs)
[ ] Add the randomSeed as a thing wired through in filterExtras
[ ] random sort uses the random seed
[ ] Add an action creator to randomize the random seed
[ ] Add a shortcut in the UI to randomize the seed
[ ] Add a shortcut in the UI to randomize the seed AND navigate to c/all/sort/random/limit/1

6263926aaad447905ab523f7f9a51486450956cf
3789ab9f0ca3a6d9f79c1d5f58ee777ddc16105f
97d6cf5e1ceba2e9c5bcd978733cd3614bcb798e
d82da0ad132531a590609e059e3c21e3cd31f6f1
Are all actually part of this issue but erroneously said #253


Internal error

Hi, I'm using 1.12.2 version, I know I have to use 1.8.3 version so I'm using it.
But only when I type /cc it says Internal error occurred.
here's console output: https://pastebin.com/idAcLZsL
I've got some errors in rewards too, like it's stone and I get error block

If this still happens please make a new issue with the crate file in a pastebin.


Translate into Indonesian

I added a translation of Indonesian
These words have been translated by me
(sorry the file format is JSON not JSON5 because I am still a beginner so i can't make JSON5)

For the @bitbof
I just made a few changes to id.json5 one of which is the wording that I changed
id.zip


Bugfix/127

As in issue #127, the reuse of m_patcher only works if NUM_DIAGNOSTIC_VARS < NUM_VARS which is usually, but not always, the case.
This fixes it by creating a specific patcher for the diagnostics.
Side note: As in the testing done by @amelialdrew, it seems that the speed up one gets from separating out diagnostics is roughly proportional to the percentage of vars which are moved out of evolution vars. So if the numbers of evolution and diagnostics vars are equal one gets a roughly 50% speed up. Nice :-)

Given that there was no problem in the case NUM_DIAGNOSTIC_VARS < NUM_VARS, would it be possible to just define one FourthOrderFillPatch and pass max(NUM_VARS, NUM_DIAGNOSTIC_VARS) to the fourth argument in define? There may be a reason why we don't want to do this but I don't think I know enough yet to be able to decide (hence my question on the issue).

Yes, I tried this, and it seemed to break some other asserts. I'm sure we could get around this, but on reflection I decided that having a separate m_patcher was probably less hacky and made the code more readable, so I went with that. I don't think it should particularly hurt the performance or memory usage?

For completeness, the failing assert in the case NUM_DIAGNOSTIC_VARS > NUM_VARS and the old m_patcher is defined with NUM_DIAGNOSTIC_VARS is (according to @KAClough) at Chombo/lib/src/AMRTimeDependent/TimeInterpolatorRK4.cpp:96.


Added note about OSX's missing .bash_profile file.

Just a note/fix for a hiccup I ran into installing from the script file on OS X [Yosemite]. Go figure, I somehow didn't have a .bash_profile file on this machine yet.
(Solution originally found on Stack Overflow, where I added similar steps for future visitors.)

Awesome, thanks!


Help with diagnosing test errors

Motivation
Writing tests for Linera has some small differences to writing normal Rust tests. The biggest one being that unit tests run inside a WebAssembly virtual machine while integration tests must not. Another one is that unit tests that use system APIs must have proper mocks set up.
Incorrectly running the tests leads to some confusing compile errors, which makes it hard to figure out where the root cause is.
Solution
If the unit tests are compiled for a target other than Wasm, an explicit runtime error will appear, explaining that it should either run the unit tests with a Wasm VM or make sure they are only executed if the test target is Wasm. For this error to appear instead of other more confusing errors, the mock API for unit tests had to be stubbed in the integration tests module.
If a Wasm runtime is not specified, a compiler error will explain that a feature flag must be enabled.
If a unit tests uses a system API without setting up the mock API, a message will now appear saying which mock API should be called. This was previously shown inside the Wasm test code (which unfortunately the test-runner didn't show), or if the linera-sdk was compiled without the test feature.

Maybe indicate in the summary how you tested these changes? (anticipating on the github template to come)


KeyError: 'multilinguality' when calling DatasetSearchArguments()

Describe the bug
KeyError: 'multilinguality' when calling DatasetSearchArguments()
Reproduction
from huggingface_hub import DatasetSearchArguments
dataset_args = DatasetSearchArguments()

Logs
from huggingface_hub import DatasetSearchArguments
dataset_args = DatasetSearchArguments()

Error:

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/var/folders/1h/lqt86wdn4nq9z9h_c4q7s4gr0000gn/T/ipykernel_43840/980484241.py in <module>
      1 from huggingface_hub import DatasetSearchArguments
----> 2 dataset_args = DatasetSearchArguments()

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/huggingface_hub/hf_api.py in __init__(self, api)
    548     def __init__(self, api: Optional["HfApi"] = None):
    549         self._api = api if api is not None else HfApi()
--> 550         tags = self._api.get_dataset_tags()
    551         super().__init__(tags)
    552         self._process_models()

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/huggingface_hub/hf_api.py in get_dataset_tags(self)
    669         hf_raise_for_status(r)
    670         d = r.json()
--> 671         return DatasetTags(d)
    672
    673     @_deprecate_list_output(version="0.14")

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/huggingface_hub/utils/endpoint_helpers.py in __init__(self, dataset_tag_dictionary)
    365             "license",
    366         ]
--> 367         super().__init__(dataset_tag_dictionary, keys)

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/huggingface_hub/utils/endpoint_helpers.py in __init__(self, tag_dictionary, keys)
    298             keys = list(self._tag_dictionary.keys())
    299         for key in keys:
--> 300             self._unpack_and_assign_dictionary(key)
    301
    302     def _unpack_and_assign_dictionary(self, key: str):

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/huggingface_hub/utils/endpoint_helpers.py in _unpack_and_assign_dictionary(self, key)
    303         "Assignes nested attributes to `self.key` containing information as an `AttributeDictionary`"
    304         setattr(self, key, AttributeDictionary())
--> 305         for item in self._tag_dictionary[key]:
    306             ref = getattr(self, key)
    307             item["label"] = (

KeyError: 'multilinguality'

System info
- huggingface_hub version: 0.11.1
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.6
- Running in iPython ?: Yes
- iPython shell: ZMQInteractiveShell
- Running in notebook ?: Yes
- Running in Google Colab ?: No
- Token path ?: /Users/x/.huggingface/token
- Has saved token ?: False
- Configured git credential helpers: osxkeychain
- FastAI: N/A
- Tensorflow: 2.9.1
- Torch: N/A
- Jinja2: 3.0.1
- Graphviz: N/A
- Pydot: N/A

Same issue here. Same huggingface_hub version.

Hi @animator @chawins , thanks for reporting us this issue and sorry for the late reply. The issue comes from a server-side change (search is been revamped). I made a PR https://github.com/huggingface/huggingface_hub/pull/1300 to make the huggingface_hub API more robust to server-side changes.
Overall we have quite low usage of this feature + it's quite some legacy code. At some point it will be completely revisited but in the meantime I hope this fix will be enough for you to use it. Please remember it is mainly meant for exploratory purposes.
(see also related discussion: https://github.com/huggingface/huggingface_hub/pull/1250)

Thanks for the quick response/fix @Wauplin! I tested the updated main branch, and DatasetSearchArguments  seems to work now.
I ended up filtering via tags instead which kind of suits my need better too. In case anyone is looking for a similar workaround, here's what I went with:
hf_api = hf_hub.HfApi()
model_args = hf_hub.ModelSearchArguments()

filt = hf_hub.ModelFilter(
    task=model_args.pipeline_tag.ImageClassification,
    library=model_args.library.PyTorch,
)
models = hf_api.list_models(filter=filt)
# hf_hub.DatasetSearchArguments() is buggy so we go with searching
# "imagenet" in tags instead
models = filter(lambda m: any("imagenet" in t for t in m.tags), models)

Thanks for the feedback and for sharing the snippet !
Just to clarify it, what ModelSearchArguments does it to provide an helper to find the desired tag. But in the end, model_args.library.PyTorch is strictly the string "pytorch". And DatasetSearchArguments().dataset_name.imagenet IS "imagenet".
So you could also do:
from huggingface_hub import HfApi, ModelFilter

hf_api = HfApi()
models = hf_api.list_models(
    filter=ModelFilter(task="image-classification", library="pytorch", trained_dataset="imagenet")
)

That's what I meant by ModelSearchArguments and DatasetSearchArguments are purely for exploratory purposes. If you already know what you are looking for, you can do the search without using them. It saves you the ~10s is takes to initialize them. Hope that makes it clearer :)


[ UTIL ] add frequency data in mem_usage.sh

Sometimes, cpu frequency check is required.
This patch includes the cpu frequency logging in mem_usage.sh
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1984. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Model Download Funcitonality

Download the latest model

changes against the commit id 60fb7db7936e1be783a9692313cea60c015f1dfa

seperated download_data and download_model service
1f397eb5045fd0808e12023ecaa8e6a3c864886f


#836: fix ordered event handling when OversizeMappingException happens

compute() (and friends) might be called many times in case a OversizeMappingException happens. In that case, all pre-recorded events should be dropped as the repeated call recreates those events.

test this please


Remove kubernetes 1.10 from ci testing

Version 1.10.x is no longer available as of February 18th 2019 1.
This is causing failures in ci 2.

jenkins test this please

jenkins test this please

jenkins test this please


Hydration for VRaw

Description
Implemented hydration for VRaw by re-using the Collectable workaround that the Suspense component also uses. Also used the DOMParser for parsing raw HTML into nodes.
As I don't really know what I'm doing I'd like for someone to verify whether this is correct. It does work for our application but that doesn't say much. Also, I can imagine that we want tests for this as well. Any ideas on that?
Fixes #2969
Checklist

[x] I have reviewed my own code
[ ] I have added tests

This implementation looks good to me.
However, before we merge this, could you please add a couple test cases?

Yes, will do! Hopefully today :)


The socket should be set to a specific timeout

The socket maybe blocking, so a timeout should be set on that socket.
Otherwise due to the background thread is running sequentially, the other async task in the same activity will be blocked.

Thanks for the clue...
I even didn't know this!
Beside what you told I have found another work around:
instead of using discover.execute(); I have used discover.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
This way they AsyncTasks won't block each other.


add section to nuget spec docs around using multiple config options

It was confusing to me how one would use more than one of the supplied configuration options, but clear once I debugged through the Paket code.  In order to prevent confusion in the future, I thought we could document this?

thx


Add Optional to EncodingPlan.

Thanks for your great work. I tested the performance of env.view(), but it costed approximately 1.2ms
%timeit game_state, encoded_state, reward, turn, done = env.view()

I modified the env.view() method to enforce it return a None encoded_state, the speed was significantly improved to 30us.
I deem this option necessary, since user might want to encode the states later, after collecting adequate data. A use case is offline RL. We will use many expert agents to collect data at first and post-process collected data for training.
Supplementary:
And here is profile result for env.step():

It seems encoding costed most of the time. Disabling encoding would accelerate the data collection process significantly.

Hi, thank you for your suggestion. This does sound necessary if you plan to do training in that way.
The code for LinearEnv.step() should be quite short and easy to modify, why not use the chance to submit a pull request?
If you do plan to submit one, I suggest you branch from dev branch, as it contains the latest code. I may take longer to actually implement this feature as there are too many other things to attend with. (bug issues, and other RL related stuff)
BTW, if you do plan to start doing RL recently, I suggest you to build the package from source with the script scripts/sh/build.sh in the repository and install it locally. As some latest commits have fixed certain bugs that may crash an ongoing game.
I am working on RL recently as well (that is why this simulator repo is having so few commits recently), and have implemented a class to encode actions and provide action masks. It is not fully implemented yet, (works only for AllOmniMode), but if you are interested, I can add it to dev branch to save you some time.

Additionally, according to my experience, encoding & generating game states take only a small portion of the total training time. Model inferencing and training take the majority. (Just stating the fact, this doesn't imply the feature you want is insignificant)

Hi, thank you for your suggestion. This does sound necessary if you plan to do training in that way.
The code for LinearEnv.step() should be quite short and easy to modify, why not use the chance to submit a pull request?
If you do plan to submit one, I suggest you branch from dev branch, as it contains the latest code. I may take longer to actually implement this feature as there are too many other things to attend with. (bug issues, and other RL related stuff)
BTW, if you do plan to start doing RL recently, I suggest you to build the package from source with the script scripts/sh/build.sh in the repository and install it locally. As some latest commits have fixed certain bugs that may crash an ongoing game.
I am working on RL recently as well (that is why this simulator repo is having so few commits recently), and have implemented a class to encode actions and provide action masks. It is not fully implemented yet, (works only for AllOmniMode), but if you are interested, I can add it to dev branch to save you some time.

the key problem is whether it's appropriate for the step function to return the encoded state (which is why I opened an issue for such a simple question), as this may involve modifying the overall API. A seemingly reasonable architecture would be for the env to only return the state, while decoupling the encoding plan and turning it into a utility (since users may have any custom encoding).
To implement this feature without modifying the API, we should probably modify the EncodingPlan base class to return None by default. I will complete this soon.

I guess one way to do so is to replace all game_state.encoding(self._encoding_plan, Pid(turn)) with self._encoding_plan.encode(game_state, Pid(turn)), enabling more freedom over the way how encoding works.
And of course, it is reasonable to want no time spent on encoded_state by just calling .step(), I agree with that.

PR #39 regarding the issue is merged.


Cursor in LaTeX equations

When the text cursor is inside an equation, it is shown before the equation:

It would be nice if the cursor was shown correctly inside the equation.
Related: when you hover your mouse over an equation in VS Code, it renders it with the cursor:

It does this by inserting {\color{...}\!|\!} at the cursor position before calling the LaTeX renderer (source). Unfortunately this approach can occasionally fail:

I'm not sure if this is better or worse than what we currently have in Cocreate...

As the LaTeX rendering is expensive in Cocreate (as it uses MathJax instead of KaTeX like VSCode does), I'd rather not rerender as the cursor moves. I think the current behavior is best, unless you think an underline of the formula would be better?

Maybe the cursor shouldn't render at all when it's inside the formula? That'd still be better than what we have now.


Add Mahe as a district

Subject of the issue
I am guessing Mahe is also affected.

Are you planning work on this ?

I am unfamiliar with Django unfortunately, I think I'll be of better help testing.

I think, it's something we need to add in the database right ?

Done, Opening a PR

@naveenpf seems PR open for this. Need any help other this?


Not able to install the webapi version

If I run python3 -m pip install busylight-for-humans[webapi] I get the following response: no matches found: busylight-for-humans[webapi]
Can I just install uvicorn and FastAPI manually?

My guess is you are using a shell that interprets the text between the square braces as a regular expression character class (csh derivatives do that), thus the "no matches found" error message.
Try:
$ python3 -m pip install "busylight-for-humans[webapi]"

Thanks, that fixed it. Maybe an idea to edit the readme to include the "" around it or at least put a note under the command?


Feature: SQL Server

Does SQL server expose WMI metrics?
If so, it would be very nice to also support that in this project.

There are WMI provider for SQL Server management: https://technet.microsoft.com/en-us/library/ms186452(v=sql.90).aspx
And there are WMI provider for SQL Server Events: https://technet.microsoft.com/en-us/library/ms186449(v=sql.90).aspx

If you're going down the route of being a WMI exporter rather than a Windows machine metrics exporter, then this should work similarly to the JMX exporter. That is there would be a config file per service to map WMI to Prometheus metrics.

Okay. Perhaps a separate project for sql server then. Will consider this later on.

However, i think it is a common use case to want to monitor a windows box that is running both IIS and sql server, without the need/hazzle of running multiple exporters.

The Prometheus architecture is that you'd run an exporter per IIS and per SQL server.

This is related to #12

Some code (MIT licensed) that this could be based on exists here: https://github.com/bosun-monitor/bosun/blob/master/cmd/scollector/collectors/sqlagent_windows.go

Possibly overlapping with this project: https://github.com/iamseth/azure_sql_exporter

Partial overlap, yes, but that one does not support on-prem SQL server. We have probably a dozen or so instances locally that I'd like to get some metrics from.

Just added it for reference. I also want to proceed adding "normal" sql server support to wmi_exporter :-)
/m

I'm planning to have a look at sql server support this week

Failed to make any progress last week. Not sure i'll be able to work on this current week.

More notes:
To get all sql server instances, run
New-Object -TypeName Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer | ForEach-Object {$_.ServerInstances}
to query a instance ("MSSQLSERVER" is the instance name):
Get-WmiObject -NameSpace root\Microsoft\SQLServer\ServerEvents\MSSQLSERVER -list
(i get "Access denied")
to find available classes
Get-WmiObject -NameSpace root\Microsoft\SQLServer\ComputerManagement13 -list
NOTE: namespace is not constant. For SQL Server 2005 it's "ComputerManagement", for SQL Server 2008 it's "ComputerManagement10" and for SQL Server 2016 it's "ComputerManagement13"

Looks like there are quite a few different wmi classes in play here... Here's an (slightly obfuscated) exerpt from one of our machines:
> Get-WmiObject -query "SELECT * FROM meta_class WHERE __this ISA 'Win32_PerfRawData'" |
    ? Name -like '*MSSQL*' | select -ExpandProperty name
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>AccessMethods
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>AvailabilityReplica
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>BackupDevice
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>BatchRespStatistics
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>BrokerActivation
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>BrokerDBMTransport
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>BrokerStatistics
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>BrokerTOStatistics
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>BufferManager
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>BufferNode
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>CatalogMetadata
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>CloudDBMessaging_Costly
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>CloudDBReplication_Costly
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>CLR
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>CursorManagerbyType
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>CursorManagerTotal
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>DatabaseMirroring
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>DatabaseReplica
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>Databases
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>DeprecatedFeatures
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ExecStatistics
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>FileTable
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>GeneralStatistics
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>HTTPStorage
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>Latches
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>Locks
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>MemoryBrokerClerks
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>MemoryManager
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>MemoryNode
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>PlanCache
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ReplicationAgents
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ReplicationDist
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ReplicationLogreader
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ReplicationMerge
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ReplicationSnapshot
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ResourcePoolStats
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>SQLErrors
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>SQLStatistics
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>TCMAgents_Costly
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ThrottlHardPartition_Costly
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>ThrottlSoftPartition_Costly
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>TraceEventStatistics_Costly
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>TraceStatistics_Costly
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>TransactionManager_Costly
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>Transactions
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>UserSettable
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>WaitStatistics
Win32_PerfRawData_MSSQL<INSTANCE>_MSSQL<INSTANCE>WorkloadGroupStats

Then there are a few about the SQL Agent as well:
Win32_PerfRawData_SQLAgent<INSTANCE>_SQLAgent<INSTANCE>Alerts
Win32_PerfRawData_SQLAgent<INSTANCE>_SQLAgent<INSTANCE>Jobs
Win32_PerfRawData_SQLAgent<INSTANCE>_SQLAgent<INSTANCE>JobSteps
Win32_PerfRawData_SQLAgent<INSTANCE>_SQLAgent<INSTANCE>Statistics
Win32_PerfRawData_SQLAgent<INSTANCE>_SQLAgent<INSTANCE>SystemJobs

Potentially we could use a query such as this one to enumerate all the counters: SELECT __class FROM meta_class WHERE __class LIKE 'Win32_PerfRawData_MSSQL%'. But the more I think about it, the more I think this is a collector which will require some flags to specify which databases to look at. Otherwise we'll probably export a lot more than needed, and do potentially quite expensive queries

Currently I'm trying to make a minimal working sql collector:

enumerate local server instances

enumerate databases per instance (was thinking along the lines of the iis collector)

exposing some trivial metrics for these

trying to do all of the above without need of authentication, so it can be zero-conf. (not sure its possible)

using the white/blacklist filter to select databases

then, follow up by adding more functionality in later patches.

As you say, there's tons of metrics to collect.

Also, there's this confusion (for me) about different services to speak to:
these all have wmi counters:

SQL Server
SQL Agent
SQL Browser

And finally, SQL Browser is exposing some kind of autodiscovery on port 1434 (udp).

Some thoughts:

Authentication should be fine, we're running the service as LOCAL SYSTEM by default, which should have access to all the counters (we should never be authenticating wíth the database itself this way)
Getting the instances can probably be skipped by using wildcards in the WMI query

Regarding the services, the Server is the server parts, unsurprisingly :) The Agent is used to run scheduled jobs, some basic monitoring, etc (one particularily interesting class here: Win32_PerfRawData_SQLAgent<INSTANCE>_SQLAgent<INSTANCE>Alerts). And last the browser, which as you say is used for discovery. Basically when we run multi-instance installs, it's a lot simpler to let the client do discovery rather than hardcoding some port. AFAIK this one doesn't expose any counters?

I pushed my work-in-progress branch to https://github.com/martinlindhe/wmi_exporter/tree/sql-server
I really don't know if/when I can finish it into a working state, if someone else wants to to take a stab at it, feel free!

these are some sql counters:
BatchRequestsPersec
ConnectionResetPersec
LoginsPersec

FYI, there is an mssql_exporter here, which might make this issue obsolete.

@carlpett good find
I think  we better recommend users to check out https://github.com/awaragi/prometheus-mssql-exporter if this comes up. Closing


Release

Coverage increased (+0.02%) to 90.794% when pulling 540b0ea1dafc390efc16e9f9f9c45a3b1ce8afab on release into 6cd9b557795ad12e3a15d4c53d83de4ac7478657 on preprod.


Add more context to vsphere errors

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

/cherry-pick release/v0.8


is there a way to switch user accounts on react-native-fbsdk

i can't switch user accounts in fbsdk. when i click login then logout the account and click login again it always bring the last account details and there's no way i can switch users using fbsdk login.

@facebook-github-bot stack-overflow

@facebook-github-bot stack-overflow


Transparency

Describe the bug
Unable to create an app with transparency
To Reproduce
Steps to reproduce the behavior:

Go to this line
Add this transparent: true,
Run npm run watch
See error

Expected behavior
The app starts normally
Screenshots

From electron docs:

transparent Boolean (optional) - Makes the window transparent. Default is false. On Windows, does not work unless the window is frameless.


Bug in the bq769x2_configure_alerts  function

https://github.com/LibreSolar/bms-firmware/blob/ad92b6acd5a589f23704c59ea708b19479d0f4ea/drivers/bms_ic/bq769x2/bq769x2.c#L407-L451
The statements like:
ic_conf->alert_mask |= (ic_conf->alert_mask & BMS_ERR_CELL_UNDERVOLTAGE);
have no much sense.
Probably the author wanted something else.
This probably relates to #76

You are absolutely correct, thanks for reporting the bug @Vadiml1024.
Please take a look at PR #81 and let me know if you agree this fixes the bug.


404 trigger nprogress bar indefinitely

Steps to reproduce:

Clone the repo
cd into new folder
Run composer install
Copy .env.example to .env and configure it (if needed)
Run php artisan key:generate
Create the database file (linux\mac: touch database\database.sqlite)
Run php artisan migrate:fresh --seed
Run npm ci
Run npm run prod
Run php artisan serve
Navigate to app url
Login
Click the "404 error" button
Close the modal

Even with the modal closed the nprogress bar and loader keeps running indefinitely, no console errors are thrown.

Just cloned and run the above steps. If some dependency is outdated in composer.lock or package-lock.json, please ignore it and close the issue


Error when building project

When I try to ng build -prod my project this error occurs:

ERROR in Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the funct
ion or lambda with a reference to an exported function, resolving symbol Injectable in C:/Users/NightW/Desktop/app-ng2/node_modules/angular2-image-upload/node_
<EMAIL_ADDRESS>resolving symbol OpaqueToken in C:/Users/NightW/Desktop/app-ng2/node_modules/angular2-image-upload/node_modules/
@angular/core/src/di/opaque_token.d.ts, resolving symbol OpaqueToken in C:/Users/NightW/Desktop/app-ng2/node_modules/angular2-image-upload/node_modules/@angular/c
ore/src/di/opaque_token.d.ts

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'C:\Users\NightW\Desktop\app-ng2\src'
@ ./src/main.ts 4:0-74
@ multi ./src/main.t

I updated the dependencies at angular 4.0.0rc.1, could this be the problem?

"dependencies": {
"@angular/animations": "^4.0.0",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/material": "^2.0.0-beta.2",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"angular2-image-upload": "^0.4.1",
"core-js": "^2.4.1",
"firebase": "^3.7.3",
"hammerjs": "^2.0.8",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/cli": "1.0.0",
"@angular/compiler-cli": "^4.0.0",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"codelyzer": "~2.0.0",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
"karma-chrome-launcher": "~2.0.0",
"karma-cli": "~1.0.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-coverage-istanbul-reporter": "^0.2.0",
"protractor": "~5.1.0",
"ts-node": "~2.0.0",
"tslint": "~4.5.0",
"typescript": "~2.2.0"
}

Update angular2-image-upload to latest.

I tried to update it, but it remains to version 0.4.1.
Which command should be used to update to version 0.5.0?

Thanks, it works perfectly now.


[BUG]: Rio Website Side Bar Bug

Describe the bug
Rio Website Side Bar Bug
Follow these steps to see this

Steps to Reproduce
Fix this with css styles:
For rio-child-wrapper class third container

Add max-height: 500px;

For rio-card rio-component rio-switcheroo-neutral classes child container

Add max-height: inherit;
Add overflow: auto;

Screenshots/Videos
No response
Operating System
Windows
What browsers are you seeing the problem on?
Chrome, Firefox, Edge
Browser version
No response
What device are you using?
Desktop
Additional context
No response

This is already fixed, but we have yet to re-deploy the website with the bugfix. It should happen sometime within the next few days.


Add Mini NVS Solver example

What
A new example for Novel View Synthesis based on NVS-Solver.
This example demonstrates using rerun to visualize the internal workings of NVS-Solver. With a specific focus on the single image case. Still a work in progress, waiting for 0.17 gradio_rerun component and need a bit more time to convert to a Huggingface Zero Space.
Link to the external repo

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[ ] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[ ] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[ ] If applicable, add a new check to the release checklist!
[ ] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

@rerun-bot approve


Cant connect

Hi,
I have 2 boards from here:
https://www.etsy.com/listing/1517956485/usb-to-gameboy-link-adapter-for-pi-pico?ref=yr_purchases
I am connecting 2 leaf greens over the internet. I run python ./usb_trading and follow this sequence:
PS C:\Users\josep\Downloads\PokemonGB_Online_Trades> python .\usb_trading.py
Trying WinUSB CDC
USB connection established!
Version: 4.0.0

=============== Game Selector ===============
1) Red/Blue/Yellow
2) Gold/Silver/Crystal
3) Timecapsule in Gold/Silver/Crystal
4) Special Ruby/Sapphire/Emerald/Fire Red/Leaf Green
m) Multiboot Special Ruby/Sapphire/Emerald/Fire Red/Leaf Green

Input the action's number: 4

=============== Top level Menu ===============
1) Start 2-Player trade (Default)
2) Start Pool trade
3) Options

Input the action's number: 1
Room (Default = 87486):
Waiting for the transfer to start...
Section 0:   0/896

The problem is, mine is getting stuck one 4/896 and the other will go to around 24/896 and then nothing happens, it just hangs. Is there something I am missing?
On screen, it doesn't get any further than please wait at the trader.
Both board switches are set to GBA and both are using GBA cables

Hi!
You first need to Multiboot into Pokémon Gen 3 to Gen X.
To do so, either 1) turn the GBA on without any cartridge inserted, or 2) turn the GBA on and press Start + Select while the GameBoy Advance logo is being displayed.
After that, with the GBA connected to the Computer,  use the "m" option to send the multibootable to the console.
Once you're in it, you can freely change the cartridge by using the "Load Cartridge" option, so you can choose the one that's easier for you between 1) and 2).
After you've done that, on the GBA side select "Gen 3" as the Target, and press A on "Start Trade".
On the Computer side, re-open usb_trading.py and select "4". Then, choose the option which works for what you want to do.
Hope this helped!


Application requests focus on every notification

I confirm (by marking "x" in the [ ] below):

[x] This is not a feature idea. Feature ideas go here: http://www.mattermost.org/feature-ideas/
[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/
[x] This is a product defect issue that can be reproduced using the steps listed below.
[x] I have read CONTRIBUTING.md.

Summary
On every notification, the desktop application window requests focus (icon flashes in the task bar), requiring to activate the window manually to stop the flashing. This appears to be a regression from a previous version (not sure if that was 1.1 or 1.2).
Steps to reproduce

Operating System: Windows 7 Pro
Mattermost Desktop App version: 1.3.0
Mattermost Server version: 3.2.0
Clear steps to reproduce the issue:

Open the Mattermost desktop application and put its window into the background or minimize it.
Wait for a notification to appear.

Expected behavior
It is expected that a notification balloon appears above the system tray area, but not for the task bar icon to start flashing. I'm pretty sure that is how it was in earlier versions. Notification balloons go away automatically, but a flashing task bar icon requires manual intervention to make it stop.
Normally you don't want to have to react to every new message appearing in any subscribed Mattermost channel. It's okay to be notified via the balloons, because you can ignore it and it goes away quickly. But the task bar icon flashing (and the task bar appearing when it was auto-hidden) does not go away by itself, you have to activate the application window before you can go back to what you were doing before.
This is probably (I haven't tested it) not a problem when the desktop application window has been closed and the application only resides in the system tray. But I keep the window open (usually minimized) so I can quickly switch to it by keyboard, which is not possible when it is closed (cf. issue #237).
Observed behavior
A notification balloon appears above the system tray area, and the task bar icon starts flashing (and appears if previously auto-hidden). The notification balloon disappears after a short time (which I believe can be configured in the registry), but the task bar icon keeps flashing until the desktop application window is activated.
Possible fixes
Don't have the application window request focus upon notification.

Hey @nmatt
This is the new default behaviour, if you don't like it, you can change it in the settings.

The feature was asked for in #39 then implemented in #159 and #200 if you need some more information.

@Razzeee: Ah, I missed/forgot that setting, sorry about that!


Comission new device already on Apple TV Thread network?

Not sure if this scenario makes sense or not, but this is what I would like to achieve:
I have a Matter Thread device already paired with Apple Home using an Apple TV.
Now I want to commission the same device to the Python Matter Server in order to control the device from this ecosystem rather than the Apple ecosystem.
I would prefer not to use another OpenThread Boarder Router with the Python Matter Server, but use the Thread network created by Apple Tv.
I opened the settings for the device in the Apple Home app and selected "Turn On Pairing Mode". I then get a Setup code in the format "XXXX-YYY-ZZZZ".
Then I tried to add the device to  Python Matter Server using this message:
{
    "message_id": "6",
    "command": "commission_with_code",
    "args": {
        "code": "05347804358"
    }
}

But, that failed with:
{
  "message_id": "6",
  "error_code": 1,
  "details": "Commission with code failed for node 5"
}

In the Python Matter Server, I got the following log messages:
2023-12-02 09:34:17 matter-server matter_server.server.helpers.paa_certificates[1] INFO Fetched 0 PAA root certificates from Git.
2023-12-02 09:34:20 matter-server matter_server.server.client_handler[1] ERROR [547584145360] Error handling message: CommandMessage(message_id='6', command='commission_with_code', args={'code': '05347804358'})
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py", line 188, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py", line 167, in commission_with_code
raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission with code failed for node 5
2023-12-02 09:34:20 matter-server PersistentStorage[1] INFO SetSdkKey: f/1/s/0000000000000005 = b'\x150\x03\x10\x8f\x03\x81s8\xfd\x13L\r52\xe4Z\xf7\xcd\xd10\x04 \x0f\x82\xba\xd0()\x89\xa4\x80\xc5\x98\x7f\xa4\x0e\x15\xed\x8d\x1f\x99V\xd2\x08\xd5P\x0cf\x92{\x9ezE\xf50\x05\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18'
2023-12-02 09:34:20 matter-server PersistentStorage[1] INFO Committing...
2023-12-02 09:34:20 matter-server PersistentStorage[1] INFO SetSdkKey: g/s/jwOBczj9E0wNNTLkWvfN0Q== = b'\x15$\x01\x01$\x02\x05\x18'
2023-12-02 09:34:20 matter-server PersistentStorage[1] INFO Committing...
2023-12-02 09:34:20 matter-server PersistentStorage[1] INFO SetSdkKey: g/sri = b'\x16\x15$\x01\x01$\x02\x02\x18\x15$\x01\x01$\x02\x05\x18\x18'
2023-12-02 09:34:20 matter-server PersistentStorage[1] INFO Committing...
2023-12-02 09:34:27 matter-server chip.CTL[1] ERROR Commissioning discovery over BLE failed: src/platform/Linux/bluez/ChipDeviceScanner.cpp:173: CHIP Error 0x00000032: Timeout
2023-12-02 09:34:27 matter-server chip.-[1] ERROR src/platform/Linux/bluez/ChipDeviceScanner.cpp:173: CHIP Error 0x00000032: Timeout at src/controller/SetUpCodePairer.cpp:324
2023-12-02 09:34:27 matter-server chip.BLE[1] ERROR BLE scan error: src/platform/Linux/bluez/ChipDeviceScanner.cpp:173: CHIP Error 0x00000032: Timeout

Sorry, we do not have the capacity to provide user support here. This library is meant to be consumed by other projects (like Home Assistant) and thus the support we offer here is only towards developers.


Gh176/resqpy pyscal tutorial

I added a tutorial for moving relperm data between resqpy's RelPerm class and  pyscal's WaterOil class.

Hi @kadijahassanali . I noticed you're working on documentation, so I temporarily enabled a "ReadTheDocs" build of the docs linked to your specific branch. It will re-build whenever you push new commits to this branch, and you can preview how things will look here:
https://resqpy.readthedocs.io/en/gh176-resqpy_pyscal_tutorial/
Nb for future work on docs, we've left the docs building for any branch called docs. So, in future if you wanted to work on documentation, you could create a new temporary feature branch called docs and you could preview it in a similar link.
In fact, I might as well update the "contributor guide" with this information!
PS - you'll need to link to your new tutorial from the existing tutorial table of contents.

Hi @connortann ,
Thanks for enabling that temporary "ReadTheDocs" build. I will definitely be following the instructions in the CONTRIBUTING doc in the future 🙌!

Codecov Report

Merging #181 (8aeba5f) into master (822d83c) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #181      +/-   ##
==========================================
+ Coverage   43.62%   43.64%   +0.01%
==========================================
  Files          51       51
  Lines       23629    23618      -11
==========================================
- Hits        10309    10307       -2
+ Misses      13320    13311       -9

Impacted Files
Coverage Δ

resqpy/surface.py
55.06% <0.00%> (ø)

resqpy/property.py
41.53% <0.00%> (+0.04%)
:arrow_up:

resqpy/lines.py
57.48% <0.00%> (+0.09%)
:arrow_up:

resqpy/olio/base.py
88.18% <0.00%> (+0.44%)
:arrow_up:

Continue to review full report at Codecov.

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


Allows customization in the Flink State binding

This patch allows LinkedIn to extend the state binding in FlinkStateInternals to support configs such as TTL.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

LGTM. Looks like we will implement the customization in beam-runner seprately, right?

Right, that's the plan. We will add our custom logic for ttl there.


~/Downloads unavailable; chroot not updateable

Please paste the output of the following command here: sudo edit-chroot -a
arch precise

chronos@localhost / $ sudo enter-chroot -n arch croutonversion
Entering /mnt/stateful_partition/crouton/chroots/arch...
awk: run time error: redirection not allowed in sandbox mode
        FILENAME="" FNR=0 NR=0
chown: invalid user: ‘messagebus:messagebus’
crouton: version git
release: arch
architecture: x86_64
xmethod: xiwi
targets: xiwi,extension,x11
host: version 10323.9.0 (Official Build) dev-channel kip
Unmounting /mnt/stateful_partition/crouton/chroots/arch...

Please describe your issue:
I have an archlinux chroot that's a few years old that I created using [chroagh]
(https://github.com/drinkcat/chroagh).
Recently [this issue (https://github.com/dnschneid/crouton/issues/3517) has appeared; the ~/Downloads folder is empty when logged into the chroot. In the linked issue, it was solved by updating the chroot. Unfortunately with sudo sh ~/Downloads/crouton -u -n arch -r arch, the release arch does not belong to any supported distribution. Is there really no way I can update my chroot, because chroagh is abandoned? Does anyone know (for example) an updated fork of chroagh that can be used to update my chroot, or is that not possible? (I saw one, but it has been dead for 2 years as well.) At the moment it feels like I'll have to migrate to a non-arch chroot, which makes me very sad... RIP tiny arch terminal on my chromebook.
Thanks in advance for any help you can offer.
If known, describe the steps to reproduce the issue:
Have an old install of arch using chroagh; allow ChromeOS to update over the years.

@vrav,
Unfortunately, as you have discovered the chroagh project is no longer updated.
You could very carefully manually apply the changes in PR #3514 (https://github.com/dnschneid/crouton/pull/3514/files) that addressed some of these issues.
Hope this helps,
-DennisLfromGA

Closing. No response or follow-up (needed) at this time.
-DennisLfromGA


Warn if Bindle or Hippo not responding

Fixes #595.
Signed-off-by: itowlson<EMAIL_ADDRESS>

This looks similar to warn_if_slothful from the engine crate, but deduplicating isn't obvious.

It is, but I didn't want to make it part of the engine crate API.  We should discuss where to put little utility functions like this.

We should discuss where to put little utility functions like this.

spin-util? :grimacing: It's good enough for cargo...


Rebuild Location Navigation

Comment if you are interested in working on this issue!
Requirements
Requirements are open to discussion.
TODO
References

https://eats.seesparkbox.com/refresh/2
#407
#413

Completed with #414


Multiple regressions

After the latest update, the extension had several regressions that make it unusable right now:

The icon does not represent the saved state of the site anymore, there is always just the grey shield visible.
New states are not written
Import is not working (may be related to 2)

Browser: Brave 1.56.20 64-bit

Oops, i will look into this!

I fixed it in the main branch, and submitted for Chrome and Firefox store. It might take a while to update in the stores.

@Wyrrrd please let me know if this fixes the issues.

Tested import, adding states to new pages, icon matches state.
Everything's fixed, thank you for the quick work :)


Improve compile_values and related functions

This PR makes some edits to the compile_values method and adds a new dataset method called get_properties_df.
The following changes are made to compile_values:

compile_values now always returns a multi-level index where the specification is the top leve index.
compile_values now has an option to unpack results from the callable, allowing more than one dataframe column to be built at a time.
entry_name may be a string or list of strings, but now also has a default value in case the user doesn't provide it.

Example use:
import qcportal as ptl

client = ptl.PortalClient("https://qcademo.molssi.org")
dataset = client.get_dataset_by_id(1)

# Case 1 - Single value returned from callable.
df1 = dataset.compile_values(lambda x: x.properties["scf_total_energy"],"scf_total_energy" )

# Case 2 - Tuple of two values returned from callable with unpack True
df2 = dataset.compile_values(lambda x: (x.properties["scf_total_energy"], x.properties["scf_iterations"]), unpack=True)

The function get_properties_df is added to allow easier compilation of record properties into a dataframe. The function takes a list of properties and returns a multi-level index dataframe similar to the type returned from compile_values. Under the hood, the function uses compile_values  accessing the properties using .get in case property doesn't exist for a particular specification. Additionally, before the df is returned to the user any columns containing all nan are dropped.
Example use (continuing from example above)
properties = dataset.get_properties_df(["scf_total_energy", "scf dipole", "mp2 dipole"])

Looks good! Thanks!


new spring cloud version , "spring cloud load balanced"module put into "spring-cloud-commons" module ??

new spring cloud version , "spring cloud load balanced"module put into "spring-cloud-commons" module ??

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Quote strings if they contain special characters

Make urls  in @conf annoted trait work properly.

Thank you :)


⚠ Fortnite has degraded performance

In b046962, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1607 ms

Resolved: Fortnite performance has improved in d635a81.


Enable Conversion Webhooks

Description of your changes

This PR enables the conversion webhooks in preparation for the v1.0.0 release, which will be introducing the v1beta2 versions of some API groups together with their associated conversion functions. This PR also adds the --certs-dir command-line options to the family's resource providers, with the following protocol for configuring the conversion Webhook TLS certificate & key:

If the --certs-dir command-line option is supplied, it's used.
If the --certs-dir command-line option is not supplied, the following environment variables are used in the given order: CERTS_DIR (for consistency with the upbound/provider-aws), TLS_SERVER_CERTS_DIR (the new environment variable, which has replaced the WEBHOOK_TLS_CERT_DIR env. variable in Crossplane), and WEBHOOK_TLS_CERT_DIR (for backwards-compatibility).
The default path for the webhook TLS certificate and key is /tls/server.

It also incorporates the resolver transformer from https://github.com/crossplane/upjet/pull/331 to prevent the import cycles that frequently occur when a managed resource's API version is bumped leaving some other managed resources in its group at their previous versions. The transformer is run as part of the code generation pipeline defined in apis/generate.go as follows:
go run github.com/crossplane/upjet/cmd/resolver -g gcp.upbound.io -a github.com/upbound/provider-gcp/internal/apis -s

The dynamic reference source initialization is implemented using a type registry in internal/apis/scheme.go
When --certs-dir is set to the empty string (--certs-dir=""), the conversion webhooks are disabled to facilitate the local development of resources. --certs-dir="" is also used for the run make target so that developers running the provider locally will not need to bother with configuring the webhook TLS certificates. When running the webhooks are needed for local development, --certs-dir can be set to the folder containing the tls.crt and the tls.key files.
Apart from the discussion in https://github.com/crossplane/upjet/pull/321, this PR takes care of generating CRDs with the conversion strategy set to Webhook. However, the generated CRDs containing the conversion strategy are not stored under package/crds under the repo root. That path still contains the generated CRDs but without the conversion stanzas and they can still be used during development of the managed resources, and for running the provider process locally without the need to configure any TLS certificates. While developing the implementation of a managed resource, there's generally no need to involve the conversion webhooks and the conversion function chains they invoke, unless you're specifically interested in the conversion functions (or the upjet generated spoke implementations). Although the generated CRDs at package/crds do not contain the conversion stanzas, if there's at least one resource in the provider with multiple API versions, the provider, by default, attempts to start the conversion Webhook server, which will fail if the TLS certificates are not properly configured. In such cases, if you'd like to run the provider with the Webhook server disabled, then you can just set the --certs-dir command line argument to an empty string to disable the conversion webhook server, i.e., by specifying --certs-dir="".
The PR uses kustomize together with the yq to generate the CRDs with the proper conversion stanzas specifying the conversion strategy of Webhook for converting between the hub & spoke API versions. As discussed above, the CRDs specifying the conversion strategies are not stored at the path package/crds and instead, they can be found under the path _output/package/crds in the repo root. yq is used to split the multi-doc YAML output from kustomize as the up xpkg batch command relies on the generated CRD filenames while preparing the provider family (resource) packages. Various alternatives have been considered instead of incorporating yq in the code generation pipeline as detailed in the description of https://github.com/upbound/build/pull/249. Notably a shell script implementation of the split function was considerably slower than the yq --split-exp command and we've chosen to incorporate yq into our code generation pipeline.
yq has been incorporated as a kustomize plugin with the name SplitTransformer. Another alternative was to just pipe the output from kustomize (via a shell pipe) to the yq --split-exp command. However, the plugin approach is better for bundling the kustomization transformations as a reusable module. We will consider moving the kustomization configuration for generating CRDs with the proper conversion stanzas as a reusable component to uptest (where there are already some reusable components related with the official provider repos' build pipelines) or to upjet.
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

make run succeeds to provision a ServiceAccount.cloudplatform resource after the CRDs without the conversion stanzas are applied with the command kubectl apply -f package/crds in the repo root.

@ulucinar thanks for this PR. We need to remove the following two statements from the apis/generate.go file

//go:generate bash -c "find . -iname 'zz_' ! -iname 'zz_generated.managed.go' -delete"
//go:generate rm -rf ../examples-generated

We removed these statements during enabling the multiversion crd generation. If we do not delete these statements, we remove old crd versions and generated example manifests for old versions.

/test-examples="examples/cloudplatform/serviceaccount.yaml"

/test-examples="examples/cloudplatform/serviceaccount.yaml"


how i add an icon from fa to the center of the button

I only see left and right icon  setup. I would like to add the icon to the center of the button how can i do that thank you.

Just leave the the Title String property empty and set one of the left or right icon according to your needs.


Change a Kotlin source file in incremental Santa Tracker Kotlin performance tests

Fixes #13886
We shouldn't be changing a Java source file.

@bot-gradle test this please.

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this please.

Sorry some internal error occurs, please contact the administrator @blindpirate


Update capacity size drop list screen shots to include P4 & P5

[Enter feedback here]
The screenshots in the sections for creating or changing a capacity don't show P4 and P5 as choices. I feel like they should, perhaps with a note about how P4 and P5 may not be available in all regions - or something so that you don't get anxiety around whether you could create a capacity of that size, especially if your customer's first foray into Power BI Premium starts at P4.

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

ID: 1f09b043-ca4f-8d06-16b9-19f03e89b344
Version Independent ID: 8166553d-853a-204d-b0bf-e7380d4042d6
Content: Configure and manage capacities in Power BI Premium - Power BI
Content Source: powerbi-docs/enterprise/service-admin-premium-manage.md
Service: powerbi
Sub-service: powerbi-premium
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Thanks for your comment, @JamesTStanley. This issue has been assigned to the doc author for review.

Hi @JamesTStanley,
I can't change the screenshot as this is what you see in Power BI service. As for your comment regarding not creating anxiety for customers that want higher SKUs, there's a note that refers to that before the screenshot (Change capacity size):

Thanks,
Kesem


Intercept Github API ratelimit warnings and display a more clear explanation for them

Outdated -- API rate limit without a token no-longer seems to be a significant problem


use "pre_tasks" and "post_tasks" whenever required

Signed-off-by: Rishabh Dave<EMAIL_ADDRESS>

Please wait for https://github.com/ceph/ceph-ansible/pull/3325
Thanks

jenkins test pipeline

Please wait for https://github.com/ceph/ceph-ansible/pull/3324

@rishabh-d-dave please rebase

Retesting this PR since the error (copied below) is transient IMO.
fatal: [ceph-rgw0]: FAILED! => {
    "changed": false
}

MSG:

Failure talking to yum: Cannot find a valid baseurl for repo: base/7/x86_64
changed: [ceph-rbd-mirror0] => {

jenkins test pipeline


DLL Inject Problem

if i inject in vrchat.exe get i: [+] Hook address: 0x0000000000000000
(vrchat use easy anti cheat but free one)

your game probably doesn't use TranslateMessage in this case just find a frequently called function in game and pass it as hook address instead of iat walking


Avoid assuming RealCall

Two aims

1 avoid needing to cast to RealCall within OkHttp
Support a clean decorator mechanism for libraries that decorate Call.Factory of WebSocket.Factory

Hi, @yschimke, thank you for putting up the PR! Would you have an ETA when the PR will be merged and released? Thank you.

@yschimke Could you help to resolve the branch conflict? Clients are trying to use this branch to test.
Also could you provide an ETA in mind to merge this branch? Thanks.

Yep, will do.
In order to land, it needs more feedback from maintainers and possibly API changes.

Yep, will do.
In order to land, it needs more feedback from maintainers and possibly API changes.

That's great, Thank you for the help!
In terms of "more feedback from maintainers and possibly API changes", are you talking about on okhttp side or is there anything NR can help?

It’s on me.

@swankjesse @yschimke   Please help and resolve the merge conflicts .. and expedite this. its really blocking to integrate NR usage  with various 3rd party libraries
@ywang-nr Is there any workaround to get this working . the latest nr-android-agent also not working with its new feature .

(NR = NewRelic)

@swankjesse Would you be open to have a call with NR and our customers to troubleshoot a work-around?
Here are more background:
Upon receiving customer's feedback and after our own investigation, NR has reached out on Feb 27th here
Thanks to @yschimke drafted the PR but it hasn't been merged since May. We have asked our clients to try out the PR but it's hard to coordinate with 3rd party libraries, which we have multiple cases open with salesforce-android-sdk.
It would be really helpful if we can get an idea whether this PR will be merged or not, an ETA would be the best. Otherwise, we can get an idea how a potential work-around can be made on NR side. Thank you.

Another vote here from a New Relic engineering manager: Anything we can do to help get this PR further vetted and merged to unblock multiple parties?

I’ve got an alternative approach for this.
Currently RealEventSource must downcast to RealCall because our Call interface isn’t rich enough to express timeoutEarlyExit(), a function that cancels the call timeout’s timer when we promote a short-lived HTTP call into a long-lived SSE stream. (We can’t get rid of the timeout entirely, because we need the setup HTTP call to fail if it takes too long.)
And timeoutEarlyExit() is necessary because Okio’s Timeout doesn’t have a mechanism to asynchronously cancel a timeout via its public API. Instead, we hack around it in RealCall by calling exit() via two different code paths and keeping track which one we used.
@oldergod had a great insight here: Timeout should have a cancel API! Then RealEventSource can use that directly, as can everything else that’s using timeoutEarlyExit(). We don’t need to downcast, and we make it possible for external users to build stuff like RealEventSource through our public API alone.
Next steps:

Introduce Timeout.cancel() API in Okio
Ship an Okio release
Adopt that new API in OkHttp

@swankjesse Thanks! Any guess at a timeline or is there another PR yet for that approach?

@JustinRush-NR I’m working on it currently. https://github.com/square/okio/pull/1391

More! https://github.com/square/okhttp/pull/8141


Notebook Run in Section does not work for collapsed subsections

Testing #208545
I collapsed a nested section with 1 cell and tried to run it with the Run action button, but it wouldn't run. I did the same for the root section and it worked in that case.

I was also able to reproduce this. FWIW it seems to only happen when there's one 1 hidden cell. When there are more cells, it seems all but the last one are run. A couple of examples in this GIF:

Notice when running the 8 collapsed cells, the last one isn't run
Notice when running the 2 collapsed cells, the execution count of the second one is 2 less than expected (should be 92 instead of 90 if it had been run):

oh watching the GIF actually made me realize there's one more issue, not related to run but to expand/fold: https://github.com/microsoft/vscode/issues/208726


Add Permission Instructions

Add instructions to set the right Cloudflare WARP permissions as it can be confusing.

Can you squash your commits and change the commit message to something more meaningful? Thanks!

Squashed with new commit message.