Automatically close the aerial window when the corresponding buffer is closed

Description
Let's say we open a buffer with some symbols and use aerial to open the symbol tree. When we close the original buffer (e.g. through :bwipeout, :bdelete, <C-W> + c etc, the aerial window should also close. For instance, it is expected that the aerial window shall auto-close when the last valid file/buffer is closed, and can be mildly surprising when just the aerial window persists as the last open buffer.
Currently, the aerial window is left orphaned, pointing to dangling symbols which lead to a bunch of error lines when trying to open.
E5108: Error executing lua ...te/pack/packer/opt/aerial.nvim/lua/aerial/navigation.lua:175: Could not find destination window
stack traceback:
	[C]: in function 'error'
	...te/pack/packer/opt/aerial.nvim/lua/aerial/navigation.lua:175: in function 'select'
	...vim/site/pack/packer/opt/aerial.nvim/lua/aerial/init.lua:92: in function 'select'
	[string ":lua"]:1: in main chunk

System information

OS: Linux
Neovim version: 0.7
AerialInfo:
Aerial Info

-----------
Filetype: lua
Configured backends:
  lsp (not supported) [LSP client not attached]
  treesitter (supported) (attached)
  markdown (not supported) [Filetype is not markdown]
Show symbols: Array, Boolean, Class, Constant, Constructor, Enum, EnumMember, Event, Field, File, Function, Interface, Key, Method, Module, Namespace, Null, Number, Object, Operator, Package, Property, String, Struct, TypeParameter, Variable

Aerial config: N/A. Issue cccurs in the default config as well.

To Reproduce
Steps to reproduce the behavior:

Open any file with suitable symbols (functions, classes etc). e.g. a Lua config file for neovim
Toggle the symbols outline window with :AerialToggle<CR>
Close the original file with :q (or ZZ, ZQ etc). The aerial window alone will persist.

Screenshots

After :q, we are left with

And pressing <CR> on any of the symbols in the tree results in an error:

This is something that used to work, but must have regressed at some point. Should be fixed now

Thank you. Indeed it works now. For robustness, is it worth adding a regression test for this issue?

It would be nice to have, but would take some time and I have other tasks (in general, but also on aerial) that I think are higher priority

Did this stop working again? I'm having the same issue on Neovim 1.10.0. :q seems to work but ctrl-w q and ZQ/ZZ don't.


Devise Error after integrating versioning - "Authentication required for Sign In action"

We integrated 'versionist' gem for path based versioning for our APIs. After integrating versionist we found that only default sign in/ sign up/password reset urls(Eg: /users/sign_in) are working. The same actions for different versions were giving issues(Eg: /v1/users/sign_in).
We were able to identify that this issue was caused because of the scope. For example, if we are using v1 API then the scope received in Sessions#create is found to be v1_user.
Here is the set up we used,
Routes
 api_version(:module => "v1", :path => {:value => "v1"}) do
   devise_for :users, :controllers => {
      :registrations => 'v1/registrations',
      :sessions => 'v1/sessions',
      :passwords => 'v1/passwords'
    }
end

And we got the auth_options inside Sessions#create as
{:scope => :v1_user, :recall => "sessions#new"}

We tried overriding the scope to :user and everything started working.
Similar issues we faced in registrations and passwords controller, where the devise parameters found to be nil for constructing the resource.
Here is our dependencies,
rails (3.2.13)
devise (2.2.3)
versionist (1.2.1)

Right now we have overridden all the required devise actions, is there a better solution to this problem?

For posterity... I found this while trying to use Devise with Versionist and custom strategies.
Here is the Gist for my solution https://gist.github.com/Genkilabs/587fab4214798c87c3aa97bb06280f43

@tacticiankerala , how did you override the scope to :user?
I tried in controller to override auth_options and resource_name methods but failed

api_version with path strategy use Rails' namespace method with as option and hence DatabaseAuthenticatable expects the name accordingly :v1_user
API versioning using header works.


UDP socket does not stay registered after receiving event

Reported in discord and reproduced in #1309

https://github.com/tokio-rs/mio/pull/1309#issuecomment-621960860


the data preprocess pipeline

Nice work! I draw the data preprocess pipeline here, can you help me to check its correctness
huamn3.6(17 world 3D joints) --> delete nose joint --> huamn3.6(16 world 3D joints) -->normalize 3D (/ 1000) -->huamn3.6( noramlized 16 world 3D joints)  --> normalize camera parameter and perspective projection --> get normalized 2D pose
MPI: delete nose --> (16 2D pose) --> normalize 2D using camera resolution -->input to poseaug -->predicted MPI 3D <==MPJPE protocal 1, PCK, AUC=>  GT MPI 3D, then the MPJPE protocal 1, PCK, AUC are recorded in your paper, Table2
Is this right? thank you very much~

Thanks for your interest.
Here the MPI 2D/3D pose are 24 joints setting, we convert it to 16 joints setting by prepare_data_3dhp.py, with reason issue #4
The others are right. :)

OK, Thank you very much!,I got it


"No rows found" shown underneath "Loading..." when loading is true and data is undefined

What version of React-Table are you using?
6.8.0
What bug are you experiencing, or what feature are you proposing?
My component fetches data from the server and has a loading prop (which is set to true while we're fetching data and changes to false once the data is available). I want to use this existing loading prop to set the correct loading state on ReactTable by doing the below:
let tableData = loading ? undefined : myData

<ReactTable
  loading={loading}
  data={tableData}
  ...

What I see is that when the "Loading..." indicator is shown, underneath it I also see "No rows found" even though I am setting data={undefined}. This seems like a bug. When the table is in the loading state, "No rows found" should not be shown.
I also tried not setting the data prop at all, but there was no change in behavior:
if (loading) {
  <ReactTable
    loading={true}
    ...
} else {
  <ReactTable
    data={myData}
    ...
}

maxrosecollins from the Slack channel said they see the same behavior as well.

Hi @mrubin , I have created a PR ( https://github.com/react-tools/react-table/pull/861 ) to fix this issue. Go through it and let me know if there are any comments on it.

Closing due to issue age. If you think this issue needs to be reopened or if it should be turned into a pull-request, please check the latest version of React-Table for the issue or feature once more and reopen or create a PR if appropriate. Thanks!

@tannerlinsley this is definitely still an issue, a PR was made (#861) but has been closed by @gary-menzel as he doesn't agree that it is an issue. We (the community) are unanimous in our stipulation that this is, in fact, an issue.
The discussion should have been had here, rather than the PR (PR's are for discussing the code, we should have discussed the issue here), but if you could take a look at the conversation over there (#861) and weigh in, I'm sure we would all very much appreciate that.
Kindest regards,


Jittering Timer

Sometimes, the timer visual effect of spell alerts shrinks very quickly, around 5 secs (independently of the actual timer remaining). Sometimes it quickly shrinks after leaving combat, within approximately 1 second. Both can happen at the same time. In either case, the spell alert does not end when the timer ends. Instead, the alert lingers with half opacity (that is, opacity of depleted time) until the buff actually expires, at which time the alert is removed as intended.
Sometimes, re-entering combat before the buff expires will not restore its full opacity. With coordinated textures e.g. "Left + Right (Flipped)", re-entering combat may re-opacify only one of the textures.
This issue has been first observed with Mage's Clearcasting on Cataclysm Beta, where it is almost always problematic. Since then, it has been observed on other spell alerts, such as Death Knight's Killing Machine, although the issue is not consistent. Usually it works as intended for the first proc, and never works afterwards.
When activating Debug and Trace information, the remaining time is correctly detected. For example, Killing Machine has a 30-second duration. Logs indicate that the addon sets the timer to 30 seconds and nothing else.
Based on symptoms and recent development timeline, it may have been introduced during #211, although it has yet to be formally proven.

Confirmed it was introduced in 23a450fce9e3c4bdc339f6247a5e9144cf2ddf94. Unfortunately, simply reverting this commit introduces other side effects. #289 will fix it, or at least reduce the problem to a point where it should be invisible in most cases, and barely noticeable at worst.


bugfix(): fix ImageBuild function in docker_test.go

The return value of ImageBuild function in docker_test.go throws error.
cannot use composite literal (type testClient) as type client.APIClient in field value:
	testClient does not implement client.APIClient (wrong type for ImageBuild method)
		have ImageBuild("context".Context, io.Reader, "github.com/ocibuilder/ocibuilder/vendor/github.com/docker/docker/api/types".ImageBuildOptions) (io.ReadCloser, error)
		want ImageBuild("context".Context, io.Reader, "github.com/ocibuilder/ocibuilder/vendor/github.com/docker/docker/api/types".ImageBuildOptions) ("github.com/ocibuilder/ocibuilder/vendor/github.com/docker/docker/api/types".ImageBuildResponse, error)

This has been resolved


URLs to EMBL sequence archive changed

On https://covid19dataportal.se/data_types/genomics_transcriptomics/data/ ,  the page contains direct links the EU portal under the section "Data available on the European COVID-19 Data Portal". Their portal changed their URLs, so please update our portal accordingly:
https://www.covid19dataportal.org/sequences?db=embl -> https://www.covid19dataportal.org/sequences?db=embl-covid19
Possibly, this concerns other links in the portal too using db=embl which should now be db=embl-covid19.

The link appeared in 2 places. Both now fixed.


Plugin is not compatible with Intellij IDEA 2021.3

Hi there!
Thank you for great job!
Would you mind to publish new version with support of 2021.3 just recently release? Because now I get warning before upgrade that plugin is not compatible with new version.
Thank you

I will check it later.

Check the release v1.4.5.
Maybe it will be list in JetBrains Repository in 2 days.

Perfect, thanks a lot!
No more warnings!


node: set n.manager to nil earlier

I need this for integration tests to reliably detect if node is a
manager.
Also reordered some operations and call manager.Stop directly only once.
ping @tonistiigi @aaronlehmann

[Current coverage][cc-pull] is 55.04% (diff: 0.00%)

Merging [#1210][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.08%

@@             master      #1210   diff @@
==========================================
  Files            77         77
  Lines         12259      12260     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6759       6749    -10
- Misses         4581       4589     +8
- Partials        919        922     +3

[][cc-pull]

Powered by Codecov. Last update [54c67ca...a3f3c8e][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/54c67ca261520761838baa9f400a95d5401e8e9e...a3f3c8e0b7ad4e2b0a71016940533eb31b60361c?src=pr
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/1210?src=pr

@aaronlehmann indeed! thanks!

LGTM

LGTM


Allow flexible filling

Allows flexible filling such that adding buyers and sellers will only strictly require the name field, though remaining fields can nonetheless be filled in as desired. Since it is required to fill in the name, a default name is not provided.

I think you're failing some tests.
AddBuyerCommandParserTest > assertFailsParse_partialInput() FAILED
java.lang.AssertionError at AddBuyerCommandParserTest.java:28
AddSellerCommandParserTest > assertFailsParse_partialInput() FAILED
java.lang.AssertionError at AddSellerCommandParserTest.java:29
Given this new addition the test cases should be modified, since we now do expect (some) partial inputs to parse successfully (Besides missing names).

LGTM, merging soon.


Topics for a contribution/collaboration guide

We already have a contribution guide but this one is rather minimal and just gives a set of quick guidelines. It for example does not cover how and where we discuss things before creating a PR, who merges the PR once it is approved, how we link issues, etc. With more people boarding onto the project and everything becoming open soon, I think it would it would be very useful to work out a more detailed contribution or even collaboration guide. I don't see such a guide as the one-and-only truth that decides whether or not we accept contributions. There are always exceptions, for example when timing is very critical. Instead, this guide should be a golden model, i.e., how we would like to collaborate ideally.
The goal of this issue is primarily to collect a list of topics and points we want to have addressed in such a guide but NOT to discuss the solution for the individual points. Once we have a list of points we want to address, I will create a GDoc with a proposal where we can discuss individual points, and then transfer it to markdown as we do for example with IP specs.
Things I would like to have in the new contribution guide:

Procedure for adding a new feature, major changes
Where do we discuss implementation details/proposals before creating PRs
How does a PR look like (single commit, multiple commits, many commits)
Who should review PRs
Who should merge the PR once it is approved
How long do we wait for further reviews even though a PR is approved (time difference between contributors), wait at least for CI to pass
Do we rebase and merge or squash multiple commits into a single one?

How do we reference open issues in PRs, commit messages? E.g. should we quickly summarize the outcome of a discussion to motivate the changes in a PR, commit message?
What about TODOs?
What about auto-generated files?
Reference to coding style guides, usage of clang-format

Please let me know if you want additional things being discussed (if possible, link other related issues), or let me know if you do not agree with this plan. As mentioned above, this issue is just about collecting topics but not about discussing them.

This is being tracked somewhere else now.


Exclude unnecessary finally and catch blocks

We can exclude finally blocks, because of try-with-resources construction.
It will execute close() methods automatically.
We don't need catching IOExceptions from close() methods of resources, because they will be suppressed (according to Oracle's [doccummentation] (https://docs.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html)).

Linux with security manager Build 3044 outcome was FAILURE using a merge of e43e3944b87f04624ad993477e705e052cea3390
Summary: Tests passed: 768, ignored: 286; compilation error: Compiler (new) Build time: 00:04:02

Linux Build 8210 outcome was FAILURE using a merge of e43e3944b87f04624ad993477e705e052cea3390
Summary: Tests passed: 768, ignored: 286; compilation error: Compiler (new) Build time: 00:04:10

Windows Build 3245 outcome was FAILURE using a merge of e43e3944b87f04624ad993477e705e052cea3390
Summary: Tests passed: 768, ignored: 286; compilation error: Compiler (new) Build time: 00:05:40

I am not shure, what is wrong with build. But I don't think, that my changes coused some problem with tests

Linux with security manager Build 3045 outcome was FAILURE using a merge of da2cab738b00c16abcc31a6868282fd62bc34d96
Summary: Tests passed: 768, ignored: 286; exit code 1 Build time: 00:03:59

Linux Build 8211 outcome was FAILURE using a merge of da2cab738b00c16abcc31a6868282fd62bc34d96
Summary: Tests passed: 768, ignored: 286; exit code 1 Build time: 00:04:08

Windows Build 3246 outcome was FAILURE using a merge of da2cab738b00c16abcc31a6868282fd62bc34d96
Summary: Tests passed: 768, ignored: 286; exit code 1 Build time: 00:05:36

Maybe it is something wrong with built. I checked all my changes and I don't think, that they could cause some problems with tests.

problem is with checkstyle
[10:56:45] :		 [org.wildfly:wildfly-appclient] /opt/buildAgent/work/a31d203e70e89f90/appclient/src/main/java/org/jboss/as/appclient/deployment/ApplicationClientParsingDeploymentProcessor.java:120: Line has trailing spaces.
[10:56:45] :		 [org.wildfly:wildfly-appclient] /opt/buildAgent/work/a31d203e70e89f90/appclient/src/main/java/org/jboss/as/appclient/deployment/ApplicationClientParsingDeploymentProcessor.java:137: Line has trailing spaces.

@ctomc I rewrite these changes in the PR


GPIOD on Ubuntu requires sudo

When starting Pi4J with GpioD on Ubuntu, you get
'com.pi4j.library.gpiod.internal.GpioDException: gpiod_chip_iter_new failed! (Permission denied)
at com.pi4j.library.gpiod.internal.GpioD.chipIterNew(GpioD.java:344
..
..'
Running as root/sudo works as expected.
Adding the user to the 'dialout' group as described here: https://askubuntu.com/questions/1230947/gpio-for-raspberry-pi-gpio-group
does not seem to work either.

Please double-check that your user has been successfully added to the correct group. You can verify this by running the command:
groups <your_username>
Make sure the gpio group (or dialout, depending on your setup) appears in the output. If it’s not listed, you may need to log out and log back in, or restart your system for the group membership to take effect."

Everything appears correct


Update whisper_speech_recognition.py

increased the max_new_tokens and also added device to show how to use GPU. Also added language options example as a comment

build_jenkins


Add a Gitter chat badge to README.md

Microsoft/ChakraCore now has a Chat Room on Gitter
@tcare has just created a chat room. You can visit it here: https://gitter.im/Microsoft/ChakraCore.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

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

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

TTYL, MSBOT;

LGTM. Signed off.


With find_files

How to can i have this feature enabled under find files i mean usign :Telescope media_files works but how to get that working when using find_files

I'm wondering the same thing.

I've wanted this behaviour for a long time also. I'm not entirely sure what telescope does under the hood. But it seems telescope can be configured to use fzf. When manually using fzf in the terminal it seems to me that you have to specify the preview program when you call fzf, that is you have to specify the program which is used for previewing before fzf knows about the filetype it is going to preview. So I think the way to fix it, at least with fzf, is to make a bash script that checks the filetype and then calls the appropriate program for viewing that filetype. Then tell fzf to use that bash script as a previewer. I suspect that this would also work with telescope. I haven't tried this, but I think I'll give it a go in the next few days. But I think this is one way to get this behaviour. I really hope it works, because the current behaviour where you have to use different search functions for different filetypes is really strange and (imo) badly designed.

This is a must

I think this should be a reasonable setup

I'm wondering this too.

update?

No one is working on this


Make in root dir is broken on my machine (mac cross compile)

Make clippy works
Make run works
Make fails due to porky build, but that works from within porky subdir.
Probably related to some .cargo config dir or something.....

Problems with armv7 gcc and ring build on macos.
reported here: https://github.com/briansmith/ring/issues/2189


Fixes

https://groups.google.com/g/pretext-support/c/5EhXaz_MHwA/m/iRtDPVbRCAAJ
Accepting this PR (once it's ready) will fix your main branch, as well as address the issues discussed in -support above.

It turns out that your source was perfectly fine; we just don't install SageMath by default in a new PreTeXt-CLI configured Codespace. (I'm proposing we change that in future versions: https://github.com/PreTeXtBook/pretext-cli/pull/764 )
Anyway, you should be able to merge this PR into your main branch. Then I suggest you delete the old codespace, then create a new codespace on main.
Finally: your main branch got out of sync with your codespace when you manually uploaded a file via GitHub.com: https://github.com/johnestesmath/onboard/commit/444dbbd6f9abbd6f615d27dfb01ebdd085ad448b If you're using a Codespace, you should stick to using the Codespace to work on your project, so you don't have to merge changes from different sources later.

Great. Thanks so much! I think I followed your steps correctly. Will this also solve the youtube playback problems?

YouTube issue slipped by me, let me see

What YouTube video are you trying to embed?

You can see in the sec-test.ptx, I'm trying to embed a Ted ED video on pascal's triangle: https://www.youtube.com/watch?v=XMriWTvPXHI&t=6s


Missing param represents object handle

In IMechanismParamsFactory missing method for create CK_OBJECT_HANDLE as mechanism parameter.
For example, it is used from CKM_CONCATENATE_BASE_AND_KEY - https://www.cryptsoft.com/pkcs11doc/v220/group__SEC__12__34__3__CONCATENATION__OF__A__BASE__KEY__AND__ANOTHER__KEY.html#CKM_CONCATENATE_BASE_AND_KEY.

Closing as a duplicate of #145.


mcast_membership methods do not work appropriately

@Kloenk I'm working on #138 and bumped into another bug. I'm uncertain whether this is a newer kernel change but:
    /// Join multicast groups for a socket.
    pub fn add_mcast_membership(&self, groups: U32Bitmask) -> Result<(), io::Error> {
        match unsafe {
            libc::setsockopt(
                self.fd,
                libc::SOL_NETLINK,
                 &u32 NETLINK_ADD_MEMBERSHIP,
                &*groups as *const _ as *const libc::c_void,
                size_of::<u32>() as libc::socklen_t,
            )
        } {
            i if i == 0 => Ok(()),
            _ => Err(io::Error::last_os_error()),
        }
    }

is not working with kernel 5.4.0-65-generic. After looking into the documentation and the kernel code, I'm not seeing a change from groups being a bitmask to a single value or an array and this may be leftover from when I used to set the nl_groups field in the netlink socket address, but I was almost positive that this used to work as is on my system. Is this working on your system as a bitmask and if so, what kernel version are you running?

Not worked with mcast yet, not event looked up what the do :-).
Im only working with the normal nl80211 family, on the kernel packaged as kernel in nixpkgs. Not sure of the exact version at the moment.

Okay, I'll assume this is a bug.


Trigger autocompletion in more situations and keyword completion

C# editor has quite complicated logic to determine wether autocompletion should trigger or not, see http://source.roslyn.codeplex.com/#Microsoft.CodeAnalysis.Features/Completion/CommonCompletionUtilities.cs,54b4ce43ce7c9a05,references
I've ported a single simple part of it. The result is as following (no Ctrl+Space is pressed at all):

This is excellent!

Fantastic

ci_part1 fails with things like:
Good! got an error, hopefully with the right text: /home/user/Test.fsx (7,23)-(7,24) parse error Missing qualification after '.'

Apart from that weird message - it definetly looks related to the change.

I also added keyword completion provider here (because making another PR based on master would be hard since the changes are closely related).
It works like this:

all green. yay. merge merge merge!

It is absolutely critical to test the performance of this in large files (> 10,000 lines). I'm assuming it will be too slow, with a reparse and typecheck of the file on each keystroke.

If someone could perf test this in large files that would be great

If someone could perf test this in large files that would be great

I've tested it on TypeChecker.fs and it's completely unusable. UI thread is blocked for about 15 seconds after any code change. To be honest, VS 2015 shows completion after a change after same delay, but without blocking UI thread. I think we should:

do not block UI thread
use old cached results for completion until waiting for fresh ones

Depends on #1825 then.  I think we should hold off on merging this until some progress for making completions nonblocking shows up.

We might want to make some options for this too - see Tools\Options\Text Editor\C#\IntelliSense for some of the options that we support there.

@dotnet-bot test this please

@vasily-kirichenko is this ready? can you please rebase it?

@forki it requires a setting to turn the feature off on large projects because it's totally impossible to make it work on such projects because of FCS performance and blocking GC.

Competition triggers too aggressively with this PR. I think we should port all the (rather complex) related logic from C# editor.


Updates missing IAM action and removes one that does not exist

Towards ENG-1381
We were missing the s3:GetBucketTagging action and the lambda:ListAttachedRolePolicies action does not exist.

This PR is included in version 1.1.1 :tada:


Use Azure Active Directory for user authentication

Need to integrate with Azure's active directory for logging in.

i can help with this if needed @codeWithUtkarsh


[WIP] update Layer minZoom and maxZoom on changes

minZoom and maxZoom do not update on changes.
Warning: this is not building properly right now, and I get a linting error with tsserver, but I can't figure out what's wrong. I didn't want to create both an issue and a pull request, so I thought we could iterate on this.
The error I get with npm run build is
src/layer.ts(265,33): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
  Type 'undefined' is not assignable to type 'number'.

From what I can tell these are optional params in both mapbox-gl and react-mapbox-gl, so I'm not sure how to fix the error
From react-mapbox-gl/src/layer.ts (typescript)
  minZoom?: number;
  maxZoom?: number;

From mapbox-gl/src/style/style.js (flow)
  setLayerZoomRange(layerId: string, minzoom: ?number, maxzoom: ?number) {

Hey @redbmk sorry for the late reply, so that's an issue with the type definition of mapbox-gl in definitelyTyped, for now you can do:
map.setLayerZoomRange(id, props.minZoom!, props.maxZoom!);

Can you also add a Todo like:
// TODO: Fix type definition of mapbox-gl for setLayerZoomRange optional zooms
map.setLayerZoomRange(id, props.minZoom!, props.maxZoom!);

@alex3165 Thanks. I ended up creating a PR to fix DefinitelyTyped (DefinitelyTyped/DefinitelyTyped#22036). I also found the tests weren't passing there, but I'm not entirley sure the best way to fix it so I submitted an issue (DefinitelyTyped/DefinitelyTyped#22035).
Do you have a preference whether to wait for these to get updated first or to just add the !s for now?
I've already coded a workaround for now in my code by just calling this.context.map.setLayerZoomRange in componentWillReceiveProps

I think we can go ahead with the bang operator (!) for now and add a comment:
Todo: Fix when PR https://github.com/DefinitelyTyped/DefinitelyTyped/pull/22036 is merged

@alex3165 Sounds good, thanks :smile:

@redbmk Is it good on your side? can we get this merged?

@alex3165 yeah, we're good to go. I tested this out and it's working great for me.

Released with tag 3.4.0


[Bug] @storybook/addon-backgrounds stopped working in storybook-builder-vite v0.1.23

Describe the bug
After updating "storybook-builder-vite" from "0.1.22" to "0.1.23" i realized that "@storybook/addon-backgrounds" which is a part of "@storybook/addon-essentials" stopped working correctly in Build.
It is still working as it should while just running under vite though.
Steps to reproduce the behavior

Create a new Project with "@storybook/addon-essentials": 6.4.20 and "storybook-builder-vite": "0.1.23"
Configure preview.js like this:

export const parameters = {
    actions: { argTypesRegex: "^on[A-Z].*" },
    controls: {
        matchers: {
            color: /(background|color)$/i,
            date: /Date$/,
        },
        expanded: true
    },

    backgrounds: {
        default: 'light',
        values: [
            {
                name: 'white',
                value: "#FFFFFF"
            },
            {
                name: 'blue',
                value: "#0376BB"
            },
            {
                name: 'light',
                value: "#F8F8F8"
            },
            {
                name: 'dark',
                value: "#090716"
            },
        ]
    }
}

Build Storybook and run it somewhere (ex. Live Server in VSC)
Try to change Background Color in a Story

Expected behavior
Background color should change.
Screenshots and/or logs

Environment

OS: macOS 12.2.1
Node.js version: 17.8.0
NPM version: 8.5.5

Thanks for the report.  Just curious, does it work correctly if you enable storyStoreV7?

@Nagell I've tried, but I've been unable to reproduce this.  Do you mind creating a repo that demonstrates the issue that I can take a look at?

Closing this for now since now reproduction has been provided.


Toolbar button styling to reflect cursor position when running on desktops with keyboard to move caret.

Description
Proposed changes make the toolbar buttons selection state reflect the styling as the cursor is moved. Using desktop (Windows) keyboard cursor keys to move the caret position (without selecting text).

Fix inline style tracking: When cursor is moved into a region of bold, the bold style is correctly recognized and reflected in the toolbar status. Problem: When the cursor keys move the caret out of the bold region, the bold style is not cleared and cannot be removed.

Fix: toggle_style_button failed to call default afterButtonPressed in base button settings. Constructor called options.afterButtonPressed rather than the class function afterButtonPressed that defaults to a call to QuillToolbarBaseButtonOptions.

Fix: quill_icon_button build when isSelected did not call afterButtonPressed (expected same action as when not selected).

Fix: QuillController _updateSelection removed param=source because not used; added new param insertNewline to recognize when a newline entered and maintain the correct inline style by correctly setting toggledStyle; updated replaceText to call _updateSelection for newline.

Fix: document.dart collectStyle:  Click at the start of a line (of bold text), user would expect the style to be the visible style of the line including inline styles. Also requires updating insert.dart PreserveInlineStylesRule to recognize if inserting text at start of line and use attributes from the first char on line

Fix: color_button : Add afterPressed param to QuillToolbarIconButton

Related Issues

Fix #1786  QuillToolbarBaseButtonOptions now called

Fix #1775  Toolbar bold button now tracks cursor position

Improvements

Features

Additional notes

Suggestions
QuillController (public function) updateSelection also does not use the ChangeSource parameter.
ChangeSource enum does not appear to be used anywhere - is this deprecated or am I missing something?
Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I titled the PR using Conventional Commits.
[X] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
[X] All existing and new tests are passing.
[X] I have run the commands in ./scripts/before_push.sh and it all passed successfully

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
[X] No, this is not a breaking change.

Run dart format --set-exit-if-changed .
Formatted lib/src/widgets/quill/quill_controller.dart
Formatted 260 files (1 changed) in 1.33 seconds.
Error: Process completed with exit code 1.

@ellet0 I am unsure about this PR. Could you please take a look? Thanks!

@ellet0 I am unsure about this PR. Could you please take a look? Thanks!

I'm not sure too about the changes in the insert rule and the document file
The code is getting more and more messy
Only the original authors can understand it
And with all the changes that have been made, I doubt they can understand it now
I can understand the other changes

@ellet0 I am unsure about this PR. Could you please take a look? Thanks!

I'm not sure too about the changes in the insert rule and the document file
The code is getting more and more messy
Only the original authors can understand it
I haven't made any changes to the base of the library (in the document, raw editor widget, the rules, etc...)
I can understand the other changes

Please revert all the unnecessary comments that have been made like the ones in the example folder

Changes made and submitted.
This is my first contribution - do I need to do something??

@ellet0 can you check this PR again?

Run dart format --set-exit-if-changed .
Formatted lib/src/widgets/quill/quill_controller.dart
Formatted 261 files (1 changed) in 1.2[8](https://github.com/singerdmx/flutter-quill/actions/runs/8544426268/job/23524750239?pr=1801#step:13:9) seconds.
Error: Process completed with exit code 1.

@ellet0 can you check this PR again?

I'm not familiar with most of the code, and I don't understand why it's what it's and why this change could solve the issues mentioned.

@ellet0 can you check this PR again?

I'm not familiar with most of the code, and I don't understand why it's what it's and why this change could solve the issues mentioned.

We just need to test if it fixes the issue the PR mentioned.
If there is issue we can always rollback.


Update SELECT FOR UPDATE re: serialization errors

Fixes DOC-6257
Summary of changes:

Add a paragraph to the "SELECT FOR UPDATE" overview that notes that the locking provided by SFU does not guarantee ordering in all cases and can result in serializable errors (40001)

We also make sure the magic "retry error" strings appear for searchability: specifically, 40001 and restart transaction.

h/t @kai-niemi for the language here, which is adapted from his work in an internal design document (hence no link, otherwise we would add it)

TFTR @nvanbenschoten !
FYI @ianjevans I'm gonna merge this since it's so tiny and it's Breather Week (tm) and also the docs issue is a bit urgent due to a customer ask vs. I'm out on vacation for 2 weeks after today.  I don't think anything here is objectionable but feel free to yell at me if you disagree

@nvanbenschoten :
Is this docs change valid for the SELECT FOR UPDATE docs for v21.2 and v22.1 as well?
If so,  I will create another PR to add this change to those versions

@rmloveland yes, these docs changes are valid for both of those versions.


Adding panelClass to mat-menu does nothing

Bug:
Adding panelClass to mat-menu does nothing. The problem is that material menu gets rendered using cdk-overlay-pane, which is outside of the component and imposible to style without using ::ng-deep, which interferes with other components using overlay panel.
What is the expected behavior?
Accoring to documentation:
@Input('class')
panelClass: string

This method takes classes set on the host mat-menu element and applies them on the menu template that displays in the overlay container. Otherwise, it's difficult to style the containing menu from outside the component.

Example of non-working code:

      {{account?.firstName + ' ' + account?.lastName}}
      {{account?.email}}

    {{'server-is-unreachable' | translate}}

<mat-menu #avatarMenu="matMenu" yPosition="below" panelClass="custom" [overlapTrigger]="false">

    {{'language'|translate}}

      SRP
      ENG

  <button mat-menu-item class="logout" (click)="logout()">
    <mat-icon>power_settings_new</mat-icon>
    {{'logout'|translate}}
  </button>
</mat-menu>

What is the current behavior?
Inspecting HTML tree, no classes were applied to any element, even though panelClass property was set on mat-menu component.
What are the steps to reproduce?
Check the info given above
What is the use-case or motivation for changing an existing behavior?
I want to set position and width of overlay element rendering menu contents.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Linux Mint 18.3
Angular 5.2.8
Angular Material 5.2.3
Typescript 2.7.1
Is there anything else we should know?
I know that people reported similar issue earlier, but there wasn't any viable explanation or solution given to it.

The property on the menu is called panelClass, but the Angular input is actually class (source). Whatever class you set on the mat-menu will be proxied to the overlay.

using the "class" input does the job, but this is still a bug, or at least the API documentation is misleading. This bug should not have been closed imho.

Consider should clearly state in official doc, else people might use "panelClass" and lead to the confusion.

hey all, how do we add custom classes to the mat-menu?
I have: .mat-menu-panel .custom {   background-color: darkgrey;   border-radius: 0px; }  in my global styles file.
And I have <mat-menu #appMenu="matMenu" [class]="custom" [overlapTrigger]="false"> also.
But, the custom styles aren't being applied. Am I doing something wrong? I've also tried to add .cdk-overlay-pane into the global style but that didn't work either.

@Kempo You're supposed to use the class input without square brackets unless you're binding it to a property:
<mat-menu #appMenu="matMenu" class="custom" [overlapTrigger]="false">

</mat-menu>

@Chan4077 Got it. Even without the brackets, the custom styles aren't being applied. Everything else is the same as above.

Sorry if I'm spamming. But does anyone know what I'm doing wrong?
I have the below code in my styles.scss class where I do other global style changes.
.mat-menu-panel .custom {
  background-color: darkgrey;
  border-radius: 0px;
}

And I have my mat-menu html as so:
<mat-menu #appMenu="matMenu" class="custom" [overlapTrigger]="false">

  </mat-menu>

But when the mat-menu is rendered, there still is a border-radius and not a dark grey background and it doesn't look like the .custom class is even being detected or used when I inspect element.

@Kempo you can turn off encapsulation  on your component
@Component({   selector: 'my-navbar',   templateUrl: './navbar.component.html',   styleUrls: ['./navbar.component.scss'],   encapsulation: ViewEncapsulation.None })
but make sure you scope your styles, otherwise, this will affect other components

also this might help you https://material.angular.io/guide/customizing-component-styles

try to use with
::ng-deep .custom {
 //whatever your rules
}

try without space between .mat-menu-panel and .custom
.mat-menu-panel.custom {   background-color: darkgrey;   border-radius: 0px; }

here is how I could override the width of the menu panel:
html
<mat-menu class="dashboard-toolbar-mat-menu-panel">

scss
.dashboard-toolbar-mat-menu-panel {
  max-width: 100% !important;
}

ts
@Component({
  ...
  encapsulation: ViewEncapsulation.None
})

Hello everyone.
Recently, I had the same issues as everybody here but none of your solutions applies to me. Literally none of them.
I also needed to make the menu fixed width but then, I realised that the menu gets width from the content.
So, what you can do, is create an element that is not part of angular material and give that element its width. For example...

  <mat-icon [matMenuTriggerFor]="profileMenu" class="ProfileImage">account_circle</mat-icon>

  <mat-menu #profileMenu="matMenu">

      <mat-icon class="ProfileInfo-user-icon">account_circle</mat-icon>

Some full name

@SomeNickname

    <button (click)="logout()" mat-menu-item>Logout <mat-icon>exit_to_app</mat-icon></button>
  </mat-menu>

So what we have here is a ProfileInfo class that on which you can put the width normally like this
.ProfileInfo { width: 300px } or something like that. That will give the menu its width and <mat-menu-items will follow that width. You don't even have to make it functional, it can be only like
  <mat-menu #profileMenu="matMenu">

  </mat-menu>

and that is it.
On another point, and I don't know if this is going to be of any use to you, you can completely remove material styling by putting [class]="'MyClass'". This will remove the material styling all together and, for example, render a button element natively, depending on the browser you are using, without any styling. If you then do this, [class]="'MyClass mat-menu-item'", it will return the styling of the menu item (or any angular component) but then you are back to the issues of this entire github thread.
Enjoy and I hope this will help someone

Try to set the class on
<mat-menu #profileMenu="matMenu">

instead of the button that trigger the menu ;-)
not sure why this is closed as this is bug int he API ...

@NodeSwapCeo I did but it didn't work. None of the solutions here worked for me.

@crisbeto can you please take a look at this issue? This should not be closed by reports in this thread, as applying the class property is not only misleading in the documentation, but also, it is not working either.

I created a small example in Stackblitz to demonstrate the not working class. Feel free to change it.
https://stackblitz.com/edit/angular-jrdttp

I created a small example in Stackblitz to demonstrate the not working class. Feel free to change it.
https://stackblitz.com/edit/angular-jrdttp

Hi there, I believe I did not understood your issue, kindly have a look in this exemple the background is changed to be red.
https://stackblitz.com/edit/angular-qxzjsr?file=src/app/app.component.html

I am under the impression that the solution anyway shall to use the CDK to build up your own solution.
On my side I gave up to try to hack the style as it was not clean anyway.
Would it be possible using the cdk overlay, like in this article ? https://mentormate.com/blog/create-modal-window-with-angular-cdk/
I did not try myself yet so not sure at all

I created a small example in Stackblitz to demonstrate the not working class. Feel free to change it.
https://stackblitz.com/edit/angular-jrdttp

Someone changed it already to ::ng-deep in the style section. I did not know that this will work fine. I tried only to set the class and give the class. Also, I could not find anything in the documentation that this is the way to go.

Solution :
https://stackblitz.com/edit/angular-p6m8x3?file=src%2Fapp%2Fapp.component.scss

@MyracleDesign I created a small example in Stackblitz too. It's working fine.
https://stackblitz.com/edit/angular-p6m8x3

Really far better and cleaner css than mine!

@MyracleDesign I created a small example in Stackblitz too. It's working fine.
https://stackblitz.com/edit/angular-p6m8x3

Really far better and cleaner css than mine!

That works for backGroundClass but not for class.

If you notice on angular material documentation, input property panelClass is written like this:
@Input('class') panelClass;


Suggestion: Separate page for project cards

This is just a minor suggestion. Would it be better to have a separate pages for both the projects and the members? Currently these are both on the home page and it makes the landing page very long.
My suggestion would be to put a short summary of the project and maybe its goals on the landing page and then have a separate page for the projects and a separate page for the members.

Closed by #23


My module has dependencies. Action fails...

F7History.psd1 includes:
# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @('Microsoft.PowerShell.ConsoleGuiTools', 'PSReadLine')

When I publish locally with
publish-Module -Path .\F7History\ -NuGetApiKey <key>

It works fine. What am i doing wrong?
name: Publish to PowerShell Gallery

on:
  push:
    branches:
      - main

jobs:
  publish:
    runs-on: ubuntu-latest
    # steps:
    #   - name: Check out code
    #     uses: actions/checkout@v2

    steps:
      - name: Check out code
        uses: actions/checkout@v2
      - name: Publish PowerShell
        uses<EMAIL_ADDRESS>        with:
          token: ${{ secrets.F7HISTORY_GALLERY_KEY }}
          target: gallery
          path: src

I've removed all those from my PSD1 file just to work around this issue.

This seems like it might be a bug in PSResourceGet. Looking into it now. @moonwitch, would you mind sharing your .psd1 as well?

@tig Would you mind sharing your full .psd1 as well?

@tig Would you mind sharing your full .psd1 as well?

https://github.com/gui-cs/F7History.

Think I figured it out. Looks like this issue: https://github.com/PowerShell/PSResourceGet/issues/903
Basically, Publish-PSResource uses Test-ModuleManifest, and Test-ModuleManifest fails if the modules in RequiredModules aren't installed, which they most likely would not be on an Actions Runner.
Should be an easy enough fix, hope to have something in the next few days.

`#

Module manifest for module 'Manage-Users'

Generated by: Crabbé Kelly

Generated on: 11/01/2022

@{
Script module or binary module file associated with this manifest.
RootModule        = 'Manage-Users'
Version number of this module.
ModuleVersion     = '1.2'
ID used to uniquely identify this module
GUID              = '754a45ec-24de-4937-8ec4-55ebcbb2a1af'
Author of this module
Author            = 'Crabbé Kelly'
Company or vendor of this module
CompanyName       = 'Lineas NV'
Description of the functionality provided by this module
Description       = 'Various functions to manually remove or add users following our user movement flow.'
Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '5.0'
Modules that must be imported into the global environment prior to importing this module
RequiredModules   = @('ActiveDirectory', 'Microsoft.Graph')
Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData       = @{
PSData = @{
  Tags                       = @('Users', 'JML', 'Leaver', 'user-out')
  #ExternalModuleDependencies = @('ActiveDirectory')

  # A URL to the main website for this project.
  # ProjectUri = ''

  # A URL to an icon representing this module.
  # IconUri = ''

  # ReleaseNotes of this module
  # ReleaseNotes = ''

} # End of PSData hashtable

} # End of PrivateData hashtable
HelpInfo URI of this module
HelpInfoURI = ''
Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
DefaultCommandPrefix = ''
}
`

Okay, @tig and @moonwitch this should have been fixed by #17.
I added tests for packages with dependencies, which failed at first, and I then updated to bypass Test-ModuleManifest for modules with dependencies. Those test packages now deploy.
Give it a shot with the new v1.1.0 and let me know!

I did, however, I now get a different error. Will poke around some more though.

That looks like an auth issue to GitHub packages. Assuming you are authing using GITHUB_TOKEN, if that's an existing package, make sure you've granted your repo access via the Actions settings in the package's settings.

I'm going to assume this issue is resolved now based upon my own testing and close this issue, but if you are still seeing problems, please let me know!


Move temporary output file changes to /src

Finish migrating everything to the grunt build pipeline.

Done.


Add machinery for running docker-compose in pytest

This picks up the idea in #1507, integrates with https://github.com/wellcometrust/dockerfiles/pull/16, and allows us to run containers alongside our Lambda tests (if you so wish).

I think this is ready for review; in particular I’d like @kenoir and @alicefuzier to look and check they think they could write new docker-compose tests with this setup.


Add Java Hotspot error log helpers

Regexes for native frames, siginfo, container info, and vm info.
Error file location helper.

Awesome, looks good


Item with icon stackable - Content text align

https://taskman.eionet.europa.eu/issues/152988

@eea-jenkins build storybook

@tarantilis I'm closing the pull request, we don't need a real text align we need the text and icon centered and that is accomplished quicker with one line of CSS


Polish

Catch the KeyboardInterrupt exception when exiting the serve command

As we figured out in the call this morning, we don't have to do this ourselves, uvicorn catches KeyboardInterrupt exceptions. Sorry for the hassle!


add icons required for bynder integration

💬 Description
Adds two icons we require for the Bynder link in finder.
🔗 Links
https://trello.com/c/jcjGTVDk/2727-replace-files-media-with-direct-link-to-associated-bynder-account

 Replace Files & media with direct link to associated Bynder account


Remove linebreaks from long error messages

Fixes balderdashy/sails#4737

Changing content of error messages will break tests that have expectations of a certain response/error.
This PR will add a non-zero amount of work, for what I can only interpret as a cosmetic change. Just my 2c though.


Artifacts get lost, when re-running old workflows

Description
I just tried to re-run a job that was executed 2 weeks ago. We have set ARTIFACT_RETENTION_DAYS = 7 in the actions section.
The build job actually says that artifact upload is succesful. But the next job, that tries to fetch the artifact fails:
Total number of files that will be downloaded: 540
A 500 response code has been received while attempting to download an artifact
Exponential backoff for retry #1. Waiting for 5[4](https://HIDDEN/actions/runs/860/jobs/1#jobstep-1-4)75 milliseconds before continuing the download
A 500 response code has been received while attempting to download an artifact
Exponential backoff for retry #1. Waiting for [5](https://HIDDEN/actions/runs/860/jobs/1#jobstep-1-5)482 milliseconds before continuing the download

I also tried downloading the artifact manually and get the error:

artifact not found

I also tried to delete the artifact manually in the web interface.  This also returns a 200 code for the DELETE request. However the artifact does not disappear.
Here a part of the response from the artifacts GET request after the deletion attempt:
{
    "artifacts": [
        {
            "name": "Bin.Unprotected",
            "size": 80032963,
            "status": "expired"
        }
    ]
}

Gitea Version
1.22.3
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
MySQL/MariaDB

We should improve the CreateArtifact function to support updating uploaded artifacts when re-running a job.
https://github.com/go-gitea/gitea/blob/5242e520c499bf72ec21a8df2dbdee825f98ed78/models/actions/artifact.go#L57-L82


Add toContainAllEntries matcher

What
Add toContainAllEntries matcher

Why
Closes #19

Notes
Housekeeping

[x] Unit tests
[x] Documentation is up to date
[x] No additional lint warnings
[x] Add yourself to contributors list (yarn contributor)

Codecov Report

Merging #70 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #70   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          19     21    +2
  Lines          85     96   +11
  Branches       11     14    +3
=====================================
+ Hits           85     96   +11

Impacted Files
Coverage Δ

src/matchers/toContainAllEntries/predicate.js
100% <100%> (ø)

src/matchers/toContainAllEntries/index.js
100% <100%> (ø)

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 0f085dc...4d1ca43. Read the comment docs.


Add macOS support

I'd like to have a go at this, though I'm a bit of a noob at Rust (used to do a lot of C++...). Any tips?

Or has this library been superseded by something else?

Hello and thanks for your reply! I ported this library for another (currently abandoned) project. But it seems useful to someone, as it continues to be downloaded on crates.io :)
If you want to implement support for macOS, you can start from the original QStandardPaths and port the appropriate part of the code. I used version 5.x, but I think you can start with version 6.x.


How to increase the size of the main container?

I like this template and thinking to use it for my blog, but I found the main container to be a bit small in width, I tried to modify the theme without success, like "main-container" in the _mixins.scss file.
It looks like the right and left limits are limited by the main container size? would make more sense if the left and right column (just like the main container) will fill the empty spaces in the left and right in order to resize the contents to the browsers dimensions, not sure if I'm explaining correctly but there's an example of these "empty spaces"

The container width is set based on optimal line length and is not currently adjustable. Filling the screen will actually lead to UX problems on larger screens without being careful. At this point, I have no plans to change this on the theme.
In the future, please use the discussions tab for questions to keep issues reserved for verified issues or feature requestions.


make test for this somehow

main purpose of this code is to get every input field by the user and grab everything that is inside it and put them in a nice serialized format so we can pass it to the backend.
we have this implementation in the main code but this is it pulled out and made simpler so i can try and write tests for this. (somehow)

Assigned @Sai-Pappu

Additionally assigned @HFajardo


assoc bypasses validators ?

I was surprised by the following:
from attr import assoc, attr, attributes
from attr.validators import instance_of

@attributes
class Foo(object):
    a = attr(validator=instance_of(int))

foo = Foo(1)
try:
    foo = Foo("1")
except TypeError:
    pass
else:
    raise ValueError()

try:
    foo2 = assoc(foo, a="1")
except TypeError:
    pass
else:
    raise ValueError("Could set Foo.a to a string value")

I would expect new instances set through assoc to go through validators. Is this a bug, or is it expected ?

Yeah assoc has a design problem so we're replacing it with attr.evolve.  Check the CHANGELOG for PRs/issues.  Mainly #135


fix(HACBS-1755) add fixed opm version from gh repo

Including fixed version of OPM from verified source.
Version : v1.26.3

We should probably call it pinned version.
I'm not happy about pinning it without possibility to bump version automatically when there is a new bugfix release, but probably we cannot do it better.


Please add support for Local AIs

Lot of local AI is using OpenAI standard connection (Ollama has their own implementation). It will be amazing to add support to add custom url for local AI.
You can steal code from https://github.com/logancyang/obsidian-copilot. There is already implementation for:

OpenAI
Azure
Google
Anthropic
OpenRouter
Groq
Cohere
Third-party models with OpenAI-compatible APIs via Custom Model

The OpenAI API is supported with any endpoint. Now working with Ollama https://github.com/TfTHacker/obsidian-ai-templater/issues/2#issuecomment-2260331311
Just set the endpoint in settings or JavaScript in the template.


Froyo not avaliable [BUG]

Checklist / 检查清单

[X] No one has submitted a similar or identical bug report before. / 之前没有人提交过类似或相同的 bug report。
[x] I'm using the latest version of Easter Eggs. / 我正在使用 Easter Eggs 的最新版本。

Easter Eggs version / Easter Eggs 版本
v2.4.1
Bug description / Bug 描述
It will not let me do froyo easter egg
Expected behavior / 预期行为
It letting me do froyo easter egg
Actual behavior / 实际行为
Showed the logo, I think 🐱, 🚫, and 🥚
Steps to reproduce / 复现步骤
Open the app, pick froyo.
UI / OS
OneUI 6.0
Android Version / Android 版本
14
Additional info / 额外信息
No response

🤖🚫🥚
This Android version didn't have eggs before


Lp 567/feat/policy based permissions

This will be a simple smart contract approach to policy based permission. This is to demonstrate what is possible to developers.  The new method checks a contract based on the newPermissionPolicyI.sol interface.

Codecov Report

Merging #106 into master will increase coverage by 0.23%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
+ Coverage   96.33%   96.56%   +0.23%
==========================================
  Files           7        8       +1
  Lines         191      204      +13
  Branches       44       48       +4
==========================================
+ Hits          184      197      +13
  Misses          7        7

Impacted Files
Coverage Δ

contracts/mock/IrisScoreProviderMock.sol
100% <ø> (ø)
:arrow_up:

contracts/LinniaPermissions.sol
98.14% <100%> (+0.37%)
:arrow_up:

contracts/mock/PermissionPolicyMock.sol
100% <100%> (ø)

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 dfe169c...bac3bb0. Read the comment docs.

I will implement Record based policies in a separate PR


Optional suite results in xunit format so results can be viewed with other pipeline tests

The current poll function just outputs the results.data.data.passing and shows whether the overall pass result was true or false.

Ghost Inspector doesnt output whether it was 1 test or 100 tests that failed!

Add an optional 'xUnit path' parameter that will make a final API call to retrieve the suite results in xUnit format so they can be published and viewed with other pipeline test results.
The API to retrieve the results in xunit format already exists.
${this.suiteResultsBaseUrl}/${suiteResultId}/xunit/?apiKey=
Add an (optional) final call after getting the suite results to get the xunit report, and save it to a specified path that can be set via task parameter.
We can then use the built in 'Publish test results' task to publish and view the test results in the pipeline.
task.json
  "inputs": [
    {
      "name": "resultPath",
      "type": "string",
      "label": "Result Path",
      "defaultValue": "$(Common.TestResultsDirectory)",
      "required": false,
      "helpMarkDown": "Path to save test suite result report (xUnit v2 format)."
    },

index.ts (bottom of file just before return.results)
const safeUrl = `${this.suiteResultsBaseUrl}/${suiteResultId}/xunit/?apiKey=`
const resultsUrl = `${safeUrl}${this.request.apiKey}`
console.log('Getting xunit report', `${safeUrl}***`)
const report = await axios.get(resultsUrl)
// additional code to save report to specified path

Hi @mikejonestechno, we've just published version 1.1.0 that should address this for you, thanks for your patience! Would you be willing to give it a test run to make sure it's working as expected?


fix(TFD-3888): Rename the kinesis icon.

What is the current behavior? (You can also link to an open issue here)
Rename the Kinesis icon.
What is the new behavior?
The Kinesis icon is renamed.
Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results


reverse_a_linked_list

Made a pull request for reversing a linked list in C++.

Do the tasks assigned and follow the naming conventions.


Video doesn't work in MPC-HC for some twitch streams unless --player-passthrough is used

With some streams I consistently only get audio in MPC-HC unless I use --player-passthrough hls,http,rtmp (I didn't check which of the three is required). Going to the video properties in MPC-HC shows that there's no video at all when this happens. I've had this since forever, but never with anyone who streams regularly, so I wasn't sure whether to report it. However, I get this on www.twitch.tv/furiouspaul, and he streams fairly often, so I figured now was the time.
I don't know whether this is related to certain codecs or certain settings. I've also noticed that video doesn't always start on some other streams, but it usually works when I try again, so there may be some race condition that some streams consistently lose. Or that may be a different bug.
I'm using the latest nightly of livestreamer and MPC-HC, but this is not a recent regression. Let me know if there's any logging I can enable to help debug.

This is a known issue (#346), it seems to be caused by badly muxed streams from Twitch, but since only MPC-HC is affected I don't consider it a Livestreamer bug.

Ah, thank you.


Fix hostapd's place in systemd dependency tree.

after clause:

Remove unrelated services. They don't need to be there for a link-level service
Only retain sys-subsystem-net-devices-${if}.device as this is only what hostapd needs

requiredBy clause:

Add hostapd as a requirement for the ${if} link to be brought up.

wantedBy clause:

Remove general network.target, as this is already implied from dependencies
stacked above hostapd. And if it's not implied than starting hostapd is not required
for this particular network configuration.

Motivation for this change
bridge setup races with hostapd, and if it wins, the bridge fails to start, see:  https://github.com/NixOS/nixpkgs/issues/16090
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Fits CONTRIBUTING.md.

@qknight could you check if this fixes your bridge problems that you posted in https://github.com/NixOS/nixpkgs/issues/16090 ?

@clefru your patch does not work here
probosed solution
merge our patches as this:
-         wantedBy = [ "network.target" ];
-￼         after = [ "${cfg.interface}-cfg.service" "nat.service" "bind.service" "dhcpd.service" "sys-subsystem-net-devices-${cfg.interface}.device" ];
+         after = [ "sys-subsystem-net-devices-${cfg.interface}.device" ];
￼+         requiredBy = [ "network-link-${cfg.interface}.service" ];

i've tried with requires instead of after but it failed. i also tried requriedBy instead of after which also fails. so both might be wrong here.
these configs seem to use a combination of after and bindTo, see:

https://unix.stackexchange.com/questions/401533/making-hostapd-work-with-systemd-networkd-using-a-bridge
https://bbs.archlinux.org/viewtopic.php?id=154846
https://github.com/RedPitaya/RedPitaya/blob/master/OS/debian/overlay/etc/systemd/system/hostapd%40.service

with only your patch
patch:
-        wantedBy = [ "network.target" ];
￼
-￼         after = [ "${cfg.interface}-cfg.service" "nat.service" "bind.service" "dhcpd.service" "sys-subsystem-net-devices-${cfg.interface}.device" ];
+￼         bindsTo = [ "sys-subsystem-net-devices-${cfg.interface}.device" ];
￼+         requiredBy = [ "network-link-${cfg.interface}.service" ];

outcome:
...
[  OK  ] Reached target Basic System.
Starting Link configuration of enp1s0...
Starting NTP Daemon...
Starting Name Service Cache Daemon...
Starting Address configuration of enp1s0...
Starting Cron Daemon...
[  OK  ] Started hostapd wireless AP.
Starting Kernel Auditing...
[  OK  ] Started nixcloud.monitoring rule up… timer for mail.lastlog.de-BACKUP.
[  OK  ] Started Kernel Log Daemon.
[  OK  ] Started nixcloud.monitoring rule upload timer for apu-nixi-BACKUP.
[  OK  ] Reached target Timers.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Link configuration of enp1s0.
[  OK  ] Started Address configuration of enp1s0.
[  OK  ] Started Cron Daemon.
[  OK  ] Started Kernel Auditing.
[  OK  ] Started NTP Daemon.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Name Service Cache Daemon.
[  OK  ] Reached target User and Group Name Lookups.
Starting Login Service...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Stopped hostapd wireless AP.
[  OK  ] Started hostapd wireless AP.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Found device QCA986x/988x 802.11ac Wireless Network Adapter.
[  OK  ] Started Login Service.
Starting Link configuration of wlp4s0...
Starting Address configuration of wlp4s0...
Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Address configuration of wlp4s0.
[  OK  ] Stopped hostapd wireless AP.
[  OK  ] Started hostapd wireless AP.
[  OK  ] Started Link configuration of wlp4s0.
Starting Bridge Interface br0...
[  OK  ] Reached target All Network Interfaces (deprecated).
[  OK  ] Started Bridge Interface br0.
Starting Networking Setup...
[  OK  ] Started Networking Setup
...
journalctl -u hostapd

-- Reboot --
Sep 28 14:34:49 apu-nixi systemd[1]: Started hostapd wireless AP.
Sep 28 14:34:49 apu-nixi hostapd[731]: Configuration file: /nix/store/n44xdhcw27a4g5lyvkw292bpfbncayzd-hostapd.conf
Sep 28 14:34:49 apu-nixi hostapd[731]: Could not read interface wlp4s0 flags: No such device
Sep 28 14:34:49 apu-nixi hostapd[731]: nl80211: Driver does not support authentication/association or connect commands
Sep 28 14:34:49 apu-nixi hostapd[731]: nl80211: deinit ifname=wlp4s0 disabled_11b_rates=0
Sep 28 14:34:49 apu-nixi hostapd[731]: Could not read interface wlp4s0 flags: No such device
Sep 28 14:34:49 apu-nixi hostapd[731]: nl80211 driver initialization failed.
Sep 28 14:34:49 apu-nixi hostapd[731]: wlp4s0: interface state UNINITIALIZED->DISABLED
Sep 28 14:34:49 apu-nixi hostapd[731]: wlp4s0: AP-DISABLED
Sep 28 14:34:49 apu-nixi hostapd[731]: hostapd_free_hapd_data: Interface wlp4s0 wasn't started
Sep 28 14:34:49 apu-nixi systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 14:34:49 apu-nixi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Sep 28 14:34:49 apu-nixi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Sep 28 14:34:49 apu-nixi systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 1.
Sep 28 14:34:49 apu-nixi systemd[1]: Stopped hostapd wireless AP.
Sep 28 14:34:49 apu-nixi systemd[1]: Started hostapd wireless AP.
Sep 28 14:34:49 apu-nixi hostapd[784]: Configuration file: /nix/store/n44xdhcw27a4g5lyvkw292bpfbncayzd-hostapd.conf
Sep 28 14:34:49 apu-nixi hostapd[784]: Could not read interface wlp4s0 flags: No such device
Sep 28 14:34:49 apu-nixi hostapd[784]: nl80211: Driver does not support authentication/association or connect commands
Sep 28 14:34:49 apu-nixi hostapd[784]: nl80211: deinit ifname=wlp4s0 disabled_11b_rates=0
Sep 28 14:34:49 apu-nixi hostapd[784]: Could not read interface wlp4s0 flags: No such device
Sep 28 14:34:49 apu-nixi hostapd[784]: nl80211 driver initialization failed.
Sep 28 14:34:49 apu-nixi hostapd[784]: wlp4s0: interface state UNINITIALIZED->DISABLED
Sep 28 14:34:49 apu-nixi hostapd[784]: wlp4s0: AP-DISABLED
Sep 28 14:34:49 apu-nixi hostapd[784]: hostapd_free_hapd_data: Interface wlp4s0 wasn't started
Sep 28 14:34:54 apu-nixi systemd[1]: hostapd.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 14:34:54 apu-nixi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Sep 28 14:34:55 apu-nixi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Sep 28 14:34:55 apu-nixi systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2.
Sep 28 14:34:55 apu-nixi systemd[1]: Stopped hostapd wireless AP.
Sep 28 14:34:55 apu-nixi systemd[1]: Started hostapd wireless AP.
Sep 28 14:34:55 apu-nixi hostapd[816]: Configuration file: /nix/store/n44xdhcw27a4g5lyvkw292bpfbncayzd-hostapd.conf
Sep 28 14:34:57 apu-nixi hostapd[816]: Using interface wlp4s0 with hwaddr 04:f0:21:1b:60:cb and ssid "flux"
Sep 28 14:34:57 apu-nixi hostapd[816]: random: Only 8/20 bytes of strong random data available from /dev/random
Sep 28 14:34:57 apu-nixi hostapd[816]: random: Not enough entropy pool available for secure operations
Sep 28 14:34:57 apu-nixi hostapd[816]: WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
Sep 28 14:34:57 apu-nixi hostapd[816]: wlp4s0: interface state UNINITIALIZED->ENABLED
Sep 28 14:34:57 apu-nixi hostapd[816]: wlp4s0: AP-ENABLED
Sep 28 14:35:06 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:35:06 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:35:06 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:35:06 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:35:06 apu-nixi hostapd[816]: random: Cannot read from /dev/random: Resource temporarily unavailable
Sep 28 14:35:06 apu-nixi hostapd[816]: random: Only 8/20 bytes of strong random data available from /dev/random
Sep 28 14:35:06 apu-nixi hostapd[816]: random: Not enough entropy pool available for secure operations
Sep 28 14:35:06 apu-nixi hostapd[816]: WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake
Sep 28 14:35:11 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: deauthenticated due to local deauth request
Sep 28 14:35:11 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: deauthenticated due to local deauth request
Sep 28 14:35:21 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:35:21 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:35:21 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:35:21 apu-nixi hostapd[816]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:35:21 apu-nixi hostapd[816]: random: Cannot read from /dev/random: Resource temporarily unavailable
Sep 28 14:35:21 apu-nixi hostapd[816]: random: Only 8/20 bytes of strong random data available from /dev/random
...
then it works

# with our patches combined

patch:

   wantedBy = [ "network.target" ];

￼
-￼          after = [ "${cfg.interface}-cfg.service" "nat.service" "bind.service" "dhcpd.service" "sys-subsystem-net-devices-${cfg.interface}.device" ];

    after = [ "sys-subsystem-net-devices-${cfg.interface}.device" ];

￼+         requiredBy = [ "network-link-${cfg.interface}.service" ];

boot log:

[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Found device I210 Gigabit Network Connection.
[  OK  ] Started Cron Daemon.
Starting Address configuration of enp1s0...
Starting Link configuration of enp1s0...
[  OK  ] Started Kernel Auditing.
[  OK  ] Started NTP Daemon.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Address configuration of enp1s0.
[  OK  ] Started Link configuration of enp1s0.
[  OK  ] Started Name Service Cache Daemon.
[  OK  ] Reached target User and Group Name Lookups.
Starting Login Service...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Found device QCA986x/988x 802.11ac Wireless Network Adapter.
[  OK  ] Started Login Service.
Starting Load/Save RF Kill Switch Status...
Starting Link configuration of wlp4s0...
Starting Address configuration of wlp4s0...
[  OK  ] Started hostapd wireless AP.
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Address configuration of wlp4s0.
[  OK  ] Started Link configuration of wlp4s0.
Starting Bridge Interface br0...
[  OK  ] Reached target All Network Interfaces (deprecated).
[  OK  ] Started Bridge Interface br0.
Starting Networking Setup...

journalctl -u hostapd

-- Reboot --
Sep 28 14:39:43 apu-nixi systemd[1]: Started hostapd wireless AP.
Sep 28 14:39:43 apu-nixi hostapd[798]: Configuration file: /nix/store/n44xdhcw27a4g5lyvkw292bpfbncayzd-hostapd.conf
Sep 28 14:39:46 apu-nixi hostapd[798]: Using interface wlp4s0 with hwaddr 04:f0:21:1b:60:cb and ssid "flux"
Sep 28 14:39:46 apu-nixi hostapd[798]: random: Only 6/20 bytes of strong random data available from /dev/random
Sep 28 14:39:46 apu-nixi hostapd[798]: random: Not enough entropy pool available for secure operations
Sep 28 14:39:46 apu-nixi hostapd[798]: WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
Sep 28 14:39:46 apu-nixi hostapd[798]: wlp4s0: interface state UNINITIALIZED->ENABLED
Sep 28 14:39:46 apu-nixi hostapd[798]: wlp4s0: AP-ENABLED
Sep 28 14:39:54 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:39:54 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:39:54 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:39:54 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:39:54 apu-nixi hostapd[798]: random: Cannot read from /dev/random: Resource temporarily unavailable
Sep 28 14:39:54 apu-nixi hostapd[798]: random: Only 6/20 bytes of strong random data available from /dev/random
Sep 28 14:39:54 apu-nixi hostapd[798]: random: Not enough entropy pool available for secure operations
Sep 28 14:39:54 apu-nixi hostapd[798]: WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake
Sep 28 14:39:59 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: deauthenticated due to local deauth request
Sep 28 14:39:59 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: deauthenticated due to local deauth request
Sep 28 14:40:07 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:40:07 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:40:07 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:40:07 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:40:07 apu-nixi hostapd[798]: random: Cannot read from /dev/random: Resource temporarily unavailable
Sep 28 14:40:07 apu-nixi hostapd[798]: random: Only 6/20 bytes of strong random data available from /dev/random
Sep 28 14:40:07 apu-nixi hostapd[798]: random: Not enough entropy pool available for secure operations
Sep 28 14:40:07 apu-nixi hostapd[798]: WPA: Not enough entropy in random pool to proceed - reject first 4-way handshake
Sep 28 14:40:12 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: deauthenticated due to local deauth request
Sep 28 14:40:12 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: deauthenticated due to local deauth request
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: authenticated
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 IEEE 802.11: associated (aid 1)
Sep 28 14:40:32 apu-nixi hostapd[798]: random: Cannot read from /dev/random: Resource temporarily unavailable
Sep 28 14:40:32 apu-nixi hostapd[798]: random: Only 12/20 bytes of strong random data available from /dev/random
Sep 28 14:40:32 apu-nixi hostapd[798]: random: Allow operation to proceed based on internal entropy
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: AP-STA-CONNECTED 3c:a9:f4:18:fe:08
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 RADIUS: starting accounting session 4D390B8406A0049D
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 WPA: pairwise key handshake completed (WPA)
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 RADIUS: starting accounting session 4D390B8406A0049D
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 WPA: pairwise key handshake completed (WPA)
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 WPA: group key handshake completed (WPA)
Sep 28 14:40:32 apu-nixi hostapd[798]: wlp4s0: STA 3c:a9:f4:18:fe:08 WPA: group key handshake completed (WPA)

@qknight I have updated the PR as you suggested (retaining the after clause). Thanks for you analysis. (Also I reread the systemd.unit manpage, and my assertation above that "BindsTo" effects subsume those of "after" is wrong, hence it's still needed)

@clefru ok, when you think the PR is ready i evaluate it once more, then we merge

@qknight Please re-evaluate the PR as I updated it with your suggestions. Thank you!


Overlapping #239

fixed #239 by taking x and y coordinates from actual layout item instead of using drag event data

also fixed #245


Paused on promise rejection: 'Failed to execute 'fetch' on 'Window': 1 argument required, but only 0 present.'

OS?

Mac OSX 10.11.6 (El Capitan)

Versions.

$ ng --version
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.14
node: 5.10.1
os: darwin x64

Repro steps.

Create a new project (ng new) and run it (ng serve). Open it with the Chrome inspector open.
This blocks loading on every refresh, which is quite annoying.

The log given by the failure.

Paused on promise rejection: 'Failed to execute 'fetch' on 'Window': 1 argument required, but only 0 present.'

I can't seem to repro this myself. On a new project, I started ng serve, opened Chrome, pressed F12 to have the inspector, put http://localhost:4200/ on the address bar and pressed enter. App loaded and debugger did not pause, no console errors either.
Am I missing a step here?

I am also getting this error after updating to angular 2.0.0

@rubenv -- are you seeing this after the upgrade to beta.15?
@onkark -- what version of Angular CLI?

@JanStureNielsen -- I think is error may be not relevant to angular CLI. I am not using angular CLI.
This may be related angular 2 loading

OK, @onkark -- but this repository is for bugs and features in Angular CLI. For support, please use StackOverflow.
I suspect both of you have dependency issues which are likely resolved in beta.15. Try creating a new project with beta.15 and compare dependencies, or ng init your existing project with beta.15 and look at the diffs...

@rubenv - i also see this error. this issue relates to zone.js (Failed to execute 'fetch' on 'Window').
btw, this exception does appear to be getting caught.
afaik it doesnt have any implications on my angular2 app.
@filipesilva - make sure you have "Pause On Exceptions" ticked in devtools.

Yup, this is indeed https://github.com/angular/zone.js/issues/446
Closing this one, it's a duplicate.


API and Server issue (installation) - fix

Hello, very cool your project.
I had a problem when installing with the server and the API, the correction used was:
In the folder "cms-api" the file "package.json" creates an API with "version: 1.0.0" and in "package-lock.json" also:
package.json:
{
   "name": "@ angular-cms / api",
   "version": "1.0.0",
...

package-lock.json:
{
   "name": "@ angular-cms / api",
   "version": "1.0.0",
...

However, in the server folder, "cms-server" is:
package.json:
"dependencies": {
     "@angular-cms/api": "0.0.1",
...

package-lock.json:
{
   "name": "cms-server",
   "version": "0.0.1",
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {
     "@ angular-cms / api": {
       "version": "0.0.1"
...

And the change I made was in the "cms-api" folder, putting the API version as 0.0.1 in "package.json" and "package-lock.json", like this:
package.json:
{
   "name": "@ angular-cms / api",
   "version": "0.0.1",
...

package-lock.json:
{
   "name": "@ angular-cms / api",
   "version": "0.0.1",
...

Your project is very cool!

I made a pull request with the changes I made to a feature branch (feature / correction-api-version) comparing it to dev, I also changed README.md, adding a command.

Hi @GuilhermeHdAS
First of all, thank you so much for your comments.
I'm actually happy with your interesting for my project. Basically, this project still is working on progress and has not any release yet. For now, it has a lot of issue, major tasks which need to done. I hope I can make a first release in the end of this year. (The promise by me :)). In first release, we will have the document, demo site and offical AngularCms site.
Keep your eyes on this project and feel free to make the pull request for new features, issues...
If you have any question about this project, send me a mail to<EMAIL_ADDRESS>Thanks
/Hung.dang

Merged your pull request, thanks

Hi @danghung1202
Thank you for accepting the pull request and it is an honor to be able to collaborate on this project.
A lot of success for you!


Software Issue for Violin Density Plots

We were experiencing technical difficulties in saving Altair violin plots in PNG/SVG format. Tiffany and I are still troubleshooting this issue. We temporarily used box plots in Milestone 2 report after discussing with Tiffany. We will change this to a violin density plot as soon as we have this software issue resolved.

The violin plot issue is resolved. Closing this issue.


Composer locks due to psr/log dependency version

I get a composer error while trying to require resquebundle/resque which uses chrisboulton/php-resque
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: psr/log[1.0.2, 1.0.0].
    - Can only install one of: psr/log[1.0.0, 1.0.2].
    - Can only install one of: psr/log[1.0.0, 1.0.2].
    - chrisboulton/php-resque dev-master requires psr/log 1.0.0 -> satisfiable by psr/log[1.0.0].
    - resquebundle/resque dev-master requires chrisboulton/php-resque dev-master -> satisfiable by chrisboulton/php-resque[dev-master].
    - Installation request for resquebundle/resque dev-master -> satisfiable by resquebundle/resque[dev-master].
    - Installation request for psr/log (locked at 1.0.2) -> satisfiable by psr/log[1.0.2].

This is resulted because I already have a package which uses psr/log 1.0.2 and chrisboulton/php-resque uses psr/log 1.0.0.. can you guys change it to "~1.0"?
Because else - this requires me to lock my composer.json to 1.0.
Thanks in advance,
Din.

This should be solved with da25ae1, no?

Yup.. Opened both an issue and a merge request..

If an issue is resolved, it's probably a good idea to close it. Please?


Docs missing type

closes #1930
closes #1965

Coverage remained the same at 79.117% when pulling 5aac99a8b0f81f2274e2795d0012f57a6fe401e9 on abemassry:docs-missing-type into 95195149d1a6ab3117def53d05abd8de91061612 on linode:develop.

Coverage remained the same at 79.117% when pulling 4f04d9ab5c5ce0626c8fd26864bc79790ec8e164 on abemassry:docs-missing-type into 95195149d1a6ab3117def53d05abd8de91061612 on linode:develop.

Coverage remained the same at 79.117% when pulling 56d6ae6a27d6e127d982985faf427e5452486e65 on abemassry:docs-missing-type into d70b22f459c2e9de11671cf5d1080424467fefbc on linode:develop.


1.1.0 is broken

I encountered an error related to Python's incompatibility with the aiohttp library. I attempted to resolve it by using Python versions 11 and 12 along with various versions of the library, but unfortunately, it didn't resolve the issue.
https://github.com/aio-libs/aiohttp/issues/7739#issuecomment-1773868351

+1


Fix for the duplicate audit log hash problem

I think you should make it so that AuditLogEntry has a DocumentFormat on it, which it uses to decide how the hash should be calculated.
AuditLogEntry.ChangeDocumentFormat(DocumentFormat newFormat) would return a new AuditLogEntry whose parent has also had its format changed, and has the hash calculated in the manner appropriate for that format.
So, then, instead of having to pass the DocumentFormat up using XmlTextWriterWithState you would just be calling WriteXml on an object which already knew what format it was supposed to be.

I created an issue to track the suggested fix: https://skyline.ms/issues/home/issues/details.view?issueId=765

These changes have been rolled into #1385 which has been merged to master.

These changes have been rolled into #1385 which has been merged to master.


Make the repo cache size configurable

And lower the size of the volume to 10Gi in prod so that we can add one more worker for long running tasks.

Remove the last commit which requested an additional worker in prod for long running tasks. This was also reverted on the deployment.
Please merge this PR if you think it's still relevant, or let me know if there is anything else that would need to be changed.


Allow control over dynamic where equality operators

In the current implementation of sqlpp, the add function on dynamic where statements chain together expressions with AND only. This merge request allows more control over dynamic where so that OR or AND may be used.

Thanks for your pull request!
I am curious: Are you aware of sqlpp::boolean_expression? It also allows you to dynamically construct an expression. And it will allow you to get braces right.

No I am not! Thank you for pointing me at this. I have perhaps fallen victim to the docs! I'll have a look and see if constructing a sqlpp::boolean_expression works for my case later today. If so, I'll close this PR and submit a wiki PR instead.

A wiki PR would be great :-)

It certainly appears that chaining together sqlpp::boolean_expression will be fine for my use case. This PR is indeed entirely redundant. When I have a chance I'll try to figure out how to make a wiki PR and document a few examples.

Thanks for the feedback. I am looking forward to for wiki PR (not sure how that works either, feel free to send me some markdown).


Failed to deploy

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp deployment source config-zip
Errors:
HTTPSConnectionPool(host='ptsg4crbrwb01.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
Traceback (most recent call last):
pip-unpacked-wheel-nmdz9lpd\urllib3\contrib\pyopenssl.py, ln 472, in wrap_socket
Temp\pip-unpacked-wheel-rdjxxv4b\OpenSSL\SSL.py, ln 1915, in do_handshake
...

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp deployment source config-zip --resource-group {} --name {} --src {}

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.10.1

Additional Context

route to CXP team

Is this because of not using a multi-tenant setting?

@niejam Can you please upgrade to the latest version of azure CLI 2.42.0 and retry?

/unresolve


Debug data issues in 2009-2010 EIA860 ETL

ETL almost works for EIA 860, but the transform step is failing. Several things probably need to be fixed.  The ones we know about:

[x] primary_purpose_naics_id contains null values, and so needs to be Int64 not int.
[ ] Entity harvesting fails: Harvesting of iso_rto_name is too inconsistent at 0.935.

@swinter2011 were there any other data related issues that you encountered when you were testing the 2009-2010 EIA860 ETL? I feel like you mentioned them somewhere but... I don't know where that is.


[Bug] Select should choose Point and LineString over Polygon

Describe the bug
If you draw some points and then draw a polygon over those points (or vice versa), it is impossible to then select the points.
Terra Draw npm version
alpha.68
To Reproduce
Steps to reproduce the behavior:

Go to terradraw.io
Draw some points and a polygon over the top
Try to select the points

Expected behavior
I would expect that when clicking exactly on a point that it is the point that is selected. Similar for linestring.
Screenshots
scrnli_03_07_2024_03-40-49.webm

I did a little playing around and although not perfect, I think an improvement is to check the type of features in featuresAtMouseEvent in select.mode.ts and prioritise Point then LineString then Polygon.

Hey @ScottEAdams thanks for raising this. I think you are right here in that the points should be selectable as they are layered on top of (z-indexed) above the polygon. I think I know what the problem is which is basically when we loop through the closest geometries, if the click is inside the polygon it always gets considered the 'closest' geometry. I will eventually look at fixing this when I get a moment. Let me know if you have any questions.

This is fixed in the main branch and will come out in the next release!


move eager initialization of PgVectorStore from afterPropertiesSet to ApplicationListener<ApplicationReadyEvent>

at the moment there is initialization done on every run of PgVectorStore, which delays the startup time significantly. (more than double my normal startup time)
It would be good to:
a) make this an opt-in, as it is in Spring Modulith, Spring Session, Spring Batch, Spring Integration, Spring Session, etc.
b) move it to a later point in the Spring Boot application lifecycle, like ApplicationListener<ApplicatinoReadyEvent>, instead of afterPropertiesReady. this way, it'll happen after the boot app has reported its startup time

This was fixed with the introduction of initialize-schema true option recently merged


Add the stuff from Type Lumina

This is a checklist mostly so I know what I plan to add in a PR

Add the new Necos (Possibly make transformation items as well)

Neco-Ciel
Neco-Akiha
Neco-Kohaku
Neco-Hisui

Add some of Neco Arc's moves

Oh God I'm adding a phone AND a gacha game to Minecraft
Laser Eyes
Become a rocket
More idk
Let you travel to alternate timelines

laser eyes and rocket are already in btw

Oh dam nice

Yeah, neco arc’s phone/summons are definitely important imo. Probably add each of the apps she uses in type lumina. I also think the implementation of FGO should be special, spending emeralds to get mapo tofu, curry, and black keys, with a chance of summoning artoria/mash as mobs to help you out.

I'm gonna have a field day making the models for the needed servants

I bet they’ll look great! This mod has a ton of potential, I really hope it’ll succeed.

I'll add the other Necos first before I add the phone as the phone will be relatively difficult for me

Alright that's done a lot is next

Something something bones and swords


feat: prevent pigeon liveness check for non-validators

Related Github tickets

https://github.com/VolumeFi/paloma/issues/643

Background
This change will prevent a liveness check against Pigeon on clients which are not configured against a node on localhost in order to include non-validator CLI users. The liveness check will still be active for validators running CLI commands against their own hosts.
Testing completed

[x] test coverage exists or has been added/updated
[x] tested in a private testnet

Breaking changes

[x] I have checked my code for breaking changes
[x] If there are breaking changes, there is a supporting migration.

@ToasterTheBrave will you please review, approve, merge, and cut a new release that we will be able to ship to cli users?


Added tinkerer to docker file

Fixes #378
My contribution is licensed under the MIT license.

I just went quickly trough the changes. This seems to be still needed (considering the discussed changes in how we want to add blog entries), right?

libxml2 seems to be needed for tinkerer to be working

libxslt1 seems to be required as well

I should have seen this comming, zlib1g is also needed ...