Need help configuring

Should I copy paste that file into the root of my project then add the following?:
PERMISSION_ADDRESS_BOOK      = // PERMISSION_ADDRESS_BOOK
PERMISSION_BLUETOOTH         = // PERMISSION_BLUETOOTH
PERMISSION_CAMERA            = PERMISSION_CAMERA
PERMISSION_CONTACTS          = // PERMISSION_CONTACTS
PERMISSION_EVENTS            = // PERMISSION_EVENTS
PERMISSION_LOCATION          = // PERMISSION_LOCATION
PERMISSION_MICROPHONE        = // PERMISSION_MICROPHONE
PERMISSION_MOTION            = // PERMISSION_MOTION
PERMISSION_NOTIFICATIONS     = PERMISSION_NOTIFICATION
PERMISSION_PHOTOS            = // PERMISSION_PHOTOS
PERMISSION_REMINDERS         = // PERMISSION_REMINDERS
PERMISSION_SPEECH_RECOGNIZER = // PERMISSION_SPEECH_RECOGNIZER
PERMISSION_MEDIA_LIBRARY     = // PERMISSION_MEDIA_LIBRARY

// Do not modify this line. Instead, remove comments above as needed to enable the categories your app uses.
PERMISSION_FLAGS= $(PERMISSION_ADDRESS_BOOK) $(PERMISSION_BLUETOOTH) $(PERMISSION_CAMERA) $(PERMISSION_CONTACTS) $(PERMISSION_EVENTS) $(PERMISSION_LOCATION) $(PERMISSION_MICROPHONE) $(PERMISSION_MOTION) $(PERMISSION_NOTIFICATIONS) $(PERMISSION_PHOTOS) $(PERMISSION_REMINDERS) $(PERMISSION_SPEECH_RECOGNIZER) $(PERMISSION_MEDIA_LIBRARY)

SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) $(PERMISSION_FLAGS)

Right now that file looks like this:
CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Permission
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
PODS_BUILD_DIR = $BUILD_DIR
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES

Thanks in advance!

When I updated pod,I need to Re Config the config file to project,If I don't Re config the config file,the project can't run,the error is .camera or .photos can't find!

You can't configure Permission when using CocoaPods yet. The configuration section on the README only applies for Carthage.

@delba How can I use PermissionFlags.xcconfig in my project?  I need your help!!

May I have your email?I want to send mail to you with some pictures,thanks!

Could you be more specific please ? What issues are you having when following the instructions ?

Sorry my English is poor,I don't known how to use PermissionConfiguration.xcconfig to config in my project,so I need your help,Thanks!

I need a full demo,Thanks!My email is mingmingsuper@gmail.com,If you can make a demo project to me,please send it to my email,thanks!

Sorry, it is too much work to provide individual support with a full demo for each and everyone.
If you have a specific issue when following the instructions, I'm offering to help though.

I following the instructions,But I don't understand how to config the file PermissionConfiguration.xcconfig.

I must re config it like config on that picture when I update pod?

You can't configure Permission when using CocoaPods yet. The configuration section on the README only applies for Carthage.

If I don't config it ,my project comes some errors like the picture below

Can't find photos,camera and other enums in PermissionType!

Now I use swift 3.0+


Adding editable persistent shed_tool_conf.xml & tool_conf.xml through configmaps

xref https://github.com/CloudVE/galaxy-kubernetes/issues/22

I added everything from comments + the new persistence.mountPath + changed /config/editable to /config/writable


Recipe "custom-components" looks strange

http://davidkpiano.github.io/react-redux-form/#/recipe/custom-components
Slider reset to initial value on every checkbox change.

Huh, that's weird. I'm wondering if it's a problem with material-ui itself. I'll take a look.

material-ui does add a lot of 'fluff' to the form elements. I had similar problems with redux-form too.

Redoing the docs and recipes for upcoming v1.0 - I'll reopen if this problem appears again!


Support Maps and Arrays in RecordMappings

TemplatedRecordMapping currently supports Struct objects and scalars, so you can access nested fields within structs to refer to any field we can reasonably convert to a string as part of a channel name or message name. It may be useful to also support Maps and Arrays, as these are supported by Kafka Connect schemas. Conceptually, it's not a big change, but it may complicate the grammar for parsing placeholder strings, hence it was left out of the initial 3.0 delivery scope.
To support structs, we only needed to split the template string on dots then walk the schema, e.g. #{value.struct1.struct2.id}. If we were to support arrays and maps, it'd make sense to use notation consistent with the Ably Firehose Integration routingKey, for example #{value.myMap[someKey]}. This may be the point at which we need to start using a real parser generator -- needs some consideration.

I am closing this issue as this has not been requested by customers. Whilst we could certainly add this feature, there's no evidence we need it today.


refactor: separate public and private plugins

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Slightly rejigs the api's organisation - hopefully making it clearer which endpoints require auth and which do not.
Ref: #54143

Hey @naomi-lgbt, I included one change (protecting /signout) since your review. If it's too annoying to review, I'll split the PR.

What do you think about refactoring more so we can have the below?
import * as publicRoutes from "./routes/public";
import * as protectedRoutes from "./routes/public";

What do you think about refactoring more so we can have the below?
import * as publicRoutes from "./routes/public";
import * as protectedRoutes from "./routes/public";

Works for me :+1:


[feature request] Demos for all connection strategies

Hey there! Thanks for sharing this awesome library. It's one of the coolest projects I've seen recently! I've only experimented with it so far but I'm evaluating it for use in a game I'm developing.
I'd prefer to use the BitTorrent strategy because my heart yearns for decentralization. 😉 The official demo only uses the Firebase strategy, and it would be great if the alternative strategies could be toggled between to see how their behavior compares. So far I've just been hacking docs/site.js file to do this. Having this functionality on the demo site could also serve as a reference implementation for others who might want to use a decentralized strategy.
Thanks again for sharing the awesome work!

All the strategies are equally featured, with the exception of the getOccupants being firebase only - so all examples literally work for either strategy and only the initialization is relevant.

All the strategies are equally featured, with the exception of the getOccupants being firebase only - so all examples literally work for either strategy and only the initialization is relevant.

That's true, but there's a meaningful difference in how quickly pairing occurs depending on the chosen strategy. I was hoping to have a side-by-side demo of each strategy to see how the initialization time compares, as well as examine the network behavior from the browser inspector.

True. The strategy comparison in the readme is quite insightful and honest. Firebase is the only one you could reliably benchmark by definition being centralized. The bittorrent strategy has been working consistently in some of our webrtc projects inside ctzn with pairing <3s on the average including mobile browsers, but we've also experienced sporadic cases where particular clients on public wifi or subpar networks were never able to connect as you might expect. We also have an experimental GUN/DAM strategy in the works we'll PR once stable. Interested in hearing your experience so far, what are you decentralizing?

Yes, the README is excellent and helped me make the decision to use the BitTorrent strategy! I'm using that currently on https://jeremyckahn.github.io/farmhand/#online/global and am generally having good success (click the "Active Players" button to see your peers). My experience is roughly similar (2-5 seconds to connect typically with occasional flakiness on mobile). For my needs, decentralization is more important than pairing latency and reliability, so the BitTorrent strategy gives me what I need. 🙂

We also have an experimental GUN/DAM strategy in the works we'll PR once stable

That sounds interesting! I'm not familiar with GUN/DAM. What is that?


No one has Been assigned MAVEN issues

The issue is that no one is working on MAVEN issues.

All issues have been assigned, and we review weekly.


Nodes with library styles gets their selected style overwritten with hex value

Describe the bug
When a node in the document is attached to both a Figma Tokens plugin token (e.g. color.core.gray.50) and gets it's color from a library style (e.g. color/core/gray/50) the Figma color style is replaced with the hex value from the token.
This happens both when explicitly assigning a token that corresponds to a Figma color style from a library but also on overall updates from the plugin (e.g. when toggling token sets in the plugin).
The bug also surfaces when copying an element (e.g. a component) from the library master file where the color styles are defined and that element has a color token assigned to it. When pasting that element (e.g. as an instance) into another file that uses the color styles from the library the color styles are overwritten with hex values on updates from the plugin (e.g. when toggling token sets in the plugin).
*Just for the record: Text and effect styles are also affected by this issue, I'm just using colors as an example here
To Reproduce
Steps to reproduce the behavior:

Create a new file in Figma
Add a new token set (e.g. Global) in the Figma Tokens plugin
Add a color token (e.g. color.core.gray.50) in the plugin and create Figma color styles from the tokens (Styles > Create styles)
Publish the file as a library
Create a new file and enable the published library from step #4
Create a rectangle and assign the color token created in step #3 (e.g. color.core.gray.50) through the plugin corresponding to the Figma library color style (color/core/gray/50)
See that the hex value is applied (e.g. F6F6F6) and not the Figma library color style (color/core/gray/50)
Assign the Figma library color style (color/core/gray/50) through Figma's Design panel.
Assign the color token created in step #3 (e.g. color.core.gray.50) through the plugin
See that the hex value is applied (e.g. F6F6F6) and not the Figma library color style (color/core/gray/50)

Expected behavior
I would expect the plugin to NOT overwrite my applied Figma color styles.
Either because it can map the color token to the - non-local - color styles from the library OR
when it cannot because it sees a color style is applied and doesn't overwrite it.
I guess the main reason for this bug is because Figma only exposes the local paint styles and does not (yet at least) expose a way to get library styles
@six7 As far as I can see the offending lines are in src/plugin/setValuesOnNode.ts.
If you agree on the expected behavior, maybe a simply check on existing node.fillStyleId before assigning would do the trick?
We could even extend it further with a check for whether the style exists (figma.getStyleById(node.fillStyleId)) and add that style to the figmaStyleMaps used to check for matching styles?
I'll be happy to do a fix and PR if you see fit 🤞🏻 😊

👋 its a little more complicated than that, but we're working on this already!
Basically you cannot expect just because a token has the same name as an applied style that applying that style is the right thing. If using option tokens and the color value matches between style and token (like the one in your example) then yes, keeping that style is the way to go.
However when using Theming and your token values change from light to dark for a bg.default you need to swap that style for the corresponding style requiring us to keep track of what token/theme combination matches what style.
In addition, ideally it not just keeps a style, but is able to apply a style rather than a hex value when updating - requiring each token to either have a theme level style id representation or on a per token basis - we're currently working on first the theming part and later on the individual part 🎉
Also, this issue is already covered by https://github.com/six7/figma-tokens/issues/145

👋🏻  again,
Sorry I didn't see #145 (I did look through all issues first to see if I could find a similar one, but it must've slipped my eyes 🙈 )
I follow what you're saying above ☝🏻 , nevertheless this is exactly what the plugin is doing at the moment - i.e. assuming that if the name of the token with . as a delimiter matches a local Figma style with /as the delimiter it should assign that Figma style (and not the value of the plugin token). It doesn't check the current value if the node at all.
It also DOES apply the style and not the hex value, if the style is found using the mentioned naming scheme (so not sure what you mean by ideally it not just keeps a style, but is able to apply a style rather than a hex value when updating? 🤔 )
Not sure I follow the Theming part though? If you mean "Theming" as in "Token sets", then as far as I know the tokens doesn't change their name or nesting, only the value changes (which is the point of Theming anyways 😀 )
And in the linked code lines and as explained above it doesn't check whether the value matches (which I then WOULD be a dealbreaker in regards to Theming).
TL;DR: Great you're already working on the Theming part and are looking to solve the individual part as well 🎉
Until that settles though, it would be a great help, if the plugin doesn't remove / overwrite applied Figma color styles with token values when it doesn't find a matching Figma style when the node already has an applied Figma style (emphasis is on this last part, I guess I didn't make that clear enough).

Yeah I think that makes sense! However let's only do that as long as the style value and the token value match (name alone isn't enough). Should be easy to compare, would just need to make sure it doesn't add a performance overhead.
Also, if possible base the PR on the next branch as we reserve the main branch for whatever's in prod right now (and as we have no way of doing automatic releases with Figma it's a manual process).

And let me give you an example on the token sets:
[token set light]: bg.default = gray.100
[token set dark]: bg.default = gray.900
Style applied on layer: bg.default - if we only went by name, the layer wouldnt update when switching from light to dark. And thats just 1 abstraction. Themes can be very complex and depend on multiple prepending themes, so it's that unique combination that makes a 'Style' (when a user creates library sets they usually activate the required sets)

Hi @six7,
I did a quick draft PR to make sure where on the same page 😊
I.e. I haven't added any tests (yet), but here it is - based off the next branch:
https://github.com/six7/figma-tokens/pull/765
The PR only fixes this ☝🏻  issue (#758), i.e. it ensures that when we cannot match a Figma style (as in the current implementation of that check) we only apply the raw token value to the node if it doesn't have a linked style already (i.e. fillStyleId, strokeStyleId, textStyleId or effectStyleId is empty).
I'm emphasizing this, as I still can't follow along what you're saying above, sorry 🙈 😄
Maybe I'm missing something? Or maybe you're talking about how to fix #145 🤷🏻
Hope this makes sense 🤞🏻

Let me try to explain again :D
With Figma Tokens, users can have token sets, which can be a way to create themes. Usually, token names for a background.default color token is named the same across a Light and a Dark theme. Users in Figma typically have the same style names, but then just replace the whole library with another one. So the theme name is almost never part of the style name.
Now with your implementation, if there's already a background.default style attached with value: black, and I in my plugin change to the Light theme (which should give background a white value), it wouldn't do it because the name of the style is 1:1 the same background.default

Hi @six7 ,
Thx for your patience 😊🙏🏻
I pretty sure I get what you’re saying, as we are using Themes/token sets as well, and I see your point.
What I don’t understand though, is that as far as I can see, that path (switching to a new theme/token set with same token names but different values) is already covered in the first if that checks for a matching style and applies that, right? My second if only makes sure that if it doesn’t find a match it doesn’t remove/overwrite the linked style with a raw (token) value.
I’m assuming that shouldn’t be the case either in your example, right? In other words replacing the linked style with a raw value? In your example the first if would still assign the linked style and not the raw token value, right?

In files where no styles are defined, instead getting styles from a library, there currently will never be a matching style. But users still want to switch themes. Which is why we need a check for same values, otherwise switching themes would have no effect.

So if I understand you correctly you do want the plugin to remove/overwrite the linked Figma style? I.e. if a user links a node to a style from a library and at the same time attaches a plugin token to that node, then the plugin "wins"?
Normally in Figma you have to detach a style for a node before you can assign a raw hex value - I would expect the plugin to respect that? I.e. if I want to allow the plugin to switch color when switching between tokens sets/themes that are not linked (locally) to my Figma styles then I would need to detach my linked style and use raw values instead.
This hopefully gets better when #145 is fixed, but until then I wouldn't expect the plugin to remove/overwrite the linked Figma style for a node...

Yes, I do want that as long as the value to be used is different to the Style that is on a layer. Until we have Theming support built in, which would apply the correct style. If we implemented your fix, currently theming would be impossible.
Imagine you created a library file that has styles attached on their layers, as those are local. Now you switch themes, and you notice no change because a style was already attached.
Better outcome: The plugin is instead able to apply the correct style depending on the theme (which is in most cases a different one than the one applied). This requires a style to be set on each token on each theme for complex scenarios, and a style to be defined on a token in simpler scenarios so that the plugin knows what style to apply. Simply not acting and leaving the style that was applied on the layer doesn't allow theming.
I think your solution would work fine as long as we did

is a style applied on a layer?
is the style value the same as the value coming in from the token?

if yes, don't override with a hex value
if no, override with a hex value

Hi @six7 👋🏻, and thanks again for taking your time on this issue 🙏🏻
Just want to make sure we are talking about the same thing:

Imagine you created a library file that has styles attached on their layers, as those are local. Now you switch themes, and you notice no change because a style was already attached.

I assume you mean selecting/deselecting the tabs/token sets in the plugin, right? (Or are you talking about the new theming feature in the pro version of the plugin?)
If the first is the case, then I cannot recreate the issue you're mentioning about changes not being applied?
As far as I can see that still works even with my fix, as the plugin updates the Figma styles and not the raw color of the nodes attached to the token as such (well, it also runs the setValuesOnNode function on each node with tokens attached, but that basically just sets node.fillStyleId to the matching style, which is already is set to the same fillStyleId anyways).
I've attached a video of me assigning a token (and matching Figma style) to a rectangle node, then selecting a dark theme with a different value for that same token. As you can see the name of the Figma style stays the same, but the value of that style gets updated to the dark theme value.
Please note I'm only talking about the scenario where local styles are defined that matches the tokens in the plugin.
For a document with non-local styles it's a different scenario (which this issue is all about 😄 )
https://user-images.githubusercontent.com/9556693/170996429-9abd467a-bc1b-42b1-a3f8-a7e75cc41d0d.mov

I'm mainly talking about the scenario where you created your components in a file that had local styles, and it had them applied (as it was able to find a style with that name).
Then, in another file, you activate a different set. If all we checked was the presence of a style, nothing would change and the original style would persist.
While attaching a hex value is unexpected, so is not changing the style.
As I described, ideally we'd apply a style that matches the token (which we can only if we keep track of style id's). If not, then we should check if the style value === token value

Thx @six7, I misunderstood you then regarding the scenario, but get what you're saying now.
I think what also adds to the confusion is that what I see as a bug you actually see as a feature 😀
But I get why you want to keep the ability to toggle themes even when a node has a non-local style linked to it (or at least why to keep that feature since users are now used to it working that way).
I went back to the drawing board and revisited my very first idea of getting and storing the non-local style before overwriting the nodes value with the raw hex value from the token. That way we can restore the linked non-local style whenever the token value matches the linked style value (e.g. when toggling back to default/light theme).
Since a picture says more than a thousand words and a video multiplies that with FPS 😅 I've attached another video of me toggling a theme/token set with tokens that match both local and non-local styles, showcasing how:

local styles gets updated with the token value (current implementation)
linked non-local styles being overwritten with raw token value (current implementation)
linked non-local styles being re-linked/restored when raw token value matches (new implementation/my fix)

The WIP changes are in this commit: jakobe@cf87650
Please note I've only made the changes for fillStyleId for now - I will extend this to strokeStyleId, textStyleId and effectStyleId if you agree on this path forward 🤞🏻
Figma.Tokens.preserve.non-local.styles.mov

🎉  Works great! There's some thing that we'd need to cover still though - we'd want to do the same thing for all styles, not just colors (effects and type). Also, you're currently comparing only color, however you'd need to take opacity into account as well.
Can you keep the PR on hold for now? We're currently making lots of changes to that logic due to the introduction of the non-native styles for themes - where your PR would fit in nicely for those users who don't want to use the Themes feature. I'll let you know once it's in a state where work can be commenced 👍
Yeah, its not really a bug, it is a feature as long as we don't have a better way of dealing with Themes. We really can't assume just because a Style has been applied that this is the style the user wants applied due to the way how we're applying tokens as styles on layers just because a local style is found that matches the token name.

Hey @six7 , great to see the next branch got merged today 🚀 🎉
I've now cleaned up the code and added checks for non-local styles matching the attached token's (current) value for:

fills (fillStyleId)
borders (strokeStyleId)
typography (textStyleId)
effects, i.e. shadows (effectStyleId)

To sum up:

When applying a token that do match a local style, the style linked is kept intact and the underlying local Figma style is updated to reflect the current token value(s)
When applying a token that doesn't match a local style, and the node is linked to a non-local Figma style, the value(s) of that token will override the linked Figma style when the value(s) doesn't match, e.g. applying a Dark Theme. The id of the non-local style will be backed up (stored on the node as plugin data).
When applying an updated token value (i.e. when de-selecting a Dark Theme, going back to Light/Default Theme) where the token value(s) matches the previously backed up non-local style (getting the non-local style using the id from the plugin data) the non-local Figma style link is re-established 🎉

Finishing touches / todos: The test for whether the token paint equals the node's paint (comparing each RGB value) actually doesn't work at the moment 😞 It seems Figma uses a different method to convert web RGB values in the [0, 255] range to Figma's own RGB values in the [0,1] range. As far as I can see it ought to be just multiplying or dividing by 255 (which is what the Figma Plugin Helpers is doing, but that doesn't produce the same result as Figma's 🤷🏻 I've opened an issue here regarding that: https://forum.figma.com/t/figmas-rgb-color-values-seems-to-have-a-rounding-error/23540
Until that settles, I'm doing the comparison using hex instead which produce the expected results. For simplicity I've just added that directly in the src/plugin/setValuesOnNode.tsfile. My questions is: Do you wan't me to update the isPaintEqual method to use hex comparison instead or we wait for a response from Figma?
I need to finalize that for gradients as well, if we wanna go that route...
Hope we can land this in the not too distant future 😊 🤞🏻

Keep in mind the next branch is not the one that contains the changes required for the Themes feature. We're still working on it, it's in this PR currently that once properly tested will land in the next branch again.
I'll

Ah ok my bad, I just assumed it was on the next branch.
Roger that, I'll keep an eye on that PR then 👍🏻


Add bracket for comments

reducer should wrapped with [] just the same as preloadedState and enhancer

Thanks!

@pingfengafei I don't think it should be wrapped with brackets. That's how you mark a parameter as optional. To create a store, the reducer isn't optional.
http://usejsdoc.org/tags-param.html#optional-parameters-and-default-values

Oh, I'm not super familiar with JSDoc syntax. I'll revert this.


Allow for explicit jsx={true} declaration

Possible to break syntax captures, revision may need, hold on please.


libpng15 problem with macOS

I upgraded macOS and it seems that NW-builder needs version libpng15.15.dylib but it was removed and replaced by libpng16.16.dylib and I am not able to get that file anywhere. I tried to reinstall wine and I tried even wine-devel version and this also does not help.
It says:
Update win64 executable icon
001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
000d:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng15.15.dylib
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng15.15.dylib
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng15.15.dylib
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng15.15.dylib
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng15.15.dylib
...

Any ideas?

@jardicc closing this for now. If this problem still persists with the updated nw-builder and NW.js, ping me here!


Revert to only calling plain rustfmt

rust-lang-nursery/rustup.rs#1294 added a proxy executable for rustfmt that will act on the correct bundled rustfmt for the default release channel set by rustup.
And, assuming I'm reading the expected release notes correctly, it seems like rust 1.23, due out fairly shortly, will add the bundled version of rustfmt to stable.
This fixes #1184

:pushpin: Commit 6e1e19e has been approved by emilio

@bors-servo r+

:hourglass: Testing commit 6e1e19e0a8e5959a5fa6f066f57267330d73e87f with merge e8d5230cc9df3c4f28c2ce49a0605f08c3764869...

:sunny: Test successful - status-travis
Approved by: emilio
Pushing e8d5230cc9df3c4f28c2ce49a0605f08c3764869 to master...


Respect chart-subchart dependency [during Chart deletion|creation]

Version of Helm and Kubernetes:
kubectl version --context=$CONTEXT
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4", GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean", BuildDate:"2018-06-06T08:13:03Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.4-gke.2", GitCommit:"eb2e43842aaa21d6f0bb65d6adf5a84bbdc62eaf", GitTreeState:"clean", BuildDate:"2018-06-15T21:48:39Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}

helm version --kube-context=${CONTEXT}
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

Which chart:
Self-developed
What happened:
Chart and subchart resources are deleted concurrently.
What you expected to happen:
(Parent) chart resources deleted first
Immediately dependent subchart resources are deleted next
How to reproduce it (as minimally and precisely as possible):
The chart uses a subchart which is an NFS service.
I created the NFS service as a subchart hoping this would avoid the problem; it does not.
The problem is that, if resources dependent upon the NFS service are attempted to be deleted after the NFS service is deleted, Kubernetes struggles and the pods hang around in an indeterminate 'terminating' state somewhat indefinitely.
It could be argued this is a Kubernetes issue but I think it reflects a possibly more broader issue in Helm not respecting chart and subchart (and sub-subchart) relationships.
Charts ought be created after dependent subcharts and deleted after too.
Anything else we need to know:

I ran into exactly the same issue today.


Add RancherOS to documentation OS compatibility matrix

Signed-off-by: Nate Sweet<EMAIL_ADDRESS>Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Thanks for contributing!

Add RancherOS to documentation OS compatibility matrix
Fixes: #9825

Coverage decreased (-0.02%) to 45.979% when pulling b4817e805dfcf8fb64058e7ba811cd107009b4ad on pr/nathanjsweet/add-rancher-to-doc-matrix into d416ff05fd69089445d31993def143643b91c0ad on master.


Make "internalConsoleOptions": "openOnSessionStart" easy to use

fyi @sandy081 @isidorn
#6159 introduced "internalConsoleOptions": "openOnSessionStart" but using this via one of the pre-existing python debug configurations doesn't work out of the box since it has a constraint.
Start debugging a new project or file, it will ask you to choose a debug config

If you choose this first option it gives
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "justMyCode": true
        }
    ]
}

Then you realise you want the debug console to open automatically when you start the debugging, you come across #6159
then you add this to your config and
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "justMyCode": true,
            "internalConsoleOptions": "openOnSessionStart"
        }
    ]
}

Which doesn't work since
"purpose": [
    "debug-test"
    ],

Isn't in the default config.
Several requests

Make it the default to always launch the debug console
Make it clear in the docs (and in the hints in vscode) that internalConsoleOptions must be used with

"purpose": [
    "debug-test"
    ],

Add a new debug configuration just for debugging tests and make it be

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Debug Tests",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "purpose": [
                "debug-test" // the main requirement
            ],
            "console": "integratedTerminal",
            "justMyCode": false, // not bothered about this value
            "internalConsoleOptions": "openOnSessionStart" // the main requirement
        }
    ]
}

Here is a diff compared to the existing one Python File Debug the currently active Python file

Update the existing Python File Debug the currently active Python file config to include. This is somewhat controversial but although it's incorrect, purpose works both for tests and debug file and therefore there is no downside by doing this.

"purpose": [
    "debug-test"
    ],

Maybe remove this constraint for

"purpose": [
    "debug-test"
    ],

Since I don't see how this is related to launching the Debug console.

/extPython

VS Code's "internalConsoleOptions": "openOnSessionStart" setting has no "constraint".
If there is a constraint, then this is introduced by the Python extension.

VS Code's "internalConsoleOptions": "openOnSessionStart" setting has no "constraint". If there is a constraint, then this is introduced by the Python extension.

Created new issue here https://github.com/microsoft/vscode-python/issues/18793


Fix log message

typos
[2024-01-29 09:00:49,675] WARNING [logger.logger.init_instance:255] [class.VaultClient] the vault instance was successfully initialized: but sensitive information could not be written to the system keystore. They will be written to a temporary file /tmp/vault-package-init-data.json. Please, move this file to a safe place.

correct version
[2024-01-29 09:00:49,675] WARNING [logger.logger.init_instance:255] [class.VaultClient] the vault instance was successfully initialized, but sensitive information could not be written to the system keystore. They will be written to a temporary file /tmp/vault-package-init-data.json. Please, move this file to a safe place.

has been fixed in https://github.com/obervinov/vault-package/pull/43


Camera ASI715MC not found

Hello,
it seems like my camera ASI715MC does not get found. Any ideas what might be wrong?

I installed this package via pip
I installed the mentioned requirments via apt
I installed the udev rule
I am on Ubuntu 22.04

dmesg except
[ 9993.815730] usb 3-3: new high-speed USB device number 14 using xhci_hcd
[ 9993.965351] usb 3-3: New USB device found, idVendor=03c3, idProduct=715d, bcdDevice= 0.00
[ 9993.965370] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9993.965376] usb 3-3: Product: ASI715MC
[ 9993.965380] usb 3-3: Manufacturer: ZWO

lsusb and bus rights
$ lsusb
Bus 003 Device 014: ID 03c3:715d ZWO ASI715MC
..
$ ls -lah  /dev/bus/usb/003/014
crw-rw-rw- 1 root root 189, 269 Jul 16 10:07 /dev/bus/usb/003/014
$ cat /sys/module/usbcore/parameters/usbfs_memory_mb
200

The ASI715MC is plugged in on a USB 3.0 port withthout any hub or similar.
The command zwo-asi-print simply remains without any output while others fail (I assume the index errors is due tot the fact that the camera is simply not visible to this package)
zwo-asi-dump
Traceback (most recent call last):
  File "/home/timm/.local/bin/zwo-asi-dump", line 8, in <module>
    sys.exit(dump())
  File "/home/timm/.local/lib/python3.10/site-packages/camera_zwo_asi/main.py", line 144, in dump
    camera = Camera(index)
  File "/home/timm/.local/lib/python3.10/site-packages/camera_zwo_asi/camera.py", line 27, in __init__
    super().__init__(index)
RuntimeError: ASI Camera: (camera index: 0)  (error code: 1: ASI_ERROR_INVALID_INDEX)

Update: Install from source does fix the issue. I assume the pypi might just be a bit outdated?


Titan Quest Anniversary Edition. Dynamic shadows are not displayed correctly at night.

Please describe your issue as accurately as possible.
If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows
Software information
When night falls in the game, the shadows of trees and objects begin to flicker strongly. There is no such thing in DX 11. I tested it on different versions of the game and on different operating systems.
System information

GPU: RTX 4080 or GTX 1060 6 gb
Driver: 551.23 and all the past ones.
Wine version: Win 10 Pro. 64bit. Version 22H2. and 20H2.
DXVK version: 2.3 and all the past ones.

Apitrace file(s)

Put a link here

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace
Log files
Please attach Proton or Wine logs as a text file:

When using Proton, set the Steam launch options for your game to PROTON_LOG=1 %command% and attach the corresponding steam-xxxxx.log file in your home directory.
When using regular Wine, use wine game.exe > game.log 2>&1 and attach the resulting game.log file.

Hi there.
Please provide logs and a apitrace

According to PCGamingWiki, the game supports both D3D11 and D3D9. Which one are you using?

@Krovok Friendly ping

After testing for a while on my 4080 i have not been able to reproduce any issue where it looks different from native.
Also haven't seen similar reports on ProtonDB looking at the newer ones.


Cannot add credentials / API Key in n8n

Hey there!
I'm not very familiar with Github processes, so I hope I had to create a new issue rather than comment on this one, since it's been closed : https://github.com/go-vikunja/n8n-vikunja-nodes/issues/52
I've just installed Vikunja today, version 0.23.0. At the same time, I installed the community node for n8n, also in the latest version, 0.1.3. This version seems to have fixed the problem for Niskeletor but not for me. (the difference being that this is the only version I've installed directly, I've never updated the node since I just installed it)

n8n is version 1.41.1, installed on Docker

The problem seems to be identical to Niskeletor, I can create a new trigger but I can't add credentials :

I tried restarting n8n container without success.
Thanks for your help.
I can't wait to test Vikunja, which looks very promising.
Edit : I've been offered n8n update 1.42.1, I've done it, I've also uninstalled and reinstalled n8n-nodes-vikunja but I still can't add credentials

Hi!
Is there anything in n8n's logs?

Just chiming in to say I've been experiencing the exact same issue. Nothing in the n8n logs either.

I have the same problem too.

Hello @kolaente thanks for your answer. I won't be able to check any logs as I completely broke my host machine after an update and decided to reinstall everything. :-)
BUT : before that, I don't know why because I didn't do anything more, but I was able to add the n8n credentials.
As I said I had previously done the n8n 1.42.1 update and it didn't change anything. But later I tried adding Credentials again and found that it worked. I didn't go through the “Credentials” tab in n8n but directly by creating a new Vikunja trigger, and surprise, I was able to add Credentials there.
It's not all very precise, but maybe @jochem3k and @weits will add more to this ?
To be clear, when this didn't work, I tried adding Credentials via the Credentials page as well as via a new Vikunja trigger and none of it worked. And then later it started to work, but I don't know why.
I'll be reinstalling n8n and Vikunja soon, so I can see if I have the same problem.

I've just release 0.1.4 and it seems to work there. Can you confirm?

Works for me :)
Thanks so much!


Apply patch YARN-2171

https://issues.apache.org/jira/browse/YARN-2171

Can one of the admins verify this patch?


Parsers: Use source instead of content

Token.content might fail when the string is malformed, this isn't a
problem with Token.source

Thanks!


Revert to original way of hiding/showing court finder dropdown (maybe not MVP)

From Slack:

Jonathan fixed bugs with show if for the new court selector

That probably means we can change back to the less complicated way of setting the correct court. Might not be MVP, though.

agreed, not MVP, have not seen and current version works


ARKit

This is far from finished and very, very rough, but I figured I'd submit it for people to start taking a look at and coming up with better solutions for a few of the issues.
Functionality everything is there except for plane detection, that shouldn't be hard to add in. For me the main goal was to get the tracking up and running and the camera.
The camera isn't implemented the way I would like to, right now I'm taking the render buffer created by Godot and overlaying it ontop of the camera image during the final copy to screen. I don't believe this is the right way about it. I need to find a way to make the camera image available to the render engine so it can render the geometry on top of the image. The really annoying part here is that the image is provided by the camera as a YCbCr image so it needs to be converted to RGB. Since we get a new image almost every frame I'm doing this in the shader itself.
Basically everything in arkit_shader.h and arkit_shader.cpp should be solved differently
The other thing which right now is fairly dirty is the way everything hangs together. For 90% ARKit actually works with a pull mechanism but the remaining 10% required some ugly hacks. I'll be cleaning that up soon.
Finally there are a bunch of rendering issues but they are issues on iPhone in general. One specific to ARKit is that without a background (it being the camera image of the phone) there is no HDR image to do nice reflections with. I'm uploading a video to YouTube to show off the tracking, will post the link as soon as it finishes.
https://youtu.be/QCH5wOYeIdQ

Owh one thing I forgot to add here. ARKit requires iOS 11 and XCode 9 beta to run. That is a bit of an issue as well, it needs to be possible to make ARKit an optional compile.

This is the test project I used in the video that I posted:
https://github.com/BastiaanOlij/godot3_test_projects/tree/master/ARKit
Note at this time the "green screen" background that I abuse to overlay the camera. That is only temporary until I get the camera to render properly as the background of our main render buffer.

Pretty much got everything working at the moment. I haven't had time to rebase it yet, planning to do that over the weekend.
Plane detection now works, the new ARVRAnchor object will probably get its own PR soon and needs to be enhanced to extract the scaling.
Discussed a possible solution to improve the way the camera image is implemented with Reduz today, we'll see how easy that will turn out to be implemented.

Sorry for the little movement on this. Work has been keeping me busy, I'm slowly working on a new framework so Godot can capture video feeds and use those with one of the goals of feeding ARKits camera frames into this (as ARKit already does this, no use in doubling up and using the camera directly). Once I have finished that I'll round of the ARKit implementation.

This is still quick and dirty but I redid some of the code so this now works with my camera server implementation.
Its rebased to todays master and provided you have XCode 9 installed (which is no longer in beta) this should compile.
I'll be spending more time polishing this up as I've still cut a few corners, but it is really coming together now!

Just a few bug fixes and a rebase..

Rebased, and applying the tweaks we're working on in the arvr server.

Just a rebase, no changes.


Correct test desc

Coverage remained the same at 89.811% when pulling 5a5bc45fa4dbe9eac9570ab2dd25e204c4361b17 on kailuowang-patch-2 into 6f58bc060ca75ccbcf7bc361c54fd174ad6fed15 on master.

👍


fix: remove deploy step for images

We currently don't need or want to deploy influxdb as we're still building out the Edge product. Maybe later for a demo, but for now it just breaks CI and so this removes it.

I'm sure we'll want something up in the future 😄


MARP-1386 Change date data type

Hi @ivy-rew, I made some enhancements by changing Timestamp to Date and test update. Could you help me take a look at it?

Looks good, thanks. Closes #64


404 Error Trying to Load the Package

I keep getting a 404 trying to load the markdown module into my application.  I understand the TypeScript module resolution behaves much like Node in that it will traverse directories up the stack until if finds the module it's looking for (looking in module.ts, package.json, or index.ts respectively).  With that being said, I've added your package to my project (which is essentially the angular2 quickstart at its' base), but I'm getting a 404 on the node_modules/angular2-markdown GET call.  Here's my setup (only showing what's applicable to the issue) :
tsconfig.json
`"compilerOptions": {
    ......
   "moduleResolution": "node".
    ......
}`

systemjs.config.js
`(function (global) {
    System.config({
        paths: {
            // paths serve as alias
            'npm:': 'node_modules/'
        },
        // map tells the System loader where to look for things
        map: {
            ......
            'angular2-markdown': 'npm:angular2-markdown'
            .......
        });
})(this);`

package.json
`{
    ......
    "dependencies": {
        ......
        "angular2-markdown": "^1.3.5",
        ......
}`

app.module.js
`import { MarkdownModule } from 'angular2-markdown';
......
@NgModule({
    declarations: [
        ......
    ],
    imports:    [
        ......,
        MarkdownModule.forRoot()
    ],
    ......
export class AppModule { }`

The angular2-markdown package sits in the 'node_modules/angular2-markdown' directory.  Inside the root of that package is the index.ts class.  Since the package.json doesn't contain a "typings" property, the compiler should be using the index.ts, which contains:
index.ts
export * from './src/app/markdown/markdown.module';
export * from './src/app/markdown/markdown.component';

So, as you can see, the 'angular2-markdown' package is aliased to the node_modules directory in my project, but unfortunately when I try and grab the MarkdownModule I get the following error in my console:
GET http://localhost:3000/node_modules/angular2-markdown/ 404 (Not Found)
It looks as if the compiler isn't actually reading the index.ts.  I've tried several things to try and brute force this thing to work.  For example:
systemjs.config

Map directly to 'node_modules/angular2-markdown/index'
Map directly to 'node_modules/angular2-markdown/index.ts'

app.module.ts

Import the module directly from 'node_modules/angular2-markdown/index'
Import the module directly from 'node_modules/angular2-markdown/index.ts' (which I knew obviously wouldn't work, but at this point I'm out of ideas)

Suffice it to say none of that worked and I'm not sure what the problem is.  Can anyone shed some light on this issue for me?  I just started using Angular2, but I feel like this is more of a build issue than a library issue.  Thanks in advance.

Any updates on this?

I'm hitting the same issue. @kingws did you manage to fix it?

Negative @Cognition3142.  I changed my project to use webpack2 trying to fix this issue.  All that did was opened a whole different set of problems with this package so I canned it.  I submitted this issue two weeks ago and haven't heard a single thing so I gave up on it.  I ended up using the markdown-loader in my web pack config:
{         test: /\.md$/,         use: [           'html-loader',           'markdown-loader'         ] },
Then adding a function to my component:
getReadme() {     let html = require('./README.md');     if (html) {       return html;     } }
This is nice.  If the README is there it's displayed, otherwise it's skipped because of the *ngif in the template:
<div *ngIf="getReadme()" class="markdown-container" [innerHtml]="getReadme()"></div>
I hope this helps you out.

I have added "umd" to the package please upgrade it to latest version to fix this issu.e


Config server HA and Git webhook

We want to run multiple instances of config and set up Git webhooks but the issue is each config instance is independent. So either we've to set up a webhook for each instance or perhaps use a shared directory to clone the repo locally. Are there better options?

Our recommended config server HA setup is behind a load balancer.

@spencergibb If we do that and give the LB URL to Git, the webhook notifications will be sent to only one of the config server instances. How will it notify the peers to update their locally cloned copy?

the monitor works by sending out /bus/refresh messages to clients. They then make requests to config server.

I know that. What I'm asking is say, you've 3 config servers behind a LB. You set up a Git webhook for http://lb/monitor. LB picks config1 and forwards the POST request. config1 refreshes itself and puts a message in the bus for the clients to refresh themselves.
In all this, config2 and config3 still have a stale copy of the repo in local. Unless of course, they're using a shared volume (you didn't mention that so I'm assuming not).

The servers that host /monitor don't refresh themselves.

OK, so in the use case I described above, the only way to keep the config instances in sync would be to use a shared volume. Or write additional code to sync them. Correct?

Config servers don't have state. Each request clones the git repo. There is nothing to sync.

ok, thank you. Give me a few days to wrap my head around this and I'll either close the ticket or ask a clarifying question.


more descriptive error message when intent definition refers to nonexistent type

Hi folks,
I had an intent defined like this:
{
"name": "Promote",
"slots": [
{
"name": "world",
"type": "World"
}
],
"samples": [
"promote {world}"
]
},
In fact, the type should have been "Worlds". The error didn't tell me exactly what was wrong.
Error code: 400
{ message: 'The model definition is not valid.',
violations: [ { message: 'model.type.name is unknown slot type name' } ] }
Adding a line number or a specific unknown value would be helpful.
Thanks,
Andy

Hey Andy,
This has been supported now with a specific error code and the value name! I will close this issue then.
Thanks,
-Ron


Fix carry handling in the g function in blake.ts

Incorrect Carry Handling in the g Function
The g function in Implementation in blake.ts uses ~~(lo / 0x0100000000) to compute the carry from the lower 32 bits of a 64-bit word.
Since lo can be up to 0x2FFFFFFFC (i.e., approximately 3 times 0x0100000000), the carry can erroneously be 2 or 3.
Impact

Functional Integrity: Incorrect carry values can corrupt the internal state, leading to wrong hash outputs.
Security Risks: The integrity of the hash function is compromised, potentially allowing for hash collisions or predictable outputs, which undermines the cryptographic strength of Blake2-512.

Recommendation

Modify the carry calculation to ensure that only a single carry bit (0 or 1) is propagated. For example:

const carry = lo >= 0x100000000 ? 1 : 0;
v[a * 2] = (v[a * 2] + ((m[sigma[i][e] * 2] ^ u512[sigma[i][e + 1] * 2]) >>> 0) + v[b * 2] + carry) >>> 0;

Alternatively, use BigInt for precise 64-bit arithmetic operations as in the original Blake implementation in the npm repo, which TypeScript supports, to handle carries correctly without manual intervention.

A better solution for this issue might be to use the original Blake implementation directly, wrapping it with a TS class.

Hey, if you need someone to work on this I would be happy to do so and replace the custom implementation with a wrapper over this implementation

@cedoor Hey ive built a wrapper around the original blake-hash implementation, let me know if i can open a PR for review

Hi @Arch0125 , of course! I'll assign this issue to you

Is there a known set of real inputs which can demonstrate this error?  What's the likelihood of this occurring in the wild with non-malicious inputs?  Two contexts in which I ask these questions:

Zupass and related apps have already issued signed data in the POD format which makes use of the hashes in zk-kit.  I'd like to know how likely we are to deal with signatures failing after this update.
In #361 it would be great to validate the fix with a targeted unit test using an input which would produce incorrect results before the PR, and correct results after the PR.  Assuming this bug doesn't exist in the circomlibjs implementation of blake512, such a test could fit in with the compatibility tests which compare results between the two libraries.


Mainnet launch asset suggestion: Cryptibles

Name: Cryptibles
Kind: ERC-721 nonfungible token
Smart Contract(s): 0x15dd447b5ecf63432909a4655037b43898fabf19
Website: https://www.cryptibles.com/
My Ethereum address: 0x2F6102a60813aF809C8dA5f46Ceb1D022dd718f2

I've added the smart contract address.

Strange, I received a later reply that said they are currently working on future update that will implement the collectibles as ERC-721, but currently are ERC-20.

@joesixpack The contract address you linked already implements ERC721, at least according to the code - it's not very active though. Was that a prerelease or something?


Update New-SPOSite.md

Category
[x] Content fix
Description
Update 2 incorrect hyperlinks

Docs Build status updates of commit 53e6bf7:
:clock10: Full build: the average full build time is 12 min(s) 28 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 53e6bf7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/New-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


checktime not triggered when switching tab

Steps to reproduce
Hi,
I just realize that the latest vim version does not show a file modified dialog when switching tab (autoread=no) and the file is modified externally e.g. when running git stash in vim terminal in another tab. The file modified dialog is shown only when switching window focus (alt+tab in Windows) or when switching buffer. I don't remember whether this is the default behavior or if this is a regression. I didn't find any recent change regarding checktime.

set noautoread
Edit a file test.txt in a tab, write something
Open a terminal in another tab, modify test.txt e.g. using echo test > test.txt
Switch back to the tab containing test.txt
No file changed dialog

Expected behaviour
File modified notification is shown
Version of Vim
9.1.27
Environment
Windows 10
Logs and stack traces
No response

can you check, when this regressed?

Sorry I only compile vim probably once a month and this is not something that happen often. I am also not sure if this is a regression.
There is a specific code to check timestamp when changing focus and entering buffer, so maybe it could also be done when switching tab.

Switching window also do not trigger the timestamp check.
This might be less of a problem when vim do not have terminal support because file modification will be checked when on focus change but now with embedded terminal I think it is more likely that file modification can happen without ui focus change.

hm, is there a reason, you cannot use :au TabEnter * :checktime  or even directly :set autoread?

The problem is not being unable to check time on tab switch, but if vim already done it when switching buffers, not doing it when switching tab means the implementation is incomplete, because switching tab is basically switching buffers.


codegen: arrays can no longer be relationships

Codecov Report

Merging #107 into master will decrease coverage by -0.04%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
- Coverage   80.58%   80.54%   -0.04%
==========================================
  Files          15       15
  Lines        2678     2683       +5
==========================================
+ Hits         2158     2161       +3
- Misses        355      357       +2
  Partials      165      165

Impacted Files
Coverage Δ

generator/types.go
86.23% <ø> (-0.49%)
:x:

generator/processor.go
89.06% <100%> (+0.12%)
:white_check_mark:

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 cfc3b04...b9c8563. Read the comment docs.


CosmosDB - State Component - StateTransactionRequest with etag crashes

Expected Behavior
Using the .NET SDK when creating a StateTransactionRequest, an etag could be passed.
 new StateTransactionRequest(
                    "test", JsonSerializer.SerializeToUtf8Bytes("testing"),
                    StateOperationType.Upsert, etag: "test")

Actual Behavior
client.ExecuteStateTransactionAsync("statestore", requests, null)
When setting any etag, dapr exits with code 2, and the following error is logged.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x3f1fc6c]

goroutine 157 [running]:
github.com/dapr/components-contrib/state/azure/cosmosdb.(*StateStore).Multi(0xc0008d0630, 0xc0009b33a0)
        C:/Users/runneradmin/go/pkg/mod/github.com/dapr/components-contrib@v1.9.4/state/azure/cosmosdb/cosmosdb.go:375 +0x90c

Steps to Reproduce the Problem
Version 1.9.4
Dapr.Client 1.9

Create a StateTransactionRequest with an etag
client.ExecuteStateTransactionAsync("statestore", requests, null)
Crash

Release Note

RELEASE NOTE:

@RyanLettieri can you please take a look?

@ItalyPaleAle It looks like the issue might be with the way we declare "options" inside the "Multi" function. After making the following change, it seems to work locally:
var options *azcosmos.TransactionalBatchItemOptions to options := &azcosmos.TransactionalBatchItemOptions{}
I'm running a few tests now and adding in the test case to avoid this from happening again.

Fixed by #2322


Table body with no data found or no data available

Feature Request
Problem description
I am using the Table component with dynamic result of tbody.How to add a table row when there is no records in the tbody. Like showing "No Results Found! or No data found! in the table body.
Proposed solution
May be need to add a prop value when tbody no value true or false to show the row.

Thanks, however feature requests that require CSS should be moved into the main repo: https://github.com/Semantic-Org/Semantic-UI

However, you can reach similar behaviour.

  <Table celled>
    <Table.Header>
      <Table.Row>
        <Table.HeaderCell>Header</Table.HeaderCell>
        <Table.HeaderCell>Header</Table.HeaderCell>
        <Table.HeaderCell>Header</Table.HeaderCell>
      </Table.Row>
    </Table.Header>

    <Table.Body>
      <Table.Row>
        <Table.Cell colSpan={3}>
          <Header as='h2' textAlign='center' icon>
            <Icon name='settings' />
            Account Settings
            <Header.Subheader>
              Manage your account settings and set e-mail preferences.
            </Header.Subheader>
          </Header>
        </Table.Cell>
      </Table.Row>
    </Table.Body>
  </Table>


create $year should by typed

I ran into the problem, that I call create (or createByISO3166_2 in my case) like this:
$holidays = Yasumi\Yasumi::createByISO3166_2(
			$region,
			$date->format("Y"),
			"de_DE"
		);

Since $date->format("Y")  gives me a string the later comparisons inside Yasumi failed
if ($year === 2017)

I see three ways solvings this:

TypeHinting. My prefered solution
Casting / Validating inside the create function (that what type hinting is for)
changing the === to type unaware == (Not a solution at all :) )

I saw the documentation states integer as $year but I imagine this to be a stupid trap you can walk into unaware and php offers a nice solution for it.

Thank you for catching this. Looking at the three possibilities, I am also in favor of type hinting.


mapping drift when using the dataset provided by lio-sam

Thans for your great work. While the robot will drift immediately when using the dataset "Campus dataset (small)" like this. What should I modify the project.

Try use config/params-campus.yaml

Try use config/params-campus.yaml

Thanks for your reply. I had tried to use the yaml, but the drift is still occured.

Try use config/params-campus.yaml

Thanks for your reply. I had tried to use the yaml, but the drift is still occured. I tried to use more iteration, while the optimization can not converge even if the iteration is setted to 300.

Does it drift when using other bag files?

Yes, I had tried several bags. All of them drifted.

方便交流我用中文了，在我测试发现calc_surf_coeff.cu中计算面方程式使用qr分解去计算系数，但是所有得到的系数都是nan，两种方法都是同样的结果
代码如下
`for(int i = 0; i<5; i++)
{
printf("matA0: %f %f %f \n",matA0(i,0),matA0(i,1),matA0(i,2));
}

// ColPivHouseholderQR5x3 qr_decomp(matA0);
ColPivHouseholderQRNx3<5> qr_decomp(matA0);
matX0 = qr_decomp.Solve(matB0);
printf("matX0 %f %f %f\n",matX0(0,0),matX0(1,0),matX0(2,0));`

对应打印如下

尝试将cuda_plane_line_odometry/CMakeLists.txt中的
set(CMAKE_CUDA_ARCHITECTURES 52)中的52改成你的GPU的compute capability。
或者，使用注释掉的// ColPivHouseholderQR5x3 qr_decomp(matA0);
这里的qr分解，我原先想直接用Eigen的，但是报了超多模板错误，实在调不通无奈之下才写了这么个5x3的版本
我在其它项目中也碰上过关于Eigen的诡异错误
看来在kernel内盲目使用Eigen也许是个不成熟的决定


ISSUE #220 Updated campground.js in models

📋 Description
This pull request refactors the Campground model to improve code quality, ensure better maintainability, and follow best practices. The changes include improved formatting, enhanced error handling, and more robust schema validation.
Changes Made:
Error Handling:
Added a try-catch block in the findOneAndDelete middleware to handle potential errors when deleting associated reviews.
Schema Validation and Structure:
Marked essential fields like location, price, and description as required to ensure data integrity.
Improved formatting and spacing for better code readability.
Virtual Properties and Options:
Kept the thumbnail virtual property for images and added an option to include virtuals in JSON responses.
Documentation:
Added comments explaining critical sections, such as virtual properties and the findOneAndDelete middleware.
How These Changes Help:
Error Prevention: Prevents the app from crashing if review deletion fails during a campground's deletion.
Code Readability: Clearer structure makes it easier for future contributors to understand the code.
Data Integrity: Enforcing validation ensures only complete data is saved to the database.
Maintainability: Better documentation helps others maintain and extend the codebase.
✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[y ] My code follows the style guidelines of this project.
[ y] I have performed a self-review of my own code.
[ y] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation (if applicable).
[ y] My changes generate no new warnings.
[ ] I have tested it locally and it works fine.
[ ] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛
[ ] New feature (non-breaking change which adds functionality) ✨
[ ] UI enhancement (non-breaking change which enhances UI) 🎨
[ y] Documentation update 📚

🤝 Related Issues

Fixes #220

📸 Screenshots (if applicable)

Reminder:
Please ensure your pull request is made to the test branch, not main.
Thank you for contributing to VigneshDevHub! We look forward to reviewing your PR and getting it merged!

Thankyou for Contributing!

Bro gssoc ext label?


Can you please help me

Describe the issue
I've been trying to restore original ietf document that allows to device to operate smoothly. I've chosen so many and think it's effecting my network. I have no idea what I'm doing. Can someone please take a look. I barely get text messages to my device. I live in Atlanta, GA, but seems my location is showing elsewhere. How do I restore to default draft
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Please help. None of my social apps run


Has the contribution of the gradient of the normal been considered in the gradient of alpha?

I am trying to replicate the normal recovery step in GS-IR. When I pass the gradient of the normal to alpha in backward.cu, it produces somewhat strange results. It seems that not considering the gradient of the normal for alpha yields better outcomes. It leads to more severe floaters.
By the way, when will the GS-IR code be released? Thanks.

Yes, we do not consider the gradient produced from normals in the decomposition stage.
We plan to release the code after the CVPR Final Decisions.

Understood, thank you for your prompt response, and good luck with your submission.

Yes, we do not consider the gradient produced from normals in the decomposition stage. We plan to release the code after the CVPR Final Decisions.

Understood, thank you for your prompt response, and good luck with your submission.


Map marker cropping issues with reskinned NPCs

I'm using Adarins Girl Mod, it replaces certain male NPCs with females. This causes an issue with your mod as their sprites have changed size so on the map screen their marker/face is half cropped off.
Would it be possible to bring markerCrop out into a config file rather than a constant? Or perhaps even just allow for overrides to be specified in the config file. I grabbed your source and tried to build my own, but when I run the mod in the game I get an error regarding a missing asset called map.
If I can help in any other way, just give me a shout

Hiya, the config file actually has exactly what you're looking for!
Find  "villagerCrop": { } and adjust the cropping like so. These are the numbers that should work for the Adarins mod.
"villagerCrop": {
    "Alex": 3,
    "Elliott": 2,
    "Harvey": 5,
    "Sam": 2,
    "Sebastian": 3
},

I'm about to do a release for a big update, so you can install all the files you need from releases.

Thank you very much!


example json-schema; example valid and invalid values-files; pre-comm…

demo json-schema to validate values-files.
PR include pre-commit config so you can install pre-commit and test in with pre-commit run -a.
https://github.com/nixys/nxs-universal-chart/issues/29

Hello!
2 years later, but we are still interested. I'm currently working on testing helm-charts, but json-schema is too restrictive in my opinion here. I will close this PR, but huge thanks for the good idea.


pull request for e2e test at 01/21/2017 19:26:16

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Logging array of object

How to write to elastic array of objects? I want logging method parameters, I serialized them to  Json.
var jsonObject = JsonConvert.DeserializeObject(log.Parameters);
and in elastic its an empty arrays
"MethodName": "GetUserSetting", "Parameters": [ [ [ [ [] ], [ [] ] ] ] ], "ExecutionTime": "2019-05-06T20:30:16.6882724+03:00",
but, if i send this json from postman post query, its working.  How to solve this problem?

Hard to say without some more details, but prefer to use the serilog destructors as they should already do this trick.


Saved Experiments and Import Flow

This PR does a few important things:

Fixes the Docs link in the menu bar so it works in both production and when running in local dev
Adds support for saving Experiments for each model (Save, Load, and Un-Save)
Adds a post-creation import screen for Hugging Face models
Fixes Backend issue around order of the endpoints

@a10y there is a linting issue I don't have the brainpower to solve tonight with my useEffect hook. May want to rethink how to run the Slice Action on first load of model / lifecycle of model managed for stuff.
Also don't have Python linting stuff setup on my laptop, lets setup next time we chat! That is why that is failing, cant figure out what to fix haha.

In the future: just run FIX=1 ./scripts/pycheck.sh to fix things that the linter finds


Fix typo in app-service-linux-ruby-get-started.md

It is typo of .gitignore.

@changeworld,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@wesmc7777 - Please review the proposed changes. Thanks

This file is deleted. #please-close


Ubuntu : child finished with error

Hi I tried to run the executable after compilation. The below was the output and the error messaged popped.
device_pixel_ratio: 1
width: 1024, height: 716
Initializing glyph cache
num fonts = 673
num fonts = 673
num fonts = 673
Finished initializing glyph cache in 0.069083935
set_inner_size: 644px × 436px
width: 644, height: 436
Cell Size: (8 x 18)
PTY Dimensions: Line(24) x Column(80)
num_cols, num_lines = 128, 39
width: 1024, height: 716
child finished with error '256'

I've got the same issue, is there any way to make it more verbose?
P. S. I created a config in user folder if that can be relevant. I am running Ubuntu LTS 16.04, Kernel 4.4.0-59-generic, Nvidia Drivers 367.57. What else can I provide to help tackling the issue?

In my case it was crashing due to following setting:
shell: /bin/zsh

I didnt dig through the issue. I will let you know if I get any relevant
ideas related to the issue. Please ping in case any solution arises.
Thanks

I can reproduce the issue:
1 - launch alacritty (either from the /usr/local/bin folder or directly from the target folder)
2 - in the newly opened alacritty do crtl-c, then ctrl-d. The error will show in the parent TTY : child finished with error '256'"
My setup:

Ubuntu 16.04
Rustc 1.16.0
Video driver : nvidia-375
Shell: zsh

Hum Ok, it was because I built the new code with the old settings it seems 'nightly-2016-12-16-x86_64-unknown-linux-gnu', now I really used rustc 1.16.0 (stable) and I cannot reproduce the bug.
Maybe this ticket can be closed (has it seems it was related with old versions).


Remove conda directory

Remove conda directory
What user problem are we solving?
The conda directory is no longer necessary after migrating to Poetry. It contains outdated information and can be safely removed.
What solution does this PR provide?
This PR removes the conda directory from the project.
Testing Methodology
I tested the changes by running the project and verifying that the conda directory was no longer present. I also checked that existing functionality was not broken.
Any other considerations
This PR does not affect any other parts of the project.
The conda directory can be safely deleted.

did you verify you can get to trainspace with app spun up? @codingwithsurya

did you verify you can get to trainspace with app spun up? @codingwithsurya

yea everything worked.


Images in Markdown no longer render in GitHub Codespaces

I maintain a video series that uses CodeTour in the sample materials.
Sometime since I published it, images in Markdown no longer render in Codespaces. I know it was working when I published it back in April or May 2022.
Local VS Code and a devcontainer (works as expected)

Same repo in GitHub CodeSpaces (images don't display)

Source Markdown:
Here's an entity diagram describing the entities we're going to persist to our database. These entities support a pizza delivery website, ContosoPizza. As you can see, a `Customer` can place one or more `Order`s. Each `Order` contains 1 or more `OrderDetail`s, and each `OrderDetail` contains a `Product` and quantity.

![Entity diagram depicting the objects listed above](.tours/media/1-entity-diagram.png)

Repro steps
The following repo can be used to repro: https://github.com/MicrosoftDocs/ef-core-for-beginners
Launch in a Codespace as described in the README.

Nevermind, it's working now. Codespaces be weird sometimes, yo.
Closing.


Renaming rebalancing token to rebalancing set token

Pull Request Test Coverage Report for Build 1455

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 1448:
0.0%

Covered Lines:
395

Relevant Lines:
395

💛  - Coveralls

coverage is flaky which is worrisome. will dive


issues under manual journal

[ ] for custom filter edit,title is given as NEW CUSTOM VIEW

[ ] instead showing the newly created custom filter name,its displaying as manual journal

[ ] edit exchange rate popup window is not closing when clicked on other fields.

[ ] while making manual journal to recurring,default value for repeat every field is missing again

[ ] never expire checkbox must be checked in default while making manual journal to recurring
[ ] cloning of manual journal,currency is getting changed
[ ] making reverse entry,currency is getting changed
[ ] while creating reverse entry for manual journal,response message is displayed as CLONED SUCCESSFULLY
[ ] while creating journal template,only 2 account type fields are displayed.But while editing,3 rows are displayed

[ ] change response message for recurring journal preference
@saranya13-tech

@zahidmuhammed


Expect hpy in pypy versions >= 7.3.3

https://doc.pypy.org/en/latest/whatsnew-pypy3-7.3.2.html
https://doc.pypy.org/en/latest/whatsnew-pypy3-7.3.3.html

Failure. Coverage is below 100%.

Covering this isn't possible without adding pypy3 into the ci. So would this be fine?

Went with disabling the coverage in the pypy phase.
Making coverage happy would require 1. adding pypy to the ci 2. splitting diff-cover into its own phase which depends on the python envs to finish.
Problem being that I haven't seen away in tox to glob all the reports after without explicitly writing out the envs again https://github.com/Bachmann1234/diff_cover#multiple-xml-coverage-reports

Seems this stalled, if you pick it up again we can reopen.

Came back to this whilst addressing on pypy failing in a different.
In this case the bundled hpy added setuptools to its Requires-Dist leading to the pretty printed pipdeptree output to be unreliable, decided to use the json output to have better output to work with.
For coverage decided to add a new dependency coverage_conditional_plugin because grafting the coverage data from several python implementations was arduous.


chore(dockerfile): reduce packaging time

Which issue(s) this PR fixes:

Issue Longhorn/longhorn#8744
What this PR does / why we need it:
The packages aren't updated frequently, so the content of the image layer usually remains unchanged.
To avoid unnecessary rebuilding of this layer, copy the longhorn-manager binaries after installing the packages.
Special notes for your reviewer:
Additional documentation or context

@mergify backport v1.7.x v1.6.x


fix: #2808 and #2872 by ensuring apptainer arguments are quoted

Fixes #2808 and #2872 by creating a separate variable for apptainer arguments and uses the formal_cli_value function to ensure that the arguments are always quoted when passed to an executor.
QC

[ ] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[x] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Thanks for reporting and prototyping a solution! There is a simpler fix using base64 encoding of passed args. Done in PR #2898.


add comment to videos about changing video quality

Need to comment below to youtube video: In order to see the best quality video please click on:
Settings/Quality and choose 1080p (HD). This helps to better see the entered text, in particular the Run/Debug results, which is much more smaller than Editor text!

based on comments from: #23 Review a video: Basic Calculator


wget doesn't work with Alpine 3.6

Hello guys
With previous release you have updated Busybox to 1.26.2. But in this version exists bug with wget with downloading large files.
If I understand correctly this bug was described there:
http://svn.dd-wrt.com/ticket/5771
and
https://git.busybox.net/busybox/commit/?id=a6f8651911716d1d1624712eb19e4f3608767c7e

As a workaround, can you install and use the full non-BusyBox wget? Just do apk add --no-cache wget before using it and see if it works as desired.

I can confirm that wget at least fixes downloading of GeoLite2-City in alpine 3.6, if apk add --no-cache wget is run before. Haven't done any further testing.


Suit.java:32-34: Move this interface to the Core module....

#18 More questions.

@rultor merge

@rultor merge

@smallcreep OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@smallcreep Done! FYI, the full log is here (took me 11min)


Updated CalculScore

The game needed to be able to display the score up to a given round, and I added a variable to CalculScore for them to be able to do that.

merged in #41


Make abi generation work copyable struct txn arguments

Motivation
Abi generation current is not working struct txn arguments.
Without abi files, the language sdk builder doesn't work.
This PR is to

generate abi files for script function using struct as transaction arguments.
the struct has to have copy ability and no key ability

Note: this PR only make abi generation work. Whether the struct is allowed is controlled by VM adapter and not relaxed by this PR.
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
Yes
(Write your answer here.)
Test Plan
add unit test

/land


Deduplication

Right now, two documents with identical content are indexede separately. The task is to treat them as a single entity and list all paths where that content shows up in a collection.

https://github.com/hoover/snoop/pull/45

and to let user to switch on / off the display of deduplication

done with snoop2.


dstny_add_getcurrenttime_module

add a module to get the current time

Hello, are you missing any information for the test workflow to be launched?

This action is now in production. Some changes were applied to the action.


[Question] The checkpoint finetuned on RefCOCOg

Question
Hi,
Thanks for your excellent work! Do you have any plans to release the model fine-tuned on RefCOCOg?

Thanks! I will release it once I come back from CVPR!

The checkpoint is here: https://huggingface.co/mucai/vip-llava-7b-refcocog-ft


Door bug

(dont know how to add labels)
if a door is covered and a block next to it is also covered then for some reason you can see through the block (happens with vanilla doors)
-Dark Latex (1 block):

-Dark Latex (2 blocks):

-White Latex (1 block):

-White Latex (2 blocks):

(Only if both doors and blocks are covered):

BlockBehaviourMixin.skipRendering() may be detecting block stability incorrectly


drop X packages

We could theoretically keep alacritty with --no-default-features --features wayland

I didn't want to maintain alacritty :p

If you don't want to you don't have to! foot is better anyways


Add additional mobile prefixes for Denmark

Fixes #22 by adding additional mobile prefixes for Denmark.  See #22 for details.

Thank you!


Improve motto

Original was "Be a GDG, be a hero"
Now it's "Come to DevFest and have fun!"
Maybe we can come up with a better one

"Biggest Google Event in Central California"
"GET your GEEK ON!"

Other motto needed to support tee campaign

Also added tooltips for the buy buttons and a separate tee as a ticket


Open-rpc code gen tool optimize

Parameter documentation
Schemas struct name

I started to do this task.

abstract or wrapper generated bcs and client  types

Is this issue completed?

Is this issue completed?

Yes


Update crypto imports

Referencing packages that import crypto in a Node project causes the following warnings on start:
[DEP0091] DeprecationWarning: crypto.DEFAULT_ENCODING is deprecated.
[DEP0010] DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
[DEP0011] DeprecationWarning: crypto.Credentials is deprecated. Use tls.SecureContext instead.

For more detail, see nodejs/node#23203.

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

Assuming this gets merged, do we need to make a separate PR for the @next (v12) version as well or is the plan to eventually merge changes from master?

Thank you so much for fixing this, @AnthonyMacKinnon.
We keep the v12(feature/storage branch) in sync with the master by frequently merging the master branch.
Looks like the changes in this PR cover all the instances of * as crypto in the feature/storage branch as well. Hence, no need to make a separate PR for v12.

Hey @AnthonyMacKinnon,
Can you please resolve the merge conflicts?
We would like to merge this soon. 😀

@HarshaNalluru Absolutely, I wasn't sure if we needed to wait until everyone approved it. Merge done!

Thanks, @AnthonyMacKinnon!

/azp run js - storage - ci

/azp run js - keyvault - ci

/azp run js - appconfiguration - ci


Can't get colors for Inactive buffers and active buffers.

Hi Bailey,
Thanks for your awesome work.
I would like to have colors to indicatie if there is a inactive buffer or active buffer. But the option, mentioned in the documentation, didn't worked for me either:
  let g:bufferline_active_highlight = 'StatusLine'
   let g:bufferline_inactive_highlight = 'StatusLineNC'
I have both set in my Vimrc. And yes, the color properties of the StatusLine and StatusLineNC are setted in the colorscheme file. When I switched to another colorschemes, the different colors in bufferline are not showed either. All colors in bufferline are still using the same color as the rest of my statusline.
Then I tried to unset my Vimrc. Only the options and default colorscheme of GVIM 7.4.415 and latest Bufferline, with windows 7 x64. The empty Vimrc with these settings:
  let g:bufferline_active_buffer_left = ' [ '
  let g:bufferline_active_buffer_right = '] '
  let g:bufferline_show_bufnr = ' 1 '
  let g:bufferline_inactive_highlight = 'StatusLineNC'
  let g:bufferline_active_highlight = 'StatusLine'

But It didn't worked either. I changed the colors in Vim default colorscheme Delek (you can find it too), to differentiate StatusLineNC and StatusLine. But it didn't helped either.
Is something wrong with Bufferline recently, in combination with Windows Gvim?

Hmm, i did not pay much attention to the fact you are using Gvim with Windows. I prefer unix and terminal mode)  So i'm not familiar with Windows Gvim, but still pay attention to the way you set colors for highlight groups in vimrc. Colorscheme file is processed after vimrc, so if you have "hi StatusLine guibg=#ff0000" in vimrc and your colorsceme file also has StatusLine color definition, it will be overwritten. Also look inside colorscheme file, it may have complex structure and even if you find the line containing "hi StatusLine ...", it still may not be ever reached. And don't forget that guibg and guifg are for Gvim, ctermbg and ctermfg are for terminal mode vim. Perform simple test: while running Gvim go to vim command line and write "hi StatusLine guibg=#ff0000 guifg=#ff0000", have something just become red? In the end, i want to ask why you want to use Windows Gvim, when threre is Notepad++, Geany and other light and convinient text redactors?  Best wishes for you in the new year!

Hmm, i did not pay much attention to the fact you are using Gvim with Windows. I prefer unix and terminal mode)  So i'm not familiar with Windows Gvim, but still pay attention to the way you set colors for highlight groups in vimrc. Colorscheme file is processed after vimrc, so if you have "hi StatusLine guibg=#ff0000" in vimrc and your colorsceme file also has StatusLine color definition, it will be overwritten. Also look inside colorscheme file, it may have complex structure and even if you find the line containing "hi StatusLine ...", it still may not be ever reached. And don't forget that guibg and guifg are for Gvim, ctermbg and ctermfg are for terminal mode vim. Perform simple test: while running Gvim go to vim command line and write "hi StatusLine guibg=#ff0000 guifg=#ff0000", have something just become red? In the end, i want to ask why you want to use Windows Gvim, when threre is Notepad++, Geany and other light and convinient text redactors?  Best wishes for you in the new year!

Thanks for the best wishes!
I tried that before. When I type the StatusLine colors into my Vim command line, the colors of statusline will change to red. But the bufferline in my command line will not change his colors. The colors for active and non-active are still the same...
And I use Windows Gvim, because I like the modal editing, minimailistic layout and the customizability. They're not possible in Notepad++, Geany or not enough as in Vim. :-)

Thanks for the best wishes!
I tried that before. When I type the StatusLine colors into my Vim command line, the colors of statusline will change to red. But the bufferline in my command line will not change his colors. The colors for active and non-active are still the same...
And I use Windows Gvim, because I like the modal editing, minimailistic layout and the customizability. They're not possible in Notepad++, Geany or not enough as in Vim. :-)

btw, the command bar does not have any colors.  are you using the bufferline#get_status_string() helper function?

Would it be possible to get colors in the command bar by using terminal escape codes? I tried the following, but that got printed verbatim ("" is vim's for Esc)
let g:bufferline_active_buffer_left = ''
let g:bufferline_active_buffer_right = '0;m'


crypto/x509: Apple edited HT204132, breaking iOS CA roots updater

What version of Go are you using (go version)?
go version go1.9 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
darwin/amd64, macOS 10.12.6
uname -a: Darwin tungsten.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
What did you do?
cd $(go env GOROOT)/src/crypto/x509 && go generate

Can't be replicated except on macOS, so no play.golang.org link :(
What did you expect to see?
The $GOROOT/src/crypto/x509/root_darwin_armx.go file should be updated to match the iOS 11 root store.
What did you see instead?
It panics with this error:
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
main.fetchCertIDs(0x0, 0x0, 0x0, 0x0, 0x0)
	[elided]/go/src/crypto/x509/root_darwin_arm_gen.go:147 +0x89c
main.selectCerts(0x1156f6b, 0xc420066060, 0x1409f80, 0xc420046af0, 0x12c992f)
	[elided]/go/src/crypto/x509/root_darwin_arm_gen.go:69 +0x37
main.main()
	[elided]/go/src/crypto/x509/root_darwin_arm_gen.go:37 +0x52
exit status 2
root_darwin.go:5: running "go": exit status 1

Looks like Apple changed the format of the support article that root_darwin_arm_gen.go pulls iOS's root certificate list from. The list of CAs is now on a separate page.

Thank you for the report @acohn, I can reproduce and in deed, now  the page contains a listing to different lists by iOS version

/cc @agl @rsc @ianlancetaylor


Opening file from Finder opens wrong project

I have a project which contains a few other projects within its subdirectories. The main project is at /project, and some other projects live at /project/subproject1 and /project/subproject2.
If I double click a file in Finder (in macOS) that's within one of these subdirectories, Atom opens the root project window instead of the correct project for that directory.
I'm not actually sure if this is a problem with Atom, or with Atom Project Manager.

Project manager only does things after atom have already opened a project, so I'm pretty sure this would only have to do with atom.


OSSpinLockLock

Maybe ‘OSSpinLockLock’ is unsafe.
http://mjtsai.com/blog/2015/12/16/osspinlock-is-unsafe/
https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20151214/000372.html

Yikes, I hadn't heard that. Can't remember why we used spin locks, we can probably move to NSLock without too much fuss. Anyone up for a pull request?

'dispatch_semaphore' is a better one, I'll pull a request later.


[View] remove cache vars input parameter from render

Render method takes 3 parameters, 3rd one being an option to cache parameters. The third option is not used, nor is it sensible. Removal is required.

The cache vars is in use and required, must be included into documentation.


Audit:  Simplify token pair naming

This is regarding the way the name pairs for the swaps are constructed:
1 | add_pair & remove_pair EP:Isn’t “rate_name” not exactly the same string as for “inverse_rate_name”, since the functions are finally both concatenating “from” / “to”?Furthermore, consider having just one function to construct a name.
The input parameters for the function can be swapped.add_pair:https://github.com/marigold-dev/batcher/blob/007f3b401322b3824816e7a82e6997a61dd93a06/batcher/batcher.mligo#L1001remove_pair:https://github.com/marigold-dev/batcher/blob/007f3b401322b3824816e7a82e6997a61dd93a06/batcher/batcher.mligo#L985
2 Why not naming swaps always with the first token which is in alphabet/lexicon before the second token?
Currently, the code is quite complicated with regards to this, which makes it hard/difficult to check whether there is not an edge case where suddenly the wrong order of token is / can be taken, since e.g. “get_name” from a “pair” is taken at several places.
Furthermore, I also think the code gets easier, if the swap naming is always the same (lexicographically built).

I will take this chance to say again(?) that string concatenation should not be used at all.

How would you index them? Tuple?


About metadata

Hi,
I run the example codes in Deep mask estimation, but "got nussl.core.efz_utils.MetadataError: No matching metadata for file mask-inference-wsj2mix-model-v1.pth at url http://nussl.ci.northwestern.edu/audio-metadata.json!" Then I checked the json file, there are just audios metadata without any .pth
Where can I get the pretrained model mask-inference-wsj2mix-model-v1.pth ? I just wanna see that visualization. Thank you!

I'm sorry that u got the follow errors, but mask-inference-wsj2mix-model-v1.pth haven't been open-source.. : (


Bug with rescue-campaign

Hello,
You added a little script to, I suppose, add a message for your campaign on kickstarter during the installation from NPM.
But this last bug, I have this error "Cannot find module "chalk'" which blocks the installation.
I had to use "--ignore-scripts" to make it work.
Have a good day,

Same here

Hi, thanks for this. I'll look into this.

I had to use "--ignore-scripts" to make it work.

worked for me too

I had to use "--ignore-scripts" to make it work.

worked for me too

Adding chalk to dependencies also works (in case someone needs scripts and ignore-scripts is not an option). It currently is used as devDependency in chartist.

Hey, I've removed the rescue campaign for now. I will add it again when I start another campaign, however, next time I think I might skip chalk completely. I don't want a prod dependency listed on the package. If one of you could try to install 0.11.3 and check if the error is gone? Thanks!

Yeah the error is gone for me. Builded successfully in circleci.

That's perfect, no more mistakes.


Hello World example was broken

I posted this question on the "agar" mail-list, but there is no action there, so reposting here.
The libagar.org website has a Hello World example, hello.c. Testing with the Linux framebuffer, closing the window just resulted in a black screen, had to hold down the power button to reboot.
Here is the original hello.c:
#include <agar/core.h>
#include <agar/gui.h>
int main(int argc, char *argv) {
  AG_Window *win;
  if (AG_InitCore(NULL, 0) == -1 || AG_InitGraphics(0) == -1) {
    return (1);
  }
  win = AG_WindowNew(0);
  AG_LabelNew(win, 0, "Hello, world!");
  AG_WindowShow(win);
  AG_EventLoop();
  return (0);
}

After comparing with "agartest", I changed hello.c to this:
#include <agar/core.h>
#include <agar/gui.h>

int main(int argc, char *argv) {
  AG_Window *win;
  if (AG_InitCore(NULL, 0) == -1 || AG_InitGraphics(0) == -1) {
    return (1);
  }
  win = AG_WindowNew(AG_WINDOW_MAIN);
  AG_LabelNew(win, 0, "Hello, world!");
  AG_WindowShow(win);
  AG_EventLoop();
  AG_DestroyGraphics();
  AG_Destroy();
  return (0);
}

The most important is that flag AG_WINDOW_MAIN. I also put in AG_DestroyGraphics() and AG_Destroy(), as agartest has them, however they ARE NOT DOCUMENTED.
Now get a return to console prompt when close the window.

Can you provide more details about the environment (Linux framebuffer)?
You will probably want to add to your code something like:

AG_BindStdGlobalKeys();

This binds common keys such as ESC -> AG_CloseFocusedWindow(), and Ctrl-Q -> AG_QuitGUI().
The AG_WINDOW_MAIN flag is now documented here:
http://libagar.org/man3/AG_Window#FLAGS

Break from AG_EventLoop(3) if this window gets destroyed. Multiple windows may set this flag, in which case the break will occur whenever the last window is closed.


[Plot] Add colorbar to PlotWindow

This PR adds a ColorBarWidget to the PlotWindow (closes #730) inside the central widget (having the colorbar in a DockWidget looks ugly).
The colorbar is hidden by default in the PlotWindow.
In the Plot2D it is displayed by default and a checkable Action which toggles the visibility of the colorbar is added to the toolbar after the colormap action.
Do we want to put a ToolButton with a menu instead of a checkable action as for aspect ratio and Y axis orientation?

If believe a checkable action with a tooltip, as you did, is adequate enough for toggling visibility of a widget.

Do we want to want to display the colorbar by default in the StackView as well?

I do not have a defined opinion on it. The advantage of showing it would be that it would be clear if one is applying a colormap to each image or the same colormap to all of them.

I added the colorbar to StackView by default.
I found a few issues with the ColorBar while integrating it to PlotWindows.
In this PR I only fixed the one that broke the tests, I'll open an issue for the others and if it's OK fix them in another PR.

We added an action to show/hide the colorbar to both Plot2D and StackView (where the colorbar is shown by default).


[Feature Request]: Adding hover effect to cards

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description

Use Case
I would like to add a hiver effect to these cards with an bg image to match each  book category
please assign me this issue , i would like to work on it.
@
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@aarch34 go ahead with it

hi,can you add the levels too?