Font size set in Doki-Theme settings resets after resetarting the IDE while using the new beta UI

Describe the bug
When using the new CLion UI (which is optional to enable) everytime I restart the IDE the font settings get overrided by the IDE then I go to settings of the Doki Theme to Font and click ok so that it works
To Reproduce

Go to settings
Appearance and behavior
New UI (beta)
Enable new UI
go to settings -> appearance and behaviour -> Doki theme settings
Set font size to something big for example to notice it easily
apply -> ok (or just ok)
restart the IDE
the font will be the size that you didn't set in step 6 but the size before that

Expected Behavior
When the IDE starts it shouldn't reset the font size, it should load the last one set from the doki theme
Environment
CLion 2022.3
Build #CL-223.7571.171, built on November 28, 2022
Licensed to Mohamad Ziad Alkabakibi
Subscription is active until November 26, 2023.
For educational use only.
Runtime version: 17.0.5+1-b653.14 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2000M
Cores: 16
Registry:
debugger.new.tool.window.layout=true
run.processes.with.pty=TRUE
debugger.valueTooltipAutoShowOnSelection=true
ide.experimental.ui=true
Non-Bundled Plugins:
io.acari.DDLCTheme (88.3-1.8.0)
com.failfast (2.0.4)
com.almightyalpaca.intellij.plugins.discord (1.11.0)
Screenshots

Looks like it also happen when using the old UI as well. Will have some time later to look into a fix. Thanks for reporting.

You'll be able to download the release from here https://github.com/doki-theme/doki-theme-jetbrains/releases/tag/v88.3-1.8.1
Going to wait a before publishing a release to the marketplace again. Thanks!


Fix grouped queries on allObjects

Shallow copies of empty queries give an invalid Query, so make a "deep" copy.
Closes #1394.
@alazier

:+1:
We should get this out asap.


Role Based Access Control - Feature Request

Hi, any chance to implement Azure AD - RBAC?
Bests

Hi,
Please correct me if I'm wrong (I'm not an Azure user), but isn't RBAC just a way to add roles in the claim? So when you add a scope, this will be returned in the jwt under roles?
If not, can you provide me with examples on how the jwt token will look with RBAC compared to a normal one?

Hi,
Please correct me if I'm wrong (I'm not an Azure user), but isn't RBAC just a way to add roles in the claim? So when you add a scope, this will be returned in the jwt under roles?
If not, can you provide me with examples on how the jwt token will look with RBAC compared to a normal one?

On JWT decoded, we have a key roles with a list of roles matched:
"roles": [ "system.admin" ],
and on Django side, we have to use this role to access control,
eg.
if this session have role "admin" on JWT, then this user should have admin privilege.

On JWT decoded, we have a key roles with a list of roles matched:
"roles": [ "system.admin" ],
and on Django side, we have to use this role to access control,
eg.
if this session have role "admin" on JWT, then this user should have admin privilege.

On phone so forgive my formatting, but this should work:
AUTH_ADFS = {
    ...
    'GROUPS_CLAIM': 'roles',
    "MIRROR_GROUPS': True,
    "GROUP_TO_FLAG_MAPPING": {"is_staff": "System.staff",
                              "is_superuser": "Systems.admin"},

Docs: https://django-auth-adfs.readthedocs.io/en/latest/settings_ref.html#group-to-flag-mapping

On phone so forgive my formatting, but this should work:
AUTH_ADFS = {
    ...
    'GROUPS_CLAIM': 'roles',
    "MIRROR_GROUPS': True,
    "GROUP_TO_FLAG_MAPPING": {"is_staff": "System.staff",
                              "is_superuser": "Systems.admin"},

Docs: https://django-auth-adfs.readthedocs.io/en/latest/settings_ref.html#group-to-flag-mapping

Nice job! I gonna try.

On phone so forgive my formatting, but this should work:
AUTH_ADFS = {
    ...
    "GROUPS_CLAIM": "roles",
    "MIRROR_GROUPS": True,
    "GROUP_TO_FLAG_MAPPING": {"is_staff": "system.staff",
                              "is_superuser": "system.admin"},

Docs: https://django-auth-adfs.readthedocs.io/en/latest/settings_ref.html#group-to-flag-mapping

Nice job! I gonna try.

On phone so forgive my formatting, but this should work:
AUTH_ADFS = {
    ...
    "GROUPS_CLAIM": "roles",
    "MIRROR_GROUPS": True,
    "GROUP_TO_FLAG_MAPPING": {"is_staff": "system.staff",
                              "is_superuser": "system.admin"},

Docs: https://django-auth-adfs.readthedocs.io/en/latest/settings_ref.html#group-to-flag-mapping

Any status on this? :relaxed:

Stale issue, closing.


please publish the new version 0.1.10-alpha to npm :)

Done. Check out https://www.npmjs.com/package/ng-cordova

Also added an automatic deploy script to NPM through Travis CI 081a23f493eb8871f1a8789c209026c9b00d4a05
Every time a new version is released, it will update the npm package automatically.


Fix some nits, update Go version in Dockerfile

Fix some nits (found via gometalinter), update Go version in Dockerfile.

Coverage decreased (-0.02%) to 89.687% when pulling d4b597b25fe72928c4ccd30ccbb239b707217358 on cs/lints into 57b2b680abf9daf22c1834d8eb99e552dd3c2214 on master.


chore(main): release zsh 1.15.4

:robot: I have created a release beep boop
1.15.4 (2024-09-03)
Miscellaneous

zsh: move export to .profile (b7777c1)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

zsh-v1.15.4
:sunflower:


ORC-1108: Use RawLocalFileSystem to skip checksum files during benchmark data generation

What changes were proposed in this pull request?
This PR aims to use RawLocalFileSystem to skip checksum files during benchmark data generation.
Why are the changes needed?
There is no need to check for checksums.
How was this patch tested?
Manually.

BTW, I backported this to branch-1.7 too.


Is Demo Available?

Greetings,
I see that RITM codebase had an interactive demo where we could evaluate the methods ourselves, but seems to be removed on this branch. Are there any such interactive demo available for FocalClick?

As we developed another UI system for the internal of our company, we remove the demo provide by ritm.
You could add them back by yourself referring to the code of ritm, but I think some modifications are required.

Okay, thanks

With your refinement method would the user have to also supply a crop of the object of interest?


mark uncreatable Cluster objects in cluster-store as dead

Display a special error for each of the currently 2 error types from
loading the kubeconfig

Special handling of dead clusters in proxy handler so that there are
no unhandled promise rejections

add a rule to mark switch case statements as should be indented one level.

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>fixes #1316

Please could you add screenshots to get an idea how these changes look.

Changes to the tray rendering:

Cluster that has an error on it (menu view):

View for when you click the cluster with a loading error:

Notes:

Clicking on a cluster that has a loading error does not currently change the "current cluster"
Clicking on a cluster that has an error doesn't do a request to main (even though their is mainchanges to prevent errors)

@jim-docker So, thanks for pointing out that UI effect. Yes I know about it. However, there isn't really a good way to tell if the notification is there previously because the renderer re-syncs the list from the .json file on cluster switch and because we are using iframe each cluster has its own instance of the store.
What I want to do is something like #1472 because that would help mitigate some of this problem (namely, only main would add the notifications).
I figured that because this is rather annoying it would nudge the user into fixing the problem.

@nevalla I disagree that it would be simpler.

It is currently the constructor that throws. That means making sure that after we catch it is in a valid "enough" state to know that it is "dead" and keep track of that going forward. I think that this is completely the wrong direction as it a large maintenance burden going forward.
Having a separate list might have more fields in the store but it means that as a developer I can clearly see what sort of data I have for each type of cluster (since they are really two different forms of cluster information)

@nevalla I disagree that it would be simpler.

It is currently the constructor that throws. That means making sure that after we catch it is in a valid "enough" state to know that it is "dead" and keep track of that going forward. I think that this is completely the wrong direction as it a large maintenance burden going forward.

By quick looking, it requires that we catch the error in the constructor and set cluster as dead and store the error in cluster object too and finally return the cluster. Then elsewhere we could just rely on this dead state.

I strongly disagree that we should do it that way. Doing a quick look at Cluster, every single method on it would need a check added to it to make sure it wasn't in the "dead" state. And either throw or return some other sentinel value.
A dead cluster cannot do the same sort of things as a cluster where we have access to the kube config. I do not see any reason to conflate them.

@nevalla If you are okay with my explanation. I will merge this.

I strongly disagree that we should do it that way. Doing a quick look at Cluster, every single method on it would need a check added to it to make sure it wasn't in the "dead" state. And either throw or return some other sentinel value.
A dead cluster cannot do the same sort of things as a cluster where we have access to the kube config. I do not see any reason to conflate them.

Fair.

@jakolehm or @nevalla If there are no more concerns, shall I merge this?

Closing this as #1956 also fixes this and this PR is both very old and also tries to do the notification (in a bad way too). I still think that these clusters should be in a separate list but once I have time to do that I'll make a new PR.


Objective AU-4: VEDA Documentation: Integration Guide for the VEDA Apps and users.

Motivation
From VEDA app developer onboarding, admin users, end users, and operational aspects, we would need documentation. This is to make everything smooth for all users involved. We would start identifying all the documents we would need to develop, populate, and manage. Then the documentation deployment on VEDA documentation and Wiki.
Team & Owner(s)*
Suresh*, Lahiru, Eroma
Success Criteria

VEDA documentation requirements and locations are identified.
Documentations to implement are listed and prioritized.
Prioritized documentation for the PI is implemented and deployed in designated locations for users.

### Tasks
- [ ] https://github.com/NASA-IMPACT/veda-auth-central/issues/73
- [ ] Create the identified documentation and submit it for review
- [ ] Consult the Science support team on publishing the documentation
- [ ] Publish the documentation as relevant to the intended audience

Stretch goals:
Risks/Dependencies
Documentation is an ongoing task. We need VEDA members to assist in reviewing and providing feedback before making it public. The effort and time could stretch beyond the PI.

The planned AU objective is on pause due the ADR review process. The VEDA teams are in discussion.
ADR documentation

Adding a Custom Layer on Top of Keycloak for Veda Auth Central
Authentication in VEDA Auth Central
Authorization in VEDA Auth Central
Application-Specific Administration in Veda Auth Central
A Customs User Portal for VEDA Auth Central

ADR discussion

https://github.com/NASA-IMPACT/veda-auth-central/discussions/85
https://github.com/NASA-IMPACT/veda-auth-central/pull/87


GKE deployment ignores regions value in weaver.toml for serviceweaver-config cluster deployment

Hi folks! Thanks a lot for your efforts with ServiceWeaver!
I'm learning how to work with it and specifically to deploy it to GKE.
Here is an example of my weaver.toml file:
[serviceweaver]
name = "project"
binary = "./project"

[gke]
project = "project"
account =<EMAIL_ADDRESS>regions = ["europe-west2"]
public_listener = [
  {name = "project", hostname = "project.com"},
]

["/.../project/components/A"]
A = "test"
B = "test"

["/.../project/components/B"]
A = "test"
B = "test"

When I run the GKE deployment I see the following line:
Creating cluster serviceweaver-config in location us-central1... Done
After all, in GCP console I see that serviceweaver-config cluster is deployed in us-central1 region.
My project's zone:
➜ $ gcloud config get compute/zone
europe-west2-a

Is it expected that serviceweaver-config is always deployed in us-central1 and ignores weaver.toml configuration?
If yes - why it's needed?
Thanks in advance!

Currently, yes, the config cluster is always us-central1:
https://github.com/ServiceWeaver/weaver-gke/blob/d3d4b98803fe204c58ecdd7e26c552926d247f1e/internal/gke/gke.go#L68-L69

Thanks for filing the issue. What Michael said is correct.
A bit of background. GKE load-balancing libraries require configuration from a single cluster. This cluster needs to run somewhere, hence the need to pick a single region to run it in. We just happened to pick us-central1.
In addition to this configuration cluster, we additionally start application clusters in each region you specify in your TOML file, i.e., europe-west2 in your example.
Note that the configuration cluster is not on the request path for your application. It is used for configuring the load-balancers, for controling the rollouts of new application versions, and other centralized functionalities like that.
To help reduce the GKE costs for you in running this extra cluster, all of our GKE clusters run as bare-bones as possible.

Hi @mwhittaker @spetrovic77, thanks for the explanation.
I see that it doesn't affect the deployed application directly. However, I don't see any advantages of always picking the US region for the configuration cluster.
Even more, for example, talking about development environments, it's not always important to have multi-zonal or even multi-regional resources. It's much cheaper to keep everything in a single zone/region and expand it only in further environments (alpha, beta etc).
After all, having the possibility to configure all clusters regions/zones can bring benefits.

@vpakhuchyi , we fixed this a while ago. We don't create a config cluster anymore. We'll deploy the service weaver services in the first region where you deploy your application.


Deployement error "not in expected build location"

Hi,
When I run the Install-ElitePaddles.ps1 powerscript I get this error:
EliteUi_<IP_ADDRESS>_x64.appx and Add-AppDevPackage.ps1 not in expected build location
H:\Bureau\Elite-master\Elite\EliteUi\Out\EliteUi\AppPackages\EliteUi_<IP_ADDRESS>_x64_Test\.
Au caractère H:\Bureau\Elite-master\Elite\Install-ElitePaddles.ps1:97 : 5
+     throw "EliteUi_<IP_ADDRESS>_x64.appx and Add-AppDevPackage.ps1 not in  ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (EliteUi_<IP_ADDRESS>....0.0_x64_Test\.:String) [], RuntimeException
    + FullyQualifiedErrorId : EliteUi_<IP_ADDRESS>_x64.appx and Add-AppDevPackage.ps1 not in expected build location H:\Bur
   eau\Elite-master\Elite\EliteUi\Out\EliteUi\AppPackages\EliteUi_<IP_ADDRESS>_x64_Test\.

The "out" folder is not created obviously.
I know I'm not the only one having this issue.
Do you have a solution?
Thank you.

Hi Thomas,
You are right that others are experiencing this issue :(
Somebody made a really nice Reddit post for fixing certain pain points that
has been helping many users:
https://www.reddit.com/r/xboxone/comments/468wv0/workaround_for_mapping_xbox_elite_controller/d45htf6
Thanks for using the program (or trying to) and I'm sorry you are having so
many issues!
On Jul 25, 2016 5:06 PM, "Thomson_Skelington"<EMAIL_ADDRESS>wrote:

Hi,
When I run the Install-ElitePaddles.ps1 powerscript I get this error:
EliteUi_<IP_ADDRESS>_x64.appx and Add-AppDevPackage.ps1 not in expected build location
H:\Bureau\Elite-master\Elite\EliteUi\Out\EliteUi\AppPackages\EliteUi_<IP_ADDRESS>_x64_Test.
Au caractère H:\Bureau\Elite-master\Elite\Install-ElitePaddles.ps1:97 : 5

throw "EliteUi_<IP_ADDRESS>_x64.appx and Add-AppDevPackage.ps1 not in  ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (EliteUi_<IP_ADDRESS>....0.0_x64_Test.:String) [], RuntimeException
FullyQualifiedErrorId : EliteUi_<IP_ADDRESS>_x64.appx and Add-AppDevPackage.ps1 not in expected build location H:\Bur
eau\Elite-master\Elite\EliteUi\Out\EliteUi\AppPackages\EliteUi_<IP_ADDRESS>_x64_Test.

The "out" folder is not created obviously.
I know I'm not the only one having this issue.
Do you have a solution?
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/saqneo/Elite/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/APRTZJjfS39xXEIy-9oJYSdXc-97ZKN5ks5qZU-CgaJpZM4JUqqD
.


reconsider TypeScript support

Update (2017-10-03): I have updated chainCurriedFlipped to delay the introduction of B, as suggested by @gcanti. I have also updated the results to correct an unrelated error I made initially (providing arguments to chainCurriedFlipped in the wrong order).

@miangraham and I have been working on #431 for several weeks. We've made good progress despite the impedance mismatch between the two type systems.
I had trouble defining types for chain. To simplify the task I specialized the type signature:
chain :: (a -> Array b) -> Array a -> Array b

I couldn't get this to work. I asked for help in the TypeScript room on Gitter and @sluukkonen provided helpful responses (including a link to Microsoft/TypeScript#17520). I learnt that certain combinations of removing currying, changing the argument order, and replacing id with x => x (!) would appease the compiler.
I defined four versions of “chain” to discover the magic combination:
const xss = [[1, 2], [3, 4], [5, 6]];

function id<A>(x: A): A { return x; }

function chain<A, B>(f: (x: A) => Array<B>, xs: Array<A>): Array<B> {
  return Z.chain(f, xs);
}
function chainFlipped<A, B>(xs: Array<A>, f: (x: A) => Array<B>): Array<B> {
  return Z.chain(f, xs);
}
function chainCurried<A, B>(f: (x: A) => Array<B>): (xs: Array<A>) => Array<B> {
  return xs => Z.chain(f, xs);
}
function chainCurriedFlipped<A>(xs: Array<A>): <B>(f: (x: A) => Array<B>) => Array<B> {
  return f => Z.chain(f, xs);
}

Results of applying functions to id and xss

Function
Result
Value/Explanation

chain
:x:
Argument of type <A>(x: A) => A is not assignable to parameter of type (x: {}) => {}[].

chainFlipped
:white_check_mark:
[1, 2, 3, 4, 5, 6]

chainCurried
:x:
Argument of type <A>(x: A) => A is not assignable to parameter of type (x: {}) => {}[].

chainCurriedFlipped
:white_check_mark:
[1, 2, 3, 4, 5, 6]

Results of applying functions to xs => xs and xss

Function
Result
Value/Explanation

chain
:white_check_mark:
[1, 2, 3, 4, 5, 6]

chainFlipped
:white_check_mark:
[1, 2, 3, 4, 5, 6]

chainCurried
:x:
Argument of type (xs: {}) => {} is not assignable to parameter of type (x: {}) => {}[].

chainCurriedFlipped
:white_check_mark:
[1, 2, 3, 4, 5, 6]

My reactions to the tables above:

:scream: id and xs => xs are not equivalent
:disappointed: TypeScript does not like curried functions
:angry: TypeScript's limitations affect API design

I'm concerned that even if we succeed in approximating type classes with interfaces, complications such as these will make Sanctuary and TypeScript an awkward couple. What do others think?
Sanctuary was designed as a JavaScript library. Had we set out to create a functional programming library for TypeScript it's likely we would have done things quite differently. I'm concerned that treating both JavaScript and TypeScript as first-class targets will lead to compromises. I'd like to continue to focus on making Sanctuary a principled, capable JavaScript library. Perhaps the TypeScript type definitions should live elsewhere so TypeScript's limitations won't influence the design of our API.

chainCurriedFlipped works better if typed like this
declare function chainCurriedFlipped<A>(xs: Array<A>): <B>(f: (x: A) => Array<B>) => Array<B>

Results: 3 cases out of 8 require explicit type annotations
const id = <A>(a: A): A => a

declare function chain<A, B>(f: (x: A) => Array<B>, xs: Array<A>): Array<B>
declare function chainFlipped<A, B>(xs: Array<A>, f: (x: A) => Array<B>): Array<B>
declare function chainCurried<A, B>(f: (x: A) => Array<B>): (xs: Array<A>) => Array<B>
declare function chainCurriedFlipped<A>(xs: Array<A>): <B>(f: (x: A) => Array<B>) => Array<B>

const xss = [[1, 2], [3, 4], [5, 6]]

const r1 = chain(id, xss) // ERROR, chain<number[], number>(id, xss) works
const r2 = chainFlipped(xss, id) // ok
const r3 = chainCurried(id)(xss) // ERROR, chainCurried<number[], number>(id)(xss) works
const r4 = chainCurriedFlipped(xss)(id) // ok

const r5 = chain(x => x, xss) // ok
const r6 = chainFlipped(xss, x => x) // ok
const r7 = chainCurried(x => x)(xss) // ERROR, chainCurried((x: number[]): number[] => x)(xss) works
const r8 = chainCurriedFlipped(xss)(x => x) // ok

Thanks very much for the improvement, @gcanti.

Results: 3 cases out of 8 require explicit type annotations

Is this common in the TypeScript world? Have you spent enough time with TypeScript that you reason about when hints will be necessary, or do you assume that types will be inferred and find it frustrating when they are not? I've never worked on a TypeScript project so I'm keen to hear from you and others with relevant experience.

I design the API specifically in order to maximize type inference, though some cases are still frustrating (the identity function above being an example)

@davidchambers I know you used to be more enthusiastic about FlowType, where do you stand these days? The project picked up some steam in the last quarter or two.

+1 for flow. The windows support is still trailing, but it is picking up a lot of steam. Both are great options though. With babel 7 you can use TS as a type checker like flow instead of a compiler.

@jasonkuhrt and @defdata, I'm pleased to hear that Flow is gaining momentum. :)
Can Flow describe functions such as S.chain? If so we should create a library definition for Sanctuary.

@davidchambers looking at your typescript definitions looks like you did a lot of work even if you weren't entirely sure it could be done. Thank you!
I work in typescript projects and I wouldn't like this to go to waste even if you decide TS/Sanctuary are not a good match.
What about publishing the types in the official TS repo for now? This way it would be easier for the community to test types and even make contributions by just doing yarn add @types/sanctuary

Hi there! I liked so much the philosophy and description of sanctuary. As much as I liked it, I was disappointed by the current type-checking system. While you obviously have done great work making it, it seems it is a wrong way, unfortunately. Typescript is trending so much. Unfortunately I am not able to contribute to this great library yet, but I just wanted to give my opinion about type system: Typescript definitely should be first-class-supported, this way I think this repo could gain 10x more stars.
For now I personally can not even start to work with sanctuary because of lack (AFAICT) of TS support. But again, your vision, @davidchambers is oh so appealing... but type checking is disappointing..

For now I personally can not even start to work with Sanctuary because of the lack (AFAICT) of TS support.

Have you tried DefinitelyTyped, @anurbol?

Also, I personally think type-defs are wrong way in terms of both correctness and maintainability, it is much easier to khm.. rewrite the code to typescript.

Once TypeScript can express Functor f => (a -> b) -> f a -> f b, I'll certainly consider it! I'm not holding my breath, though. :stuck_out_tongue_winking_eye:

@davidchambers has you discussed collaboration with @gcanti and @alexandru on a shared HKT lib?
I believe https://github.com/gcanti/fp-ts and https://github.com/funfix/funfix share a common approach.

@davidchambers I am sure Typescript is capable of handling the most complex scenarios possible.
I apologize, because I am not familiar well with haskell-like syntax except I've read "types" section of the Sanctuary docs, I am also just in the beginning of my FP journey (this is the reason why I want to choose the best FP to start with), but if I understood you correctly
Functor f => (a -> b) -> f a -> f b is the same as following in TS
type Functor<T> = (arg: T) => any

/* The following is equivalent to (a -> b) -> f a -> f b */
<A, B>( arg: (a: A) => B ) => (arg: Functor<A>) => Functor<B>

@anurbol A simple definition of Functor in pseudo-TypeScript would be:
type Functor<F> = { map: <A, B>(f: (a: A) => B) => (fa: F<A>) => F<B> }

In other words, a map function, that for some F, can convert any A -> B into an F<A> -> F<B>. Things like this are inexpressible in TypeScript, due to the lack of higher kinded types, partial type application, generic values, and numerous other features. There are various workarounds that work to various extents, but they add complexity and detract from the simple, beautiful shape of the abstractions we want to work with.
If you're interested in good TypeScript support for functional programming libraries (something I think all users are very interested in!) you should find the relevant issues in the TypeScript issue tracker and provide your feedback.

@Bradcomp, @masaeedu thank you guys. This is why I apologised in advance because I did feel that I may not be right. FP seems much deeper than I thought. That's a pity TS does not provide all the required features. Funny I thought there is almost nothing left that TS can't cover! :smile:

@pelotom recently put https://github.com/pelotom/hkts up as well. I haven't used it, but it looks very concise.

I want to apologize once again, I've looked how much work was done on type system, and it looks like a piece of art.

Thanks for your words of encouragement, @anurbol. :blush:

I just want to make sure that Sanctuary’s authors are aware of the recent typescript 3.4 release notes that include “higher order type inference from generic functions.”
Sanctuary looks wonderful. The only thing holding me back is the lack of typescript support.

Thank you, @RichardForrester. It seems we should have another go at writing type definitions. :)

This library really hits a sweet spot for me -- as FP as you can get without ditching the NPM eco-system. I'm vegging out today writing a bunch of .ts unit tests trying to get the hang of the api. It's very nice so far.
I also installed @types/sanctuary and it seems to be working fine.
This is obviously just my opinion, the perspective of a ts user who is strongly considering adopting Sanctuary.js as my main daily driver, but I think as far as Typescript support goes, I honestly don't care about having super fantastic typings because it's probably still impossible to even have good ones and that's fairly common with even some great libraries that put a lot of time into trying to get typings perfect. My ramda code is riddled with as any and // @ts-ignore and that's fine with me because I'd rather spend my time writing my code rather that trying to figure out why exactly the typings is wrong. Sure they catch some errors that I miss here and there, but if I spend all my time tracking down all the weird things I see TS complaining about I'll never get anything done.
However, basic typescript support, to allow for auto import and some IntelliSense with VSCode goes a long way. The truth for me, and probably a lot (if not most) people using Typescript, is that I use it for the little conveniences, especially with VSCode. I'm talking about renaming functions across your project with a single command, moving files and having all of the related imports automatically updated, auto import when typing some function name. Once you get used to those things, you can't go back. But the actual typings are kind of pain... they are wrong more than my code is, meaning that a lot of debugging time turns out spent on fixing problems with typings or finding escape hatches for bad typings and not with the javascript. Still, when it comes to refactoring, I will never go back to plain javascript.
I think you are dead right when you say that you worry that the implementation of Sanctuary.js should not be affected by trying to satisfy the limitations of Typescript. You should stay true to that and if it makes sense to you to include some basic type definitions for enabling those free wins you get with TS it should be okay.
But if you have to choose between spending ?? hours writing and maintaining near perfect typings that will never be exactly what you want them to be, and improving the actual library, I'd say the @types/sanctuary is already there and works fine; keep working on the actual library. I can tell a lot of love and perfectionist kind of thinking has gone into it. Applying that sort of perfectionist attitude toward .ts typings would be enough to drive anyone crazy.

@RichardForrester thank you mentioning that the types are working well - I've been on the fence about them because the first line is
// Type definitions for sanctuary 0.14

(and it looks like Sanctuary's at v2 now - wow! Congrats!)
But perhaps it's worth waiting for the hypothetical day TypeScript implements something that lets pipes type properly without using casts and assertions. That might be a big ask of the TS team though.
(There's also Gcanti's fp-ts and io-ts which can do some of the things Sanctuary does like Maybe and type checking arbitrary objects that might be a more burning need for TS programmers in the interim)

... well *enough.
It does seem like there is some progress by ts toward fp, but it’s far enough away from actually working the way it should that I’m looking to drop ts altogether. Supporting fp patterns isn’t a priority for the ts team and I’m too addicted to point-free.
It’s funny that I came looking into Sanctury, fp-ts, Folktale, Crocks, etc. hoping for something that would work well with ts only to decide that what I really want is to not use ts at all. :D
Instead of looking for ts support for fp, I’m switching from VSCode to Webstorm hoping to get some of the refactoring tools I’m used to with ts on plain js.

This may help:
https://gist.github.com/elie222/e34a6ef6b818822bda17d0bebfff5c7c

I know this thread is old but I want to chime in with how I just got IntelliSense support in vscode for Sanctuary.
I'm developing a js project using vscode and sanctuary via jsDelivr1.
First I installed @types/sanctuary via npm i -D @types/sanctuary. Then, to get vscode to check my files, I created a jsconfig.json with the following:
{
	"compilerOptions": {
		"checkJs": true
	},
	"exclude": ["node_modules", "**/node_modules/*"]
}

In my index.htm I got:
<script<EMAIL_ADDRESS><script type="module" src="js/app.js"></script>

and in js/app.js I got:
/** @type {import('sanctuary')} */
const S = window.sanctuary
const $ = window.sanctuaryDef

Now I get code completion on S. but vscode still complains that Property 'sanctuary' does not exist on type 'Window & typeof globalThis'.ts(2339) and provides a red wave underline under sanctuary.
I fixed this by creating a globals.d.ts in a subfolder, but according to vscode documentation it can be anywhere in your project.
In globals.d.ts I have:
interface Window {
	sanctuary: import('sanctuary');
	sanctuaryDef: import('sanctuary-def');
}

The import('sanctuary'); does not seem to work - in the sense that, that alone will not enable IntelliSense for Sanctuary. But it does remove the two error messages from window.sanctuary,  window.sanctuaryDef and show that the two properties exist on the Window object.

That is as far as I got. For window.sanctuaryDef, I do not know what to do. There does not seem to be any mention of these predicates in https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/sanctuary/index.d.ts.
But this is way better than nothing! And hopefully helpful for someone else :)
1: Unfortunately there is no default file set, which seems to be a prerequisite for sha256 integrity on jsDelivr.

I got some help by @jcalz at https://stackoverflow.com/q/66817628/205696, to get intellisense support in vscode for sanctuary-def and sanctuary-type-identifiers.
Now my global.d.ts looks like this:
import * as S from 'sanctuary'
import sanctuaryDef from 'sanctuary-def'
import sanctuaryTypeIdentifiers from 'sanctuary-type-identifiers'

declare global {
	interface Window {
		sanctuary: typeof S;
		sanctuaryDef: typeof sanctuaryDef;
		sanctuaryTypeIdentifiers: typeof sanctuaryTypeIdentifiers;
	}
}

That means I do not have to define the type for Sanctuary with /** @type {import('sanctuary')} */.
But this only works because I have installed @types/sanctuary. Unfortunately, these typings does not exist for sanctuary-def and sanctuary-type-identifiers. So I had to install both libraries to node_modules, even though I do not use them (I use<EMAIL_ADDRESS>exclusively).
"devDependencies": {
    "@types/sanctuary": "^3.0.3",
    "sanctuary-def": "^0.22.0",
    "sanctuary-type-identifiers": "^3.0.0"
  }

Thank you for sharing your workaround, @dotnetCarpenter.


VLAZ: Watch datarepairtools.com

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

datarepairtools\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Zone ID behaviour

Hi,
We have two Cloudflare accounts - one for production, and one for non-production sites (each having a single Zone), so we don't want zone IDs being stored in project.yaml. My understanding is that if the plugin isn't able to retrieve a list of zones, it assumes you want to specify the ID manually rather than choosing from a list. However, despite my Cloudflare API Token having only the Cache Purge permission and not the Zone Read permission, the 'zones' API call still returns a list of zones, so the dropdown is always shown instead of the input box.

If I change the Zone Resources option to Exclude all zones from the account, then the plugin does display the input box instead of the dropdown, but then I'm obviously unable to perform any cache purge operations.
Ideally the plugin would allow me to tick a checkbox called "Specify Zone ID manually" which would grey out the dropdown and show the input field, allowing me to use an env var rather than trying to second-guess based on whether the API allows zones to be enumerated or not.

Hi @meestaben,
You should be able to solve this problem by setting your zone ID to an environment variable in a static config file.
config/cloudflare.php
<?php

return [
	'apiToken' => '$CLOUDFLARE_API_TOKEN',
    'zone' => '$CLOUDFLARE_ZONE_ID'
];

You can then set CLOUDFLARE_API_TOKEN and CLOUDFLARE_ZONE_ID in each environment to keep the values out of project config while skipping the control panel settings UI to manually designate a token.

Hi @meestaben,
You should be able to solve this problem by setting your zone ID to an environment variable in a static config file.
config/cloudflare.php
<?php

return [
	'apiToken' => '$CLOUDFLARE_API_TOKEN',
    'zone' => '$CLOUDFLARE_ZONE_ID'
];

You can then set CLOUDFLARE_API_TOKEN and CLOUDFLARE_ZONE_ID in each environment to keep the values out of project config while skipping the control panel settings UI to manually designate a token.

Awesome @mattstein, thanks for the clarification, and thanks also for creating this plugin!  👍

Awesome @mattstein, thanks for the clarification, and thanks also for creating this plugin!  👍


Artifact index for repos was not meant to be unique

Summary
This fixes the migration
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 48.329% (-0.01%) from 48.341%
when pulling 948fcf418797ab3d7ca0ee46cf6bd68c5c18db29 on fix-unique-repo-index-art
into 5abbaa3db945610a76812d7caaf2b926f5a788ce on main.


Rename instances of macos to darwin

Rename instances of macos to darwin inside of Binary Ninja. This will make it more clear for future feature support for iOS kernel / dyld cache / other XNU related platforms that arent explicitly macos. :)

Those platforms are specifically macOS. Other platforms will be added when they’re explicitly supported

When we add specific support for iOS/iPadOS, we will add then as additional platforms.


Angular 1

In the demo for Angular 1, it states:

Strictly speaking, there should be no need for an angular demo! You can proceed as you would with any other browser-friendly library.

But how would you add this to an angular 1 app? In addition to installing with npm, I added: <script src="xlsx.full.min.js"></script> to my my index.html. My IDE now autocompletes the utility functions, but grunt serve still states  error  'XLSX' is not defined  no-undef

If you installed with NPM, you probably need to point to the correct location of the dist file, which would be something like node_modules/xlsx/dist/xlsx.full.min.js.
Upon reflection, it looks like we forgot to upload the HTML file in the angular demo.  All it does is use a script tag.  We will add it shortly.

@SheetJSDev  I have <script src="bower_components/js-xlsx/dist/xlsx.full.min.js"></script>. I was mostly curious if i needed to add any dependencies in the controller too. For instance, are the angular-ui-grid dependencies require for js-xlsx?

No those are for the demo only (which integrates with ui grid). The raw library is usable as-is with no additional dependencies.

@SheetJSDev I guess it was being deleted from my index.html every time the server reloaded, but it works now. Thanks.


Fix number of hashes

I noticed that the hash bytes were really low compared to @lithp 's and my numbers. Tracked it down and seems they were being counted only for one of the contracts. After this the overhead for 32 byte chunks are lower than 1 byte chunks but I only measured for one block and arity of 16

Thank you, that was a bad mistake. I'll merge this and build a bit more on it.
However, after a few tests, it looks like the overhead numbers change but their proportions stay the same: from 8% for 1-byte chunks to 110% to 32-byte chunks.


All Notifications Became Noisy

Experienced in TF 0.12.1.
Reproduced in: https://github.com/matrix-org/riot-ios-rageshakes/issues/4610

Closed with #3317


Game crashes on RUN start up

crash-2024-04-14-11-50-15.log

More than likely due to running overlays or missing a step in the read me.

Confirm you have gone through the read me and join our discord for more support.


Formatting of errors coming from azblob

It seems like azure misformats the slashes into %2F. If they can't fix this, then perhaps blobfile could take responsibility for fixing the paths?
Example
blobfile.common.ConcurrentWriteFailure: message=Invalid block list, most likely a concurrent writer wrote to the same path: `https://<redacted>.blob.core.windows.net/<redacted>/tom%2Fsaves%2Flatest%2Fsomething.json`, request=<Request method=PUT

I think blobfile does that, it should be easy to un-escape the url when printing the error (I believe the escaped url is required to be used with blob storage, otherwise if you had % or other not-url-safe characters in your filename, the server would be confused).
The fact that blobfile escapes / is because I use urllib.parse.quote(path, safe="") instead of the more default configuration of urllib.parse.quote(path, safe="/").  I don't remember if that is necessary, but you should have a similar issue if you have, for instance, a space character in the path.
I'm not sure what azblob or azure has to do with this, is that just a guess on your part?


Changeable Colors in Legend

Feature Request
For some its hard to tell the difference by the color used on the flowermap, hence it would be nice to have the option, to change the color for a specific flower.

I'll put it on my list.
For now, it might help to know that the flowers in the legend are listed in the order in which they appear in the flower forest gradient, should make it easier to distinguish what's what.

That doesn't necessarily help. For those of us who are colorblind, it's hard to distinguish the different colors. What would be useful is to be able somehow to disable some colors or flowers. For example, my area has loads of alliums, but very few cornflowers (which I'm looking for). I can't tell those two colors apart, but if I could just turn off alliuim, I'd be all set.


Decent dependency management please?

The two years old issues  #634, #3534 were closed without much discussion, leaving small ground for people who might be interested to start working on a pull request. Two years from that, many core mechanisms in Homebrew changed along with the transition from OSX to macOS. Let's re-open this issue and discuss possible ways to implement a decent dependency management.
A good package management system should take care of orphan packages (that are not currently needed by anything, but was only temporarily needed sometime in the past). Build time dependencies should definitely be cleared when brew cleanup is run (unless installed explicitly by the user), maybe with some additional flag --remove-build-dependencies, and runtime dependencies for packages that are no longer needed and thus removed from the system.
This feature isn't a goal, but a standard (e.g. apt-get, yum, pacman, zypper, pkg and nix to name a few.

Regardless of where this issue goes in terms of changes being implemented, you may find brew rmtree helpful.

A good package management system should take care of orphan packages (that are not currently needed by anything, but was only temporarily needed sometime in the past)

brew leaves and brew bundle dump can be used to query the packages you've requested the installation of. brew uninstall and brew bundle cleanup can be used to cleanup these packages. Both are documented in man brew.

Build time dependencies should definitely be cleared when brew cleanup is run (unless installed explicitly by the user)

That's not the purpose of brew cleanup and it would be surprising behaviour to change it to start uninstalling packages (particularly once it is run automatically https://github.com/Homebrew/brew/issues/4760).

This feature isn't a goal, but a standard (e.g. apt-get)

apt-get doesn't automatically remove dependencies; you need to run apt-get autoremove. That makes me pretty dubious about your claims that any of the others will either.

decent dependency management
A good package management system
This feature isn't a goal, but a standard

This wording, intentional or not, is rude about the Homebrew project implying that it is not good, providing decent dependency management or standard features. In addition, you didn't fill out the issue template. Please reconsider your language in future issues and comments on this issue tracker; as-is it's demotivating and rude.

Build time dependencies should definitely be cleared when brew cleanup is run (unless installed explicitly by the user)

No.  Some build-time dependencies will get used again when building something else.  E.g., pkg-config.  Better to keep them around by default.

@chdiza Common build-time dependencies like pkg-config, fontconfig, cmake etc. does make sense to keep around. In that case, a meta-package (something like build-essentials for Debian) might be useful, so users who frequently build their own software can keep the meta-package, but clean up one-time build-dependencies like qt and gtk, and some project specific stuff like ninja and gradle.
@alebcay brew cleanup should definitely keep doing what it currently does; you might have missed my suggestion specifically for a flag like --remove-build-dependencies. And please do not misrepresent what I said. I said the feature is implemented in apt-get, so you can do it if and when you want to; it doesn't mean it does anything automatically behind the user's back.
@MikeMcQuaid Yes, I agree. Let's stay on topic and discuss technical details. No one is getting paid for arguing or rants. Your suggestion implied there is already a way to implement what I was suggesting. I tried, but it seems something isn't working.
~ $ brew leaves
Error: No available formula with the name "ecj"
~ $ brew info ecj
Error: No available formula with the name "ecj"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
~ $ brew bundle dump
==> Tapping homebrew/bundle
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'...
remote: Counting objects: 70, done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 70 (delta 5), reused 20 (delta 2), pack-reused 0
Unpacking objects: 100% (70/70), done.
Tapped 1 command (153 files, 219.5KB).
~ $ # Would be nice to explicitly tell the user where the output file is stored here, instead of in the man page

In that case, a meta-package

The work that would go into a metapackage could just be put into an external command that does what you want.  An external command is no harder to type than brew cleanup --some-big-flagname.

Let's stay on topic and discuss technical details.

So long as you are able to avoid being rude: lets. The tone used in messages, however, does matter; it cannot be divorced from technical details.

but clean up one-time build-dependencies like qt and gtk, and some project specific stuff like ninja and gradle.

We're not going to do this. Let's stop discussing it, please.

Error: No available formula with the name "ecj"

This is an issue with your installation unrelated to your feature request here. The command produces an error so it is not behaving as documented.

brew bundle dump

Note you did not run brew bundle cleanup which is required to cleanup those files. Please try that and see if it does what you want it to.

It seems something requires ecj, instead of gcc with java enabled and java virtual machine stuff. I know next to nothing of java so my assumptions may simply not hold. brew bundle cleanup doesn't seem to work either. My setup seems to be healthy, as brew doctor only complains about gs and a library that I used to build stuff, and doesn't seem to be related to anything we are discussing here.
~ $ brew install ecj
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
metabase

Error: No available formula with the name "ecj"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

~ $ brew bundle cleanup
Error: No Brewfile found

~ $ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Putting non-prefixed findutils in your path can cause python builds to fail.

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  ghostscript
  suite-sparse

I don't seem to be able to persuade you that this feature is worth considering (now it is virtually in a will not implement status), and am not interested anymore. I guess you'd like to close this issue at this point.

I don't seem to be able to persuade you that this feature is worth considering (now it is virtually in a will not implement status), and am not interested anymore.

It's not that it's not worth considering, it's that it already exists. Check out the https://github.com/homebrew/homebrew-bundle or brew bundle --help information and you may be able to get it working.


yarn install node-gyp errors only with vscode source yarn.lock files

Issue Type: Bug
Using yarn install to build vscode throws node-gyp errors when using the yarn.lock files from within the repo.  Removing the yarn.lock files and then running yarn install works successfully.
Deleting ~/.node-gyp and running yarn cache clean doesn't seem to make a difference.

Clone vscode
Run yarn install from the vscode directory (I use sudo yarn install, otherwise I receive an EACCESS permission denied error.)
node-gyp throws multiple errors.
Remove the yarn.lock files from the vscode source. (From inside the vscode directory, I use "find . -name "yarn.lock" -exec rm -rf '{}' +" This removes the files from vscode, but not from node_modules.)
Run yarn install again.
New yarn.lock files are created and the install completes without error.

This seems to me that when doing yarn install without the lock files, I receive newer versions and this resolves the issue.
If any of the log information is needed, I can provide that.
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:44:27.652Z)
OS version: Darwin x64 19.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
7, 5, 3

Memory (System)
16.00GB (4.17GB free)

Process Argv

Screen Reader
no

VM
0%

What are the errors?

Scrolling through them, it looks like it is for an optional fsevents each time.
This warning is followed by a lot of errors from inside fsevents .cc and .h files.  I have excluded these due to their length.
warning Error running install script for optional dependency: "/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments:
Directory: /Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using<EMAIL_ADDRESS>node-pre-gyp info using<EMAIL_ADDRESS>| darwin | x64
node-pre-gyp info check checked for \"/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/electron-v7.1-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-electron-v7.1-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-electron-v7.1-darwin-x64.tar.gz
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-electron-v7.1-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(electron-v7.1 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-electron-v7.1-darwin-x64.tar.gz
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info find Python using Python version 2.7.16 found at \"/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python\"
gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
gyp info spawn args [ '/Users/nrayburn/.nvm/versions/node/v10.18.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/nrayburn/.nvm/versions/node/v10.18.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/nrayburn/Library/Caches/node-gyp/7.1.11/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/nrayburn/Library/Caches/node-gyp/7.1.11',
gyp info spawn args   '-Dnode_gyp_dir=/Users/nrayburn/.nvm/versions/node/v10.18.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/nrayburn/Library/Caches/node-gyp/7.1.11/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o

fatal error: too many errors emitted, stopping now [-ferror-limit=]
4 warnings and 20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/nrayburn/.nvm/versions/node/v10.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 19.3.0
gyp ERR! command \"/Users/nrayburn/.nvm/versions/node/v10.18.0/bin/node\" \"/Users/nrayburn/.nvm/versions/node/v10.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/electron-v7.1-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/electron-v7.1-darwin-x64\" \"--napi_version=5\" \"--node_abi_napi=napi\"
gyp ERR! cwd /Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents
gyp ERR! node -v v10.18.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/nrayburn/.nvm/versions/node/v10.18.0/bin/node /Users/nrayburn/.nvm/versions/node/v10.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/electron-v7.1-darwin-x64/fse.node --module_name=fse --module_path=/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/electron-v7.1-darwin-x64 --napi_version=5 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Darwin 19.3.0
node-pre-gyp ERR! command \"/Users/nrayburn/.nvm/versions/node/v10.18.0/bin/node\" \"/Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/nrayburn/Documents/github/vscode/node_modules/watchpack/node_modules/fsevents
node-pre-gyp ERR! node -v v10.18.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.0
node-pre-gyp ERR! not ok

I receive similar errors two more times.  These are the only differences that I see.
Directory: /Users/nrayburn/Documents/github/vscode/node_modules/glob-watcher/node_modules/fsevents
node-pre-gyp info using<EMAIL_ADDRESS>
Directory: /Users/nrayburn/Documents/github/vscode/extensions/markdown-language-features/node_modules/fsevents
node-pre-gyp info using<EMAIL_ADDRESS>

It looks like the errors are just related to fsevents which is an optional devDependency. I've had issues building that too, but you can still build vscode without it right?

Yes, I never noticed the optional part until I was copying the messages.  I assume the errors will go away once vscode moves towards whatever newer version the fresh yarn install pulls.
This can be closed, unless you want any more information about the versions that install and work.


Hide the menu for unprivileged users

Currently, the Capsule menu on the left side of Lens is displayed for all the users. It would be nice to hide/show the menu according to the user's permissions. For example, users that cannot list tenants should not see the menu.

can you please explain me more with images so that i can fix this issue more fastly


Adding SubIPanel to experiment-set-view.js

To make page look less incomplete

Coverage decreased (-0.02%) to 51.003% when pulling fa6b24e0d573c3af42f3e3df36e10863d5c2ce71 on exp-set-page-exp-linkings into 59afc90a74444a83b502574e5d583da38dd11938 on master.


Post restore:Test account issue.

Post recovery When I open the test account, the UI was different and confirmation was undefined.on refresh the UI was different.

Verified this issue on dev app v2.0.70(433)


epic: OS and hardware detection

Check the OS, nvidia-driver, CPU instruction to pull binaries and models
Can we re-use binary/command from cortex-js?

dupe of #1108


Add Github CI pipelines

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@6b2badf). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   26.41%
=======================================
  Files           ?        3
  Lines           ?      106
  Branches        ?        0
=======================================
  Hits            ?       28
  Misses          ?       78
  Partials        ?        0

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 6b2badf...764ebd3. Read the comment docs.


Informative messages in home page

Let's make a table for headings and use the table from the database of informative messages. The new table will be so that we can divide them into different sections, and the table of informative messages will contain things like text, display period and such.

We can also add priority to sections

And also remove the notification if user is already enrolled

Тhe functionality is ready! There is only one problem left that I can't think of a solution to. I will be happy for you to help me. When I pull from the database the messages that should be displayed are displayed and those that should not.

The problem is solved, if you have the nerves, you can also create a custom map for the AutoMapper:)


kaminari pagination views

Hi
This is a truly awesome gem, just what i have been looking for.
Only one issue that i have which is how i can override the kaminari views.
I have generated them as kaminari docs suggest, they are just never used.
i really just need to make them not center align and have the class pagination-sm.
Any thoughts?
And many thanks again for the gem.

kaminari_options: { theme: 'bootstrap3' }
move the stuff from views/kaminari to views/kaminari/bootstrap3
then change what you need in the views/kaminari/bootstrap3/paginator.html file

@nodrog, let me know if @dudo's tip works.

I just tried it. it works. Thanks ! :)


update react native picker select

Details

Update react native picker select to include the fix of picker inconsistent behavior (keyboard does not dismiss on Android when picker opens).
Fixed Issues

$ https://github.com/Expensify/App/issues/15109
PROPOSAL: https://github.com/Expensify/App/issues/15109#issuecomment-1460376559
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Open Settings > Workspaces
Open any existing workspace or create a new one
Open General Settings
Press the Name field
Notice the Name field has a green focus
Press the Default currency field
Select any currency
Verify the green focus is gone from the Name field

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://user-images.githubusercontent.com/50919443/225678308-de6697fa-a64f-4350-891f-40fedb9319da.mov

Mobile Web - Chrome

https://user-images.githubusercontent.com/50919443/225678862-47e74584-0e7e-4c8d-a094-646fea37de26.mp4

Mobile Web - Safari

https://user-images.githubusercontent.com/50919443/225678462-1436f71e-501a-447b-88ba-2591c6c27e43.mov

Desktop

https://user-images.githubusercontent.com/50919443/225678358-bf06d31a-f3b1-4150-9872-92fe3d2a3ada.mov

iOS

https://user-images.githubusercontent.com/50919443/225678415-32cf96a8-8926-4466-be53-08606247fe23.mov

Android

https://user-images.githubusercontent.com/50919443/225678914-d7cbd71f-40dc-4d8b-a6b7-bf43feb74630.mp4

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/mountiny in version: 1.2.88-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/mountiny in version: 1.2.88-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.2.88-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.2.88-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


After geo fence is working, send msg to channels

Once Geofence callback are working, wire up the channel message when the user leaves a location.

Jay Finished this.


Inside href tag adding twig syntax it doesn't save it correctly

Here is my result https://pasteboard.co/GGHGNmT.png
In the image bellow editor, you can see how it was parsed.
Is there a way how to fix it?

This is because content doesnt have page variable i think this cant be possible :(


Question : how to use odoo Enterprise modules in test with OCA tools

Firstly, thanks for this amazing tools.
I would like to know how to add Odoo enterprise modules among available modules for testing in Github Action?
I have a private repo and the modules depend on the odoo enterprise modules. So, when I added the modules that depend on enterprise modules, CI test is failed? I found these https://github.com/OCA/oca-ci/issues/23#issuecomment-1047974215. I don't know how to approach.

There is not "offical" way to do this, but feel free to discuss solutions with the community in https://github.com/OCA/oca-ci/discussions/36.


Menu Builder > Items : Deleting a Parent let rubbish children in the database

Laravel version
8.53
PHP version
7.4.14
Voyager version
1.x-dev 1102296
Database
MySQL 5.7.32
Description
Deleting a Parent MenuItem let its children with a a dead key in parent_id and they don't appear on the User Interface.
Steps to reproduce
In the menu builder, if i create a parent (which in the database has a something like id = 1 & parent_id = null)
and that i associate a children to this parent (then the children has id = 2 & parent_id = 1)
and that if i delete the parent, then the child remain in the databse with a dead key with parent_id = 1 (which doesn't exist anymore).
Expected behavior
a Cascading deletation of all menu items children would be great
Screenshots

Additional context
No response

Here is a migration proposal to resolve it if the bugged version of voyager.
but that would be better to have it directly in the vendor\tcg\voyager\migrations\2016_05_19_173453_create_menu_table.php for the future release...
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class UpdateMenuItem extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('menu_items', function (Blueprint $table)
        {
            // $table->integer('parent_id')->nullable();
            $table->integer('parent_id')->nullable()->unsigned()->change();

            // (re)create the foreign key
            $table->foreign('parent_id')->references('id')->on('menu_items')->onDelete('cascade');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('menu_items', function (Blueprint $table)
        {
            $table->dropForeign(['parent_id']);
        });

        Schema::table('menu_items', function (Blueprint $table)
        {
            $table->integer('parent_id')->nullable()->change();
        });
    }
}


Shadowrun sixth world v.33

Changes / Comments
Bugfix - PC->Grenades launched grenades didn't work properly
Bugfix - Nuyen symbol keeps disappearing, another attempt to lock it in
Added mouseover text to Rolls->Matrix Actions to identify skill and attribute for each.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ Y ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ Y ] Is this a bug fix?
[ Y ] Does this add functional enhancements (new features or extending existing features) ?
[ N ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ N ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ NA ] If this is a new sheet, did you follow Building Character Sheets standards ?
If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


IE 8 support

The library is throwing an error in IE8. Will it support IE8 in future or not?
Screenshot is attached

So does it work in IE8 now?

@simkessy oops, no, looks like we missed this issue for the release. Should be able to make the required fixes soon.

Fixed in #137


[Backport 1.x] Dependabot upgrades

Description
Backport #778 via 705c914b3f9b19a48b9279a5d7523eb2b37d8378
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Check tests.


Corrected typo

@nachoalonsoportillo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks @nachoalonsoportillo.


Domain alerts response incorrect

The "Response" section shows "If domain does not exist - 404 Not Found"; however, it appears to return 200 OK with an empty set. This was tested by using registered domains not in any alerts on the tenant, unregistered domains that could be legitimate if registered, and domains that had TLDs that are invalid. All returned 200 OK.

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

ID: 51cc644d-9bdd-a132-070d-1958ebcb174b
Version Independent ID: 5853bd71-85fd-3df4-bfeb-535857b71cad
Content: Get domain-related alerts API
Content Source: microsoft-365/security/defender-endpoint/get-domain-related-alerts.md
Product: m365-security
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@MastaDisasta Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/6026
Thanks
Sri


Buffer viewer now updates contents when EID changes

Previously when changing the selected event id, the contents of the current buffer the user is viewing were updated from the API side, but not updated in the UI. The user needed to close the viewer and open it again. This change makes it so the UI also updates. I tested this change on a DX11, 12 and Vulkan trace and it seems to work.
However I find that in some traces (DX12 in this case), the buffer contents change when they are not used in the draw call/dispatch. I think this may be a seperate bug.

Thanks for this fix!
With the other issue about buffer contents changing in captures when not used in a draw/dispatch - there are other ways buffers can be modified, e.g. Map() calls. It's hard to say without seeing a capture that exhibits the behaviour.


LinkedQueueTest - add check for tail value - completed

fix test to check for tail value

These changes will be merged from main.


To not throw exception "text/plain content not found in email" In the case of empty eml message body

Hi,
I have many emails that their parsing throws "text/plain content not found in email" In the case of empty eml message body (emails just with attachments).
Maybe you can consider not to throw that exception, as such emails are not problematic, they're mostly empty, but they're not "exceptional" ?
Thanks

Thanks @slavag ! We'll take a look at this ASAP and get a fix in.


Explaining how to create custom queries

Prop for creating custom queries,
How inputs are passed to the query,
Different examples.

To create custom query for any sensor you can use defaultQuery property of depends, let's take a look at an example
*** Create custom query for inputField sensor

Let's use InputField sensor like this and set unique sensorId.

<InputField
	sensorId="InputSensor"
	title="Cities"
	placeholder="Search City (i.e London)"
/>

Let's use InputSensor dependency in AppbaseMap actuator.

as example:
<AppbaseMap
	....
        depends={{
			   InputSensor: {"operation": "must", defaultQuery: this.cityQuery},
	}}
/>

In example cityQuery is the default query function which will be executed whenever sensor value will be changed, and this defaultQuery function will receive sensor value in first argument.

cityQuery(value) {
	if(value) {
		return {
			match: {
				'group.group_city.group_city_simple': value
			}
		};
	} else return null;
}

Check working demo over here


official/utils/misc/distribution_utils.py uses the wrong API for OneDeviceStrategy resulting in runtime python error

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): b'unknown' 1.13.0-rc2
Python version: Python 3.7.2
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: N/A
GPU model and memory: N/A

You can collect some of this information using our environment capture script
You can also obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the current behavior
Receive an attribute not found error on tf.distribute.OneDeviceStrategy("device:CPU:0")
Describe the expected behavior
Not see this error.
Code to reproduce the issue
Run cifar10_main.py on a macbook without an NVIDIA GPU, I imagine this would also happen on linux if no GPU was detected.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Filed in wrong project.


Packit RPM doesn't build in COPR: files/bash-completion/packit not found

https://copr.fedorainfracloud.org/coprs/packit/packit-packit-1347/build/2675919/

It's only builds submitted by prod, stg builds are OK, see:

1350-stg vs. 1350-prod
1349-stg vs. 1349-prod

The prod produced srpm (the tarball in it) indeed doesn't include the file
$ wget https://download.copr.fedorainfracloud.org/results/packit/packit-packit-1350/fedora-34-x86_64/02675479-packit/packit-0.1.dev16+g1d6b4df.d20210830-1.20210830110906722835.pr1350.32.g1d6b4df.fc34.src.rpm
$ rpmbuild --rebuild packit-0.1.dev16+g1d6b4df.d20210830-1.20210830110906722835.pr1350.32.g1d6b4df.fc34.src.rpm
cp: cannot stat 'files/bash-completion/packit': No such file or directory

The tarball in the prod produced srpm contains:
LICENSE  packit/  packitos.egg-info/  _packitpatch  PKG-INFO  README.md  setup.cfg  setup.py
while it used to contain:
ansible.cfg   CONTRIBUTING.md  design/ Dockerfile.tests  LICENSE   packit/  _packitpatch  PKG-INFO  pytest.ini  release-conf.yaml  setup.py  tests_recording/ CHANGELOG.md  DCO Dockerfile  files/ Makefile  packitos.egg-info/  packit.spec   plans/     README.md   setup.cfg tests/  Vagrantfile

@jpopelka Since only packit and ogr now uses repository cache and one of the volumes on prod was removed (=emptied) on Friday, this might be the cause:

repository cache on the worker is correct
repository cache on the sandbox is empty (and is expected)

I've updated the content of the repository cache -- do you have the place it was triggered so we can check it is correct now?

Thanks, I triggered it in #1350


Project.json should allow empty strings for the versions of dependent NuGet packages.

Right now "kpm restore" requires at least a partial version to be present if the package has not yet been installed from NuGet. The suggested behavior is for an empty version string to indicate that the highest version number package should be used/obtained.

I do agree with @davidfowl that no version number is a very very bad idea.
At the same time allowing wildcards for version numbers without forcing a dash before the wildcard is a very valid suggestion!

Thanks folks. Closing this one, and feel free to file a suggestion for the wildcard behavior.

@thereverand On a Mac I often don't know the version of the package, just the name...this works for me (without editing project.json directly):
dnu install Newtonsoft.Json


System.TimeoutException: Timeout resolving the kernel's HTTP endpoint. Please try again when running in Binder

Hello colleagues,
I run this notebook in .
And the very last step fails with the following message. Is there any way to make it work?
System.TimeoutException: Timeout resolving the kernel's HTTP endpoint. Please try again.
   at Microsoft.DotNet.Interactive.Http.HtmlNotebookFrontendEnvironment.ExecuteClientScript(String code, KernelInvocationContext context) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive.Http\HtmlNotebookFrontendEnvironment.cs:line 53
   at Microsoft.DotNet.Interactive.Kernel.HandleAsync(KernelCommand command, KernelInvocationContext context) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\Kernel.cs:line 256
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<BuildPipeline>b__6_0(KernelCommand command, KernelInvocationContext context, KernelPipelineContinuation _) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 57
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext() in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 72
--- End of stack trace from previous location ---
   at Microsoft.DotNet.Interactive.CompositeKernel.LoadExtensions(KernelCommand command, KernelInvocationContext context, KernelPipelineContinuation next) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\CompositeKernel.cs:line 144
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext() in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 70
--- End of stack trace from previous location ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(KernelCommand command, KernelInvocationContext context) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 48
   at Microsoft.DotNet.Interactive.Http.HtmlNotebookFrontendEnvironment.ExecuteClientScript(String code, KernelInvocationContext context) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive.Http\HtmlNotebookFrontendEnvironment.cs:line 53
   at Microsoft.DotNet.Interactive.Kernel.HandleAsync(KernelCommand command, KernelInvocationContext context) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\Kernel.cs:line 256
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<BuildPipeline>b__6_0(KernelCommand command, KernelInvocationContext context, KernelPipelineContinuation _) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 57
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext() in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 72
--- End of stack trace from previous location ---
   at Microsoft.DotNet.Interactive.CompositeKernel.LoadExtensions(KernelCommand command, KernelInvocationContext context, KernelPipelineContinuation next) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\CompositeKernel.cs:line 144
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext() in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 70
--- End of stack trace from previous location ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(KernelCommand command, KernelInvocationContext context) in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 48

Faced a similar problem, but my setup is a little bit unique.
JupyterHub was hosted via SystemD and exposed via bare-metal server (lab.ts.anhdle14.me) on <IP_ADDRESS>.
Another proxy was hosted on top of Jupyterhub on that machine via Tailscale (Zero Trust VPN) solution so it can be reached out from a different IP (jupyter.ts.anhdle14.me)
$ nslookup jupyter.ts.anhdle14.me
<IP_ADDRESS>

$ nslookup lab.ts.anhdle14.me
<IP_ADDRESS>

So if I goes to https://jupyter.ts.anhdle14.me and tried executing anything #!js magic function it failed with the above error.
But If I goes to http://lab.ts.anhdle14.me:8000 and running #!js it works.
I have played around with most of the settings in jupyterhub_config.py but nothing fix it. 🤔 I think this is some hacky things going on with JS kernel and I would love to know how/why to fix it.

Dear @jonsequitur
Any good news on this? I'm having a similar issue with a different notebook now.

This older approach to the JavaScript kernel, used in Jupyter frontends including Binder, is being deprecated in favor of the approach used in Polyglot Notebooks, which I think shouldn't have this problem as it doesn't depend on inserting scripts into the DOM to execute them.
Have you tried this in Polyglot Notebooks or Codespaces by any chance?

I'm sorry @jonsequitur , when you say Polyglot Notebooks you mean VS Code Polyglot Notebooks? It obviously works in VS Code. What i'm looking for is some online service, which can run .net interactive kernel and notebooks based on it so:

i can share notebooks/demos
people wont need to install vs code to try them

Yes. The Polyglot Notebooks extension also works in GitHub Codespaces, which lets you share notebooks online with people who don't have VS Code installed. This uses the newer JavaScript kernel, which is much more capable.
Until .NET Interactive's support for JupyterLab and Jupyter Notebook is updated to use the newer JavaScript kernel, Binder will support for JavaScript cells will be more limited.

Thanks, @jonsequitur , do you have an example of a devcontainer which is configured to run .net interactive notebooks?

Feels like I've found one, right at the root of the repo :D


KAFKA-17277: [1/2] Add version mapping command to the storage tool and feature command tool

As a part of KIP-1022 the following has been implemented in this patch:

A version-mapping command to to look up the corresponding features for a given metadata version. Using the command with no --release-version argument will return the mapping for the latest stable metadata version.
This command has been added to the FeatureCommand Tool and the Storage Tool.
The storage tools parsing method has been made more modular similar to the feature command tool

Can we also check the java 8 build? Seems like compilation failed.


Using SSL .pem file with mongobetween

Hello,
We need to use a .pem file for the SSL enabled target Mongo database .
Can you provide an example for the same ? Could not find any parameter in the Usage section of Mongobetween to include a .pem file with location.
Thanks

Unfortunately we only support SCRAM authentication at the moment. We're open to PRs to get this added, but this isn't on our roadmap at the moment.

Unfortunately we only support SCRAM authentication at the moment. We're open to PRs to get this added, but this isn't on our roadmap for the time being.


[major release] make all methods camelCase

e.g. SetOperationMode() -> setOperationMode()
Should be done in a new release, now it is mixed, not clean.

added in 0.3.0 development branch

solved in 0.3.0


Implement old API version setting test

Implement https://github.com/Azure/cadl-ranch/pull/555 from cadl-ranch

Close it as resolved


Lazy-Fill bucket

I am interested in having a filling bucket rather than a draining one. Would it make sense to derive from the Leaky and override '_maybe_lock()' and '_wake_up()', or would you advise a simpler method?

I usually wouldn't suggest overriding those as they're private and might change without notice (not that I'm planning to change it but still).
What do you mean by filling bucket though? What are you trying to achieve?

What I meant is that in my app, I may need to use a variety of limiters, so
if I want to have both, I would have a new class that inherit from yours
and in that class I'd override the methods, they can thus change in the
base class
One of the API that I use is using the lazy-fill method, it fills the
bucket with time instead of leaking it and uses the tokens in the bucket
per request instead of filling the bucket with requests. It is basically
the opposite (as far as i can understand it) to the Leaky method. I don't
see that there is a difference, but on the other hand, it seems to simple
to modify (even for me) that I would rather say "I use exactly what the API
say", rather than "Well, the rate limiter is theoretically the same" to my
code reviewers
Actually, you commented on another aiolimiter from mjpieters and another
user asked a PR: https://github.com/mjpieters/aiolimiter/pull/74, which was
summarily closed
Thanks a lot for your reply
On Sun, Sep 4, 2022 at 11:27 AM Bar Harel @.***> wrote:

I usually wouldn't suggest overriding those as they're private and might
change without notice (not that I'm planning to change it but still).
What do you mean by filling bucket though? What are you trying to achieve?
—
Reply to this email directly, view it on GitHub
https://github.com/bharel/asynciolimiter/issues/3#issuecomment-1236374465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWGZEZ3JN6MV7ZHHLFPWU2TV4TEXLANCNFSM6AAAAAAQECU57I
.
You are receiving this because you authored the thread.Message ID:
@.***>

Well it sounds exactly the same to be honest.
Full bucket in the API's algorithm is equivalent to an empty leaky bucket. Every 'tick' the leaky bucket drains until empty, and yours fills until full. The only difference that might be is the starting condition, but I believe the API starts like a full bucket, which is equivalent to an empty leaky bucket.
I can add documentation showing the exact similarities.

Thanks, I couldn't find a conceptual difference either. I don't know how
popular is the lazy-fill version, it could be helpful to mention it, for
general audience. We can close this issue, since it's not one
Regards
On Fri, Sep 9, 2022, 8:14 PM Bar Harel @.***> wrote:

Well it sounds exactly the same to be honest.
Full bucket in the API's algorithm is equivalent to an empty leaky bucket.
Every 'tick' the leaky bucket drains until empty, and yours fills until
full. The only difference that might be is the starting condition, but I
believe the API starts like a full bucket, which is equivalent to an empty
leaky bucket.
I can add documentation showing the exact similarities.
—
Reply to this email directly, view it on GitHub
https://github.com/bharel/asynciolimiter/issues/3#issuecomment-1242585426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWGZEZ2MWEX2BOKQNP4PBFLV5POF3ANCNFSM6AAAAAAQECU57I
.
You are receiving this because you authored the thread.Message ID:
@.***>

I can't seem to find any mention of it anywhere.

Just FYI, a few references. The API where I first saw it mentioned is
Coinbase
https://www.quinbay.com/blog/understanding-rate-limiting-algorithms
https://dev.to/satrobit/rate-limiting-using-the-token-bucket-algorithm-3cjh
Thanks for the discussion
On Sat, Sep 10, 2022 at 6:37 AM Bar Harel @.***> wrote:

I can't seem to find any mention of it anywhere.
—
Reply to this email directly, view it on GitHub
https://github.com/bharel/asynciolimiter/issues/3#issuecomment-1242711129,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWGZEZ2YEG6D6RKRKOZAO63V5RXJFANCNFSM6AAAAAAQECU57I
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you.
So the algorithm is called token bucket, and according to Wikipedia, it is exactly equivalent to the leaky bucket as a meter, meaning exact same input and exact same output with no difference at all :-)


Fixed the swapped values

Tested this against the larger test org

Nice!

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


[Event Request] Codeunit 5704 TransferOrder-Post Shipment - OnCheckTransLine

Hi, would it be possible to get an event OnCheckTransLine in codeunit 5704, like this :
            // Insert shipment lines
            OnRunOnBeforeInsertShipmentLines(WhseShptHeader, WhseShptLine);
            LineCount := 0;
            if WhseShip then
                PostedWhseShptLine.LockTable();
            if InvtPickPutaway then
                WhseRqst.LockTable();
            TransShptLine.LockTable();
            TransLine.SetRange(Quantity);
            TransLine.SetRange("Qty. to Ship");
            OnRunOnAfterTransLineSetFiltersForShptLines(TransLine, TransHeader, Location, WhseShip);
            if TransLine.Find('-') then
                repeat
                    LineCount := LineCount + 1;
                    if GuiAllowed then
                        Window.Update(2, LineCount);

                    if TransLine."Item No." <> '' then begin
                        Item.Get(TransLine."Item No.");
                        Item.TestField(Blocked, false);
                    end;

                    OnCheckTransLine(TransLine, TransHeader, Location, WhseShip, TransShptLine);

                    InsertTransShptLine(TransShptHeader);
                until TransLine.Next = 0;

    [IntegrationEvent(false, false)]
    local procedure OnCheckTransLine(TransLine: Record "Transfer Line"; var TransferHeader: Record "Transfer Header"; var Location : Record Location ; var WarehouseShipmentLine: Record "Warehouse Shipment Line"; TransShptLine: Record "Transfer Shipment Line" )
    begin
    end;

?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


ExcelExport & CSVExport in dropdown menu

Hi,
I want to use Export functionality, but I want to wrap the ExcelExport and CSVExport actions with bootstrap's dropdown menu, something like this:
(new HtmlTag)
    ->setComponents([
        (new RenderFunc(function () {
             return
                      '
' .
                      '    <button class="btn btn-primary pull-left dropdown-toggle" data-toggle="dropdown">Export</button>' .
                      '
' .
                      '
' .
                     // excel export action
                     (new ExcelExport),
                         (new ExcelExport)->setIgnoredColumns(['id']) .
                      '
' .
                      '
' .
                      // csv export action
                        (new CsvExport)->setIgnoredColumns(['id']) .
                      '
' .
                      '
' .
                      '
';
         }))
    ]),

However, when I run the code, I get the following exception: "FatalErrorException in TComponentView.php line 31: Call to a member function getConfig() on a non-object".
I have little experience with Nayjest grid and I appreciate if you help me figure out this issue.

Hi!
First of all, export components must be attached to component tree.
So, instead of using RenderFunc, create your own class for rendering that stuff and attach export components using "setComponents" method.
Then, you need to override export component to provide different input parameters, becouse they share same. For example, all ExcelExport components uses ExcelExport::INPUT_PARAM, i. e. renders excel document if $_GET['xls'] exists. Therefore first export component will render document and next that have "inored_columns" specified, will be ignored.

Hi,
thanks for your reply. I'm able to create custom class ExportDropdown, but I need more detail on how to attach the 'ExcelExrport' and 'CsvExport' components. But, thanks anyway, this was very helpful.
Cheers

Create ExportDropdown class
Attach export components using ExportDropdown::setComponents() in place where you build grid (your controller or view).
Render children from ExportDropdown class using ExportDropdown::renderComponents(). The simplest way to render template -- override ExportDropdown::render() and somewhere in template call 'renderComponents()' method.

Thanks man,
I am able to solve this issue. Your guidance was very, very helpful.
Best regards

No problem, good luck with coding.


New feature - allow search button be case sensitive

Hi
While searching the casing has to be ignored.

Hi, sorry buy I dont understand that, you mean you won't the search be case sensitive?.
Please provide more information on what you are attempting to do.

Hi
Let me be more clear, i have a active user called "Alpha". But in search if i type "alpha" it wont show the result. I have to type exact letters like "Alpha" .

Hi
ok, is what I supposed at the beginning, I think would be good to have this behaviour configurable with some param like "search_key_sensitive = true" in config.js.
Please tell me if this make sense to you.

Hi
That also could be fine. If i use "search_key_sensitive = true" in config file. whether it will work for current version ???

Not for now, I'm going to take care of this today so I think it could be done quickly because is not too difficult.

Now, the installation process should be documented.

Done, please update the branch master and change the parameter search_case_sensitive to false value like this
search_case_sensitive: false,

in config.js

merged.

Thanks appreciated.